{"version":3,"sources":["webpack:///./src/components/forms/sale-form.js","webpack:///./node_modules/react-countdown/dist/index.es.js","webpack:///./src/components/seo.js"],"names":["rePhoneNumber","Yup","this","test","value","_handleSubmit","SaleForm","withFormik","mapPropsToValues","props","phone","referrer","ga","success","form_name","discount","validationSchema","shape","min","React","createElement","PhoneErrorMessage","handleSubmit","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_ref2","_ref3","setSubmitting","resetForm","setFieldValue","UTMS","isEn","testovani","data","wrap","_context","prev","next","getUTM","getReferrer","document","location","pathname","includes","localStorage","getItem","formName","utm_source","UTM_SOURCE","utm_medium","UTM_MEDIUM","utm_campaign","UTM_CAMPAIGN","utm_term","UTM_TERM","utm_content","UTM_CONTENT","roistat","getCookie","fetch","process","method","headers","body","JSON","stringify","setTimeout","setItem","window","href","t0","stop","_x","_x2","apply","arguments","_ref","isSubmitting","errors","values","touched","_ref$btnText","btnType","btnText","t","useTranslation","Form","name","className","cx","saleFormStyles","saleForm","styles","inputField","label","inputFieldLabel","inputWrap","inputIcon","width","height","viewBox","fill","xmlns","d","FastField","component","type","input","error","Button2","color","buttonType","disabled","contactFormButton","_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","protoProps","staticProps","prototype","_inherits","subClass","superClass","create","constructor","_setPrototypeOf","_getPrototypeOf","o","setPrototypeOf","getPrototypeOf","__proto__","p","_possibleConstructorReturn","self","call","ReferenceError","_assertThisInitialized","_createSuper","Derived","hasNativeReflectConstruct","Reflect","construct","sham","Proxy","Date","toString","e","_isNativeReflectConstruct","result","Super","NewTarget","_toConsumableArray","arr","Array","isArray","_arrayLikeToArray","_arrayWithoutHoles","iter","Symbol","iterator","from","_iterableToArray","minLen","n","slice","_unsupportedIterableToArray","_nonIterableSpread","len","arr2","zeroPad","undefined","strValue","String","match","prefix","suffix","strNo","paddedNo","map","join","concat","timeDeltaFormatOptionsDefaults","daysInHours","zeroPadTime","formatTimeDelta","timeDelta","options","days","hours","minutes","seconds","_Object$assign","assign","_Object$assign$zeroPa","zeroPadDays","zeroPadTimeLength","Math","formattedHours","Countdown","_React$Component","_super","_this","state","count","startCountdown","interval","setInterval","stopCountdown","onComplete","setState","prevState","clearInterval","addTime","children","Countdown$1","mounted","initialTimestamp","calcOffsetStartTimestamp","offsetStartTimestamp","autoStart","offsetTime","legacyMode","legacyCountdownRef","tick","calcTimeDelta","callback","completed","overtime","onTick","setTimeDeltaState","start","isStarted","prevOffsetStartTimestamp","onStart","controlled","clearTimer","intervalDelay","pause","isPaused","onPause","isStopped","onStop","isStatus","isCompleted","date","status","onMount","prevProps","_this$props","now","precision","startTimestamp","_options$now","_options$precision","_options$offsetTime","getTime","timeLeft","clampedPrecision","max","total","round","parseFloat","toFixed","abs","floor","milliseconds","Number","current","_this2","completing","completedOnStart","newStatus","api","_this$props2","getApi","formatted","_this$props3","_children","ref","_this$props4","renderer","renderProps","getRenderProps","countdown","_renderProps$formatte","defaultProps","SEO","description","meta","title","site","useStaticQuery","_useLangContext","useLangContext","lang","originalPath","host","siteMetadata","siteUrl","metaDescription","Helmet","htmlAttributes","titleTemplate","content","property","author","link","rel","hrefLang","supportedLanguages","supportedLang"],"mappings":"wVAcMA,EAAgB,kFAEtBC,IAAcA,IAAY,SAAS,WACjC,OAAOC,KAAKC,KAAK,QAAS,0CAA0C,SAAAC,GAAK,OACvEJ,EAAcG,KAAKC,SAKhB,IAqLOC,EAfDC,EAAWC,YAAW,CACjCC,iBAAkB,SAACC,GAAK,MAAM,CAC5BC,MAAO,MACPC,SAAU,GACVC,GAAI,GACJC,SAAS,EACTC,UAAWL,EAAMK,UACjBC,SAAUN,EAAMM,WAElBC,iBAAkB,kBAChBf,MAAagB,MAAM,CACjBP,MAAOT,MACJiB,IAAI,EAAGC,IAAAC,cAACC,IAAiB,OACzBX,WAEPY,cAAYjB,EAAAkB,YAAAC,IAAAC,MAAE,SAAAC,EAAAC,EAAAC,GAAA,IAAAlB,EAA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,OAAO4G,GACTkB,KAAI,CACF,CACEC,IAAK,YACL3P,KAASgP,EAAI,IAAIF,EAAOC,GAE1B,CACEY,IAAK,YACLC,SAAU,YACV5P,KAAK,GAAIgP,EAAOD,IACjBnH,OAAA7B,YACE2I,EAAKO,aAAaY,mBAAmBnI,KAAI,SAAAoI,GAAa,MAAK,CAC5DH,IAAK,YACLC,SAAUE,EACV9P,KAASgP,EAAI,IAAIc,EAAgBf,UAO3CT,EAAID,aAAe,CACjBS,KAAK,KACLN,KAAM,GACND,YAAY,IAUCD","file":"077bef416b6e200b9fbe3d8269343bf94685097e-051fe7b690ff2550aefe.js","sourcesContent":["import cx from 'classnames';\nimport { FastField, Form, withFormik } from 'formik';\nimport React from 'react';\nimport { Trans, useTranslation } from 'react-i18next';\nimport MaskedInput from 'react-text-mask';\nimport * as Yup from 'yup';\n\nimport { getCookie, getReferrer, getUTM } from '../../helpers';\nimport { useLangContext } from '../../utils/lang';\nimport { Button2 } from '../button2';\nimport styles from './form2.module.css';\nimport { PhoneErrorMessage } from './forms-error-messages';\nimport saleFormStyles from './sale-form.module.css';\n\nconst rePhoneNumber = /^(\\+?\\d{0,4})?\\s?-?\\s?(\\(?\\d{3}\\)?)\\s?-?\\s?(\\(?\\d{3}\\)?)\\s?-?\\s?(\\(?\\d{4}\\)?)?$/\n\nYup.addMethod(Yup.string, \"phone\", function() {\n return this.test(\"phone\", \"Telefonní číslo musí obsahovat 9 znaků\", value =>\n rePhoneNumber.test(value)\n )\n});\n\n\nexport const SaleFormLayout = ({\n isSubmitting,\n values,\n errors,\n touched,\n btnType = \"secondary\",\n btnText = \"Odeslat\",\n form_name,\n}) => {\n const { t } = useTranslation()\n return (\n
\n )\n}\n\nexport const SaleForm = withFormik({\n mapPropsToValues: (props) => ({\n phone: \"+48\",\n referrer: \"\",\n ga: \"\",\n success: false,\n form_name: props.form_name,\n discount: props.discount,\n }),\n validationSchema: () =>\n Yup.object().shape({\n phone: Yup.string()\n .min(8,