{"version":3,"sources":["webpack:///component---src-pages-kalkulator-wynagrodzen-tsx-0590f92a3300c54ac4aa.js","webpack:///./src/layouts/salary-calculator-form-block/salary-calculator-form-block.tsx","webpack:///./src/layouts/salary-calculator-form-block/salary-calculator-form-calculator-data-presentation.tsx","webpack:///./src/layouts/salary-calculator-form-block/salary-calculator-form.tsx","webpack:///./src/pages/kalkulator-wynagrodzen.tsx","webpack:///./src/services/staff-calculator-service.ts"],"names":["webpackJsonp","347","module","exports","__webpack_require__","Object","defineProperty","value","React","salary_calculator_form_1","SalaryCalculatorFormBlock","props","createElement","className","default","348","_taggedTemplateLiteralLoose","strings","raw","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","call","ReferenceError","_inherits","subClass","superClass","prototype","create","constructor","enumerable","writable","configurable","setPrototypeOf","__proto__","getPercent","total","toFixed","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","styled_components_1","SalaryCalculatorFormCalculatorDataPresentation","_React$Component","this","renderTableTitle","tableTitle","TableNameWrapper","renderHeaderRow","lit","name","Tr","Th","style","width","renderRow","nameInfo","Td","textAlign","fontSize","renderSummaryRow","colSpan","render","_props$employeeSalary","employeeSalaryInfoData","employeeTaxInfoData","employeeTaxInfoSummaryData","employeeZUSInfoData","employeeZusInfoSummaryData","totalNonZusCost","totalEmployeeTaxCost","incomeDeducibleSocialSecurityContributions","zusExist","Boolean","totalZus","totalEmployeeZus","totalEmployerZus","totalPPK","totalEmployeePPK","totalEmployerPPK","employerZus","employerPPK","totalEmployerSalaryCost","totalEmployeeIncome","totalEmploymentNonSalaryCost","totalEmployeeNetSalary","Table","Thead","Tbody","totalHealthInsuranceContributions","totalEmployeeTaxProfit","totalEmployeeTaxAdvance","socialSecurityRetirementPayedByEmployee","socialSecurityRetirementAndDisabilityBase","socialSecurityDisabilityPayedByEmployee","socialSecurityIllnessPayedByEmployee","socialSecurityIllnessBase","socialSecurityAccidentPayedByEmployee","socialSecurityHealthPayedByEmployee","socialSecurityHealthBase","socialSecurityRetirementPayedByEmployer","socialSecurityDisabilityPayedByEmployer","socialSecurityIllnessPayedByEmployer","socialSecurityAccidentPayedByEmployer","socialSecurityAccidentBase","socialSecurityHealthPayedByEmployer","socialSecurityLabourFundPayedByEmployer","socialSecurityEmployeeBenefitsPayedByEmployer","socialSecurityBasePPKPayedByEmployee","socialSecurityBasePPKPayedByEmployer","socialSecurityAdditionalPPKPayedByEmployee","Component","div","table","th","td","tr","thead","tbody","349","_templateObject8","staffCalculatorService","salary_calculator_form_calculator_data_presentation_1","SalaryCalculatorForm","_this","handleSubmit","event","preventDefault","setState","responseData","loading","error","formData","FormData","target","jsonObject","forEach","key","handleGenerateStaffCalculation","then","Error","catch","state","_state","FormContainer","FormWrapper","onSubmit","InlineWrapper","HalfInputWrapper","Label","htmlFor","Input","type","id","required","placeholder","min","Select","SubmitButton","marginTop","form","label","input","select","button","363","_extends","assign","i","arguments","length","source","hasOwnProperty","react_helmet_1","title_block_1","salary_calculator_form_block_1","promo_block_1","types_1","staticUrls","helmetData","cacheBustingService","KalkulatorWynagrodzenPage","apply","componentDidMount","handleCacheBusting","caches","Helmet","prepareHelmetData","PageType","firstLineBlackStart","firstLineBlue","firstLineBlackEnd","secondLineText","promoBlockType","PromoBlockType","PromoBlockGrayBox","promoBlockTitle","promoBlockText","promoBlockButtonText","promoBlockLink","FAKTUROMANIA_REGISTRATION_PAGE_URL","371","request","salaryValue","Number","employmentType","employmentInPlaceOfResidence","socialSecurityPPKBaseTitle","taxFreeAllowance","taxFreeAllowanceForYoungPeople","socialSecurityRetirementTitle","socialSecurityDisabilityTitle","socialSecurityIllnessTitle","socialSecurityAccidentTitle","socialSecurityHealthTitle","socialSecurityArt83Exemption","socialSecurityLabourFundTitle","socialSecurityEmployeeBenefitsTitle","fetch","FAKTUROMANIA_STAFF_CALCULATOR_API_URL","body","JSON","stringify","headers","Accept","Content-Type","method","response","ok","status","json","console"],"mappings":"AAAAA,cAAc,iBAERC,I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,KAAY,SAAAwF,GAEV,IAAUA,EAAIC,GACb,KAAM,IAAUxF,OAAA,cAAsBuF,EAC1CE,OAGM,OAASF,GACnBG,SAEMzF,MAAS,SAAAV,GAEL,MADCoG,SAAMpG,MAAmB,mBAASA,GAE7C","file":"component---src-pages-kalkulator-wynagrodzen-tsx-0590f92a3300c54ac4aa.js","sourcesContent":["webpackJsonp([183446267685356],{\n\n/***/ 347:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar React = __webpack_require__(1);\n\tvar salary_calculator_form_1 = __webpack_require__(349);\n\tvar SalaryCalculatorFormBlock = function SalaryCalculatorFormBlock(props) {\n\t return React.createElement(\"div\", { className: \"goodgrowth-theme-styles\" }, React.createElement(salary_calculator_form_1.default, null));\n\t};\n\t/** STYLES */\n\texports.default = SalaryCalculatorFormBlock;\n\n/***/ }),\n\n/***/ 348:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tvar _templateObject = _taggedTemplateLiteralLoose([\"\\n text-align: left;\\n margin-top: 10px;\\n text-decoration: underline;\\n color: #000;\\n font-weight: bold;\\n font-size: 16px;\\n\"], [\"\\n text-align: left;\\n margin-top: 10px;\\n text-decoration: underline;\\n color: #000;\\n font-weight: bold;\\n font-size: 16px;\\n\"]),\n\t _templateObject2 = _taggedTemplateLiteralLoose([\"\\n width: 100%;\\n border-collapse: collapse;\\n margin-top: 10px;\\n\"], [\"\\n width: 100%;\\n border-collapse: collapse;\\n margin-top: 10px;\\n\"]),\n\t _templateObject3 = _taggedTemplateLiteralLoose([\"\\n border: 1px solid #ddd;\\n padding: 10px;\\n background-color: #f9f9f9;\\n text-align: center;\\n\"], [\"\\n border: 1px solid #ddd;\\n padding: 10px;\\n background-color: #f9f9f9;\\n text-align: center;\\n\"]),\n\t _templateObject4 = _taggedTemplateLiteralLoose([\"\\n border: 1px solid #ddd;\\n padding: 8px;\\n text-align: left;\\n span {\\n display: block;\\n }\\n\"], [\"\\n border: 1px solid #ddd;\\n padding: 8px;\\n text-align: left;\\n span {\\n display: block;\\n }\\n\"]),\n\t _templateObject5 = _taggedTemplateLiteralLoose([\"\\n &:nth-child(even) {\\n background-color: #f2f2f2;\\n }\\n\"], [\"\\n &:nth-child(even) {\\n background-color: #f2f2f2;\\n }\\n\"]),\n\t _templateObject6 = _taggedTemplateLiteralLoose([\"\\n font-weight: bold;\\n\"], [\"\\n font-weight: bold;\\n\"]),\n\t _templateObject7 = _taggedTemplateLiteralLoose([\"\"], [\"\"]);\n\t\n\tfunction _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar React = __webpack_require__(1);\n\tvar styled_components_1 = __webpack_require__(2);\n\t\n\tvar SalaryCalculatorFormCalculatorDataPresentation = function (_React$Component) {\n\t _inherits(SalaryCalculatorFormCalculatorDataPresentation, _React$Component);\n\t\n\t function SalaryCalculatorFormCalculatorDataPresentation(props) {\n\t _classCallCheck(this, SalaryCalculatorFormCalculatorDataPresentation);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.call(this, props));\n\t }\n\t\n\t SalaryCalculatorFormCalculatorDataPresentation.prototype.renderTableTitle = function renderTableTitle(tableTitle) {\n\t return React.createElement(TableNameWrapper, null, tableTitle);\n\t };\n\t\n\t SalaryCalculatorFormCalculatorDataPresentation.prototype.renderHeaderRow = function renderHeaderRow(lit, name, value) {\n\t return React.createElement(Tr, null, React.createElement(Th, { style: { width: \"50px\" } }, lit), React.createElement(Th, null, name), React.createElement(Th, { style: { width: \"150px\" } }, value));\n\t };\n\t\n\t SalaryCalculatorFormCalculatorDataPresentation.prototype.renderRow = function renderRow(lit, name, value, nameInfo) {\n\t return React.createElement(Tr, null, React.createElement(Td, { style: { textAlign: \"center\" } }, lit), React.createElement(Td, null, name, nameInfo && React.createElement(\"span\", { style: { fontSize: \"12px\" } }, nameInfo)), React.createElement(Td, { style: { textAlign: \"right\" } }, value.toFixed(2)));\n\t };\n\t\n\t SalaryCalculatorFormCalculatorDataPresentation.prototype.renderSummaryRow = function renderSummaryRow(name, value) {\n\t return React.createElement(Tr, null, React.createElement(Td, { colSpan: \"2\", style: { textAlign: \"center\" } }, name), React.createElement(Td, { style: { textAlign: \"right\" } }, value.toFixed(2)));\n\t };\n\t\n\t SalaryCalculatorFormCalculatorDataPresentation.prototype.render = function render() {\n\t // DANE UNIWERSALNE\n\t var _props$employeeSalary = this.props.employeeSalaryInfoData,\n\t employeeTaxInfoData = _props$employeeSalary.employeeTaxInfoData,\n\t employeeTaxInfoSummaryData = _props$employeeSalary.employeeTaxInfoSummaryData,\n\t employeeZUSInfoData = _props$employeeSalary.employeeZUSInfoData,\n\t employeeZusInfoSummaryData = _props$employeeSalary.employeeZusInfoSummaryData;\n\t // ZMIENNE\n\t\n\t var totalNonZusCost = employeeTaxInfoSummaryData.totalEmployeeTaxCost - employeeTaxInfoData.incomeDeducibleSocialSecurityContributions;\n\t var zusExist = Boolean(employeeZUSInfoData) && Boolean(employeeZusInfoSummaryData);\n\t var totalZus = zusExist ? employeeZusInfoSummaryData.totalEmployeeZus + employeeZusInfoSummaryData.totalEmployerZus : 0;\n\t var totalPPK = zusExist ? employeeZusInfoSummaryData.totalEmployeePPK + employeeZusInfoSummaryData.totalEmployerPPK : 0;\n\t var employerZus = zusExist ? employeeZusInfoSummaryData.totalEmployerZus : 0;\n\t var employerPPK = zusExist ? employeeZusInfoSummaryData.totalEmployerPPK : 0;\n\t var totalEmployerSalaryCost = employeeTaxInfoSummaryData.totalEmployeeIncome + employerZus + employerPPK;\n\t var totalEmploymentNonSalaryCost = totalEmployerSalaryCost - employeeTaxInfoSummaryData.totalEmployeeNetSalary;\n\t return React.createElement(\"div\", null, this.renderTableTitle('PODSUMOWANIE DANYCH O WYNAGRODZENIU'), React.createElement(Table, null, React.createElement(Thead, null, this.renderHeaderRow('LIT', 'NAZWA POZYCJI', 'WARTOŚĆ')), React.createElement(Tbody, null, this.renderRow('A', 'WYNAGRODZENIE NETTO', employeeTaxInfoSummaryData.totalEmployeeNetSalary), this.renderRow('A.1', 'WYNAGRODZENIE BRUTTO', employeeTaxInfoSummaryData.totalEmployeeIncome), this.renderRow('A.2', 'KOSZTY UZYSKANIA PRZYCHODU', employeeTaxInfoSummaryData.totalEmployeeTaxCost), this.renderRow('A.2.1', 'KOSZT UZYSKANIA PRZYCHODU - SKŁADKI ZUS: [B.1 + B.2 + B.3]', employeeTaxInfoData.incomeDeducibleSocialSecurityContributions), this.renderRow('A.2.2', 'KOSZT UZYSKANIA PRZYCHODU - INNE ZWIĄZANE Z FORMĄ ZATRUDNIA', totalNonZusCost), this.renderRow('A.3', 'SKŁADKA ZDROWOTNA', employeeTaxInfoData.totalHealthInsuranceContributions), this.renderRow('A.4', 'DOCHÓD OPODATKOWANY: [A.1 - A.2]', employeeTaxInfoSummaryData.totalEmployeeTaxProfit), this.renderRow('A.5', 'PODATEK DOCHODOWY', employeeTaxInfoSummaryData.totalEmployeeTaxAdvance), this.renderSummaryRow('SPOSÓB LICZENIA: A.1 - A.2 - A.3 - A.5', employeeTaxInfoSummaryData.totalEmployeeNetSalary))), zusExist && this.renderTableTitle('PODSUMOWANIE DANYCH: SKŁADKI ZUS UBEZPIECZONEGO'), zusExist && React.createElement(Table, null, React.createElement(Thead, null, this.renderHeaderRow('LIT', 'NAZWA POZYCJI', 'WARTOŚĆ')), React.createElement(Tbody, null, this.renderRow('B', 'SKŁADKI ZUS UBEZPIECZONEGO', employeeZusInfoSummaryData.totalEmployeeZus), this.renderRow('B.1', 'SKŁADKA EMERYTALNA', employeeZUSInfoData.socialSecurityRetirementPayedByEmployee, \"PODSTAWA WYMIARU: \" + employeeZUSInfoData.socialSecurityRetirementAndDisabilityBase.toFixed(2)), this.renderRow('B.2', 'SKŁADKA RENTOWA', employeeZUSInfoData.socialSecurityDisabilityPayedByEmployee, \"PODSTAWA WYMIARU: \" + employeeZUSInfoData.socialSecurityRetirementAndDisabilityBase.toFixed(2)), this.renderRow('B.3', 'SKŁADKA CHOROBOWA', employeeZUSInfoData.socialSecurityIllnessPayedByEmployee, \"PODSTAWA WYMIARU: \" + employeeZUSInfoData.socialSecurityIllnessBase.toFixed(2)), this.renderRow('B.4', 'SKŁADKA WYPADKOWA', employeeZUSInfoData.socialSecurityAccidentPayedByEmployee), this.renderRow('B.5', 'SKŁADKA ZDROWOTNA', employeeZUSInfoData.socialSecurityHealthPayedByEmployee, \"PODSTAWA WYMIARU: \" + employeeZUSInfoData.socialSecurityHealthBase.toFixed(2)), this.renderSummaryRow('SPOSÓB LICZENIA: B.1 + B.2 + B.3 + B.4 + B.5', employeeZusInfoSummaryData.totalEmployeeZus))), zusExist && this.renderTableTitle('PODSUMOWANIE DANYCH: SKŁADKI ZUS PŁATNIKA'), zusExist && React.createElement(Table, null, React.createElement(Thead, null, this.renderHeaderRow('LIT', 'NAZWA POZYCJI', 'WARTOŚĆ')), React.createElement(Tbody, null, this.renderRow('C', 'SKŁADKI ZUS PŁATNIKA', employeeZusInfoSummaryData.totalEmployerZus), this.renderRow('C.1', 'SKŁADKA EMERYTALNA', employeeZUSInfoData.socialSecurityRetirementPayedByEmployer, \"PODSTAWA WYMIARU: \" + employeeZUSInfoData.socialSecurityRetirementAndDisabilityBase.toFixed(2)), this.renderRow('C.2', 'SKŁADKA RENTOWA', employeeZUSInfoData.socialSecurityDisabilityPayedByEmployer, \"PODSTAWA WYMIARU: \" + employeeZUSInfoData.socialSecurityRetirementAndDisabilityBase.toFixed(2)), this.renderRow('C.3', 'SKŁADKA CHOROBOWA', employeeZUSInfoData.socialSecurityIllnessPayedByEmployer), this.renderRow('C.4', 'SKŁADKA WYPADKOWA', employeeZUSInfoData.socialSecurityAccidentPayedByEmployer, \"PODSTAWA WYMIARU: \" + employeeZUSInfoData.socialSecurityAccidentBase.toFixed(2)), this.renderRow('C.5', 'SKŁADKA ZDROWOTNA', employeeZUSInfoData.socialSecurityHealthPayedByEmployer), this.renderRow('C.6', 'SKŁADKA NA FUNDUSZ PRACY', employeeZUSInfoData.socialSecurityLabourFundPayedByEmployer, \"PODSTAWA WYMIARU: \" + employeeZUSInfoData.socialSecurityRetirementAndDisabilityBase.toFixed(2)), this.renderRow('C.7', 'SKŁADKA NA FGŚP', employeeZUSInfoData.socialSecurityEmployeeBenefitsPayedByEmployer, \"PODSTAWA WYMIARU: \" + employeeZUSInfoData.socialSecurityRetirementAndDisabilityBase.toFixed(2)), this.renderSummaryRow('SPOSÓB LICZENIA: C.1 + C.2 + C.3 + C.4 + C.5 + C.6 + C.7', employeeZusInfoSummaryData.totalEmployerZus))), zusExist && this.renderTableTitle('PODSUMOWANIE DANYCH: RAZEM SKŁADKI ZUS'), zusExist && React.createElement(Table, null, React.createElement(Thead, null, this.renderHeaderRow('LIT', 'NAZWA POZYCJI', 'WARTOŚĆ')), React.createElement(Tbody, null, this.renderRow('D', 'RAZEM SKŁADKI ZUS', totalZus), this.renderRow('D.1', 'SKŁADKI ZUS UBEZPIECZONEGO', employeeZusInfoSummaryData.totalEmployeeZus), this.renderRow('D.2', 'SKŁADKI ZUS PŁATNIKA', employeeZusInfoSummaryData.totalEmployerZus), this.renderSummaryRow('SPOSÓB LICZENIA: D.1 + D.2', totalZus))), zusExist && this.renderTableTitle('PODSUMOWANIE DANYCH: RAZEM PPK'), zusExist && React.createElement(Table, null, React.createElement(Thead, null, this.renderHeaderRow('LIT', 'NAZWA POZYCJI', 'WARTOŚĆ')), React.createElement(Tbody, null, this.renderRow('E', 'RAZEM PPK', totalPPK), this.renderRow('E.1', 'PPK PODSTAWOWA - UBEZPIECZONY', employeeZUSInfoData.socialSecurityBasePPKPayedByEmployee), this.renderRow('E.2', 'PPK PODSTAWOWA - PŁATNIK', employeeZUSInfoData.socialSecurityBasePPKPayedByEmployer), this.renderRow('E.3', 'PPK DODATKOWA - UBEZPIECZONY', employeeZUSInfoData.socialSecurityAdditionalPPKPayedByEmployee), this.renderRow('E.4', 'PPK DODATKOWA - PŁATNIK', employeeZUSInfoData.socialSecurityAdditionalPPKPayedByEmployee), this.renderSummaryRow('SPOSÓB LICZENIA: E.1 + E.2 + E.3 + E.4', totalPPK))), this.renderTableTitle('PODSUMOWANIE DANYCH: ŁĄCZNY KOSZT WYNAGRODZENIA DLA PŁATNIKA'), React.createElement(Table, null, React.createElement(Thead, null, this.renderHeaderRow('LIT', 'NAZWA POZYCJI', 'WARTOŚĆ')), React.createElement(Tbody, null, this.renderRow('F', 'ŁĄCZNY KOSZT WYNAGRODZENIA', totalEmployerSalaryCost), this.renderRow('F.1', 'WYNAGRODZNIE BRUTTO', employeeTaxInfoSummaryData.totalEmployeeIncome), zusExist && this.renderRow('F.2', 'SKŁADKI ZUS - CZĘŚĆ PŁATNIKA', employeeZusInfoSummaryData.totalEmployerZus), zusExist && this.renderRow('F.3', 'PPK - CZĘŚĆ PŁATNIKA', employeeZusInfoSummaryData.totalEmployerPPK), !zusExist && this.renderSummaryRow('SPOSÓB LICZENIA: F.1', totalEmployerSalaryCost), zusExist && this.renderSummaryRow('SPOSÓB LICZENIA: F.1 + F.2 + F.3', totalEmployerSalaryCost))), this.renderTableTitle('PODSUMOWANIE DANYCH: OBCIĄŻENIA PUBLICZNO-PRAWNE'), React.createElement(Table, null, React.createElement(Thead, null, this.renderHeaderRow('LIT', 'NAZWA POZYCJI', 'WARTOŚĆ')), React.createElement(Tbody, null, this.renderRow('G', 'ŁĄCZNE OBCIĄŻENIA PUBLICZNO-PRAWNE', totalEmploymentNonSalaryCost, totalEmploymentNonSalaryCost + \" z \" + totalEmployerSalaryCost + \" = \" + getPercent(totalEmploymentNonSalaryCost, totalEmployerSalaryCost) + \"%\"), this.renderRow('G.1', 'PODATEK DOCHODOWY', employeeTaxInfoSummaryData.totalEmployeeTaxAdvance, employeeTaxInfoSummaryData.totalEmployeeTaxAdvance + \" z \" + totalEmployerSalaryCost + \" = \" + getPercent(employeeTaxInfoSummaryData.totalEmployeeTaxAdvance, totalEmployerSalaryCost) + \"%\"), zusExist && this.renderRow('G.2', 'SKŁADKI ZUS - ŁĄCZNIE', totalZus, totalZus + \" z \" + totalEmployerSalaryCost + \" = \" + getPercent(totalZus, totalEmployerSalaryCost) + \"%\"), zusExist && this.renderRow('G.3', 'PPK - ŁĄCZNIE', totalPPK, totalPPK + \" z \" + totalEmployerSalaryCost + \" = \" + getPercent(totalPPK, totalEmployerSalaryCost) + \"%\"))));\n\t };\n\t\n\t return SalaryCalculatorFormCalculatorDataPresentation;\n\t}(React.Component);\n\t\n\tfunction getPercent(value, total) {\n\t return \"\" + (value / total * 100).toFixed(2);\n\t}\n\t/** STYLES */\n\tvar TableNameWrapper = styled_components_1.default.div(_templateObject);\n\tvar Table = styled_components_1.default.table(_templateObject2);\n\tvar Th = styled_components_1.default.th(_templateObject3);\n\tvar Td = styled_components_1.default.td(_templateObject4);\n\tvar Tr = styled_components_1.default.tr(_templateObject5);\n\tvar Thead = styled_components_1.default.thead(_templateObject6);\n\tvar Tbody = styled_components_1.default.tbody(_templateObject7);\n\texports.default = SalaryCalculatorFormCalculatorDataPresentation;\n\n/***/ }),\n\n/***/ 349:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tvar _templateObject = _taggedTemplateLiteralLoose([\"\\n display: flex;\\n justify-content: center;\\n max-width: 1100px;\\n margin: auto; \\n padding: 20px;\\n border: 1px solid #ddd;\\n border-radius: 8px;\\n flex-direction: column;\\n\"], [\"\\n display: flex;\\n justify-content: center;\\n max-width: 1100px;\\n margin: auto; \\n padding: 20px;\\n border: 1px solid #ddd;\\n border-radius: 8px;\\n flex-direction: column;\\n\"]),\n\t _templateObject2 = _taggedTemplateLiteralLoose([\"\\n flex: 1;\\n @media (max-width: 800px) {\\n display: flex;\\n flex-direction: column;\\n }\\n\"], [\"\\n flex: 1;\\n @media (max-width: 800px) {\\n display: flex;\\n flex-direction: column;\\n }\\n\"]),\n\t _templateObject3 = _taggedTemplateLiteralLoose([\"\\n display: block;\\n font-weight: bold;\\n margin-bottom: 5px;\\n margin-top: 10px;\\n text-transform: uppercase; \\n\"], [\"\\n display: block;\\n font-weight: bold;\\n margin-bottom: 5px;\\n margin-top: 10px;\\n text-transform: uppercase; \\n\"]),\n\t _templateObject4 = _taggedTemplateLiteralLoose([\"\\n width: 100%;\\n text-indent: 10px; \\n border: 1px solid #ccc !important;\\n border-radius: 4px;\\n margin-bottom: 0 !important; \\n\"], [\"\\n width: 100%;\\n text-indent: 10px; \\n border: 1px solid #ccc !important;\\n border-radius: 4px;\\n margin-bottom: 0 !important; \\n\"]),\n\t _templateObject5 = _taggedTemplateLiteralLoose([\"\\n width: 100%;\\n padding: 8px;\\n border: 1px solid #ccc;\\n border-radius: 4px;\\n display: flex;\\n\"], [\"\\n width: 100%;\\n padding: 8px;\\n border: 1px solid #ccc;\\n border-radius: 4px;\\n display: flex;\\n\"]),\n\t _templateObject6 = _taggedTemplateLiteralLoose([\"\\n display: flex;\\n justify-content: space-between;\\n @media (max-width: 800px) {\\n flex-direction: column;\\n }\\n\"], [\"\\n display: flex;\\n justify-content: space-between;\\n @media (max-width: 800px) {\\n flex-direction: column;\\n }\\n\"]),\n\t _templateObject7 = _taggedTemplateLiteralLoose([\"\\n flex: 0 0 48%;\\n @media (max-width: 800px) {\\n flex: 1;\\n }\\n\"], [\"\\n flex: 0 0 48%;\\n @media (max-width: 800px) {\\n flex: 1;\\n }\\n\"]),\n\t _templateObject8 = _taggedTemplateLiteralLoose([\"\\n width: 100%;\\n padding: 10px;\\n font-size: 16px;\\n background-color: #007bff;\\n color: white;\\n border: none;\\n border-radius: 5px;\\n cursor: pointer;\\n &:hover {\\n background-color: #0056b3;\\n }\\n\"], [\"\\n width: 100%;\\n padding: 10px;\\n font-size: 16px;\\n background-color: #007bff;\\n color: white;\\n border: none;\\n border-radius: 5px;\\n cursor: pointer;\\n &:hover {\\n background-color: #0056b3;\\n }\\n\"]);\n\t\n\tfunction _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar React = __webpack_require__(1);\n\tvar staffCalculatorService = __webpack_require__(371);\n\tvar salary_calculator_form_calculator_data_presentation_1 = __webpack_require__(348);\n\tvar styled_components_1 = __webpack_require__(2);\n\t\n\tvar SalaryCalculatorForm = function (_React$Component) {\n\t _inherits(SalaryCalculatorForm, _React$Component);\n\t\n\t function SalaryCalculatorForm(props) {\n\t _classCallCheck(this, SalaryCalculatorForm);\n\t\n\t var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\t\n\t _this.handleSubmit = function (event) {\n\t // BASIC STUFF\n\t event.preventDefault();\n\t // LOADER\n\t _this.setState({\n\t responseData: null,\n\t loading: true,\n\t error: null\n\t });\n\t // DANE Z FORMULARZA DO KALKULACJI\n\t var formData = new FormData(event.target);\n\t var jsonObject = {};\n\t formData.forEach(function (value, key) {\n\t jsonObject[key] = value;\n\t });\n\t // WYLICZANIE PRZEZ API\n\t staffCalculatorService.handleGenerateStaffCalculation(jsonObject).then(function (responseData) {\n\t if (!responseData) throw new Error(\"Brak danych z API\");\n\t _this.setState({\n\t responseData: responseData,\n\t loading: false,\n\t error: null\n\t });\n\t }).catch(function (error) {\n\t _this.setState({\n\t responseData: null,\n\t loading: false,\n\t error: 'Coś poszło nie tak!'\n\t });\n\t });\n\t };\n\t _this.state = {\n\t responseData: null,\n\t loading: false,\n\t error: null\n\t };\n\t return _this;\n\t }\n\t\n\t SalaryCalculatorForm.prototype.render = function render() {\n\t var _state = this.state,\n\t responseData = _state.responseData,\n\t loading = _state.loading,\n\t error = _state.error;\n\t\n\t return React.createElement(\"div\", null, React.createElement(FormContainer, null, React.createElement(FormWrapper, { onSubmit: this.handleSubmit }, React.createElement(InlineWrapper, null, React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"salaryValue\" }, \"WYNAGRODZENIE BRUTTO\"), React.createElement(Input, { type: \"number\", id: \"salaryValue\", name: \"salaryValue\", required: true, placeholder: '5000', min: 0 })), React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"employmentType\" }, \"FORMA ZATRUDNIENIA\"), React.createElement(Select, { id: \"employmentType\", name: \"employmentType\", required: true }, React.createElement(\"option\", { value: \"UoP\" }, \"UMOWA O PRAC\\u0118\"), React.createElement(\"option\", { value: \"UZ\" }, \"UMOWA ZLECENIE (20% KUP)\"), React.createElement(\"option\", { value: \"UZPA\" }, \"UMOWA ZLECENIE (50% KUP)\"), React.createElement(\"option\", { value: \"PA\" }, \"PRAKTYKI ABSOLWENCKIEK\"), React.createElement(\"option\", { value: \"UoD\" }, \"UMOWA O DZIE\\u0141O (20% KUP)\"), React.createElement(\"option\", { value: \"UoDPA\" }, \"UMOWA O DZIE\\u0141O (50% KUP)\"), React.createElement(\"option\", { value: \"UL\" }, \"UMOWA LICENCYJNA (0% KUP)\"), React.createElement(\"option\", { value: \"ULPA\" }, \"UMOWA LICENCYJNA (50% KUP)\"), React.createElement(\"option\", { value: \"AP\" }, \"AKT POWO\\u0141ANIA\"), React.createElement(\"option\", { value: \"SN\" }, \"\\u015AWIADCZENIA NIEPIENIE\\u017BNE\")))), React.createElement(InlineWrapper, null, React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"employmentInPlaceOfResidence\" }, \"PRACA W MIEJSCU ZAMIESZKANIA\"), React.createElement(Select, { id: \"employmentInPlaceOfResidence\", name: \"employmentInPlaceOfResidence\", required: true }, React.createElement(\"option\", { value: \"true\" }, \"TAK\"), React.createElement(\"option\", { value: \"false\" }, \"NIE\"))), React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"socialSecurityPPKBaseTitle\" }, \"Pracownicze plany kapita\\u0142owe\"), React.createElement(Select, { id: \"socialSecurityPPKBaseTitle\", name: \"socialSecurityPPKBaseTitle\", required: true }, React.createElement(\"option\", { value: \"false\" }, \"NIE\"), React.createElement(\"option\", { value: \"true\" }, \"TAK\")))), React.createElement(InlineWrapper, null, React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"taxFreeAllowance\" }, \"ZASTOSUJ KWOT\\u0118 WOLN\\u0104 OD PODATKU\"), React.createElement(Select, { id: \"taxFreeAllowance\", name: \"taxFreeAllowance\", required: true }, React.createElement(\"option\", { value: \"true\" }, \"TAK\"), React.createElement(\"option\", { value: \"false\" }, \"NIE\"))), React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"taxFreeAllowanceForYoungPeople\" }, \"ZASTOSUJ ULG\\u0118 - \\\"BEZ PIT DLA M\\u0141ODYCH\\\"\"), React.createElement(Select, { id: \"taxFreeAllowanceForYoungPeople\", name: \"taxFreeAllowanceForYoungPeople\", required: true }, React.createElement(\"option\", { value: \"false\" }, \"NIE\"), React.createElement(\"option\", { value: \"true\" }, \"TAK\")))), React.createElement(InlineWrapper, null, React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"socialSecurityRetirementTitle\" }, \"Ubezpieczenie Emerytalne\"), React.createElement(Select, { id: \"socialSecurityRetirementTitle\", name: \"socialSecurityRetirementTitle\", required: true }, React.createElement(\"option\", { value: \"true\" }, \"TAK\"), React.createElement(\"option\", { value: \"false\" }, \"NIE\"))), React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"socialSecurityDisabilityTitle\" }, \"Ubezpieczenie Rentowe\"), React.createElement(Select, { id: \"socialSecurityDisabilityTitle\", name: \"socialSecurityDisabilityTitle\", required: true }, React.createElement(\"option\", { value: \"true\" }, \"TAK\"), React.createElement(\"option\", { value: \"false\" }, \"NIE\")))), React.createElement(InlineWrapper, null, React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"socialSecurityIllnessTitle\" }, \"Ubezpieczenie Chorobowe\"), React.createElement(Select, { id: \"socialSecurityIllnessTitle\", name: \"socialSecurityIllnessTitle\", required: true }, React.createElement(\"option\", { value: \"true\" }, \"TAK\"), React.createElement(\"option\", { value: \"false\" }, \"NIE\"))), React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"socialSecurityAccidentTitle\" }, \"Ubezpieczenie Wypadkowe\"), React.createElement(Select, { id: \"socialSecurityAccidentTitle\", name: \"socialSecurityAccidentTitle\", required: true }, React.createElement(\"option\", { value: \"true\" }, \"TAK\"), React.createElement(\"option\", { value: \"false\" }, \"NIE\")))), React.createElement(InlineWrapper, null, React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"socialSecurityHealthTitle\" }, \"Ubezpieczenie Zdrowotne\"), React.createElement(Select, { id: \"socialSecurityHealthTitle\", name: \"socialSecurityHealthTitle\", required: true }, React.createElement(\"option\", { value: \"true\" }, \"TAK\"), React.createElement(\"option\", { value: \"false\" }, \"NIE\"))), React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"socialSecurityArt83Exemption\" }, \"Ubezpieczenie Zdrowotne - ART 83\"), React.createElement(Select, { id: \"socialSecurityArt83Exemption\", name: \"socialSecurityArt83Exemption\", required: true }, React.createElement(\"option\", { value: \"true\" }, \"TAK\"), React.createElement(\"option\", { value: \"false\" }, \"NIE\")))), React.createElement(InlineWrapper, null, React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"socialSecurityLabourFundTitle\" }, \"Fundusz Pracy\"), React.createElement(Select, { id: \"socialSecurityLabourFundTitle\", name: \"socialSecurityLabourFundTitle\", required: true }, React.createElement(\"option\", { value: \"true\" }, \"TAK\"), React.createElement(\"option\", { value: \"false\" }, \"NIE\"))), React.createElement(HalfInputWrapper, null, React.createElement(Label, { htmlFor: \"socialSecurityEmployeeBenefitsTitle\" }, \"Fundusz Gwarantowanych \\u015Awiadcze\\u0144 Pracowniczych\"), React.createElement(Select, { id: \"socialSecurityEmployeeBenefitsTitle\", name: \"socialSecurityEmployeeBenefitsTitle\", required: true }, React.createElement(\"option\", { value: \"true\" }, \"TAK\"), React.createElement(\"option\", { value: \"false\" }, \"NIE\")))), React.createElement(\"br\", null), React.createElement(\"br\", null), React.createElement(SubmitButton, { type: \"submit\" }, \"DOKONAJ KALKULACJI WYNAGRODZENIA\"))), responseData && React.createElement(FormContainer, { style: { marginTop: 20 } }, React.createElement(salary_calculator_form_calculator_data_presentation_1.default, { employeeSalaryInfoData: responseData })));\n\t };\n\t\n\t return SalaryCalculatorForm;\n\t}(React.Component);\n\t/** STYLES */\n\t\n\t\n\tvar FormContainer = styled_components_1.default.div(_templateObject);\n\tvar FormWrapper = styled_components_1.default.form(_templateObject2);\n\tvar Label = styled_components_1.default.label(_templateObject3);\n\tvar Input = styled_components_1.default.input(_templateObject4);\n\tvar Select = styled_components_1.default.select(_templateObject5);\n\tvar InlineWrapper = styled_components_1.default.div(_templateObject6);\n\tvar HalfInputWrapper = styled_components_1.default.div(_templateObject7);\n\tvar SubmitButton = styled_components_1.default.button(_templateObject8);\n\texports.default = SalaryCalculatorForm;\n\n/***/ }),\n\n/***/ 363:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar React = __webpack_require__(1);\n\tvar react_helmet_1 = __webpack_require__(23);\n\tvar title_block_1 = __webpack_require__(43);\n\tvar salary_calculator_form_block_1 = __webpack_require__(347);\n\tvar promo_block_1 = __webpack_require__(100);\n\tvar types_1 = __webpack_require__(14);\n\tvar staticUrls = __webpack_require__(17);\n\tvar helmetData = __webpack_require__(21);\n\tvar cacheBustingService = __webpack_require__(26);\n\t\n\tvar KalkulatorWynagrodzenPage = function (_React$Component) {\n\t _inherits(KalkulatorWynagrodzenPage, _React$Component);\n\t\n\t function KalkulatorWynagrodzenPage() {\n\t _classCallCheck(this, KalkulatorWynagrodzenPage);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t KalkulatorWynagrodzenPage.prototype.componentDidMount = function componentDidMount() {\n\t cacheBustingService.handleCacheBusting(caches);\n\t };\n\t\n\t KalkulatorWynagrodzenPage.prototype.render = function render() {\n\t return React.createElement(\"div\", null, React.createElement(react_helmet_1.Helmet, _extends({}, helmetData.prepareHelmetData(types_1.PageType.KalkulatorWynagrodzenPage))), React.createElement(title_block_1.default, { firstLineBlackStart: \"Kalkulator\", firstLineBlue: \"wynagrodzeń\", firstLineBlackEnd: \"\", secondLineText: \"Porównaj dostępne formy zatrudnienia\" }), React.createElement(salary_calculator_form_block_1.default, null), React.createElement(promo_block_1.default, { promoBlockType: types_1.PromoBlockType.PromoBlockGrayBox, promoBlockTitle: \"NIE CZEKAJ, WYPRÓBUJ FAKTUROMANIĘ JUŻ DZIŚ\", promoBlockText: \"Przekonaj się jak prosta może być pełna księgowość online.\", promoBlockButtonText: \"WYPRÓBUJ ZA DARMO\", promoBlockLink: staticUrls.FAKTUROMANIA_REGISTRATION_PAGE_URL }));\n\t };\n\t\n\t return KalkulatorWynagrodzenPage;\n\t}(React.Component);\n\t\n\texports.default = KalkulatorWynagrodzenPage;\n\n/***/ }),\n\n/***/ 371:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar staticUrls = __webpack_require__(17);\n\texports.handleGenerateStaffCalculation = function (formData) {\n\t // PRZYGOTOWYWANIE REQUESTA\n\t var request = {\n\t salaryValue: Number(formData.salaryValue),\n\t employmentType: formData.employmentType,\n\t employmentInPlaceOfResidence: formData.employmentInPlaceOfResidence == \"true\",\n\t socialSecurityPPKBaseTitle: formData.socialSecurityPPKBaseTitle == \"true\",\n\t taxFreeAllowance: formData.taxFreeAllowance == \"true\",\n\t taxFreeAllowanceForYoungPeople: formData.taxFreeAllowanceForYoungPeople == \"true\",\n\t socialSecurityRetirementTitle: formData.socialSecurityRetirementTitle == \"true\",\n\t socialSecurityDisabilityTitle: formData.socialSecurityDisabilityTitle == \"true\",\n\t socialSecurityIllnessTitle: formData.socialSecurityIllnessTitle == \"true\",\n\t socialSecurityAccidentTitle: formData.socialSecurityAccidentTitle == \"true\",\n\t socialSecurityHealthTitle: formData.socialSecurityHealthTitle == \"true\",\n\t socialSecurityArt83Exemption: formData.socialSecurityArt83Exemption == \"true\",\n\t socialSecurityLabourFundTitle: formData.socialSecurityLabourFundTitle == \"true\",\n\t socialSecurityEmployeeBenefitsTitle: formData.socialSecurityEmployeeBenefitsTitle == \"true\"\n\t };\n\t // FETCHOWANIE\n\t return fetch(staticUrls.FAKTUROMANIA_STAFF_CALCULATOR_API_URL, {\n\t body: JSON.stringify(request),\n\t headers: {\n\t \"Accept\": \"application/json, text/plain, */*\",\n\t \"Content-Type\": \"application/json\"\n\t },\n\t method: \"POST\"\n\t }).then(function (response) {\n\t // JEŚLI NIE WSZYSTKO JEST OK!\n\t if (!response.ok) {\n\t throw new Error(\"B\\u0142\\u0105d HTTP: \" + response.status);\n\t }\n\t // JEŚLI WSZYSTKO JEST OK\n\t return response.json();\n\t }).catch(function (error) {\n\t console.error(\"Błąd pobierania:\", error);\n\t return null;\n\t });\n\t};\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// component---src-pages-kalkulator-wynagrodzen-tsx-0590f92a3300c54ac4aa.js","import * as React from \"react\";\nimport SalaryCalculatorForm from \"./salary-calculator-form\";\nimport styled from \"styled-components\";\n\ninterface SalaryCalculatorFormBlockProps {}\n\nconst SalaryCalculatorFormBlock = (props: SalaryCalculatorFormBlockProps) => {\n return (\n