{"version":3,"sources":["webpack:///./node_modules/lodash/isSymbol.js","webpack:///./node_modules/gatsby-background-image/index.js","webpack:///./node_modules/react-day-picker/moment/index.js","webpack:///./src/components/filter-weeks/redArrow.svg","webpack:///./src/features/pages/order-food-online/components/button.module.css","webpack:///./node_modules/react-day-picker/build/Day.js","webpack:///./node_modules/react-day-picker/build/classNames.js","webpack:///./node_modules/react-day-picker/build/Helpers.js","webpack:///./node_modules/react-google-autocomplete/lib/index.js","webpack:///./src/components/calculator2/calc2.module.css","webpack:///./node_modules/gatsby/node_modules/core-js/internals/regexp-flags.js","webpack:///./src/components/forms/google-search-address-input/input.module.css","webpack:///./src/components/we-will-ship-this-week/we-will-ship-this-week.module.css","webpack:///./src/components/order-price2/price.module.css","webpack:///./node_modules/lodash/_getRawTag.js","webpack:///./src/images/menu3.svg","webpack:///./node_modules/gatsby-background-image/lib/ImageRef.js","webpack:///./node_modules/react-google-autocomplete/lib/utils.js","webpack:///./node_modules/gatsby-background-image/lib/ImageUtils.js","webpack:///./src/components/food/food-card/index.js","webpack:///./node_modules/lodash/isObjectLike.js","webpack:///./node_modules/react-day-picker/build/addons/MomentLocaleUtils.js","webpack:///./node_modules/lodash/isObject.js","webpack:///./src/components/forms/order-form.module.css","webpack:///./src/images/menu1.svg","webpack:///./node_modules/any-base/index.js","webpack:///./node_modules/html-attributes/lib/html-attributes.js","webpack:///./node_modules/react-google-autocomplete/lib/constants.js","webpack:///./node_modules/react-day-picker/build/keys.js","webpack:///./node_modules/react-day-picker/build/Navbar.js","webpack:///./node_modules/gatsby-background-image/lib/MediaUtils.js","webpack:///./node_modules/react-google-autocomplete/lib/usePlacesWidget.js","webpack:///./node_modules/lodash/_objectToString.js","webpack:///./node_modules/gatsby-plugin-google-analytics/index.js","webpack:///./node_modules/lodash/_root.js","webpack:///./node_modules/gatsby/node_modules/core-js/modules/es.regexp.flags.js","webpack:///./node_modules/gatsby-background-image/lib/StyleUtils.js","webpack:///./node_modules/lodash/_baseGetTag.js","webpack:///./src/components/forms/icons/nabirat-icon.svg","webpack:///./node_modules/moment/locale/cs.js","webpack:///./node_modules/lodash/now.js","webpack:///./node_modules/gatsby-background-image/lib/StyleCreation.js","webpack:///./src/components/price/index.js","webpack:///./node_modules/filter-invalid-dom-props/dist/index.js","webpack:///./node_modules/lodash/_trimmedEndIndex.js","webpack:///./src/components/forms/main-form2.module.css","webpack:///./node_modules/react-day-picker/build/DateUtils.js","webpack:///./node_modules/xtend/immutable.js","webpack:///./src/components/price/price.module.css","webpack:///./node_modules/any-base/src/converter.js","webpack:///./src/components/forms/icons/udrzovat-icon.svg","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/rng.js","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/regex.js","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/stringify.js","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/validate.js","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/v1.js","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/parse.js","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/v35.js","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/md5.js","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/v3.js","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/v4.js","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/sha1.js","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/v5.js","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/nil.js","webpack:///./node_modules/short-uuid/node_modules/uuid/dist/esm-browser/version.js","webpack:///./src/components/forms/icons/icon-month.svg","webpack:///./src/components/order-summary2/summary.module.css","webpack:///./node_modules/lodash/_freeGlobal.js","webpack:///./src/features/pages/order-food-online/model/setters.js","webpack:///./src/components/forms/main-form2.js","webpack:///./node_modules/@babel/runtime/helpers/esm/readOnlyError.js","webpack:///./node_modules/react-day-picker/build/Weekday.js","webpack:///./node_modules/gatsby-background-image/lib/ClassCache.js","webpack:///(webpack)/buildin/module.js","webpack:///./src/components/order-price2/index.js","webpack:///./src/components/forms/promo/index.js","webpack:///./src/components/forms/google-search-address-input/index.js","webpack:///./src/components/forms/order-form2.js","webpack:///./src/components/forms/promo/input.module.css","webpack:///./node_modules/sort-media-queries/lib/index.js","webpack:///./node_modules/react-google-autocomplete/lib/ReactGoogleAutocomplete.js","webpack:///./src/images/menu2.svg","webpack:///./src/components/food/food-card/food-card.module.css","webpack:///./node_modules/react-day-picker/build/ModifiersUtils.js","webpack:///./src/components/filter-weeks/filter-weeks.module.css","webpack:///./node_modules/react-day-picker/build/DayPicker.js","webpack:///./node_modules/react-day-picker/build/Caption.js","webpack:///./node_modules/short-uuid/index.js","webpack:///./src/components/food-carousel-calendar/food-carousel-calendar.module.css","webpack:///./node_modules/react-day-picker/build/Month.js","webpack:///./node_modules/lodash/_baseTrim.js","webpack:///./src/components/forms/icons/icon-demo.svg","webpack:///./node_modules/gatsby-background-image/lib/SimpleUtils.js","webpack:///./node_modules/react-day-picker/DayPickerInput/index.js","webpack:///./src/components/forms/icons/icon-2months.svg","webpack:///./node_modules/lodash/_Symbol.js","webpack:///./node_modules/gatsby-background-image/lib/IntersectionObserverUtils.js","webpack:///./node_modules/react-google-autocomplete/index.js","webpack:///./node_modules/react-day-picker/lib/react-day-picker.min.js","webpack:///./src/components/forms/icons/zhubnout-icon.svg","webpack:///./node_modules/gatsby-background-image/lib/ImageHandling.js","webpack:///./node_modules/react-day-picker/build/LocaleUtils.js","webpack:///./node_modules/react-day-picker/build/DayPickerInput.js","webpack:///./src/components/filter-weeks/calendar.svg","webpack:///./src/components/forms/delivery-address-input/input.module.css","webpack:///./src/components/forms/order-form2.module.css","webpack:///./node_modules/lodash/debounce.js","webpack:///./node_modules/react-day-picker/build/Weekdays.js","webpack:///./node_modules/lodash/toNumber.js","webpack:///./node_modules/gatsby-background-image/lib/HelperUtils.js","webpack:///./node_modules/gatsby-background-image/lib/ImageCache.js","webpack:///./node_modules/moment/moment.js","webpack:///./src/components/order-form2/order-form2.module.css","webpack:///./node_modules/gatsby-background-image/lib/BackgroundUtils.js"],"names":["baseGetTag","isObjectLike","module","exports","value","_interopRequireDefault","require","__esModule","default","_objectWithoutPropertiesLoose2","_extends2","_assertThisInitialized2","_inheritsLoose2","_react","_propTypes","_BackgroundUtils","_HelperUtils","_ImageUtils","_ImageCache","_ImageRef","_ImageHandling","_StyleUtils","_StyleCreation","_IntersectionObserverUtils","_SimpleUtils","_excluded","BackgroundImage","_React$Component","props","_this","call","this","intersectionListener","imageInCache","inImageCache","state","isVisible","onStartLoad","wasCached","imageRef","activatePictureRef","selfRef","setState","imageState","imgLoaded","imgCached","hasActivatedPictureRefs","convertedProps","convertProps","IOSupported","fadeIn","seenBefore","isBrowser","window","IntersectionObserver","critical","hasNoScript","currentClassNames","fixClassName","backgroundStyles","presetBackgroundStyles","className","handleImageLoaded","bind","handleRef","createPictureRef","_proto","prototype","componentDidMount","imageReferenceCompleted","componentDidUpdate","prevProps","_this2","imagePropsChanged","bgImage","getCurrentFromData","data","propName","returnArray","componentWillUnmount","Array","isArray","forEach","currentImageRef","isString","onload","cleanUpListeners","ref","listenToIntersections","rootMargin","activateCacheForImage","onLoad","render","_fixOpacity","fixOpacity","preserveStackingContext","_fixOpacity$style","style","fluid","fixed","backgroundColor","durationFadeIn","Tag","children","keepStatic","remainingProps","stripRemainingProps","bgColor","shouldFadeIn","transitionDelay","divStyle","position","opacity","image","getCurrentSrcData","noScriptImageData","width","height","display","srcSet","newImageSettings","switchImageSettings","nextImageArray","nextImage","pseudoStyles","createPseudoStyles","originalData","noScriptPseudoStyles","createNoScriptStyles","componentKey","JSON","stringify","currentStyles","createElement","key","dangerouslySetInnerHTML","__html","Component","defaultProps","fixedObject","shape","number","isRequired","src","string","base64","tracedSVG","srcWebp","srcSetWebp","srcAvif","srcSetAvif","media","fluidObject","aspectRatio","sizes","propTypes","oneOfType","arrayOf","bool","object","crossOrigin","array","func","onError","_default","Object","defineProperty","_extends","assign","target","i","arguments","length","source","hasOwnProperty","_createClass","defineProperties","descriptor","enumerable","configurable","writable","Constructor","protoProps","staticProps","_react2","_DateUtils","_Helpers","_classNames2","obj","_classCallCheck","instance","TypeError","_possibleConstructorReturn","self","ReferenceError","handleEvent","handler","day","modifiers","e","persist","Day","_Component","__proto__","getPrototypeOf","apply","subClass","superClass","create","constructor","setPrototypeOf","_inherits","nextProps","propNames","keys","nextPropNames","some","name","prop","nextProp","nextModifiers","mod","hasOwnProp","isSameDay","_props","classNames","modifiersStyles","tabIndex","empty","onMouseEnter","onMouseLeave","onMouseUp","onMouseDown","onClick","onKeyDown","onTouchStart","onTouchEnd","onFocus","ariaLabel","ariaDisabled","ariaSelected","join","map","modifier","filter","role","container","wrapper","interactionDisabled","months","month","navBar","navButtonPrev","navButtonNext","navButtonInteractionDisabled","caption","weekdays","weekdaysRow","weekday","body","week","weekNumber","footer","todayButton","today","selected","disabled","outside","cancelEvent","preventDefault","stopPropagation","getFirstDayOfMonth","getDaysInMonth","getModifiersFromProps","selectedDays","disabledDays","getFirstDayOfWeekFromProps","firstDayOfWeek","_props$locale","locale","undefined","_props$localeUtils","localeUtils","isNaN","getFirstDayOfWeek","isRangeOfDates","from","to","getMonthsDiff","d1","d2","getMonth","getFullYear","getWeekArray","d","_LocaleUtils","fixedWeeks","daysInMonth","dayArray","weekArray","push","Date","getDay","indexOf","firstWeek","_i","outsideDate","clone","setDate","getDate","unshift","lastWeek","_i2","_outsideDate","lastExtraWeek","_i3","lastDay","extraWeek","j","_outsideDate2","startOfMonth","newDate","setHours","getDayNodes","node","outsideClassName","dayQuery","replace","outsideDayQuery","selector","querySelectorAll","nodeListToArray","nodeList","slice","_classNames","resultDate","setMonth","get","_ReactGoogleAutocomplete","_usePlacesWidget","anObject","that","result","hasIndices","global","ignoreCase","multiline","dotAll","unicode","unicodeSets","sticky","Symbol","objectProto","nativeObjectToString","toString","symToStringTag","toStringTag","isOwn","tag","unmasked","hasPictureRef","createMultiplePictureRefs","activateMultiplePictureRefs","_MediaUtils","index","isLoop","hasImageArray","hasArtDirectionArray","img","Image","complete","addEventListener","imageRefs","imageData","isImageStack","bodyClone","document","getSelectedImage","offsetWidth","offsetHeight","hasPictureElement","pic","createArtDirectionSources","reverse","currentSource","appendChild","sourcesAvif","createSourceElementForSrcSet","sourcesWebp","srcset","every","currentSrc","singleImageRef","imageLoaded","loadGoogleMapScript","googleMapsScriptBaseUrl","googleMapsScriptUrl","Promise","resolve","google","maps","api","scriptElements","concat","scriptUrl","URL","searchParams","set","el","__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__","isBase64","imageArrayPropsChanged","hasImageUrl","getUrlString","getImageSrcKey","createDummyImageArray","HTMLPictureElement","Boolean","_ref","_ref$addUrl","addUrl","_ref$returnArray","_ref$checkLoaded","checkLoaded","imageString","dataElement","currentData","_ref2","_ref3","mediaData","foundMedia","findIndex","matchesMedia","_ref4","_ref5","_ref5$tracedSVG","_ref5$addUrl","_ref5$returnArray","_ref5$hasImageUrls","hasImageUrls","stringArray","currentString","_base","_imageUrl","currentReturnString","filteredJoin","imageUrl","returnString","base64String","substr","isPropsFluidArray","isPrevPropsFluidArray","isPropsFixedArray","isPrevPropsFixedArray","dummyImageURI","fill","naturalWidth","naturalHeight","FoodCard","title","React","styles","foodCard","foodCardTop","foodCardImg","alt","foodCardBody","foodCardTitle","formatDay","formatMonthTitle","formatWeekdayShort","formatWeekdayLong","getMonths","formatDate","parseDate","_moment","_moment2","format","date","localeData","weekdaysMin","str","m","isValid","toDate","type","Converter","anyBase","srcAlphabet","dstAlphabet","converter","convert","BIN","OCT","DEC","HEX","GOOGLE_MAP_SCRIPT_BASE_URL","LEFT","UP","RIGHT","DOWN","ENTER","SPACE","ESC","TAB","_keys","Navbar","_temp","_len","args","_key","handleNextClick","onNextClick","handlePreviousClick","onPreviousClick","handleNextKeyDown","keyCode","handlePreviousKeyDown","labels","dir","showPreviousButton","showNextButton","previousClickHandler","nextClickHandler","previousKeyDownHandler","nextKeyDownHandler","shouldShowPrevious","shouldShowNext","previousClassName","nextClassName","previousButton","previousMonth","nextButton","nextMonth","hasArtDirectionSupport","groupByMedia","_sortMediaQueries","imageVariants","without","sortedVariants","variant","srcSetName","capitalize","reduce","sources","sourceWebp","sourceAvif","matchMedia","matches","_typeof","iterator","onPlaceSelected","apiKey","_props$libraries","libraries","_props$inputAutocompl","inputAutocompleteValue","_props$options","options","_props$options$types","types","componentRestrictions","_props$options$fields","fields","bounds","excluded","sourceKeys","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","_objectWithoutProperties","_props$googleMapsScri","_constants","language","inputRef","useRef","event","autocompleteRef","observerHack","languageQueryParam","handleLoadScript","useCallback","_utils","useEffect","config","_objectSpread","current","handleAutoComplete","_google$maps","console","error","places","HTMLInputElement","Autocomplete","addListener","getPlace","then","remove","_React$version","version","startsWith","MutationObserver","disconnect","autocomplete","observe","attributes","attributeFilter","setFields","setBounds","setComponentRestrictions","setOptions","nodeInterop","cache","_getRequireWildcardCache","has","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","desc","_interopRequireWildcard","WeakMap","cacheBabelInterop","cacheNodeInterop","ownKeys","enumerableOnly","symbols","sym","_defineProperty","getOwnPropertyDescriptors","OutboundLink","trackCustomEvent","category","action","label","_ref$nonInteraction","nonInteraction","transport","hitCallback","_ref$callbackTimeout","callbackTimeout","ga","trackingEventOptions","eventCategory","eventAction","eventLabel","eventValue","callback","opt_timeout","called","raceCallback","setTimeout","createFunctionWithTimeout","rest","redirect","button","altKey","ctrlKey","metaKey","shiftKey","defaultPrevented","toLowerCase","href","location","freeGlobal","freeSelf","root","Function","DESCRIPTORS","defineBuiltInAccessor","regExpFlags","fails","RegExp","RegExpPrototype","INDICES_SUPPORT","O","calls","expected","addGetter","chr","pairs","setTransitionStyles","kebabifyBackgroundStyles","escapeClassNames","_shortUuid","_ClassCache","elementExists","inComponentClassCache","additionalClassname","generate","randomClass","hashString","componentClassNames","trim","activateCacheForComponentClass","specialChars","_gbiSpecialChars","__GBI_SPECIAL_CHARS__","specialCharRegEx","resultingStyles","toKebabCase","styledProps","backgroundPosition","backgroundRepeat","backgroundSize","getRawTag","objectToString","moment","split","standalone","monthsShort","monthsParse","monthsRegex","plural","n","translate","withoutSuffix","isFuture","defineLocale","monthsShortRegex","monthsStrictRegex","monthsShortStrictRegex","longMonthsParse","shortMonthsParse","weekdaysShort","longDateFormat","LT","LTS","L","LL","LLL","LLLL","l","calendar","sameDay","nextDay","nextWeek","sameElse","relativeTime","future","past","s","ss","mm","h","hh","dd","M","MM","y","yy","dayOfMonthOrdinalParse","ordinal","dow","doy","factory","now","createStyleImage","createPseudoElementWithContent","createPseudoElementMediaQuery","createPseudoElement","appendix","escapedClassName","classes","stringToArray","pseudoClasses","c","pseudoElementString","imageSource","imageSourceWebP","lastImage","afterOpacity","finalImage","pseudoBefore","pseudoAfter","currentBackgroundStyles","Number","hasStackedImages","allSources","sourcesAsUrl","sourcesAsUrlWithCSS","cssStrings","combineArray","currentMedia","sourceString","webPString","Price","_cx","_ref$price","price","oldPrice","_ref$plan","plan","_ref$isNew","isNew","_ref$menu","menu","_ref$discountedPrice","discountedPrice","_useState","duration","useState","setDiscountPrice","_useState2","setDiscountPortionPrice","t","useTranslation","getters","useGetters","defaultPriceWeightLoss","isOrderProgramDuration5Days","isOrderFoodProgramWeightLoss","getOrderdProgramDurationTime","defaultPriceWeightGain","isOrderFoodProgramWeightGain","defaultPriceMaintenance","isOrderFoodProgramMaintenance","dprice","discountPriceValue","toFixed","getDiscountPrice","discountPortionPriceValue","getDiscountPricePerPortion","borderRadius","priceCol","priceTitle","priceText","cx","priceColRight","priceValue","priceValueNew","color","id","textDecoration","domProps","isValidDOMProp","_htmlAttributes","_htmlAttributes2","eventProps","onCopy","onCut","onPaste","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyPress","onKeyUp","onBlur","onChange","onInput","onSubmit","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseMove","onMouseOut","onMouseOver","onSelect","onTouchCancel","onTouchMove","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd","test","reWhitespace","charAt","getTime","isDate","valueOf","addMonths","isSameMonth","isDayBefore","isDayAfter","isPastDay","isFutureDay","tomorrow","isDayBetween","addDayToRange","range","isDayInRange","getWeekNumber","Math","ceil","Error","divide","newlen","numberMap","fromBase","toBase","parseInt","getRandomValues","rnds8","Uint8Array","rng","crypto","msCrypto","uuid","byteToHex","_nodeId","_clockseq","arr","offset","_lastMSecs","_lastNSecs","buf","b","clockseq","seedBytes","random","msecs","nsecs","dt","tl","tmh","v","generateUUID","namespace","unescape","encodeURIComponent","bytes","charCodeAt","stringToBytes","hashfunc","err","DNS","getOutputLength","inputLength8","safeAdd","x","lsw","md5cmn","q","a","num","cnt","md5ff","md5gg","md5hh","md5ii","v35","msg","input","output","length32","hex","md5ToHexEncodedArray","len","olda","oldb","oldc","oldd","wordsToMd5","length8","Uint32Array","bytesToWords","rnds","f","z","ROTL","K","H","N","pow","floor","W","_t","_t2","T","useSetters","_useOrderFoodContext","useOrderFoodContext","setOrderExeptions","exeptions","setOrderFoodNumberOfPeopleOne","setOrderFoodNumberOfPeopleTwo","setOrderFoodNumberOfPeopleThreeOrMore","setOrderFoodNumberOfPeopleCompany","setOrderFoodCustomerGenderMale","setOrderFoodCustomerGenderFemale","setOrderFoodCustomerMenuMeat","setOrderFoodCustomerMenuVege","setOrderFoodCustomerMenuBezRib","setOrderFoodProgramWeightGain","setOrderProgram","setOrderProgramType","setOrderFoodProgramWeightLoss","setOrderFoodProgramRecruitment","setOrderFoodProgramMaintenance","setOrderFoodProgramLunchAndDinner","setOrderProgramDuration5Days","setOrderProgramDurationTime","setOrderProgramDuration7Days","setOrderProgramDuration20Days","setOrderProgramDuration30Days","setOrderProgramDuration2Weeks","setOrderProgramDuration1Month","setOrderProgramDuration2Month","setOrderProgramDuration3Month","setOrderFoodNumberOfMealsBreakfast","setOrderFoodNumberOfMealsSnackFirst","setOrderFoodNumberOfMealsLunch","setOrderFoodNumberOfMealsSnackSecond","setOrderFoodNumberOfMealsDinner","setOrderFoodWeekMeal5DaysLength","setOrderFoodWeekMeal6DaysLength","setOrderFoodNumberOfMealsBreakfastToggle","setOrderFoodNumberOfMealsSnackFirstToggle","setOrderFoodNumberOfMealsLunchToggle","setOrderFoodNumberOfMealsSnackSecondToggle","setOrderFoodNumberOfMealsDinnerToggle","setOrderFoodNumberOfKcal","setOrderFoodDiscount","setOrderFoodPriceDiscount","setOrderFoodPromoCode","setIsCompanyOrder","setOrderFoodNumberOfMeals","setOrderFoodDeliveryAddress","setOrderFoodDeliveryCity","setOrderFoodDeliveryPrice","setOrderFoodDeliveryCalendar","setOrderFoodDeliveryTime","setOrderFoodDeliveryPaymentPayPal","setOrderFoodDeliveryPaymentApplePay","setOrderFoodDeliveryPaymentCard","setOrderFoodDeliveryPaymentBank","setOrderFoodDeliveryPaymentPayPalToggle","setOrderFoodDeliveryPaymentApplePayToggle","setOrderFoodDeliveryPaymentCardToggle","setOrderFoodDeliveryPaymentBankToggle","setOrderMondayFood","setOrderTuesdayFood","setOrderWednesdayFood","setOrderThursdayFood","setOrderFridayFood","setOrderSaturdayFood","setOrderFoodDeliveryTerms1Toggle","setOrderFoodDeliveryTerms2Toggle","_Object$assign","OrderFoodOnlineType","NumberOfPeople","OrderNumberOfPeopleType","One","_Object$assign2","Exeptions","_Object$assign3","Program","OrderProgramType","WeightGainProgram","_Object$assign4","_Object$assign5","ProgramType","_Object$assign6","Two","_Object$assign7","ThreeOrMore","_Object$assign8","TheCompany","_Object$assign9","CustomerGender","OrderCustomerGenderType","Male","_Object$assign10","Female","_Object$assign11","CustomerMenu","OrderCustomerMenuType","Meat","_Object$assign12","Vege","_Object$assign13","BEZ_RIB","_Object$assign14","WeightLossProgram","_Object$assign15","RecruitmentProgram","_Object$assign16","MaintenanceProgram","_Object$assign17","LunchAndDinnerProgram","_Object$assign18","OrderCustomerWeekType","Monday","_Object$assign19","Tuesday","_Object$assign20","Wednesday","_Object$assign21","Thursday","_Object$assign22","Friday","_Object$assign23","Saturday","_Object$assign24","ProgramDuration","OrderProgramDurationType","TwoWeeks","_Object$assign25","ProgramDaysDuration","OrderProgramDaysType","days5","_Object$assign26","days7","_Object$assign27","days20","_Object$assign28","ProgramDurationTime","_Object$assign29","days30","_Object$assign30","OneMonth","_Object$assign31","TwoMonth","_Object$assign32","ThreeMonth","_Object$assign33","getOrderFoodNumberOfMeals","OrderNumberOfMealsType","Breakfast","NumberOfMeals","element","_Object$assign34","meals","find","_Object$assign35","SnackFirst","_Object$assign36","numberOfMeals","values","OrderNumberOfMeals","val","_Object$assign37","_Object$assign38","Lunch","_Object$assign39","_Object$assign40","SnackSecond","_Object$assign41","_Object$assign42","Dinner","_Object$assign43","_Object$assign44","NumberOfKcal","_Object$assign45","WeekMealLength","OrderWeekMealLengthType","FiveDays","_Object$assign46","SixDays","_Object$assign47","Discount","_Object$assign48","PriceDiscount","_Object$assign49","PromoCode","_Object$assign50","IsCompanyOrder","_Object$assign51","OrderFoodDeliveryType","Address","_Object$assign52","City","_Object$assign53","_Object$assign54","Calendar","_Object$assign55","Time","_Object$assign56","PaymentSystem","OrderFoodDeliveryPaymentSystemData","PayPal","_Object$assign57","ApplePay","_Object$assign58","Card","_Object$assign59","Bank","_Object$assign60","_Object$assign61","_Object$assign62","_Object$assign63","_Object$assign64","Terms1","_Object$assign65","Terms2","rePhoneNumber","Yup","_handleSubmit","InputFeedback","RadioButton","_ref2$field","field","_ref2$withImg","withImg","_ref2$disabled","stylesRadio","radio","radioBtn","checked","htmlFor","radioImg","RadioButtonGroup","touched","success","MainForm2","withFormik","enableReinitialize","mapPropsToValues","phone","promo","program","osob","checkTerms","checkTerms2","utm_source","utm_medium","utm_campaign","utm_term","utm_content","referrer","validationSchema","min","PhoneErrorMessage","handleSubmit","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_ref6","_ref7","setSubmitting","resetForm","setFieldValue","UTMS","isHomepage","getPrice","isEn","wrap","_context","prev","next","getUTM","pathname","getReferrer","querySelector","includes","formName","region","process","branchId","formatPhoneNumber","UTM_SOURCE","UTM_MEDIUM","UTM_CAMPAIGN","UTM_TERM","UTM_CONTENT","roistat","getCookie","fetch","method","headers","sent","ok","_data$deliveryAddress","_data$deliveryAddress2","_data$city","_data$city2","textContent","userData","localStorage","getItem","parse","email","deliveryAddress","components","postcode","city","nameParts","t0","stop","_x","_x2","_cx2","_cx3","isSubmitting","errors","setPlan","setPrice","_useState3","setProgram","_useState4","setMenu","_useState5","_useState6","plan2disabled","_useState7","plan3disabled","_useState8","_useState9","_useState10","_useState11","_useState12","_useState13","_useState14","setDays","_useState15","setOldPrice","_useModal","useModal","RenderModal","show","phoneRef","setters","getOrderMintainance","isNutritionActive","getOrderProgramType","getOrderFoodProgram","isOffice","isOfficeVege","excludedValues2","weights","active","weight","_dataCalorie$find","dataCalorie","item","_dataCalorie$find2","getOrderLossWeight","isNutritionVege","getOrderGainWeight","isNutritionActive2","onSetPlan","onSetDays","_dataCalorie$find3","_dataCalorie$find4","_dataCalorie$find5","isLossWeight","_readOnlyError","isNutritionActiveButton","useMenuOptions","_dataCalorie$find6","_dataCalorie$find7","_dataCalorie$find8","_dataCalorie$find9","_dataCalorie$find10","_dataCalorie$find11","_dataCalorie$find12","_dataCalorie$find13","_dataCalorie$find14","_dataCalorie$find15","_dataCalorie$find16","_dataCalorie$find17","_dataCalorie$find18","_dataCalorie$find19","_dataCalorie$find20","_dataCalorie$find21","_dataCalorie$find22","_dataCalorie$find23","_dataCalorie$find24","_dataCalorie$find25","_dataCalorie$find26","_dataCalorie$find27","_dataCalorie$find28","_dataCalorie$find29","_dataCalorie$find30","_dataCalorie$find31","_dataCalorie$find32","_dataCalorie$find33","_dataCalorie$find34","_dataCalorie$find35","_dataCalorie$find36","_dataCalorie$find37","_dataCalorie$find38","_dataCalorie$find39","_dataCalorie$find40","_dataCalorie$find41","_dataCalorie$find42","_dataCalorie$find43","_dataCalorie$find44","_dataCalorie$find45","_dataCalorie$find46","_dataCalorie$find47","_dataCalorie$find48","_dataCalorie$find49","_dataCalorie$find50","_dataCalorie$find51","_dataCalorie$find52","getDisountedPrice","discount","priceNUmber","mainFormStyles","mainFormBox","Form","mainForm","inputField","inputFieldTitle","radioBtns3","zhubnostIcon","udrzovatIcon","nabiratIcon","inputFieldRow","inputFieldColumn","radioGroup","radioPanel","FastField","component","radioBtnWhite","selectedValue","radioLines","radioLine","text","line","mainFormWrap","inputFieldLabel","inputWrap","inputIcon","viewBox","xmlns","MaskedPhoneInput","isWhite","placeholder","info","buttons","Button2","size","buttonType","submitButton","hasShadow","Fragment","Weekday","weekdaysLong","content","resetComponentClassCache","componentClassCache","webpackPolyfill","deprecate","paths","days","5","6","Měsíc","getTotalPrice","Price2","_ref$deliveryPrice","delivery","deliveryPrice","deliveryPriceValue","_ref$totalPrice","totalPrice","totalPriceValue","handleSetDelivery","setDeliveryPrice","setTotalPrice","tp","log","priceColLeft","getPricePerPortion","PromoInput","forwardRef","address","_React$useState","promoValue","setPromoValue","_React$useState2","setPromoData","requestMessage","setMessage","isApplyed","setIsApplyed","checkPromo","_checkPromo","_callee2","prevPrice","totalPriceStore","programDirectly","message","response","_context2","dataset","abrupt","promocode","json","setItem","debouncedCheckPromo","_debounce","t1","_handleChange","_callee3","_context3","cancel","innerRef","orderFormStyles","promoInput","data-program","_x3","inputHelper","GoogleSearchAddressInput","setInputValue","addressValue","setAddressValue","_React$useState3","_React$useState4","setAddressData","_React$useState5","setPrevPrice","_React$useState6","prevTotalPrice","setPrevTotalPrice","setError","warning","setWarning","setSuccess","checkAddress","_checkAddress","isAddDeliveryFee","TYurl","_body$result","_body$result2","_body$result2$address","status","isPointInPolygon","url","removeItem","debouncedCheckAddress","addressQuery","_callee4","_value$value","_value$value2","_value$value3","_context4","description","GooglePlacesAutocomplete","selectProps","_x4","select","inputWarning","inputError","inputSuccess","control","provided","border","outline","paddingLeft","whiteSpace","background","defaultStyles","autocompletionRequest","country","inputHelperSuccess","inputHelperWarning","marginRight","cy","r","inputHelperError","pricePreset","1400","1600","1800","2400","3000","3400","kCalOptions","Zhubnout","female","male","Udržovat","Nabírat","_ref12","_ref12$field","_ref12$withImg","_ref12$withIcon","withIcon","additionalInfoText","additionalInfoTextLabel","_ref12$isRecommended","isRecommended","_ref12$isColumn","isColumn","_ref12$disabled","recommended","column","labelText","transform","data-name","stroke","stroke-linecap","stroke-linejoin","stroke-width","boxSizing","additionalInfo","textRight","additionalInfoBig","additionalInfoGrey","_ref13","OrderForm2","onlinePayment","kcal","initial","utc","add","isoWeekday","hours","minutes","seconds","milliseconds","toISOString","deliveryTime","gender","isAffiliate","affiliateId","isAddressValid","required","nullable","EmailErrorMessage","EmailErrorRequiredMessage","NameErrorRequiredMessage","AddressErrorMessage","oneOf","TermsErrorRequiredMessage","Terms2ErrorRequiredMessage","_ref16","_ref17","_address$value","_deliveryAddressRespo","testovani","diet","reqDeliveryAddress","deliveryAddressResponse","req","_response$onlinePayme","form_name","mealsPerDay","cjevent","gw_url","getParamsData","entries","_ref18","previousValue","currentValue","alert","_ref15","_cx4","_cx5","_cx6","_cx7","_cx8","_cx9","_cx10","setFieldError","validateInputs","paymentMethod","setPaymentMethod","setWeek","setGender","setDeliveryTime","setKcal","price2weeks","setPrice2weeks","price1month","setPrice1month","price2months","setPrice2months","setDelivery","_useState16","kcalDisabled","setKcalDisabled","_useState17","menu2xDisabled","setMenu2xDisabled","_useState18","menu3xDisabled","setMenu3xDisabled","_useState19","menu4xDisabled","setMenu4xDisabled","_useState20","menu5xDisabled","setMenu5xDisabled","_useState21","_useState22","_useState23","step","setStep","_useState24","_useState25","nameRef","emailRef","addressRef","promoRef","useFormikContext","submitForm","gotoStep","lang","useLangContext","onSetMenu","onSetGender","energyPerDay","kcalRange","steps","_useState26","currentStepIndex","setCurrentStepIndex","getTimeRange","affiliateContext","useContext","AffiliateContext","_affiliateContext$aff","affiliate","pricePer2weeks","pricePer1month","pricePer2months","orderFormBox","orderForm","orderFormInner","orderFormProgress","orderFormProgressItem","done","orderFormProgressDivider","orderFormProgressDividerDone","orderFormProgressDividerItem","xsHidden","step1","step1active","step2InputTitle","box","radioBtns2","step2InputWrap","step2radioBtn","step2radioBtnIcon","dataName","clip-path","cel","celTitle","celItems","menuTitle","mealsAndCalories","kalSection","inputFieldSubTitle","fontWeight","Select","form2Styles","isdisabled","isOptionDisabled","option","isSearchable","getMenuSelectLabel","defaultValue","isDisabled","programTitle","newCustomRadio","Field","weekTitle","priceCell1","btn","isBlock","handleClick","step2","step2active","terms","CustomCheckbox","ErrorMessage","cursor","padding","font","Trans","i18nKey","deliveryTimeStepper","deliveryTimeStepperLines","deliveryTimeStepperLine","deliveryTimeStepperInput","currentTarget","max","list","deliveryTimeStepperResult","radioBtns","dayPicker","dayPickerInner","DayPickerInput","inputProps","fontSize","textAlign","readOnly","onDayChange","toLocaleString","hour","hour12","dayPickerProps","MomentLocaleUtils","daysOfWeek","before","hideOnDayClick","contact","step2contact","handleChange","input_sm","getPaymentMethodSelectLabel","priceCell","marginTop","submitBtnDesktop","submitBtn","extend","mqTypes","determineSortOrder","isMax","sortValA","sortVal","sortValB","ruleA","__media","ruleB","match","sortInit","rules","flag","rulesLength","itemsValid","allValid","collection","mqCollection","mqTypesLength","createCollection","o","prepareRules","rule","collectionType","valMatch","addRulesToCollection","sorter","sort","sortCollection","transformed","iterateCollectionItem","collectionItem","resultVal","typeLength","transformCollection","_usePlacesWidget2","ReactGoogleAutocomplete","refProp","any","origin","radius","sessionToken","dayMatchesModifier","getModifiersForDay","after","dayOfWeek","modifiersObj","modifierName","ModifiersUtils","LocaleUtils","DateUtils","DayPicker","_Caption2","_Navbar2","_Month2","_Weekday2","Helpers","showNextMonth","allowNextMonth","deltaMonths","pagedNavigation","numberOfMonths","currentMonth","showMonth","showPreviousMonth","allowPreviousMonth","handleKeyDown","showPreviousYear","showNextYear","handleDayKeyDown","focusNextDay","focusPreviousDay","focusPreviousWeek","focusNextWeek","onDayClick","handleDayClick","onDayKeyDown","enableOutsideDaysClick","handleOutsideDayClick","handleTodayButtonClick","blur","onTodayButtonClick","getCurrentMonthFromProps","initialMonth","fromMonth","diffInMonths","toMonth","allowMonth","canChangeMonth","onMonthChange","allowYearChange","focus","dayNodes","dayNode","_this3","dayNodeIndex","focusLastDayOfMonth","_this4","focusFirstDayOfMonth","_this5","nextMonthDayNodeIndex","_this6","previousMonthDayNodes","_props2","navbarElement","getNextNavigableMonth","getPreviousNavigableMonth","isValidElement","cloneElement","reverseMonths","renderTodayButton","_this7","containerProps","renderNavbar","renderMonths","renderFooter","showOutsideDays","showWeekNumbers","showWeekDays","renderDay","renderWeek","weekdayElement","captionElement","VERSION","_LocaleUtils2","Caption","handleKeyUp","_toConsumableArray","toFlickr","makeConvertor","uuidv4","v4","flickrBase58","baseOptions","consistentLength","shortenUUID","longId","translator","paddingParams","translated","padStart","shortIdLength","paddingChar","toAlphabet","useAlphabet","selectedOptions","Set","alphabetLength","fromHex","toHex","new","fromUUID","toUUID","shortUuid","shortId","enlargeUUID","alphabet","maxLength","freeze","constants","cookieBase90","_Weekdays2","_Day2","Month","monthNumber","propModifiers","dayModifiers","isOutside","onDayFocus","onDayMouseEnter","onDayMouseLeave","onDayMouseDown","onDayMouseUp","onDayTouchEnd","onDayTouchStart","onCaptionClick","onWeekClick","captionProps","weeks","trimmedEndIndex","reTrimStart","toCamelCase","isObject","letter","toUpperCase","delimiter","hash","arrayToJoin","fromArray","toArray","getIO","callbackIO","io","listeners","entry","isIntersecting","intersectionRatio","unobserve","delete","observer","p","u","k","D","g","w","toDateString","P","E","Input","selectedDay","overlayWrapper","overlay","String","HIDE_TIMEOUT","OverlayComponent","defaultFormat","defaultParse","daypicker","clickTimeout","hideTimeout","inputBlurTimeout","inputFocusTimeout","getInitialStateFromProps","showOverlay","hideAfterDayClick","handleInputClick","handleInputFocus","handleInputBlur","handleInputChange","handleInputKeyDown","handleInputKeyUp","handleMonthChange","handleOverlayFocus","handleOverlayBlur","clearTimeout","overlayBlurTimeout","typedValue","getInitialMonthFromProps","onDayPickerShow","onDayPickerHide","overlayHasFocus","hideDayPicker","showDayPicker","keepFocus","updateState","clickUnselectsDay","splice","overlayComponent","renderOverlay","currentSources","dummyArray","WEEKDAYS_LONG","WEEKDAYS_SHORT","MONTHS","_DayPicker2","_ModifiersUtils","year","newState","prevMonth","_props3","_state","_this8","_props4","_this9","_this10","_props5","selectedDayIdx","_this11","_props6","_state2","Overlay","_this12","toNumber","nativeMax","nativeMin","wait","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","thisArg","leadingEdge","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","timeWaiting","remainingWait","debounced","isInvoking","flush","Weekdays","elementProps","baseTrim","isSymbol","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","other","isBinary","_filterInvalidDomProps","resetImageCache","allInImageCache","activateCacheForMultipleImages","imageCache","objectSrc","hookCallback","hooks","isObjectEmpty","getOwnPropertyNames","isUndefined","isNumber","fn","res","arrLen","createUTC","strict","createLocalOrUTC","getParsingFlags","_pf","unusedTokens","unusedInput","overflow","charsLeftOver","nullInput","invalidEra","invalidMonth","invalidFormat","userInvalidated","iso","parsedDateParts","era","meridiem","rfc2822","weekdayMismatch","_isValid","flags","parsedParts","isNowValid","_d","invalidWeekday","_strict","bigHour","isFrozen","createInvalid","NaN","fun","momentProperties","updateInProgress","copyConfig","momentPropertiesLen","_isAMomentObject","_f","_l","_tzm","_isUTC","_offset","_locale","Moment","updateOffset","isMoment","warn","suppressDeprecationWarnings","firstTime","deprecationHandler","arg","argLen","stack","deprecations","deprecateSimple","isFunction","mergeConfigs","parentConfig","childConfig","Locale","zeroFill","targetLength","forceSign","absNumber","abs","zerosToFill","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","token","padded","formatMoment","expandFormat","mom","makeFormatFunction","invalidDate","replaceLongDateFormatTokens","lastIndex","aliases","addUnitAlias","unit","shorthand","lowerCase","normalizeUnits","units","normalizeObjectUnits","inputObject","normalizedProp","normalizedInput","priorities","addUnitPriority","priority","isLeapYear","absFloor","toInt","argumentForCoercion","coercedNumber","isFinite","makeGetSet","keepTime","set$1","regexes","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchWord","addRegexToken","regex","strictRegex","isStrict","getParseRegexForToken","regexEscape","matched","p1","p2","p3","p4","tokens","addParseToken","tokenLen","addWeekParseToken","_w","addTimeToArrayFromToken","_a","modMonth","defaultLocaleMonths","defaultLocaleMonthsShort","MONTHS_IN_FORMAT","defaultMonthsShortRegex","defaultMonthsRegex","handleStrictParse","monthName","ii","llc","toLocaleLowerCase","_monthsParse","_longMonthsParse","_shortMonthsParse","dayOfMonth","getSetMonth","computeMonthsParse","cmpLenRev","shortPieces","longPieces","mixedPieces","_monthsRegex","_monthsShortRegex","_monthsStrictRegex","_monthsShortStrictRegex","daysInYear","parseTwoDigitYear","getSetYear","createDate","ms","setFullYear","createUTCDate","UTC","getUTCFullYear","setUTCFullYear","firstWeekOffset","fwd","getUTCDay","dayOfYearFromWeeks","resYear","resDayOfYear","dayOfYear","weekOfYear","resWeek","weekOffset","weeksInYear","weekOffsetNext","shiftWeekdays","ws","weekdaysMinRegex","weekdaysShortRegex","weekdaysRegex","weekdaysParse","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","handleStrictParse$1","weekdayName","_weekdaysParse","_shortWeekdaysParse","_minWeekdaysParse","computeWeekdaysParse","minp","shortp","longp","minPieces","_weekdaysRegex","_weekdaysShortRegex","_weekdaysMinRegex","_weekdaysStrictRegex","_weekdaysShortStrictRegex","_weekdaysMinStrictRegex","hFormat","lowercase","matchMeridiem","_meridiemParse","kInput","_isPm","isPM","_meridiem","pos","pos1","pos2","globalLocale","getSetHour","baseConfig","ww","meridiemParse","locales","localeFamilies","commonPrefix","arr1","arr2","minl","normalizeLocale","loadLocale","oldLocale","isLocaleNameSane","_abbr","getSetGlobalLocale","getLocale","abbr","_config","parentLocale","names","chooseLocale","checkOverflow","_overflowDayOfYear","_overflowWeeks","_overflowWeekday","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","obsOffsets","UT","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","configFromISO","allowTime","dateFormat","timeFormat","tzFormat","exec","isoDatesLen","isoTimesLen","configFromStringAndFormat","untruncateYear","yearStr","configFromRFC2822","parsedArray","monthStr","dayStr","hourStr","minuteStr","secondStr","weekdayStr","parsedInput","checkWeekday","obsOffset","militaryOffset","numOffset","hm","calculateOffset","setUTCMinutes","getUTCMinutes","defaults","configFromArray","currentDate","expectedWeekday","yearToUse","nowValue","_useUTC","getUTCMonth","getUTCDate","currentDateArray","weekYear","temp","weekdayOverflow","curWeek","GG","createLocal","_week","gg","_dayOfYear","dayOfYearFromWeekInfo","_nextDay","ISO_8601","RFC_2822","skipped","stringLength","totalParsedInputLength","isPm","meridiemHour","meridiemFixWrap","erasConvertYear","prepareConfig","preparse","tempConfig","bestMoment","scoreToBeat","currentScore","validFormatFound","bestFormatIsValid","configfLen","score","configFromStringAndArray","createFromInputFallback","configFromString","dayOrDate","minute","second","millisecond","configFromObject","configFromInput","isUTC","prototypeMin","prototypeMax","pickBy","moments","ordering","Duration","years","quarters","quarter","isoWeek","unitHasDecimal","orderLen","parseFloat","isDurationValid","_milliseconds","_days","_months","_data","_bubble","isDuration","absRound","round","separator","utcOffset","sign","offsetFromString","chunkOffset","matcher","parts","cloneWithOffset","model","diff","setTime","local","getDateOffset","getTimezoneOffset","isUtc","aspNetRegex","isoRegex","createDuration","ret","diffRes","base","parseIso","isBefore","positiveMomentsDifference","inp","isAfter","createAdder","direction","period","tmp","addSubtract","isAdding","invalid","subtract","isMomentInput","arrayTest","dataTypeTest","isNumberOrStringArray","property","objectTest","propertyTest","properties","propertyLen","isMomentInputObject","isCalendarSpec","monthDiff","wholeMonthDiff","anchor","newLocaleData","defaultFormatUtc","mod$1","dividend","divisor","localStartOfDate","utcStartOfDate","matchEraAbbr","erasAbbrRegex","computeErasParse","abbrPieces","namePieces","narrowPieces","eras","narrow","_erasRegex","_erasNameRegex","_erasAbbrRegex","_erasNarrowRegex","addWeekYearFormatToken","getter","getSetWeekYearHelper","weeksTarget","setWeekAll","dayOfYearData","erasNameRegex","erasNarrowRegex","erasParse","_eraYearOrdinalRegex","eraYearOrdinalParse","isoWeekYear","_dayOfMonthOrdinalParse","_ordinalParse","_dayOfMonthOrdinalParseLenient","getSetDayOfMonth","getSetMinute","getSetMillisecond","getSetSecond","parseMs","proto","preParsePostFormat","formats","sod","startOf","calendarFormat","asFloat","zoneDelta","endOf","startOfDate","inputString","postformat","humanize","fromNow","toNow","invalidAt","localInput","isBetween","inclusivity","localFrom","localTo","isSame","inputMs","isSameOrAfter","isSameOrBefore","parsingFlags","prioritized","unitsObj","getPrioritizedUnits","prioritizedLen","toObject","keepOffset","inspect","prefix","suffix","zone","isLocal","for","toJSON","unix","creationData","eraName","since","until","eraNarrow","eraAbbr","eraYear","isoWeeks","weekInfo","weeksInWeekYear","isoWeeksInYear","isoWeeksInISOWeekYear","parseWeekday","parseIsoWeekday","keepLocalTime","keepMinutes","localAdjust","_changeInProgress","parseZone","tZone","hasAlignedHourOffset","isDST","isUtcOffset","zoneAbbr","zoneName","dates","isDSTShifted","_isDSTShifted","array1","array2","dontConvert","lengthDiff","diffs","compareArrays","proto$1","get$1","setter","listMonthsImpl","out","listWeekdaysImpl","localeSorted","shift","_calendar","_longDateFormat","formatUpper","tok","_invalidDate","_ordinal","_relativeTime","pastFuture","_eras","isFormat","_monthsShort","_monthsParseExact","firstDayOfYear","_weekdays","_weekdaysMin","_weekdaysShort","_weekdaysParseExact","_fullWeekdaysParse","isLower","langData","mathAbs","addSubtract$1","absCeil","daysToMonths","monthsToDays","makeAs","alias","as","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","makeGetter","thresholds","substituteTimeAgo","abs$1","toISOString$1","totalSign","ymSign","daysSign","hmsSign","total","proto$2","monthsFromDays","argWithSuffix","argThresholds","withSuffix","th","posNegDuration","relativeTime$1","toIsoString","updateLocale","tmpLocale","relativeTimeRounding","roundingFunction","relativeTimeThreshold","threshold","limit","myMoment","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","DATE","TIME","TIME_SECONDS","TIME_MS","WEEK","MONTH","getStyleRulesForClassName","getStyleRules","getBackgroundStylesForSingleClass","styleSheets","cssRules","foundClass","foundAcc","styleRule","selectorText","cssStyleRules","newData","classObjects"],"mappings":";gFAAA,IAAIA,EAAa,EAAQ,QACrBC,EAAe,EAAQ,QA2B3BC,EAAOC,QALP,SAAkBC,GAChB,MAAuB,iBAATA,GACXH,EAAaG,IArBF,mBAqBYJ,EAAWI,K,oCCvBvC,IAAIC,EAAyBC,EAAQ,QAErCH,EAAQI,YAAa,EACrBJ,EAAQK,aAAU,EAElB,IAAIC,EAAiCJ,EAAuBC,EAAQ,SAEhEI,EAAYL,EAAuBC,EAAQ,SAE3CK,EAA0BN,EAAuBC,EAAQ,SAEzDM,EAAkBP,EAAuBC,EAAQ,SAEjDO,EAASR,EAAuBC,EAAQ,SAExCQ,EAAaT,EAAuBC,EAAQ,SAE5CS,EAAmBV,EAAuBC,EAAQ,SAElDU,EAAeV,EAAQ,QAEvBW,EAAcX,EAAQ,QAEtBY,EAAcZ,EAAQ,QAEtBa,EAAYb,EAAQ,QAEpBc,EAAiBd,EAAQ,QAEzBe,EAAcf,EAAQ,QAEtBgB,EAAiBhB,EAAQ,QAEzB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I8rB,aAAmB3qB,MAAO,CAC5B,IAAIonF,EAAe,GAInB,OAHAz8D,EAAQzqB,SAAQ,SAAUouC,GACxB,OAAO84C,EAAax5E,KAAK+4E,EAAkCr4C,OAEtDjpC,OAAOG,OAAOqC,MAAMxC,OAAQ+hF,GAGrC,OAAOT,EAAkC9nF,GAG3C,MAAO,IAIT1D,EAAQK,QAAU4J","file":"e35c6f670cd954b0ed7e8e848de44596e81330f3-640d3532628e1ad6af9e.js","sourcesContent":["var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _assertThisInitialized2 = _interopRequireDefault(require(\"@babel/runtime/helpers/assertThisInitialized\"));\n\nvar _inheritsLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inheritsLoose\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _BackgroundUtils = _interopRequireDefault(require(\"./lib/BackgroundUtils\"));\n\nvar _HelperUtils = require(\"./lib/HelperUtils\");\n\nvar _ImageUtils = require(\"./lib/ImageUtils\");\n\nvar _ImageCache = require(\"./lib/ImageCache\");\n\nvar _ImageRef = require(\"./lib/ImageRef\");\n\nvar _ImageHandling = require(\"./lib/ImageHandling\");\n\nvar _StyleUtils = require(\"./lib/StyleUtils\");\n\nvar _StyleCreation = require(\"./lib/StyleCreation\");\n\nvar _IntersectionObserverUtils = require(\"./lib/IntersectionObserverUtils\");\n\nvar _SimpleUtils = require(\"./lib/SimpleUtils\");\n\nvar _excluded = [\"className\", \"style\", \"fluid\", \"fixed\", \"backgroundColor\", \"durationFadeIn\", \"Tag\", \"children\", \"keepStatic\"];\n\nvar BackgroundImage = function (_React$Component) {\n (0, _inheritsLoose2.default)(BackgroundImage, _React$Component);\n\n function BackgroundImage(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n\n _this.intersectionListener = function () {\n var imageInCache = (0, _ImageCache.inImageCache)(_this.props);\n\n if (!_this.state.isVisible && typeof _this.props.onStartLoad === \"function\") {\n _this.props.onStartLoad({\n wasCached: imageInCache\n });\n }\n\n _this.imageRef = (0, _ImageRef.activatePictureRef)(_this.imageRef, _this.props, _this.selfRef);\n\n _this.setState(function (state) {\n return {\n isVisible: true,\n imageState: state.imageState + 1\n };\n }, function () {\n _this.setState(function (state) {\n return {\n imgLoaded: imageInCache,\n imgCached: (0, _ImageRef.hasActivatedPictureRefs)(_this.imageRef),\n imageState: state.imageState + 1\n };\n });\n });\n };\n\n var convertedProps = (0, _HelperUtils.convertProps)(props);\n var isVisible = true;\n var imgLoaded = false;\n var IOSupported = false;\n var fadeIn = convertedProps.fadeIn;\n var seenBefore = (0, _ImageCache.inImageCache)(convertedProps);\n\n if (!seenBefore && (0, _SimpleUtils.isBrowser)() && window.IntersectionObserver) {\n isVisible = false;\n IOSupported = true;\n }\n\n if (!(0, _SimpleUtils.isBrowser)()) {\n isVisible = false;\n }\n\n if (convertedProps.critical) {\n isVisible = true;\n IOSupported = false;\n }\n\n var hasNoScript = !(convertedProps.critical && !fadeIn) && !(0, _SimpleUtils.isBrowser)();\n var imageState = 0;\n\n var _fixClassName = (0, _StyleUtils.fixClassName)(convertedProps),\n currentClassNames = _fixClassName[0];\n\n _this.backgroundStyles = (0, _StyleUtils.presetBackgroundStyles)((0, _BackgroundUtils.default)(convertedProps.className));\n _this.handleImageLoaded = _this.handleImageLoaded.bind((0, _assertThisInitialized2.default)(_this));\n _this.handleRef = _this.handleRef.bind((0, _assertThisInitialized2.default)(_this));\n _this.imageRef = (0, _ImageRef.createPictureRef)((0, _extends2.default)({}, convertedProps, {\n isVisible: isVisible\n }), _this.handleImageLoaded);\n _this.selfRef = null;\n _this.state = {\n isVisible: isVisible,\n imgLoaded: imgLoaded,\n IOSupported: IOSupported,\n fadeIn: fadeIn,\n hasNoScript: hasNoScript,\n seenBefore: seenBefore,\n imageState: imageState,\n currentClassNames: currentClassNames\n };\n return _this;\n }\n\n var _proto = BackgroundImage.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.backgroundStyles = (0, _StyleUtils.presetBackgroundStyles)((0, _BackgroundUtils.default)(this.props.className));\n\n if (this.state.isVisible && typeof this.props.onStartLoad === \"function\") {\n this.props.onStartLoad({\n wasCached: (0, _ImageCache.inImageCache)(this.props)\n });\n }\n\n if (this.props.critical || this.state.seenBefore) {\n if ((0, _ImageRef.imageReferenceCompleted)(this.imageRef, this.props)) {\n this.handleImageLoaded();\n }\n }\n\n var _fixClassName2 = (0, _StyleUtils.fixClassName)(this.props),\n currentClassNames = _fixClassName2[0];\n\n this.setState({\n currentClassNames: currentClassNames\n });\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var _this2 = this;\n\n if ((0, _ImageUtils.imagePropsChanged)(this.props, prevProps)) {\n var convertedProps = (0, _HelperUtils.convertProps)(this.props);\n var imageInCache = (0, _ImageCache.inImageCache)(convertedProps);\n\n var _fixClassName3 = (0, _StyleUtils.fixClassName)(convertedProps),\n currentClassNames = _fixClassName3[0];\n\n this.setState({\n isVisible: imageInCache || convertedProps.critical,\n imgLoaded: imageInCache,\n seenBefore: imageInCache,\n currentClassNames: currentClassNames\n }, function () {\n _this2.bgImage = (0, _ImageUtils.getCurrentFromData)({\n data: _this2.imageRef,\n propName: \"currentSrc\",\n returnArray: true\n }) || (0, _ImageUtils.getCurrentFromData)({\n data: _this2.imageRef,\n propName: \"src\",\n returnArray: true\n });\n _this2.imageRef = (0, _ImageRef.createPictureRef)((0, _extends2.default)({}, convertedProps, {\n isVisible: _this2.state.isVisible\n }), _this2.handleImageLoaded);\n });\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n if (this.imageRef) {\n if (Array.isArray(this.imageRef)) {\n this.imageRef.forEach(function (currentImageRef) {\n if (!!currentImageRef && !(0, _SimpleUtils.isString)(currentImageRef)) {\n currentImageRef.onload = null;\n }\n });\n } else {\n this.imageRef.onload = null;\n }\n }\n\n if (this.cleanUpListeners) {\n this.cleanUpListeners();\n }\n };\n\n _proto.handleRef = function handleRef(ref) {\n this.selfRef = ref;\n\n if (this.state.IOSupported && ref) {\n this.cleanUpListeners = (0, _IntersectionObserverUtils.listenToIntersections)(ref, this.intersectionListener, this.props.rootMargin);\n }\n };\n\n _proto.handleImageLoaded = function handleImageLoaded() {\n (0, _ImageCache.activateCacheForImage)(this.props);\n this.setState(function (state) {\n return {\n imgLoaded: true,\n imageState: state.imageState + 1\n };\n });\n\n if (this.state.seenBefore) {\n this.setState({\n fadeIn: false\n });\n }\n\n if (this.props.onLoad) {\n this.props.onLoad();\n }\n };\n\n _proto.render = function render() {\n var _fixOpacity = (0, _StyleUtils.fixOpacity)((0, _HelperUtils.convertProps)(this.props), this.props.preserveStackingContext),\n className = _fixOpacity.className,\n _fixOpacity$style = _fixOpacity.style,\n style = _fixOpacity$style === void 0 ? {} : _fixOpacity$style,\n fluid = _fixOpacity.fluid,\n fixed = _fixOpacity.fixed,\n backgroundColor = _fixOpacity.backgroundColor,\n durationFadeIn = _fixOpacity.durationFadeIn,\n Tag = _fixOpacity.Tag,\n children = _fixOpacity.children,\n keepStatic = _fixOpacity.keepStatic,\n props = (0, _objectWithoutPropertiesLoose2.default)(_fixOpacity, _excluded);\n\n var remainingProps = (0, _HelperUtils.stripRemainingProps)(props);\n var bgColor = typeof backgroundColor === \"boolean\" ? \"lightgray\" : typeof backgroundColor !== \"undefined\" ? backgroundColor : \"\";\n var shouldFadeIn = this.state.fadeIn === true && !this.state.imgCached || this.props.fadeIn === \"soft\";\n var transitionDelay = shouldFadeIn ? durationFadeIn / 2 + \"ms\" : \"none\";\n var divStyle = (0, _extends2.default)({\n position: \"relative\"\n }, style);\n if (!this.props.preserveStackingContext) divStyle.opacity = 0.99;\n var image = (0, _ImageUtils.getCurrentSrcData)({\n fluid: fluid,\n fixed: fixed,\n returnArray: true\n });\n var noScriptImageData = (0, _ImageUtils.getCurrentSrcData)({\n fluid: fluid,\n fixed: fixed\n }) || {};\n\n if (fluid || fixed) {\n if (fixed) {\n divStyle.width = style.width || image.width;\n divStyle.height = style.height || image.height;\n divStyle.display = \"inline-block\";\n\n if (style.display === \"inherit\") {\n delete divStyle.display;\n }\n }\n } else if (keepStatic) {\n noScriptImageData.srcSet = '';\n } else {\n return null;\n }\n\n var newImageSettings = (0, _ImageHandling.switchImageSettings)({\n image: image,\n bgImage: this.bgImage,\n imageRef: this.imageRef,\n state: this.state\n });\n this.bgImage = newImageSettings.nextImageArray || newImageSettings.nextImage || this.bgImage;\n var pseudoStyles = (0, _StyleCreation.createPseudoStyles)((0, _extends2.default)({\n className: this.state.currentClassNames,\n transitionDelay: transitionDelay,\n bgColor: bgColor,\n backgroundStyles: this.backgroundStyles,\n style: style,\n fadeIn: shouldFadeIn\n }, newImageSettings, {\n originalData: fluid || fixed\n }));\n var noScriptPseudoStyles = (0, _StyleCreation.createNoScriptStyles)({\n image: image,\n bgColor: bgColor,\n className: this.state.currentClassNames,\n backgroundStyles: this.backgroundStyles,\n style: style\n });\n var componentKey = \"\" + (fluid ? \"fluid\" : \"\") + (fixed ? \"fixed\" : \"\") + \"-\" + JSON.stringify(noScriptImageData.srcSet);\n var currentStyles = (0, _extends2.default)({}, this.backgroundStyles, divStyle);\n return _react.default.createElement(Tag, (0, _extends2.default)({\n className: this.state.currentClassNames,\n style: currentStyles,\n ref: this.handleRef,\n key: componentKey\n }, remainingProps), _react.default.createElement(\"style\", {\n dangerouslySetInnerHTML: {\n __html: pseudoStyles\n }\n }), this.state.hasNoScript && _react.default.createElement(\"noscript\", null, _react.default.createElement(\"style\", {\n dangerouslySetInnerHTML: {\n __html: noScriptPseudoStyles\n }\n })), children);\n };\n\n return BackgroundImage;\n}(_react.default.Component);\n\nBackgroundImage.defaultProps = {\n critical: false,\n fadeIn: true,\n durationFadeIn: 500,\n Tag: \"div\",\n preserveStackingContext: false,\n rootMargin: \"200px\",\n keepStatic: false\n};\n\nvar fixedObject = _propTypes.default.shape({\n width: _propTypes.default.number.isRequired,\n height: _propTypes.default.number.isRequired,\n src: _propTypes.default.string.isRequired,\n srcSet: _propTypes.default.string.isRequired,\n base64: _propTypes.default.string,\n tracedSVG: _propTypes.default.string,\n srcWebp: _propTypes.default.string,\n srcSetWebp: _propTypes.default.string,\n srcAvif: _propTypes.default.string,\n srcSetAvif: _propTypes.default.string,\n media: _propTypes.default.string\n});\n\nvar fluidObject = _propTypes.default.shape({\n aspectRatio: _propTypes.default.number.isRequired,\n src: _propTypes.default.string.isRequired,\n srcSet: _propTypes.default.string.isRequired,\n sizes: _propTypes.default.string,\n base64: _propTypes.default.string,\n tracedSVG: _propTypes.default.string,\n srcWebp: _propTypes.default.string,\n srcSetWebp: _propTypes.default.string,\n srcAvif: _propTypes.default.string,\n srcSetAvif: _propTypes.default.string,\n media: _propTypes.default.string\n});\n\nBackgroundImage.propTypes = {\n fixed: _propTypes.default.oneOfType([fixedObject, _propTypes.default.arrayOf(fixedObject), _propTypes.default.arrayOf(_propTypes.default.oneOfType([fixedObject, _propTypes.default.string]))]),\n fluid: _propTypes.default.oneOfType([fluidObject, _propTypes.default.arrayOf(fluidObject), _propTypes.default.arrayOf(_propTypes.default.oneOfType([fluidObject, _propTypes.default.string]))]),\n fadeIn: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),\n durationFadeIn: _propTypes.default.number,\n className: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),\n critical: _propTypes.default.bool,\n crossOrigin: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),\n style: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]),\n backgroundColor: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),\n onLoad: _propTypes.default.func,\n onError: _propTypes.default.func,\n onStartLoad: _propTypes.default.func,\n Tag: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func]),\n preserveStackingContext: _propTypes.default.bool,\n rootMargin: _propTypes.default.string,\n keepStatic: _propTypes.default.bool\n};\nvar _default = BackgroundImage;\nexports.default = _default;","module.exports = require('../build/addons/MomentLocaleUtils');","module.exports = \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxMC45NCIgdmlld0JveD0iMCAwIDE2IDEwLjk0Ij4KICA8cGF0aCBpZD0iaWNvbnM4LXVwIiBkPSJNNS40NywwLDQuODI0LjY2MS4yNzEsNS4yQS45MjQuOTI0LDAsMCwwLDEuNTc4LDYuNTA3TDQuNTUxLDMuNTE5VjE1LjA2N2EuOTE5LjkxOSwwLDEsMCwxLjgzOSwwVjMuNTE5TDkuMzYzLDYuNTA3QS45MjQuOTI0LDAsMSwwLDEwLjY3LDUuMkw2LjExNy42NjFaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNikgcm90YXRlKDkwKSIgZmlsbD0iI2YyMmYyZiIvPgo8L3N2Zz4K\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"buttonGroup\":\"button-module--buttonGroup--U628o\",\"button\":\"button-module--button--3gy6O\",\"active\":\"button-module--active--1YqnJ\"};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n};\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _react = require('react');\nvar _react2 = _interopRequireDefault(_react);\nvar _DateUtils = require('./DateUtils');\nvar _Helpers = require('./Helpers');\nvar _classNames = require('./classNames');\nvar _classNames2 = _interopRequireDefault(_classNames);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n} /* eslint-disable jsx-a11y/no-static-element-interactions, react/forbid-prop-types */\n\nfunction handleEvent(handler, day, modifiers) {\n if (!handler) {\n return undefined;\n }\n return function (e) {\n e.persist();\n handler(day, modifiers, e);\n };\n}\nvar Day = function (_Component) {\n _inherits(Day, _Component);\n function Day() {\n _classCallCheck(this, Day);\n return _possibleConstructorReturn(this, (Day.__proto__ || Object.getPrototypeOf(Day)).apply(this, arguments));\n }\n _createClass(Day, [{\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate(nextProps) {\n var _this2 = this;\n var propNames = Object.keys(this.props);\n var nextPropNames = Object.keys(nextProps);\n if (propNames.length !== nextPropNames.length) {\n return true;\n }\n return propNames.some(function (name) {\n if (name === 'modifiers' || name === 'modifiersStyles' || name === 'classNames') {\n var prop = _this2.props[name];\n var nextProp = nextProps[name];\n var modifiers = Object.keys(prop);\n var nextModifiers = Object.keys(nextProp);\n if (modifiers.length !== nextModifiers.length) {\n return true;\n }\n return modifiers.some(function (mod) {\n return !(0, _Helpers.hasOwnProp)(nextProp, mod) || prop[mod] !== nextProp[mod];\n });\n }\n if (name === 'day') {\n return !(0, _DateUtils.isSameDay)(_this2.props[name], nextProps[name]);\n }\n return !(0, _Helpers.hasOwnProp)(nextProps, name) || _this2.props[name] !== nextProps[name];\n });\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n classNames = _props.classNames,\n modifiersStyles = _props.modifiersStyles,\n day = _props.day,\n tabIndex = _props.tabIndex,\n empty = _props.empty,\n modifiers = _props.modifiers,\n onMouseEnter = _props.onMouseEnter,\n onMouseLeave = _props.onMouseLeave,\n onMouseUp = _props.onMouseUp,\n onMouseDown = _props.onMouseDown,\n onClick = _props.onClick,\n onKeyDown = _props.onKeyDown,\n onTouchStart = _props.onTouchStart,\n onTouchEnd = _props.onTouchEnd,\n onFocus = _props.onFocus,\n ariaLabel = _props.ariaLabel,\n ariaDisabled = _props.ariaDisabled,\n ariaSelected = _props.ariaSelected,\n children = _props.children;\n var className = classNames.day;\n if (classNames !== _classNames2.default) {\n // When using CSS modules prefix the modifier as required by the BEM syntax\n className += ' ' + Object.keys(modifiers).join(' ');\n } else {\n className += Object.keys(modifiers).map(function (modifier) {\n return ' ' + className + '--' + modifier;\n }).join('');\n }\n var style = void 0;\n if (modifiersStyles) {\n Object.keys(modifiers).filter(function (modifier) {\n return !!modifiersStyles[modifier];\n }).forEach(function (modifier) {\n style = _extends({}, style, modifiersStyles[modifier]);\n });\n }\n if (empty) {\n return _react2.default.createElement('div', {\n 'aria-disabled': true,\n className: className,\n style: style\n });\n }\n return _react2.default.createElement('div', {\n className: className,\n tabIndex: tabIndex,\n style: style,\n role: 'gridcell',\n 'aria-label': ariaLabel,\n 'aria-disabled': ariaDisabled,\n 'aria-selected': ariaSelected,\n onClick: handleEvent(onClick, day, modifiers),\n onKeyDown: handleEvent(onKeyDown, day, modifiers),\n onMouseEnter: handleEvent(onMouseEnter, day, modifiers),\n onMouseLeave: handleEvent(onMouseLeave, day, modifiers),\n onMouseUp: handleEvent(onMouseUp, day, modifiers),\n onMouseDown: handleEvent(onMouseDown, day, modifiers),\n onTouchEnd: handleEvent(onTouchEnd, day, modifiers),\n onTouchStart: handleEvent(onTouchStart, day, modifiers),\n onFocus: handleEvent(onFocus, day, modifiers)\n }, children);\n }\n }]);\n return Day;\n}(_react.Component);\nDay.defaultProps = {\n tabIndex: -1\n};\nDay.defaultProps = {\n modifiers: {},\n modifiersStyles: {},\n empty: false\n};\nexports.default = Day;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n// Proxy object to map classnames when css modules are not used\n\nexports.default = {\n container: 'DayPicker',\n wrapper: 'DayPicker-wrapper',\n interactionDisabled: 'DayPicker--interactionDisabled',\n months: 'DayPicker-Months',\n month: 'DayPicker-Month',\n navBar: 'DayPicker-NavBar',\n navButtonPrev: 'DayPicker-NavButton DayPicker-NavButton--prev',\n navButtonNext: 'DayPicker-NavButton DayPicker-NavButton--next',\n navButtonInteractionDisabled: 'DayPicker-NavButton--interactionDisabled',\n caption: 'DayPicker-Caption',\n weekdays: 'DayPicker-Weekdays',\n weekdaysRow: 'DayPicker-WeekdaysRow',\n weekday: 'DayPicker-Weekday',\n body: 'DayPicker-Body',\n week: 'DayPicker-Week',\n weekNumber: 'DayPicker-WeekNumber',\n day: 'DayPicker-Day',\n footer: 'DayPicker-Footer',\n todayButton: 'DayPicker-TodayButton',\n // default modifiers\n today: 'today',\n selected: 'selected',\n disabled: 'disabled',\n outside: 'outside'\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n};\nexports.cancelEvent = cancelEvent;\nexports.getFirstDayOfMonth = getFirstDayOfMonth;\nexports.getDaysInMonth = getDaysInMonth;\nexports.getModifiersFromProps = getModifiersFromProps;\nexports.getFirstDayOfWeekFromProps = getFirstDayOfWeekFromProps;\nexports.isRangeOfDates = isRangeOfDates;\nexports.getMonthsDiff = getMonthsDiff;\nexports.getWeekArray = getWeekArray;\nexports.startOfMonth = startOfMonth;\nexports.getDayNodes = getDayNodes;\nexports.nodeListToArray = nodeListToArray;\nexports.hasOwnProp = hasOwnProp;\nvar _DateUtils = require('./DateUtils');\nvar _LocaleUtils = require('./LocaleUtils');\nvar _classNames = require('./classNames');\nvar _classNames2 = _interopRequireDefault(_classNames);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction cancelEvent(e) {\n e.preventDefault();\n e.stopPropagation();\n}\nfunction getFirstDayOfMonth(d) {\n return new Date(d.getFullYear(), d.getMonth(), 1, 12);\n}\nfunction getDaysInMonth(d) {\n var resultDate = getFirstDayOfMonth(d);\n resultDate.setMonth(resultDate.getMonth() + 1);\n resultDate.setDate(resultDate.getDate() - 1);\n return resultDate.getDate();\n}\nfunction getModifiersFromProps(props) {\n var modifiers = _extends({}, props.modifiers);\n if (props.selectedDays) {\n modifiers[props.classNames.selected] = props.selectedDays;\n }\n if (props.disabledDays) {\n modifiers[props.classNames.disabled] = props.disabledDays;\n }\n return modifiers;\n}\nfunction getFirstDayOfWeekFromProps(props) {\n var firstDayOfWeek = props.firstDayOfWeek,\n _props$locale = props.locale,\n locale = _props$locale === undefined ? 'en' : _props$locale,\n _props$localeUtils = props.localeUtils,\n localeUtils = _props$localeUtils === undefined ? {} : _props$localeUtils;\n if (!isNaN(firstDayOfWeek)) {\n return firstDayOfWeek;\n }\n if (localeUtils.getFirstDayOfWeek) {\n return localeUtils.getFirstDayOfWeek(locale);\n }\n return 0;\n}\nfunction isRangeOfDates(value) {\n return !!(value && value.from && value.to);\n}\nfunction getMonthsDiff(d1, d2) {\n return d2.getMonth() - d1.getMonth() + 12 * (d2.getFullYear() - d1.getFullYear());\n}\nfunction getWeekArray(d) {\n var firstDayOfWeek = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (0, _LocaleUtils.getFirstDayOfWeek)();\n var fixedWeeks = arguments[2];\n var daysInMonth = getDaysInMonth(d);\n var dayArray = [];\n var week = [];\n var weekArray = [];\n for (var i = 1; i <= daysInMonth; i += 1) {\n dayArray.push(new Date(d.getFullYear(), d.getMonth(), i, 12));\n }\n dayArray.forEach(function (day) {\n if (week.length > 0 && day.getDay() === firstDayOfWeek) {\n weekArray.push(week);\n week = [];\n }\n week.push(day);\n if (dayArray.indexOf(day) === dayArray.length - 1) {\n weekArray.push(week);\n }\n });\n\n // unshift days to start the first week\n var firstWeek = weekArray[0];\n for (var _i = 7 - firstWeek.length; _i > 0; _i -= 1) {\n var outsideDate = (0, _DateUtils.clone)(firstWeek[0]);\n outsideDate.setDate(firstWeek[0].getDate() - 1);\n firstWeek.unshift(outsideDate);\n }\n\n // push days until the end of the last week\n var lastWeek = weekArray[weekArray.length - 1];\n for (var _i2 = lastWeek.length; _i2 < 7; _i2 += 1) {\n var _outsideDate = (0, _DateUtils.clone)(lastWeek[lastWeek.length - 1]);\n _outsideDate.setDate(lastWeek[lastWeek.length - 1].getDate() + 1);\n lastWeek.push(_outsideDate);\n }\n\n // add extra weeks to reach 6 weeks\n if (fixedWeeks && weekArray.length < 6) {\n var lastExtraWeek = void 0;\n for (var _i3 = weekArray.length; _i3 < 6; _i3 += 1) {\n lastExtraWeek = weekArray[weekArray.length - 1];\n var lastDay = lastExtraWeek[lastExtraWeek.length - 1];\n var extraWeek = [];\n for (var j = 0; j < 7; j += 1) {\n var _outsideDate2 = (0, _DateUtils.clone)(lastDay);\n _outsideDate2.setDate(lastDay.getDate() + j + 1);\n extraWeek.push(_outsideDate2);\n }\n weekArray.push(extraWeek);\n }\n }\n return weekArray;\n}\nfunction startOfMonth(d) {\n var newDate = (0, _DateUtils.clone)(d);\n newDate.setDate(1);\n newDate.setHours(12, 0, 0, 0); // always set noon to avoid time zone issues\n return newDate;\n}\nfunction getDayNodes(node, classNames) {\n var outsideClassName = void 0;\n if (classNames === _classNames2.default) {\n // When using CSS modules prefix the modifier as required by the BEM syntax\n outsideClassName = classNames.day + '--' + classNames.outside;\n } else {\n outsideClassName = '' + classNames.outside;\n }\n var dayQuery = classNames.day.replace(/ /g, '.');\n var outsideDayQuery = outsideClassName.replace(/ /g, '.');\n var selector = '.' + dayQuery + ':not(.' + outsideDayQuery + ')';\n return node.querySelectorAll(selector);\n}\nfunction nodeListToArray(nodeList) {\n return Array.prototype.slice.call(nodeList, 0);\n}\nfunction hasOwnProp(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _ReactGoogleAutocomplete.default;\n }\n});\nObject.defineProperty(exports, \"usePlacesWidget\", {\n enumerable: true,\n get: function get() {\n return _usePlacesWidget.default;\n }\n});\nvar _ReactGoogleAutocomplete = _interopRequireDefault(require(\"./ReactGoogleAutocomplete\"));\nvar _usePlacesWidget = _interopRequireDefault(require(\"./usePlacesWidget\"));\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"calc2-module--title--gQAvp\",\"btnGroup\":\"calc2-module--btnGroup--2mFt1\",\"radio\":\"calc2-module--radio--1qyod\",\"radioBtns3\":\"calc2-module--radioBtns3--2uUCG\",\"radioBtns2\":\"calc2-module--radioBtns2--3Cgg-\",\"radioBtn\":\"calc2-module--radioBtn--wsC5C\",\"disabled\":\"calc2-module--disabled--19ghC\",\"withImg\":\"calc2-module--withImg--2rkqH\",\"radioBtnWhite\":\"calc2-module--radioBtnWhite--2Z6LK\",\"img\":\"calc2-module--img--33pKd\",\"ripple\":\"calc2-module--ripple--2lyS0\",\"radioImg\":\"calc2-module--radioImg--3MbOX\",\"radioGroup\":\"calc2-module--radioGroup--1cDAL\",\"radioPanel\":\"calc2-module--radioPanel--3R4m7\",\"radioLines\":\"calc2-module--radioLines--1seSh\",\"radioLine\":\"calc2-module--radioLine--1yEp_\",\"text\":\"calc2-module--text--oof0h\",\"line\":\"calc2-module--line--2alfA\",\"labelText\":\"calc2-module--labelText--sW1iz\",\"labelTextInARow\":\"calc2-module--labelTextInARow--2fRU7\",\"additionalInfo\":\"calc2-module--additionalInfo--2tUw0\",\"textRight\":\"calc2-module--textRight--3X7pF\",\"additionalInfoGrey\":\"calc2-module--additionalInfoGrey--uSaL_\",\"additionalInfoBig\":\"calc2-module--additionalInfoBig--1bK6M\",\"newCustomRadio\":\"calc2-module--newCustomRadio--f_Ceh\",\"column\":\"calc2-module--column--2Akdv\",\"recommended\":\"calc2-module--recommended--34BfS\"};","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"input-module--select--Yx3nD\",\"inputHelper\":\"input-module--inputHelper--2OTGT\",\"inputHelperWarning\":\"input-module--inputHelperWarning--95daO\",\"inputHelperError\":\"input-module--inputHelperError--363UC\",\"inputHelperSuccess\":\"input-module--inputHelperSuccess--2CgXl\",\"inputError\":\"input-module--inputError--2aOTg\",\"inputWarning\":\"input-module--inputWarning--2z-rU\",\"inputSuccess\":\"input-module--inputSuccess--29IA7\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"shipTitle\":\"we-will-ship-this-week-module--shipTitle--qY2pA\",\"calendarBlock\":\"we-will-ship-this-week-module--calendarBlock--15WBW\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"price\":\"price-module--price--3ZLxX\",\"priceValue\":\"price-module--priceValue--27kjZ\",\"priceCol\":\"price-module--priceCol--3DKc6\",\"priceColLeft\":\"price-module--priceColLeft--F5C-s\",\"delivery\":\"price-module--delivery--2U_sb\",\"deliveryPrice\":\"price-module--deliveryPrice--KkoaQ\",\"discountCol\":\"price-module--discountCol--Aw8xr\",\"priceTitle\":\"price-module--priceTitle--1fTFt\",\"priceText\":\"price-module--priceText--2PXdj\",\"priceDiscountValue\":\"price-module--priceDiscountValue--2JJzQ\",\"priceFrap\":\"price-module--priceFrap--3-S6V\",\"priceDayTitle\":\"price-module--priceDayTitle--3zavC\",\"priceDayValue\":\"price-module--priceDayValue--3U2dc\",\"summary\":\"price-module--summary--uTS9E\",\"fillField\":\"price-module--fillField--2VU-D\",\"blankField\":\"price-module--blankField--JvvQ0\",\"summaryTitle\":\"price-module--summaryTitle--1W5L7\",\"summaryPrice\":\"price-module--summaryPrice--3Jp-V\",\"priceColRight\":\"price-module--priceColRight--3SqfO\"};","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","module.exports = \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPGRlZnM+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImxpbmVhci1ncmFkaWVudCIgeDE9IjAuMjQ2IiB5MT0iMC40NDMiIHgyPSIwLjg2MSIgeTI9IjAuNSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPgogICAgICA8c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiM2OTlkY2IiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjYWJjOGUyIi8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KICA8ZyBpZD0iR3JvdXBfMTAz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44MTdBMi4zNjUsMi4zNjUsMCwwLDAsLjI3LDEuMzQ1LDIuMTYyLDIuMTYyLDAsMCwwLDAsMS4wMDdMMy45MzgsMEEzLjI0OSwzLjI0OSwwLDAsMSw2LjEyNSwyLjE3OVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDcuMjU0IDAuODI2KSIgZmlsbD0iI2ZmZiIvPgogICAgICA8L2c+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K\"","\"use strict\";\n\nexports.__esModule = true;\nexports.imageReferenceCompleted = exports.hasPictureRef = exports.hasActivatedPictureRefs = exports.createPictureRef = exports.createMultiplePictureRefs = exports.activatePictureRef = exports.activateMultiplePictureRefs = void 0;\n\nvar _HelperUtils = require(\"./HelperUtils\");\n\nvar _ImageUtils = require(\"./ImageUtils\");\n\nvar _MediaUtils = require(\"./MediaUtils\");\n\nvar _SimpleUtils = require(\"./SimpleUtils\");\n\nvar _ImageCache = require(\"./ImageCache\");\n\nvar createPictureRef = function createPictureRef(props, onLoad, index, isLoop) {\n if (isLoop === void 0) {\n isLoop = false;\n }\n\n var convertedProps = (0, _HelperUtils.convertProps)(props);\n\n if ((0, _SimpleUtils.isBrowser)() && (typeof convertedProps.fluid !== \"undefined\" || typeof convertedProps.fixed !== \"undefined\")) {\n var isImageStack = (0, _ImageUtils.hasImageArray)(convertedProps) && !(0, _MediaUtils.hasArtDirectionArray)(convertedProps);\n\n if (isImageStack && !isLoop) {\n return createMultiplePictureRefs(props, onLoad);\n }\n\n var img = new Image();\n\n img.onload = function () {\n return onLoad();\n };\n\n if (!img.complete && typeof convertedProps.onLoad === \"function\") {\n img.addEventListener('load', convertedProps.onLoad);\n }\n\n if (typeof convertedProps.onError === \"function\") {\n img.addEventListener('error', convertedProps.onError);\n }\n\n if (convertedProps.crossOrigin) {\n img.crossOrigin = convertedProps.crossOrigin;\n }\n\n if ((convertedProps.critical || convertedProps.isVisible) && !isLoop) {\n return activatePictureRef(img, convertedProps, index, isLoop);\n }\n\n return img;\n }\n\n return null;\n};\n\nexports.createPictureRef = createPictureRef;\n\nvar createMultiplePictureRefs = function createMultiplePictureRefs(props, onLoad) {\n var convertedProps = (0, _HelperUtils.convertProps)(props);\n var imageStack = convertedProps.fluid || convertedProps.fixed;\n var imageRefs = imageStack.map(function (imageData, index) {\n return createPictureRef(convertedProps, onLoad, index, true);\n });\n\n if (convertedProps.critical || convertedProps.isVisible) {\n return activatePictureRef(imageRefs, convertedProps);\n }\n\n return imageRefs;\n};\n\nexports.createMultiplePictureRefs = createMultiplePictureRefs;\n\nvar activatePictureRef = function activatePictureRef(imageRef, props, selfRef, index, isLoop) {\n if (selfRef === void 0) {\n selfRef = null;\n }\n\n if (index === void 0) {\n index = 0;\n }\n\n if (isLoop === void 0) {\n isLoop = false;\n }\n\n var convertedProps = (0, _HelperUtils.convertProps)(props);\n\n if ((0, _SimpleUtils.isBrowser)() && (typeof convertedProps.fluid !== \"undefined\" || typeof convertedProps.fixed !== \"undefined\")) {\n var isImageStack = (0, _ImageUtils.hasImageArray)(convertedProps) && !(0, _MediaUtils.hasArtDirectionArray)(convertedProps);\n\n if (isImageStack && !isLoop) {\n return activateMultiplePictureRefs(imageRef, props, selfRef);\n }\n\n var bodyClone = document.createElement('body');\n var imageData = isImageStack ? (0, _ImageUtils.getSelectedImage)(convertedProps, index) : (0, _ImageUtils.getCurrentSrcData)(convertedProps);\n\n if (!imageData) {\n return null;\n }\n\n if ((0, _SimpleUtils.isString)(imageData)) {\n return imageData;\n }\n\n if (selfRef) {\n imageRef.width = selfRef.offsetWidth;\n imageRef.height = selfRef.offsetHeight;\n }\n\n if ((0, _ImageUtils.hasPictureElement)()) {\n var pic = document.createElement('picture');\n\n if (selfRef) {\n pic.width = imageRef.width;\n pic.height = imageRef.height;\n }\n\n if ((0, _MediaUtils.hasArtDirectionArray)(convertedProps)) {\n var sources = (0, _MediaUtils.createArtDirectionSources)(convertedProps).reverse();\n sources.forEach(function (currentSource) {\n return pic.appendChild(currentSource);\n });\n }\n\n var sourcesAvif = (0, _MediaUtils.createSourceElementForSrcSet)(imageData, 'avif');\n sourcesAvif && pic.appendChild(sourcesAvif);\n var sourcesWebp = (0, _MediaUtils.createSourceElementForSrcSet)(imageData, 'webp');\n sourcesWebp && pic.appendChild(sourcesWebp);\n pic.appendChild(imageRef);\n bodyClone.appendChild(pic);\n }\n\n imageRef.sizes = imageData.sizes || \"\";\n imageRef.srcset = imageData.srcSet || \"\";\n imageRef.src = imageData.src || \"\";\n return imageRef;\n }\n\n return null;\n};\n\nexports.activatePictureRef = activatePictureRef;\n\nvar activateMultiplePictureRefs = function activateMultiplePictureRefs(imageRefs, props, selfRef) {\n return imageRefs.map(function (imageRef, index) {\n return activatePictureRef(imageRef, props, selfRef, index, true);\n });\n};\n\nexports.activateMultiplePictureRefs = activateMultiplePictureRefs;\n\nvar hasActivatedPictureRefs = function hasActivatedPictureRefs(imageRefs) {\n return Array.isArray(imageRefs) ? imageRefs.every(function (imageRef) {\n return hasPictureRef(imageRef);\n }) : hasPictureRef(imageRefs);\n};\n\nexports.hasActivatedPictureRefs = hasActivatedPictureRefs;\n\nvar hasPictureRef = function hasPictureRef(imageRef) {\n return (0, _SimpleUtils.isString)(imageRef) || !!imageRef && !!imageRef.currentSrc;\n};\n\nexports.hasPictureRef = hasPictureRef;\n\nvar imageReferenceCompleted = function imageReferenceCompleted(imageRef, props) {\n return imageRef ? Array.isArray(imageRef) ? imageRef.every(function (singleImageRef) {\n return (0, _ImageUtils.imageLoaded)(singleImageRef);\n }) || (0, _ImageCache.inImageCache)(props) : (0, _ImageUtils.imageLoaded)(imageRef) || (0, _ImageCache.inImageCache)(props) : (0, _SimpleUtils.isString)(imageRef);\n};\n\nexports.imageReferenceCompleted = imageReferenceCompleted;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.loadGoogleMapScript = exports.isBrowser = void 0;\nvar isBrowser = typeof window !== \"undefined\" && window.document;\nexports.isBrowser = isBrowser;\nvar loadGoogleMapScript = function loadGoogleMapScript(googleMapsScriptBaseUrl, googleMapsScriptUrl) {\n if (!isBrowser) return Promise.resolve();\n if (typeof google !== \"undefined\") {\n if (google.maps && google.maps.api) return Promise.resolve();\n }\n var scriptElements = document.querySelectorAll(\"script[src*=\\\"\".concat(googleMapsScriptBaseUrl, \"\\\"]\"));\n if (scriptElements && scriptElements.length) {\n return new Promise(function (resolve) {\n // in case we already have a script on the page and it's loaded we resolve\n if (typeof google !== \"undefined\") return resolve(); // otherwise we wait until it's loaded and resolve\n\n scriptElements[0].addEventListener(\"load\", function () {\n return resolve();\n });\n });\n }\n var scriptUrl = new URL(googleMapsScriptUrl);\n scriptUrl.searchParams.set(\"callback\", \"__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__\");\n var el = document.createElement(\"script\");\n el.src = scriptUrl.toString();\n return new Promise(function (resolve) {\n window.__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__ = resolve;\n document.body.appendChild(el);\n });\n};\nexports.loadGoogleMapScript = loadGoogleMapScript;","\"use strict\";\n\nexports.__esModule = true;\nexports.isBase64 = exports.imagePropsChanged = exports.imageLoaded = exports.imageArrayPropsChanged = exports.hasPictureElement = exports.hasImageUrl = exports.hasImageArray = exports.getUrlString = exports.getSelectedImage = exports.getImageSrcKey = exports.getCurrentSrcData = exports.getCurrentFromData = exports.createDummyImageArray = void 0;\n\nvar _MediaUtils = require(\"./MediaUtils\");\n\nvar _SimpleUtils = require(\"./SimpleUtils\");\n\nvar hasPictureElement = function hasPictureElement() {\n return typeof HTMLPictureElement !== \"undefined\" || (0, _SimpleUtils.isBrowser)();\n};\n\nexports.hasPictureElement = hasPictureElement;\n\nvar hasImageArray = function hasImageArray(props) {\n return Boolean(props.fluid && Array.isArray(props.fluid) || props.fixed && Array.isArray(props.fixed));\n};\n\nexports.hasImageArray = hasImageArray;\n\nvar getCurrentFromData = function getCurrentFromData(_ref) {\n var data = _ref.data,\n propName = _ref.propName,\n _ref$addUrl = _ref.addUrl,\n addUrl = _ref$addUrl === void 0 ? true : _ref$addUrl,\n _ref$returnArray = _ref.returnArray,\n returnArray = _ref$returnArray === void 0 ? false : _ref$returnArray,\n _ref$checkLoaded = _ref.checkLoaded,\n checkLoaded = _ref$checkLoaded === void 0 ? true : _ref$checkLoaded;\n if (!data || !propName) return \"\";\n var tracedSVG = propName === \"tracedSVG\";\n\n if (Array.isArray(data) && !(0, _MediaUtils.hasArtDirectionArray)({\n fluid: data\n })) {\n var imageString = data.map(function (dataElement) {\n if (propName === \"currentSrc\" || propName === 'src') {\n return checkLoaded ? imageLoaded(dataElement) && dataElement[propName] || \"\" : dataElement[propName];\n }\n\n if (propName === \"CSS_STRING\" && (0, _SimpleUtils.isString)(dataElement)) {\n return dataElement;\n }\n\n return (0, _SimpleUtils.isString)(dataElement) ? dataElement : dataElement && propName in dataElement ? dataElement[propName] : \"\";\n });\n return getUrlString({\n imageString: imageString,\n tracedSVG: tracedSVG,\n addUrl: addUrl,\n returnArray: returnArray\n });\n }\n\n if ((0, _MediaUtils.hasArtDirectionArray)({\n fluid: data\n }) && (propName === \"currentSrc\" || propName === \"src\" || propName === \"base64\" || tracedSVG)) {\n var currentData = getCurrentSrcData({\n fluid: data\n });\n return propName in currentData ? getUrlString({\n imageString: currentData[propName],\n tracedSVG: tracedSVG,\n addUrl: addUrl\n }) : \"\";\n }\n\n if (typeof data !== 'object') {\n return '';\n }\n\n if ((propName === \"currentSrc\" || propName === 'src') && propName in data) {\n return getUrlString({\n imageString: checkLoaded ? imageLoaded(data) && data[propName] || \"\" : data[propName],\n addUrl: addUrl\n });\n }\n\n return propName in data ? getUrlString({\n imageString: data[propName],\n tracedSVG: tracedSVG,\n addUrl: addUrl\n }) : \"\";\n};\n\nexports.getCurrentFromData = getCurrentFromData;\n\nvar getImageSrcKey = function getImageSrcKey(_ref2) {\n var fluid = _ref2.fluid,\n fixed = _ref2.fixed;\n var data = getCurrentSrcData({\n fluid: fluid,\n fixed: fixed\n });\n return data ? data.src || null : null;\n};\n\nexports.getImageSrcKey = getImageSrcKey;\n\nvar getCurrentSrcData = function getCurrentSrcData(_ref3, index) {\n var fluid = _ref3.fluid,\n fixed = _ref3.fixed,\n returnArray = _ref3.returnArray;\n\n if (index === void 0) {\n index = 0;\n }\n\n var currentData = fluid || fixed;\n\n if (hasImageArray({\n fluid: fluid,\n fixed: fixed\n })) {\n if (returnArray) {\n return currentData;\n }\n\n if ((0, _SimpleUtils.isBrowser)() && (0, _MediaUtils.hasArtDirectionArray)({\n fluid: fluid,\n fixed: fixed\n })) {\n var mediaData = currentData.slice().reverse();\n var foundMedia = mediaData.findIndex(_MediaUtils.matchesMedia);\n\n if (foundMedia !== -1) {\n return mediaData[foundMedia];\n }\n }\n\n return currentData[index];\n }\n\n return currentData;\n};\n\nexports.getCurrentSrcData = getCurrentSrcData;\n\nvar getSelectedImage = function getSelectedImage(_ref4, index) {\n var fluid = _ref4.fluid,\n fixed = _ref4.fixed;\n\n if (index === void 0) {\n index = 0;\n }\n\n var currentData = fluid || fixed;\n\n if (hasImageArray({\n fluid: fluid,\n fixed: fixed\n })) {\n return currentData[index] || currentData[0];\n }\n\n return currentData;\n};\n\nexports.getSelectedImage = getSelectedImage;\n\nvar getUrlString = function getUrlString(_ref5) {\n var imageString = _ref5.imageString,\n _ref5$tracedSVG = _ref5.tracedSVG,\n tracedSVG = _ref5$tracedSVG === void 0 ? false : _ref5$tracedSVG,\n _ref5$addUrl = _ref5.addUrl,\n addUrl = _ref5$addUrl === void 0 ? true : _ref5$addUrl,\n _ref5$returnArray = _ref5.returnArray,\n returnArray = _ref5$returnArray === void 0 ? false : _ref5$returnArray,\n _ref5$hasImageUrls = _ref5.hasImageUrls,\n hasImageUrls = _ref5$hasImageUrls === void 0 ? false : _ref5$hasImageUrls;\n\n if (Array.isArray(imageString)) {\n var stringArray = imageString.map(function (currentString) {\n if (currentString) {\n var _base = isBase64(currentString);\n\n var _imageUrl = hasImageUrls || hasImageUrl(currentString);\n\n var currentReturnString = currentString && tracedSVG ? \"\\\"\" + currentString + \"\\\"\" : currentString && !_base && !tracedSVG && _imageUrl ? \"'\" + currentString + \"'\" : currentString;\n return addUrl && currentString ? \"url(\" + currentReturnString + \")\" : currentReturnString;\n }\n\n return currentString;\n });\n return returnArray ? stringArray : (0, _SimpleUtils.filteredJoin)(stringArray);\n }\n\n var base64 = isBase64(imageString);\n var imageUrl = hasImageUrls || hasImageUrl(imageString);\n var returnString = imageString && tracedSVG ? \"\\\"\" + imageString + \"\\\"\" : imageString && !base64 && !tracedSVG && imageUrl ? \"'\" + imageString + \"'\" : imageString;\n return imageString ? addUrl ? \"url(\" + returnString + \")\" : returnString : \"\";\n};\n\nexports.getUrlString = getUrlString;\n\nvar isBase64 = function isBase64(base64String) {\n return (0, _SimpleUtils.isString)(base64String) && base64String.indexOf(\"base64\") !== -1;\n};\n\nexports.isBase64 = isBase64;\n\nvar hasImageUrl = function hasImageUrl(imageString) {\n return (0, _SimpleUtils.isString)(imageString) && imageString.substr(0, 4) === \"http\";\n};\n\nexports.hasImageUrl = hasImageUrl;\n\nvar imagePropsChanged = function imagePropsChanged(props, prevProps) {\n return props.fluid && !prevProps.fluid || props.fixed && !prevProps.fixed || imageArrayPropsChanged(props, prevProps) || props.fluid && prevProps.fluid && props.fluid.src !== prevProps.fluid.src || props.fixed && prevProps.fixed && props.fixed.src !== prevProps.fixed.src;\n};\n\nexports.imagePropsChanged = imagePropsChanged;\n\nvar imageArrayPropsChanged = function imageArrayPropsChanged(props, prevProps) {\n var isPropsFluidArray = Array.isArray(props.fluid);\n var isPrevPropsFluidArray = Array.isArray(prevProps.fluid);\n var isPropsFixedArray = Array.isArray(props.fixed);\n var isPrevPropsFixedArray = Array.isArray(prevProps.fixed);\n\n if (isPropsFluidArray && !isPrevPropsFluidArray || isPropsFixedArray && !isPrevPropsFixedArray || !isPropsFluidArray && isPrevPropsFluidArray || !isPropsFixedArray && isPrevPropsFixedArray) {\n return true;\n }\n\n if (isPropsFluidArray && isPrevPropsFluidArray) {\n if (props.fluid.length === prevProps.fluid.length) {\n return props.fluid.some(function (image, index) {\n return image.src !== prevProps.fluid[index].src;\n });\n }\n\n return true;\n }\n\n if (isPropsFixedArray && isPrevPropsFixedArray) {\n if (props.fixed.length === prevProps.fixed.length) {\n return props.fixed.some(function (image, index) {\n return image.src !== prevProps.fixed[index].src;\n });\n }\n\n return true;\n }\n};\n\nexports.imageArrayPropsChanged = imageArrayPropsChanged;\n\nvar createDummyImageArray = function createDummyImageArray(length) {\n var DUMMY_IMG = \"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\";\n var dummyImageURI = getUrlString({\n imageString: DUMMY_IMG\n });\n return Array(length).fill(dummyImageURI);\n};\n\nexports.createDummyImageArray = createDummyImageArray;\n\nvar imageLoaded = function imageLoaded(imageRef) {\n return imageRef ? (0, _SimpleUtils.isString)(imageRef) || imageRef.complete && imageRef.naturalWidth !== 0 && imageRef.naturalHeight !== 0 : false;\n};\n\nexports.imageLoaded = imageLoaded;","import React from 'react';\n\nimport styles from './food-card.module.css';\n\nexport const FoodCard = ({ img, title, children }) => (\n
\n
\n \"img\"\n
\n
\n
{title}
\n
{children}
\n
\n
\n)\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.formatDay = formatDay;\nexports.formatMonthTitle = formatMonthTitle;\nexports.formatWeekdayShort = formatWeekdayShort;\nexports.formatWeekdayLong = formatWeekdayLong;\nexports.getFirstDayOfWeek = getFirstDayOfWeek;\nexports.getMonths = getMonths;\nexports.formatDate = formatDate;\nexports.parseDate = parseDate;\nvar _moment = require('moment');\nvar _moment2 = _interopRequireDefault(_moment);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction formatDay(day) {\n var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'en';\n return (0, _moment2.default)(day).locale(locale).format('ddd ll');\n} /* eslint-disable import/no-extraneous-dependencies, no-underscore-dangle */\n\nfunction formatMonthTitle(date) {\n var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'en';\n return (0, _moment2.default)(date).locale(locale).format('MMMM YYYY');\n}\nfunction formatWeekdayShort(day) {\n var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'en';\n return _moment2.default.localeData(locale).weekdaysMin()[day];\n}\nfunction formatWeekdayLong(day) {\n var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'en';\n return _moment2.default.localeData(locale).weekdays()[day];\n}\nfunction getFirstDayOfWeek() {\n var locale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'en';\n return _moment2.default.localeData(locale).firstDayOfWeek();\n}\nfunction getMonths() {\n var locale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'en';\n return _moment2.default.localeData(locale).months();\n}\nfunction formatDate(date) {\n var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'L';\n var locale = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'en';\n return (0, _moment2.default)(date).locale(locale).format(Array.isArray(format) ? format[0] : format);\n}\nfunction parseDate(str) {\n var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'L';\n var locale = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'en';\n var m = (0, _moment2.default)(str, format, locale, true);\n if (m.isValid()) {\n return m.toDate();\n }\n return undefined;\n}\nexports.default = {\n formatDay: formatDay,\n formatMonthTitle: formatMonthTitle,\n formatWeekdayShort: formatWeekdayShort,\n formatWeekdayLong: formatWeekdayLong,\n getFirstDayOfWeek: getFirstDayOfWeek,\n getMonths: getMonths,\n formatDate: formatDate,\n parseDate: parseDate\n};","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"orderForm\":\"order-form-module--orderForm--pYYon\",\"heroForm\":\"order-form-module--heroForm--A2giT\",\"orderFormWrap\":\"order-form-module--orderFormWrap--7JvOq\",\"orderFormInfo\":\"order-form-module--orderFormInfo--2O-gR\",\"inputField\":\"order-form-module--inputField--3B-BR\",\"inputFieldLabel\":\"order-form-module--inputFieldLabel--3J1q1\",\"inputFieldTitle\":\"order-form-module--inputFieldTitle--3cZ4r\",\"inputFieldTitleSmall\":\"order-form-module--inputFieldTitleSmall--28NJU\",\"orderFormTitle\":\"order-form-module--orderFormTitle--1Y7L3\",\"orderFormBox\":\"order-form-module--orderFormBox--3ftLO\",\"buttons\":\"order-form-module--buttons--3HFUW\",\"submitButton\":\"order-form-module--submitButton--3v7W2\",\"radio\":\"order-form-module--radio--2Qr8h\",\"radioBtn\":\"order-form-module--radioBtn--1o__5\",\"checkTerms\":\"order-form-module--checkTerms--1Y4qI\",\"sectionBox\":\"order-form-module--sectionBox--2UEfN\",\"sectionTitle\":\"order-form-module--sectionTitle--gQVsW\",\"sectionNumber\":\"order-form-module--sectionNumber--38BMs\",\"input\":\"order-form-module--input--_hi7A\"};","module.exports = \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMy45OTMiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyMy45OTMgMjQiPgogIDxnIGlkPSJHcm91cF8xMDM1NCIgZGF0YS1uYW1lPSJHcm91cCAxMDM1NCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTY3Ny40MTYgLTIyOS40OTYpIj4KICAgIDxwYXRoIGlkPSJQYXRoXzc4MiIgZGF0YS1uYW1lPSJQYXRoIDc4MiIgZD0iTTY4Ny41NDMsMjMxLjk0NGwtMi4xMDksNC42ODItMS4zMzEsNS4xMzMtMy4wMjEsMy40NzQtMi4zMjksMi42NzYtLjMxNSwzLjExNCwyLjg4NCwxLjgxMyw2LjQ3OC40NzQsNy40MTEtMi43MjksNC44NzQtMy43MDcsMS41NjgtNC4yMzYtMS44MzgtMy41MzctMi41OTItMS44MTMtMS4zMzctMi45ODUtMi4zNS0yLjczMy0zLjE0Ni0xLjE2MS0xLjQ5NC40MjUtLjgyNS43MzZaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMC40OTggLTAuNDMzKSIgZmlsbD0iI2ZmZiIvPgogICAgPHBhdGggaWQ9IlBhdGhfNzgzIiBkYXRhLW5hbWU9IlBhdGggNzgzIiBkPSJNNjg1LjMzLDIzMS41ODlsLTEuNTg4LDMuNTI0LTEsMy44NjMtLjYsMi40NzlhMTIuODgxLDEyLjg4MSwwLDAsMC0yLjAyMywyLjY0LDEwLjcyNywxMC43MjcsMCwwLDEtMi4xNTYsMi41NDVsLjY3My44LDUuODM3LjM5Myw2Ljg2NS0xLjkyMywzLjkxLTMuMDI3LDEuMTgxLTMuMjA3LTEuNjkzLTIuODY1LTEuOTE1LTEuNDE4LS45ODItMi41LTE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YS45MTEuOTExLDAsMCwxLC4zNi4xLDEuMywxLjMsMCwwLDEsLjM3NSwxLjYxOS45MjkuOTI5LDAsMCwxLTEuMy41NTUsMS4zMTgsMS4zMTgsMCwwLDEtLjM2LTEuNjM0LDEuMDg2LDEuMDg2LDAsMCwxLC41Ny0uNTg1QS44NDIuODQyLDAsMCwxLDEzLjAzLDYuMjM4Wm00LjY3OCw1LjE4OGEuNDY0LjQ2NCwwLDAsMC0uMTIuMDQ1TDEwLjA0NiwxNC4yOWEuNDgyLjQ4MiwwLDEsMCwuMzQ1LjlsNy41MjctMi44MTlhLjQ4LjQ4LDAsMCwwLS4xNjUtLjk0NVptMCwyLjU0OWEuNTM2LjUzNiwwLDAsMC0uMTIuMDNsLTkuMTYyLDMuNGEuNDguNDgsMCwxLDAsLjMzLjlsOS4xNjItMy40YS40OC40OCwwLDAsMC0uMjEtLjkzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjc3LjQxNiAyMjkuNDk2KSIgZmlsbD0iIzM1MzY0MyIvPgogIDwvZz4KPC9zdmc+Cg==\"","var Converter = require('./src/converter');\n\n/**\n * Function get source and destination alphabet and return convert function\n *\n * @param {string|Array} srcAlphabet\n * @param {string|Array} dstAlphabet\n *\n * @returns {function(number|Array)}\n */\nfunction anyBase(srcAlphabet, dstAlphabet) {\n var converter = new Converter(srcAlphabet, dstAlphabet);\n /**\n * Convert function\n *\n * @param {string|Array} number\n *\n * @return {string|Array} number\n */\n return function (number) {\n return converter.convert(number);\n };\n}\n;\nanyBase.BIN = '01';\nanyBase.OCT = '01234567';\nanyBase.DEC = '0123456789';\nanyBase.HEX = '0123456789abcdef';\nmodule.exports = anyBase;","/*!\n * html-attributes\n * https://github.com/alexmingoia/html-attributes\n */\n\n'use strict';\n\n/**\n * @module html-attributes\n */\nmodule.exports = {\n \"abbr\": \"abbr\",\n \"accept\": \"accept\",\n \"acceptCharset\": \"accept-charset\",\n \"accessKey\": \"accesskey\",\n \"action\": \"action\",\n \"allowFullScreen\": \"allowfullscreen\",\n \"allowTransparency\": \"allowtransparency\",\n \"alt\": \"alt\",\n \"async\": \"async\",\n \"autoComplete\": \"autocomplete\",\n \"autoFocus\": \"autofocus\",\n \"autoPlay\": \"autoplay\",\n \"cellPadding\": \"cellpadding\",\n \"cellSpacing\": \"cellspacing\",\n \"challenge\": \"challenge\",\n \"charset\": \"charset\",\n \"checked\": \"checked\",\n \"cite\": \"cite\",\n \"class\": \"class\",\n \"className\": \"class\",\n \"cols\": \"cols\",\n \"colSpan\": \"colspan\",\n \"command\": \"command\",\n \"content\": \"content\",\n \"contentEditable\": \"contenteditable\",\n \"contextMenu\": \"contextmenu\",\n \"controls\": \"controls\",\n \"coords\": \"coords\",\n \"crossOrigin\": \"crossorigin\",\n \"data\": \"data\",\n \"dateTime\": \"datetime\",\n \"default\": \"default\",\n \"defer\": \"defer\",\n \"dir\": \"dir\",\n \"disabled\": \"disabled\",\n \"download\": \"download\",\n \"draggable\": \"draggable\",\n \"dropzone\": \"dropzone\",\n \"encType\": \"enctype\",\n \"for\": \"for\",\n \"form\": \"form\",\n \"formAction\": \"formaction\",\n \"formEncType\": \"formenctype\",\n \"formMethod\": \"formmethod\",\n \"formNoValidate\": \"formnovalidate\",\n \"formTarget\": \"formtarget\",\n \"frameBorder\": \"frameBorder\",\n \"headers\": \"headers\",\n \"height\": \"height\",\n \"hidden\": \"hidden\",\n \"high\": \"high\",\n \"href\": \"href\",\n \"hrefLang\": \"hreflang\",\n \"htmlFor\": \"for\",\n \"httpEquiv\": \"http-equiv\",\n \"icon\": \"icon\",\n \"id\": \"id\",\n \"inputMode\": \"inputmode\",\n \"isMap\": \"ismap\",\n \"itemId\": \"itemid\",\n \"itemProp\": \"itemprop\",\n \"itemRef\": \"itemref\",\n \"itemScope\": \"itemscope\",\n \"itemType\": \"itemtype\",\n \"kind\": \"kind\",\n \"label\": \"label\",\n \"lang\": \"lang\",\n \"list\": \"list\",\n \"loop\": \"loop\",\n \"manifest\": \"manifest\",\n \"max\": \"max\",\n \"maxLength\": \"maxlength\",\n \"media\": \"media\",\n \"mediaGroup\": \"mediagroup\",\n \"method\": \"method\",\n \"min\": \"min\",\n \"minLength\": \"minlength\",\n \"multiple\": \"multiple\",\n \"muted\": \"muted\",\n \"name\": \"name\",\n \"noValidate\": \"novalidate\",\n \"open\": \"open\",\n \"optimum\": \"optimum\",\n \"pattern\": \"pattern\",\n \"ping\": \"ping\",\n \"placeholder\": \"placeholder\",\n \"poster\": \"poster\",\n \"preload\": \"preload\",\n \"radioGroup\": \"radiogroup\",\n \"readOnly\": \"readonly\",\n \"rel\": \"rel\",\n \"required\": \"required\",\n \"role\": \"role\",\n \"rows\": \"rows\",\n \"rowSpan\": \"rowspan\",\n \"sandbox\": \"sandbox\",\n \"scope\": \"scope\",\n \"scoped\": \"scoped\",\n \"scrolling\": \"scrolling\",\n \"seamless\": \"seamless\",\n \"selected\": \"selected\",\n \"shape\": \"shape\",\n \"size\": \"size\",\n \"sizes\": \"sizes\",\n \"sortable\": \"sortable\",\n \"span\": \"span\",\n \"spellCheck\": \"spellcheck\",\n \"src\": \"src\",\n \"srcDoc\": \"srcdoc\",\n \"srcSet\": \"srcset\",\n \"start\": \"start\",\n \"step\": \"step\",\n \"style\": \"style\",\n \"tabIndex\": \"tabindex\",\n \"target\": \"target\",\n \"title\": \"title\",\n \"translate\": \"translate\",\n \"type\": \"type\",\n \"typeMustMatch\": \"typemustmatch\",\n \"useMap\": \"usemap\",\n \"value\": \"value\",\n \"width\": \"width\",\n \"wmode\": \"wmode\",\n \"wrap\": \"wrap\"\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.GOOGLE_MAP_SCRIPT_BASE_URL = void 0;\nvar GOOGLE_MAP_SCRIPT_BASE_URL = \"https://maps.googleapis.com/maps/api/js\";\nexports.GOOGLE_MAP_SCRIPT_BASE_URL = GOOGLE_MAP_SCRIPT_BASE_URL;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar LEFT = exports.LEFT = 37;\nvar UP = exports.UP = 38;\nvar RIGHT = exports.RIGHT = 39;\nvar DOWN = exports.DOWN = 40;\nvar ENTER = exports.ENTER = 13;\nvar SPACE = exports.SPACE = 32;\nvar ESC = exports.ESC = 27;\nvar TAB = exports.TAB = 9;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _react = require('react');\nvar _react2 = _interopRequireDefault(_react);\nvar _classNames = require('./classNames');\nvar _classNames2 = _interopRequireDefault(_classNames);\nvar _keys = require('./keys');\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\nvar Navbar = function (_Component) {\n _inherits(Navbar, _Component);\n function Navbar() {\n var _ref;\n var _temp, _this, _ret;\n _classCallCheck(this, Navbar);\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Navbar.__proto__ || Object.getPrototypeOf(Navbar)).call.apply(_ref, [this].concat(args))), _this), _this.handleNextClick = function () {\n if (_this.props.onNextClick) {\n _this.props.onNextClick();\n }\n }, _this.handlePreviousClick = function () {\n if (_this.props.onPreviousClick) {\n _this.props.onPreviousClick();\n }\n }, _this.handleNextKeyDown = function (e) {\n if (e.keyCode !== _keys.ENTER && e.keyCode !== _keys.SPACE) {\n return;\n }\n e.preventDefault();\n _this.handleNextClick();\n }, _this.handlePreviousKeyDown = function (e) {\n if (e.keyCode !== _keys.ENTER && e.keyCode !== _keys.SPACE) {\n return;\n }\n e.preventDefault();\n _this.handlePreviousClick();\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n _createClass(Navbar, [{\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate(nextProps) {\n return nextProps.labels !== this.props.labels || nextProps.dir !== this.props.dir || this.props.showPreviousButton !== nextProps.showPreviousButton || this.props.showNextButton !== nextProps.showNextButton;\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n classNames = _props.classNames,\n className = _props.className,\n showPreviousButton = _props.showPreviousButton,\n showNextButton = _props.showNextButton,\n labels = _props.labels,\n dir = _props.dir;\n var previousClickHandler = void 0;\n var nextClickHandler = void 0;\n var previousKeyDownHandler = void 0;\n var nextKeyDownHandler = void 0;\n var shouldShowPrevious = void 0;\n var shouldShowNext = void 0;\n if (dir === 'rtl') {\n previousClickHandler = this.handleNextClick;\n nextClickHandler = this.handlePreviousClick;\n previousKeyDownHandler = this.handleNextKeyDown;\n nextKeyDownHandler = this.handlePreviousKeyDown;\n shouldShowNext = showPreviousButton;\n shouldShowPrevious = showNextButton;\n } else {\n previousClickHandler = this.handlePreviousClick;\n nextClickHandler = this.handleNextClick;\n previousKeyDownHandler = this.handlePreviousKeyDown;\n nextKeyDownHandler = this.handleNextKeyDown;\n shouldShowNext = showNextButton;\n shouldShowPrevious = showPreviousButton;\n }\n var previousClassName = shouldShowPrevious ? classNames.navButtonPrev : classNames.navButtonPrev + ' ' + classNames.navButtonInteractionDisabled;\n var nextClassName = shouldShowNext ? classNames.navButtonNext : classNames.navButtonNext + ' ' + classNames.navButtonInteractionDisabled;\n var previousButton = _react2.default.createElement('span', {\n tabIndex: '0',\n role: 'button',\n 'aria-label': labels.previousMonth,\n key: 'previous',\n className: previousClassName,\n onKeyDown: shouldShowPrevious ? previousKeyDownHandler : undefined,\n onClick: shouldShowPrevious ? previousClickHandler : undefined\n });\n var nextButton = _react2.default.createElement('span', {\n tabIndex: '0',\n role: 'button',\n 'aria-label': labels.nextMonth,\n key: 'right',\n className: nextClassName,\n onKeyDown: shouldShowNext ? nextKeyDownHandler : undefined,\n onClick: shouldShowNext ? nextClickHandler : undefined\n });\n return _react2.default.createElement('div', {\n className: className || classNames.navBar\n }, dir === 'rtl' ? [nextButton, previousButton] : [previousButton, nextButton]);\n }\n }]);\n return Navbar;\n}(_react.Component);\nNavbar.defaultProps = {\n classNames: _classNames2.default,\n dir: 'ltr',\n labels: {\n previousMonth: 'Previous Month',\n nextMonth: 'Next Month'\n },\n showPreviousButton: true,\n showNextButton: true\n};\nexports.default = Navbar;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.matchesMedia = exports.hasArtDirectionSupport = exports.hasArtDirectionArray = exports.groupByMedia = exports.createSourceElementForSrcSet = exports.createArtDirectionSources = void 0;\n\nvar _sortMediaQueries = _interopRequireDefault(require(\"sort-media-queries\"));\n\nvar _SimpleUtils = require(\"./SimpleUtils\");\n\nvar groupByMedia = function groupByMedia(imageVariants) {\n var without = [];\n var sortedVariants = (0, _sortMediaQueries.default)(imageVariants, 'media');\n sortedVariants.forEach(function (variant) {\n return !variant.media && without.push(variant);\n });\n\n if (without.length > 1 && process.env.NODE_ENV !== \"production\") {\n console.warn(\"We've found \" + without.length + \" sources without a media property. They might be ignored by the browser, see: https://www.gatsbyjs.org/packages/gatsby-image/#art-directing-multiple-images\");\n }\n\n return sortedVariants;\n};\n\nexports.groupByMedia = groupByMedia;\n\nvar createSourceElementForSrcSet = function createSourceElementForSrcSet(image, type) {\n var source = document.createElement('source');\n var srcSetName = \"srcSet\" + (0, _SimpleUtils.capitalize)(type);\n\n if (srcSetName in image) {\n source.type = \"image/\" + type;\n source.srcset = image[srcSetName];\n }\n\n if (image.sizes) {\n source.sizes = image.sizes;\n }\n\n if (image.media) {\n source.media = image.media;\n }\n\n return source.srcset ? source : null;\n};\n\nexports.createSourceElementForSrcSet = createSourceElementForSrcSet;\n\nvar createArtDirectionSources = function createArtDirectionSources(_ref) {\n var fluid = _ref.fluid,\n fixed = _ref.fixed;\n var currentSource = fluid || fixed;\n return currentSource.reduce(function (sources, image) {\n if (!image.media) {\n return sources;\n }\n\n var sourceWebp = createSourceElementForSrcSet(image, 'webp');\n var sourceAvif = createSourceElementForSrcSet(image, 'avif');\n sourceWebp && sources.push(sourceWebp);\n sourceAvif && sources.push(sourceAvif);\n return sources;\n }, []);\n};\n\nexports.createArtDirectionSources = createArtDirectionSources;\n\nvar hasArtDirectionSupport = function hasArtDirectionSupport(props, prop) {\n return props[prop] && Array.isArray(props[prop]) && props[prop].some(function (image) {\n return !!image && typeof image.media !== 'undefined';\n });\n};\n\nexports.hasArtDirectionSupport = hasArtDirectionSupport;\n\nvar hasArtDirectionArray = function hasArtDirectionArray(props) {\n return hasArtDirectionSupport(props, 'fluid') || hasArtDirectionSupport(props, 'fixed');\n};\n\nexports.hasArtDirectionArray = hasArtDirectionArray;\n\nvar matchesMedia = function matchesMedia(_ref2) {\n var media = _ref2.media;\n return media ? (0, _SimpleUtils.isBrowser)() && typeof window.matchMedia !== \"undefined\" && !!window.matchMedia(media).matches : false;\n};\n\nexports.matchesMedia = matchesMedia;","\"use strict\";\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = usePlacesWidget;\nvar _react = _interopRequireWildcard(require(\"react\"));\nvar _utils = require(\"./utils\");\nvar _constants = require(\"./constants\");\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interopRequireWildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) {\n return obj;\n }\n if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") {\n return {\n default: obj\n };\n }\n var cache = _getRequireWildcardCache(nodeInterop);\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n newObj.default = obj;\n if (cache) {\n cache.set(obj, newObj);\n }\n return newObj;\n}\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction usePlacesWidget(props) {\n var ref = props.ref,\n onPlaceSelected = props.onPlaceSelected,\n apiKey = props.apiKey,\n _props$libraries = props.libraries,\n libraries = _props$libraries === void 0 ? \"places\" : _props$libraries,\n _props$inputAutocompl = props.inputAutocompleteValue,\n inputAutocompleteValue = _props$inputAutocompl === void 0 ? \"new-password\" : _props$inputAutocompl,\n _props$options = props.options;\n _props$options = _props$options === void 0 ? {} : _props$options;\n var _props$options$types = _props$options.types,\n types = _props$options$types === void 0 ? [\"(cities)\"] : _props$options$types,\n componentRestrictions = _props$options.componentRestrictions,\n _props$options$fields = _props$options.fields,\n fields = _props$options$fields === void 0 ? [\"address_components\", \"geometry.location\", \"place_id\", \"formatted_address\"] : _props$options$fields,\n bounds = _props$options.bounds,\n options = _objectWithoutProperties(_props$options, [\"types\", \"componentRestrictions\", \"fields\", \"bounds\"]),\n _props$googleMapsScri = props.googleMapsScriptBaseUrl,\n googleMapsScriptBaseUrl = _props$googleMapsScri === void 0 ? _constants.GOOGLE_MAP_SCRIPT_BASE_URL : _props$googleMapsScri,\n language = props.language;\n var inputRef = (0, _react.useRef)(null);\n var event = (0, _react.useRef)(null);\n var autocompleteRef = (0, _react.useRef)(null);\n var observerHack = (0, _react.useRef)(null);\n var languageQueryParam = language ? \"&language=\".concat(language) : \"\";\n var googleMapsScriptUrl = \"\".concat(googleMapsScriptBaseUrl, \"?libraries=\").concat(libraries, \"&key=\").concat(apiKey).concat(languageQueryParam);\n var handleLoadScript = (0, _react.useCallback)(function () {\n return (0, _utils.loadGoogleMapScript)(googleMapsScriptBaseUrl, googleMapsScriptUrl);\n }, [googleMapsScriptBaseUrl, googleMapsScriptUrl]);\n (0, _react.useEffect)(function () {\n var config = _objectSpread(_objectSpread({}, options), {}, {\n fields: fields,\n types: types,\n bounds: bounds\n });\n if (componentRestrictions) {\n config.componentRestrictions = componentRestrictions;\n }\n if (autocompleteRef.current || !inputRef.current || !_utils.isBrowser) return;\n if (ref && !ref.current) ref.current = inputRef.current;\n var handleAutoComplete = function handleAutoComplete() {\n var _google$maps;\n if (typeof google === \"undefined\") return console.error(\"Google has not been found. Make sure your provide apiKey prop.\");\n if (!((_google$maps = google.maps) !== null && _google$maps !== void 0 && _google$maps.places)) return console.error(\"Google maps places API must be loaded.\");\n if (!inputRef.current instanceof HTMLInputElement) return console.error(\"Input ref must be HTMLInputElement.\");\n autocompleteRef.current = new google.maps.places.Autocomplete(inputRef.current, config);\n if (autocompleteRef.current) {\n event.current = autocompleteRef.current.addListener(\"place_changed\", function () {\n if (onPlaceSelected && autocompleteRef && autocompleteRef.current) {\n onPlaceSelected(autocompleteRef.current.getPlace(), inputRef.current, autocompleteRef.current);\n }\n });\n }\n };\n if (apiKey) {\n handleLoadScript().then(function () {\n return handleAutoComplete();\n });\n } else {\n handleAutoComplete();\n }\n return function () {\n return event.current ? event.current.remove() : undefined;\n };\n }, []); // Autofill workaround adapted from https://stackoverflow.com/questions/29931712/chrome-autofill-covers-autocomplete-for-google-maps-api-v3/49161445#49161445\n\n (0, _react.useEffect)(function () {\n var _React$version;\n\n // TODO find out why react 18(strict mode) hangs the page loading\n if (!(_react.default !== null && _react.default !== void 0 && (_React$version = _react.default.version) !== null && _React$version !== void 0 && _React$version.startsWith(\"18\")) && _utils.isBrowser && window.MutationObserver && inputRef.current && inputRef.current instanceof HTMLInputElement) {\n observerHack.current = new MutationObserver(function () {\n observerHack.current.disconnect();\n if (inputRef.current) {\n inputRef.current.autocomplete = inputAutocompleteValue;\n }\n });\n observerHack.current.observe(inputRef.current, {\n attributes: true,\n attributeFilter: [\"autocomplete\"]\n });\n }\n }, [inputAutocompleteValue]);\n (0, _react.useEffect)(function () {\n if (autocompleteRef.current) {\n autocompleteRef.current.setFields(fields);\n }\n }, [fields]);\n (0, _react.useEffect)(function () {\n if (autocompleteRef.current) {\n autocompleteRef.current.setBounds(bounds);\n }\n }, [bounds]);\n (0, _react.useEffect)(function () {\n if (autocompleteRef.current) {\n autocompleteRef.current.setComponentRestrictions(componentRestrictions);\n }\n }, [componentRestrictions]);\n (0, _react.useEffect)(function () {\n if (autocompleteRef.current) {\n autocompleteRef.current.setOptions(options);\n }\n }, [options]);\n return {\n ref: inputRef,\n autocompleteRef: autocompleteRef\n };\n}","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.OutboundLink = OutboundLink;\nexports.trackCustomEvent = trackCustomEvent;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar createFunctionWithTimeout = function createFunctionWithTimeout(callback, opt_timeout) {\n if (opt_timeout === void 0) {\n opt_timeout = 1000;\n }\n\n var called = false;\n\n var raceCallback = function raceCallback() {\n if (!called) {\n called = true;\n callback();\n }\n };\n\n setTimeout(raceCallback, opt_timeout);\n return raceCallback;\n};\n\nfunction OutboundLink(props) {\n var eventCategory = props.eventCategory,\n eventAction = props.eventAction,\n eventLabel = props.eventLabel,\n eventValue = props.eventValue,\n rest = (0, _objectWithoutPropertiesLoose2.default)(props, [\"eventCategory\", \"eventAction\", \"eventLabel\", \"eventValue\"]);\n return /*#__PURE__*/_react.default.createElement(\"a\", (0, _extends2.default)({}, rest, {\n onClick: function onClick(e) {\n if (typeof props.onClick === \"function\") {\n props.onClick(e);\n }\n\n var redirect = true;\n\n if (e.button !== 0 || e.altKey || e.ctrlKey || e.metaKey || e.shiftKey || e.defaultPrevented) {\n redirect = false;\n }\n\n if (props.target && props.target.toLowerCase() !== \"_self\") {\n redirect = false;\n }\n\n if (window.ga) {\n window.ga(\"send\", \"event\", {\n eventCategory: eventCategory || \"Outbound Link\",\n eventAction: eventAction || \"click\",\n eventLabel: eventLabel || props.href,\n eventValue: eventValue,\n transport: redirect ? \"beacon\" : \"\",\n hitCallback: function hitCallback() {\n if (redirect) {\n document.location = props.href;\n }\n }\n });\n } else {\n if (redirect) {\n document.location = props.href;\n }\n }\n\n return false;\n }\n }));\n}\n\nOutboundLink.propTypes = {\n href: _propTypes.default.string,\n target: _propTypes.default.string,\n eventCategory: _propTypes.default.string,\n eventAction: _propTypes.default.string,\n eventLabel: _propTypes.default.string,\n eventValue: _propTypes.default.number,\n onClick: _propTypes.default.func\n};\n/**\n * This allows the user to create custom events within their Gatsby projects.\n *\n * @param {import('gatsby-plugin-google-analytics').CustomEventArgs} args\n * @see https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#events\n */\n\nfunction trackCustomEvent(_ref) {\n var category = _ref.category,\n action = _ref.action,\n label = _ref.label,\n value = _ref.value,\n _ref$nonInteraction = _ref.nonInteraction,\n nonInteraction = _ref$nonInteraction === void 0 ? false : _ref$nonInteraction,\n transport = _ref.transport,\n hitCallback = _ref.hitCallback,\n _ref$callbackTimeout = _ref.callbackTimeout,\n callbackTimeout = _ref$callbackTimeout === void 0 ? 1000 : _ref$callbackTimeout;\n\n if (typeof window !== \"undefined\" && window.ga) {\n var trackingEventOptions = {\n eventCategory: category,\n eventAction: action,\n eventLabel: label,\n eventValue: value,\n nonInteraction: nonInteraction,\n transport: transport\n };\n\n if (hitCallback && typeof hitCallback === \"function\") {\n trackingEventOptions.hitCallback = createFunctionWithTimeout(hitCallback, callbackTimeout);\n }\n\n window.ga(\"send\", \"event\", trackingEventOptions);\n }\n}","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var global = require('../internals/global');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar regExpFlags = require('../internals/regexp-flags');\nvar fails = require('../internals/fails');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError\nvar RegExp = global.RegExp;\nvar RegExpPrototype = RegExp.prototype;\n\nvar FORCED = DESCRIPTORS && fails(function () {\n var INDICES_SUPPORT = true;\n try {\n RegExp('.', 'd');\n } catch (error) {\n INDICES_SUPPORT = false;\n }\n\n var O = {};\n // modern V8 bug\n var calls = '';\n var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy';\n\n var addGetter = function (key, chr) {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(O, key, { get: function () {\n calls += chr;\n return true;\n } });\n };\n\n var pairs = {\n dotAll: 's',\n global: 'g',\n ignoreCase: 'i',\n multiline: 'm',\n sticky: 'y'\n };\n\n if (INDICES_SUPPORT) pairs.hasIndices = 'd';\n\n for (var key in pairs) addGetter(key, pairs[key]);\n\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n var result = Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call(O);\n\n return result !== expected || calls !== expected;\n});\n\n// `RegExp.prototype.flags` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nif (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', {\n configurable: true,\n get: regExpFlags\n});\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.setTransitionStyles = exports.presetBackgroundStyles = exports.kebabifyBackgroundStyles = exports.fixOpacity = exports.fixClassName = exports.escapeClassNames = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\n\nvar _shortUuid = _interopRequireDefault(require(\"short-uuid\"));\n\nvar _HelperUtils = require(\"./HelperUtils\");\n\nvar _ClassCache = require(\"./ClassCache\");\n\nvar _ImageUtils = require(\"./ImageUtils\");\n\nvar _SimpleUtils = require(\"./SimpleUtils\");\n\nvar _excluded = [\"className\"];\n\nvar fixClassName = function fixClassName(_ref) {\n var className = _ref.className,\n props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);\n var convertedProps = (0, _HelperUtils.convertProps)(props);\n var elementExists = (0, _ClassCache.inComponentClassCache)(className);\n var imageData = (0, _ImageUtils.getCurrentSrcData)(convertedProps);\n\n var additionalClassname = _shortUuid.default.generate();\n\n var randomClass = \" gbi-\" + (0, _SimpleUtils.hashString)(imageData && imageData.srcSet || className || \"noclass\") + \"-\" + additionalClassname;\n var additionalClass = elementExists || !className ? randomClass : \"\";\n var componentClassNames = (\"\" + (className || \"\") + (additionalClass || \"\")).trim();\n if (!elementExists) (0, _ClassCache.activateCacheForComponentClass)(className);\n return [componentClassNames];\n};\n\nexports.fixClassName = fixClassName;\n\nvar escapeClassNames = function escapeClassNames(classNames) {\n if (classNames) {\n var specialChars = (0, _SimpleUtils.isBrowser)() && window._gbiSpecialChars ? window._gbiSpecialChars : typeof __GBI_SPECIAL_CHARS__ !== \"undefined\" ? __GBI_SPECIAL_CHARS__ : ':/';\n var specialCharRegEx = new RegExp(\"[\" + specialChars + \"]\", 'g');\n return classNames.replace(specialCharRegEx, '\\\\$&');\n }\n\n return classNames;\n};\n\nexports.escapeClassNames = escapeClassNames;\n\nvar kebabifyBackgroundStyles = function kebabifyBackgroundStyles(styles) {\n if ((0, _SimpleUtils.isString)(styles)) {\n return styles;\n }\n\n if (styles instanceof Object) {\n return Object.keys(styles).filter(function (key) {\n return key.indexOf('background') === 0 && styles[key] !== '';\n }).reduce(function (resultingStyles, key) {\n return \"\" + resultingStyles + (0, _SimpleUtils.toKebabCase)(key) + \": \" + styles[key] + \";\\n\";\n }, \"\");\n }\n\n return \"\";\n};\n\nexports.kebabifyBackgroundStyles = kebabifyBackgroundStyles;\n\nvar setTransitionStyles = function setTransitionStyles(transitionDelay, fadeIn) {\n if (transitionDelay === void 0) {\n transitionDelay = \"0.25s\";\n }\n\n if (fadeIn === void 0) {\n fadeIn = true;\n }\n\n return fadeIn ? \"transition: opacity 0.5s ease \" + transitionDelay + \";\" : \"transition: none;\";\n};\n\nexports.setTransitionStyles = setTransitionStyles;\n\nvar fixOpacity = function fixOpacity(props) {\n var styledProps = (0, _extends2.default)({}, props);\n\n if (!styledProps.preserveStackingContext) {\n try {\n if (styledProps.style && styledProps.style.opacity) {\n if (isNaN(styledProps.style.opacity) || styledProps.style.opacity > 0.99) {\n styledProps.style.opacity = 0.99;\n }\n }\n } catch (e) {}\n }\n\n return styledProps;\n};\n\nexports.fixOpacity = fixOpacity;\n\nvar presetBackgroundStyles = function presetBackgroundStyles(backgroundStyles) {\n var defaultBackgroundStyles = {\n backgroundPosition: \"center\",\n backgroundRepeat: \"no-repeat\",\n backgroundSize: \"cover\"\n };\n return (0, _extends2.default)({}, defaultBackgroundStyles, backgroundStyles);\n};\n\nexports.presetBackgroundStyles = presetBackgroundStyles;","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","module.exports = \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzkiIGhlaWdodD0iMzkiIHZpZXdCb3g9IjAgMCAzOSAzOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3Zn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jA1IDcuMjE5MzNaIiBmaWxsPSIjQTRBRkMxIi8+Cjwvc3ZnPgo=\"","//! moment.js locale configuration\n//! locale : Czech [cs]\n//! author : petrbela : https://github.com/petrbela\n\n;\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n //! moment.js locale configuration\n var months = {\n format: 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'),\n standalone: 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split('_')\n },\n monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),\n monthsParse = [/^led/i, /^úno/i, /^bře/i, /^dub/i, /^kvě/i, /^(čvn|červen$|června)/i, /^(čvc|červenec|července)/i, /^srp/i, /^zář/i, /^říj/i, /^lis/i, /^pro/i],\n // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.\n // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.\n monthsRegex = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;\n function plural(n) {\n return n > 1 && n < 5 && ~~(n / 10) !== 1;\n }\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n switch (key) {\n case 's':\n // a few seconds / in a few seconds / a few seconds ago\n return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';\n case 'ss':\n // 9 seconds / in 9 seconds / 9 seconds ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'sekundy' : 'sekund');\n } else {\n return result + 'sekundami';\n }\n case 'm':\n // a minute / in a minute / a minute ago\n return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';\n case 'mm':\n // 9 minutes / in 9 minutes / 9 minutes ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'minuty' : 'minut');\n } else {\n return result + 'minutami';\n }\n case 'h':\n // an hour / in an hour / an hour ago\n return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';\n case 'hh':\n // 9 hours / in 9 hours / 9 hours ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'hodiny' : 'hodin');\n } else {\n return result + 'hodinami';\n }\n case 'd':\n // a day / in a day / a day ago\n return withoutSuffix || isFuture ? 'den' : 'dnem';\n case 'dd':\n // 9 days / in 9 days / 9 days ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'dny' : 'dní');\n } else {\n return result + 'dny';\n }\n case 'M':\n // a month / in a month / a month ago\n return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';\n case 'MM':\n // 9 months / in 9 months / 9 months ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'měsíce' : 'měsíců');\n } else {\n return result + 'měsíci';\n }\n case 'y':\n // a year / in a year / a year ago\n return withoutSuffix || isFuture ? 'rok' : 'rokem';\n case 'yy':\n // 9 years / in 9 years / 9 years ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'roky' : 'let');\n } else {\n return result + 'lety';\n }\n }\n }\n var cs = moment.defineLocale('cs', {\n months: months,\n monthsShort: monthsShort,\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.\n // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.\n monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,\n monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),\n weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),\n weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd D. MMMM YYYY H:mm',\n l: 'D. M. YYYY'\n },\n calendar: {\n sameDay: '[dnes v] LT',\n nextDay: '[zítra v] LT',\n nextWeek: function nextWeek() {\n switch (this.day()) {\n case 0:\n return '[v neděli v] LT';\n case 1:\n case 2:\n return '[v] dddd [v] LT';\n case 3:\n return '[ve středu v] LT';\n case 4:\n return '[ve čtvrtek v] LT';\n case 5:\n return '[v pátek v] LT';\n case 6:\n return '[v sobotu v] LT';\n }\n },\n lastDay: '[včera v] LT',\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 0:\n return '[minulou neděli v] LT';\n case 1:\n case 2:\n return '[minulé] dddd [v] LT';\n case 3:\n return '[minulou středu v] LT';\n case 4:\n case 5:\n return '[minulý] dddd [v] LT';\n case 6:\n return '[minulou sobotu v] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'za %s',\n past: 'před %s',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return cs;\n});","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.createStyleImage = exports.createPseudoStyles = exports.createPseudoElementWithContent = exports.createPseudoElementMediaQuery = exports.createPseudoElement = exports.createNoScriptStyles = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _StyleUtils = require(\"./StyleUtils\");\n\nvar _ImageUtils = require(\"./ImageUtils\");\n\nvar _MediaUtils = require(\"./MediaUtils\");\n\nvar _SimpleUtils = require(\"./SimpleUtils\");\n\nvar createPseudoElement = function createPseudoElement(className, appendix) {\n if (appendix === void 0) {\n appendix = \":before\";\n }\n\n var escapedClassName = (0, _StyleUtils.escapeClassNames)(className);\n var classes = (0, _SimpleUtils.stringToArray)(escapedClassName);\n var pseudoClasses = \"\";\n\n if (Array.isArray(classes)) {\n classes = classes.filter(function (c) {\n return c !== '';\n });\n\n if (classes.length > 0) {\n pseudoClasses = \".\" + classes.join('.') + appendix;\n }\n }\n\n return pseudoClasses;\n};\n\nexports.createPseudoElement = createPseudoElement;\n\nvar createPseudoElementWithContent = function createPseudoElementWithContent(pseudoElementString, imageSource) {\n return \"\\n \" + pseudoElementString + \" {\\n opacity: 1;\\n background-image: \" + imageSource + \";\\n }\";\n};\n\nexports.createPseudoElementWithContent = createPseudoElementWithContent;\n\nvar createPseudoElementMediaQuery = function createPseudoElementMediaQuery(pseudoElementString, media, imageSource, imageSourceWebP) {\n return \"\\n @media \" + media + \" {\\n \" + createPseudoElementWithContent(pseudoElementString, imageSource) + \"\\n }\\n \" + (imageSourceWebP && \"@media \" + media + \" {\\n \" + createPseudoElementWithContent(pseudoElementString, imageSourceWebP) + \"\\n }\") + \"\\n \";\n};\n\nexports.createPseudoElementMediaQuery = createPseudoElementMediaQuery;\n\nvar createPseudoStyles = function createPseudoStyles(_ref) {\n var className = _ref.className,\n transitionDelay = _ref.transitionDelay,\n lastImage = _ref.lastImage,\n nextImage = _ref.nextImage,\n afterOpacity = _ref.afterOpacity,\n bgColor = _ref.bgColor,\n fadeIn = _ref.fadeIn,\n backgroundStyles = _ref.backgroundStyles,\n style = _ref.style,\n finalImage = _ref.finalImage,\n originalData = _ref.originalData;\n var pseudoBefore = createPseudoElement(className);\n var pseudoAfter = createPseudoElement(className, \":after\");\n var currentBackgroundStyles = (0, _extends2.default)({}, backgroundStyles, style);\n return \"\\n \" + pseudoBefore + \",\\n \" + pseudoAfter + \" {\\n content: '';\\n display: block;\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n top: 0;\\n left: 0;\\n \" + (bgColor && \"background-color: \" + bgColor + \";\") + \"\\n \" + (0, _StyleUtils.setTransitionStyles)(transitionDelay, fadeIn) + \"\\n \" + (0, _StyleUtils.kebabifyBackgroundStyles)(currentBackgroundStyles) + \"\\n }\\n \" + pseudoBefore + \" {\\n z-index: -100;\\n \" + ((!afterOpacity || finalImage) && createStyleImage(nextImage, originalData) || \"\") + \"\\n \" + (afterOpacity && lastImage && createStyleImage(lastImage, originalData) || \"\") + \"\\n opacity: \" + Number(!afterOpacity) + \"; \\n }\\n \" + pseudoAfter + \" {\\n z-index: -101;\\n \" + ((afterOpacity || finalImage) && createStyleImage(nextImage, originalData) || \"\") + \"\\n \" + (!afterOpacity && lastImage && createStyleImage(lastImage, originalData) || \"\") + \"\\n \" + (finalImage ? \"opacity: \" + Number(afterOpacity) + \";\" : \"\") + \"\\n }\\n \";\n};\n\nexports.createPseudoStyles = createPseudoStyles;\n\nvar createStyleImage = function createStyleImage(image, originalData) {\n var hasStackedImages = (0, _ImageUtils.hasImageArray)({\n fluid: originalData\n }) && !(0, _MediaUtils.hasArtDirectionArray)({\n fluid: originalData\n });\n\n if ((0, _SimpleUtils.isBrowser)() || hasStackedImages) {\n return image ? \"background-image: \" + image + \";\" : \"\";\n }\n\n return \"\";\n};\n\nexports.createStyleImage = createStyleImage;\n\nvar createNoScriptStyles = function createNoScriptStyles(_ref2) {\n var className = _ref2.className,\n image = _ref2.image;\n\n if (image) {\n var returnArray = Array.isArray(image) && !(0, _MediaUtils.hasArtDirectionArray)({\n fluid: image\n });\n var addUrl = false;\n var allSources = (0, _ImageUtils.getCurrentFromData)({\n data: image,\n propName: \"src\",\n checkLoaded: false,\n addUrl: addUrl,\n returnArray: returnArray\n });\n var sourcesAsUrl = (0, _ImageUtils.getUrlString)({\n imageString: allSources,\n hasImageUrls: true,\n returnArray: returnArray\n });\n var sourcesAsUrlWithCSS = \"\";\n\n if (returnArray) {\n var cssStrings = (0, _ImageUtils.getCurrentFromData)({\n data: image,\n propName: \"CSS_STRING\",\n addUrl: false,\n returnArray: returnArray\n });\n sourcesAsUrlWithCSS = (0, _SimpleUtils.filteredJoin)((0, _SimpleUtils.combineArray)(sourcesAsUrl, cssStrings));\n }\n\n var pseudoBefore = createPseudoElement(className);\n\n if ((0, _MediaUtils.hasArtDirectionArray)({\n fluid: image\n })) {\n return image.map(function (currentMedia) {\n var sourceString = (0, _ImageUtils.getUrlString)({\n imageString: currentMedia.src\n });\n var webPString = (0, _ImageUtils.getUrlString)({\n imageString: currentMedia.srcWebp || \"\"\n });\n\n if (currentMedia.media) {\n return createPseudoElementMediaQuery(pseudoBefore, currentMedia.media, sourceString, webPString);\n }\n\n return createPseudoElementMediaQuery(pseudoBefore, 'screen', sourceString, webPString);\n }).join('');\n }\n\n return createPseudoElementWithContent(pseudoBefore, sourcesAsUrlWithCSS || sourcesAsUrl);\n }\n\n return \"\";\n};\n\nexports.createNoScriptStyles = createNoScriptStyles;","import cx from 'classnames'\nimport { FastField } from 'formik'\nimport BackgroundImage from 'gatsby-background-image'\nimport React, { useEffect, useState } from 'react'\nimport { useTranslation } from 'react-i18next'\n\nimport styles from './price.module.css'\nimport {\n isOrderProgramDuration5Days,\n useGetters,\n} from '../../features/pages/order-food-online/model/getters'\n\nfunction getDiscountPrice(price, plan) {\n const discount =\n plan && plan === '2 měsíce' ? 5 : plan && plan === '3 měsíce' ? 8 : null\n return (price - price * (discount / 100)).toFixed()\n}\n\nfunction getDiscountPricePerPortion(price, plan) {\n const discountPortion = plan && plan === '2 týdny' ? 5 : plan\n return ((price - price * (discountPortion / 100)).toFixed() / 5).toFixed()\n}\n\nexport const Price = ({\n price = 0,\n oldPrice,\n plan = null,\n isNew = false,\n menu = '1800',\n discountedPrice = '0',\n duration=5,\n}) => {\n const [discountPrice, setDiscountPrice] = useState(null)\n const [discountPortionPrice, setDiscountPortionPrice] = useState(null)\n const { t } = useTranslation()\n const getters = useGetters()\n const priceDay = getters.isOrderProgramDuration5Days\n const defaultPriceWeightLoss =\n getters.isOrderFoodProgramWeightLoss &&\n getters.getOrderdProgramDurationTime === '7' &&\n menu === '1800'\n\n const defaultPriceWeightGain =\n getters.isOrderFoodProgramWeightGain &&\n getters.getOrderdProgramDurationTime === '7' &&\n menu === '1800'\n\n const defaultPriceMaintenance =\n getters.isOrderFoodProgramMaintenance &&\n getters.getOrderdProgramDurationTime === '7' &&\n menu === '1800'\n\n const defaultPriceLoss = defaultPriceWeightLoss && '80'\n const defaultPriceGain = defaultPriceWeightGain && '80'\n const defaultPriceMaintain = defaultPriceMaintenance && '90'\n const dprice = defaultPriceLoss || defaultPriceGain || defaultPriceMaintain\n\n useEffect(() => {\n const defaultPrice =\n getters.isOrderFoodProgramWeightLoss &&\n getters.getOrderdProgramDurationTime === '7' &&\n menu === '1800'\n ? '80'\n : null\n const discountPriceValue = getDiscountPrice(price, plan)\n setDiscountPrice(discountPriceValue)\n const discountPortionPriceValue = getDiscountPricePerPortion(price, plan)\n setDiscountPortionPrice(discountPortionPriceValue)\n }, [price, oldPrice, plan])\n\n return (\n \n
\n
{t('forms.priceTitlePart1')}
\n

{t('forms.priceTitlePart2')}

\n
\n
\n \n {discountedPrice ? discountedPrice:''} Zł\n
\n {\n // duration!==5 && \n
\n {oldPrice && `${oldPrice} Zł`}\n {price ? price : dprice}Zł\n
\n }\n \n {/* {plan === \"2 týdny\" && (\n
\n \n {discountPrice ? discountPrice : \"400\"}\n {\" \"}\n Kč\n
\n )} */}\n \n {/*
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
*/}\n \n )\n}\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = filterInvalidDOMProps;\nvar _htmlAttributes = require(\"html-attributes\");\nvar _htmlAttributes2 = _interopRequireDefault(_htmlAttributes);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nvar eventProps = {\n onCopy: true,\n onCut: true,\n onPaste: true,\n onLoad: true,\n onError: true,\n onWheel: true,\n onScroll: true,\n onCompositionEnd: true,\n onCompositionStart: true,\n onCompositionUpdate: true,\n onKeyDown: true,\n onKeyPress: true,\n onKeyUp: true,\n onFocus: true,\n onBlur: true,\n onChange: true,\n onInput: true,\n onSubmit: true,\n onClick: true,\n onContextMenu: true,\n onDoubleClick: true,\n onDrag: true,\n onDragEnd: true,\n onDragEnter: true,\n onDragExit: true,\n onDragLeave: true,\n onDragOver: true,\n onDragStart: true,\n onDrop: true,\n onMouseDown: true,\n onMouseEnter: true,\n onMouseLeave: true,\n onMouseMove: true,\n onMouseOut: true,\n onMouseOver: true,\n onMouseUp: true,\n onSelect: true,\n onTouchCancel: true,\n onTouchEnd: true,\n onTouchMove: true,\n onTouchStart: true,\n onAnimationStart: true,\n onAnimationEnd: true,\n onAnimationIteration: true,\n onTransitionEnd: true\n};\nfunction isValidDOMProp(prop) {\n return eventProps[prop] || _htmlAttributes2.default[prop] || /^(data|aria)-/.test(prop);\n}\nfunction filterInvalidDOMProps(props) {\n var domProps = {};\n for (var prop in props) {\n if (props.hasOwnProperty(prop) && isValidDOMProp(prop)) {\n domProps[prop] = props[prop];\n }\n }\n return domProps;\n}","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"mainForm\":\"main-form2-module--mainForm--3xN8j\",\"heroForm\":\"main-form2-module--heroForm--1CROD\",\"mainFormWrap\":\"main-form2-module--mainFormWrap--1Oqfc\",\"info\":\"main-form2-module--info--3mPsG\",\"mainFormInfo\":\"main-form2-module--mainFormInfo--1b8cJ\",\"inputField\":\"main-form2-module--inputField--2Iorn\",\"inputFieldLabel\":\"main-form2-module--inputFieldLabel--Z4ACq\",\"inputFieldTitle\":\"main-form2-module--inputFieldTitle--1i17j\",\"inputFieldSubTitle\":\"main-form2-module--inputFieldSubTitle--ZVVgl\",\"inputFieldRow\":\"main-form2-module--inputFieldRow--11lxR\",\"inputFieldColumn\":\"main-form2-module--inputFieldColumn--3xcLk\",\"mainFormTitle\":\"main-form2-module--mainFormTitle--20LB5\",\"mainFormBox\":\"main-form2-module--mainFormBox--2E_Wb\",\"buttons\":\"main-form2-module--buttons--1xwVF\",\"submitButton\":\"main-form2-module--submitButton--1DBiO\",\"inputWrap\":\"main-form2-module--inputWrap--CY_F6\",\"inputIcon\":\"main-form2-module--inputIcon--14VSB\",\"input\":\"main-form2-module--input--IRJ0k\",\"checkTerms\":\"main-form2-module--checkTerms--1e1sj\",\"inputError\":\"main-form2-module--inputError--25aLr\",\"radioPanel\":\"main-form2-module--radioPanel--2pT0L\",\"label\":\"main-form2-module--label--1tS_4\"};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.clone = clone;\nexports.isDate = isDate;\nexports.addMonths = addMonths;\nexports.isSameDay = isSameDay;\nexports.isSameMonth = isSameMonth;\nexports.isDayBefore = isDayBefore;\nexports.isDayAfter = isDayAfter;\nexports.isPastDay = isPastDay;\nexports.isFutureDay = isFutureDay;\nexports.isDayBetween = isDayBetween;\nexports.addDayToRange = addDayToRange;\nexports.isDayInRange = isDayInRange;\nexports.getWeekNumber = getWeekNumber;\n/**\n * Clone a date object.\n *\n * @export\n * @param {Date} d The date to clone\n * @return {Date} The cloned date\n */\nfunction clone(d) {\n return new Date(d.getTime());\n}\n\n/**\n * Return `true` if the passed value is a valid JavaScript Date object.\n *\n * @export\n * @param {any} value\n * @returns {Boolean}\n */\nfunction isDate(value) {\n return value instanceof Date && !isNaN(value.valueOf());\n}\n\n/**\n * Return `d` as a new date with `n` months added.\n *\n * @export\n * @param {Date} d\n * @param {number} n\n */\nfunction addMonths(d, n) {\n var newDate = clone(d);\n newDate.setMonth(d.getMonth() + n);\n return newDate;\n}\n\n/**\n * Return `true` if two dates are the same day, ignoring the time.\n *\n * @export\n * @param {Date} d1\n * @param {Date} d2\n * @return {Boolean}\n */\nfunction isSameDay(d1, d2) {\n if (!d1 || !d2) {\n return false;\n }\n return d1.getDate() === d2.getDate() && d1.getMonth() === d2.getMonth() && d1.getFullYear() === d2.getFullYear();\n}\n\n/**\n * Return `true` if two dates fall in the same month.\n *\n * @export\n * @param {Date} d1\n * @param {Date} d2\n * @return {Boolean}\n */\nfunction isSameMonth(d1, d2) {\n if (!d1 || !d2) {\n return false;\n }\n return d1.getMonth() === d2.getMonth() && d1.getFullYear() === d2.getFullYear();\n}\n\n/**\n * Returns `true` if the first day is before the second day.\n *\n * @export\n * @param {Date} d1\n * @param {Date} d2\n * @returns {Boolean}\n */\nfunction isDayBefore(d1, d2) {\n var day1 = clone(d1).setHours(0, 0, 0, 0);\n var day2 = clone(d2).setHours(0, 0, 0, 0);\n return day1 < day2;\n}\n\n/**\n * Returns `true` if the first day is after the second day.\n *\n * @export\n * @param {Date} d1\n * @param {Date} d2\n * @returns {Boolean}\n */\nfunction isDayAfter(d1, d2) {\n var day1 = clone(d1).setHours(0, 0, 0, 0);\n var day2 = clone(d2).setHours(0, 0, 0, 0);\n return day1 > day2;\n}\n\n/**\n * Return `true` if a day is in the past, e.g. yesterday or any day\n * before yesterday.\n *\n * @export\n * @param {Date} d\n * @return {Boolean}\n */\nfunction isPastDay(d) {\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n return isDayBefore(d, today);\n}\n\n/**\n * Return `true` if a day is in the future, e.g. tomorrow or any day\n * after tomorrow.\n *\n * @export\n * @param {Date} d\n * @return {Boolean}\n */\nfunction isFutureDay(d) {\n var tomorrow = new Date(new Date().getTime() + 24 * 60 * 60 * 1000);\n tomorrow.setHours(0, 0, 0, 0);\n return d >= tomorrow;\n}\n\n/**\n * Return `true` if day `d` is between days `d1` and `d2`,\n * without including them.\n *\n * @export\n * @param {Date} d\n * @param {Date} d1\n * @param {Date} d2\n * @return {Boolean}\n */\nfunction isDayBetween(d, d1, d2) {\n var date = clone(d);\n date.setHours(0, 0, 0, 0);\n return isDayAfter(date, d1) && isDayBefore(date, d2) || isDayAfter(date, d2) && isDayBefore(date, d1);\n}\n\n/**\n * Add a day to a range and return a new range. A range is an object with\n * `from` and `to` days.\n *\n * @export\n * @param {Date} day\n * @param {Object} range\n * @return {Object} Returns a new range object\n */\nfunction addDayToRange(day) {\n var range = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n from: null,\n to: null\n };\n var from = range.from,\n to = range.to;\n if (!from) {\n from = day;\n } else if (from && to && isSameDay(from, to) && isSameDay(day, from)) {\n from = null;\n to = null;\n } else if (to && isDayBefore(day, from)) {\n from = day;\n } else if (to && isSameDay(day, to)) {\n from = day;\n to = day;\n } else {\n to = day;\n if (isDayBefore(to, from)) {\n to = from;\n from = day;\n }\n }\n return {\n from: from,\n to: to\n };\n}\n\n/**\n * Return `true` if a day is included in a range of days.\n *\n * @export\n * @param {Date} day\n * @param {Object} range\n * @return {Boolean}\n */\nfunction isDayInRange(day, range) {\n var from = range.from,\n to = range.to;\n return from && isSameDay(day, from) || to && isSameDay(day, to) || from && to && isDayBetween(day, from, to);\n}\n\n/**\n * Return the year's week number (as per ISO, i.e. with the week starting from monday)\n * for the given day.\n *\n * @export\n * @param {Date} day\n * @returns {Number}\n */\nfunction getWeekNumber(day) {\n var date = clone(day);\n date.setHours(0, 0, 0);\n date.setDate(date.getDate() + 4 - (date.getDay() || 7));\n return Math.ceil(((date - new Date(date.getFullYear(), 0, 1)) / 8.64e7 + 1) / 7);\n}\nexports.default = {\n addDayToRange: addDayToRange,\n addMonths: addMonths,\n clone: clone,\n getWeekNumber: getWeekNumber,\n isDate: isDate,\n isDayAfter: isDayAfter,\n isDayBefore: isDayBefore,\n isDayBetween: isDayBetween,\n isDayInRange: isDayInRange,\n isFutureDay: isFutureDay,\n isPastDay: isPastDay,\n isSameDay: isSameDay,\n isSameMonth: isSameMonth\n};","module.exports = extend;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction extend() {\n var target = {};\n for (var i = 0; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"price\":\"price-module--price--7wy2e\",\"priceCol\":\"price-module--priceCol--1kjEY\",\"priceColRight\":\"price-module--priceColRight--1Odg2\",\"discountCol\":\"price-module--discountCol--7yMYY\",\"priceTitle\":\"price-module--priceTitle--1ZU2G\",\"priceText\":\"price-module--priceText--1GZf-\",\"priceValue\":\"price-module--priceValue--2c2RE\",\"priceValueNew\":\"price-module--priceValueNew--s32iM\",\"priceDiscountValue\":\"price-module--priceDiscountValue--2OkAo\"};","'use strict';\n\n/**\n * Converter\n *\n * @param {string|Array} srcAlphabet\n * @param {string|Array} dstAlphabet\n * @constructor\n */\nfunction Converter(srcAlphabet, dstAlphabet) {\n if (!srcAlphabet || !dstAlphabet || !srcAlphabet.length || !dstAlphabet.length) {\n throw new Error('Bad alphabet');\n }\n this.srcAlphabet = srcAlphabet;\n this.dstAlphabet = dstAlphabet;\n}\n\n/**\n * Convert number from source alphabet to destination alphabet\n *\n * @param {string|Array} number - number represented as a string or array of points\n *\n * @returns {string|Array}\n */\nConverter.prototype.convert = function (number) {\n var i,\n divide,\n newlen,\n numberMap = {},\n fromBase = this.srcAlphabet.length,\n toBase = this.dstAlphabet.length,\n length = number.length,\n result = typeof number === 'string' ? '' : [];\n if (!this.isValid(number)) {\n throw new Error('Number \"' + number + '\" contains of non-alphabetic digits (' + this.srcAlphabet + ')');\n }\n if (this.srcAlphabet === this.dstAlphabet) {\n return number;\n }\n for (i = 0; i < length; i++) {\n numberMap[i] = this.srcAlphabet.indexOf(number[i]);\n }\n do {\n divide = 0;\n newlen = 0;\n for (i = 0; i < length; i++) {\n divide = divide * fromBase + numberMap[i];\n if (divide >= toBase) {\n numberMap[newlen++] = parseInt(divide / toBase, 10);\n divide = divide % toBase;\n } else if (newlen > 0) {\n numberMap[newlen++] = 0;\n }\n }\n length = newlen;\n result = this.dstAlphabet.slice(divide, divide + 1).concat(result);\n } while (newlen !== 0);\n return result;\n};\n\n/**\n * Valid number with source alphabet\n *\n * @param {number} number\n *\n * @returns {boolean}\n */\nConverter.prototype.isValid = function (number) {\n var i = 0;\n for (; i < number.length; ++i) {\n if (this.srcAlphabet.indexOf(number[i]) === -1) {\n return false;\n }\n }\n return true;\n};\nmodule.exports = Converter;","module.exports = \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzkiIGhlaWdodD0iMzkiIHZpZXdCb3g9IjAgMCAzOSAzOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMDc0NjcgMzQuNDg1OEMxNi41NjgxIDM0LjQ4NTggMjEuNzEzOSAzOC4zNjczIDI1LjMyNDcgMzguMzY3M0MyOC45MzU0IDM4LjM2NzMgMzYuNTE4OCAzNi4yOTE3IDM2LjUxODggMTkuNjgwOUMzNi41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iBmaWxsPSIjMzUzNjQzIi8+CjxwYXRoIGQ9Ik0xNC44OTU4IDMyLjVINy4zMTI1QzYuODY0IDMyLjUgNi41IDMyLjEzNiA2LjUgMzEuNjg3NVYyNS43MjkyQzYuNSAyNS4yODA3IDYuODY0IDI0LjkxNjcgNy4zMTI1IDI0LjkxNjdIMTQuODk1OEMxNS4zNDQzIDI0LjkxNjcgMTUuNzA4MyAyNS4yODA3IDE1LjcwODMgMjUuNzI5MlYzMS42ODc1QzE1LjcwODMgMzIuMTM2IDE1LjM0NDMgMzIuNSAxNC44OTU4IDMyLjVaTTguMTI1IDMwLjg3NUgxNC4wODMzVjI2LjU0MTdIOC4xMjVWMzAuODc1WiIgZmlsbD0iIzM1MzY0MyIvPgo8cGF0aCBkPSJNMjAuMzEyOCAyOC4xNjY3SDE4LjY4NzhWMjQuMzc1SDE4LjQxN1YyMi43NUgxOS41MDAzQzE5Ljk0ODggMjIuNzUgMjAuMzEyOCAyMy4xMTQgMjAuMzEyOCAyMy41NjI1VjI4LjE2NjdaIiBmaWxsPSIjMzUzNjQzIi8+CjxwYXRoIGQ9Ik0yLjE2Njk5IDMwLjg3NUgzNi44MzM3VjMyLjVIMi4xNjY5OVYzMC44NzVaIiBmaWxsPSIjMzUzNjQzIi8+Cjwvc3ZnPgo=\"","import \"core-js/modules/es.typed-array.set.js\";\nimport \"core-js/modules/es.typed-array.sort.js\";\n// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nvar getRandomValues;\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n // find the complete implementation of crypto (msCrypto) on IE11.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n return getRandomValues(rnds8);\n}","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\nfunction stringify(arr) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n return uuid;\n}\nexport default stringify;","import REGEX from './regex.js';\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\nexport default validate;","import rng from './rng.js';\nimport stringify from './stringify.js'; // **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nvar _nodeId;\nvar _clockseq; // Previous uuid creation time\n\nvar _lastMSecs = 0;\nvar _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n var i = buf && offset || 0;\n var b = buf || new Array(16);\n options = options || {};\n var node = options.node || _nodeId;\n var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n var seedBytes = options.random || (options.rng || rng)();\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n var msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n var tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (var n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n return buf || stringify(b);\n}\nexport default v1;","import \"core-js/modules/es.typed-array.set.js\";\nimport \"core-js/modules/es.typed-array.sort.js\";\nimport validate from './validate.js';\nfunction parse(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n var v;\n var arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\nexport default parse;","import \"core-js/modules/es.typed-array.set.js\";\nimport \"core-js/modules/es.typed-array.sort.js\";\nimport stringify from './stringify.js';\nimport parse from './parse.js';\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n var bytes = [];\n for (var i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n return bytes;\n}\nexport var DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexport var URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexport default function (name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n if (typeof namespace === 'string') {\n namespace = parse(namespace);\n }\n if (namespace.length !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n var bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n if (buf) {\n offset = offset || 0;\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n return buf;\n }\n return stringify(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","import \"core-js/modules/es.typed-array.set.js\";\nimport \"core-js/modules/es.typed-array.sort.js\";\n/*\n * Browser-compatible JavaScript MD5\n *\n * Modification of JavaScript MD5\n * https://github.com/blueimp/JavaScript-MD5\n *\n * Copyright 2011, Sebastian Tschan\n * https://blueimp.net\n *\n * Licensed under the MIT license:\n * https://opensource.org/licenses/MIT\n *\n * Based on\n * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message\n * Digest Algorithm, as defined in RFC 1321.\n * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009\n * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet\n * Distributed under the BSD License\n * See http://pajhome.org.uk/crypt/md5 for more info.\n */\nfunction md5(bytes) {\n if (typeof bytes === 'string') {\n var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape\n\n bytes = new Uint8Array(msg.length);\n for (var i = 0; i < msg.length; ++i) {\n bytes[i] = msg.charCodeAt(i);\n }\n }\n return md5ToHexEncodedArray(wordsToMd5(bytesToWords(bytes), bytes.length * 8));\n}\n/*\n * Convert an array of little-endian words to an array of bytes\n */\n\nfunction md5ToHexEncodedArray(input) {\n var output = [];\n var length32 = input.length * 32;\n var hexTab = '0123456789abcdef';\n for (var i = 0; i < length32; i += 8) {\n var x = input[i >> 5] >>> i % 32 & 0xff;\n var hex = parseInt(hexTab.charAt(x >>> 4 & 0x0f) + hexTab.charAt(x & 0x0f), 16);\n output.push(hex);\n }\n return output;\n}\n/**\n * Calculate output length with padding and bit length\n */\n\nfunction getOutputLength(inputLength8) {\n return (inputLength8 + 64 >>> 9 << 4) + 14 + 1;\n}\n/*\n * Calculate the MD5 of an array of little-endian words, and a bit length.\n */\n\nfunction wordsToMd5(x, len) {\n /* append padding */\n x[len >> 5] |= 0x80 << len % 32;\n x[getOutputLength(len) - 1] = len;\n var a = 1732584193;\n var b = -271733879;\n var c = -1732584194;\n var d = 271733878;\n for (var i = 0; i < x.length; i += 16) {\n var olda = a;\n var oldb = b;\n var oldc = c;\n var oldd = d;\n a = md5ff(a, b, c, d, x[i], 7, -680876936);\n d = md5ff(d, a, b, c, x[i + 1], 12, -389564586);\n c = md5ff(c, d, a, b, x[i + 2], 17, 606105819);\n b = md5ff(b, c, d, a, x[i + 3], 22, -1044525330);\n a = md5ff(a, b, c, d, x[i + 4], 7, -176418897);\n d = md5ff(d, a, b, c, x[i + 5], 12, 1200080426);\n c = md5ff(c, d, a, b, x[i + 6], 17, -1473231341);\n b = md5ff(b, c, d, a, x[i + 7], 22, -45705983);\n a = md5ff(a, b, c, d, x[i + 8], 7, 1770035416);\n d = md5ff(d, a, b, c, x[i + 9], 12, -1958414417);\n c = md5ff(c, d, a, b, x[i + 10], 17, -42063);\n b = md5ff(b, c, d, a, x[i + 11], 22, -1990404162);\n a = md5ff(a, b, c, d, x[i + 12], 7, 1804603682);\n d = md5ff(d, a, b, c, x[i + 13], 12, -40341101);\n c = md5ff(c, d, a, b, x[i + 14], 17, -1502002290);\n b = md5ff(b, c, d, a, x[i + 15], 22, 1236535329);\n a = md5gg(a, b, c, d, x[i + 1], 5, -165796510);\n d = md5gg(d, a, b, c, x[i + 6], 9, -1069501632);\n c = md5gg(c, d, a, b, x[i + 11], 14, 643717713);\n b = md5gg(b, c, d, a, x[i], 20, -373897302);\n a = md5gg(a, b, c, d, x[i + 5], 5, -701558691);\n d = md5gg(d, a, b, c, x[i + 10], 9, 38016083);\n c = md5gg(c, d, a, b, x[i + 15], 14, -660478335);\n b = md5gg(b, c, d, a, x[i + 4], 20, -405537848);\n a = md5gg(a, b, c, d, x[i + 9], 5, 568446438);\n d = md5gg(d, a, b, c, x[i + 14], 9, -1019803690);\n c = md5gg(c, d, a, b, x[i + 3], 14, -187363961);\n b = md5gg(b, c, d, a, x[i + 8], 20, 1163531501);\n a = md5gg(a, b, c, d, x[i + 13], 5, -1444681467);\n d = md5gg(d, a, b, c, x[i + 2], 9, -51403784);\n c = md5gg(c, d, a, b, x[i + 7], 14, 1735328473);\n b = md5gg(b, c, d, a, x[i + 12], 20, -1926607734);\n a = md5hh(a, b, c, d, x[i + 5], 4, -378558);\n d = md5hh(d, a, b, c, x[i + 8], 11, -2022574463);\n c = md5hh(c, d, a, b, x[i + 11], 16, 1839030562);\n b = md5hh(b, c, d, a, x[i + 14], 23, -35309556);\n a = md5hh(a, b, c, d, x[i + 1], 4, -1530992060);\n d = md5hh(d, a, b, c, x[i + 4], 11, 1272893353);\n c = md5hh(c, d, a, b, x[i + 7], 16, -155497632);\n b = md5hh(b, c, d, a, x[i + 10], 23, -1094730640);\n a = md5hh(a, b, c, d, x[i + 13], 4, 681279174);\n d = md5hh(d, a, b, c, x[i], 11, -358537222);\n c = md5hh(c, d, a, b, x[i + 3], 16, -722521979);\n b = md5hh(b, c, d, a, x[i + 6], 23, 76029189);\n a = md5hh(a, b, c, d, x[i + 9], 4, -640364487);\n d = md5hh(d, a, b, c, x[i + 12], 11, -421815835);\n c = md5hh(c, d, a, b, x[i + 15], 16, 530742520);\n b = md5hh(b, c, d, a, x[i + 2], 23, -995338651);\n a = md5ii(a, b, c, d, x[i], 6, -198630844);\n d = md5ii(d, a, b, c, x[i + 7], 10, 1126891415);\n c = md5ii(c, d, a, b, x[i + 14], 15, -1416354905);\n b = md5ii(b, c, d, a, x[i + 5], 21, -57434055);\n a = md5ii(a, b, c, d, x[i + 12], 6, 1700485571);\n d = md5ii(d, a, b, c, x[i + 3], 10, -1894986606);\n c = md5ii(c, d, a, b, x[i + 10], 15, -1051523);\n b = md5ii(b, c, d, a, x[i + 1], 21, -2054922799);\n a = md5ii(a, b, c, d, x[i + 8], 6, 1873313359);\n d = md5ii(d, a, b, c, x[i + 15], 10, -30611744);\n c = md5ii(c, d, a, b, x[i + 6], 15, -1560198380);\n b = md5ii(b, c, d, a, x[i + 13], 21, 1309151649);\n a = md5ii(a, b, c, d, x[i + 4], 6, -145523070);\n d = md5ii(d, a, b, c, x[i + 11], 10, -1120210379);\n c = md5ii(c, d, a, b, x[i + 2], 15, 718787259);\n b = md5ii(b, c, d, a, x[i + 9], 21, -343485551);\n a = safeAdd(a, olda);\n b = safeAdd(b, oldb);\n c = safeAdd(c, oldc);\n d = safeAdd(d, oldd);\n }\n return [a, b, c, d];\n}\n/*\n * Convert an array bytes to an array of little-endian words\n * Characters >255 have their high-byte silently ignored.\n */\n\nfunction bytesToWords(input) {\n if (input.length === 0) {\n return [];\n }\n var length8 = input.length * 8;\n var output = new Uint32Array(getOutputLength(length8));\n for (var i = 0; i < length8; i += 8) {\n output[i >> 5] |= (input[i / 8] & 0xff) << i % 32;\n }\n return output;\n}\n/*\n * Add integers, wrapping at 2^32. This uses 16-bit operations internally\n * to work around bugs in some JS interpreters.\n */\n\nfunction safeAdd(x, y) {\n var lsw = (x & 0xffff) + (y & 0xffff);\n var msw = (x >> 16) + (y >> 16) + (lsw >> 16);\n return msw << 16 | lsw & 0xffff;\n}\n/*\n * Bitwise rotate a 32-bit number to the left.\n */\n\nfunction bitRotateLeft(num, cnt) {\n return num << cnt | num >>> 32 - cnt;\n}\n/*\n * These functions implement the four basic operations the algorithm uses.\n */\n\nfunction md5cmn(q, a, b, x, s, t) {\n return safeAdd(bitRotateLeft(safeAdd(safeAdd(a, q), safeAdd(x, t)), s), b);\n}\nfunction md5ff(a, b, c, d, x, s, t) {\n return md5cmn(b & c | ~b & d, a, b, x, s, t);\n}\nfunction md5gg(a, b, c, d, x, s, t) {\n return md5cmn(b & d | c & ~d, a, b, x, s, t);\n}\nfunction md5hh(a, b, c, d, x, s, t) {\n return md5cmn(b ^ c ^ d, a, b, x, s, t);\n}\nfunction md5ii(a, b, c, d, x, s, t) {\n return md5cmn(c ^ (b | ~d), a, b, x, s, t);\n}\nexport default md5;","import v35 from './v35.js';\nimport md5 from './md5.js';\nvar v3 = v35('v3', 0x30, md5);\nexport default v3;","import rng from './rng.js';\nimport stringify from './stringify.js';\nfunction v4(options, buf, offset) {\n options = options || {};\n var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n return buf;\n }\n return stringify(rnds);\n}\nexport default v4;","import \"core-js/modules/es.typed-array.set.js\";\nimport \"core-js/modules/es.typed-array.sort.js\";\n// Adapted from Chris Veness' SHA1 code at\n// http://www.movable-type.co.uk/scripts/sha1.html\nfunction f(s, x, y, z) {\n switch (s) {\n case 0:\n return x & y ^ ~x & z;\n case 1:\n return x ^ y ^ z;\n case 2:\n return x & y ^ x & z ^ y & z;\n case 3:\n return x ^ y ^ z;\n }\n}\nfunction ROTL(x, n) {\n return x << n | x >>> 32 - n;\n}\nfunction sha1(bytes) {\n var K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6];\n var H = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0];\n if (typeof bytes === 'string') {\n var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape\n\n bytes = [];\n for (var i = 0; i < msg.length; ++i) {\n bytes.push(msg.charCodeAt(i));\n }\n } else if (!Array.isArray(bytes)) {\n // Convert Array-like to Array\n bytes = Array.prototype.slice.call(bytes);\n }\n bytes.push(0x80);\n var l = bytes.length / 4 + 2;\n var N = Math.ceil(l / 16);\n var M = new Array(N);\n for (var _i = 0; _i < N; ++_i) {\n var arr = new Uint32Array(16);\n for (var j = 0; j < 16; ++j) {\n arr[j] = bytes[_i * 64 + j * 4] << 24 | bytes[_i * 64 + j * 4 + 1] << 16 | bytes[_i * 64 + j * 4 + 2] << 8 | bytes[_i * 64 + j * 4 + 3];\n }\n M[_i] = arr;\n }\n M[N - 1][14] = (bytes.length - 1) * 8 / Math.pow(2, 32);\n M[N - 1][14] = Math.floor(M[N - 1][14]);\n M[N - 1][15] = (bytes.length - 1) * 8 & 0xffffffff;\n for (var _i2 = 0; _i2 < N; ++_i2) {\n var W = new Uint32Array(80);\n for (var t = 0; t < 16; ++t) {\n W[t] = M[_i2][t];\n }\n for (var _t = 16; _t < 80; ++_t) {\n W[_t] = ROTL(W[_t - 3] ^ W[_t - 8] ^ W[_t - 14] ^ W[_t - 16], 1);\n }\n var a = H[0];\n var b = H[1];\n var c = H[2];\n var d = H[3];\n var e = H[4];\n for (var _t2 = 0; _t2 < 80; ++_t2) {\n var s = Math.floor(_t2 / 20);\n var T = ROTL(a, 5) + f(s, b, c, d) + e + K[s] + W[_t2] >>> 0;\n e = d;\n d = c;\n c = ROTL(b, 30) >>> 0;\n b = a;\n a = T;\n }\n H[0] = H[0] + a >>> 0;\n H[1] = H[1] + b >>> 0;\n H[2] = H[2] + c >>> 0;\n H[3] = H[3] + d >>> 0;\n H[4] = H[4] + e >>> 0;\n }\n return [H[0] >> 24 & 0xff, H[0] >> 16 & 0xff, H[0] >> 8 & 0xff, H[0] & 0xff, H[1] >> 24 & 0xff, H[1] >> 16 & 0xff, H[1] >> 8 & 0xff, H[1] & 0xff, H[2] >> 24 & 0xff, H[2] >> 16 & 0xff, H[2] >> 8 & 0xff, H[2] & 0xff, H[3] >> 24 & 0xff, H[3] >> 16 & 0xff, H[3] >> 8 & 0xff, H[3] & 0xff, H[4] >> 24 & 0xff, H[4] >> 16 & 0xff, H[4] >> 8 & 0xff, H[4] & 0xff];\n}\nexport default sha1;","import v35 from './v35.js';\nimport sha1 from './sha1.js';\nvar v5 = v35('v5', 0x50, sha1);\nexport default v5;","export default '00000000-0000-0000-0000-000000000000';","import validate from './validate.js';\nfunction version(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n return parseInt(uuid.substr(14, 1), 16);\n}\nexport default version;","module.exports = \"data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjY3IiB2aWV3Qm94PSIwIDAgNjcgNjciIHdpZHRoPSI2NyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMD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yNWMuMzc5NSAwIC42ODc1LS4zMDguNjg3NS0uNjg3NXMtLjMwOC0uNjg3NS0uNjg3NS0uNjg3NWgtMi4wNjI1di0yLjA2MjVjMC0uMzc5NS0uMzA4LS42ODc1LS42ODc1LS42ODc1eiIgZmlsbD0iIzM2YWM2NSIvPjxwYXRoIGQ9Im02Mi41NjI1IDYxLjU2MjVjLjc1OTQgMCAxLjM3NS0uNjE1NiAxLjM3NS0xLjM3NXMtLjYxNTYtMS4zNzUtMS4zNzUtMS4zNzUtMS4zNzUuNjE1Ni0xLjM3NSAxLjM3NS42MTU2IDEuMzc1IDEuMzc1IDEuMzc1eiIgZmlsbD0iIzM2YWM2NSIvPjwvZz48L3N2Zz4=\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"price\":\"summary-module--price--1c45R\",\"priceCol\":\"summary-module--priceCol--L82P6\",\"priceColRight\":\"summary-module--priceColRight--3GSsf\",\"discountCol\":\"summary-module--discountCol--uQWIF\",\"priceTitle\":\"summary-module--priceTitle--2tZiS\",\"priceText\":\"summary-module--priceText--3YtGt\",\"priceValue\":\"summary-module--priceValue--3pFjl\",\"priceDiscountValue\":\"summary-module--priceDiscountValue--3TfFY\",\"priceFrap\":\"summary-module--priceFrap--3k2Ot\",\"priceDayTitle\":\"summary-module--priceDayTitle--Nsqot\",\"priceDayValue\":\"summary-module--priceDayValue--3UFmi\",\"summary\":\"summary-module--summary--2T5WC\",\"fillField\":\"summary-module--fillField--HY0k_\",\"fieldDots\":\"summary-module--fieldDots--3TVvo\",\"green\":\"summary-module--green--Qp1RY\",\"blankField\":\"summary-module--blankField--1vaUx\",\"summaryTitle\":\"summary-module--summaryTitle--2-1f1\",\"summaryTitleCel\":\"summary-module--summaryTitleCel--5yA1W\",\"summaryTitleProgram\":\"summary-module--summaryTitleProgram--3Gx60\",\"summaryTitleMenu\":\"summary-module--summaryTitleMenu--2bxuC\",\"summaryTitleKal\":\"summary-module--summaryTitleKal--1NSB7\",\"summaryTitleWeek\":\"summary-module--summaryTitleWeek--cgRo_\",\"summaryPrice\":\"summary-module--summaryPrice--2aYLk\"};","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","import {\n OrderCustomerGenderType,\n OrderFoodOnlineType,\n OrderNumberOfMealsType,\n OrderNumberOfPeopleType,\n OrderProgramDurationType,\n OrderProgramType,\n OrderWeekMealLengthType,\n OrderNumberOfMeals,\n OrderCustomerMenuType, OrderProgramDaysType, OrderCustomerWeekType,\n} from './order-food-online-type'\nimport { getOrderFoodNumberOfMeals } from './getters'\nimport { useOrderFoodContext } from './store'\nimport { OrderFoodDeliveryType } from './order-food-delivery-type'\nimport { OrderFoodDeliveryPaymentSystemData } from './order-food-delivery-data'\n\nexport const useSetters = () => {\n const [state, setState] = useOrderFoodContext()\n\n return {\n setState,\n // online\n setOrderExeptions: exeptions =>\n setState(setOrderExeptions(state, exeptions)),\n setOrderFoodNumberOfPeopleOne: () =>\n setState(setOrderFoodNumberOfPeopleOne(state)),\n setOrderFoodNumberOfPeopleTwo: () =>\n setState(setOrderFoodNumberOfPeopleTwo(state)),\n setOrderFoodNumberOfPeopleThreeOrMore: () =>\n setState(setOrderFoodNumberOfPeopleThreeOrMore(state)),\n setOrderFoodNumberOfPeopleCompany: () =>\n setState(setOrderFoodNumberOfPeopleCompany(state)),\n setOrderFoodCustomerGenderMale: () =>\n setState(setOrderFoodCustomerGenderMale(state)),\n setOrderFoodCustomerGenderFemale: () =>\n setState(setOrderFoodCustomerGenderFemale(state)),\n setOrderFoodCustomerMenuMeat: () =>\n setState(setOrderFoodCustomerMenuMeat(state)),\n setOrderFoodCustomerMenuVege: () =>\n setState(setOrderFoodCustomerMenuVege(state)),\n setOrderFoodCustomerMenuBezRib: () =>\n setState(setOrderFoodCustomerMenuBezRib(state)),\n setOrderFoodProgramWeightGain: () =>\n setState(setOrderFoodProgramWeightGain(state)),\n setOrderProgram: value =>\n setState(setOrderProgram(state,value)),\n setOrderProgramType: value => setState(setOrderProgramType(state, value)),\n setOrderFoodProgramWeightLoss: () =>\n setState(setOrderFoodProgramWeightLoss(state)),\n setOrderFoodProgramRecruitment: () =>\n setState(setOrderFoodProgramRecruitment(state)),\n setOrderFoodProgramMaintenance: () =>\n setState(setOrderFoodProgramMaintenance(state)),\n setOrderFoodProgramLunchAndDinner: () =>\n setState(setOrderFoodProgramLunchAndDinner(state)),\n setOrderProgramDuration5Days: () =>\n setState(setOrderProgramDuration5Days(state)),\n setOrderProgramDurationTime: (value) =>\n setState(setOrderProgramDurationTime(state, value)), \n setOrderProgramDuration7Days: () =>\n setState(setOrderProgramDuration7Days(state)),\n setOrderProgramDuration20Days: () =>\n\n setState(setOrderProgramDuration20Days(state)),\n setOrderProgramDuration30Days: () =>\n setState(setOrderProgramDuration30Days(state)),\n setOrderProgramDuration2Weeks: () =>\n setState(setOrderProgramDuration2Weeks(state)),\n setOrderProgramDuration1Month: () =>\n setState(setOrderProgramDuration1Month(state)),\n setOrderProgramDuration2Month: () =>\n setState(setOrderProgramDuration2Month(state)),\n setOrderProgramDuration3Month: () =>\n setState(setOrderProgramDuration3Month(state)),\n setOrderFoodNumberOfMealsBreakfast: () =>\n setState(setOrderFoodNumberOfMealsBreakfast(state)),\n setOrderFoodNumberOfMealsSnackFirst: () =>\n setState(setOrderFoodNumberOfMealsSnackFirst(state)),\n setOrderFoodNumberOfMealsLunch: () =>\n setState(setOrderFoodNumberOfMealsLunch(state)),\n setOrderFoodNumberOfMealsSnackSecond: () =>\n setState(setOrderFoodNumberOfMealsSnackSecond(state)),\n setOrderFoodNumberOfMealsDinner: () =>\n setState(setOrderFoodNumberOfMealsDinner(state)),\n setOrderFoodWeekMeal5DaysLength: () =>\n setState(setOrderFoodWeekMeal5DaysLength(state)),\n setOrderFoodWeekMeal6DaysLength: () =>\n setState(setOrderFoodWeekMeal6DaysLength(state)),\n setOrderFoodNumberOfMealsBreakfastToggle: () =>\n setState(setOrderFoodNumberOfMealsBreakfastToggle(state)),\n setOrderFoodNumberOfMealsSnackFirstToggle: () =>\n setState(setOrderFoodNumberOfMealsSnackFirstToggle(state)),\n setOrderFoodNumberOfMealsLunchToggle: () =>\n setState(setOrderFoodNumberOfMealsLunchToggle(state)),\n setOrderFoodNumberOfMealsSnackSecondToggle: () =>\n setState(setOrderFoodNumberOfMealsSnackSecondToggle(state)),\n setOrderFoodNumberOfMealsDinnerToggle: () =>\n setState(setOrderFoodNumberOfMealsDinnerToggle(state)),\n setOrderFoodNumberOfKcal: value =>\n setState(setOrderFoodNumberOfKcal(state, value)),\n setOrderFoodDiscount: value => setState(setOrderFoodDiscount(state, value)),\n setOrderFoodPriceDiscount: value =>\n setState(setOrderFoodPriceDiscount(state, value)),\n setOrderFoodPromoCode: value =>\n setState(setOrderFoodPromoCode(state, value)),\n setIsCompanyOrder: value => setState(setIsCompanyOrder(state, value)),\n setOrderFoodNumberOfMeals: value =>\n setState(setOrderFoodNumberOfMeals(state, value)),\n // contact-information\n //\n // delivery\n setOrderFoodDeliveryAddress: value =>\n setState(setOrderFoodDeliveryAddress(state, value)),\n setOrderFoodDeliveryCity: value =>\n setState(setOrderFoodDeliveryCity(state, value)),\n setOrderFoodDeliveryPrice: value =>\n setState(setOrderFoodDeliveryPrice(state, value)),\n setOrderFoodDeliveryCalendar: value =>\n setState(setOrderFoodDeliveryCalendar(state, value)),\n setOrderFoodDeliveryTime: value =>\n setState(setOrderFoodDeliveryTime(state, value)),\n setOrderFoodDeliveryPaymentPayPal: () =>\n setState(setOrderFoodDeliveryPaymentPayPal(state)),\n setOrderFoodDeliveryPaymentApplePay: () =>\n setState(setOrderFoodDeliveryPaymentApplePay(state)),\n setOrderFoodDeliveryPaymentCard: () =>\n setState(setOrderFoodDeliveryPaymentCard(state)),\n setOrderFoodDeliveryPaymentBank: () =>\n setState(setOrderFoodDeliveryPaymentBank(state)),\n\n setOrderFoodDeliveryPaymentPayPalToggle: () =>\n setState(setOrderFoodDeliveryPaymentPayPalToggle(state)),\n setOrderFoodDeliveryPaymentApplePayToggle: () =>\n setState(setOrderFoodDeliveryPaymentApplePayToggle(state)),\n setOrderFoodDeliveryPaymentCardToggle: () =>\n setState(setOrderFoodDeliveryPaymentCardToggle(state)),\n setOrderFoodDeliveryPaymentBankToggle: () =>\n setState(setOrderFoodDeliveryPaymentBankToggle(state)),\n setOrderMondayFood: () =>\n setState(setOrderMondayFood(state)),\n setOrderTuesdayFood: () =>\n setState(setOrderTuesdayFood(state)),\n setOrderWednesdayFood: () =>\n setState(setOrderWednesdayFood(state)),\n setOrderThursdayFood: () =>\n setState(setOrderThursdayFood(state)),\n setOrderFridayFood: () =>\n setState(setOrderFridayFood(state)),\n setOrderSaturdayFood: () =>\n setState(setOrderSaturdayFood(state)),\n setOrderFoodDeliveryTerms1Toggle: () =>\n setState(setOrderFoodDeliveryTerms1Toggle(state)),\n setOrderFoodDeliveryTerms2Toggle: () =>\n setState(setOrderFoodDeliveryTerms2Toggle(state)),\n }\n}\n\n// online\nconst setOrderFoodNumberOfPeopleOne = (state = {}) => {\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfPeople]: OrderNumberOfPeopleType.One,\n }\n}\n\nconst setOrderExeptions = (state, exeptions)=>{\n return {\n ...state,\n [OrderFoodOnlineType.Exeptions]: exeptions,\n }\n}\n\nconst setOrderFoodProgramWeightGain = state => {\n return {\n ...state,\n [OrderFoodOnlineType.Program]: OrderProgramType.WeightGainProgram,\n }\n}\n\nconst setOrderProgram= (state,value) => {\n return {\n ...state,\n [OrderFoodOnlineType.Program]: value,\n }\n}\n\nconst setOrderProgramType= (state,value) => {\n return {\n ...state,\n [OrderFoodOnlineType.ProgramType]: value,\n }\n}\n\nconst setOrderFoodNumberOfPeopleTwo = state => {\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfPeople]: OrderNumberOfPeopleType.Two,\n }\n}\n\nconst setOrderFoodNumberOfPeopleThreeOrMore = state => {\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfPeople]: OrderNumberOfPeopleType.ThreeOrMore,\n }\n}\n\nconst setOrderFoodNumberOfPeopleCompany = state => {\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfPeople]: OrderNumberOfPeopleType.TheCompany,\n }\n}\n\n//\n\nconst setOrderFoodCustomerGenderMale = state => {\n return {\n ...state,\n [OrderFoodOnlineType.CustomerGender]: OrderCustomerGenderType.Male,\n }\n}\n\nconst setOrderFoodCustomerGenderFemale = state => {\n return {\n ...state,\n [OrderFoodOnlineType.CustomerGender]: OrderCustomerGenderType.Female,\n }\n}\n\n//\n\nconst setOrderFoodCustomerMenuMeat = state => {\n return {\n ...state,\n [OrderFoodOnlineType.CustomerMenu]: OrderCustomerMenuType.Meat,\n }\n}\n\nconst setOrderFoodCustomerMenuVege = state => {\n return {\n ...state,\n [OrderFoodOnlineType.CustomerMenu]: OrderCustomerMenuType.Vege,\n }\n}\n\nconst setOrderFoodCustomerMenuBezRib = state => {\n return {\n ...state,\n [OrderFoodOnlineType.CustomerMenu]: OrderCustomerMenuType.BEZ_RIB,\n }\n}\n\n//\n\nconst setOrderFoodProgramWeightLoss = state => {\n return {\n ...state,\n [OrderFoodOnlineType.Program]: OrderProgramType.WeightLossProgram,\n }\n}\n\nconst setOrderFoodProgramRecruitment = state => {\n return {\n ...state,\n [OrderFoodOnlineType.Program]: OrderProgramType.RecruitmentProgram,\n }\n}\n\nconst setOrderFoodProgramMaintenance = state => {\n return {\n ...state,\n [OrderFoodOnlineType.Program]: OrderProgramType.MaintenanceProgram,\n }\n}\n\nconst setOrderFoodProgramLunchAndDinner = state => {\n return {\n ...state,\n [OrderFoodOnlineType.Program]: OrderProgramType.LunchAndDinnerProgram,\n }\n}\n\n//\n\nconst setOrderMondayFood = state => {\n return {\n ...state,\n [OrderFoodOnlineType.CustomerMenu]: OrderCustomerWeekType.Monday,\n }\n}\n//\n\n\nconst setOrderTuesdayFood = state => {\n return {\n ...state,\n [OrderFoodOnlineType.CustomerMenu]: OrderCustomerWeekType.Tuesday,\n }\n}\n//\n\nconst setOrderWednesdayFood = state => {\n return {\n ...state,\n [OrderFoodOnlineType.CustomerMenu]: OrderCustomerWeekType.Wednesday,\n }\n}\n//\n\nconst setOrderThursdayFood = state => {\n return {\n ...state,\n [OrderFoodOnlineType.CustomerMenu]: OrderCustomerWeekType.Thursday,\n }\n}\n//\n\nconst setOrderFridayFood = state => {\n return {\n ...state,\n [OrderFoodOnlineType.CustomerMenu]: OrderCustomerWeekType.Friday,\n }\n}\n//\n\nconst setOrderSaturdayFood = state => {\n return {\n ...state,\n [OrderFoodOnlineType.CustomerMenu]: OrderCustomerWeekType.Saturday,\n }\n}\n//\n\n\nconst setOrderProgramDuration2Weeks = state => {\n return {\n ...state,\n [OrderFoodOnlineType.ProgramDuration]: OrderProgramDurationType.TwoWeeks,\n }\n}\nconst setOrderProgramDuration5Days = state => {\n return {\n ...state,\n [OrderFoodOnlineType.ProgramDaysDuration]: OrderProgramDaysType.days5,\n }\n}\n\nconst setOrderProgramDuration7Days = state => {\n return {\n ...state,\n [OrderFoodOnlineType.ProgramDaysDuration]: OrderProgramDaysType.days7,\n }\n}\n\nconst setOrderProgramDuration20Days = state => {\n return {\n ...state,\n [OrderFoodOnlineType.ProgramDaysDuration]: OrderProgramDaysType.days20,\n }\n}\n\nconst setOrderProgramDurationTime = (state, value)=>{\n return {\n ...state,\n [OrderFoodOnlineType.ProgramDurationTime] : value\n }\n}\n\nconst setOrderProgramDuration30Days = state => {\n return {\n ...state,\n [OrderFoodOnlineType.ProgramDaysDuration]: OrderProgramDaysType.days30,\n }\n}\n\nconst setOrderProgramDuration1Month = state => {\n return {\n ...state,\n [OrderFoodOnlineType.ProgramDuration]: OrderProgramDurationType.OneMonth,\n }\n}\n\nconst setOrderProgramDuration2Month = state => {\n return {\n ...state,\n [OrderFoodOnlineType.ProgramDuration]: OrderProgramDurationType.TwoMonth,\n }\n}\n\nconst setOrderProgramDuration3Month = state => {\n return {\n ...state,\n [OrderFoodOnlineType.ProgramDuration]: OrderProgramDurationType.ThreeMonth,\n }\n}\n\n//\n\nconst setOrderFoodNumberOfMealsBreakfast = state => {\n const meals = getOrderFoodNumberOfMeals(state)\n const data = meals.concat(OrderNumberOfMealsType.Breakfast)\n\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfMeals]: data.filter(\n (element, index) => data.indexOf(element) === index\n ),\n }\n}\n\nconst setOrderFoodNumberOfMealsBreakfastToggle = state => {\n const meals = getOrderFoodNumberOfMeals(state)\n const found = meals.find(x => x === OrderNumberOfMealsType.Breakfast)\n const data = found\n ? meals.filter(x => x !== OrderNumberOfMealsType.Breakfast)\n : meals.concat(OrderNumberOfMealsType.Breakfast)\n\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfMeals]: data.filter(\n (element, index) => data.indexOf(element) === index\n ),\n }\n}\n\nconst setOrderFoodNumberOfMealsSnackFirst = state => {\n const meals = getOrderFoodNumberOfMeals(state)\n const data = meals.concat(OrderNumberOfMealsType.SnackFirst)\n\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfMeals]: data.filter(\n (element, index) => data.indexOf(element) === index\n ),\n }\n}\n\nconst setOrderFoodNumberOfMeals = (state, value) => {\n const numberOfMeals = Object.values(OrderNumberOfMeals).find(\n val => val === value\n )\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfMeals]: numberOfMeals,\n }\n}\n\nconst setOrderFoodNumberOfMealsSnackFirstToggle = state => {\n const meals = getOrderFoodNumberOfMeals(state)\n const found = meals.find(x => x === OrderNumberOfMealsType.SnackFirst)\n const data = found\n ? meals.filter(x => x !== OrderNumberOfMealsType.SnackFirst)\n : meals.concat(OrderNumberOfMealsType.SnackFirst)\n\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfMeals]: data.filter(\n (element, index) => data.indexOf(element) === index\n ),\n }\n}\n\nconst setOrderFoodNumberOfMealsLunch = state => {\n const meals = getOrderFoodNumberOfMeals(state)\n const data = meals.concat(OrderNumberOfMealsType.Lunch)\n\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfMeals]: data.filter(\n (element, index) => data.indexOf(element) === index\n ),\n }\n}\n\nconst setOrderFoodNumberOfMealsLunchToggle = state => {\n const meals = getOrderFoodNumberOfMeals(state)\n const found = meals.find(x => x === OrderNumberOfMealsType.Lunch)\n const data = found\n ? meals.filter(x => x !== OrderNumberOfMealsType.Lunch)\n : meals.concat(OrderNumberOfMealsType.Lunch)\n\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfMeals]: data.filter(\n (element, index) => data.indexOf(element) === index\n ),\n }\n}\n\nconst setOrderFoodNumberOfMealsSnackSecond = state => {\n const meals = getOrderFoodNumberOfMeals(state)\n const data = meals.concat(OrderNumberOfMealsType.SnackSecond)\n\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfMeals]: data.filter(\n (element, index) => data.indexOf(element) === index\n ),\n }\n}\n\nconst setOrderFoodNumberOfMealsSnackSecondToggle = state => {\n const meals = getOrderFoodNumberOfMeals(state)\n const found = meals.find(x => x === OrderNumberOfMealsType.SnackSecond)\n const data = found\n ? meals.filter(x => x !== OrderNumberOfMealsType.SnackSecond)\n : meals.concat(OrderNumberOfMealsType.SnackSecond)\n\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfMeals]: data.filter(\n (element, index) => data.indexOf(element) === index\n ),\n }\n}\n\nconst setOrderFoodNumberOfMealsDinner = state => {\n const meals = getOrderFoodNumberOfMeals(state)\n const data = meals.concat(OrderNumberOfMealsType.Dinner)\n\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfMeals]: data.filter(\n (element, index) => data.indexOf(element) === index\n ),\n }\n}\n\nconst setOrderFoodNumberOfMealsDinnerToggle = state => {\n const meals = getOrderFoodNumberOfMeals(state)\n const found = meals.find(x => x === OrderNumberOfMealsType.Dinner)\n const data = found\n ? meals.filter(x => x !== OrderNumberOfMealsType.Dinner)\n : meals.concat(OrderNumberOfMealsType.Dinner)\n\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfMeals]: data.filter(\n (element, index) => data.indexOf(element) === index\n ),\n }\n}\n\n//\n\nconst setOrderFoodNumberOfKcal = (state, value) => {\n return {\n ...state,\n [OrderFoodOnlineType.NumberOfKcal]: value,\n }\n}\n\n//\n\nconst setOrderFoodWeekMeal5DaysLength = state => {\n return {\n ...state,\n [OrderFoodOnlineType.WeekMealLength]: OrderWeekMealLengthType.FiveDays,\n }\n}\n\nconst setOrderFoodWeekMeal6DaysLength = state => {\n return {\n ...state,\n [OrderFoodOnlineType.WeekMealLength]: OrderWeekMealLengthType.SixDays,\n }\n}\n\n//\n\nconst setOrderFoodDiscount = (state, value) => {\n return {\n ...state,\n [OrderFoodOnlineType.Discount]: value,\n }\n}\n\nconst setOrderFoodPriceDiscount = (state, value) => {\n return {\n ...state,\n [OrderFoodOnlineType.PriceDiscount]: value,\n }\n}\n\nconst setOrderFoodPromoCode = (state, value) => {\n return {\n ...state,\n [OrderFoodOnlineType.PromoCode]: value,\n }\n}\n\n// contact-information\n\nconst setIsCompanyOrder = (state, value) => {\n return {\n ...state,\n [OrderFoodOnlineType.IsCompanyOrder]: value,\n }\n}\n\n// delivery\nconst setOrderFoodDeliveryAddress = (state, value) => {\n return {\n ...state,\n [OrderFoodDeliveryType.Address]: value,\n }\n}\n\n//\n\n\n\nconst setOrderFoodDeliveryCity = (state, value) => {\n return {\n ...state,\n [OrderFoodDeliveryType.City]: value,\n }\n}\nconst setOrderFoodDeliveryPrice = (state, value) => {\n return {\n ...state,\n [OrderFoodDeliveryType.Price]: value,\n }\n}\n\nconst setOrderFoodDeliveryCalendar = (state, value) => {\n return {\n ...state,\n [OrderFoodDeliveryType.Calendar]: value,\n }\n}\n\nconst setOrderFoodDeliveryTime = (state, value = []) => {\n return {\n ...state,\n [OrderFoodDeliveryType.Time]: value,\n }\n}\n\nconst setOrderFoodDeliveryPaymentPayPal = state => {\n return {\n ...state,\n [OrderFoodDeliveryType.PaymentSystem]:\n OrderFoodDeliveryPaymentSystemData.PayPal,\n }\n}\n\nconst setOrderFoodDeliveryPaymentApplePay = state => {\n return {\n ...state,\n [OrderFoodDeliveryType.PaymentSystem]:\n OrderFoodDeliveryPaymentSystemData.ApplePay,\n }\n}\n\nconst setOrderFoodDeliveryPaymentCard = state => {\n return {\n ...state,\n [OrderFoodDeliveryType.PaymentSystem]:\n OrderFoodDeliveryPaymentSystemData.Card,\n }\n}\n\nconst setOrderFoodDeliveryPaymentBank = state => {\n return {\n ...state,\n [OrderFoodDeliveryType.PaymentSystem]:\n OrderFoodDeliveryPaymentSystemData.Bank,\n }\n}\n\nconst setOrderFoodDeliveryPaymentPayPalToggle = state => {\n const paymentSystem = state?.[OrderFoodDeliveryType.PaymentSystem]\n const found = paymentSystem === OrderFoodDeliveryPaymentSystemData.PayPal\n const data = !found ? OrderFoodDeliveryPaymentSystemData.PayPal : undefined\n\n return {\n ...state,\n [OrderFoodDeliveryType.PaymentSystem]: data,\n }\n}\n\nconst setOrderFoodDeliveryPaymentApplePayToggle = state => {\n const paymentSystem = state?.[OrderFoodDeliveryType.PaymentSystem]\n const found = paymentSystem === OrderFoodDeliveryPaymentSystemData.ApplePay\n const data = !found ? OrderFoodDeliveryPaymentSystemData.ApplePay : undefined\n\n return {\n ...state,\n [OrderFoodDeliveryType.PaymentSystem]: data,\n }\n}\n\nconst setOrderFoodDeliveryPaymentCardToggle = state => {\n const paymentSystem = state?.[OrderFoodDeliveryType.PaymentSystem]\n const found = paymentSystem === OrderFoodDeliveryPaymentSystemData.Card\n const data = !found ? OrderFoodDeliveryPaymentSystemData.Card : undefined\n\n return {\n ...state,\n [OrderFoodDeliveryType.PaymentSystem]: data,\n }\n}\n\nconst setOrderFoodDeliveryPaymentBankToggle = state => {\n const paymentSystem = state?.[OrderFoodDeliveryType.PaymentSystem]\n const found = paymentSystem === OrderFoodDeliveryPaymentSystemData.Bank\n const data = !found ? OrderFoodDeliveryPaymentSystemData.Bank : undefined\n\n return {\n ...state,\n [OrderFoodDeliveryType.PaymentSystem]: data,\n }\n}\n\nconst setOrderFoodDeliveryTerms1Toggle = state => {\n const found = state?.[OrderFoodDeliveryType.Terms1]\n const data = !found\n\n return {\n ...state,\n [OrderFoodDeliveryType.Terms1]: data,\n }\n}\n\nconst setOrderFoodDeliveryTerms2Toggle = state => {\n const found = state?.[OrderFoodDeliveryType.Terms2]\n const data = !found\n\n return {\n ...state,\n [OrderFoodDeliveryType.Terms2]: data,\n }\n}\n","import cx from 'classnames'\nimport { ErrorMessage, FastField, Field, Form, withFormik } from 'formik'\nimport { trackCustomEvent } from 'gatsby-plugin-google-analytics'\nimport React, { useEffect, useState, useContext, useRef } from 'react'\nimport { Trans, useTranslation } from 'react-i18next'\nimport * as Yup from 'yup'\nimport { useModal } from '../modal2'\nimport {\n formatPhoneNumber,\n getCookie,\n getReferrer,\n getUTM,\n} from '../../helpers'\nimport { Button2 } from '../button2'\nimport stylesRadio from '../calculator2/calc2.module.css'\nimport { Price } from '../price'\nimport styles from './form.module.css'\nimport {\n PhoneErrorMessage,\n Terms2ErrorRequiredMessage,\n TermsErrorRequiredMessage,\n} from './forms-error-messages'\nimport option3Img from './icons/icon-2months.svg'\nimport option1Img from './icons/icon-demo.svg'\nimport option2Img from './icons/icon-month.svg'\nimport nabiratIcon from './icons/nabirat-icon.svg'\nimport udrzovatIcon from './icons/udrzovat-icon.svg'\nimport zhubnostIcon from './icons/zhubnout-icon.svg'\nimport mainFormStyles from './main-form2.module.css'\nimport orderFormStyles from './order-form.module.css'\nimport menu1 from './../../images/menu1.svg'\nimport menu2 from './../../images/menu2.svg'\nimport menu3 from './../../images/menu3.svg'\n\nimport { MaskedPhoneInput } from './phone'\nimport {\n useGetters,\n useSetters,\n} from '../../features/pages/order-food-online/model'\nimport { WeWillShipThisWeek } from '../we-will-ship-this-week'\n\n// import cx from 'classnames';\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 12 znaků', value =>\n rePhoneNumber.test(value)\n )\n})\n\n// Input feedback\nconst InputFeedback = ({ error }) =>\n error ?
{error}
: null\n\n// Radio input\nconst RadioButton = ({\n field: { name, value, onChange },\n id,\n label,\n title,\n className,\n withImg = false,\n disabled = false,\n ...props\n}) => {\n return (\n \n \n \n \n )\n}\n\nconst RadioButtonGroup = ({\n value,\n error,\n touched,\n id,\n className,\n onChange,\n children,\n}) => {\n const classes = cx(\n {\n success: value || (!error && touched),\n error: !!error && touched,\n },\n className\n )\n\n return (\n
\n {children}\n {touched && }\n
\n )\n}\n\nexport const WrappedForm = ({ isSubmitting, values, errors, touched }) => {\n return \n}\n\nconst MainFormLayout = ({\n isSubmitting,\n values,\n errors,\n touched,\n setFieldValue,\n}) => {\n const [plan, setPlan] = useState('Zhubnout')\n const [price, setPrice] = useState('72')\n const [program, setProgram] = useState('Nutriotion')\n const [menu, setMenu] = useState('1000')\n const [isChanged, setIsChanged] = useState(false)\n const [plan2disabled, setPlan2Disabled] = useState(false)\n const [plan3disabled, setPlan3Disabled] = useState(false)\n const [menu2xDisabled, setMenu2xDisabled] = useState(false)\n const [menu3xDisabled, setMenu3xDisabled] = useState(false)\n const [menu4xDisabled, setMenu4xDisabled] = useState(false)\n const [checkTerms, setCheckTerms] = useState(false)\n const [checkTerms2, setCheckTerms2] = useState(false)\n const [osob, setOsob] = useState('1 osoba')\n const [days, setDays] = useState('20 dni')\n const [oldPrice, setOldPrice] = useState(null)\n const isEn = document.location.pathname.includes('/en')\n const link = isEn ? '/en/order-food-online' : '/order-food-online'\n const { show, RenderModal } = useModal()\n\n const phoneRef = useRef()\n const getters = useGetters()\n const setters = useSetters()\n\n const isOnlineFormLinkAvailable =\n window.location.href.indexOf('krabickova-dieta-') > -1\n const useMenuOptions = () => {\n const getters = useGetters()\n\n let dataCalorie = []\n\n if (getters.isOrderFoodProgramWeightLoss) {\n dataCalorie = getOrderLossWeight()\n }\n\n if (getters.isOrderFoodProgramWeightGain) {\n dataCalorie = getOrderGainWeight()\n }\n\n if (getters.isOrderFoodProgramMaintenance) {\n dataCalorie = getOrderMintainance()\n }\n return dataCalorie\n }\n const getOrderMintainance = () => {\n const isNutritionActive =\n getters.getOrderProgramType === 'Nutriotion Active' &&\n getters.getOrderFoodProgram === 'MAINTENANCE_PROGRAM'\n const isOffice = getters.getOrderProgramType === 'Office' &&\n getters.getOrderFoodProgram === 'MAINTENANCE_PROGRAM'\n const isOfficeVege = getters.getOrderProgramType === 'Office Vege' &&\n getters.getOrderFoodProgram === 'MAINTENANCE_PROGRAM'\n\n const excludedValues = ['850', '1250']\n const excludedValues2 = ['1000', '1200', '2000']\n\n let weights = [\n {\n id: 7,\n value: '1000',\n label: '72',\n disabled: isNutritionActive,\n },\n {\n id: 8,\n value: '1200',\n label: '75',\n disabled: isNutritionActive,\n },\n {\n id: 9,\n value: '1500',\n label: '81',\n disabled: isNutritionActive,\n },\n {\n id: 10,\n value: '1800',\n label: '89',\n disabled: isNutritionActive,\n active: true,\n },\n {\n id: 11,\n value: '2000',\n label: '95',\n disabled: !isNutritionActive,\n active: true,\n },\n {\n id: 12,\n value: '2200',\n label: '99',\n disabled: isNutritionActive,\n active: true,\n },\n {\n id: 13,\n value: '2500',\n label: '104',\n disabled: isNutritionActive,\n active: true,\n },\n ]\n let weightsVegeNut = [\n {\n id: 9,\n value: '1500',\n label: '89',\n disabled: isNutritionActive,\n },\n {\n id: 10,\n value: '1800',\n label: '94',\n disabled: isNutritionActive,\n active: true,\n },\n {\n id: 11,\n value: '2000',\n label: '99',\n disabled: !isNutritionActive,\n active: true,\n },\n {\n id: 12,\n value: '2500',\n label: '106',\n disabled: isNutritionActive,\n active: true,\n },\n ]\n let weightsOffice = [\n {\n id: 13,\n value: '850',\n label: '63',\n disabled: isNutritionActive,\n },\n {\n id: 14,\n value: '1250',\n label: '75',\n disabled: isNutritionActive,\n active: true,\n },\n ]\n let weightsOfficeVege = [\n {\n id: 13,\n value: '850',\n label: '63',\n disabled: isNutritionActive,\n },\n {\n id: 14,\n value: '1250',\n label: '75',\n disabled: isNutritionActive,\n active: true,\n },\n ]\n if (isNutritionActive) {\n return weightsVegeNut\n }\n if (isOffice) {\n return weightsOffice\n }\n if (isOfficeVege) {\n return weightsOfficeVege\n }\n if (\n (getters.getOrderProgramType === 'Nutriotion' ||\n getters.getOrderProgramType === 'Nutriotion Vege' && getters.getOrderProgramType !== 'Office' && getters.getOrderProgramType !== 'Office Vege') &&\n getters.getOrderFoodProgram === 'MAINTENANCE_PROGRAM'\n ) {\n weights = weights.filter(\n weight => !excludedValues2.includes(weight.value)\n )\n }\n\n return weights\n }\n useEffect(() => {\n // const priceValue = getPrice(menu, program, plan, osob)\n // const isLossWeight = plan === 'Zhubnout' ? dataCalorie?.find(item => item.value === '1000')?.label : dataCalorie?.find(item => item.value === '2500')?.label\n // console.log(isLossWeight, priceValue, 'isLossWeight88888888888888888888');\n // setPrice(\n // priceValue\n // ? priceValue\n // : isLossWeight\n // )\n\n if (\n getters.getOrderFoodProgram === 'WEIGHT_LOSS_PROGRAM' &&\n getters.getOrderProgramType !== 'Office Vege' &&\n getters.getOrderProgramType !== 'Office'\n ) {\n setFieldValue('menu', '1000')\n setPrice('72')\n setPrice(dataCalorie?.find(item => item.value === '1000')?.label)\n } else if (\n getters.getOrderProgramType === 'Office Vege' ||\n getters.getOrderProgramType === 'Office'\n ) {\n setFieldValue('menu', '850')\n setPrice('63')\n setPrice(dataCalorie?.find(item => item.value === '850')?.label)\n } else {\n setFieldValue('menu', '2500')\n // setPlan('Zhubnout')\n setPrice('104')\n }\n setFieldValue('day', '20')\n // setFieldValue('program', 'Nutriotion')\n }, [plan, setFieldValue, program])\n\n const getOrderLossWeight = () => {\n const isNutritionActive =\n getters.getOrderProgramType === 'Nutriotion Active' &&\n getters.getOrderFoodProgram === 'WEIGHT_LOSS_PROGRAM';\n\n const isNutritionVege =\n getters.getOrderProgramType === 'Nutriotion Vege' &&\n getters.getOrderFoodProgram === 'WEIGHT_LOSS_PROGRAM';\n\n const isOffice = getters.getOrderProgramType === 'Office';\n const isOfficeVege = getters.getOrderProgramType === 'Office Vege';\n\n const weights = [\n {\n id: 7,\n value: '1000',\n label: '72',\n disabled: isNutritionVege,\n },\n {\n id: 8,\n value: '1200',\n label: '75',\n disabled: isNutritionVege,\n },\n {\n id: 9,\n value: '1500',\n label: '81',\n disabled: isNutritionActive,\n },\n {\n id: 10,\n value: '1800',\n label: '89',\n disabled: isNutritionActive,\n active: true,\n },\n {\n id: 11,\n value: '2200',\n label: '99',\n disabled: isNutritionActive,\n active: true,\n },\n {\n id: 12,\n value: '2500',\n label: '104',\n disabled: isNutritionActive,\n active: true,\n },\n ];\n\n const weightsOffice = [\n {\n id: 13,\n value: '850',\n label: '63',\n disabled: isNutritionActive,\n },\n {\n id: 14,\n value: '1250',\n label: '75',\n disabled: isNutritionActive,\n active: true,\n },\n ];\n\n const weightsOfficeVege = [\n {\n id: 13,\n value: '850',\n label: '63',\n disabled: isNutritionActive,\n },\n {\n id: 14,\n value: '1250',\n label: '75',\n disabled: isNutritionActive,\n active: true,\n },\n ];\n\n if (isNutritionVege) {\n return weights;\n }\n\n if (isOffice) {\n return weightsOffice;\n }\n\n if (isOfficeVege) {\n return weightsOfficeVege;\n }\n\n return weights;\n };\n\n const getOrderGainWeight = () => {\n const isNutritionActive =\n (getters.getOrderProgramType === 'Nutriotion Vege' ||\n getters.getOrderProgramType === 'Nutriotion') &&\n getters.getOrderFoodProgram === 'WEIGHT_GAIN_PROGRAM'\n const isNutritionActive2 =\n getters.getOrderProgramType === 'Nutriotion Active' &&\n getters.getOrderFoodProgram === 'WEIGHT_GAIN_PROGRAM'\n const excludedValues2 = ['2000', '2200', '1500', '1800']\n const excludedValues = ['1500', '2000', '1800', '3000', '3500']\n const isOffice = getters.getOrderProgramType === 'Office'\n const isOfficeVege = getters.getOrderProgramType === 'Office Vege'\n\n let weights = [\n {\n id: 13,\n value: '1500',\n label: '85',\n disabled: !isNutritionActive,\n },\n {\n id: 14,\n value: '1800',\n label: '89',\n disabled: !isNutritionActive,\n },\n {\n id: 15,\n value: '2000',\n label: '95',\n disabled: !isNutritionActive,\n active: true,\n },\n {\n id: 16,\n value: '2200',\n label: '99',\n disabled: !isNutritionActive,\n active: true,\n },\n {\n id: 17,\n value: '2500',\n label: '106',\n disabled: false,\n },\n {\n id: 18,\n value: '3000',\n label: '110',\n disabled: isNutritionActive2 && isNutritionActive,\n },\n {\n id: 19,\n value: '3500',\n label: '114',\n disabled: isNutritionActive2 && isNutritionActive,\n },\n ]\n let weightsVegeNut = [\n {\n id: 16,\n value: '2200',\n label: '99',\n disabled: !isNutritionActive,\n active: true,\n },\n {\n id: 17,\n value: '2500',\n label: '104',\n disabled: false,\n },\n ]\n\n if (isNutritionActive) {\n return weightsVegeNut\n } else if (isNutritionActive2) {\n weights = weights.filter(\n weight => !excludedValues2.includes(weight.value) && !weight.disabled\n )\n }\n let weightsOffice = [\n {\n id: 13,\n value: '850',\n label: '63',\n disabled: isNutritionActive,\n },\n {\n id: 14,\n value: '1250',\n label: '75',\n disabled: isNutritionActive,\n active: true,\n },\n ]\n let weightsOfficeVege = [\n {\n id: 13,\n value: '850',\n label: '63',\n disabled: isNutritionActive,\n },\n {\n id: 14,\n value: '1250',\n label: '75',\n disabled: isNutritionActive,\n active: true,\n },\n ]\n if (isOffice) {\n return weightsOffice\n }\n if (isOfficeVege) {\n return weightsOfficeVege\n }\n return weights\n }\n\n const onSetPlan = value => {\n setPlan(value)\n setFieldValue('plan', value)\n if (value === 'Zhubnout') {\n\n setMenu('1000')\n setPrice('72')\n }\n if (value == 'Udržovat' || value == 'Nabírat') {\n\n setMenu('2500')\n setPrice('104')\n }\n if (getters.getOrderProgramType === 'Office' || getters.getOrderProgramType === 'Office Vege') {\n setMenu('850')\n setPrice('63')\n }\n\n // if (value === 'Udržovat' || value === 'Nabírat') {\n // setMenu2xDisabled(true)\n // setMenu('5chodové menu')\n // setFieldValue('menu', '5chodové menu')\n // } else {\n // setMenu2xDisabled(false)\n // }\n // if (value === 'Nabírat') {\n // setMenu4xDisabled(true)\n // setMenu3xDisabled(true)\n // setMenu('5chodové menu')\n // setFieldValue('menu', '5chodové menu')\n // } else {\n // setMenu4xDisabled(false)\n // setMenu3xDisabled(false)\n // }\n trackCustomEvent({\n category: 'calc',\n action: value,\n label: 'HP',\n })\n }\n\n const onSetProgram = value => {\n setters.setOrderProgramType(value)\n setProgram(value)\n if (value === 'Office' || value === 'Office Vege') {\n setMenu('850')\n setPrice('63')\n }\n\n trackCustomEvent({\n category: 'calc',\n action: value,\n label: 'HP',\n })\n }\n\n const onSetOsob = value => {\n setOsob(value)\n trackCustomEvent({\n category: 'calc',\n action: value,\n label: 'HP',\n })\n }\n\n const onSetMenu = value => {\n setMenu(value)\n\n trackCustomEvent({\n category: 'calc',\n action: value,\n label: 'HP',\n })\n }\n\n const onSetDays = value => {\n setDays(value)\n trackCustomEvent({\n category: 'calc',\n action: value,\n label: 'HP',\n })\n }\n\n useEffect(() => {\n const priceValue = getPrice(menu, program, plan, osob)\n const isLossWeight =\n plan === 'Zhubnout' && menu !== 'office' && menu !== 'office Vege'\n ? dataCalorie?.find(item => item.value === '1000')?.label\n : dataCalorie?.find(item => item.value === '2500')?.label\n if ((plan === 'Zhubnout' && menu === 'office') || menu === 'office Vege') {\n isLossWeight = dataCalorie?.find(item => item.value === '850')?.label\n }\n setPrice(priceValue ? priceValue : isLossWeight)\n\n if (plan === 'Zhubnout') {\n setters.setOrderFoodProgramWeightLoss()\n }\n if (plan === 'Udržovat') {\n setters.setOrderFoodProgramMaintenance()\n }\n if (plan === 'Nabírat') {\n setters.setOrderFoodProgramWeightGain()\n }\n\n if (program === 'Nutriotion') {\n setters.setOrderProgramType('Nutriotion')\n }\n if (program === 'Nutriotion Vege') {\n setters.setOrderProgramType('Nutriotion Vege')\n }\n if (program === 'Nutriotion Active' && isNutritionActiveButton) {\n setters.setOrderProgramType('Nutriotion Active')\n }\n if (program === 'Office') {\n setters.setOrderProgramType('Office')\n }\n if (program === 'Office Vege') {\n setters.setOrderProgramType('Office Vege')\n }\n }, [menu, plan, program, osob])\n\n const dataCalorie = useMenuOptions()\n const getPrice = (menu, program, plan) => {\n let price = null\n if (getters.getOrderProgramType === 'Nutriotion') {\n switch (getters.getOrderFoodProgram) {\n case 'WEIGHT_LOSS_PROGRAM':\n if (menu === '2500') {\n price = dataCalorie?.find(item => item.value === '2500')?.label\n }\n\n if (menu === '2200') {\n price = dataCalorie?.find(item => item.value === '2200')?.label\n }\n\n if (menu === '1800') {\n price = dataCalorie?.find(item => item.value === '1800')?.label\n }\n\n if (menu === '1500') {\n price = dataCalorie?.find(item => item.value === '1500')?.label\n }\n if (menu === '1200') {\n price = dataCalorie?.find(item => item.value === '1200')?.label\n }\n\n if (menu === '1000') {\n price = dataCalorie?.find(item => item.value === '1000')?.label\n }\n if (menu === '850') {\n price = dataCalorie?.find(item => item.value === '850')?.label\n }\n if (menu === '1250') {\n price = dataCalorie?.find(item => item.value === '1250')?.label\n }\n break\n case 'MAINTENANCE_PROGRAM':\n if (menu === '2500') {\n price = dataCalorie?.find(item => item.value === '2500')?.label\n }\n\n if (menu === '2200') {\n price = dataCalorie?.find(item => item.value === '2200')?.label\n }\n\n if (menu === '1800') {\n price = dataCalorie?.find(item => item.value === '1800')?.label\n }\n\n if (menu === '1500') {\n price = dataCalorie?.find(item => item.value === '1500')?.label\n }\n if (menu === '1200') {\n price = dataCalorie?.find(item => item.value === '1200')?.label\n }\n\n if (menu === '1000') {\n price = dataCalorie?.find(item => item.value === '1000')?.label\n }\n\n // if (menu === '5chodové menu') {\n // price = 599\n // }\n // if (menu === '4chodové menu') {\n // price = 539\n // }\n // if (menu === '3chodové menu') {\n // price = 459\n // }\n // if (menu === \"2chodové menu\") {\n // price = 420\n // }\n break\n case 'WEIGHT_GAIN_PROGRAM':\n if (menu === '2200') {\n price = dataCalorie?.find(item => item.value === '2200')?.label\n }\n if (menu === '2500') {\n price = dataCalorie?.find(item => item.value === '2500')?.label\n }\n break\n }\n }\n if (getters.getOrderProgramType === 'Nutriotion Vege') {\n switch (getters.getOrderFoodProgram) {\n case 'WEIGHT_LOSS_PROGRAM':\n if (menu === '2500') {\n price = dataCalorie?.find(item => item.value === '2500')?.label\n }\n\n if (menu === '2200') {\n price = dataCalorie?.find(item => item.value === '2200')?.label\n }\n\n if (menu === '1800') {\n price = dataCalorie?.find(item => item.value === '1800')?.label\n }\n\n if (menu === '1500') {\n price = dataCalorie?.find(item => item.value === '1500')?.label\n }\n if (menu === '1000') {\n price = dataCalorie?.find(item => item.value === '1000')?.label\n }\n if (menu === '1200') {\n price = dataCalorie?.find(item => item.value === '1200')?.label\n }\n\n // if (menu === '5chodové menu') {\n // price = 559\n // }\n // if (menu === '4chodové menu') {\n // price = 503\n // }\n // if (menu === '3chodové menu') {\n // price = 419\n // }\n // if (menu === 1000) {\n // price = 339\n // }\n break\n case 'MAINTENANCE_PROGRAM':\n if (menu === '2500') {\n price = dataCalorie?.find(item => item.value === '2500')?.label\n }\n\n if (menu === '2200') {\n price = dataCalorie?.find(item => item.value === '2200')?.label\n }\n\n if (menu === '1800') {\n price = dataCalorie?.find(item => item.value === '1800')?.label\n }\n\n if (menu === '1500') {\n price = dataCalorie?.find(item => item.value === '1500')?.label\n }\n\n break\n case 'WEIGHT_GAIN_PROGRAM':\n if (menu === '2200') {\n price = dataCalorie?.find(item => item.value === '2200')?.label\n }\n if (menu === '2500') {\n price = dataCalorie?.find(item => item.value === '2500')?.label\n }\n break\n }\n }\n\n if (getters.getOrderProgramType === 'Nutriotion Active') {\n switch (getters.getOrderFoodProgram) {\n case 'MAINTENANCE_PROGRAM':\n if (menu === '2500') {\n price = dataCalorie?.find(item => item.value === '2500')?.label\n }\n\n if (menu === '2000') {\n price = dataCalorie?.find(item => item.value === '2000')?.label\n }\n if (menu === '1800') {\n price = dataCalorie?.find(item => item.value === '1800')?.label\n }\n\n if (menu === '1500') {\n price = dataCalorie?.find(item => item.value === '1500')?.label\n }\n\n break\n case 'WEIGHT_GAIN_PROGRAM':\n if (menu === '3500') {\n price = dataCalorie?.find(item => item.value === '3500')?.label\n }\n if (menu === '3000') {\n price = dataCalorie?.find(item => item.value === '3000')?.label\n }\n if (menu === '2500') {\n price = dataCalorie?.find(item => item.value === '2500')?.label\n }\n // if (menu === '5chodové menu') {\n // price = 599\n // }\n // if (menu === \"3chodové menu\") {\n // price = 390\n // }\n // if (menu === \"2chodové menu\") {\n // price = 420\n // }\n\n break\n }\n }\n if (getters.getOrderProgramType === 'Office') {\n switch (getters.getOrderFoodProgram) {\n case 'WEIGHT_LOSS_PROGRAM':\n if (menu === '850') {\n price = dataCalorie?.find(item => item.value === '850')?.label\n }\n\n if (menu === '1250') {\n price = dataCalorie?.find(item => item.value === '1250')?.label\n }\n break\n case 'MAINTENANCE_PROGRAM':\n if (menu === '850') {\n price = dataCalorie?.find(item => item.value === '850')?.label\n }\n\n if (menu === '1250') {\n price = dataCalorie?.find(item => item.value === '1250')?.label\n }\n\n break\n case 'WEIGHT_GAIN_PROGRAM':\n if (menu === '850') {\n price = dataCalorie?.find(item => item.value === '850')?.label\n }\n\n if (menu === '1250') {\n price = dataCalorie?.find(item => item.value === '1250')?.label\n }\n break\n }\n }\n if (getters.getOrderProgramType === 'Office Vege') {\n switch (getters.getOrderFoodProgram) {\n case 'WEIGHT_LOSS_PROGRAM':\n if (menu === '850') {\n price = dataCalorie?.find(item => item.value === '850')?.label\n }\n\n if (menu === '1250') {\n price = dataCalorie?.find(item => item.value === '1250')?.label\n }\n break\n case 'MAINTENANCE_PROGRAM':\n if (menu === '850') {\n price = dataCalorie?.find(item => item.value === '850')?.label\n }\n\n if (menu === '1250') {\n price = dataCalorie?.find(item => item.value === '1250')?.label\n }\n\n break\n case 'WEIGHT_GAIN_PROGRAM':\n if (menu === '850') {\n price = dataCalorie?.find(item => item.value === '850')?.label\n }\n\n if (menu === '1250') {\n price = dataCalorie?.find(item => item.value === '1250')?.label\n }\n break\n }\n }\n if (osob === '1 osoba') {\n setOldPrice(null)\n }\n\n if (osob === '2 osoby') {\n setOldPrice(price)\n price = (price - price * (10 / 100)).toFixed()\n }\n\n if (osob === '3 osoby') {\n setOldPrice(price)\n price = (price - price * (15 / 100)).toFixed()\n }\n\n if (osob === '>5') {\n setOldPrice(price)\n price = (price - price * (20 / 100)).toFixed()\n }\n\n return price\n }\n\n const getDisountedPrice = () => {\n let discount\n const duration = Number(getters.getOrderdProgramDurationTime)\n const priceNUmber = Number(price)\n if (duration === 5) {\n discount = priceNUmber - (priceNUmber * 10) / 100\n return discount\n }\n if (duration === 10) {\n discount = priceNUmber - (priceNUmber * 15) / 100\n return discount\n }\n if (duration === 20) {\n discount = priceNUmber - (priceNUmber * 20) / 100\n }\n if (duration === 40) {\n discount = priceNUmber - (priceNUmber * 25) / 100\n }\n\n return discount\n }\n useEffect(() => {\n getDisountedPrice()\n }, [setFieldValue])\n\n const getMenuSelectLabel = value => {\n switch (value) {\n case '5chodové menu':\n return t('forms.mainFormMenuOption1')\n case '3chodové menu':\n return t('forms.mainFormMenuOption2')\n case '2chodové menu':\n return t('forms.mainFormMenuOption3')\n default:\n return\n }\n }\n\n const getPersonSelectLabel = value => {\n switch (value) {\n case '1 osoba':\n return t('forms.mainFormNumberOfPersonOption1')\n case '2 osoby':\n return t('forms.mainFormNumberOfPersonOption2')\n case '3 osoby':\n return t('forms.mainFormNumberOfPersonOption3')\n case '>5':\n return t('forms.mainFormNumberOfPersonOption4')\n default:\n return\n }\n }\n\n const { t } = useTranslation()\n\n\n\n\n\n\n const isNutritionActiveButton =\n getters.getOrderFoodProgram === 'WEIGHT_LOSS_PROGRAM'\n\n return (\n
\n \n

Osobních údajů

\n

\n Souhlasím výslovně se zpracováním a uchováním veškerých mých osobních\n údajů v rozsahu, jakém byly mnou poskytnuty, společností Nutritionpro\n s.r.o., IČO 07752971.\n
\n Souhlas lze kdykoliv odvolat, zásady nakládání s osobními údaji a\n další informace na{' '}\n \n https://nutritionpro.cz/gdpr/\n \n

\n
\n \n
\n
\n
\n {/* {t('home.mainFormGoalLabel')} */}Twój cel\n
\n
\n
\n {\n onSetPlan(e.target.value)\n setters.setOrderFoodProgramWeightLoss()\n }}\n />\n\n \n
\n \n {\n onSetPlan(e.target.value)\n setters.setOrderFoodProgramMaintenance()\n }}\n />\n \n
\n \n {\n onSetPlan(e.target.value)\n setters.setOrderFoodProgramWeightGain()\n }}\n />\n \n
\n
\n
\n \n
\n {\n onSetProgram(e.target.value)\n }}\n className={stylesRadio.radioGroup}\n >\n
\n {/* {t('home.mainFormProgramLabel2')} */}Wybierz program\n
\n \n \n \n {!isNutritionActiveButton && (\n \n )}\n {' '}\n \n
\n \n \n\n
\n
\n
Kaloryczność
\n\n
\n {dataCalorie.map(item => {\n return (\n \n {\n const selectedValue = e.target.value\n onSetMenu(selectedValue)\n setFieldValue('menu', selectedValue)\n setPrice(selectedValue)\n }}\n />\n \n
\n )\n })}\n
\n
\n \n \n\n
\n
\n Długość programu{' '}\n
\n
\n
\n {\n onSetDays(e.target.value)\n setFieldValue('day', '5')\n setters.setOrderProgramDurationTime(e.target.value)\n }}\n />\n\n \n
\n
\n {\n onSetDays(e.target.value)\n setFieldValue('day', '10')\n setters.setOrderProgramDurationTime(e.target.value)\n }}\n />\n\n \n
\n {/*
\n {\n onSetDays(e.target.value)\n setFieldValue('day', '15')\n setters.setOrderProgramDurationTime(e.target.value)\n }}\n />\n \n
*/}\n
\n {\n onSetDays(e.target.value)\n setFieldValue('day', '20')\n setters.setOrderProgramDurationTime(e.target.value)\n }}\n />\n \n
\n
\n {\n onSetDays(e.target.value)\n setFieldValue('day', '40')\n setters.setOrderProgramDurationTime(e.target.value)\n // handleOrderProgramDuration30Days()\n }}\n />\n \n
\n
\n
\n {/*
*/}\n {/* */}\n {/*
*/}\n\n {/*
\n
\n Liczba osób\n
\n
\n
\n {\n onSetOsob(e.target.value)\n setFieldValue('osob', '1 osoba')\n }}\n />\n\n \n
\n
\n {\n onSetOsob(e.target.value)\n setFieldValue('osob', '2 osoby')\n }}\n />\n\n \n
\n
\n {\n onSetOsob(e.target.value)\n setFieldValue('osob', '3 osoby')\n }}\n />\n\n \n
\n
\n 5\"\n checked={values.osob === '>5'}\n onChange={e => {\n onSetOsob(e.target.value)\n setFieldValue('osob', '>5')\n }}\n />\n \n
\n
\n
*/}\n \n \n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n {/* */}\n {\n setFieldValue('phone', value)\n }}\n placeholder={t('forms.onlineOrderFormNumberLabel')}\n />\n
\n\n {touched.phone && errors.phone && (\n {errors.phone}\n )}\n
\n
\n \n {t('forms.mainFormPromoCodeLabel')}\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n
\n\n {touched.promo && errors.promo && (\n {errors.promo}\n )}\n
\n
\n Przeczytałem(am) i zrozumiałem(am) informacje dotyczące korzystania\n z moich danych osobowych zawartych w Polityce prywatności oraz\n wyrażam zgodę na otrzymywanie dostosowanej do moich indywidualnych\n potrzeb korespondencji handlowej oraz marketingowej strony\n NutritionPro za pośrednictwem poczty elektronicznej i innych środków\n komunikacyjnych. Mogę w dowolnym momencie wycofać swoją zgodę lub\n zaktualizować swoje preferencje, kontaktując się z Państwem za\n pomocą dostępnych danych kontaktowych.\n
\n {/*
\n {/* {\n setCheckTerms(e.target.checked)\n /> */}\n {/* \n \n \n
*/}\n\n {/*
\n {/* {\n setCheckTerms2(e.target.checked)\n }}\n /> */}\n {/* \n \n \n
*/}\n {/*

*/}\n {/* *{t('forms.mainFormCTAdesc')}*/}\n {/*

*/}\n
\n \n Proszę o kontakt\n \n <>\n {/**/}\n {/* {t('forms.mainFormCTApar')}*/}\n {/*

*/}\n {/**/}\n {/* */}\n {/* {t('forms.mainFormCTA2')}{' '}*/}\n {/* */}\n {/* */}\n {/* */}\n {/* */}\n {/**/}\n \n\n \n
\n {/* \n */}\n
\n \n \n )\n}\n\nexport const MainForm2 = withFormik({\n enableReinitialize: true,\n mapPropsToValues: () => ({\n phone: '+48',\n promo: '',\n plan: 'Zhubnout',\n program: 'Nutriotion',\n menu: '1000',\n osob: '1 osoba',\n day: '20',\n checkTerms: false,\n checkTerms2: false,\n utm_source: '',\n utm_medium: '',\n utm_campaign: '',\n utm_term: '',\n utm_content: '',\n referrer: '',\n ga: '',\n success: false,\n }),\n validationSchema: () =>\n Yup.object().shape({\n phone: Yup.string()\n .min(8, )\n .phone(),\n promo: Yup.string(),\n plan: Yup.string(),\n program: Yup.string(),\n menu: Yup.string(),\n osob: Yup.string(),\n day: Yup.string(),\n }),\n handleSubmit: async (\n {\n phone,\n promo,\n plan,\n program,\n menu,\n osob,\n day,\n },\n { setSubmitting, resetForm, setFieldValue }\n ) => {\n try {\n const UTMS = getUTM()\n const isHomepage = window.location.pathname == '/'\n let referrer = isHomepage ? getReferrer() : window.location.href\n\n let getPrice = document.querySelector('[name=\"price\"]').value\n\n const isEn = document.location.pathname.includes('/en')\n\n let data = {\n formName: isEn ? 'kalkulacka_en' : 'kalkulacka',\n language: isEn ? 'en' : 'pl',\n region: process.env.GATSBY_COUNTRY,\n branchId: process.env.GATSBY_BRANCH_ID,\n phone: formatPhoneNumber(phone),\n promo,\n plan,\n program,\n menu,\n osob,\n day,\n\n price: getPrice,\n utm_source: UTMS.UTM_SOURCE,\n utm_medium: UTMS.UTM_MEDIUM,\n utm_campaign: UTMS.UTM_CAMPAIGN,\n utm_term: UTMS.UTM_TERM,\n utm_content: UTMS.UTM_CONTENT,\n referrer: referrer,\n roistat: getCookie('roistat_visit'),\n ga: getCookie('_ga'),\n }\n\n const req = await fetch(\n `${process.env.GATSBY_APP_API_URL}/poland/application`,\n {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify(data),\n }\n )\n // await setPrice(\"420\")\n if (req.ok) {\n await setSubmitting(false)\n await setFieldValue('success', true)\n\n window.location.href = isEn ? '/en/thank-you' : '/thank-you'\n setTimeout(() => {\n resetForm()\n document.querySelector('[name=\"price\"]').value = 420\n document.querySelector('#price').textContent = 420\n\n const userData = localStorage.getItem(\n 'order-food-contact-information'\n )\n const data = JSON.parse(userData)\n\n const name = data?.name\n const phone = data?.phone\n const email = data?.email\n const zip = data?.deliveryAddress.components?.postcode\n ? data?.deliveryAddress.components?.postcode\n : ''\n const city = data?.city?.label ? data?.city?.label : ''\n const state = 'CZ'\n\n let firstName = ''\n let lastName = ''\n\n if (name) {\n const nameParts = name.split(' ')\n firstName = nameParts[0]\n lastName = nameParts.slice(1).join(' ')\n }\n\n const userInfo = {\n firstName,\n lastName,\n phone,\n email,\n zip,\n city,\n state,\n }\n\n // window.dataLayer.push({\n // event: 'fill_in_tel_number',\n // pageURL: isEn ? '/en/thank-you' : '/thank-you',\n // pageType: 'Purchase',\n // testovani: testovani,\n // userInfo,\n // })\n }, 300)\n }\n } catch (err) {\n setSubmitting(false)\n setFieldValue('success', false)\n }\n },\n})(MainFormLayout)\n","export default function _readOnlyError(name) {\n throw new TypeError(\"\\\"\" + name + \"\\\" is read-only\");\n}","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _react = require('react');\nvar _react2 = _interopRequireDefault(_react);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\nvar Weekday = function (_Component) {\n _inherits(Weekday, _Component);\n function Weekday() {\n _classCallCheck(this, Weekday);\n return _possibleConstructorReturn(this, (Weekday.__proto__ || Object.getPrototypeOf(Weekday)).apply(this, arguments));\n }\n _createClass(Weekday, [{\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate(nextProps) {\n return this.props !== nextProps;\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n weekday = _props.weekday,\n className = _props.className,\n weekdaysLong = _props.weekdaysLong,\n weekdaysShort = _props.weekdaysShort,\n localeUtils = _props.localeUtils,\n locale = _props.locale;\n var title = void 0;\n if (weekdaysLong) {\n title = weekdaysLong[weekday];\n } else {\n title = localeUtils.formatWeekdayLong(weekday, locale);\n }\n var content = void 0;\n if (weekdaysShort) {\n content = weekdaysShort[weekday];\n } else {\n content = localeUtils.formatWeekdayShort(weekday, locale);\n }\n return _react2.default.createElement('div', {\n className: className,\n role: 'columnheader'\n }, _react2.default.createElement('abbr', {\n title: title\n }, content));\n }\n }]);\n return Weekday;\n}(_react.Component);\nexports.default = Weekday;","\"use strict\";\n\nexports.__esModule = true;\nexports.resetComponentClassCache = exports.inComponentClassCache = exports.activateCacheForComponentClass = void 0;\nvar componentClassCache = Object.create({});\n\nvar inComponentClassCache = function inComponentClassCache(className) {\n return componentClassCache[className] || false;\n};\n\nexports.inComponentClassCache = inComponentClassCache;\n\nvar activateCacheForComponentClass = function activateCacheForComponentClass(className) {\n if (className) {\n componentClassCache[className] = true;\n }\n};\n\nexports.activateCacheForComponentClass = activateCacheForComponentClass;\n\nvar resetComponentClassCache = function resetComponentClassCache() {\n for (var className in componentClassCache) {\n delete componentClassCache[className];\n }\n};\n\nexports.resetComponentClassCache = resetComponentClassCache;","module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","import cx from \"classnames\"\nimport { FastField } from \"formik\"\nimport React, { useEffect, useState } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport styles from \"./price.module.css\"\n\nexport const days = {\n \"2 týdny\": {\n 5: 10,\n 6: 12,\n },\n Měsíc: {\n 5: 20,\n 6: 24,\n },\n \"Dva měsíce\": {\n 5: 40,\n 6: 48,\n },\n}\n\nexport const getTotalPrice = (price, program, week) =>\n Number(price * days[program][week]).toFixed(2)\nexport const getPricePerPortion = (totalPrice, program, week) =>\n Number(totalPrice / days[program][week]).toFixed(2)\n\nfunction getDiscountPrice(price, plan) {\n const discount =\n plan && plan === \"2 týdny\" ? 5 : plan && plan === \"2 měsíce\" ? 8 : null\n console.log(\"discount: \", price, plan, discount)\n return (price - price * (discount / 100)).toFixed()\n}\n\nfunction getDiscountPricePerPortion(price, plan, program, week) {\n const discountPortion = plan && plan === \"2 týdny\" ? 5 : null\n return ((price - price * (discountPortion / 100)).toFixed() / 5).toFixed()\n}\n\nexport const Price2 = ({\n price = 0,\n plan = null,\n program,\n week,\n delivery = 0,\n deliveryPrice: deliveryPriceValue = 0,\n totalPrice: totalPriceValue = 0,\n setFieldValue,\n handleSetDelivery,\n}) => {\n const [discountPrice, setDiscountPrice] = useState(null)\n const [discountPortionPrice, setDiscountPortionPrice] = useState(null)\n const [deliveryPrice, setDeliveryPrice] = useState(deliveryPriceValue)\n const [totalPrice, setTotalPrice] = useState(\n window.localStorage.getItem(\"totalPrice\")\n )\n\n const { t } = useTranslation()\n\n // temporary unnecessary\n // useEffect(() => {\n // const discountPriceValue = getDiscountPrice(price, plan)\n // setDiscountPrice(discountPriceValue)\n // const discountPortionPriceValue = getDiscountPricePerPortion(price, plan)\n // setDiscountPortionPrice(discountPortionPriceValue)\n // }, [price, plan])\n\n useEffect(() => {\n // console.log(\"--- deliveryPriceValue in Price\", deliveryPriceValue);\n // setDeliveryPrice(deliveryPriceValue);\n if (deliveryPriceValue && deliveryPriceValue > 0) {\n // console.log(\"--- deliveryPriceValue > 0 && \", deliveryPriceValue);\n setDeliveryPrice(deliveryPriceValue)\n // console.log(\"--- setTotalPrice \", deliveryPriceValue, \" + \", price);\n // setTotalPrice(deliveryPriceValue + price);\n // window.localStorage.setItem(\"totalPrice\", deliveryPriceValue + price);\n } else {\n // console.log(\"--- deliveryPriceValue === null && price = \", price);\n setDeliveryPrice(null)\n // window.localStorage.setItem(\"totalPrice\", price);\n }\n }, [deliveryPriceValue])\n\n useEffect(() => {\n // console.log(\"--- price in Price\", price);\n // console.log(\"--- totalPriceValue in Price\", totalPriceValue)\n const tp = Number(window.localStorage.getItem(\"totalPrice\"))\n console.log(\"--- price get totalPrice in Price\", tp, totalPriceValue)\n if (tp !== totalPriceValue) {\n console.log(\"tp !== totalPriceValue\", totalPriceValue)\n setTotalPrice(totalPriceValue)\n } else {\n setTotalPrice(tp)\n }\n }, [deliveryPrice, totalPriceValue])\n\n // useEffect(() => {\n // console.log(\"--- totalPrice in Price\", totalPrice);\n // // setFieldValue(\"totalPrice\", totalPrice);\n // }, [totalPrice]);\n // useEffect(() => {\n // console.log(\"==== Price in Price\", price);\n // const tp = getTotalPrice(totalPrice, price, program);\n // window.localStorage.setItem(\"totalPrice\", tp)\n // setFieldValue(\"totalPrice\", tp);\n // }, [price]);\n\n return (\n <>\n
\n
\n
\n {t(\"forms.pricePerDayLabelPart1\")}\n
\n

{t(\"forms.pricePerDayLabelPart2\")}

\n
\n
\n {/*
\n {discountPortionPrice && (<>\n {discountPortionPrice}\n Kč)}\n
*/}\n
\n \n {totalPrice\n ? getPricePerPortion(totalPrice, program, week)\n : price\n ? price\n : \"0\"}\n {\" \"}\n Kč\n
\n {deliveryPrice && (\n
\n Doprava +50 Kč za den\n
\n )}\n
\n
\n
\n
\n
{t(\"forms.priceLabel\")}
\n
\n
\n {/*
\n {discountPrice && (<>{discountPrice} Kč)}\n
*/}\n
\n \n {totalPriceValue\n ? totalPriceValue\n : getTotalPrice(price, program, week)}\n {\" \"}\n Kč\n
\n {deliveryPrice && (\n
\n Doprava +50 Kč za den\n
\n )}\n
\n
\n \n )\n}\n","import { FastField, Field } from \"formik\"\nimport React, { forwardRef, useState } from \"react\"\nimport { debounce } from \"lodash\"\nimport { useTranslation } from \"react-i18next\"\nimport cx from \"classnames\"\nimport orderFormStyles from \"../order-form2.module.css\"\nimport { days } from \"../../order-price2\"\n\nimport styles from \"./input.module.css\"\n\nexport const PromoInput = forwardRef(\n ({ setFieldValue, setPrice, address, program, week }, ref) => {\n const [promoValue, setPromoValue] = React.useState(\"\")\n const [promoData, setPromoData] = React.useState({})\n // const [prevPrice, setPrevPrice] = React.useState(() => Number(window.localStorage.getItem(\"price\")) + Number((window.localStorage.getItem(\"deliveryPrice\") || 0)));\n const [requestMessage, setMessage] = useState(\"\")\n const [isApplyed, setIsApplyed] = useState(false)\n\n const { t } = useTranslation()\n\n async function checkPromo(promo) {\n // console.log(\"price, promo query value\", price, promo);\n\n const prevPrice = Number(window.localStorage.getItem(\"price\"))\n const totalPriceStore = Number(window.localStorage.getItem(\"totalPrice\"))\n\n const programDirectly = document.querySelector('[name=\"promo\"]').dataset\n .program\n\n console.log(\"4. === programDirectly in Promo\", programDirectly)\n\n // console.log(\"prevPrice in checkPromo\", prevPrice)\n\n if (promo === \"\") {\n // just hide message cos' we don't have opportunity change code if applyed\n setMessage(\"\")\n // setPrice(prevPrice);\n setFieldValue(\"discount\", 0)\n // setFieldValue(\"totalPrice\", prevPrice)\n return\n }\n\n let totalPrice, discount, message\n\n const response = await fetch(\n `${process.env.GATSBY_APP_API_URL}/check-promo`,\n {\n // const req = await fetch(\"https://test.nutritionpro.cz/api/check-promo\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({\n price:\n Number(totalPriceStore) > 0 ? Number(totalPriceStore) : prevPrice,\n promocode: promo,\n branchId: process.env.GATSBY_BRANCH_ID,\n }),\n }\n )\n\n // await console.log(\"promo res: \", JSON.stringify(response));\n\n if (response.ok) {\n const body = await response.json()\n totalPrice = await body?.totalPrice\n discount = await body?.discount\n message = await body?.msg\n\n await setMessage(message)\n await setIsApplyed(discount > 0)\n await setPrice(\n Number(totalPrice / days[programDirectly][week]).toFixed(2)\n )\n console.log(\n \"2. === price in promo OK\",\n programDirectly,\n Number(totalPrice / days[programDirectly][week]).toFixed(2)\n )\n await window.localStorage.setItem(\n \"price\",\n Number(totalPrice / days[programDirectly][week]).toFixed(2)\n )\n await window.localStorage.setItem(\"totalPrice\", totalPrice)\n await setFieldValue(\"totalPrice\", totalPrice)\n await window.localStorage.setItem(\"isDiscount\", true)\n\n if (promo.length > 0) {\n await setFieldValue(\"discount\", discount)\n }\n } else {\n await setIsApplyed(false)\n await setPrice(prevPrice)\n await setFieldValue(\"totalPrice\", totalPriceStore)\n await setMessage(\"\")\n await window.localStorage.setItem(\"isDiscount\", false)\n }\n\n return { totalPrice, discount, message }\n }\n\n const debouncedCheckPromo = React.useRef(\n debounce(async promo => {\n setPromoData(await checkPromo(promo))\n }, 1000)\n ).current\n\n async function handleChange(e) {\n setPromoValue(e.target.value)\n debouncedCheckPromo(e.target.value)\n }\n\n React.useEffect(() => {\n return () => {\n debouncedCheckPromo.cancel()\n }\n }, [debouncedCheckPromo])\n\n React.useEffect(() => {\n setFieldValue(\"promo\", promoValue)\n }, [promoValue])\n\n // React.useEffect(() => {\n // let prevPriceFromBrowser = Number(window.localStorage.getItem(\"price\"))\n // let deliveryPriceFromBrowser = Number((window.localStorage.getItem(\"deliveryPrice\") || 0))\n // console.log(\"prevPriceFromBrowser\", prevPriceFromBrowser);\n // console.log(\"deliveryPriceFromBrowser\", deliveryPriceFromBrowser);\n // setPrevPrice(prevPriceFromBrowser + deliveryPriceFromBrowser);\n // })\n\n React.useEffect(() => {\n // console.log(\"-- PROMO address changed\", address);\n setPromoValue(\"\")\n setMessage(\"\")\n }, [address])\n\n React.useEffect(() => {\n console.log(\"3. === program in Promo effect\", program)\n }, [program])\n\n return (\n <>\n 0,\n })}\n data-program={program}\n placeholder={t(\"forms.onlineOrderFormPromoCodeLabel\")}\n value={promoValue}\n onChange={handleChange}\n disabled={isApplyed && requestMessage.length > 0}\n />\n {requestMessage.length > 0 && (\n \n {requestMessage}\n \n )}\n \n )\n }\n)\n","import { FastField, Field } from \"formik\"\nimport React, { forwardRef, useState } from \"react\"\nimport GooglePlacesAutocomplete from \"react-google-places-autocomplete\"\nimport AutoComplete from \"react-google-autocomplete\"\nimport { debounce } from \"lodash\"\nimport { useTranslation } from \"react-i18next\"\nimport cx from \"classnames\"\nimport orderFormStyles from \"../order-form2.module.css\"\n\nimport styles from \"./input.module.css\"\n\nconst DELIVERY_OUT_OF_ZONA_COSTS = 50\n\nexport const GoogleSearchAddressInput = forwardRef(\n ({ setFieldValue, setPrice, handleSetDelivery, price, totalPrice }, ref) => {\n const [inputValue, setInputValue] = React.useState(\"\")\n const [addressValue, setAddressValue] = React.useState(\"\")\n const [queryAddressValue, setQueryAddressValue] = React.useState(\"\")\n const [addressData, setAddressData] = React.useState({})\n const [prevPrice, setPrevPrice] = React.useState(\n window.localStorage.getItem(\"price\")\n )\n const [prevTotalPrice, setPrevTotalPrice] = React.useState(\n window.localStorage.getItem(\"totalPrice\")\n )\n const [error, setError] = useState(false)\n const [warning, setWarning] = useState(false)\n const [success, setSuccess] = useState(false)\n\n const { t } = useTranslation()\n\n async function checkAddress(address) {\n // console.log(\"address query value\", address);\n let isAddDeliveryFee = false\n let isDiscount = window.localStorage.getItem(\"isDiscount\")\n let TYurl = null\n\n const response = await fetch(\n `${process.env.GATSBY_APP_API_URL}/delivery/check-address`,\n {\n // const req = await fetch(\"https://test.nutritionpro.cz/api/delivery/check-address\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({\n q: address,\n branchId: process.env.GATSBY_BRANCH_ID,\n }),\n }\n )\n if (response.status === 200) {\n const body = await response.json()\n isAddDeliveryFee = await body?.result?.isPointInPolygon\n TYurl = await body?.result?.address?.url\n // await console.log(\"isAddDeliveryFee\", isAddDeliveryFee);\n // await console.log(\"isDiscount\", isDiscount, !!isDiscount);\n await handleSetDelivery(isAddDeliveryFee)\n if (isAddDeliveryFee === true) {\n // await console.log(\"isAddDeliveryFee\", prevPrice);\n await setWarning(false)\n await setError(false)\n await setSuccess(true)\n await window.localStorage.removeItem(\"deliveryPrice\")\n await setPrice(Number(window.localStorage.getItem(\"price\")))\n await setFieldValue(\"isAddressValid\", true)\n } else if (isAddDeliveryFee === false) {\n // await console.log(\"!isAddDeliveryFee\", prevPrice);\n await setWarning(true)\n await setError(false)\n await setSuccess(false)\n await window.localStorage.setItem(\n \"deliveryPrice\",\n DELIVERY_OUT_OF_ZONA_COSTS\n )\n await setPrice(\n Number(window.localStorage.getItem(\"price\") || prevPrice)\n )\n // await setFieldValue(\n // \"totalPrice\",\n // Number(window.localStorage.getItem(\"totalPrice\")) +\n // DELIVERY_OUT_OF_ZONA_COSTS\n // )\n // await window.localStorage.setItem(\n // \"totalPrice\",\n // Number(window.localStorage.getItem(\"totalPrice\")) +\n // DELIVERY_OUT_OF_ZONA_COSTS\n // )\n await setFieldValue(\"isAddressValid\", true)\n } else if (isAddDeliveryFee === null) {\n // await console.log(\"isAddDeliveryFee === null\");\n await window.localStorage.removeItem(\"deliveryPrice\")\n await window.localStorage.setItem(\"totalPrice\", prevTotalPrice)\n await setPrice(prevPrice || window.localStorage.getItem(\"price\"))\n await setFieldValue(\"isAddressValid\", false)\n await setSuccess(false)\n if (address === \"\") {\n await setWarning(false)\n await setError(false)\n } else {\n await setWarning(false)\n await setError(true)\n }\n }\n } else {\n await window.localStorage.removeItem(\"deliveryPrice\")\n // await console.log(\"500 setPrice(prevPrice)\", prevPrice);\n await console.log(\"400 setAddress prevTotalPrice\", prevTotalPrice)\n await window.localStorage.setItem(\"totalPrice\", prevTotalPrice)\n await setPrice(prevPrice || window.localStorage.getItem(\"price\"))\n await setFieldValue(\"isAddressValid\", false)\n // await console.log(\"checkAddress address\", address)\n await setSuccess(false)\n if (address === \"\") {\n await setWarning(false)\n await setError(false)\n } else {\n await setWarning(false)\n await setError(true)\n }\n }\n\n return {\n isAddDeliveryFee: isAddDeliveryFee,\n TYurl: TYurl,\n }\n }\n\n async function checkGoogleAddress(addressQuery) {\n // console.log(\"addressQuery query value\", addressQuery);\n let address\n const response = await fetch(\n `https://maps.googleapis.com/maps/api/place/autocomplete/json?input=${addressQuery}&types=geocode&key=AIzaSyCDb4aYDvh7RgmZmE_gF1BZjayvlHNmZls`,\n {\n method: \"GET\",\n mode: \"no-cors\",\n }\n )\n if (response.status === 200) {\n const body = await response.json()\n address = await body?.predictions[0]?.description\n // await console.log(\"address\", address);\n await checkAddress(address)\n } else {\n // await console.log(\"response not ok\", response.ok);\n await checkAddress(addressQuery)\n }\n }\n\n const debouncedCheckAddress = React.useRef(\n debounce(async addressQuery => {\n setAddressData(await checkAddress(addressQuery))\n }, 500)\n ).current\n\n async function handleChange(value) {\n // console.log(\"handleChange e\", value);\n setFieldValue(\"promo\", \"\")\n setAddressValue(value)\n setInputValue(value?.value?.description)\n if (value === \"\" || value?.value?.description === \"\") {\n setWarning(false)\n setError(false)\n setSuccess(false)\n }\n debouncedCheckAddress(value?.value?.description)\n }\n\n React.useEffect(() => {\n return () => {\n debouncedCheckAddress.cancel()\n }\n }, [debouncedCheckAddress])\n\n // React.useEffect(() => {\n // console.log(\"addressData\", addressData);\n // if (addressData.isAddDeliveryFee) {\n // setFieldError(\"address\", \"warning\")\n // } else {\n // setFieldError(\"address\", \"error\")\n // }\n // }, [addressData]);\n\n React.useEffect(() => {\n // console.log(\"addressValue\", addressValue);\n setFieldValue(\"address\", addressValue)\n }, [addressValue])\n\n // React.useEffect(() => {\n // console.log(\"queryAddressValue\", queryAddressValue);\n // handleChange(queryAddressValue);\n // }, [queryAddressValue])\n\n React.useEffect(() => {\n console.log(\n \"5. ==== setPrevPrice in Address input effect\",\n price,\n totalPrice\n )\n setPrevPrice(price)\n setPrevTotalPrice(totalPrice)\n }, [price, totalPrice])\n\n return (\n <>\n ({\n ...provided,\n height: \"100%\",\n borderRadius: \"40px\",\n border: \"none\",\n outline: \"none\",\n paddingLeft: \"12px\",\n whiteSpace: \"nowrap\",\n background: \"#F8F8F8\",\n }),\n placeholder: defaultStyles => {\n return {\n ...defaultStyles,\n color: \"#d5dbe1\",\n }\n },\n },\n }}\n autocompletionRequest={{\n componentRestrictions: {\n country: \"cz\",\n },\n }}\n name=\"address\"\n />\n {/* setInputValue(e.target.value)}\n onPlaceSelected={(place) => {\n console.log(\"place\", place.formatted_address);\n setQueryAddressValue(place.formatted_address);\n }}\n onBlur={() => setQueryAddressValue(inputValue)}\n /> */}\n {/* */}\n {success && (\n \n Doprava zdarma\n \n )}\n {warning && (\n \n \n \n \n \n Doprava mímo Prahu (doplátek 50 kč/den)\n \n )}\n {error && (\n \n \n \n \n \n Je nám líto! Zatím v této lokalitě nejsme.\n \n )}\n \n )\n }\n)\n","import 'moment/locale/cs'\nimport 'react-day-picker/lib/style.css'\nimport GooglePlacesAutocomplete from 'react-google-places-autocomplete'\nimport AutoComplete from 'react-google-autocomplete'\nimport cx from 'classnames'\nimport {\n ErrorMessage,\n FastField,\n Field,\n Form,\n useFormikContext,\n withFormik,\n} from 'formik'\nimport { trackCustomEvent } from 'gatsby-plugin-google-analytics'\nimport moment from 'moment'\nimport React, { useEffect, useContext, useRef, useState } from 'react'\nimport DayPickerInput from 'react-day-picker/DayPickerInput'\nimport MomentLocaleUtils, {\n formatDate,\n parseDate,\n} from 'react-day-picker/moment'\nimport { DateUtils } from 'react-day-picker'\nimport { Trans, useTranslation } from 'react-i18next'\nimport { AffiliateContext } from '../../contexts/AffiliateContext'\nimport Select from 'react-select'\nimport MaskedInput from 'react-text-mask'\nimport * as Yup from 'yup'\nimport { useModal } from '../modal2'\nimport {\n formatPhoneNumber,\n getCookie,\n getReferrer,\n getUTM,\n} from '../../helpers'\nimport { useLangContext } from '../../utils/lang'\nimport { Button } from '../button'\nimport { Button2 } from '../button2'\nimport stylesRadio from '../calculator2/calc2.module.css'\nimport form2Styles from '../forms/form2.module.css'\nimport { Price2 } from '../order-price2'\nimport { Summary2 } from '../order-summary2'\nimport { CustomCheckbox } from './custom-checkbox'\nimport styles from './form.module.css'\nimport {\n AddressErrorMessage,\n EmailErrorMessage,\n EmailErrorRequiredMessage,\n NameErrorRequiredMessage,\n PhoneErrorMessage,\n Terms2ErrorRequiredMessage,\n TermsErrorRequiredMessage,\n} from './forms-error-messages'\nimport option3Img from './icons/icon-2months.svg'\nimport option1Img from './icons/icon-demo.svg'\nimport option2Img from './icons/icon-month.svg'\nimport nabiratIcon from './icons/nabirat-icon.svg'\nimport udrzovatIcon from './icons/udrzovat-icon.svg'\nimport zhubnostIcon from './icons/zhubnout-icon.svg'\nimport mainFormStyles from './main-form2.module.css'\nimport orderFormStyles from './order-form2.module.css'\nimport { MaskedPhoneInput } from './phone'\nimport { DeliveryAddressInput } from './delivery-address-input'\nimport { PromoInput } from './promo'\nimport { GoogleSearchAddressInput } from './google-search-address-input'\nimport { getTotalPrice } from '../order-price2'\n\n// import cx from 'classnames';\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 12 znaků', value =>\n rePhoneNumber.test(value)\n )\n})\n\nfunction dateToSystemFormat(date) {\n return moment(date)\n .utc()\n .hours(0)\n .minutes(0)\n .seconds(0)\n .milliseconds(0)\n .toISOString()\n}\n\nfunction getStartDateDay() {\n if ([2, 4, 6].indexOf(moment.utc().isoWeekday()) !== -1) {\n return 6\n } else if ([1, 3, 5].indexOf(moment.utc().isoWeekday()) !== -1) {\n return 7\n } else if ([7].indexOf(moment.utc().isoWeekday()) !== -1) {\n return 5\n }\n}\n\nfunction getStartDate() {\n let initial = moment.utc().add(3, 'days')\n if ([2, 4, 6].indexOf(moment.utc().isoWeekday()) !== -1) {\n initial = moment\n .utc()\n .add(6, 'days')\n .hours(0)\n .minutes(0)\n .seconds(0)\n .milliseconds(0)\n .toISOString()\n } else if ([1, 3, 5].indexOf(moment.utc().isoWeekday()) !== -1) {\n initial = moment\n .utc()\n .add(7, 'days')\n .hours(0)\n .minutes(0)\n .seconds(0)\n .milliseconds(0)\n .toISOString()\n } else if ([7].indexOf(moment.utc().isoWeekday()) !== -1) {\n initial = moment\n .utc()\n .add(5, 'days')\n .hours(0)\n .minutes(0)\n .seconds(0)\n .milliseconds(0)\n .toISOString()\n }\n\n return initial\n}\n\nconst pricePreset = {\n '5chodové menu': {\n '2 týdny': {\n 1400: 559,\n 1600: 579,\n 1800: 599,\n 2400: 619,\n 3000: 639,\n 3400: 659,\n },\n Měsíc: {\n 1400: 539,\n 1600: 559,\n 1800: 579,\n 2400: 599,\n 3000: 619,\n 3400: 639,\n },\n 'Dva měsíce': {\n 1400: 519,\n 1600: 539,\n 1800: 559,\n 2400: 579,\n 3000: 599,\n 3400: 619,\n },\n },\n '4chodové menu': {\n '2 týdny': {\n 1400: 503,\n 1600: 521,\n 1800: 539,\n 2400: 557,\n 3000: 575,\n 3400: 593,\n },\n Měsíc: {\n 1400: 485,\n 1600: 503,\n 1800: 521,\n 2400: 539,\n 3000: 557,\n 3400: 575,\n },\n 'Dva měsíce': {\n 1400: 467,\n 1600: 485,\n 1800: 503,\n 2400: 521,\n 3000: 539,\n 3400: 557,\n },\n },\n '3chodové menu': {\n '2 týdny': {\n 1400: 439,\n 1600: 459,\n 1800: 479,\n 2400: 499,\n 3000: 519,\n 3400: 539,\n },\n Měsíc: {\n 1400: 419,\n 1600: 439,\n 1800: 459,\n 2400: 479,\n 3000: 499,\n 3400: 519,\n },\n 'Dva měsíce': {\n 1400: 399,\n 1600: 419,\n 1800: 439,\n 2400: 459,\n 3000: 479,\n 3400: 499,\n },\n },\n '2chodové menu': {\n '2 týdny': {\n 1400: 359,\n 1600: 359,\n 1800: 359,\n 2400: 359,\n 3000: 359,\n 3400: 359,\n },\n Měsíc: {\n 1400: 339,\n 1600: 339,\n 1800: 339,\n 2400: 339,\n 3000: 339,\n 3400: 339,\n },\n 'Dva měsíce': {\n 1400: 324,\n 1600: 324,\n 1800: 324,\n 2400: 324,\n 3000: 324,\n 3400: 324,\n },\n },\n}\n\nfunction energyRange(energyPerDay) {\n if (energyPerDay <= 1400) {\n return 1400\n }\n if (energyPerDay <= 1600) {\n return 1600\n }\n if (energyPerDay <= 1800) {\n return 1800\n }\n if (energyPerDay <= 2400) {\n return 2400\n }\n if (energyPerDay <= 3000) {\n return 3000\n }\n return 3400\n}\n\nconst kCalOptions = {\n Zhubnout: {\n female: {\n '5chodové menu': [\n { value: 1600, label: '1600 kCal' },\n { value: 1800, label: '1800 kCal' },\n ],\n '4chodové menu': [\n { value: 1600, label: '1600 kCal' },\n { value: 1800, label: '1800 kCal' },\n ],\n '3chodové menu': [\n { value: 1100, label: '1100 kCal' },\n { value: 1300, label: '1300 kCal' },\n ],\n '2chodové menu': [{ value: 1000, label: '1000 kCal' }],\n },\n male: {\n '5chodové menu': [\n { value: 1800, label: '1800 kCal' },\n { value: 2000, label: '2000 kCal' },\n ],\n '4chodové menu': [\n { value: 1800, label: '1600 kCal' },\n { value: 2000, label: '1800 kCal' },\n ],\n '3chodové menu': [\n { value: 1600, label: '1600 kCal' },\n { value: 1800, label: '1800 kCal' },\n ],\n '2chodové menu': [{ value: 1000, label: '1000 kCal' }],\n },\n },\n Udržovat: {\n female: {\n '5chodové menu': [\n { value: 1900, label: '1900 kCal' },\n { value: 2100, label: '2100 kCal' },\n ],\n '4chodové menu': [\n { value: 1900, label: '1900 kCal' },\n { value: 2100, label: '2100 kCal' },\n ],\n '3chodové menu': [\n { value: 1400, label: '1400 kCal' },\n { value: 1600, label: '1600 kCal' },\n ],\n '2chodové menu': [{ value: 1000, label: '1000 kCal' }],\n },\n male: {\n '5chodové menu': [\n { value: 2100, label: '2100 kCal' },\n { value: 2300, label: '2300 kCal' },\n ],\n '4chodové menu': [\n { value: 2100, label: '2100 kCal' },\n { value: 2300, label: '2300 kCal' },\n ],\n '3chodové menu': [{ value: 1900, label: '1900 kCal' }],\n '2chodové menu': [{ value: 1000, label: '1000 kCal' }],\n },\n },\n Nabírat: {\n female: {\n '5chodové menu': [\n { value: 2200, label: '2200 kCal' },\n { value: 2600, label: '2600 kCal' },\n ],\n '4chodové menu': [\n { value: 2200, label: '2200 kCal' },\n { value: 2600, label: '2600 kCal' },\n ],\n '3chodové menu': [\n { value: 0, label: '0 kCal' },\n { value: 0, label: '0 kCal' },\n ],\n '2chodové menu': [{ value: 1000, label: '1000 kCal' }],\n },\n male: {\n '5chodové menu': [\n { value: 2400, label: '2400 kCal' },\n { value: 2600, label: '2600 kCal' },\n ],\n '4chodové menu': [\n { value: 2400, label: '2400 kCal' },\n { value: 2600, label: '2600 kCal' },\n ],\n '3chodové menu': [{ value: 0, label: '0 kCal' }],\n '2chodové menu': [{ value: 1000, label: '1000 kCal' }],\n },\n },\n 'Office pack': {\n female: {\n '5chodové menu': [\n { value: 2200, label: '2200 kCal' },\n { value: 2600, label: '2600 kCal' },\n ],\n '3chodové menu': [\n { value: 0, label: '0 kCal' },\n { value: 0, label: '0 kCal' },\n ],\n '2chodové menu': [{ value: 1000, label: '1000 kCal' }],\n },\n male: {\n '5chodové menu': [\n { value: 2400, label: '2400 kCal' },\n { value: 2600, label: '2600 kCal' },\n ],\n '3chodové menu': [{ value: 0, label: '0 kCal' }],\n '2chodové menu': [{ value: 1000, label: '1000 kCal' }],\n },\n },\n}\n\n// Input feedback\nconst InputFeedback = ({ error }) =>\n error ?
{error}
: null\n\nconst checkboxes = [\n {\n name: 'Snídaně',\n },\n {\n name: 'Svačina',\n },\n {\n name: 'Oběd',\n },\n {\n name: 'Svačina',\n },\n {\n name: 'Večeře',\n },\n]\n\nconst getStatus = (name, plan) => {\n let res\n\n if (plan === 'Zhubnout') {\n switch (name) {\n case 'Snídaně':\n case 'Svačina':\n return (res = {\n disabled: false,\n checked: true,\n })\n case 'Oběd':\n case 'Večeře':\n return (res = {\n disabled: true,\n checked: true,\n })\n }\n }\n\n if (plan === 'Udržovat') {\n switch (name) {\n case 'Snídaně':\n return (res = {\n disabled: true,\n checked: true,\n })\n case 'Svačina':\n return (res = {\n disabled: false,\n checked: true,\n })\n case 'Oběd':\n case 'Večeře':\n return (res = {\n disabled: true,\n checked: true,\n })\n }\n }\n\n if (plan === 'Nabírat') {\n switch (name) {\n case 'Snídaně':\n case 'Svačina':\n case 'Oběd':\n case 'Večeře':\n return (res = {\n disabled: true,\n checked: true,\n })\n }\n }\n\n if (plan === 'Office pack') {\n switch (name) {\n case 'Snídaně':\n case 'Svačina':\n return (res = {\n disabled: true,\n checked: false,\n })\n case 'Oběd':\n case 'Večeře':\n return (res = {\n disabled: true,\n checked: true,\n })\n }\n }\n\n console.log('===== res', res)\n\n return res\n}\n\nconst getFormattedMenuName = total => `${total}chodové menu`\n\nconst Icon1 = ({ fillColor, textColor }) => (\n \n \n \n \n \n \n)\n\nconst Icon2 = ({ fillColor, textColor }) => (\n \n \n \n \n \n \n \n \n)\n\nconst Icon3 = ({ fillColor, textColor }) => (\n \n \n \n \n \n \n \n \n)\n\nconst Icon4 = ({ fillColor, textColor }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n)\n\nconst Icon5 = ({ fillColor, textColor }) => (\n \n \n \n \n \n \n \n \n)\n\nconst CheckboxIcon = ({ name, checked }) => {\n const fillColor = checked ? '#44C789' : '#f2f5f8'\n const textColor = checked ? '#fff' : '#353643'\n\n switch (name) {\n case 1:\n return \n case 2:\n return \n case 3:\n return \n case 4:\n return \n case 5:\n return \n default:\n return null\n }\n}\n\nconst CheckIcon = ({ checked, className }) => (\n
\n {checked ? (\n \n \n \n \n \n \n ) : (\n \n )}\n
\n)\n\n// Checkbox Group\nconst CheckboxGroup = ({\n checkboxes,\n plan,\n setFieldValue,\n onSetMenu,\n defaultMenuValue,\n}) => {\n const [checkedState, setCheckedState] = useState(new Array(5).fill(true))\n\n const [total, setTotal] = useState(0)\n\n const handleTotal = updatedCheckedState => {\n const totalMenuAmount = updatedCheckedState.reduce((sum, currentState) => {\n if (currentState === true) {\n return sum + 1\n }\n return sum\n }, 0)\n\n setTotal(totalMenuAmount)\n }\n\n const handleOnChange = position => {\n const updatedCheckedState = checkedState.map((item, index) =>\n index === position ? !item : item\n )\n\n setCheckedState(updatedCheckedState)\n\n handleTotal(updatedCheckedState)\n }\n\n const setInit = () => {\n return checkboxes.map(({ name }, index) => {\n const { disabled, checked } = getStatus(name, plan)\n\n return !!disabled ? checked : checkedState[index]\n })\n }\n\n useEffect(() => {\n const init = setInit()\n handleTotal(init)\n }, [plan])\n\n useEffect(() => {\n const menuName = `${total === 0 ? defaultMenuValue : total}chodové menu`\n console.log('======= menuName', menuName)\n total !== 0 && onSetMenu(menuName)\n total !== 0 && setFieldValue('menu', menuName)\n }, [total])\n\n return (\n
\n {checkboxes.map(({ name }, index) => {\n const { disabled, checked } = getStatus(name, plan)\n\n return (\n \n handleOnChange(index)}\n disabled={disabled}\n className={orderFormStyles.programCheckboxesInput}\n />\n {!disabled && (\n \n )}\n \n \n {name}\n \n \n )\n })}\n
\n )\n}\n\n// Radio input\nconst RadioButton = ({\n field: { name, value, onChange },\n id,\n label,\n title,\n className,\n withImg = false,\n withIcon = false,\n additionalInfoText,\n additionalInfoTextLabel,\n isRecommended = false,\n isColumn = false,\n disabled = false,\n ...props\n}) => {\n useEffect(() => {\n console.log('111 ====== additionalInfoText inside', additionalInfoText)\n }, [additionalInfoText])\n return (\n \n \n \n \n )\n}\n\n// Radio group\nconst RadioButtonGroup = ({\n value,\n error,\n touched,\n id,\n className,\n onChange,\n children,\n}) => {\n const classes = cx(\n {\n success: value || (!error && touched),\n error: !!error && touched,\n },\n className\n )\n\n return (\n
\n {children}\n {touched && }\n
\n )\n}\n\nexport const WrappedForm = ({ isSubmitting, values, errors, touched }) => {\n return \n}\n\nconst OrderFormLayout = ({\n isSubmitting,\n values,\n errors,\n touched,\n setFieldValue,\n setFieldError,\n validateInputs,\n}) => {\n const [plan, setPlan] = useState('Zhubnout')\n const [program, setProgram] = useState('Měsíc')\n const [menu, setMenu] = useState('5chodové menu')\n const [paymentMethod, setPaymentMethod] = useState('Platba kartou')\n const [week, setWeek] = useState('6')\n const [gender, setGender] = useState('female')\n const [deliveryTime, setDeliveryTime] = useState('20:00-22:00')\n const [kcal, setKcal] = useState(1600)\n const [price, setPrice] = useState(\n window.localStorage.getItem('price') || '420'\n )\n\n const [price2weeks, setPrice2weeks] = useState()\n const [price1month, setPrice1month] = useState()\n const [price2months, setPrice2months] = useState()\n\n const [delivery, setDelivery] = useState(0)\n const [kcalDisabled, setKcalDisabled] = useState(false)\n const [menu2xDisabled, setMenu2xDisabled] = useState(true)\n const [menu3xDisabled, setMenu3xDisabled] = useState(true)\n const [menu4xDisabled, setMenu4xDisabled] = useState(true)\n const [menu5xDisabled, setMenu5xDisabled] = useState(true)\n const [checkTerms, setCheckTerms] = useState(false)\n const [checkTerms2, setCheckTerms2] = useState(false)\n const [step, setStep] = useState(1)\n const [isSecondStepValid, setIsSecondStepValid] = useState(false)\n const [isLoading, setIsLoading] = useState(false)\n\n const { show, RenderModal } = useModal()\n\n const nameRef = useRef()\n const phoneRef = useRef()\n const emailRef = useRef()\n const addressRef = useRef()\n const promoRef = useRef()\n\n const { submitForm } = useFormikContext()\n\n const handleCustomSubmit = () => {\n submitForm()\n }\n\n const validateSecondStep = values => {\n // firstly initiate native formik check of validity\n nameRef.current.focus()\n nameRef.current.blur()\n phoneRef.current.focus()\n phoneRef.current.blur()\n emailRef.current.focus()\n emailRef.current.blur()\n addressRef.current.focus()\n addressRef.current.blur()\n\n // then check validity from values object\n if (values.email && values.name && values.address && values.phone) {\n setIsSecondStepValid(true)\n } else {\n setIsSecondStepValid(false)\n }\n // and return this state\n return values.email && values.name && values.address && values.phone\n }\n\n const handleSetDelivery = status => {\n console.log('run handleSetDelivery', status)\n switch (true) {\n case status === false:\n setDelivery(50)\n setFieldValue('deliveryPrice', 50)\n return 50\n case status === true:\n case status === null:\n default:\n setDelivery(0)\n setFieldValue('deliveryPrice', 0)\n return 0\n }\n }\n\n const handleChange = (name, e) => {\n // const validateSingleField = (name, value) => {\n // const error = validateInputs({ [name]: value });\n // setFieldError(name, error[name]); // set / clear error message\n // };\n\n setFieldValue(name, e.target.value)\n\n // validate local field only\n // validateSingleField(name, e.target.value);\n }\n\n const gotoNextStep = () => {\n setStep(prev => prev + 1)\n }\n\n const gotoPrevStep = () => {\n setStep(prev => prev - 1)\n }\n\n const gotoStep = step => {\n setStep(step)\n }\n\n const { lang } = useLangContext()\n const { t } = useTranslation()\n\n const options = [\n { value: 5, label: t('forms.onlineOrderFormWeekLengthOption1') },\n { value: 6, label: t('forms.onlineOrderFormWeekLengthOption2') },\n ]\n\n const goal = [\n {\n value: 'Zhubnout',\n label: t('forms.onlineOrderFormGoalLoss'),\n disabled: false,\n },\n {\n value: 'Udržovat',\n label: t('forms.onlineOrderFormGoalMaintenance'),\n disabled: false,\n },\n {\n value: 'Nabírat',\n label: t('forms.onlineOrderFormGoalGain'),\n disabled: false,\n },\n {\n value: 'Office pack',\n label: 'Office pack',\n disabled: false,\n },\n ]\n\n // const mealsPerDay = menu === \"2chodové menu\" ? 2 : menu === \"3chodové menu\" ? 3 : 5\n // const diet = plan === \"Zhubnout\" ? \"loose\" : plan === \"Udržovat\" ? \"keep\" : \"gain\"\n\n const onSetKcal = value => {\n setKcal(value)\n trackCustomEvent({\n category: 'order',\n action: value,\n label: 'HP',\n })\n }\n\n const getMenuSelectLabel = value => {\n switch (value) {\n case '5chodové menu':\n return t('forms.mainFormMenuOption1')\n case '4chodové menu':\n return t('forms.mainFormMenuOption4')\n case '3chodové menu':\n return t('forms.mainFormMenuOption2')\n case '2chodové menu':\n return t('forms.mainFormMenuOption3')\n default:\n return\n }\n }\n\n const getPaymentMethodSelectLabel = value => {\n switch (value) {\n case 'card':\n return 'Platba kartou'\n case 'invoice':\n return 'Platba na fakturu'\n default:\n return\n }\n }\n\n const onSetPlan = value => {\n setPlan(value)\n if (value === 'Nabírat') {\n setMenu5xDisabled(false)\n setMenu4xDisabled(true)\n setMenu3xDisabled(true)\n setMenu2xDisabled(true)\n onSetMenu('5chodové menu')\n setFieldValue('menu', '5chodové menu')\n setKcal(Number(kCalOptions[value][gender]['5chodové menu'][0].value))\n setFieldValue(\n 'kcal',\n Number(kCalOptions[value][gender]['5chodové menu'][0].value)\n )\n }\n\n if (value === 'Zhubnout') {\n setMenu5xDisabled(false)\n setMenu4xDisabled(false)\n setMenu3xDisabled(false)\n setMenu2xDisabled(true)\n onSetMenu('5chodové menu')\n setFieldValue('menu', '5chodové menu')\n setKcal(Number(kCalOptions[value][gender]['5chodové menu'][0].value))\n setFieldValue(\n 'kcal',\n Number(kCalOptions[value][gender]['5chodové menu'][0].value)\n )\n }\n\n if (value === 'Udržovat') {\n setMenu5xDisabled(false)\n setMenu4xDisabled(false)\n setMenu3xDisabled(false)\n setMenu2xDisabled(true)\n onSetMenu('5chodové menu')\n setFieldValue('menu', '5chodové menu')\n setKcal(Number(kCalOptions[value][gender]['5chodové menu'][0].value))\n setFieldValue(\n 'kcal',\n Number(kCalOptions[value][gender]['5chodové menu'][0].value)\n )\n }\n\n if (value === 'Office pack') {\n setMenu5xDisabled(true)\n setMenu4xDisabled(true)\n setMenu3xDisabled(true)\n setMenu2xDisabled(false)\n onSetMenu('2chodové menu')\n setFieldValue('menu', '2chodové menu')\n setKcal(Number(kCalOptions[value][gender]['2chodové menu'][0].value))\n setFieldValue(\n 'kcal',\n Number(kCalOptions[value][gender]['2chodové menu'][0].value)\n )\n }\n\n trackCustomEvent({\n category: 'order',\n action: value,\n label: 'HP',\n })\n }\n\n const onSetGender = value => {\n console.log('onSetGender triggered', value)\n setGender(value)\n setKcal(Number(kCalOptions[plan][value][menu][0].value))\n setFieldValue('kcal', Number(kCalOptions[plan][value][menu][0].value))\n }\n\n const onSetProgram = value => {\n console.log('onSetProgram triggered', value)\n setProgram(value)\n trackCustomEvent({\n category: 'order',\n action: value,\n label: 'HP',\n })\n }\n\n const onSetMenu = value => {\n console.log('onSetMenu', value)\n setMenu(value)\n setKcal(Number(kCalOptions[plan][gender][value][0].value))\n setFieldValue('kcal', Number(kCalOptions[plan][gender][value][0].value))\n if (value === '2chodové menu') {\n setKcalDisabled(true)\n } else {\n setKcalDisabled(false)\n }\n trackCustomEvent({\n category: 'order',\n action: value,\n label: 'HP',\n })\n }\n\n const onSetWeek = value => {\n console.log('set week triggered: ', value)\n setWeek(value)\n trackCustomEvent({\n category: 'order',\n action: value,\n label: 'HP',\n })\n }\n\n const getPrice = (menu, program, plan, kcal) => {\n let price = null\n const kcalRange = energyRange(kcal)\n price = pricePreset[menu][program][kcalRange]\n return price\n }\n\n const dateStyle = {\n height: '36px',\n padding: '7px 20px',\n fontSize: '18px',\n border: 'none',\n borderRadius: 20,\n textAlign: 'center',\n readOnly: true,\n backgroundColor: '#fff',\n outline: 'none',\n }\n\n /* step2, time range input */\n const steps = [1, 2, 3, 4]\n const [currentStepIndex, setCurrentStepIndex] = useState(3)\n\n const handleInputChange = e => {\n setCurrentStepIndex(e.currentTarget.value)\n setDeliveryTime(getTimeRange(e.currentTarget.value))\n setFieldValue('deliveryTime', getTimeRange(e.currentTarget.value))\n }\n\n const getTimeRange = index => {\n switch (true) {\n case steps[index] === 1:\n return '17:00-19:00'\n case steps[index] === 2:\n return '18:00-20:00'\n case steps[index] === 3:\n return '19:00-21:00'\n case steps[index] === 4:\n return '20:00-22:00'\n default:\n return ''\n }\n }\n\n const affiliateContext = useContext(AffiliateContext)\n const { isAffiliate, affiliateId } = affiliateContext.affiliate\n\n useEffect(() => {\n const priceValue = getPrice(menu, program, plan, kcal)\n setPrice(priceValue)\n const pricePer2weeks = getPrice(menu, '2 týdny', plan, kcal)\n const pricePer1month = getPrice(menu, 'Měsíc', plan, kcal)\n const pricePer2months = getPrice(menu, 'Dva měsíce', plan, kcal)\n setFieldValue('totalPrice', getTotalPrice(priceValue, program, week))\n console.log('1. === price in order-form effect', priceValue)\n window.localStorage.setItem('price', priceValue)\n window.localStorage.setItem(\n 'totalPrice',\n getTotalPrice(priceValue, program, week)\n )\n setPrice2weeks(pricePer2weeks)\n setPrice1month(pricePer1month)\n setPrice2months(pricePer2months)\n console.log('2. === pricePer2weeks', pricePer2weeks)\n console.log('3. === pricePer2weeks', pricePer1month)\n console.log('4. === pricePer2weeks', pricePer2months)\n }, [menu, plan, program, week, kcal, price1month, price2months, price2weeks])\n\n useEffect(() => {\n onSetPlan('Zhubnout') // additionally trigger this default state | value\n window.localStorage.setItem('isDiscount', false)\n // window.localStorage.removeItem(\"totalPrice\") // TODO: check if it's necessary\n }, [])\n\n const handleChangeAffiliate = () => {\n console.log('handleChangeAffiliate affiliateId')\n console.log('handleChangeAffiliate isAffiliate')\n setFieldValue('isAffiliate', isAffiliate)\n setFieldValue('affiliateId', affiliateId)\n }\n\n useEffect(() => {\n handleChangeAffiliate()\n }, [affiliateContext, isAffiliate, affiliateId])\n\n useEffect(() => {\n console.log('delivery changed in Form ', delivery)\n }, [delivery])\n\n useEffect(() => {\n console.log('0. program order-form effect', program)\n }, [program])\n\n return (\n
\n \n

Osobních údajů

\n

\n Souhlasím výslovně se zpracováním a uchováním veškerých mých osobních\n údajů v rozsahu, jakém byly mnou poskytnuty, společností Nutritionpro\n s.r.o., IČO 07752971.\n
\n Souhlas lze kdykoliv odvolat, zásady nakládání s osobními údaji a\n další informace na{' '}\n \n https://nutritionpro.cz/gdpr/\n \n

\n
\n
\n
\n
\n gotoStep(1)}\n >\n {t('home.order.step1title')}\n
\n \n \n \n \n
\n gotoStep(2)}\n >\n {t('home.order.step2title')}\n
\n \n
\n \n
\n \n {t('forms.onlineOrderFormGenderLabel')}\n \n
\n \n \n {\n onSetGender(e.target.value)\n setFieldValue('gender', 'female')\n }}\n />\n\n \n
\n \n {\n onSetGender(e.target.value)\n setFieldValue('gender', 'male')\n }}\n />\n \n
\n
\n \n \n
\n \n {t('forms.mainFormGoalLabel')}\n \n
\n \n {\n onSetPlan(e.target.value)\n setFieldValue('plan', 'Zhubnout')\n }}\n />\n\n \n
\n \n {\n onSetPlan(e.target.value)\n setFieldValue('plan', 'Udržovat')\n }}\n />\n \n
\n \n {\n onSetPlan(e.target.value)\n setFieldValue('plan', 'Nabírat')\n }}\n />\n \n \n \n {\n onSetPlan(e.target.value)\n setFieldValue('plan', 'Office pack')\n }}\n />\n \n \n \n \n
\n \n {t('forms.mainFormMenuLabel')}\n \n \n {/*
\n {\n onSetProgram(e.target.value)\n }}\n className={cx(orderFormStyles.menuList)}\n >\n
\n \n
\n
\n \n
\n
\n \n
\n \n
*/}\n {/* */}\n
\n \n Vyberte počet jídel\n \n ({\n ...provided,\n height: '100%',\n borderRadius: '40px',\n border: 'none',\n paddingLeft: '12px',\n whiteSpace: 'nowrap',\n background: '#F8F8F8',\n }),\n placeholder: defaultStyles => {\n return {\n ...defaultStyles,\n color: '#d5dbe1',\n }\n },\n }}\n options={[\n {\n value: '5chodové menu',\n label: t('forms.mainFormMenuOption1'),\n isdisabled: menu5xDisabled,\n },\n {\n value: '4chodové menu',\n label: t('forms.mainFormMenuOption4'),\n isdisabled: menu4xDisabled,\n },\n {\n value: '3chodové menu',\n label: t('forms.mainFormMenuOption2'),\n isdisabled: menu3xDisabled,\n },\n {\n value: '2chodové menu',\n label: t('forms.mainFormMenuOption3'),\n isdisabled: menu2xDisabled,\n },\n ]}\n isOptionDisabled={option => option.isdisabled}\n isSearchable={false}\n value={{\n value: values.menu,\n label: getMenuSelectLabel(values.menu),\n }}\n defaultValue={menu}\n onChange={e => {\n onSetMenu(e.value)\n setFieldValue('menu', e.value)\n }}\n />\n
\n
\n \n Počet kalorií\n \n ({\n ...provided,\n height: '100%',\n borderRadius: '40px',\n border: 'none',\n paddingLeft: '12px',\n whiteSpace: 'nowrap',\n background: '#F8F8F8',\n }),\n placeholder: defaultStyles => {\n return {\n ...defaultStyles,\n color: '#d5dbe1',\n }\n },\n }}\n options={kCalOptions[plan][gender][menu]}\n isSearchable={false}\n value={{ value: kcal, label: `${kcal} kCal` }}\n isDisabled={kcalDisabled}\n onChange={e => {\n onSetKcal(e.value)\n setFieldValue('kcal', e.value)\n }}\n />\n
\n
\n \n\n
\n {\n onSetProgram(e.target.value)\n }}\n className={''}\n >\n \n {t('forms.mainFormProgramLabel2')}\n \n
\n Jak dlouho chceš jídlo dovážet?\n
\n
\n \n \n \n
\n \n
\n
\n {\n onSetWeek(e.target.value)\n }}\n className={''}\n >\n \n {t('home.order.weekLabel')}\n \n
\n Kolik dní v týdnu budeme dovážet?\n
\n
\n \n \n
\n \n
\n\n
\n
\n \n
\n
\n \n {t('home.order.ctaNext')}\n \n
\n
\n \n\n \n
\n
\n {/* {\n setCheckTerms(e.target.checked)\n console.log(e.target.checked)\n }}\n /> */}\n {/* \n */}\n \n {t('forms.mainFormCheckTerms1Label')}{' '}\n \n {t('forms.mainFormCheckTerms2Label')}\n \n \n \n
\n\n
\n {/* {\n setCheckTerms2(e.target.checked)\n }}\n /> */}\n {/* \n */}\n \n {/* \n Souhlasím se zpracováním\n \n osobních údajů\n \n */}\n {t('forms.mainFormCheckTerms3Label')}{' '}\n \n {t('forms.mainFormCheckTerms4Label')}\n \n \n \n
\n
\n\n
\n \n \n Preferovaný čas doručení\n \n \n
\n
\n
\n 17:00\n
\n
\n 18:00\n
\n
\n 19:00\n
\n
\n 20:00\n
\n
\n 21:00\n
\n
\n 22:00\n
\n
\n
\n \n \n \n \n \n \n \n
\n
\n {getTimeRange(currentStepIndex)}\n
\n
\n
\n
\n \n {t('forms.onlineOrderFormOrderstartLabel')}\n \n \n
\n {\n console.log(\n 'change day',\n day,\n new Date().toLocaleString('en-US', {\n hour: 'numeric',\n hour12: true,\n })\n )\n setFieldValue(\n 'date',\n moment(dateToSystemFormat(day)).toISOString()\n )\n }}\n formatDate={e =>\n lang === 'cz'\n ? formatDate(e, 'DD.MM.YYYY', 'cs')\n : formatDate(e, 'DD.MM.YYYY', 'en')\n }\n parseDate={parseDate}\n value={`${\n lang === 'cz'\n ? formatDate(values.date, 'DD.MM.YYYY', 'cs')\n : formatDate(values.date, 'DD.MM.YYYY', 'en')\n }`}\n placeholder={`${\n lang === 'cz'\n ? formatDate(values.date, 'DD.MM.YYYY', 'cs')\n : formatDate(values.date, 'DD.MM.YYYY', 'en')\n }`}\n dayPickerProps={{\n locale: lang === 'cz' ? 'cs' : 'en',\n localeUtils: MomentLocaleUtils,\n disabledDays: [\n { daysOfWeek: [0, 2, 4, 6] },\n {\n before: moment()\n .add(getStartDateDay(), 'days')\n .toDate(),\n },\n ],\n selectedDays: moment(values.date).toDate(),\n }}\n hideOnDayClick\n />\n
\n
\n \n
\n
\n
\n \n {t('forms.onlineOrderFormNamesLabel')}\n \n \n {touched.name && errors.name && (\n {errors.name}\n )}\n
\n
\n \n {t('forms.onlineOrderFormNumberLabel')}\n \n {/* */}\n {\n setFieldValue('phone', value)\n }}\n placeholder={t('forms.onlineOrderFormNumberLabel')}\n />\n {touched.phone && errors.phone && (\n {errors.phone}\n )}\n
\n
\n \n {t('forms.onlineOrderFormEmailLabel')}\n \n handleChange('email', e)}\n />\n {touched.email && errors.email && (\n {errors.email}\n )}\n
\n
\n \n {t('forms.onlineOrderFormAddressLabel')}\n \n {/* */}\n \n {/* console.log(\"place\", place)}\n /> */}\n {/* */}\n {/* */}\n {touched.address && errors.address && (\n {errors.address}\n )}\n
\n
\n
\n
\n
\n \n Způsob platby\n \n ({\n ...provided,\n height: '100%',\n borderRadius: '40px',\n border: 'none',\n paddingLeft: '12px',\n whiteSpace: 'nowrap',\n background: '#F8F8F8',\n }),\n placeholder: defaultStyles => {\n return {\n ...defaultStyles,\n color: '#d5dbe1',\n }\n },\n }}\n options={[\n {\n value: 'card',\n label: 'Platba kartou',\n },\n {\n value: 'invoice',\n label: 'Platba na fakturu',\n },\n ]}\n isOptionDisabled={option => option.isdisabled}\n isSearchable={false}\n value={{\n value: values.onlinePayment,\n label: getPaymentMethodSelectLabel(values.onlinePayment),\n }}\n defaultValue={paymentMethod}\n onChange={e => {\n setFieldValue('onlinePayment', e.value)\n setPaymentMethod(e.value)\n }}\n />\n
\n
\n \n
\n \n
\n \n \n {t('forms.onlineOrderFormPromoCodeLabel')}\n \n {/* */}\n \n {touched.promo && errors.promo && (\n {errors.promo}\n )}\n \n
\n {\n console.log(\n 'click submit!',\n !!values.email,\n errors,\n Object.keys(errors).length > 0\n )\n }}\n >\n {t('forms.onlineOrderFormCTA')}\n \n
\n \n
\n {\n console.log(\n 'click submit!',\n !!values.email,\n errors,\n Object.keys(errors).length > 0\n )\n }}\n >\n {t('forms.onlineOrderFormCTA')}\n \n
\n \n \n \n \n \n \n \n {/* */}\n \n \n \n \n )\n}\n\nconst days = {\n '2 týdny': {\n 5: 10,\n 6: 12,\n },\n Měsíc: {\n 5: 20,\n 6: 24,\n },\n 'Dva měsíce': {\n 5: 40,\n 6: 48,\n },\n}\n\nexport const OrderForm2 = withFormik({\n enableReinitialize: true,\n mapPropsToValues: props => ({\n phone: '+48',\n name: '',\n email: '',\n promo: '',\n plan: 'Zhubnout',\n program: 'Měsíc',\n menu: '3chodové menu',\n onlinePayment: 'card',\n week: '5',\n kcal: 1600,\n date: getStartDate(),\n deliveryTime: '20:00-22:00',\n deliveryPrice: 0,\n totalPrice: 0,\n gender: 'female',\n address: '',\n checkTerms: false,\n checkTerms2: false,\n utm_source: '',\n utm_medium: '',\n utm_campaign: '',\n utm_term: '',\n utm_content: '',\n referrer: '',\n ga: '',\n success: false,\n isAffiliate: false,\n affiliateId: null,\n isAddressValid: false,\n }),\n validationSchema: () =>\n Yup.object().shape({\n phone: Yup.string()\n .min(12, )\n .phone()\n .required(),\n promo: Yup.string().nullable(),\n email: Yup.string()\n .email()\n .required(),\n name: Yup.string()\n .min(4)\n .required(),\n address: Yup.string().required(),\n plan: Yup.string(),\n program: Yup.string(),\n menu: Yup.string(),\n checkTerms: Yup.bool().oneOf([true], ),\n checkTerms2: Yup.bool().oneOf([true], ),\n }),\n handleSubmit: async (\n {\n phone,\n promo,\n plan,\n program,\n menu,\n onlinePayment,\n week,\n kcal,\n date,\n name,\n email,\n address,\n deliveryTime,\n deliveryPrice,\n totalPrice,\n checkTerms,\n checkTerms2,\n isAffiliate,\n affiliateId,\n isAddressValid,\n },\n { setSubmitting, resetForm, setFieldValue }\n ) => {\n try {\n const UTMS = getUTM()\n let referrer = getReferrer()\n\n console.log('form deliveryPrice', deliveryPrice)\n\n let getPrice =\n Number(document.querySelector('[name=\"price\"]').value) + +deliveryPrice\n\n const isEn = document.location.pathname.includes('/en')\n const testovani = localStorage.getItem('new-online-form-version')\n\n const diet =\n plan === 'Zhubnout' ? 'loose' : plan === 'Nabírat' ? 'gain' : 'keep'\n let data = {\n form_name: isEn ? 'online-objednavka_en' : 'online-objednavka',\n language: isEn ? 'en' : 'cs',\n region: process.env.GATSBY_COUNTRY,\n branchId: process.env.GATSBY_BRANCH_ID,\n phone: formatPhoneNumber(phone),\n promocode: promo,\n diet,\n length: days[program][week],\n mealsPerDay: menu[0],\n size: Number(week) === 6 ? 'long' : 'short',\n kcal,\n date,\n name,\n email,\n address,\n deliveryTime,\n price: getPrice,\n onlinePayment: onlinePayment === 'card',\n checkTerms,\n checkTerms2,\n cjevent: affiliateId,\n utm_source: UTMS.UTM_SOURCE,\n utm_medium: UTMS.UTM_MEDIUM,\n utm_campaign: UTMS.UTM_CAMPAIGN,\n utm_term: UTMS.UTM_TERM,\n utm_content: UTMS.UTM_CONTENT,\n referrer: referrer,\n roistat: getCookie('roistat_visit'),\n ga: getCookie('_ga'),\n testovani: testovani,\n }\n\n let isAddDeliveryFee = false\n let TYurl = ''\n\n function checkDateOfOrder(date) {}\n\n // await console.log(\"-- data: \", JSON.stringify(data));\n\n const reqDeliveryAddress = await fetch(\n `${process.env.GATSBY_APP_API_URL}/delivery/check-address`,\n {\n // const req = await fetch(\"https://test.nutritionpro.cz/api/app/order\", {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify({\n q: address?.value?.description,\n branchId: process.env.GATSBY_BRANCH_ID,\n }),\n }\n )\n\n await console.log('reqDeliveryAddress', JSON.stringify(data))\n const deliveryAddressResponse = await reqDeliveryAddress.json()\n await console.log('reqDeliveryAddress json', deliveryAddressResponse)\n isAddDeliveryFee = await deliveryAddressResponse?.result?.isPointInPolygon\n // TYurl = await deliveryAddressResponse?.result?.address?.url\n\n data = await {\n ...data,\n ...{\n address: address.value.description,\n isAddDeliveryFee: !isAddDeliveryFee,\n },\n }\n\n if (!isAddressValid) {\n return\n }\n\n await console.log('-- merged data: ', JSON.stringify(data))\n // await console.log(\"TY url\", TYurl);\n\n const req = await fetch(`${process.env.GATSBY_APP_API_URL}/app/order`, {\n // const req = await fetch(\"https://test.nutritionpro.cz/api/app/order\", {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify(data),\n })\n // // await setPrice(\"420\")\n await console.log('data', JSON.stringify(data))\n\n await console.log('isAffiliate', isAffiliate)\n await console.log('affiliateId form submit', affiliateId)\n // await console.log(\"TYurl\", TYurl);\n\n console.log(req);\n if (req.ok) {\n console.log('Success');\n await setSubmitting(false)\n await setFieldValue('success', true)\n const response = await req.json()\n console.log(response);\n await console.log('data req', data.mealsPerDay, response)\n TYurl = await response?.onlinePayment?.gw_url\n await console.log('TYurl', TYurl)\n await console.log('response', response)\n\n setTimeout(() => {\n // resetForm()\n // setFieldValue(\"address\", \"\");\n window.localStorage.removeItem('price')\n window.localStorage.removeItem('deliveryPrice')\n window.localStorage.removeItem('totalPrice')\n // document.querySelector('[name=\"price\"]').value = 420;\n // document.querySelector(\"#price\").textContent = 420;\n // // window.location.href = isEn ? \"/en/thank-you\" : \"/dekovacka-testdrive\"\n // window.location.href = TYurl ? TYurl : isEn ? \"/en/thank-you\" : \"/dekovacka-testdrive\"\n if (TYurl) {\n window.location.href = TYurl\n } else if (isAffiliate) {\n const getParamsData = Object.entries(response)\n .filter(item => item[0] !== 'onlinePayment')\n .map(([key, value]) => `${key}=${value || 0}`)\n .reduce(\n (previousValue, currentValue) =>\n `${previousValue}&${currentValue}`\n )\n console.log(\n 'meals + onlinePayment + getParamsData',\n data.mealsPerDay,\n data.onlinePayment,\n getParamsData\n )\n window.location.href = isEn\n ? `/en/thank-you-order/?itemId=${data.mealsPerDay}&onlinePayment=${data.onlinePayment}${getParamsData}&actionTrackerId=431057`\n : `/thank-you-order/?itemId=${data.mealsPerDay}&onlinePayment=${data.onlinePayment}&${getParamsData}&actionTrackerId=431057`\n } else {\n window.location.href = isEn\n ? '/en/thank-you'\n : '/dekovacka-testdrive'\n }\n // window.dataLayer.push({\n // event: 'ga.pageview',\n // pageURL: isEn ? '/en/thank-you' : '/dekovacka-testdrive',\n // pageType: 'Purchase',\n // testovani: testovani,\n // })\n }, 300)\n } else {\n alert('Something went wrong, please try again!')\n }\n } catch (err) {\n setSubmitting(false)\n setFieldValue('success', false)\n alert('Something went wrong, please try again!')\n }\n },\n})(OrderFormLayout)\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"inputHelper\":\"input-module--inputHelper--2f272\",\"inputHelperSuccess\":\"input-module--inputHelperSuccess--1425P\",\"inputHelperError\":\"input-module--inputHelperError--3ai_C\",\"inputError\":\"input-module--inputError--3y4aj\",\"inputSuccess\":\"input-module--inputSuccess--8qyLb\",\"disabled\":\"input-module--disabled--1khhl\"};","require(\"core-js/modules/es.array.sort.js\");\nvar extend = require('xtend');\nvar mqTypes = ['blank', 'all', 'minWidth', 'minHeight', 'maxWidth', 'maxHeight', 'print'];\n\n/**\n * @param {Array} rules\n * @param {String} type\n * @param {String} prop\n *\n * @return {Boolean}\n */\nfunction itemsValid(rules, type, prop) {\n var flag = true;\n for (var i = 0, rulesLength = rules.length; i < rulesLength; i++) {\n if (typeof rules[i] !== type || prop && !rules[i].hasOwnProperty(prop)) {\n flag = false;\n break;\n }\n }\n return flag;\n}\n\n/**\n * @param {Array} rules\n * @param {String} type\n * @param {String} prop\n *\n * @return {Boolean}\n */\nfunction allValid(rules, type, prop) {\n if (!rules || !rules.length || typeof rules === 'string') {\n return 'none';\n }\n if (type === 'object' && (!prop || typeof prop !== 'string') || !itemsValid(rules, type, prop)) {\n return 'some';\n }\n return 'all';\n}\n\n/**\n * Normalize between array with strings and array with objects\n *\n * @param {Array} rules\n * @param {String} type\n * @param {String} prop\n *\n * @return {Object}\n */\nfunction prepareRules(rules, type, prop) {\n var collection = [];\n var o = {};\n for (var i = 0, rulesLength = rules.length; i < rulesLength; i++) {\n if (type === 'string') {\n o = extend({}, {\n __media: rules[i]\n });\n } else {\n o = extend({}, rules[i]);\n o.__media = rules[i][prop];\n }\n collection.push(o);\n }\n return collection;\n}\n\n/**\n * @param {Boolean} isMax\n *\n * @return {Function}\n */\nfunction determineSortOrder(isMax) {\n /**\n * Determine sort order based on provided arguments\n *\n * @param {Object} a\n * @param {Object} b\n *\n * @return {Integer}\n */\n return function (a, b) {\n var sortValA = a.sortVal;\n var sortValB = b.sortVal;\n var ruleA = a.item.__media;\n var ruleB = b.item.__media;\n isMax = typeof isMax !== 'undefined' ? isMax : false;\n\n // Consider print for sorting if sortVals are equal\n if (sortValA === sortValB) {\n if (ruleA.match(/print/)) {\n // a contains print and should be sorted after b\n return 1;\n }\n if (ruleB.match(/print/)) {\n // b contains print and should be sorted after a\n return -1;\n }\n }\n\n // Return descending sort order for max-(width|height) media queries\n if (isMax) {\n return sortValB - sortValA;\n }\n\n // Return ascending sort order\n return sortValA - sortValB;\n };\n}\n\n/**\n * @return {Object}\n */\nfunction createCollection() {\n var mqCollection = {};\n for (var i = 0, mqTypesLength = mqTypes.length; i < mqTypesLength; i++) {\n mqCollection[mqTypes[i]] = [];\n }\n return mqCollection;\n}\n\n/**\n * @param {Object} collection\n * @param {Array} rules\n *\n * @return {Object}\n */\nfunction addRulesToCollection(collection, rules) {\n // Sort media queries by kind, this is needed to output them in the right order\n for (var i = 0, rulesLength = rules.length; i < rulesLength; i++) {\n var item = rules[i];\n var rule = item.__media;\n var collectionType = 'blank';\n var valMatch = rule.match(/\\d+/g);\n if (rule.match(/min-width/)) {\n collectionType = 'minWidth';\n } else if (rule.match(/min-height/)) {\n collectionType = 'minHeight';\n } else if (rule.match(/max-width/)) {\n collectionType = 'maxWidth';\n } else if (rule.match(/max-height/)) {\n collectionType = 'maxHeight';\n } else if (rule.match(/print/)) {\n collectionType = 'print';\n } else if (rule.match(/all/)) {\n collectionType = 'all';\n }\n collection[collectionType].push({\n item: item,\n sortVal: valMatch ? valMatch[0] : 0\n });\n }\n return collection;\n}\n\n/**\n * @param {Object} collection\n *\n * @return {Object}\n */\nfunction sortCollection(collection) {\n var sorter;\n for (var collectionType in collection) {\n if (collection.hasOwnProperty(collectionType)) {\n sorter = determineSortOrder(false);\n if (collectionType === 'maxWidth' || collectionType === 'maxHeight') {\n sorter = determineSortOrder(true);\n }\n collection[collectionType].sort(sorter);\n }\n }\n return collection;\n}\n\n/**\n * @param {Object} collection\n * @param {String} type\n * @param {String} prop\n *\n * @return {Array}\n */\nfunction transformCollection(collection, type, prop) {\n var transformed = [];\n var collectionItem;\n function iterateCollectionItem(collectionItem) {\n var resultVal;\n for (var i = 0, typeLength = collectionItem.length; i < typeLength; i++) {\n if (type === 'string') {\n resultVal = collectionItem[i].item.__media;\n } else {\n resultVal = collectionItem[i].item;\n delete resultVal.__media;\n }\n transformed.push(resultVal);\n }\n }\n for (var i = 0, mqTypesLength = mqTypes.length; i < mqTypesLength; i++) {\n iterateCollectionItem(collection[mqTypes[i]]);\n }\n return transformed;\n}\n\n/**\n * @param {Array} rules\n * @param {String} type\n * @param {String} prop\n *\n * @return {Array}\n */\nfunction sortInit(rules, type, prop) {\n switch (allValid(rules, type, prop)) {\n case 'none':\n return [];\n case 'some':\n return rules;\n }\n var collection = createCollection();\n rules = prepareRules(rules, type, prop);\n addRulesToCollection(collection, rules);\n sortCollection(collection);\n return transformCollection(collection, type, prop);\n}\n\n/**\n * @param {Array} rules\n * @param {String} prop\n *\n * @return {Array}\n */\nmodule.exports = function (rules, prop) {\n if (rules) {\n if (prop) {\n return sortInit(rules, 'object', prop);\n }\n return sortInit(rules, 'string');\n }\n return [];\n};","\"use strict\";\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _react = _interopRequireWildcard(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _usePlacesWidget2 = _interopRequireDefault(require(\"./usePlacesWidget\"));\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interopRequireWildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) {\n return obj;\n }\n if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") {\n return {\n default: obj\n };\n }\n var cache = _getRequireWildcardCache(nodeInterop);\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n newObj.default = obj;\n if (cache) {\n cache.set(obj, newObj);\n }\n return newObj;\n}\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction ReactGoogleAutocomplete(props) {\n var onPlaceSelected = props.onPlaceSelected,\n apiKey = props.apiKey,\n libraries = props.libraries,\n inputAutocompleteValue = props.inputAutocompleteValue,\n options = props.options,\n googleMapsScriptBaseUrl = props.googleMapsScriptBaseUrl,\n refProp = props.refProp,\n language = props.language,\n rest = _objectWithoutProperties(props, [\"onPlaceSelected\", \"apiKey\", \"libraries\", \"inputAutocompleteValue\", \"options\", \"googleMapsScriptBaseUrl\", \"refProp\", \"language\"]);\n var _usePlacesWidget = (0, _usePlacesWidget2.default)({\n ref: refProp,\n googleMapsScriptBaseUrl: googleMapsScriptBaseUrl,\n onPlaceSelected: onPlaceSelected,\n apiKey: apiKey,\n libraries: libraries,\n inputAutocompleteValue: inputAutocompleteValue,\n options: options,\n language: language\n }),\n ref = _usePlacesWidget.ref;\n return /*#__PURE__*/_react.default.createElement(\"input\", _extends({\n ref: ref\n }, rest));\n}\nReactGoogleAutocomplete.propTypes = {\n apiKey: _propTypes.default.string,\n libraries: _propTypes.default.arrayOf(_propTypes.default.string),\n ref: _propTypes.default.oneOfType([\n // Either a function\n _propTypes.default.func,\n // Or anything shaped { current: any }\n _propTypes.default.shape({\n current: _propTypes.default.any\n })]),\n googleMapsScriptBaseUrl: _propTypes.default.string,\n onPlaceSelected: _propTypes.default.func,\n inputAutocompleteValue: _propTypes.default.string,\n options: _propTypes.default.shape({\n componentRestrictions: _propTypes.default.object,\n bounds: _propTypes.default.object,\n location: _propTypes.default.object,\n offset: _propTypes.default.number,\n origin: _propTypes.default.object,\n radius: _propTypes.default.number,\n sessionToken: _propTypes.default.object,\n types: _propTypes.default.arrayOf(_propTypes.default.string)\n }),\n language: _propTypes.default.string\n};\nvar _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {\n return /*#__PURE__*/_react.default.createElement(ReactGoogleAutocomplete, _extends({}, props, {\n refProp: ref\n }));\n});\nexports.default = _default;","module.exports = \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbnM4LXZlZ2FuIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMS42MjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyMS42MjQgMjQiPgogIDxwYXRoIGlkPSJQYXRoXzYzMSIgZGF0YS1uYW1lPSJQYXRoIDYzMSIgZD0iTTE0LjcyMiwyMy44NTksMTYuODQ2LDIyLjdhMTQuOTExLDE0LjkxMSwwLDAsMCw3Ljc0NS0xMy4xMVY0LjA2NWEuNzk0Ljc5NCwwLDAsMC0uNzYzLS44QTIwLjM1MSwyMC4zNTEsMCwwLDEsMTQuNjcsMS4xYS43NzUuNzc1LDAsMCwwLS43NDksMEEyMC4zNTEsMjAuMzUxLDAsMCwxLDQuNzYzLDMuMjY2YS43OTQuNzk0LDAsMCwwLS43NjMuOFY5LjU5M0ExNC45MTEsMTQuOTExLDAsMCwwLDExLjc0NSwyMi43bDIuMTI0LDEuMTU2YS44OTIuODkyLDAsMCwwLC44NTIsMFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zLjQ4NCAtMC40ODMpIiBmaWxsPSIjZDVkYmUxIi8+CiAgPHBhdGggaWQ9IlBhdGhfNjMyIiBkYXRhLW5hbWU9IlBhdGggNjMyIiBkPSJNMTQuOTE5LDIzLjk1NkExMy4zMSwxMy4zMSwwLDAsMSw4LDEyLjIzOFY3LjgzM2EuNC40LDAsMCwxLC4zNzMtLjM5MywyMi4xMzYsMjIuMTM2LDAsMCwwLDguMTY3LTIuMDIuMzg1LjM4NSwwLDAsMSwuMzQ1LDAsMjIuMTM2LDIyLjEzNiwwLDAsMCw4LjE2NywyLjAyLjQuNCwwLDAsMSwuMzczLjM5M3Y0LjQwNUExMy4zMSwxMy4zMSwwLDAsMSwxOC41LDIzLjk1NWwtMS40MTQuNzd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4xNTIsMS43MzktMi41NjJsLjEtLjIwN2EzLjMzMywzLjMzMywwLDAsMSwxLjAwNy0xLjI5MmgwYS42LjYsMCwwLDAsLjI1OC0uNTUuNjA2LjYwNiwwLDAsMC0uMzY5LS40OTNjLS44NzEtLjM1NC0zLjA4Ni0xLjEtNC44MzEtLjM4M3MtMi41NTcsMi42LTIuMjYyLDUuMTc0YS44ODUuODg1LDAsMCwwLC4xMzcuNCw5Ljc1OCw5Ljc1OCwwLDAsMC0xLjA5NSwyLjU0OSwxNy4wODksMTcuMDg5LDAsMCwwLTIuNzQ3LTUuNDkyLjQuNCwwLDEsMC0uNjM0LjQ3NSwxNS44MzEsMTUuODMxLDAsMCwxLDMuMDgsNy41ODRDMTkuMTYzLDI3LjA2NiwxOS4xNjgsMjcuMTE1LDE5LjE3LDI3LjEzMVptMy44LTEwLjFhMy42LDMuNiwwLDAsMSwxLjM2Mi0uMjQyLDcuOTUzLDcuOTUzLDAsMCwxLDIuNTUzLjUsNC4zNiw0LjM2LDAsMCwwLS45OSwxLjM3OGwtLjEuMjA2Yy0uNjM5LDEuMzE0LS45MzEsMS45MTQtMS40NDcsMi4yMzdhNS40MDksNS40MDksMCwwLDEtMi42MTQuNDI0LDEwLjU4NSwxMC41ODUsMCwwLDEsMi4wMjctMi4wNTkuNC40LDAsMSwwLS40ODYtLjYyNSwxMS42LDExLjYsMCwwLDAtMi4xMTcsMi4xMTdjLS4wODUtMS4zMjUuMTEzLTMuMjQ3LDEuODExLTMuOTRaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTAuNzMyIC05LjU0MykiIGZpbGw9IiM0NDRiNTQiLz4KPC9zdmc+Cg==\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"foodCard\":\"food-card-module--foodCard--1sHZx\",\"foodCardTop\":\"food-card-module--foodCardTop--pAxc3\",\"foodCardBody\":\"food-card-module--foodCardBody--2UN2i\",\"foodCardTitle\":\"food-card-module--foodCardTitle--34BfR\",\"foodCardImg\":\"food-card-module--foodCardImg--pJLFd\",\"carouselItem\":\"food-card-module--carouselItem--3FQkk\"};","'use strict';\n\nrequire(\"core-js/modules/es.array.reduce.js\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.dayMatchesModifier = dayMatchesModifier;\nexports.getModifiersForDay = getModifiersForDay;\nvar _DateUtils = require('./DateUtils');\nvar _Helpers = require('./Helpers');\n\n/**\n * Return `true` if a date matches the specified modifier.\n *\n * @export\n * @param {Date} day\n * @param {Any} modifier\n * @return {Boolean}\n */\nfunction dayMatchesModifier(day, modifier) {\n if (!modifier) {\n return false;\n }\n var arr = Array.isArray(modifier) ? modifier : [modifier];\n return arr.some(function (mod) {\n if (!mod) {\n return false;\n }\n if (mod instanceof Date) {\n return (0, _DateUtils.isSameDay)(day, mod);\n }\n if ((0, _Helpers.isRangeOfDates)(mod)) {\n return (0, _DateUtils.isDayInRange)(day, mod);\n }\n if (mod.after && mod.before && (0, _DateUtils.isDayAfter)(mod.before, mod.after)) {\n return (0, _DateUtils.isDayAfter)(day, mod.after) && (0, _DateUtils.isDayBefore)(day, mod.before);\n }\n if (mod.after && mod.before && ((0, _DateUtils.isDayAfter)(mod.after, mod.before) || (0, _DateUtils.isSameDay)(mod.after, mod.before))) {\n return (0, _DateUtils.isDayAfter)(day, mod.after) || (0, _DateUtils.isDayBefore)(day, mod.before);\n }\n if (mod.after) {\n return (0, _DateUtils.isDayAfter)(day, mod.after);\n }\n if (mod.before) {\n return (0, _DateUtils.isDayBefore)(day, mod.before);\n }\n if (mod.daysOfWeek) {\n return mod.daysOfWeek.some(function (dayOfWeek) {\n return day.getDay() === dayOfWeek;\n });\n }\n if (typeof mod === 'function') {\n return mod(day);\n }\n return false;\n });\n}\n\n/**\n * Return the modifiers matching the given day for the given\n * object of modifiers.\n *\n * @export\n * @param {Date} day\n * @param {Object} [modifiersObj={}]\n * @return {Array}\n */\nfunction getModifiersForDay(day) {\n var modifiersObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return Object.keys(modifiersObj).reduce(function (modifiers, modifierName) {\n var value = modifiersObj[modifierName];\n if (dayMatchesModifier(day, value)) {\n modifiers.push(modifierName);\n }\n return modifiers;\n }, []);\n}\nexports.default = {\n dayMatchesModifier: dayMatchesModifier,\n getModifiersForDay: getModifiersForDay\n};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"section\":\"filter-weeks-module--section--2m-6I\",\"selectBlockContainer\":\"filter-weeks-module--selectBlockContainer--3aFqO\",\"buttonGroupCalendar\":\"filter-weeks-module--buttonGroupCalendar--2i-XU\",\"buttonBlock\":\"filter-weeks-module--buttonBlock--1TZ3S\",\"button\":\"filter-weeks-module--button--28_e_\",\"active\":\"filter-weeks-module--active--3gT9r\",\"calendar\":\"filter-weeks-module--calendar--2MAS2\",\"buttonGroup\":\"filter-weeks-module--buttonGroup--BxZKm\"};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ModifiersUtils = exports.LocaleUtils = exports.DateUtils = exports.DayPicker = undefined;\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n};\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _react = require('react');\nvar _react2 = _interopRequireDefault(_react);\nvar _Caption = require('./Caption');\nvar _Caption2 = _interopRequireDefault(_Caption);\nvar _Navbar = require('./Navbar');\nvar _Navbar2 = _interopRequireDefault(_Navbar);\nvar _Month = require('./Month');\nvar _Month2 = _interopRequireDefault(_Month);\nvar _Weekday = require('./Weekday');\nvar _Weekday2 = _interopRequireDefault(_Weekday);\nvar _Helpers = require('./Helpers');\nvar Helpers = _interopRequireWildcard(_Helpers);\nvar _DateUtils = require('./DateUtils');\nvar DateUtils = _interopRequireWildcard(_DateUtils);\nvar _LocaleUtils = require('./LocaleUtils');\nvar LocaleUtils = _interopRequireWildcard(_LocaleUtils);\nvar _ModifiersUtils = require('./ModifiersUtils');\nvar ModifiersUtils = _interopRequireWildcard(_ModifiersUtils);\nvar _classNames = require('./classNames');\nvar _classNames2 = _interopRequireDefault(_classNames);\nvar _keys = require('./keys');\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n newObj.default = obj;\n return newObj;\n }\n}\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _objectWithoutProperties(obj, keys) {\n var target = {};\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n return target;\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\nvar DayPicker = exports.DayPicker = function (_Component) {\n _inherits(DayPicker, _Component);\n function DayPicker(props) {\n _classCallCheck(this, DayPicker);\n var _this = _possibleConstructorReturn(this, (DayPicker.__proto__ || Object.getPrototypeOf(DayPicker)).call(this, props));\n _this.dayPicker = null;\n _this.showNextMonth = function (callback) {\n if (!_this.allowNextMonth()) {\n return;\n }\n var deltaMonths = _this.props.pagedNavigation ? _this.props.numberOfMonths : 1;\n var nextMonth = DateUtils.addMonths(_this.state.currentMonth, deltaMonths);\n _this.showMonth(nextMonth, callback);\n };\n _this.showPreviousMonth = function (callback) {\n if (!_this.allowPreviousMonth()) {\n return;\n }\n var deltaMonths = _this.props.pagedNavigation ? _this.props.numberOfMonths : 1;\n var previousMonth = DateUtils.addMonths(_this.state.currentMonth, -deltaMonths);\n _this.showMonth(previousMonth, callback);\n };\n _this.handleKeyDown = function (e) {\n e.persist();\n switch (e.keyCode) {\n case _keys.LEFT:\n if (_this.props.dir === 'rtl') {\n _this.showNextMonth();\n } else {\n _this.showPreviousMonth();\n }\n Helpers.cancelEvent(e);\n break;\n case _keys.RIGHT:\n if (_this.props.dir === 'rtl') {\n _this.showPreviousMonth();\n } else {\n _this.showNextMonth();\n }\n Helpers.cancelEvent(e);\n break;\n case _keys.UP:\n _this.showPreviousYear();\n Helpers.cancelEvent(e);\n break;\n case _keys.DOWN:\n _this.showNextYear();\n Helpers.cancelEvent(e);\n break;\n default:\n break;\n }\n if (_this.props.onKeyDown) {\n _this.props.onKeyDown(e);\n }\n };\n _this.handleDayKeyDown = function (day, modifiers, e) {\n e.persist();\n switch (e.keyCode) {\n case _keys.LEFT:\n Helpers.cancelEvent(e);\n if (_this.props.dir === 'rtl') {\n _this.focusNextDay(e.target);\n } else {\n _this.focusPreviousDay(e.target);\n }\n break;\n case _keys.RIGHT:\n Helpers.cancelEvent(e);\n if (_this.props.dir === 'rtl') {\n _this.focusPreviousDay(e.target);\n } else {\n _this.focusNextDay(e.target);\n }\n break;\n case _keys.UP:\n Helpers.cancelEvent(e);\n _this.focusPreviousWeek(e.target);\n break;\n case _keys.DOWN:\n Helpers.cancelEvent(e);\n _this.focusNextWeek(e.target);\n break;\n case _keys.ENTER:\n case _keys.SPACE:\n Helpers.cancelEvent(e);\n if (_this.props.onDayClick) {\n _this.handleDayClick(day, modifiers, e);\n }\n break;\n default:\n break;\n }\n if (_this.props.onDayKeyDown) {\n _this.props.onDayKeyDown(day, modifiers, e);\n }\n };\n _this.handleDayClick = function (day, modifiers, e) {\n e.persist();\n if (modifiers[_this.props.classNames.outside] && _this.props.enableOutsideDaysClick) {\n _this.handleOutsideDayClick(day);\n }\n if (_this.props.onDayClick) {\n _this.props.onDayClick(day, modifiers, e);\n }\n };\n _this.handleTodayButtonClick = function (e) {\n var today = new Date();\n var month = new Date(today.getFullYear(), today.getMonth());\n _this.showMonth(month);\n e.target.blur();\n if (_this.props.onTodayButtonClick) {\n e.persist();\n _this.props.onTodayButtonClick(new Date(today.getFullYear(), today.getMonth(), today.getDate()), ModifiersUtils.getModifiersForDay(today, _this.props.modifiers), e);\n }\n };\n var currentMonth = _this.getCurrentMonthFromProps(props);\n _this.state = {\n currentMonth: currentMonth\n };\n return _this;\n }\n _createClass(DayPicker, [{\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n // Changing the `month` props means changing the current displayed month\n if (prevProps.month !== this.props.month && !DateUtils.isSameMonth(prevProps.month, this.props.month)) {\n var currentMonth = this.getCurrentMonthFromProps(this.props);\n // eslint-disable-next-line react/no-did-update-set-state\n this.setState({\n currentMonth: currentMonth\n });\n }\n }\n }, {\n key: 'getCurrentMonthFromProps',\n /**\n * Return the month to be shown in the calendar based on the component props.\n *\n * @param {Object} props\n * @returns Date\n * @memberof DayPicker\n * @private\n */\n value: function getCurrentMonthFromProps(props) {\n var initialMonth = Helpers.startOfMonth(props.month || props.initialMonth || new Date());\n var currentMonth = initialMonth;\n if (props.pagedNavigation && props.numberOfMonths > 1 && props.fromMonth) {\n var fromMonth = Helpers.startOfMonth(props.fromMonth);\n var diffInMonths = Helpers.getMonthsDiff(fromMonth, currentMonth);\n currentMonth = DateUtils.addMonths(fromMonth, Math.floor(diffInMonths / props.numberOfMonths) * props.numberOfMonths);\n } else if (props.toMonth && props.numberOfMonths > 1 && Helpers.getMonthsDiff(currentMonth, props.toMonth) <= 0) {\n currentMonth = DateUtils.addMonths(Helpers.startOfMonth(props.toMonth), 1 - this.props.numberOfMonths);\n }\n return currentMonth;\n }\n }, {\n key: 'getNextNavigableMonth',\n value: function getNextNavigableMonth() {\n return DateUtils.addMonths(this.state.currentMonth, this.props.numberOfMonths);\n }\n }, {\n key: 'getPreviousNavigableMonth',\n value: function getPreviousNavigableMonth() {\n return DateUtils.addMonths(this.state.currentMonth, -1);\n }\n }, {\n key: 'allowPreviousMonth',\n value: function allowPreviousMonth() {\n var previousMonth = DateUtils.addMonths(this.state.currentMonth, -1);\n return this.allowMonth(previousMonth);\n }\n }, {\n key: 'allowNextMonth',\n value: function allowNextMonth() {\n var nextMonth = DateUtils.addMonths(this.state.currentMonth, this.props.numberOfMonths);\n return this.allowMonth(nextMonth);\n }\n }, {\n key: 'allowMonth',\n value: function allowMonth(d) {\n var _props = this.props,\n fromMonth = _props.fromMonth,\n toMonth = _props.toMonth,\n canChangeMonth = _props.canChangeMonth;\n if (!canChangeMonth || fromMonth && Helpers.getMonthsDiff(fromMonth, d) < 0 || toMonth && Helpers.getMonthsDiff(toMonth, d) > 0) {\n return false;\n }\n return true;\n }\n }, {\n key: 'allowYearChange',\n value: function allowYearChange() {\n return this.props.canChangeMonth;\n }\n }, {\n key: 'showMonth',\n value: function showMonth(d, callback) {\n var _this2 = this;\n if (!this.allowMonth(d)) {\n return;\n }\n this.setState({\n currentMonth: Helpers.startOfMonth(d)\n }, function () {\n if (callback) {\n callback();\n }\n if (_this2.props.onMonthChange) {\n _this2.props.onMonthChange(_this2.state.currentMonth);\n }\n });\n }\n }, {\n key: 'showNextYear',\n value: function showNextYear() {\n if (!this.allowYearChange()) {\n return;\n }\n var nextMonth = DateUtils.addMonths(this.state.currentMonth, 12);\n this.showMonth(nextMonth);\n }\n }, {\n key: 'showPreviousYear',\n value: function showPreviousYear() {\n if (!this.allowYearChange()) {\n return;\n }\n var nextMonth = DateUtils.addMonths(this.state.currentMonth, -12);\n this.showMonth(nextMonth);\n }\n }, {\n key: 'focus',\n value: function focus() {\n this.wrapper.focus();\n }\n }, {\n key: 'focusFirstDayOfMonth',\n value: function focusFirstDayOfMonth() {\n Helpers.getDayNodes(this.dayPicker, this.props.classNames)[0].focus();\n }\n }, {\n key: 'focusLastDayOfMonth',\n value: function focusLastDayOfMonth() {\n var dayNodes = Helpers.getDayNodes(this.dayPicker, this.props.classNames);\n dayNodes[dayNodes.length - 1].focus();\n }\n }, {\n key: 'focusPreviousDay',\n value: function focusPreviousDay(dayNode) {\n var _this3 = this;\n var dayNodes = Helpers.getDayNodes(this.dayPicker, this.props.classNames);\n var dayNodeIndex = Helpers.nodeListToArray(dayNodes).indexOf(dayNode);\n if (dayNodeIndex === -1) return;\n if (dayNodeIndex === 0) {\n this.showPreviousMonth(function () {\n return _this3.focusLastDayOfMonth();\n });\n } else {\n dayNodes[dayNodeIndex - 1].focus();\n }\n }\n }, {\n key: 'focusNextDay',\n value: function focusNextDay(dayNode) {\n var _this4 = this;\n var dayNodes = Helpers.getDayNodes(this.dayPicker, this.props.classNames);\n var dayNodeIndex = Helpers.nodeListToArray(dayNodes).indexOf(dayNode);\n if (dayNodeIndex === -1) return;\n if (dayNodeIndex === dayNodes.length - 1) {\n this.showNextMonth(function () {\n return _this4.focusFirstDayOfMonth();\n });\n } else {\n dayNodes[dayNodeIndex + 1].focus();\n }\n }\n }, {\n key: 'focusNextWeek',\n value: function focusNextWeek(dayNode) {\n var _this5 = this;\n var dayNodes = Helpers.getDayNodes(this.dayPicker, this.props.classNames);\n var dayNodeIndex = Helpers.nodeListToArray(dayNodes).indexOf(dayNode);\n var isInLastWeekOfMonth = dayNodeIndex > dayNodes.length - 8;\n if (isInLastWeekOfMonth) {\n this.showNextMonth(function () {\n var daysAfterIndex = dayNodes.length - dayNodeIndex;\n var nextMonthDayNodeIndex = 7 - daysAfterIndex;\n Helpers.getDayNodes(_this5.dayPicker, _this5.props.classNames)[nextMonthDayNodeIndex].focus();\n });\n } else {\n dayNodes[dayNodeIndex + 7].focus();\n }\n }\n }, {\n key: 'focusPreviousWeek',\n value: function focusPreviousWeek(dayNode) {\n var _this6 = this;\n var dayNodes = Helpers.getDayNodes(this.dayPicker, this.props.classNames);\n var dayNodeIndex = Helpers.nodeListToArray(dayNodes).indexOf(dayNode);\n var isInFirstWeekOfMonth = dayNodeIndex <= 6;\n if (isInFirstWeekOfMonth) {\n this.showPreviousMonth(function () {\n var previousMonthDayNodes = Helpers.getDayNodes(_this6.dayPicker, _this6.props.classNames);\n var startOfLastWeekOfMonth = previousMonthDayNodes.length - 7;\n var previousMonthDayNodeIndex = startOfLastWeekOfMonth + dayNodeIndex;\n previousMonthDayNodes[previousMonthDayNodeIndex].focus();\n });\n } else {\n dayNodes[dayNodeIndex - 7].focus();\n }\n }\n\n // Event handlers\n }, {\n key: 'handleOutsideDayClick',\n value: function handleOutsideDayClick(day) {\n var currentMonth = this.state.currentMonth;\n var numberOfMonths = this.props.numberOfMonths;\n var diffInMonths = Helpers.getMonthsDiff(currentMonth, day);\n if (diffInMonths > 0 && diffInMonths >= numberOfMonths) {\n this.showNextMonth();\n } else if (diffInMonths < 0) {\n this.showPreviousMonth();\n }\n }\n }, {\n key: 'renderNavbar',\n value: function renderNavbar() {\n var _props2 = this.props,\n labels = _props2.labels,\n locale = _props2.locale,\n localeUtils = _props2.localeUtils,\n canChangeMonth = _props2.canChangeMonth,\n navbarElement = _props2.navbarElement,\n attributes = _objectWithoutProperties(_props2, ['labels', 'locale', 'localeUtils', 'canChangeMonth', 'navbarElement']);\n if (!canChangeMonth) return null;\n var props = {\n month: this.state.currentMonth,\n classNames: this.props.classNames,\n className: this.props.classNames.navBar,\n nextMonth: this.getNextNavigableMonth(),\n previousMonth: this.getPreviousNavigableMonth(),\n showPreviousButton: this.allowPreviousMonth(),\n showNextButton: this.allowNextMonth(),\n onNextClick: this.showNextMonth,\n onPreviousClick: this.showPreviousMonth,\n dir: attributes.dir,\n labels: labels,\n locale: locale,\n localeUtils: localeUtils\n };\n return _react2.default.isValidElement(navbarElement) ? _react2.default.cloneElement(navbarElement, props) : _react2.default.createElement(navbarElement, props);\n }\n }, {\n key: 'renderMonths',\n value: function renderMonths() {\n var months = [];\n var firstDayOfWeek = Helpers.getFirstDayOfWeekFromProps(this.props);\n for (var i = 0; i < this.props.numberOfMonths; i += 1) {\n var month = DateUtils.addMonths(this.state.currentMonth, i);\n months.push(_react2.default.createElement(_Month2.default, _extends({\n key: i\n }, this.props, {\n month: month,\n firstDayOfWeek: firstDayOfWeek,\n onDayKeyDown: this.handleDayKeyDown,\n onDayClick: this.handleDayClick\n })));\n }\n if (this.props.reverseMonths) {\n months.reverse();\n }\n return months;\n }\n }, {\n key: 'renderFooter',\n value: function renderFooter() {\n if (this.props.todayButton) {\n return _react2.default.createElement('div', {\n className: this.props.classNames.footer\n }, this.renderTodayButton());\n }\n return null;\n }\n }, {\n key: 'renderTodayButton',\n value: function renderTodayButton() {\n return _react2.default.createElement('button', {\n type: 'button',\n tabIndex: 0,\n className: this.props.classNames.todayButton,\n 'aria-label': this.props.todayButton,\n onClick: this.handleTodayButtonClick\n }, this.props.todayButton);\n }\n }, {\n key: 'render',\n value: function render() {\n var _this7 = this;\n var className = this.props.classNames.container;\n if (!this.props.onDayClick) {\n className = className + ' ' + this.props.classNames.interactionDisabled;\n }\n if (this.props.className) {\n className = className + ' ' + this.props.className;\n }\n return _react2.default.createElement('div', _extends({}, this.props.containerProps, {\n className: className,\n ref: function ref(el) {\n return _this7.dayPicker = el;\n },\n lang: this.props.locale\n }), _react2.default.createElement('div', {\n className: this.props.classNames.wrapper,\n ref: function ref(el) {\n return _this7.wrapper = el;\n },\n tabIndex: this.props.canChangeMonth && typeof this.props.tabIndex !== 'undefined' ? this.props.tabIndex : -1,\n onKeyDown: this.handleKeyDown,\n onFocus: this.props.onFocus,\n onBlur: this.props.onBlur\n }, this.renderNavbar(), _react2.default.createElement('div', {\n className: this.props.classNames.months\n }, this.renderMonths()), this.renderFooter()));\n }\n }]);\n return DayPicker;\n}(_react.Component);\nDayPicker.defaultProps = {\n classNames: _classNames2.default,\n tabIndex: 0,\n numberOfMonths: 1,\n labels: {\n previousMonth: 'Previous Month',\n nextMonth: 'Next Month'\n },\n locale: 'en',\n localeUtils: LocaleUtils,\n showOutsideDays: false,\n enableOutsideDaysClick: true,\n fixedWeeks: false,\n canChangeMonth: true,\n reverseMonths: false,\n pagedNavigation: false,\n showWeekNumbers: false,\n showWeekDays: true,\n renderDay: function renderDay(day) {\n return day.getDate();\n },\n renderWeek: function renderWeek(weekNumber) {\n return weekNumber;\n },\n weekdayElement: _react2.default.createElement(_Weekday2.default, null),\n navbarElement: _react2.default.createElement(_Navbar2.default, {\n classNames: _classNames2.default\n }),\n captionElement: _react2.default.createElement(_Caption2.default, {\n classNames: _classNames2.default\n })\n};\nDayPicker.VERSION = '7.4.10';\nDayPicker.DateUtils = DateUtils;\nDayPicker.LocaleUtils = LocaleUtils;\nDayPicker.ModifiersUtils = ModifiersUtils;\nexports.DateUtils = DateUtils;\nexports.LocaleUtils = LocaleUtils;\nexports.ModifiersUtils = ModifiersUtils;\nexports.default = DayPicker;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _react = require('react');\nvar _react2 = _interopRequireDefault(_react);\nvar _LocaleUtils = require('./LocaleUtils');\nvar _LocaleUtils2 = _interopRequireDefault(_LocaleUtils);\nvar _keys = require('./keys');\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\nvar Caption = function (_Component) {\n _inherits(Caption, _Component);\n function Caption(props) {\n _classCallCheck(this, Caption);\n var _this = _possibleConstructorReturn(this, (Caption.__proto__ || Object.getPrototypeOf(Caption)).call(this, props));\n _this.handleKeyUp = _this.handleKeyUp.bind(_this);\n return _this;\n }\n _createClass(Caption, [{\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate(nextProps) {\n return nextProps.locale !== this.props.locale || nextProps.classNames !== this.props.classNames || nextProps.date.getMonth() !== this.props.date.getMonth() || nextProps.date.getFullYear() !== this.props.date.getFullYear();\n }\n }, {\n key: 'handleKeyUp',\n value: function handleKeyUp(e) {\n if (e.keyCode === _keys.ENTER) {\n this.props.onClick(e);\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n classNames = _props.classNames,\n date = _props.date,\n months = _props.months,\n locale = _props.locale,\n localeUtils = _props.localeUtils,\n onClick = _props.onClick;\n return _react2.default.createElement('div', {\n className: classNames.caption,\n role: 'heading',\n 'aria-live': 'polite'\n }, _react2.default.createElement('div', {\n onClick: onClick,\n onKeyUp: this.handleKeyUp\n }, months ? months[date.getMonth()] + ' ' + date.getFullYear() : localeUtils.formatMonthTitle(date, locale)));\n }\n }]);\n return Caption;\n}(_react.Component);\nCaption.defaultProps = {\n localeUtils: _LocaleUtils2.default\n};\nexports.default = Caption;","var _toConsumableArray = require(\"/codebuild/output/src3781923223/src/lp-poland/node_modules/@babel/runtime/helpers/toConsumableArray.js\");\nvar _defineProperty = require(\"/codebuild/output/src3781923223/src/lp-poland/node_modules/@babel/runtime/helpers/defineProperty.js\");\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n/**\n * Created by Samuel on 6/4/2016.\n * Simple wrapper functions to produce shorter UUIDs for cookies, maybe everything?\n */\n\nvar _require = require('uuid'),\n uuidv4 = _require.v4;\nvar anyBase = require('any-base');\nvar flickrBase58 = '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ';\nvar cookieBase90 = \"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&'()*+-./:<=>?@[]^_`{|}~\";\nvar baseOptions = {\n consistentLength: true\n};\n\n// A default generator, instantiated only if used.\nvar toFlickr;\n\n/**\n * Takes a UUID, strips the dashes, and translates.\n * @param {string} longId\n * @param {function(string)} translator\n * @param {Object} [paddingParams]\n * @returns {string}\n */\nvar shortenUUID = function shortenUUID(longId, translator, paddingParams) {\n var translated = translator(longId.toLowerCase().replace(/-/g, ''));\n if (!paddingParams || !paddingParams.consistentLength) return translated;\n return translated.padStart(paddingParams.shortIdLength, paddingParams.paddingChar);\n};\n\n/**\n * Translate back to hex and turn back into UUID format, with dashes\n * @param {string} shortId\n * @param {function(string)} translator\n * @returns {string}\n */\nvar enlargeUUID = function enlargeUUID(shortId, translator) {\n var uu1 = translator(shortId).padStart(32, '0');\n\n // Join the zero padding and the UUID and then slice it up with match\n var m = uu1.match(/(\\w{8})(\\w{4})(\\w{4})(\\w{4})(\\w{12})/);\n\n // Accumulate the matches and join them.\n return [m[1], m[2], m[3], m[4], m[5]].join('-');\n};\n\n// Calculate length for the shortened ID\nvar getShortIdLength = function getShortIdLength(alphabetLength) {\n return Math.ceil(Math.log(Math.pow(2, 128)) / Math.log(alphabetLength));\n};\nmodule.exports = function () {\n /**\n * @param {string} toAlphabet - Defaults to flickrBase58 if not provided\n * @param {Object} [options]\n *\n * @returns {{new: (function()),\n * uuid: (function()),\n * fromUUID: (function(string)),\n * toUUID: (function(string)),\n * alphabet: (string)}}\n */\n var makeConvertor = function makeConvertor(toAlphabet, options) {\n // Default to Flickr 58\n var useAlphabet = toAlphabet || flickrBase58;\n\n // Default to baseOptions\n var selectedOptions = _objectSpread(_objectSpread({}, baseOptions), options);\n\n // Check alphabet for duplicate entries\n if (_toConsumableArray(new Set(Array.from(useAlphabet))).length !== useAlphabet.length) {\n throw new Error('The provided Alphabet has duplicate characters resulting in unreliable results');\n }\n var shortIdLength = getShortIdLength(useAlphabet.length);\n\n // Padding Params\n var paddingParams = {\n shortIdLength: shortIdLength,\n consistentLength: selectedOptions.consistentLength,\n paddingChar: useAlphabet[0]\n };\n\n // UUIDs are in hex, so we translate to and from.\n var fromHex = anyBase(anyBase.HEX, useAlphabet);\n var toHex = anyBase(useAlphabet, anyBase.HEX);\n var generate = function generate() {\n return shortenUUID(uuidv4(), fromHex, paddingParams);\n };\n var translator = {\n new: generate,\n generate: generate,\n uuid: uuidv4,\n fromUUID: function fromUUID(uuid) {\n return shortenUUID(uuid, fromHex, paddingParams);\n },\n toUUID: function toUUID(shortUuid) {\n return enlargeUUID(shortUuid, toHex);\n },\n alphabet: useAlphabet,\n maxLength: shortIdLength\n };\n Object.freeze(translator);\n return translator;\n };\n\n // Expose the constants for other purposes.\n makeConvertor.constants = {\n flickrBase58: flickrBase58,\n cookieBase90: cookieBase90\n };\n\n // Expose the generic v4 UUID generator for convenience\n makeConvertor.uuid = uuidv4;\n\n // Provide a generic generator\n makeConvertor.generate = function () {\n if (!toFlickr) {\n // Generate on first use;\n toFlickr = makeConvertor(flickrBase58).generate;\n }\n return toFlickr();\n };\n return makeConvertor;\n}();","// extracted by mini-css-extract-plugin\nmodule.exports = {\"foodCarouselSection\":\"food-carousel-calendar-module--foodCarouselSection--29WkU\",\"foodCarouselControls\":\"food-carousel-calendar-module--foodCarouselControls--11ng8\",\"foodCarouselControl\":\"food-carousel-calendar-module--foodCarouselControl--29vV9\",\"active\":\"food-carousel-calendar-module--active--MaoTC\",\"text\":\"food-carousel-calendar-module--text--2K8QN\",\"carouselItem\":\"food-carousel-calendar-module--carouselItem--3DOED\",\"foodCardList\":\"food-carousel-calendar-module--foodCardList--17pp6\",\"outsideButton\":\"food-carousel-calendar-module--outsideButton--2UqEE\",\"foodCarouselTabs\":\"food-carousel-calendar-module--foodCarouselTabs--3hIRQ\",\"foodCarouselTab\":\"food-carousel-calendar-module--foodCarouselTab--1S07L\",\"filterCardList\":\"food-carousel-calendar-module--filterCardList--2rEE6\",\"carouselCard\":\"food-carousel-calendar-module--carouselCard--27qOE\",\"calendarWrapSlider\":\"food-carousel-calendar-module--calendarWrapSlider--r9Kz0\",\"foodCardTitle\":\"food-carousel-calendar-module--foodCardTitle--18eXA\",\"foodCard\":\"food-carousel-calendar-module--foodCard--JVP2T\",\"foodCardBody\":\"food-carousel-calendar-module--foodCardBody--2_D56\",\"slickSlider\":\"food-carousel-calendar-module--slick-slider--3kTSp\",\"slickSlide\":\"food-carousel-calendar-module--slick-slide--2LvKI\",\"slickTrack\":\"food-carousel-calendar-module--slick-track--1gW8z\",\"slickList\":\"food-carousel-calendar-module--slick-list--yXevy\",\"greenText\":\"food-carousel-calendar-module--greenText---6Ljh\",\"flexContainer\":\"food-carousel-calendar-module--flexContainer--21j2o\",\"typeBox\":\"food-carousel-calendar-module--typeBox--1X20l\",\"foodCardContainer\":\"food-carousel-calendar-module--foodCardContainer--2zKUh\",\"foodCardItem\":\"food-carousel-calendar-module--foodCardItem--2MakC\",\"wrapper\":\"food-carousel-calendar-module--wrapper--6JyjJ\",\"cardWrapper\":\"food-carousel-calendar-module--cardWrapper---atsm\"};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _react = require('react');\nvar _react2 = _interopRequireDefault(_react);\nvar _Weekdays = require('./Weekdays');\nvar _Weekdays2 = _interopRequireDefault(_Weekdays);\nvar _Day = require('./Day');\nvar _Day2 = _interopRequireDefault(_Day);\nvar _keys = require('./keys');\nvar _ModifiersUtils = require('./ModifiersUtils');\nvar ModifiersUtils = _interopRequireWildcard(_ModifiersUtils);\nvar _Helpers = require('./Helpers');\nvar Helpers = _interopRequireWildcard(_Helpers);\nvar _DateUtils = require('./DateUtils');\nvar DateUtils = _interopRequireWildcard(_DateUtils);\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n newObj.default = obj;\n return newObj;\n }\n}\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\nvar Month = function (_Component) {\n _inherits(Month, _Component);\n function Month() {\n var _ref;\n var _temp, _this, _ret;\n _classCallCheck(this, Month);\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Month.__proto__ || Object.getPrototypeOf(Month)).call.apply(_ref, [this].concat(args))), _this), _this.renderDay = function (day) {\n var monthNumber = _this.props.month.getMonth();\n var propModifiers = Helpers.getModifiersFromProps(_this.props);\n var dayModifiers = ModifiersUtils.getModifiersForDay(day, propModifiers);\n if (DateUtils.isSameDay(day, new Date()) && !Object.prototype.hasOwnProperty.call(propModifiers, _this.props.classNames.today)) {\n dayModifiers.push(_this.props.classNames.today);\n }\n if (day.getMonth() !== monthNumber) {\n dayModifiers.push(_this.props.classNames.outside);\n }\n var isOutside = day.getMonth() !== monthNumber;\n var tabIndex = -1;\n // Focus on the first day of the month\n if (_this.props.onDayClick && !isOutside && day.getDate() === 1) {\n tabIndex = _this.props.tabIndex; // eslint-disable-line prefer-destructuring\n }\n\n var key = '' + day.getFullYear() + day.getMonth() + day.getDate();\n var modifiers = {};\n dayModifiers.forEach(function (modifier) {\n modifiers[modifier] = true;\n });\n return _react2.default.createElement(_Day2.default, {\n key: '' + (isOutside ? 'outside-' : '') + key,\n classNames: _this.props.classNames,\n day: day,\n modifiers: modifiers,\n modifiersStyles: _this.props.modifiersStyles,\n empty: isOutside && !_this.props.showOutsideDays && !_this.props.fixedWeeks,\n tabIndex: tabIndex,\n ariaLabel: _this.props.localeUtils.formatDay(day, _this.props.locale),\n ariaDisabled: isOutside || dayModifiers.indexOf(_this.props.classNames.disabled) > -1,\n ariaSelected: dayModifiers.indexOf(_this.props.classNames.selected) > -1,\n onClick: _this.props.onDayClick,\n onFocus: _this.props.onDayFocus,\n onKeyDown: _this.props.onDayKeyDown,\n onMouseEnter: _this.props.onDayMouseEnter,\n onMouseLeave: _this.props.onDayMouseLeave,\n onMouseDown: _this.props.onDayMouseDown,\n onMouseUp: _this.props.onDayMouseUp,\n onTouchEnd: _this.props.onDayTouchEnd,\n onTouchStart: _this.props.onDayTouchStart\n }, _this.props.renderDay(day, modifiers));\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n _createClass(Month, [{\n key: 'render',\n value: function render() {\n var _this2 = this;\n var _props = this.props,\n classNames = _props.classNames,\n month = _props.month,\n months = _props.months,\n fixedWeeks = _props.fixedWeeks,\n captionElement = _props.captionElement,\n weekdayElement = _props.weekdayElement,\n locale = _props.locale,\n localeUtils = _props.localeUtils,\n weekdaysLong = _props.weekdaysLong,\n weekdaysShort = _props.weekdaysShort,\n firstDayOfWeek = _props.firstDayOfWeek,\n onCaptionClick = _props.onCaptionClick,\n showWeekNumbers = _props.showWeekNumbers,\n showWeekDays = _props.showWeekDays,\n onWeekClick = _props.onWeekClick;\n var captionProps = {\n date: month,\n classNames: classNames,\n months: months,\n localeUtils: localeUtils,\n locale: locale,\n onClick: onCaptionClick ? function (e) {\n return onCaptionClick(month, e);\n } : undefined\n };\n var caption = _react2.default.isValidElement(captionElement) ? _react2.default.cloneElement(captionElement, captionProps) : _react2.default.createElement(captionElement, captionProps);\n var weeks = Helpers.getWeekArray(month, firstDayOfWeek, fixedWeeks);\n return _react2.default.createElement('div', {\n className: classNames.month,\n role: 'grid'\n }, caption, showWeekDays && _react2.default.createElement(_Weekdays2.default, {\n classNames: classNames,\n weekdaysShort: weekdaysShort,\n weekdaysLong: weekdaysLong,\n firstDayOfWeek: firstDayOfWeek,\n showWeekNumbers: showWeekNumbers,\n locale: locale,\n localeUtils: localeUtils,\n weekdayElement: weekdayElement\n }), _react2.default.createElement('div', {\n className: classNames.body,\n role: 'rowgroup'\n }, weeks.map(function (week) {\n var weekNumber = void 0;\n if (showWeekNumbers) {\n weekNumber = DateUtils.getWeekNumber(week[6]);\n }\n return _react2.default.createElement('div', {\n key: week[0].getTime(),\n className: classNames.week,\n role: 'row'\n }, showWeekNumbers && _react2.default.createElement('div', {\n className: classNames.weekNumber,\n tabIndex: onWeekClick ? 0 : -1,\n role: 'gridcell',\n onClick: onWeekClick ? function (e) {\n return onWeekClick(weekNumber, week, e);\n } : undefined,\n onKeyUp: onWeekClick ? function (e) {\n return e.keyCode === _keys.ENTER && onWeekClick(weekNumber, week, e);\n } : undefined\n }, _this2.props.renderWeek(weekNumber, week, month)), week.map(_this2.renderDay));\n })));\n }\n }]);\n return Month;\n}(_react.Component);\nexports.default = Month;","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart,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5NDgtMS41NDI3IDMuNDM3NS0zLjQzNzUgMy40Mzc1cy0zLjQzNzUtMS41NDI3LTMuNDM3NS0zLjQzNzUgMS41NDI3LTMuNDM3NSAzLjQzNzUtMy40Mzc1Yy4zNzk1IDAgLjY4NzUtLjMwOC42ODc1LS42ODc1cy0uMzA4LS42ODc1LS42ODc1LS42ODc1Yy0yLjY1MzcgMC00LjgxMjUgMi4xNTg4LTQuODEyNSA0LjgxMjVzMi4xNTg4IDQuODEyNSA0LjgxMjUgNC44MTI1IDQuODEyNS0yLjE1ODggNC44MTI1LTQuODEyNWMwLS4zNzk1LS4zMDgtLjY4NzUtLjY4NzUtLjY4NzV6Ii8+PHBhdGggZD0ibTU3Ljc1IDU5LjgxMjVjLS4zNzk1IDAtLjY4NzUuMzA4LS42ODc1LjY4NzUgMCAxLjg5NDgtMS41NDI3IDMuNDM3NS0zLjQzNzUgMy40Mzc1cy0zLjQzNzUtMS41NDI3LTMuNDM3NS0zLjQzNzUgMS41NDI3LTMuNDM3NSAzLjQzNzUtMy40Mzc1Yy4zNzk1IDAgLjY4NzUtLjMwOC42ODc1LS42ODc1cy0uMzA4LS42ODc1LS42ODc1LS42ODc1Yy0yLjY1MzcgMC00LjgxMjUgMi4xNTg4LTQuODEyNSA0LjgxMjVzMi4xNTg4IDQuODEyNSA0LjgxMjUgNC44MTI1IDQuODEyNS0yLjE1ODggNC44MTI1LTQuODEyNWMwLS4zNzk1LS4zMDgtLjY4NzUtLjY4NzUtLjY4NzV6Ii8+PC9nPjwvc3ZnPg==\"","\"use strict\";\n\nexports.__esModule = true;\nexports.toKebabCase = exports.toCamelCase = exports.stringToArray = exports.isString = exports.isObject = exports.isBrowser = exports.hashString = exports.filteredJoin = exports.combineArray = exports.capitalize = void 0;\n\nvar isBrowser = function isBrowser() {\n return typeof window !== \"undefined\" && typeof window.document !== \"undefined\";\n};\n\nexports.isBrowser = isBrowser;\n\nvar isString = function isString(value) {\n return Object.prototype.toString.call(value) === '[object String]';\n};\n\nexports.isString = isString;\n\nvar isObject = function isObject(value) {\n return Object.prototype.toString.call(value) === '[object Object]';\n};\n\nexports.isObject = isObject;\n\nvar toCamelCase = function toCamelCase(str) {\n return isString(str) && str.indexOf('-') !== -1 && str.toLowerCase().replace(/(?:^\\w|-|[A-Z]|\\b\\w)/g, function (letter, index) {\n return index === 0 ? letter.toLowerCase() : letter.toUpperCase();\n }).replace(/\\s|\\W+/g, '') || str;\n};\n\nexports.toCamelCase = toCamelCase;\n\nvar toKebabCase = function toKebabCase(str) {\n return isString(str) && str.replace(/\\s|\\W+/g, '').replace(/[A-Z]/g, function (match) {\n return \"-\" + match.toLowerCase();\n });\n};\n\nexports.toKebabCase = toKebabCase;\n\nvar capitalize = function capitalize(str) {\n return (str === null || str === void 0 ? void 0 : str.charAt(0).toUpperCase()) + str.slice(1);\n};\n\nexports.capitalize = capitalize;\n\nvar stringToArray = function stringToArray(str, delimiter) {\n if (delimiter === void 0) {\n delimiter = \" \";\n }\n\n if (str instanceof Array) {\n return str;\n }\n\n if (isString(str)) {\n if (str.includes(delimiter)) {\n return str.split(delimiter);\n }\n\n return [str];\n }\n\n return false;\n};\n\nexports.stringToArray = stringToArray;\n\nvar hashString = function hashString(str) {\n return isString(str) && [].reduce.call(str, function (hash, item) {\n hash = (hash << 5) - hash + item.charCodeAt(0);\n return hash | 0;\n }, 0);\n};\n\nexports.hashString = hashString;\n\nvar filteredJoin = function filteredJoin(arrayToJoin) {\n return arrayToJoin.filter(function (item) {\n return item !== \"\";\n }).join();\n};\n\nexports.filteredJoin = filteredJoin;\n\nvar combineArray = function combineArray(fromArray, toArray) {\n if (!Array.isArray(fromArray)) {\n return [fromArray];\n }\n\n return fromArray.map(function (item, index) {\n return item || toArray && toArray[index];\n });\n};\n\nexports.combineArray = combineArray;","module.exports = require('../build/DayPickerInput');","module.exports = __webpack_public_path__ + \"static/icon-2months-23d28c8ff688ea3dee57889436d7038f.svg\";","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","\"use strict\";\n\nexports.__esModule = true;\nexports.listenToIntersections = exports.getIO = exports.callbackIO = void 0;\n\nvar _SimpleUtils = require(\"./SimpleUtils\");\n\nvar io;\nvar listeners = new WeakMap();\n\nvar callbackIO = function callbackIO(entries) {\n entries.forEach(function (entry) {\n if (listeners.has(entry.target)) {\n var callback = listeners.get(entry.target);\n\n if (entry.isIntersecting || entry.intersectionRatio > 0) {\n io.unobserve(entry.target);\n listeners.delete(entry.target);\n callback();\n }\n }\n });\n};\n\nexports.callbackIO = callbackIO;\n\nvar getIO = function getIO(rootMargin) {\n if (typeof io === \"undefined\" && (0, _SimpleUtils.isBrowser)() && window.IntersectionObserver) {\n io = new window.IntersectionObserver(callbackIO, {\n rootMargin: rootMargin\n });\n }\n\n return io;\n};\n\nexports.getIO = getIO;\n\nvar listenToIntersections = function listenToIntersections(element, callback, rootMargin) {\n if (rootMargin === void 0) {\n rootMargin = \"200px\";\n }\n\n var observer = getIO(rootMargin);\n\n if (observer) {\n observer.observe(element);\n listeners.set(element, callback);\n return function () {\n observer.unobserve(element);\n listeners.delete(element);\n };\n }\n\n return function () {};\n};\n\nexports.listenToIntersections = listenToIntersections;","'use strict';\n\nmodule.exports = require('./lib');","require(\"core-js/modules/es.array.reduce.js\");\n!function (e, t) {\n \"object\" == typeof exports && \"object\" == typeof module ? module.exports = t(require(\"react\")) : \"function\" == typeof define && define.amd ? define([\"react\"], t) : \"object\" == typeof exports ? exports.DayPicker = t(require(\"react\")) : e.DayPicker = t(e.React);\n}(\"undefined\" != typeof self ? self : this, function (e) {\n return function (e) {\n function t(o) {\n if (n[o]) return n[o].exports;\n var r = n[o] = {\n i: o,\n l: !1,\n exports: {}\n };\n return e[o].call(r.exports, r, r.exports, t), r.l = !0, r.exports;\n }\n var n = {};\n return t.m = e, t.c = n, t.d = function (e, n, o) {\n t.o(e, n) || Object.defineProperty(e, n, {\n configurable: !1,\n enumerable: !0,\n get: o\n });\n }, t.n = function (e) {\n var n = e && e.__esModule ? function () {\n return e.default;\n } : function () {\n return e;\n };\n return t.d(n, \"a\", n), n;\n }, t.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }, t.p = \"\", t(t.s = 8);\n }([function (t, n) {\n t.exports = e;\n }, function (e, t, n) {\n \"use strict\";\n\n function o(e) {\n return new Date(e.getTime());\n }\n function r(e) {\n return e instanceof Date && !isNaN(e.valueOf());\n }\n function a(e, t) {\n var n = o(e);\n return n.setMonth(e.getMonth() + t), n;\n }\n function s(e, t) {\n return !(!e || !t) && e.getDate() === t.getDate() && e.getMonth() === t.getMonth() && e.getFullYear() === t.getFullYear();\n }\n function i(e, t) {\n return !(!e || !t) && e.getMonth() === t.getMonth() && e.getFullYear() === t.getFullYear();\n }\n function u(e, t) {\n return o(e).setHours(0, 0, 0, 0) < o(t).setHours(0, 0, 0, 0);\n }\n function l(e, t) {\n return o(e).setHours(0, 0, 0, 0) > o(t).setHours(0, 0, 0, 0);\n }\n function c(e) {\n var t = new Date();\n return t.setHours(0, 0, 0, 0), u(e, t);\n }\n function p(e) {\n var t = new Date(new Date().getTime() + 864e5);\n return t.setHours(0, 0, 0, 0), e >= t;\n }\n function f(e, t, n) {\n var r = o(e);\n return r.setHours(0, 0, 0, 0), l(r, t) && u(r, n) || l(r, n) && u(r, t);\n }\n function h(e) {\n var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {\n from: null,\n to: null\n },\n n = t.from,\n o = t.to;\n return n ? n && o && s(n, o) && s(e, n) ? (n = null, o = null) : o && u(e, n) ? n = e : o && s(e, o) ? (n = e, o = e) : (o = e, u(o, n) && (o = n, n = e)) : n = e, {\n from: n,\n to: o\n };\n }\n function d(e, t) {\n var n = t.from,\n o = t.to;\n return n && s(e, n) || o && s(e, o) || n && o && f(e, n, o);\n }\n function y(e) {\n var t = o(e);\n return t.setHours(0, 0, 0), t.setDate(t.getDate() + 4 - (t.getDay() || 7)), Math.ceil(((t - new Date(t.getFullYear(), 0, 1)) / 864e5 + 1) / 7);\n }\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.clone = o, t.isDate = r, t.addMonths = a, t.isSameDay = s, t.isSameMonth = i, t.isDayBefore = u, t.isDayAfter = l, t.isPastDay = c, t.isFutureDay = p, t.isDayBetween = f, t.addDayToRange = h, t.isDayInRange = d, t.getWeekNumber = y, t.default = {\n addDayToRange: h,\n addMonths: a,\n clone: o,\n getWeekNumber: y,\n isDate: r,\n isDayAfter: l,\n isDayBefore: u,\n isDayBetween: f,\n isDayInRange: d,\n isFutureDay: p,\n isPastDay: c,\n isSameDay: s,\n isSameMonth: i\n };\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n t.LEFT = 37, t.UP = 38, t.RIGHT = 39, t.DOWN = 40, t.ENTER = 13, t.SPACE = 32, t.ESC = 27, t.TAB = 9;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.default = {\n container: \"DayPicker\",\n wrapper: \"DayPicker-wrapper\",\n interactionDisabled: \"DayPicker--interactionDisabled\",\n months: \"DayPicker-Months\",\n month: \"DayPicker-Month\",\n navBar: \"DayPicker-NavBar\",\n navButtonPrev: \"DayPicker-NavButton DayPicker-NavButton--prev\",\n navButtonNext: \"DayPicker-NavButton DayPicker-NavButton--next\",\n navButtonInteractionDisabled: \"DayPicker-NavButton--interactionDisabled\",\n caption: \"DayPicker-Caption\",\n weekdays: \"DayPicker-Weekdays\",\n weekdaysRow: \"DayPicker-WeekdaysRow\",\n weekday: \"DayPicker-Weekday\",\n body: \"DayPicker-Body\",\n week: \"DayPicker-Week\",\n weekNumber: \"DayPicker-WeekNumber\",\n day: \"DayPicker-Day\",\n footer: \"DayPicker-Footer\",\n todayButton: \"DayPicker-TodayButton\",\n today: \"today\",\n selected: \"selected\",\n disabled: \"disabled\",\n outside: \"outside\"\n };\n }, function (e, t, n) {\n \"use strict\";\n\n function o(e) {\n e.preventDefault(), e.stopPropagation();\n }\n function r(e) {\n return new Date(e.getFullYear(), e.getMonth(), 1, 12);\n }\n function a(e) {\n var t = r(e);\n return t.setMonth(t.getMonth() + 1), t.setDate(t.getDate() - 1), t.getDate();\n }\n function s(e) {\n var t = y({}, e.modifiers);\n return e.selectedDays && (t[e.classNames.selected] = e.selectedDays), e.disabledDays && (t[e.classNames.disabled] = e.disabledDays), t;\n }\n function i(e) {\n var t = e.firstDayOfWeek,\n n = e.locale,\n o = void 0 === n ? \"en\" : n,\n r = e.localeUtils,\n a = void 0 === r ? {} : r;\n return isNaN(t) ? a.getFirstDayOfWeek ? a.getFirstDayOfWeek(o) : 0 : t;\n }\n function u(e) {\n return !!(e && e.from && e.to);\n }\n function l(e, t) {\n return t.getMonth() - e.getMonth() + 12 * (t.getFullYear() - e.getFullYear());\n }\n function c(e) {\n for (var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : (0, m.getFirstDayOfWeek)(), n = arguments[2], o = a(e), r = [], s = [], i = [], u = 1; u <= o; u += 1) r.push(new Date(e.getFullYear(), e.getMonth(), u, 12));\n r.forEach(function (e) {\n s.length > 0 && e.getDay() === t && (i.push(s), s = []), s.push(e), r.indexOf(e) === r.length - 1 && i.push(s);\n });\n for (var l = i[0], c = 7 - l.length; c > 0; c -= 1) {\n var p = (0, v.clone)(l[0]);\n p.setDate(l[0].getDate() - 1), l.unshift(p);\n }\n for (var f = i[i.length - 1], h = f.length; h < 7; h += 1) {\n var d = (0, v.clone)(f[f.length - 1]);\n d.setDate(f[f.length - 1].getDate() + 1), f.push(d);\n }\n if (n && i.length < 6) for (var y = void 0, k = i.length; k < 6; k += 1) {\n y = i[i.length - 1];\n for (var D = y[y.length - 1], b = [], g = 0; g < 7; g += 1) {\n var w = (0, v.clone)(D);\n w.setDate(D.getDate() + g + 1), b.push(w);\n }\n i.push(b);\n }\n return i;\n }\n function p(e) {\n var t = (0, v.clone)(e);\n return t.setDate(1), t.setHours(12, 0, 0, 0), t;\n }\n function f(e, t) {\n var n = void 0;\n n = t === D.default ? t.day + \"--\" + t.outside : \"\" + t.outside;\n var o = t.day.replace(/ /g, \".\"),\n r = n.replace(/ /g, \".\"),\n a = \".\" + o + \":not(.\" + r + \")\";\n return e.querySelectorAll(a);\n }\n function h(e) {\n return Array.prototype.slice.call(e, 0);\n }\n function d(e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var y = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);\n }\n return e;\n };\n t.cancelEvent = o, t.getFirstDayOfMonth = r, t.getDaysInMonth = a, t.getModifiersFromProps = s, t.getFirstDayOfWeekFromProps = i, t.isRangeOfDates = u, t.getMonthsDiff = l, t.getWeekArray = c, t.startOfMonth = p, t.getDayNodes = f, t.nodeListToArray = h, t.hasOwnProp = d;\n var v = n(1),\n m = n(5),\n k = n(3),\n D = function (e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }(k);\n }, function (e, t, n) {\n \"use strict\";\n\n function o(e) {\n return e.toDateString();\n }\n function r(e) {\n return p[e.getMonth()] + \" \" + e.getFullYear();\n }\n function a(e) {\n return c[e];\n }\n function s(e) {\n return l[e];\n }\n function i() {\n return 0;\n }\n function u() {\n return p;\n }\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.formatDay = o, t.formatMonthTitle = r, t.formatWeekdayShort = a, t.formatWeekdayLong = s, t.getFirstDayOfWeek = i, t.getMonths = u;\n var l = [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"],\n c = [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"],\n p = [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"];\n t.default = {\n formatDay: o,\n formatMonthTitle: r,\n formatWeekdayShort: a,\n formatWeekdayLong: s,\n getFirstDayOfWeek: i,\n getMonths: u\n };\n }, function (e, t, n) {\n \"use strict\";\n\n function o(e, t) {\n return !!t && (Array.isArray(t) ? t : [t]).some(function (t) {\n return !!t && (t instanceof Date ? (0, a.isSameDay)(e, t) : (0, s.isRangeOfDates)(t) ? (0, a.isDayInRange)(e, t) : t.after && t.before && (0, a.isDayAfter)(t.before, t.after) ? (0, a.isDayAfter)(e, t.after) && (0, a.isDayBefore)(e, t.before) : t.after && t.before && ((0, a.isDayAfter)(t.after, t.before) || (0, a.isSameDay)(t.after, t.before)) ? (0, a.isDayAfter)(e, t.after) || (0, a.isDayBefore)(e, t.before) : t.after ? (0, a.isDayAfter)(e, t.after) : t.before ? (0, a.isDayBefore)(e, t.before) : t.daysOfWeek ? t.daysOfWeek.some(function (t) {\n return e.getDay() === t;\n }) : \"function\" == typeof t && t(e));\n });\n }\n function r(e) {\n var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};\n return Object.keys(t).reduce(function (n, r) {\n var a = t[r];\n return o(e, a) && n.push(r), n;\n }, []);\n }\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.dayMatchesModifier = o, t.getModifiersForDay = r;\n var a = n(1),\n s = n(4);\n t.default = {\n dayMatchesModifier: o,\n getModifiersForDay: r\n };\n }, function (e, t, n) {\n \"use strict\";\n\n function o(e) {\n if (e && e.__esModule) return e;\n var t = {};\n if (null != e) for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);\n return t.default = e, t;\n }\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n function a(e, t) {\n var n = {};\n for (var o in e) t.indexOf(o) >= 0 || Object.prototype.hasOwnProperty.call(e, o) && (n[o] = e[o]);\n return n;\n }\n function s(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != typeof t && \"function\" != typeof t ? e : t;\n }\n function u(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + typeof t);\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.ModifiersUtils = t.LocaleUtils = t.DateUtils = t.DayPicker = void 0;\n var l = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);\n }\n return e;\n },\n c = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var o = t[n];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, o.key, o);\n }\n }\n return function (t, n, o) {\n return n && e(t.prototype, n), o && e(t, o), t;\n };\n }(),\n p = n(0),\n f = r(p),\n h = n(9),\n d = r(h),\n y = n(10),\n v = r(y),\n m = n(11),\n k = r(m),\n D = n(14),\n b = r(D),\n g = n(4),\n w = o(g),\n M = n(1),\n P = o(M),\n O = n(5),\n N = o(O),\n C = n(6),\n E = o(C),\n _ = n(3),\n j = r(_),\n x = n(2),\n T = t.DayPicker = function (e) {\n function t(e) {\n s(this, t);\n var n = i(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));\n n.dayPicker = null, n.showNextMonth = function (e) {\n if (n.allowNextMonth()) {\n var t = n.props.pagedNavigation ? n.props.numberOfMonths : 1,\n o = P.addMonths(n.state.currentMonth, t);\n n.showMonth(o, e);\n }\n }, n.showPreviousMonth = function (e) {\n if (n.allowPreviousMonth()) {\n var t = n.props.pagedNavigation ? n.props.numberOfMonths : 1,\n o = P.addMonths(n.state.currentMonth, -t);\n n.showMonth(o, e);\n }\n }, n.handleKeyDown = function (e) {\n switch (e.persist(), e.keyCode) {\n case x.LEFT:\n \"rtl\" === n.props.dir ? n.showNextMonth() : n.showPreviousMonth(), w.cancelEvent(e);\n break;\n case x.RIGHT:\n \"rtl\" === n.props.dir ? n.showPreviousMonth() : n.showNextMonth(), w.cancelEvent(e);\n break;\n case x.UP:\n n.showPreviousYear(), w.cancelEvent(e);\n break;\n case x.DOWN:\n n.showNextYear(), w.cancelEvent(e);\n }\n n.props.onKeyDown && n.props.onKeyDown(e);\n }, n.handleDayKeyDown = function (e, t, o) {\n switch (o.persist(), o.keyCode) {\n case x.LEFT:\n w.cancelEvent(o), \"rtl\" === n.props.dir ? n.focusNextDay(o.target) : n.focusPreviousDay(o.target);\n break;\n case x.RIGHT:\n w.cancelEvent(o), \"rtl\" === n.props.dir ? n.focusPreviousDay(o.target) : n.focusNextDay(o.target);\n break;\n case x.UP:\n w.cancelEvent(o), n.focusPreviousWeek(o.target);\n break;\n case x.DOWN:\n w.cancelEvent(o), n.focusNextWeek(o.target);\n break;\n case x.ENTER:\n case x.SPACE:\n w.cancelEvent(o), n.props.onDayClick && n.handleDayClick(e, t, o);\n }\n n.props.onDayKeyDown && n.props.onDayKeyDown(e, t, o);\n }, n.handleDayClick = function (e, t, o) {\n o.persist(), t[n.props.classNames.outside] && n.props.enableOutsideDaysClick && n.handleOutsideDayClick(e), n.props.onDayClick && n.props.onDayClick(e, t, o);\n }, n.handleTodayButtonClick = function (e) {\n var t = new Date(),\n o = new Date(t.getFullYear(), t.getMonth());\n n.showMonth(o), e.target.blur(), n.props.onTodayButtonClick && (e.persist(), n.props.onTodayButtonClick(new Date(t.getFullYear(), t.getMonth(), t.getDate()), E.getModifiersForDay(t, n.props.modifiers), e));\n };\n var o = n.getCurrentMonthFromProps(e);\n return n.state = {\n currentMonth: o\n }, n;\n }\n return u(t, e), c(t, [{\n key: \"componentDidUpdate\",\n value: function value(e) {\n if (e.month !== this.props.month && !P.isSameMonth(e.month, this.props.month)) {\n var t = this.getCurrentMonthFromProps(this.props);\n this.setState({\n currentMonth: t\n });\n }\n }\n }, {\n key: \"getCurrentMonthFromProps\",\n value: function value(e) {\n var t = w.startOfMonth(e.month || e.initialMonth || new Date()),\n n = t;\n if (e.pagedNavigation && e.numberOfMonths > 1 && e.fromMonth) {\n var o = w.startOfMonth(e.fromMonth),\n r = w.getMonthsDiff(o, n);\n n = P.addMonths(o, Math.floor(r / e.numberOfMonths) * e.numberOfMonths);\n } else e.toMonth && e.numberOfMonths > 1 && w.getMonthsDiff(n, e.toMonth) <= 0 && (n = P.addMonths(w.startOfMonth(e.toMonth), 1 - this.props.numberOfMonths));\n return n;\n }\n }, {\n key: \"getNextNavigableMonth\",\n value: function value() {\n return P.addMonths(this.state.currentMonth, this.props.numberOfMonths);\n }\n }, {\n key: \"getPreviousNavigableMonth\",\n value: function value() {\n return P.addMonths(this.state.currentMonth, -1);\n }\n }, {\n key: \"allowPreviousMonth\",\n value: function value() {\n var e = P.addMonths(this.state.currentMonth, -1);\n return this.allowMonth(e);\n }\n }, {\n key: \"allowNextMonth\",\n value: function value() {\n var e = P.addMonths(this.state.currentMonth, this.props.numberOfMonths);\n return this.allowMonth(e);\n }\n }, {\n key: \"allowMonth\",\n value: function value(e) {\n var t = this.props,\n n = t.fromMonth,\n o = t.toMonth;\n return !(!t.canChangeMonth || n && w.getMonthsDiff(n, e) < 0 || o && w.getMonthsDiff(o, e) > 0);\n }\n }, {\n key: \"allowYearChange\",\n value: function value() {\n return this.props.canChangeMonth;\n }\n }, {\n key: \"showMonth\",\n value: function value(e, t) {\n var n = this;\n this.allowMonth(e) && this.setState({\n currentMonth: w.startOfMonth(e)\n }, function () {\n t && t(), n.props.onMonthChange && n.props.onMonthChange(n.state.currentMonth);\n });\n }\n }, {\n key: \"showNextYear\",\n value: function value() {\n if (this.allowYearChange()) {\n var e = P.addMonths(this.state.currentMonth, 12);\n this.showMonth(e);\n }\n }\n }, {\n key: \"showPreviousYear\",\n value: function value() {\n if (this.allowYearChange()) {\n var e = P.addMonths(this.state.currentMonth, -12);\n this.showMonth(e);\n }\n }\n }, {\n key: \"focus\",\n value: function value() {\n this.wrapper.focus();\n }\n }, {\n key: \"focusFirstDayOfMonth\",\n value: function value() {\n w.getDayNodes(this.dayPicker, this.props.classNames)[0].focus();\n }\n }, {\n key: \"focusLastDayOfMonth\",\n value: function value() {\n var e = w.getDayNodes(this.dayPicker, this.props.classNames);\n e[e.length - 1].focus();\n }\n }, {\n key: \"focusPreviousDay\",\n value: function value(e) {\n var t = this,\n n = w.getDayNodes(this.dayPicker, this.props.classNames),\n o = w.nodeListToArray(n).indexOf(e);\n -1 !== o && (0 === o ? this.showPreviousMonth(function () {\n return t.focusLastDayOfMonth();\n }) : n[o - 1].focus());\n }\n }, {\n key: \"focusNextDay\",\n value: function value(e) {\n var t = this,\n n = w.getDayNodes(this.dayPicker, this.props.classNames),\n o = w.nodeListToArray(n).indexOf(e);\n -1 !== o && (o === n.length - 1 ? this.showNextMonth(function () {\n return t.focusFirstDayOfMonth();\n }) : n[o + 1].focus());\n }\n }, {\n key: \"focusNextWeek\",\n value: function value(e) {\n var t = this,\n n = w.getDayNodes(this.dayPicker, this.props.classNames),\n o = w.nodeListToArray(n).indexOf(e);\n o > n.length - 8 ? this.showNextMonth(function () {\n var e = n.length - o,\n r = 7 - e;\n w.getDayNodes(t.dayPicker, t.props.classNames)[r].focus();\n }) : n[o + 7].focus();\n }\n }, {\n key: \"focusPreviousWeek\",\n value: function value(e) {\n var t = this,\n n = w.getDayNodes(this.dayPicker, this.props.classNames),\n o = w.nodeListToArray(n).indexOf(e);\n o <= 6 ? this.showPreviousMonth(function () {\n var e = w.getDayNodes(t.dayPicker, t.props.classNames);\n e[e.length - 7 + o].focus();\n }) : n[o - 7].focus();\n }\n }, {\n key: \"handleOutsideDayClick\",\n value: function value(e) {\n var t = this.state.currentMonth,\n n = this.props.numberOfMonths,\n o = w.getMonthsDiff(t, e);\n o > 0 && o >= n ? this.showNextMonth() : o < 0 && this.showPreviousMonth();\n }\n }, {\n key: \"renderNavbar\",\n value: function value() {\n var e = this.props,\n t = e.labels,\n n = e.locale,\n o = e.localeUtils,\n r = e.canChangeMonth,\n s = e.navbarElement,\n i = a(e, [\"labels\", \"locale\", \"localeUtils\", \"canChangeMonth\", \"navbarElement\"]);\n if (!r) return null;\n var u = {\n month: this.state.currentMonth,\n classNames: this.props.classNames,\n className: this.props.classNames.navBar,\n nextMonth: this.getNextNavigableMonth(),\n previousMonth: this.getPreviousNavigableMonth(),\n showPreviousButton: this.allowPreviousMonth(),\n showNextButton: this.allowNextMonth(),\n onNextClick: this.showNextMonth,\n onPreviousClick: this.showPreviousMonth,\n dir: i.dir,\n labels: t,\n locale: n,\n localeUtils: o\n };\n return f.default.isValidElement(s) ? f.default.cloneElement(s, u) : f.default.createElement(s, u);\n }\n }, {\n key: \"renderMonths\",\n value: function value() {\n for (var e = [], t = w.getFirstDayOfWeekFromProps(this.props), n = 0; n < this.props.numberOfMonths; n += 1) {\n var o = P.addMonths(this.state.currentMonth, n);\n e.push(f.default.createElement(k.default, l({\n key: n\n }, this.props, {\n month: o,\n firstDayOfWeek: t,\n onDayKeyDown: this.handleDayKeyDown,\n onDayClick: this.handleDayClick\n })));\n }\n return this.props.reverseMonths && e.reverse(), e;\n }\n }, {\n key: \"renderFooter\",\n value: function value() {\n return this.props.todayButton ? f.default.createElement(\"div\", {\n className: this.props.classNames.footer\n }, this.renderTodayButton()) : null;\n }\n }, {\n key: \"renderTodayButton\",\n value: function value() {\n return f.default.createElement(\"button\", {\n type: \"button\",\n tabIndex: 0,\n className: this.props.classNames.todayButton,\n \"aria-label\": this.props.todayButton,\n onClick: this.handleTodayButtonClick\n }, this.props.todayButton);\n }\n }, {\n key: \"render\",\n value: function value() {\n var e = this,\n t = this.props.classNames.container;\n return this.props.onDayClick || (t = t + \" \" + this.props.classNames.interactionDisabled), this.props.className && (t = t + \" \" + this.props.className), f.default.createElement(\"div\", l({}, this.props.containerProps, {\n className: t,\n ref: function ref(t) {\n return e.dayPicker = t;\n },\n lang: this.props.locale\n }), f.default.createElement(\"div\", {\n className: this.props.classNames.wrapper,\n ref: function ref(t) {\n return e.wrapper = t;\n },\n tabIndex: this.props.canChangeMonth && void 0 !== this.props.tabIndex ? this.props.tabIndex : -1,\n onKeyDown: this.handleKeyDown,\n onFocus: this.props.onFocus,\n onBlur: this.props.onBlur\n }, this.renderNavbar(), f.default.createElement(\"div\", {\n className: this.props.classNames.months\n }, this.renderMonths()), this.renderFooter()));\n }\n }]), t;\n }(p.Component);\n T.defaultProps = {\n classNames: j.default,\n tabIndex: 0,\n numberOfMonths: 1,\n labels: {\n previousMonth: \"Previous Month\",\n nextMonth: \"Next Month\"\n },\n locale: \"en\",\n localeUtils: N,\n showOutsideDays: !1,\n enableOutsideDaysClick: !0,\n fixedWeeks: !1,\n canChangeMonth: !0,\n reverseMonths: !1,\n pagedNavigation: !1,\n showWeekNumbers: !1,\n showWeekDays: !0,\n renderDay: function renderDay(e) {\n return e.getDate();\n },\n renderWeek: function renderWeek(e) {\n return e;\n },\n weekdayElement: f.default.createElement(b.default, null),\n navbarElement: f.default.createElement(v.default, {\n classNames: j.default\n }),\n captionElement: f.default.createElement(d.default, {\n classNames: j.default\n })\n }, T.VERSION = \"7.4.10\", T.DateUtils = P, T.LocaleUtils = N, T.ModifiersUtils = E, t.DateUtils = P, t.LocaleUtils = N, t.ModifiersUtils = E, t.default = T;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var o = n(7).default;\n o.Input = n(15).default, t.default = o;\n }, function (e, t, n) {\n \"use strict\";\n\n function o(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n function a(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != typeof t && \"function\" != typeof t ? e : t;\n }\n function s(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + typeof t);\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var o = t[n];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, o.key, o);\n }\n }\n return function (t, n, o) {\n return n && e(t.prototype, n), o && e(t, o), t;\n };\n }(),\n u = n(0),\n l = o(u),\n c = n(5),\n p = o(c),\n f = n(2),\n h = function (e) {\n function t(e) {\n r(this, t);\n var n = a(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));\n return n.handleKeyUp = n.handleKeyUp.bind(n), n;\n }\n return s(t, e), i(t, [{\n key: \"shouldComponentUpdate\",\n value: function value(e) {\n return e.locale !== this.props.locale || e.classNames !== this.props.classNames || e.date.getMonth() !== this.props.date.getMonth() || e.date.getFullYear() !== this.props.date.getFullYear();\n }\n }, {\n key: \"handleKeyUp\",\n value: function value(e) {\n e.keyCode === f.ENTER && this.props.onClick(e);\n }\n }, {\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.classNames,\n n = e.date,\n o = e.months,\n r = e.locale,\n a = e.localeUtils,\n s = e.onClick;\n return l.default.createElement(\"div\", {\n className: t.caption,\n role: \"heading\",\n \"aria-live\": \"polite\"\n }, l.default.createElement(\"div\", {\n onClick: s,\n onKeyUp: this.handleKeyUp\n }, o ? o[n.getMonth()] + \" \" + n.getFullYear() : a.formatMonthTitle(n, r)));\n }\n }]), t;\n }(u.Component);\n h.defaultProps = {\n localeUtils: p.default\n }, t.default = h;\n }, function (e, t, n) {\n \"use strict\";\n\n function o(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n function a(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != typeof t && \"function\" != typeof t ? e : t;\n }\n function s(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + typeof t);\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var o = t[n];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, o.key, o);\n }\n }\n return function (t, n, o) {\n return n && e(t.prototype, n), o && e(t, o), t;\n };\n }(),\n u = n(0),\n l = o(u),\n c = n(3),\n p = o(c),\n f = n(2),\n h = function (e) {\n function t() {\n var e, n, o, s;\n r(this, t);\n for (var i = arguments.length, u = Array(i), l = 0; l < i; l++) u[l] = arguments[l];\n return n = o = a(this, (e = t.__proto__ || Object.getPrototypeOf(t)).call.apply(e, [this].concat(u))), o.handleNextClick = function () {\n o.props.onNextClick && o.props.onNextClick();\n }, o.handlePreviousClick = function () {\n o.props.onPreviousClick && o.props.onPreviousClick();\n }, o.handleNextKeyDown = function (e) {\n e.keyCode !== f.ENTER && e.keyCode !== f.SPACE || (e.preventDefault(), o.handleNextClick());\n }, o.handlePreviousKeyDown = function (e) {\n e.keyCode !== f.ENTER && e.keyCode !== f.SPACE || (e.preventDefault(), o.handlePreviousClick());\n }, s = n, a(o, s);\n }\n return s(t, e), i(t, [{\n key: \"shouldComponentUpdate\",\n value: function value(e) {\n return e.labels !== this.props.labels || e.dir !== this.props.dir || this.props.showPreviousButton !== e.showPreviousButton || this.props.showNextButton !== e.showNextButton;\n }\n }, {\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.classNames,\n n = e.className,\n o = e.showPreviousButton,\n r = e.showNextButton,\n a = e.labels,\n s = e.dir,\n i = void 0,\n u = void 0,\n c = void 0,\n p = void 0,\n f = void 0,\n h = void 0;\n \"rtl\" === s ? (i = this.handleNextClick, u = this.handlePreviousClick, c = this.handleNextKeyDown, p = this.handlePreviousKeyDown, h = o, f = r) : (i = this.handlePreviousClick, u = this.handleNextClick, c = this.handlePreviousKeyDown, p = this.handleNextKeyDown, h = r, f = o);\n var d = f ? t.navButtonPrev : t.navButtonPrev + \" \" + t.navButtonInteractionDisabled,\n y = h ? t.navButtonNext : t.navButtonNext + \" \" + t.navButtonInteractionDisabled,\n v = l.default.createElement(\"span\", {\n tabIndex: \"0\",\n role: \"button\",\n \"aria-label\": a.previousMonth,\n key: \"previous\",\n className: d,\n onKeyDown: f ? c : void 0,\n onClick: f ? i : void 0\n }),\n m = l.default.createElement(\"span\", {\n tabIndex: \"0\",\n role: \"button\",\n \"aria-label\": a.nextMonth,\n key: \"right\",\n className: y,\n onKeyDown: h ? p : void 0,\n onClick: h ? u : void 0\n });\n return l.default.createElement(\"div\", {\n className: n || t.navBar\n }, \"rtl\" === s ? [m, v] : [v, m]);\n }\n }]), t;\n }(u.Component);\n h.defaultProps = {\n classNames: p.default,\n dir: \"ltr\",\n labels: {\n previousMonth: \"Previous Month\",\n nextMonth: \"Next Month\"\n },\n showPreviousButton: !0,\n showNextButton: !0\n }, t.default = h;\n }, function (e, t, n) {\n \"use strict\";\n\n function o(e) {\n if (e && e.__esModule) return e;\n var t = {};\n if (null != e) for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);\n return t.default = e, t;\n }\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n function s(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != typeof t && \"function\" != typeof t ? e : t;\n }\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + typeof t);\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var o = t[n];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, o.key, o);\n }\n }\n return function (t, n, o) {\n return n && e(t.prototype, n), o && e(t, o), t;\n };\n }(),\n l = n(0),\n c = r(l),\n p = n(12),\n f = r(p),\n h = n(13),\n d = r(h),\n y = n(2),\n v = n(6),\n m = o(v),\n k = n(4),\n D = o(k),\n b = n(1),\n g = o(b),\n w = function (e) {\n function t() {\n var e, n, o, r;\n a(this, t);\n for (var i = arguments.length, u = Array(i), l = 0; l < i; l++) u[l] = arguments[l];\n return n = o = s(this, (e = t.__proto__ || Object.getPrototypeOf(t)).call.apply(e, [this].concat(u))), o.renderDay = function (e) {\n var t = o.props.month.getMonth(),\n n = D.getModifiersFromProps(o.props),\n r = m.getModifiersForDay(e, n);\n g.isSameDay(e, new Date()) && !Object.prototype.hasOwnProperty.call(n, o.props.classNames.today) && r.push(o.props.classNames.today), e.getMonth() !== t && r.push(o.props.classNames.outside);\n var a = e.getMonth() !== t,\n s = -1;\n o.props.onDayClick && !a && 1 === e.getDate() && (s = o.props.tabIndex);\n var i = \"\" + e.getFullYear() + e.getMonth() + e.getDate(),\n u = {};\n return r.forEach(function (e) {\n u[e] = !0;\n }), c.default.createElement(d.default, {\n key: (a ? \"outside-\" : \"\") + i,\n classNames: o.props.classNames,\n day: e,\n modifiers: u,\n modifiersStyles: o.props.modifiersStyles,\n empty: a && !o.props.showOutsideDays && !o.props.fixedWeeks,\n tabIndex: s,\n ariaLabel: o.props.localeUtils.formatDay(e, o.props.locale),\n ariaDisabled: a || r.indexOf(o.props.classNames.disabled) > -1,\n ariaSelected: r.indexOf(o.props.classNames.selected) > -1,\n onClick: o.props.onDayClick,\n onFocus: o.props.onDayFocus,\n onKeyDown: o.props.onDayKeyDown,\n onMouseEnter: o.props.onDayMouseEnter,\n onMouseLeave: o.props.onDayMouseLeave,\n onMouseDown: o.props.onDayMouseDown,\n onMouseUp: o.props.onDayMouseUp,\n onTouchEnd: o.props.onDayTouchEnd,\n onTouchStart: o.props.onDayTouchStart\n }, o.props.renderDay(e, u));\n }, r = n, s(o, r);\n }\n return i(t, e), u(t, [{\n key: \"render\",\n value: function value() {\n var e = this,\n t = this.props,\n n = t.classNames,\n o = t.month,\n r = t.months,\n a = t.fixedWeeks,\n s = t.captionElement,\n i = t.weekdayElement,\n u = t.locale,\n l = t.localeUtils,\n p = t.weekdaysLong,\n h = t.weekdaysShort,\n d = t.firstDayOfWeek,\n v = t.onCaptionClick,\n m = t.showWeekNumbers,\n k = t.showWeekDays,\n b = t.onWeekClick,\n w = {\n date: o,\n classNames: n,\n months: r,\n localeUtils: l,\n locale: u,\n onClick: v ? function (e) {\n return v(o, e);\n } : void 0\n },\n M = c.default.isValidElement(s) ? c.default.cloneElement(s, w) : c.default.createElement(s, w),\n P = D.getWeekArray(o, d, a);\n return c.default.createElement(\"div\", {\n className: n.month,\n role: \"grid\"\n }, M, k && c.default.createElement(f.default, {\n classNames: n,\n weekdaysShort: h,\n weekdaysLong: p,\n firstDayOfWeek: d,\n showWeekNumbers: m,\n locale: u,\n localeUtils: l,\n weekdayElement: i\n }), c.default.createElement(\"div\", {\n className: n.body,\n role: \"rowgroup\"\n }, P.map(function (t) {\n var r = void 0;\n return m && (r = g.getWeekNumber(t[6])), c.default.createElement(\"div\", {\n key: t[0].getTime(),\n className: n.week,\n role: \"row\"\n }, m && c.default.createElement(\"div\", {\n className: n.weekNumber,\n tabIndex: b ? 0 : -1,\n role: \"gridcell\",\n onClick: b ? function (e) {\n return b(r, t, e);\n } : void 0,\n onKeyUp: b ? function (e) {\n return e.keyCode === y.ENTER && b(r, t, e);\n } : void 0\n }, e.props.renderWeek(r, t, o)), t.map(e.renderDay));\n })));\n }\n }]), t;\n }(l.Component);\n t.default = w;\n }, function (e, t, n) {\n \"use strict\";\n\n function o(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n function r(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != typeof t && \"function\" != typeof t ? e : t;\n }\n function a(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + typeof t);\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var o = t[n];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, o.key, o);\n }\n }\n return function (t, n, o) {\n return n && e(t.prototype, n), o && e(t, o), t;\n };\n }(),\n i = n(0),\n u = function (e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }(i),\n l = function (e) {\n function t() {\n return o(this, t), r(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n return a(t, e), s(t, [{\n key: \"shouldComponentUpdate\",\n value: function value(e) {\n return this.props !== e;\n }\n }, {\n key: \"render\",\n value: function value() {\n for (var e = this.props, t = e.classNames, n = e.firstDayOfWeek, o = e.showWeekNumbers, r = e.weekdaysLong, a = e.weekdaysShort, s = e.locale, i = e.localeUtils, l = e.weekdayElement, c = [], p = 0; p < 7; p += 1) {\n var f = (p + n) % 7,\n h = {\n key: p,\n className: t.weekday,\n weekday: f,\n weekdaysLong: r,\n weekdaysShort: a,\n localeUtils: i,\n locale: s\n },\n d = u.default.isValidElement(l) ? u.default.cloneElement(l, h) : u.default.createElement(l, h);\n c.push(d);\n }\n return u.default.createElement(\"div\", {\n className: t.weekdays,\n role: \"rowgroup\"\n }, u.default.createElement(\"div\", {\n className: t.weekdaysRow,\n role: \"row\"\n }, o && u.default.createElement(\"div\", {\n className: t.weekday\n }), c));\n }\n }]), t;\n }(i.Component);\n t.default = l;\n }, function (e, t, n) {\n \"use strict\";\n\n function o(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n function a(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != typeof t && \"function\" != typeof t ? e : t;\n }\n function s(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + typeof t);\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n function i(e, t, n) {\n if (e) return function (o) {\n o.persist(), e(t, n, o);\n };\n }\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var u = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);\n }\n return e;\n },\n l = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var o = t[n];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, o.key, o);\n }\n }\n return function (t, n, o) {\n return n && e(t.prototype, n), o && e(t, o), t;\n };\n }(),\n c = n(0),\n p = o(c),\n f = n(1),\n h = n(4),\n d = n(3),\n y = o(d),\n v = function (e) {\n function t() {\n return r(this, t), a(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n return s(t, e), l(t, [{\n key: \"shouldComponentUpdate\",\n value: function value(e) {\n var t = this,\n n = Object.keys(this.props),\n o = Object.keys(e);\n return n.length !== o.length || n.some(function (n) {\n if (\"modifiers\" === n || \"modifiersStyles\" === n || \"classNames\" === n) {\n var o = t.props[n],\n r = e[n],\n a = Object.keys(o),\n s = Object.keys(r);\n return a.length !== s.length || a.some(function (e) {\n return !(0, h.hasOwnProp)(r, e) || o[e] !== r[e];\n });\n }\n return \"day\" === n ? !(0, f.isSameDay)(t.props[n], e[n]) : !(0, h.hasOwnProp)(e, n) || t.props[n] !== e[n];\n });\n }\n }, {\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.classNames,\n n = e.modifiersStyles,\n o = e.day,\n r = e.tabIndex,\n a = e.empty,\n s = e.modifiers,\n l = e.onMouseEnter,\n c = e.onMouseLeave,\n f = e.onMouseUp,\n h = e.onMouseDown,\n d = e.onClick,\n v = e.onKeyDown,\n m = e.onTouchStart,\n k = e.onTouchEnd,\n D = e.onFocus,\n b = e.ariaLabel,\n g = e.ariaDisabled,\n w = e.ariaSelected,\n M = e.children,\n P = t.day;\n t !== y.default ? P += \" \" + Object.keys(s).join(\" \") : P += Object.keys(s).map(function (e) {\n return \" \" + P + \"--\" + e;\n }).join(\"\");\n var O = void 0;\n return n && Object.keys(s).filter(function (e) {\n return !!n[e];\n }).forEach(function (e) {\n O = u({}, O, n[e]);\n }), a ? p.default.createElement(\"div\", {\n \"aria-disabled\": !0,\n className: P,\n style: O\n }) : p.default.createElement(\"div\", {\n className: P,\n tabIndex: r,\n style: O,\n role: \"gridcell\",\n \"aria-label\": b,\n \"aria-disabled\": g,\n \"aria-selected\": w,\n onClick: i(d, o, s),\n onKeyDown: i(v, o, s),\n onMouseEnter: i(l, o, s),\n onMouseLeave: i(c, o, s),\n onMouseUp: i(f, o, s),\n onMouseDown: i(h, o, s),\n onTouchEnd: i(k, o, s),\n onTouchStart: i(m, o, s),\n onFocus: i(D, o, s)\n }, M);\n }\n }]), t;\n }(c.Component);\n v.defaultProps = {\n tabIndex: -1\n }, v.defaultProps = {\n modifiers: {},\n modifiersStyles: {},\n empty: !1\n }, t.default = v;\n }, function (e, t, n) {\n \"use strict\";\n\n function o(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n function r(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != typeof t && \"function\" != typeof t ? e : t;\n }\n function a(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + typeof t);\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var o = t[n];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, o.key, o);\n }\n }\n return function (t, n, o) {\n return n && e(t.prototype, n), o && e(t, o), t;\n };\n }(),\n i = n(0),\n u = function (e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }(i),\n l = function (e) {\n function t() {\n return o(this, t), r(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n return a(t, e), s(t, [{\n key: \"shouldComponentUpdate\",\n value: function value(e) {\n return this.props !== e;\n }\n }, {\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.weekday,\n n = e.className,\n o = e.weekdaysLong,\n r = e.weekdaysShort,\n a = e.localeUtils,\n s = e.locale,\n i = void 0;\n i = o ? o[t] : a.formatWeekdayLong(t, s);\n var l = void 0;\n return l = r ? r[t] : a.formatWeekdayShort(t, s), u.default.createElement(\"div\", {\n className: n,\n role: \"columnheader\"\n }, u.default.createElement(\"abbr\", {\n title: i\n }, l));\n }\n }]), t;\n }(i.Component);\n t.default = l;\n }, function (e, t, n) {\n \"use strict\";\n\n function o(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n function r(e, t, n) {\n return t in e ? Object.defineProperty(e, t, {\n value: n,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[t] = n, e;\n }\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n function s(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != typeof t && \"function\" != typeof t ? e : t;\n }\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + typeof t);\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n function u(e, t) {\n var n = {};\n for (var o in e) t.indexOf(o) >= 0 || Object.prototype.hasOwnProperty.call(e, o) && (n[o] = e[o]);\n return n;\n }\n function l(e) {\n var t = (e.input, e.selectedDay, e.month, e.children),\n n = e.classNames,\n o = u(e, [\"input\", \"selectedDay\", \"month\", \"children\", \"classNames\"]);\n return y.default.createElement(\"div\", h({\n className: n.overlayWrapper\n }, o), y.default.createElement(\"div\", {\n className: n.overlay\n }, t));\n }\n function c(e) {\n if ((0, k.isDate)(e)) {\n return e.getFullYear() + \"-\" + (\"\" + (e.getMonth() + 1)) + \"-\" + (\"\" + e.getDate());\n }\n return \"\";\n }\n function p(e) {\n if (\"string\" == typeof e) {\n var t = e.split(\"-\");\n if (3 === t.length) {\n var n = parseInt(t[0], 10),\n o = parseInt(t[1], 10) - 1,\n r = parseInt(t[2], 10);\n if (!(isNaN(n) || String(n).length > 4 || isNaN(o) || isNaN(r) || r <= 0 || r > 31 || o < 0 || o >= 12)) return new Date(n, o, r, 12, 0, 0, 0);\n }\n }\n }\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.HIDE_TIMEOUT = void 0;\n var f = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var o = t[n];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, o.key, o);\n }\n }\n return function (t, n, o) {\n return n && e(t.prototype, n), o && e(t, o), t;\n };\n }(),\n h = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);\n }\n return e;\n };\n t.OverlayComponent = l, t.defaultFormat = c, t.defaultParse = p;\n var d = n(0),\n y = o(d),\n v = n(7),\n m = o(v),\n k = n(1),\n D = n(6),\n b = n(2),\n g = t.HIDE_TIMEOUT = 100,\n w = function (e) {\n function t(e) {\n a(this, t);\n var n = s(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));\n return n.input = null, n.daypicker = null, n.clickTimeout = null, n.hideTimeout = null, n.inputBlurTimeout = null, n.inputFocusTimeout = null, n.state = n.getInitialStateFromProps(e), n.state.showOverlay = e.showOverlay, n.hideAfterDayClick = n.hideAfterDayClick.bind(n), n.handleInputClick = n.handleInputClick.bind(n), n.handleInputFocus = n.handleInputFocus.bind(n), n.handleInputBlur = n.handleInputBlur.bind(n), n.handleInputChange = n.handleInputChange.bind(n), n.handleInputKeyDown = n.handleInputKeyDown.bind(n), n.handleInputKeyUp = n.handleInputKeyUp.bind(n), n.handleDayClick = n.handleDayClick.bind(n), n.handleMonthChange = n.handleMonthChange.bind(n), n.handleOverlayFocus = n.handleOverlayFocus.bind(n), n.handleOverlayBlur = n.handleOverlayBlur.bind(n), n;\n }\n return i(t, e), f(t, [{\n key: \"componentDidUpdate\",\n value: function value(e) {\n var t = {},\n n = this.props,\n o = n.value,\n r = n.formatDate,\n a = n.format,\n s = n.dayPickerProps;\n o === e.value && s.locale === e.dayPickerProps.locale && a === e.format || ((0, k.isDate)(o) ? t.value = r(o, a, s.locale) : t.value = o);\n var i = e.dayPickerProps.month;\n s.month && s.month !== i && !(0, k.isSameMonth)(s.month, i) && (t.month = s.month), e.dayPickerProps.selectedDays !== s.selectedDays && (t.selectedDays = s.selectedDays), Object.keys(t).length > 0 && this.setState(t);\n }\n }, {\n key: \"componentWillUnmount\",\n value: function value() {\n clearTimeout(this.clickTimeout), clearTimeout(this.hideTimeout), clearTimeout(this.inputFocusTimeout), clearTimeout(this.inputBlurTimeout), clearTimeout(this.overlayBlurTimeout);\n }\n }, {\n key: \"getInitialMonthFromProps\",\n value: function value(e) {\n var t = e.dayPickerProps,\n n = e.format,\n o = void 0;\n return e.value && (o = (0, k.isDate)(e.value) ? e.value : e.parseDate(e.value, n, t.locale)), t.initialMonth || t.month || o || new Date();\n }\n }, {\n key: \"getInitialStateFromProps\",\n value: function value(e) {\n var t = e.dayPickerProps,\n n = e.formatDate,\n o = e.format,\n r = e.typedValue,\n a = e.value;\n return e.value && (0, k.isDate)(e.value) && (a = n(e.value, o, t.locale)), {\n value: a,\n typedValue: r,\n month: this.getInitialMonthFromProps(e),\n selectedDays: t.selectedDays\n };\n }\n }, {\n key: \"getInput\",\n value: function value() {\n return this.input;\n }\n }, {\n key: \"getDayPicker\",\n value: function value() {\n return this.daypicker;\n }\n }, {\n key: \"updateState\",\n value: function value(e, t, n) {\n var o = this,\n a = this.props,\n s = a.dayPickerProps,\n i = a.onDayChange;\n this.setState({\n month: e,\n value: t,\n typedValue: \"\"\n }, function () {\n if (n && n(), i) {\n var t = h({\n disabled: s.disabledDays,\n selected: s.selectedDays\n }, s.modifiers),\n a = (0, D.getModifiersForDay)(e, t).reduce(function (e, t) {\n return h({}, e, r({}, t, !0));\n }, {});\n i(e, a, o);\n }\n });\n }\n }, {\n key: \"showDayPicker\",\n value: function value() {\n var e = this,\n t = this.props,\n n = t.parseDate,\n o = t.format,\n r = t.dayPickerProps,\n a = this.state,\n s = a.value;\n if (!a.showOverlay) {\n var i = s ? n(s, o, r.locale) : this.getInitialMonthFromProps(this.props);\n this.setState(function (e) {\n return {\n showOverlay: !0,\n month: i || e.month\n };\n }, function () {\n e.props.onDayPickerShow && e.props.onDayPickerShow();\n });\n }\n }\n }, {\n key: \"hideDayPicker\",\n value: function value() {\n var e = this;\n !1 !== this.state.showOverlay && this.setState({\n showOverlay: !1\n }, function () {\n e.props.onDayPickerHide && e.props.onDayPickerHide();\n });\n }\n }, {\n key: \"hideAfterDayClick\",\n value: function value() {\n var e = this;\n this.props.hideOnDayClick && (this.hideTimeout = setTimeout(function () {\n e.overlayHasFocus = !1, e.hideDayPicker();\n }, g));\n }\n }, {\n key: \"handleInputClick\",\n value: function value(e) {\n this.showDayPicker(), this.props.inputProps.onClick && (e.persist(), this.props.inputProps.onClick(e));\n }\n }, {\n key: \"handleInputFocus\",\n value: function value(e) {\n var t = this;\n this.showDayPicker(), this.inputFocusTimeout = setTimeout(function () {\n t.overlayHasFocus = !1;\n }, 2), this.props.inputProps.onFocus && (e.persist(), this.props.inputProps.onFocus(e));\n }\n }, {\n key: \"handleInputBlur\",\n value: function value(e) {\n var t = this;\n this.inputBlurTimeout = setTimeout(function () {\n t.overlayHasFocus || t.hideDayPicker();\n }, 1), this.props.inputProps.onBlur && (e.persist(), this.props.inputProps.onBlur(e));\n }\n }, {\n key: \"handleOverlayFocus\",\n value: function value(e) {\n e.preventDefault(), this.overlayHasFocus = !0, this.props.keepFocus && this.input && \"function\" == typeof this.input.focus && this.input.focus();\n }\n }, {\n key: \"handleOverlayBlur\",\n value: function value() {\n var e = this;\n this.overlayBlurTimeout = setTimeout(function () {\n e.overlayHasFocus = !1;\n }, 3);\n }\n }, {\n key: \"handleInputChange\",\n value: function value(e) {\n var t = this.props,\n n = t.dayPickerProps,\n o = t.format,\n r = t.inputProps,\n a = t.onDayChange,\n s = t.parseDate;\n r.onChange && (e.persist(), r.onChange(e));\n var i = e.target.value;\n if (\"\" === i.trim()) return this.setState({\n value: i,\n typedValue: \"\"\n }), void (a && a(void 0, {}, this));\n var u = s(i, o, n.locale);\n if (!u) return this.setState({\n value: i,\n typedValue: i\n }), void (a && a(void 0, {}, this));\n this.updateState(u, i);\n }\n }, {\n key: \"handleInputKeyDown\",\n value: function value(e) {\n e.keyCode === b.TAB ? this.hideDayPicker() : this.showDayPicker(), this.props.inputProps.onKeyDown && (e.persist(), this.props.inputProps.onKeyDown(e));\n }\n }, {\n key: \"handleInputKeyUp\",\n value: function value(e) {\n e.keyCode === b.ESC ? this.hideDayPicker() : this.showDayPicker(), this.props.inputProps.onKeyUp && (e.persist(), this.props.inputProps.onKeyUp(e));\n }\n }, {\n key: \"handleMonthChange\",\n value: function value(e) {\n var t = this;\n this.setState({\n month: e\n }, function () {\n t.props.dayPickerProps && t.props.dayPickerProps.onMonthChange && t.props.dayPickerProps.onMonthChange(e);\n });\n }\n }, {\n key: \"handleDayClick\",\n value: function value(e, t, n) {\n var o = this,\n r = this.props,\n a = r.clickUnselectsDay,\n s = r.dayPickerProps,\n i = r.onDayChange,\n u = r.formatDate,\n l = r.format;\n if (s.onDayClick && s.onDayClick(e, t, n), !(t.disabled || s && s.classNames && t[s.classNames.disabled])) {\n if (t.selected && a) {\n var c = this.state.selectedDays;\n if (Array.isArray(c)) {\n c = c.slice(0);\n var p = c.indexOf(e);\n c.splice(p, 1);\n } else c && (c = null);\n return this.setState({\n value: \"\",\n typedValue: \"\",\n selectedDays: c\n }, this.hideAfterDayClick), void (i && i(void 0, t, this));\n }\n var f = u(e, l, s.locale);\n this.setState({\n value: f,\n typedValue: \"\",\n month: e\n }, function () {\n i && i(e, t, o), o.hideAfterDayClick();\n });\n }\n }\n }, {\n key: \"renderOverlay\",\n value: function value() {\n var e = this,\n t = this.props,\n n = t.classNames,\n o = t.dayPickerProps,\n r = t.parseDate,\n a = t.formatDate,\n s = t.format,\n i = this.state,\n u = i.selectedDays,\n l = i.value,\n c = void 0;\n if (!u && l) {\n var p = r(l, s, o.locale);\n p && (c = p);\n } else u && (c = u);\n var f = void 0;\n o.todayButton && (f = function f() {\n return e.updateState(new Date(), a(new Date(), s, o.locale), e.hideAfterDayClick);\n });\n var d = this.props.overlayComponent;\n return y.default.createElement(d, {\n classNames: n,\n month: this.state.month,\n selectedDay: c,\n input: this.input,\n tabIndex: 0,\n onFocus: this.handleOverlayFocus,\n onBlur: this.handleOverlayBlur\n }, y.default.createElement(m.default, h({\n ref: function ref(t) {\n return e.daypicker = t;\n },\n onTodayButtonClick: f\n }, o, {\n month: this.state.month,\n selectedDays: c,\n onDayClick: this.handleDayClick,\n onMonthChange: this.handleMonthChange\n })));\n }\n }, {\n key: \"render\",\n value: function value() {\n var e = this,\n t = this.props.component,\n n = this.props.inputProps;\n return y.default.createElement(\"div\", {\n className: this.props.classNames.container,\n style: this.props.style\n }, y.default.createElement(t, h({\n ref: function ref(t) {\n return e.input = t;\n },\n placeholder: this.props.placeholder\n }, n, {\n value: this.state.value || this.state.typedValue,\n onChange: this.handleInputChange,\n onFocus: this.handleInputFocus,\n onBlur: this.handleInputBlur,\n onKeyDown: this.handleInputKeyDown,\n onKeyUp: this.handleInputKeyUp,\n onClick: n.disabled ? void 0 : this.handleInputClick\n })), this.state.showOverlay && this.renderOverlay());\n }\n }]), t;\n }(y.default.Component);\n w.defaultProps = {\n dayPickerProps: {},\n value: \"\",\n typedValue: \"\",\n placeholder: \"YYYY-M-D\",\n format: \"L\",\n formatDate: c,\n parseDate: p,\n showOverlay: !1,\n hideOnDayClick: !0,\n clickUnselectsDay: !1,\n keepFocus: !0,\n component: \"input\",\n inputProps: {},\n overlayComponent: l,\n classNames: {\n container: \"DayPickerInput\",\n overlayWrapper: \"DayPickerInput-OverlayWrapper\",\n overlay: \"DayPickerInput-Overlay\"\n }\n }, t.default = w;\n }]).default;\n});","module.exports = \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzkiIGhlaWdodD0iMzkiIHZpZXdCb3g9I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DMzLjQ0ODIgNi4wNzc0MVpNMzMuNDQ4MiAzLjk0Njg1QzMzLjE0OTIgMy45NDY4NSAzMi45MDY2IDQuMTg1NDggMzIuOTA2NiA0LjQ3OTQ5QzMyLjkwNjYgNC43NzM1MSAzMy4xNDkyIDUuMDEyMTMgMzMuNDQ4MiA1LjAxMjEzQzMzLjc0NzIgNS4wMTIxMyAzMy45ODk5IDQuNzczNTEgMzMuOTg5OSA0LjQ3OTQ5QzMzLjk4OTkgNC4xODU0OCAzMy43NDcyIDMuOTQ2ODUgMzMuNDQ4MiAzLjk0Njg1WiIgZmlsbD0iI0E0QUZDMSIvPgo8L3N2Zz4K\"","\"use strict\";\n\nexports.__esModule = true;\nexports.switchImageSettings = void 0;\n\nvar _ImageUtils = require(\"./ImageUtils\");\n\nvar _MediaUtils = require(\"./MediaUtils\");\n\nvar _SimpleUtils = require(\"./SimpleUtils\");\n\nvar switchImageSettings = function switchImageSettings(_ref) {\n var image = _ref.image,\n bgImage = _ref.bgImage,\n imageRef = _ref.imageRef,\n state = _ref.state;\n var currentSources = (0, _ImageUtils.getCurrentFromData)({\n data: imageRef,\n propName: \"currentSrc\"\n });\n var returnArray = Array.isArray(image) && !(0, _MediaUtils.hasArtDirectionArray)({\n fluid: image\n });\n var lastImage = Array.isArray(bgImage) ? (0, _SimpleUtils.filteredJoin)(bgImage) : bgImage;\n var nextImage;\n var nextImageArray;\n var finalImage = returnArray && state.seenBefore && !!currentSources;\n\n if (returnArray) {\n if (!currentSources) {\n nextImage = (0, _ImageUtils.getCurrentFromData)({\n data: image,\n propName: \"tracedSVG\",\n returnArray: returnArray\n });\n nextImage = (0, _SimpleUtils.combineArray)((0, _ImageUtils.getCurrentFromData)({\n data: image,\n propName: \"base64\",\n returnArray: returnArray\n }), nextImage);\n }\n\n nextImage = (0, _SimpleUtils.combineArray)((0, _ImageUtils.getCurrentFromData)({\n data: image,\n propName: \"CSS_STRING\",\n addUrl: false,\n returnArray: returnArray\n }), nextImage);\n\n if ((state.imgLoaded || !!currentSources) && state.isVisible) {\n if (currentSources) {\n nextImage = (0, _SimpleUtils.combineArray)((0, _ImageUtils.getCurrentFromData)({\n data: imageRef,\n propName: \"currentSrc\",\n returnArray: returnArray\n }), nextImage);\n finalImage = true;\n } else {\n nextImage = (0, _SimpleUtils.combineArray)((0, _ImageUtils.getCurrentFromData)({\n data: imageRef,\n propName: \"src\",\n returnArray: returnArray\n }), nextImage);\n finalImage = true;\n }\n }\n\n nextImage = (0, _SimpleUtils.combineArray)(nextImage, bgImage);\n var dummyArray = (0, _ImageUtils.createDummyImageArray)(image.length);\n nextImage = (0, _SimpleUtils.combineArray)(nextImage, dummyArray);\n nextImageArray = nextImage;\n nextImage = (0, _SimpleUtils.filteredJoin)(nextImage);\n } else {\n nextImage = \"\";\n nextImage = (0, _ImageUtils.getCurrentFromData)({\n data: image,\n propName: \"tracedSVG\"\n }) || (0, _ImageUtils.getCurrentFromData)({\n data: image,\n propName: \"base64\"\n });\n\n if (state.imgLoaded && state.isVisible) {\n nextImage = currentSources;\n finalImage = true;\n }\n }\n\n var afterOpacity = state.imageState % 2;\n\n if (!returnArray && nextImage === \"\" && state.imgLoaded && state.isVisible && imageRef && !imageRef.currentSrc) {\n nextImage = (0, _ImageUtils.getCurrentFromData)({\n data: imageRef,\n propName: \"src\",\n checkLoaded: false\n });\n finalImage = true;\n }\n\n if (!nextImage) nextImage = lastImage;\n var newImageSettings = {\n lastImage: lastImage,\n nextImage: nextImage,\n afterOpacity: afterOpacity,\n finalImage: finalImage\n };\n if (nextImageArray) newImageSettings.nextImageArray = nextImageArray;\n return newImageSettings;\n};\n\nexports.switchImageSettings = switchImageSettings;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.formatDay = formatDay;\nexports.formatMonthTitle = formatMonthTitle;\nexports.formatWeekdayShort = formatWeekdayShort;\nexports.formatWeekdayLong = formatWeekdayLong;\nexports.getFirstDayOfWeek = getFirstDayOfWeek;\nexports.getMonths = getMonths;\nvar WEEKDAYS_LONG = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];\nvar WEEKDAYS_SHORT = ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'];\nvar MONTHS = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];\nfunction formatDay(day) {\n return day.toDateString();\n}\nfunction formatMonthTitle(d) {\n return MONTHS[d.getMonth()] + ' ' + d.getFullYear();\n}\nfunction formatWeekdayShort(i) {\n return WEEKDAYS_SHORT[i];\n}\nfunction formatWeekdayLong(i) {\n return WEEKDAYS_LONG[i];\n}\nfunction getFirstDayOfWeek() {\n return 0;\n}\nfunction getMonths() {\n return MONTHS;\n}\nexports.default = {\n formatDay: formatDay,\n formatMonthTitle: formatMonthTitle,\n formatWeekdayShort: formatWeekdayShort,\n formatWeekdayLong: formatWeekdayLong,\n getFirstDayOfWeek: getFirstDayOfWeek,\n getMonths: getMonths\n};","'use strict';\n\nrequire(\"core-js/modules/es.array.reduce.js\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.HIDE_TIMEOUT = undefined;\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n};\nexports.OverlayComponent = OverlayComponent;\nexports.defaultFormat = defaultFormat;\nexports.defaultParse = defaultParse;\nvar _react = require('react');\nvar _react2 = _interopRequireDefault(_react);\nvar _DayPicker = require('./DayPicker');\nvar _DayPicker2 = _interopRequireDefault(_DayPicker);\nvar _DateUtils = require('./DateUtils');\nvar _ModifiersUtils = require('./ModifiersUtils');\nvar _keys = require('./keys');\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\nfunction _objectWithoutProperties(obj, keys) {\n var target = {};\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n return target;\n}\n\n// When clicking on a day cell, overlay will be hidden after this timeout\nvar HIDE_TIMEOUT = exports.HIDE_TIMEOUT = 100;\n\n/**\n * The default component used as Overlay.\n *\n * @param {Object} props\n */\nfunction OverlayComponent(_ref) {\n var input = _ref.input,\n selectedDay = _ref.selectedDay,\n month = _ref.month,\n children = _ref.children,\n classNames = _ref.classNames,\n props = _objectWithoutProperties(_ref, ['input', 'selectedDay', 'month', 'children', 'classNames']);\n return _react2.default.createElement('div', _extends({\n className: classNames.overlayWrapper\n }, props), _react2.default.createElement('div', {\n className: classNames.overlay\n }, children));\n}\n\n/**\n * The default function used to format a Date to String, passed to the `format`\n * prop.\n * @param {Date} d\n * @return {String}\n */\nfunction defaultFormat(d) {\n if ((0, _DateUtils.isDate)(d)) {\n var year = d.getFullYear();\n var month = '' + (d.getMonth() + 1);\n var day = '' + d.getDate();\n return year + '-' + month + '-' + day;\n }\n return '';\n}\n\n/**\n * The default function used to parse a String as Date, passed to the `parse`\n * prop.\n * @param {String} str\n * @return {Date}\n */\nfunction defaultParse(str) {\n if (typeof str !== 'string') {\n return undefined;\n }\n var split = str.split('-');\n if (split.length !== 3) {\n return undefined;\n }\n var year = parseInt(split[0], 10);\n var month = parseInt(split[1], 10) - 1;\n var day = parseInt(split[2], 10);\n if (isNaN(year) || String(year).length > 4 || isNaN(month) || isNaN(day) || day <= 0 || day > 31 || month < 0 || month >= 12) {\n return undefined;\n }\n return new Date(year, month, day, 12, 0, 0, 0); // always set noon to avoid time zone issues\n}\n\nvar DayPickerInput = function (_React$Component) {\n _inherits(DayPickerInput, _React$Component);\n function DayPickerInput(props) {\n _classCallCheck(this, DayPickerInput);\n var _this = _possibleConstructorReturn(this, (DayPickerInput.__proto__ || Object.getPrototypeOf(DayPickerInput)).call(this, props));\n _this.input = null;\n _this.daypicker = null;\n _this.clickTimeout = null;\n _this.hideTimeout = null;\n _this.inputBlurTimeout = null;\n _this.inputFocusTimeout = null;\n _this.state = _this.getInitialStateFromProps(props);\n _this.state.showOverlay = props.showOverlay;\n _this.hideAfterDayClick = _this.hideAfterDayClick.bind(_this);\n _this.handleInputClick = _this.handleInputClick.bind(_this);\n _this.handleInputFocus = _this.handleInputFocus.bind(_this);\n _this.handleInputBlur = _this.handleInputBlur.bind(_this);\n _this.handleInputChange = _this.handleInputChange.bind(_this);\n _this.handleInputKeyDown = _this.handleInputKeyDown.bind(_this);\n _this.handleInputKeyUp = _this.handleInputKeyUp.bind(_this);\n _this.handleDayClick = _this.handleDayClick.bind(_this);\n _this.handleMonthChange = _this.handleMonthChange.bind(_this);\n _this.handleOverlayFocus = _this.handleOverlayFocus.bind(_this);\n _this.handleOverlayBlur = _this.handleOverlayBlur.bind(_this);\n return _this;\n }\n _createClass(DayPickerInput, [{\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n var newState = {};\n\n // Current props\n var _props = this.props,\n value = _props.value,\n formatDate = _props.formatDate,\n format = _props.format,\n dayPickerProps = _props.dayPickerProps;\n\n // Update the input value if `value`, `dayPickerProps.locale` or `format`\n // props have changed\n\n if (value !== prevProps.value || dayPickerProps.locale !== prevProps.dayPickerProps.locale || format !== prevProps.format) {\n if ((0, _DateUtils.isDate)(value)) {\n newState.value = formatDate(value, format, dayPickerProps.locale);\n } else {\n newState.value = value;\n }\n }\n\n // Update the month if the months from props changed\n var prevMonth = prevProps.dayPickerProps.month;\n if (dayPickerProps.month && dayPickerProps.month !== prevMonth && !(0, _DateUtils.isSameMonth)(dayPickerProps.month, prevMonth)) {\n newState.month = dayPickerProps.month;\n }\n\n // Updated the selected days from props if they changed\n if (prevProps.dayPickerProps.selectedDays !== dayPickerProps.selectedDays) {\n newState.selectedDays = dayPickerProps.selectedDays;\n }\n if (Object.keys(newState).length > 0) {\n // eslint-disable-next-line react/no-did-update-set-state\n this.setState(newState);\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n clearTimeout(this.clickTimeout);\n clearTimeout(this.hideTimeout);\n clearTimeout(this.inputFocusTimeout);\n clearTimeout(this.inputBlurTimeout);\n clearTimeout(this.overlayBlurTimeout);\n }\n }, {\n key: 'getInitialMonthFromProps',\n value: function getInitialMonthFromProps(props) {\n var dayPickerProps = props.dayPickerProps,\n format = props.format;\n var day = void 0;\n if (props.value) {\n if ((0, _DateUtils.isDate)(props.value)) {\n day = props.value;\n } else {\n day = props.parseDate(props.value, format, dayPickerProps.locale);\n }\n }\n return dayPickerProps.initialMonth || dayPickerProps.month || day || new Date();\n }\n }, {\n key: 'getInitialStateFromProps',\n value: function getInitialStateFromProps(props) {\n var dayPickerProps = props.dayPickerProps,\n formatDate = props.formatDate,\n format = props.format,\n typedValue = props.typedValue;\n var value = props.value;\n if (props.value && (0, _DateUtils.isDate)(props.value)) {\n value = formatDate(props.value, format, dayPickerProps.locale);\n }\n return {\n value: value,\n typedValue: typedValue,\n month: this.getInitialMonthFromProps(props),\n selectedDays: dayPickerProps.selectedDays\n };\n }\n }, {\n key: 'getInput',\n value: function getInput() {\n return this.input;\n }\n }, {\n key: 'getDayPicker',\n value: function getDayPicker() {\n return this.daypicker;\n }\n\n /**\n * Update the component's state and fire the `onDayChange` event passing the\n * day's modifiers to it.\n *\n * @param {Date} day - Will be used for changing the month\n * @param {String} value - Input field value\n * @private\n */\n }, {\n key: 'updateState',\n value: function updateState(day, value, callback) {\n var _this2 = this;\n var _props2 = this.props,\n dayPickerProps = _props2.dayPickerProps,\n onDayChange = _props2.onDayChange;\n this.setState({\n month: day,\n value: value,\n typedValue: ''\n }, function () {\n if (callback) {\n callback();\n }\n if (!onDayChange) {\n return;\n }\n var modifiersObj = _extends({\n disabled: dayPickerProps.disabledDays,\n selected: dayPickerProps.selectedDays\n }, dayPickerProps.modifiers);\n var modifiers = (0, _ModifiersUtils.getModifiersForDay)(day, modifiersObj).reduce(function (obj, modifier) {\n return _extends({}, obj, _defineProperty({}, modifier, true));\n }, {});\n onDayChange(day, modifiers, _this2);\n });\n }\n\n /**\n * Show the Day Picker overlay.\n *\n * @memberof DayPickerInput\n */\n }, {\n key: 'showDayPicker',\n value: function showDayPicker() {\n var _this3 = this;\n var _props3 = this.props,\n parseDate = _props3.parseDate,\n format = _props3.format,\n dayPickerProps = _props3.dayPickerProps;\n var _state = this.state,\n value = _state.value,\n showOverlay = _state.showOverlay;\n if (showOverlay) {\n return;\n }\n // Reset the current displayed month when showing the overlay\n var month = value ? parseDate(value, format, dayPickerProps.locale) // Use the month in the input field\n : this.getInitialMonthFromProps(this.props); // Restore the month from the props\n this.setState(function (state) {\n return {\n showOverlay: true,\n month: month || state.month\n };\n }, function () {\n if (_this3.props.onDayPickerShow) _this3.props.onDayPickerShow();\n });\n }\n\n /**\n * Hide the Day Picker overlay\n *\n * @memberof DayPickerInput\n */\n }, {\n key: 'hideDayPicker',\n value: function hideDayPicker() {\n var _this4 = this;\n if (this.state.showOverlay === false) {\n return;\n }\n this.setState({\n showOverlay: false\n }, function () {\n if (_this4.props.onDayPickerHide) _this4.props.onDayPickerHide();\n });\n }\n }, {\n key: 'hideAfterDayClick',\n value: function hideAfterDayClick() {\n var _this5 = this;\n if (!this.props.hideOnDayClick) {\n return;\n }\n this.hideTimeout = setTimeout(function () {\n _this5.overlayHasFocus = false;\n _this5.hideDayPicker();\n }, HIDE_TIMEOUT);\n }\n }, {\n key: 'handleInputClick',\n value: function handleInputClick(e) {\n this.showDayPicker();\n if (this.props.inputProps.onClick) {\n e.persist();\n this.props.inputProps.onClick(e);\n }\n }\n }, {\n key: 'handleInputFocus',\n value: function handleInputFocus(e) {\n var _this6 = this;\n this.showDayPicker();\n // Set `overlayHasFocus` after a timeout so the overlay can be hidden when\n // the input is blurred\n this.inputFocusTimeout = setTimeout(function () {\n _this6.overlayHasFocus = false;\n }, 2);\n if (this.props.inputProps.onFocus) {\n e.persist();\n this.props.inputProps.onFocus(e);\n }\n }\n\n // When the input is blurred, the overlay should disappear. However the input\n // is blurred also when the user interacts with the overlay (e.g. the overlay\n // get the focus by clicking it). In these cases, the overlay should not be\n // hidden. There are different approaches to avoid hiding the overlay when\n // this happens, but the only cross-browser hack we’ve found is to set all\n // these timeouts in code before changing `overlayHasFocus`.\n }, {\n key: 'handleInputBlur',\n value: function handleInputBlur(e) {\n var _this7 = this;\n this.inputBlurTimeout = setTimeout(function () {\n if (!_this7.overlayHasFocus) {\n _this7.hideDayPicker();\n }\n }, 1);\n if (this.props.inputProps.onBlur) {\n e.persist();\n this.props.inputProps.onBlur(e);\n }\n }\n }, {\n key: 'handleOverlayFocus',\n value: function handleOverlayFocus(e) {\n e.preventDefault();\n this.overlayHasFocus = true;\n if (!this.props.keepFocus || !this.input || typeof this.input.focus !== 'function') {\n return;\n }\n this.input.focus();\n }\n }, {\n key: 'handleOverlayBlur',\n value: function handleOverlayBlur() {\n var _this8 = this;\n\n // We need to set a timeout otherwise IE11 will hide the overlay when\n // focusing it\n this.overlayBlurTimeout = setTimeout(function () {\n _this8.overlayHasFocus = false;\n }, 3);\n }\n }, {\n key: 'handleInputChange',\n value: function handleInputChange(e) {\n var _props4 = this.props,\n dayPickerProps = _props4.dayPickerProps,\n format = _props4.format,\n inputProps = _props4.inputProps,\n onDayChange = _props4.onDayChange,\n parseDate = _props4.parseDate;\n if (inputProps.onChange) {\n e.persist();\n inputProps.onChange(e);\n }\n var value = e.target.value;\n if (value.trim() === '') {\n this.setState({\n value: value,\n typedValue: ''\n });\n if (onDayChange) onDayChange(undefined, {}, this);\n return;\n }\n var day = parseDate(value, format, dayPickerProps.locale);\n if (!day) {\n // Day is invalid: we save the value in the typedValue state\n this.setState({\n value: value,\n typedValue: value\n });\n if (onDayChange) onDayChange(undefined, {}, this);\n return;\n }\n this.updateState(day, value);\n }\n }, {\n key: 'handleInputKeyDown',\n value: function handleInputKeyDown(e) {\n if (e.keyCode === _keys.TAB) {\n this.hideDayPicker();\n } else {\n this.showDayPicker();\n }\n if (this.props.inputProps.onKeyDown) {\n e.persist();\n this.props.inputProps.onKeyDown(e);\n }\n }\n }, {\n key: 'handleInputKeyUp',\n value: function handleInputKeyUp(e) {\n if (e.keyCode === _keys.ESC) {\n this.hideDayPicker();\n } else {\n this.showDayPicker();\n }\n if (this.props.inputProps.onKeyUp) {\n e.persist();\n this.props.inputProps.onKeyUp(e);\n }\n }\n }, {\n key: 'handleMonthChange',\n value: function handleMonthChange(month) {\n var _this9 = this;\n this.setState({\n month: month\n }, function () {\n if (_this9.props.dayPickerProps && _this9.props.dayPickerProps.onMonthChange) {\n _this9.props.dayPickerProps.onMonthChange(month);\n }\n });\n }\n }, {\n key: 'handleDayClick',\n value: function handleDayClick(day, modifiers, e) {\n var _this10 = this;\n var _props5 = this.props,\n clickUnselectsDay = _props5.clickUnselectsDay,\n dayPickerProps = _props5.dayPickerProps,\n onDayChange = _props5.onDayChange,\n formatDate = _props5.formatDate,\n format = _props5.format;\n if (dayPickerProps.onDayClick) {\n dayPickerProps.onDayClick(day, modifiers, e);\n }\n\n // Do nothing if the day is disabled\n if (modifiers.disabled || dayPickerProps && dayPickerProps.classNames && modifiers[dayPickerProps.classNames.disabled]) {\n return;\n }\n\n // If the clicked day is already selected, remove the clicked day\n // from the selected days and empty the field value\n if (modifiers.selected && clickUnselectsDay) {\n var selectedDays = this.state.selectedDays;\n if (Array.isArray(selectedDays)) {\n selectedDays = selectedDays.slice(0);\n var selectedDayIdx = selectedDays.indexOf(day);\n selectedDays.splice(selectedDayIdx, 1);\n } else if (selectedDays) {\n selectedDays = null;\n }\n this.setState({\n value: '',\n typedValue: '',\n selectedDays: selectedDays\n }, this.hideAfterDayClick);\n if (onDayChange) {\n onDayChange(undefined, modifiers, this);\n }\n return;\n }\n var value = formatDate(day, format, dayPickerProps.locale);\n this.setState({\n value: value,\n typedValue: '',\n month: day\n }, function () {\n if (onDayChange) {\n onDayChange(day, modifiers, _this10);\n }\n _this10.hideAfterDayClick();\n });\n }\n }, {\n key: 'renderOverlay',\n value: function renderOverlay() {\n var _this11 = this;\n var _props6 = this.props,\n classNames = _props6.classNames,\n dayPickerProps = _props6.dayPickerProps,\n parseDate = _props6.parseDate,\n formatDate = _props6.formatDate,\n format = _props6.format;\n var _state2 = this.state,\n selectedDays = _state2.selectedDays,\n value = _state2.value;\n var selectedDay = void 0;\n if (!selectedDays && value) {\n var day = parseDate(value, format, dayPickerProps.locale);\n if (day) {\n selectedDay = day;\n }\n } else if (selectedDays) {\n selectedDay = selectedDays;\n }\n var onTodayButtonClick = void 0;\n if (dayPickerProps.todayButton) {\n // Set the current day when clicking the today button\n onTodayButtonClick = function onTodayButtonClick() {\n return _this11.updateState(new Date(), formatDate(new Date(), format, dayPickerProps.locale), _this11.hideAfterDayClick);\n };\n }\n var Overlay = this.props.overlayComponent;\n return _react2.default.createElement(Overlay, {\n classNames: classNames,\n month: this.state.month,\n selectedDay: selectedDay,\n input: this.input,\n tabIndex: 0 // tabIndex is necessary to catch focus/blur events on Safari\n ,\n onFocus: this.handleOverlayFocus,\n onBlur: this.handleOverlayBlur\n }, _react2.default.createElement(_DayPicker2.default, _extends({\n ref: function ref(el) {\n return _this11.daypicker = el;\n },\n onTodayButtonClick: onTodayButtonClick\n }, dayPickerProps, {\n month: this.state.month,\n selectedDays: selectedDay,\n onDayClick: this.handleDayClick,\n onMonthChange: this.handleMonthChange\n })));\n }\n }, {\n key: 'render',\n value: function render() {\n var _this12 = this;\n var Input = this.props.component;\n var inputProps = this.props.inputProps;\n return _react2.default.createElement('div', {\n className: this.props.classNames.container,\n style: this.props.style\n }, _react2.default.createElement(Input, _extends({\n ref: function ref(el) {\n return _this12.input = el;\n },\n placeholder: this.props.placeholder\n }, inputProps, {\n value: this.state.value || this.state.typedValue,\n onChange: this.handleInputChange,\n onFocus: this.handleInputFocus,\n onBlur: this.handleInputBlur,\n onKeyDown: this.handleInputKeyDown,\n onKeyUp: this.handleInputKeyUp,\n onClick: !inputProps.disabled ? this.handleInputClick : undefined\n })), this.state.showOverlay && this.renderOverlay());\n }\n }]);\n return DayPickerInput;\n}(_react2.default.Component);\nDayPickerInput.defaultProps = {\n dayPickerProps: {},\n value: '',\n typedValue: '',\n placeholder: 'YYYY-M-D',\n format: 'L',\n formatDate: defaultFormat,\n parseDate: defaultParse,\n showOverlay: false,\n hideOnDayClick: true,\n clickUnselectsDay: false,\n keepFocus: true,\n component: 'input',\n inputProps: {},\n overlayComponent: OverlayComponent,\n classNames: {\n container: 'DayPickerInput',\n overlayWrapper: 'DayPickerInput-OverlayWrapper',\n overlay: 'DayPickerInput-Overlay'\n }\n};\nexports.default = DayPickerIn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ybT0idHJhbnNsYXRlKDAgMCkiIGZpbGw9IiNmMjJmMmYiLz4KICAgIDxwYXRoIGlkPSJQYXRoXzE1MCIgZGF0YS1uYW1lPSJQYXRoIDE1MCIgZD0iTTEwNy4zMzMsNjM1LjMzM0gxMDZ2MS4zMzRoMS4zMzNaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDApIiBmaWxsPSIjZjIyZjJmIi8+CiAgICA8cGF0aCBpZD0iUGF0aF8xNTEiIGRhdGEtbmFtZT0iUGF0aCAxNTEiIGQ9Ik0xMDQuNjY2LDYzNS4zMzNoLTEuMzMzdjEuMzM0aDEuMzMzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwKSIgZmlsbD0iI2YyMmYyZiIvPgogICAgPHBhdGggaWQ9IlBhdGhfMTUyIiBkYXRhLW5hbWU9IlBhdGggMTUyIiBkPSJNMTAyLDYzNS4zMzNoLTEuMzMzdjEuMzM0SDEwMloiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMCkiIGZpbGw9IiNmMjJmMmYiLz4KICA8L2c+Cjwvc3ZnPgo=\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"inputHelper\":\"input-module--inputHelper--1kHub\",\"inputHelperWarning\":\"input-module--inputHelperWarning--2v6oo\",\"inputHelperError\":\"input-module--inputHelperError--wpAzB\",\"inputHelperSuccess\":\"input-module--inputHelperSuccess--2tIjX\",\"inputError\":\"input-module--inputError--3iTEw\",\"inputWarning\":\"input-module--inputWarning--249D3\",\"inputSuccess\":\"input-module--inputSuccess--3PwbN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"orderForm\":\"order-form2-module--orderForm--1onTI\",\"heroForm\":\"order-form2-module--heroForm--2TztN\",\"orderFormWrap\":\"order-form2-module--orderFormWrap--vimnf\",\"orderFormInfo\":\"order-form2-module--orderFormInfo--3jig8\",\"inputField\":\"order-form2-module--inputField--2PT-p\",\"inputFieldLabel\":\"order-form2-module--inputFieldLabel--V_MKO\",\"inputFieldTitle\":\"order-form2-module--inputFieldTitle--WAK8P\",\"inputFieldTitleSmall\":\"order-form2-module--inputFieldTitleSmall--1TLkz\",\"orderFormTitle\":\"order-form2-module--orderFormTitle--TbBED\",\"orderFormBox\":\"order-form2-module--orderFormBox--1oolc\",\"buttons\":\"order-form2-module--buttons--1Foro\",\"submitButton\":\"order-form2-module--submitButton--1ABFy\",\"radioBtn\":\"order-form2-module--radioBtn--2x-9X\",\"program\":\"order-form2-module--program--Bj8ow\",\"radioPanel\":\"order-form2-module--radioPanel--1VDVX\",\"radio\":\"order-form2-module--radio--1leIc\",\"checkTerms\":\"order-form2-module--checkTerms--3BOMp\",\"sectionBox\":\"order-form2-module--sectionBox--NVQrH\",\"sectionTitle\":\"order-form2-module--sectionTitle--VhhQ7\",\"sectionNumber\":\"order-form2-module--sectionNumber--2N-S8\",\"orderFormInner\":\"order-form2-module--orderFormInner--25dPi\",\"orderFormProgress\":\"order-form2-module--orderFormProgress--369j8\",\"orderFormProgressItem\":\"order-form2-module--orderFormProgressItem--3Ofjl\",\"active\":\"order-form2-module--active--3zlU_\",\"done\":\"order-form2-module--done--J3Rpf\",\"orderFormProgressDivider\":\"order-form2-module--orderFormProgressDivider--1G94B\",\"orderFormProgressDividerItem\":\"order-form2-module--orderFormProgressDividerItem--26o4P\",\"orderFormProgressDividerDone\":\"order-form2-module--orderFormProgressDividerDone--1VnlZ\",\"kalSection\":\"order-form2-module--kalSection--34wRY\",\"select\":\"order-form2-module--select--2Ua3m\",\"step1\":\"order-form2-module--step1--2cOiA\",\"cel\":\"order-form2-module--cel--2Xmd8\",\"celItems\":\"order-form2-module--celItems--3-DBk\",\"kal\":\"order-form2-module--kal--1iMs6\",\"kalTitle\":\"order-form2-module--kalTitle--3Ewt5\",\"menuTitle\":\"order-form2-module--menuTitle--3xCAG\",\"programTitle\":\"order-form2-module--programTitle--P-HtI\",\"weekTitle\":\"order-form2-module--weekTitle--3plFI\",\"box\":\"order-form2-module--box--3BjDo\",\"priceCell1\":\"order-form2-module--priceCell1--2zU88\",\"priceCell\":\"order-form2-module--priceCell--1-gS9\",\"menu\":\"order-form2-module--menu--mtv2U\",\"price\":\"order-form2-module--price--2u3Av\",\"btn\":\"order-form2-module--btn--1Jr8d\",\"menuList\":\"order-form2-module--menuList--39HVi\",\"menuListItem\":\"order-form2-module--menuListItem--2wWKs\",\"menuListItemIcon\":\"order-form2-module--menuListItemIcon--8jira\",\"menuListItemIndicator\":\"order-form2-module--menuListItemIndicator--3W0lw\",\"programListItemTitle\":\"order-form2-module--programListItemTitle--2mrol\",\"programListItemPrice\":\"order-form2-module--programListItemPrice--lmH3t\",\"programListItemDay\":\"order-form2-module--programListItemDay--1wqK3\",\"celTitle\":\"order-form2-module--celTitle--1yd5i\",\"radioGroup\":\"order-form2-module--radioGroup--3w4lF\",\"radioLines\":\"order-form2-module--radioLines--3EoU2\",\"line\":\"order-form2-module--line--1-xw7\",\"text\":\"order-form2-module--text--Z8xp2\",\"disabled\":\"order-form2-module--disabled--3oVsG\",\"step2\":\"order-form2-module--step2--1iJ_a\",\"paymentMethod\":\"order-form2-module--paymentMethod--1XFqB\",\"submitBtn\":\"order-form2-module--submitBtn--3h_1b\",\"submitBtnDesktop\":\"order-form2-module--submitBtnDesktop--xHqHJ\",\"gender\":\"order-form2-module--gender--1k2JR\",\"mealsAndCalories\":\"order-form2-module--mealsAndCalories--1SbAu\",\"week\":\"order-form2-module--week--3VlOL\",\"deliveryTime\":\"order-form2-module--deliveryTime--2o61u\",\"contact\":\"order-form2-module--contact--3Gled\",\"btnStep2\":\"order-form2-module--btnStep2--10Hus\",\"inputError\":\"order-form2-module--inputError--1UXaY\",\"day\":\"order-form2-module--day--ccT3F\",\"terms\":\"order-form2-module--terms--3KoJ7\",\"step2InputTitle\":\"order-form2-module--step2InputTitle--30buk\",\"step2InputWrap\":\"order-form2-module--step2InputWrap--1C-TP\",\"step2radioBtn\":\"order-form2-module--step2radioBtn--bUjt5\",\"step2radioBtnIcon\":\"order-form2-module--step2radioBtnIcon--2u_Ju\",\"step2contact\":\"order-form2-module--step2contact--2MQRq\",\"input\":\"order-form2-module--input--OM06S\",\"deliveryTimeStepper\":\"order-form2-module--deliveryTimeStepper--UCD-N\",\"tickList\":\"order-form2-module--tick-list--3yCn_\",\"deliveryTimeStepperInput\":\"order-form2-module--deliveryTimeStepperInput--3rUuo\",\"deliveryTimeStepperLines\":\"order-form2-module--deliveryTimeStepperLines--1lFsI\",\"deliveryTimeStepperLine\":\"order-form2-module--deliveryTimeStepperLine--3vkyY\",\"deliveryTimeStepperResult\":\"order-form2-module--deliveryTimeStepperResult--1954e\",\"dayPicker\":\"order-form2-module--dayPicker--1-NDq\",\"dayPickerInner\":\"order-form2-module--dayPickerInner--1Z5oL\",\"step3\":\"order-form2-module--step3--21igz\",\"step3summary\":\"order-form2-module--step3summary--2RHmk\",\"step3form\":\"order-form2-module--step3form--2NPQa\",\"step3finalPrice\":\"order-form2-module--step3finalPrice--3deVA\",\"step3finalPriceNumber\":\"order-form2-module--step3finalPriceNumber--SP6m-\",\"inputPromo\":\"order-form2-module--inputPromo--2kymu\",\"step1active\":\"order-form2-module--step1active--1iKNm\",\"step2active\":\"order-form2-module--step2active--1sZZa\",\"step3active\":\"order-form2-module--step3active--25Oyg\",\"steps\":\"order-form2-module--steps--L7Jsj\",\"xsHidden\":\"order-form2-module--xsHidden--Fl5Dx\",\"programCheckboxes\":\"order-form2-module--programCheckboxes--2qKXx\",\"programCheckboxesItem\":\"order-form2-module--programCheckboxesItem--3VeLI\",\"programCheckboxesInput\":\"order-form2-module--programCheckboxesInput--2azdf\",\"programCheckboxesLabel\":\"order-form2-module--programCheckboxesLabel--3Byxi\",\"programCheckboxesStatus\":\"order-form2-module--programCheckboxesStatus--3P_IF\",\"programCheckboxesDisabled\":\"order-form2-module--programCheckboxesDisabled--P88Us\",\"programCheckboxesChecked\":\"order-form2-module--programCheckboxesChecked--Zaul0\",\"promoInput\":\"order-form2-module--promoInput--1heWN\"};","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _react = require('react');\nvar _react2 = _interopRequireDefault(_react);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\nvar Weekdays = function (_Component) {\n _inherits(Weekdays, _Component);\n function Weekdays() {\n _classCallCheck(this, Weekdays);\n return _possibleConstructorReturn(this, (Weekdays.__proto__ || Object.getPrototypeOf(Weekdays)).apply(this, arguments));\n }\n _createClass(Weekdays, [{\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate(nextProps) {\n return this.props !== nextProps;\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n classNames = _props.classNames,\n firstDayOfWeek = _props.firstDayOfWeek,\n showWeekNumbers = _props.showWeekNumbers,\n weekdaysLong = _props.weekdaysLong,\n weekdaysShort = _props.weekdaysShort,\n locale = _props.locale,\n localeUtils = _props.localeUtils,\n weekdayElement = _props.weekdayElement;\n var days = [];\n for (var i = 0; i < 7; i += 1) {\n var weekday = (i + firstDayOfWeek) % 7;\n var elementProps = {\n key: i,\n className: classNames.weekday,\n weekday: weekday,\n weekdaysLong: weekdaysLong,\n weekdaysShort: weekdaysShort,\n localeUtils: localeUtils,\n locale: locale\n };\n var element = _react2.default.isValidElement(weekdayElement) ? _react2.default.cloneElement(weekdayElement, elementProps) : _react2.default.createElement(weekdayElement, elementProps);\n days.push(element);\n }\n return _react2.default.createElement('div', {\n className: classNames.weekdays,\n role: 'rowgroup'\n }, _react2.default.createElement('div', {\n className: classNames.weekdaysRow,\n role: 'row'\n }, showWeekNumbers && _react2.default.createElement('div', {\n className: classNames.weekday\n }), days));\n }\n }]);\n return Weekdays;\n}(_react.Component);\nexports.default = Weekdays;","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.stripRemainingProps = exports.convertProps = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _filterInvalidDomProps = _interopRequireDefault(require(\"filter-invalid-dom-props\"));\n\nvar _MediaUtils = require(\"./MediaUtils\");\n\nvar stripRemainingProps = function stripRemainingProps(props) {\n return (0, _filterInvalidDomProps.default)(props);\n};\n\nexports.stripRemainingProps = stripRemainingProps;\n\nvar convertProps = function convertProps(props) {\n var convertedProps = (0, _extends2.default)({}, props);\n var fixed = convertedProps.fixed,\n fluid = convertedProps.fluid;\n\n if (fluid && (0, _MediaUtils.hasArtDirectionSupport)(props, 'fluid')) {\n convertedProps.fluid = (0, _MediaUtils.groupByMedia)(convertedProps.fluid);\n }\n\n if (fixed && (0, _MediaUtils.hasArtDirectionSupport)(props, 'fixed')) {\n convertedProps.fixed = (0, _MediaUtils.groupByMedia)(convertedProps.fixed);\n }\n\n return convertedProps;\n};\n\nexports.convertProps = convertProps;","\"use strict\";\n\nexports.__esModule = true;\nexports.resetImageCache = exports.inImageCache = exports.allInImageCache = exports.activateCacheForMultipleImages = exports.activateCacheForImage = void 0;\n\nvar _HelperUtils = require(\"./HelperUtils\");\n\nvar _MediaUtils = require(\"./MediaUtils\");\n\nvar _ImageUtils = require(\"./ImageUtils\");\n\nvar _SimpleUtils = require(\"./SimpleUtils\");\n\nvar imageCache = Object.create({});\n\nvar inImageCache = function inImageCache(props, index, isLoop) {\n if (index === void 0) {\n index = 0;\n }\n\n if (isLoop === void 0) {\n isLoop = false;\n }\n\n var convertedProps = (0, _HelperUtils.convertProps)(props);\n var isImageStack = (0, _ImageUtils.hasImageArray)(convertedProps) && !(0, _MediaUtils.hasArtDirectionArray)(convertedProps);\n\n if (isImageStack && !isLoop) {\n return allInImageCache(props);\n }\n\n var src = isImageStack ? (0, _ImageUtils.getSelectedImage)(convertedProps, index) : (0, _ImageUtils.getImageSrcKey)(convertedProps);\n\n if ((0, _SimpleUtils.isObject)(src)) {\n var objectSrc = (0, _ImageUtils.getImageSrcKey)({\n fluid: src,\n fixed: src\n });\n return imageCache[objectSrc] || false;\n }\n\n return imageCache[src] || false;\n};\n\nexports.inImageCache = inImageCache;\n\nvar allInImageCache = function allInImageCache(props) {\n var convertedProps = (0, _HelperUtils.convertProps)(props);\n var imageStack = convertedProps.fluid || convertedProps.fixed;\n return imageStack.every(function (imageData, index) {\n return inImageCache(convertedProps, index, true);\n });\n};\n\nexports.allInImageCache = allInImageCache;\n\nvar activateCacheForImage = function activateCacheForImage(props, index, isLoop) {\n if (index === void 0) {\n index = 0;\n }\n\n if (isLoop === void 0) {\n isLoop = false;\n }\n\n var convertedProps = (0, _HelperUtils.convertProps)(props);\n var isImageStack = (0, _ImageUtils.hasImageArray)(convertedProps) && !(0, _MediaUtils.hasArtDirectionArray)(convertedProps);\n\n if (isImageStack && !isLoop) {\n return activateCacheForMultipleImages(props);\n }\n\n var src = isImageStack ? (0, _ImageUtils.getSelectedImage)(convertedProps, index) : (0, _ImageUtils.getImageSrcKey)(convertedProps);\n\n if (src) {\n if ((0, _SimpleUtils.isObject)(src)) {\n var objectSrc = (0, _ImageUtils.getImageSrcKey)({\n fluid: src,\n fixed: src\n });\n imageCache[objectSrc] = true;\n } else {\n imageCache[src] = true;\n }\n }\n};\n\nexports.activateCacheForImage = activateCacheForImage;\n\nvar activateCacheForMultipleImages = function activateCacheForMultipleImages(props) {\n var convertedProps = (0, _HelperUtils.convertProps)(props);\n var imageStack = convertedProps.fluid || convertedProps.fixed;\n imageStack.forEach(function (imageData, index) {\n return activateCacheForImage(convertedProps, index, true);\n });\n};\n\nexports.activateCacheForMultipleImages = activateCacheForMultipleImages;\n\nvar resetImageCache = function resetImageCache() {\n for (var prop in imageCache) {\n delete imageCache[prop];\n }\n};\n\nexports.resetImageCache = resetImageCache;","require(\"core-js/modules/es.array.sort.js\");\n//! moment.js\n//! version : 2.29.4\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n\n;\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.moment = factory();\n})(this, function () {\n 'use strict';\n\n var hookCallback;\n function hooks() {\n return hookCallback.apply(null, arguments);\n }\n\n // This is done to register the method called with moment()\n // without creating circular dependencies.\n function setHookCallback(callback) {\n hookCallback = callback;\n }\n function isArray(input) {\n return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';\n }\n function isObject(input) {\n // IE8 will treat undefined and null as object if it wasn't for\n // input != null\n return input != null && Object.prototype.toString.call(input) === '[object Object]';\n }\n function hasOwnProp(a, b) {\n return Object.prototype.hasOwnProperty.call(a, b);\n }\n function isObjectEmpty(obj) {\n if (Object.getOwnPropertyNames) {\n return Object.getOwnPropertyNames(obj).length === 0;\n } else {\n var k;\n for (k in obj) {\n if (hasOwnProp(obj, k)) {\n return false;\n }\n }\n return true;\n }\n }\n function isUndefined(input) {\n return input === void 0;\n }\n function isNumber(input) {\n return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]';\n }\n function isDate(input) {\n return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';\n }\n function map(arr, fn) {\n var res = [],\n i,\n arrLen = arr.length;\n for (i = 0; i < arrLen; ++i) {\n res.push(fn(arr[i], i));\n }\n return res;\n }\n function extend(a, b) {\n for (var i in b) {\n if (hasOwnProp(b, i)) {\n a[i] = b[i];\n }\n }\n if (hasOwnProp(b, 'toString')) {\n a.toString = b.toString;\n }\n if (hasOwnProp(b, 'valueOf')) {\n a.valueOf = b.valueOf;\n }\n return a;\n }\n function createUTC(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, true).utc();\n }\n function defaultParsingFlags() {\n // We need to deep clone this object.\n return {\n empty: false,\n unusedTokens: [],\n unusedInput: [],\n overflow: -2,\n charsLeftOver: 0,\n nullInput: false,\n invalidEra: null,\n invalidMonth: null,\n invalidFormat: false,\n userInvalidated: false,\n iso: false,\n parsedDateParts: [],\n era: null,\n meridiem: null,\n rfc2822: false,\n weekdayMismatch: false\n };\n }\n function getParsingFlags(m) {\n if (m._pf == null) {\n m._pf = defaultParsingFlags();\n }\n return m._pf;\n }\n var some;\n if (Array.prototype.some) {\n some = Array.prototype.some;\n } else {\n some = function some(fun) {\n var t = Object(this),\n len = t.length >>> 0,\n i;\n for (i = 0; i < len; i++) {\n if (i in t && fun.call(this, t[i], i, t)) {\n return true;\n }\n }\n return false;\n };\n }\n function isValid(m) {\n if (m._isValid == null) {\n var flags = getParsingFlags(m),\n parsedParts = some.call(flags.parsedDateParts, function (i) {\n return i != null;\n }),\n isNowValid = !isNaN(m._d.getTime()) && flags.overflow < 0 && !flags.empty && !flags.invalidEra && !flags.invalidMonth && !flags.invalidWeekday && !flags.weekdayMismatch && !flags.nullInput && !flags.invalidFormat && !flags.userInvalidated && (!flags.meridiem || flags.meridiem && parsedParts);\n if (m._strict) {\n isNowValid = isNowValid && flags.charsLeftOver === 0 && flags.unusedTokens.length === 0 && flags.bigHour === undefined;\n }\n if (Object.isFrozen == null || !Object.isFrozen(m)) {\n m._isValid = isNowValid;\n } else {\n return isNowValid;\n }\n }\n return m._isValid;\n }\n function createInvalid(flags) {\n var m = createUTC(NaN);\n if (flags != null) {\n extend(getParsingFlags(m), flags);\n } else {\n getParsingFlags(m).userInvalidated = true;\n }\n return m;\n }\n\n // Plugins that add properties should also add the key here (null value),\n // so we can properly clone ourselves.\n var momentProperties = hooks.momentProperties = [],\n updateInProgress = false;\n function copyConfig(to, from) {\n var i,\n prop,\n val,\n momentPropertiesLen = momentProperties.length;\n if (!isUndefined(from._isAMomentObject)) {\n to._isAMomentObject = from._isAMomentObject;\n }\n if (!isUndefined(from._i)) {\n to._i = from._i;\n }\n if (!isUndefined(from._f)) {\n to._f = from._f;\n }\n if (!isUndefined(from._l)) {\n to._l = from._l;\n }\n if (!isUndefined(from._strict)) {\n to._strict = from._strict;\n }\n if (!isUndefined(from._tzm)) {\n to._tzm = from._tzm;\n }\n if (!isUndefined(from._isUTC)) {\n to._isUTC = from._isUTC;\n }\n if (!isUndefined(from._offset)) {\n to._offset = from._offset;\n }\n if (!isUndefined(from._pf)) {\n to._pf = getParsingFlags(from);\n }\n if (!isUndefined(from._locale)) {\n to._locale = from._locale;\n }\n if (momentPropertiesLen > 0) {\n for (i = 0; i < momentPropertiesLen; i++) {\n prop = momentProperties[i];\n val = from[prop];\n if (!isUndefined(val)) {\n to[prop] = val;\n }\n }\n }\n return to;\n }\n\n // Moment prototype object\n function Moment(config) {\n copyConfig(this, config);\n this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n if (!this.isValid()) {\n this._d = new Date(NaN);\n }\n // Prevent infinite loop in case updateOffset creates new moment\n // objects.\n if (updateInProgress === false) {\n updateInProgress = true;\n hooks.updateOffset(this);\n updateInProgress = false;\n }\n }\n function isMoment(obj) {\n return obj instanceof Moment || obj != null && obj._isAMomentObject != null;\n }\n function warn(msg) {\n if (hooks.suppressDeprecationWarnings === false && typeof console !== 'undefined' && console.warn) {\n console.warn('Deprecation warning: ' + msg);\n }\n }\n function deprecate(msg, fn) {\n var firstTime = true;\n return extend(function () {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(null, msg);\n }\n if (firstTime) {\n var args = [],\n arg,\n i,\n key,\n argLen = arguments.length;\n for (i = 0; i < argLen; i++) {\n arg = '';\n if (typeof arguments[i] === 'object') {\n arg += '\\n[' + i + '] ';\n for (key in arguments[0]) {\n if (hasOwnProp(arguments[0], key)) {\n arg += key + ': ' + arguments[0][key] + ', ';\n }\n }\n arg = arg.slice(0, -2); // Remove trailing comma and space\n } else {\n arg = arguments[i];\n }\n args.push(arg);\n }\n warn(msg + '\\nArguments: ' + Array.prototype.slice.call(args).join('') + '\\n' + new Error().stack);\n firstTime = false;\n }\n return fn.apply(this, arguments);\n }, fn);\n }\n var deprecations = {};\n function deprecateSimple(name, msg) {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(name, msg);\n }\n if (!deprecations[name]) {\n warn(msg);\n deprecations[name] = true;\n }\n }\n hooks.suppressDeprecationWarnings = false;\n hooks.deprecationHandler = null;\n function isFunction(input) {\n return typeof Function !== 'undefined' && input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';\n }\n function set(config) {\n var prop, i;\n for (i in config) {\n if (hasOwnProp(config, i)) {\n prop = config[i];\n if (isFunction(prop)) {\n this[i] = prop;\n } else {\n this['_' + i] = prop;\n }\n }\n }\n this._config = config;\n // Lenient ordinal parsing accepts just a number in addition to\n // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + '|' + /\\d{1,2}/.source);\n }\n function mergeConfigs(parentConfig, childConfig) {\n var res = extend({}, parentConfig),\n prop;\n for (prop in childConfig) {\n if (hasOwnProp(childConfig, prop)) {\n if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n res[prop] = {};\n extend(res[prop], parentConfig[prop]);\n extend(res[prop], childConfig[prop]);\n } else if (childConfig[prop] != null) {\n res[prop] = childConfig[prop];\n } else {\n delete res[prop];\n }\n }\n }\n for (prop in parentConfig) {\n if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject(parentConfig[prop])) {\n // make sure changes to properties don't modify parent config\n res[prop] = extend({}, res[prop]);\n }\n }\n return res;\n }\n function Locale(config) {\n if (config != null) {\n this.set(config);\n }\n }\n var keys;\n if (Object.keys) {\n keys = Object.keys;\n } else {\n keys = function keys(obj) {\n var i,\n res = [];\n for (i in obj) {\n if (hasOwnProp(obj, i)) {\n res.push(i);\n }\n }\n return res;\n };\n }\n var defaultCalendar = {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L'\n };\n function calendar(key, mom, now) {\n var output = this._calendar[key] || this._calendar['sameElse'];\n return isFunction(output) ? output.call(mom, now) : output;\n }\n function zeroFill(number, targetLength, forceSign) {\n var absNumber = '' + Math.abs(number),\n zerosToFill = targetLength - absNumber.length,\n sign = number >= 0;\n return (sign ? forceSign ? '+' : '' : '-') + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber;\n }\n var formattingTokens = /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,\n localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,\n formatFunctions = {},\n formatTokenFunctions = {};\n\n // token: 'M'\n // padded: ['MM', 2]\n // ordinal: 'Mo'\n // callback: function () { this.month() + 1 }\n function addFormatToken(token, padded, ordinal, callback) {\n var func = callback;\n if (typeof callback === 'string') {\n func = function func() {\n return this[callback]();\n };\n }\n if (token) {\n formatTokenFunctions[token] = func;\n }\n if (padded) {\n formatTokenFunctions[padded[0]] = function () {\n return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n };\n }\n if (ordinal) {\n formatTokenFunctions[ordinal] = function () {\n return this.localeData().ordinal(func.apply(this, arguments), token);\n };\n }\n }\n function removeFormattingTokens(input) {\n if (input.match(/\\[[\\s\\S]/)) {\n return input.replace(/^\\[|\\]$/g, '');\n }\n return input.replace(/\\\\/g, '');\n }\n function makeFormatFunction(format) {\n var array = format.match(formattingTokens),\n i,\n length;\n for (i = 0, length = array.length; i < length; i++) {\n if (formatTokenFunctions[array[i]]) {\n array[i] = formatTokenFunctions[array[i]];\n } else {\n array[i] = removeFormattingTokens(array[i]);\n }\n }\n return function (mom) {\n var output = '',\n i;\n for (i = 0; i < length; i++) {\n output += isFunction(array[i]) ? array[i].call(mom, format) : array[i];\n }\n return output;\n };\n }\n\n // format date using native date object\n function formatMoment(m, format) {\n if (!m.isValid()) {\n return m.localeData().invalidDate();\n }\n format = expandFormat(format, m.localeData());\n formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format);\n return formatFunctions[format](m);\n }\n function expandFormat(format, locale) {\n var i = 5;\n function replaceLongDateFormatTokens(input) {\n return locale.longDateFormat(input) || input;\n }\n localFormattingTokens.lastIndex = 0;\n while (i >= 0 && localFormattingTokens.test(format)) {\n format = format.replace(localFormattingTokens, replaceLongDateFormatTokens);\n localFormattingTokens.lastIndex = 0;\n i -= 1;\n }\n return format;\n }\n var defaultLongDateFormat = {\n LTS: 'h:mm:ss A',\n LT: 'h:mm A',\n L: 'MM/DD/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY h:mm A',\n LLLL: 'dddd, MMMM D, YYYY h:mm A'\n };\n function longDateFormat(key) {\n var format = this._longDateFormat[key],\n formatUpper = this._longDateFormat[key.toUpperCase()];\n if (format || !formatUpper) {\n return format;\n }\n this._longDateFormat[key] = formatUpper.match(formattingTokens).map(function (tok) {\n if (tok === 'MMMM' || tok === 'MM' || tok === 'DD' || tok === 'dddd') {\n return tok.slice(1);\n }\n return tok;\n }).join('');\n return this._longDateFormat[key];\n }\n var defaultInvalidDate = 'Invalid date';\n function invalidDate() {\n return this._invalidDate;\n }\n var defaultOrdinal = '%d',\n defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n function ordinal(number) {\n return this._ordinal.replace('%d', number);\n }\n var defaultRelativeTime = {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n w: 'a week',\n ww: '%d weeks',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years'\n };\n function relativeTime(number, withoutSuffix, string, isFuture) {\n var output = this._relativeTime[string];\n return isFunction(output) ? output(number, withoutSuffix, string, isFuture) : output.replace(/%d/i, number);\n }\n function pastFuture(diff, output) {\n var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n }\n var aliases = {};\n function addUnitAlias(unit, shorthand) {\n var lowerCase = unit.toLowerCase();\n aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit;\n }\n function normalizeUnits(units) {\n return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined;\n }\n function normalizeObjectUnits(inputObject) {\n var normalizedInput = {},\n normalizedProp,\n prop;\n for (prop in inputObject) {\n if (hasOwnProp(inputObject, prop)) {\n normalizedProp = normalizeUnits(prop);\n if (normalizedProp) {\n normalizedInput[normalizedProp] = inputObject[prop];\n }\n }\n }\n return normalizedInput;\n }\n var priorities = {};\n function addUnitPriority(unit, priority) {\n priorities[unit] = priority;\n }\n function getPrioritizedUnits(unitsObj) {\n var units = [],\n u;\n for (u in unitsObj) {\n if (hasOwnProp(unitsObj, u)) {\n units.push({\n unit: u,\n priority: priorities[u]\n });\n }\n }\n units.sort(function (a, b) {\n return a.priority - b.priority;\n });\n return units;\n }\n function isLeapYear(year) {\n return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;\n }\n function absFloor(number) {\n if (number < 0) {\n // -0 -> 0\n return Math.ceil(number) || 0;\n } else {\n return Math.floor(number);\n }\n }\n function toInt(argumentForCoercion) {\n var coercedNumber = +argumentForCoercion,\n value = 0;\n if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n value = absFloor(coercedNumber);\n }\n return value;\n }\n function makeGetSet(unit, keepTime) {\n return function (value) {\n if (value != null) {\n set$1(this, unit, value);\n hooks.updateOffset(this, keepTime);\n return this;\n } else {\n return get(this, unit);\n }\n };\n }\n function get(mom, unit) {\n return mom.isValid() ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN;\n }\n function set$1(mom, unit, value) {\n if (mom.isValid() && !isNaN(value)) {\n if (unit === 'FullYear' && isLeapYear(mom.year()) && mom.month() === 1 && mom.date() === 29) {\n value = toInt(value);\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value, mom.month(), daysInMonth(value, mom.month()));\n } else {\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);\n }\n }\n }\n\n // MOMENTS\n\n function stringGet(units) {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units]();\n }\n return this;\n }\n function stringSet(units, value) {\n if (typeof units === 'object') {\n units = normalizeObjectUnits(units);\n var prioritized = getPrioritizedUnits(units),\n i,\n prioritizedLen = prioritized.length;\n for (i = 0; i < prioritizedLen; i++) {\n this[prioritized[i].unit](units[prioritized[i].unit]);\n }\n } else {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units](value);\n }\n }\n return this;\n }\n var match1 = /\\d/,\n // 0 - 9\n match2 = /\\d\\d/,\n // 00 - 99\n match3 = /\\d{3}/,\n // 000 - 999\n match4 = /\\d{4}/,\n // 0000 - 9999\n match6 = /[+-]?\\d{6}/,\n // -999999 - 999999\n match1to2 = /\\d\\d?/,\n // 0 - 99\n match3to4 = /\\d\\d\\d\\d?/,\n // 999 - 9999\n match5to6 = /\\d\\d\\d\\d\\d\\d?/,\n // 99999 - 999999\n match1to3 = /\\d{1,3}/,\n // 0 - 999\n match1to4 = /\\d{1,4}/,\n // 0 - 9999\n match1to6 = /[+-]?\\d{1,6}/,\n // -999999 - 999999\n matchUnsigned = /\\d+/,\n // 0 - inf\n matchSigned = /[+-]?\\d+/,\n // -inf - inf\n matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi,\n // +00:00 -00:00 +0000 -0000 or Z\n matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi,\n // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/,\n // 123456789 123456789.123\n // any word (or two) characters or numbers including two/three word month in arabic.\n // includes scottish gaelic two word and hyphenated months\n matchWord = /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,\n regexes;\n regexes = {};\n function addRegexToken(token, regex, strictRegex) {\n regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) {\n return isStrict && strictRegex ? strictRegex : regex;\n };\n }\n function getParseRegexForToken(token, config) {\n if (!hasOwnProp(regexes, token)) {\n return new RegExp(unescapeFormat(token));\n }\n return regexes[token](config._strict, config._locale);\n }\n\n // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\n function unescapeFormat(s) {\n return regexEscape(s.replace('\\\\', '').replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g, function (matched, p1, p2, p3, p4) {\n return p1 || p2 || p3 || p4;\n }));\n }\n function regexEscape(s) {\n return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n }\n var tokens = {};\n function addParseToken(token, callback) {\n var i,\n func = callback,\n tokenLen;\n if (typeof token === 'string') {\n token = [token];\n }\n if (isNumber(callback)) {\n func = function func(input, array) {\n array[callback] = toInt(input);\n };\n }\n tokenLen = token.length;\n for (i = 0; i < tokenLen; i++) {\n tokens[token[i]] = func;\n }\n }\n function addWeekParseToken(token, callback) {\n addParseToken(token, function (input, array, config, token) {\n config._w = config._w || {};\n callback(input, config._w, config, token);\n });\n }\n function addTimeToArrayFromToken(token, input, config) {\n if (input != null && hasOwnProp(tokens, token)) {\n tokens[token](input, config._a, config, token);\n }\n }\n var YEAR = 0,\n MONTH = 1,\n DATE = 2,\n HOUR = 3,\n MINUTE = 4,\n SECOND = 5,\n MILLISECOND = 6,\n WEEK = 7,\n WEEKDAY = 8;\n function mod(n, x) {\n return (n % x + x) % x;\n }\n var indexOf;\n if (Array.prototype.indexOf) {\n indexOf = Array.prototype.indexOf;\n } else {\n indexOf = function indexOf(o) {\n // I know\n var i;\n for (i = 0; i < this.length; ++i) {\n if (this[i] === o) {\n return i;\n }\n }\n return -1;\n };\n }\n function daysInMonth(year, month) {\n if (isNaN(year) || isNaN(month)) {\n return NaN;\n }\n var modMonth = mod(month, 12);\n year += (month - modMonth) / 12;\n return modMonth === 1 ? isLeapYear(year) ? 29 : 28 : 31 - modMonth % 7 % 2;\n }\n\n // FORMATTING\n\n addFormatToken('M', ['MM', 2], 'Mo', function () {\n return this.month() + 1;\n });\n addFormatToken('MMM', 0, 0, function (format) {\n return this.localeData().monthsShort(this, format);\n });\n addFormatToken('MMMM', 0, 0, function (format) {\n return this.localeData().months(this, format);\n });\n\n // ALIASES\n\n addUnitAlias('month', 'M');\n\n // PRIORITY\n\n addUnitPriority('month', 8);\n\n // PARSING\n\n addRegexToken('M', match1to2);\n addRegexToken('MM', match1to2, match2);\n addRegexToken('MMM', function (isStrict, locale) {\n return locale.monthsShortRegex(isStrict);\n });\n addRegexToken('MMMM', function (isStrict, locale) {\n return locale.monthsRegex(isStrict);\n });\n addParseToken(['M', 'MM'], function (input, array) {\n array[MONTH] = toInt(input) - 1;\n });\n addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n var month = config._locale.monthsParse(input, token, config._strict);\n // if we didn't find a month name, mark the date as invalid.\n if (month != null) {\n array[MONTH] = month;\n } else {\n getParsingFlags(config).invalidMonth = input;\n }\n });\n\n // LOCALES\n\n var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),\n defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,\n defaultMonthsShortRegex = matchWord,\n defaultMonthsRegex = matchWord;\n function localeMonths(m, format) {\n if (!m) {\n return isArray(this._months) ? this._months : this._months['standalone'];\n }\n return isArray(this._months) ? this._months[m.month()] : this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()];\n }\n function localeMonthsShort(m, format) {\n if (!m) {\n return isArray(this._monthsShort) ? this._monthsShort : this._monthsShort['standalone'];\n }\n return isArray(this._monthsShort) ? this._monthsShort[m.month()] : this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];\n }\n function handleStrictParse(monthName, format, strict) {\n var i,\n ii,\n mom,\n llc = monthName.toLocaleLowerCase();\n if (!this._monthsParse) {\n // this is not used\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n for (i = 0; i < 12; ++i) {\n mom = createUTC([2000, i]);\n this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase();\n this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n }\n }\n if (strict) {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n function localeMonthsParse(monthName, format, strict) {\n var i, mom, regex;\n if (this._monthsParseExact) {\n return handleStrictParse.call(this, monthName, format, strict);\n }\n if (!this._monthsParse) {\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n }\n\n // TODO: add sorting\n // Sorting makes sure if one month (or abbr) is a prefix of another\n // see sorting in computeMonthsParse\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n if (strict && !this._longMonthsParse[i]) {\n this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i');\n this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i');\n }\n if (!strict && !this._monthsParse[i]) {\n regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) {\n return i;\n } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) {\n return i;\n } else if (!strict && this._monthsParse[i].test(monthName)) {\n return i;\n }\n }\n }\n\n // MOMENTS\n\n function setMonth(mom, value) {\n var dayOfMonth;\n if (!mom.isValid()) {\n // No op\n return mom;\n }\n if (typeof value === 'string') {\n if (/^\\d+$/.test(value)) {\n value = toInt(value);\n } else {\n value = mom.localeData().monthsParse(value);\n // TODO: Another silent failure?\n if (!isNumber(value)) {\n return mom;\n }\n }\n }\n dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);\n return mom;\n }\n function getSetMonth(value) {\n if (value != null) {\n setMonth(this, value);\n hooks.updateOffset(this, true);\n return this;\n } else {\n return get(this, 'Month');\n }\n }\n function getDaysInMonth() {\n return daysInMonth(this.year(), this.month());\n }\n function monthsShortRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsShortStrictRegex;\n } else {\n return this._monthsShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsShortRegex')) {\n this._monthsShortRegex = defaultMonthsShortRegex;\n }\n return this._monthsShortStrictRegex && isStrict ? this._monthsShortStrictRegex : this._monthsShortRegex;\n }\n }\n function monthsRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsStrictRegex;\n } else {\n return this._monthsRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsRegex')) {\n this._monthsRegex = defaultMonthsRegex;\n }\n return this._monthsStrictRegex && isStrict ? this._monthsStrictRegex : this._monthsRegex;\n }\n }\n function computeMonthsParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n var shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom;\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n shortPieces.push(this.monthsShort(mom, ''));\n longPieces.push(this.months(mom, ''));\n mixedPieces.push(this.months(mom, ''));\n mixedPieces.push(this.monthsShort(mom, ''));\n }\n // Sorting makes sure if one month (or abbr) is a prefix of another it\n // will match the longer piece.\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n for (i = 0; i < 12; i++) {\n shortPieces[i] = regexEscape(shortPieces[i]);\n longPieces[i] = regexEscape(longPieces[i]);\n }\n for (i = 0; i < 24; i++) {\n mixedPieces[i] = regexEscape(mixedPieces[i]);\n }\n this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._monthsShortRegex = this._monthsRegex;\n this._monthsStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');\n this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');\n }\n\n // FORMATTING\n\n addFormatToken('Y', 0, 0, function () {\n var y = this.year();\n return y <= 9999 ? zeroFill(y, 4) : '+' + y;\n });\n addFormatToken(0, ['YY', 2], 0, function () {\n return this.year() % 100;\n });\n addFormatToken(0, ['YYYY', 4], 0, 'year');\n addFormatToken(0, ['YYYYY', 5], 0, 'year');\n addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');\n\n // ALIASES\n\n addUnitAlias('year', 'y');\n\n // PRIORITIES\n\n addUnitPriority('year', 1);\n\n // PARSING\n\n addRegexToken('Y', matchSigned);\n addRegexToken('YY', match1to2, match2);\n addRegexToken('YYYY', match1to4, match4);\n addRegexToken('YYYYY', match1to6, match6);\n addRegexToken('YYYYYY', match1to6, match6);\n addParseToken(['YYYYY', 'YYYYYY'], YEAR);\n addParseToken('YYYY', function (input, array) {\n array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n });\n addParseToken('YY', function (input, array) {\n array[YEAR] = hooks.parseTwoDigitYear(input);\n });\n addParseToken('Y', function (input, array) {\n array[YEAR] = parseInt(input, 10);\n });\n\n // HELPERS\n\n function daysInYear(year) {\n return isLeapYear(year) ? 366 : 365;\n }\n\n // HOOKS\n\n hooks.parseTwoDigitYear = function (input) {\n return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n };\n\n // MOMENTS\n\n var getSetYear = makeGetSet('FullYear', true);\n function getIsLeapYear() {\n return isLeapYear(this.year());\n }\n function createDate(y, m, d, h, M, s, ms) {\n // can't just apply() to create a date:\n // https://stackoverflow.com/q/181348\n var date;\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n date = new Date(y + 400, m, d, h, M, s, ms);\n if (isFinite(date.getFullYear())) {\n date.setFullYear(y);\n }\n } else {\n date = new Date(y, m, d, h, M, s, ms);\n }\n return date;\n }\n function createUTCDate(y) {\n var date, args;\n // the Date.UTC function remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n args = Array.prototype.slice.call(arguments);\n // preserve leap years using a full 400 year cycle, then reset\n args[0] = y + 400;\n date = new Date(Date.UTC.apply(null, args));\n if (isFinite(date.getUTCFullYear())) {\n date.setUTCFullYear(y);\n }\n } else {\n date = new Date(Date.UTC.apply(null, arguments));\n }\n return date;\n }\n\n // start-of-first-week - start-of-year\n function firstWeekOffset(year, dow, doy) {\n var\n // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n fwd = 7 + dow - doy,\n // first-week day local weekday -- which local weekday is fwd\n fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n return -fwdlw + fwd - 1;\n }\n\n // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\n function dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n var localWeekday = (7 + weekday - dow) % 7,\n weekOffset = firstWeekOffset(year, dow, doy),\n dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n resYear,\n resDayOfYear;\n if (dayOfYear <= 0) {\n resYear = year - 1;\n resDayOfYear = daysInYear(resYear) + dayOfYear;\n } else if (dayOfYear > daysInYear(year)) {\n resYear = year + 1;\n resDayOfYear = dayOfYear - daysInYear(year);\n } else {\n resYear = year;\n resDayOfYear = dayOfYear;\n }\n return {\n year: resYear,\n dayOfYear: resDayOfYear\n };\n }\n function weekOfYear(mom, dow, doy) {\n var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n resWeek,\n resYear;\n if (week < 1) {\n resYear = mom.year() - 1;\n resWeek = week + weeksInYear(resYear, dow, doy);\n } else if (week > weeksInYear(mom.year(), dow, doy)) {\n resWeek = week - weeksInYear(mom.year(), dow, doy);\n resYear = mom.year() + 1;\n } else {\n resYear = mom.year();\n resWeek = week;\n }\n return {\n week: resWeek,\n year: resYear\n };\n }\n function weeksInYear(year, dow, doy) {\n var weekOffset = firstWeekOffset(year, dow, doy),\n weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n }\n\n // FORMATTING\n\n addFormatToken('w', ['ww', 2], 'wo', 'week');\n addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');\n\n // ALIASES\n\n addUnitAlias('week', 'w');\n addUnitAlias('isoWeek', 'W');\n\n // PRIORITIES\n\n addUnitPriority('week', 5);\n addUnitPriority('isoWeek', 5);\n\n // PARSING\n\n addRegexToken('w', match1to2);\n addRegexToken('ww', match1to2, match2);\n addRegexToken('W', match1to2);\n addRegexToken('WW', match1to2, match2);\n addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) {\n week[token.substr(0, 1)] = toInt(input);\n });\n\n // HELPERS\n\n // LOCALES\n\n function localeWeek(mom) {\n return weekOfYear(mom, this._week.dow, this._week.doy).week;\n }\n var defaultLocaleWeek = {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n };\n\n function localeFirstDayOfWeek() {\n return this._week.dow;\n }\n function localeFirstDayOfYear() {\n return this._week.doy;\n }\n\n // MOMENTS\n\n function getSetWeek(input) {\n var week = this.localeData().week(this);\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n function getSetISOWeek(input) {\n var week = weekOfYear(this, 1, 4).week;\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n\n // FORMATTING\n\n addFormatToken('d', 0, 'do', 'day');\n addFormatToken('dd', 0, 0, function (format) {\n return this.localeData().weekdaysMin(this, format);\n });\n addFormatToken('ddd', 0, 0, function (format) {\n return this.localeData().weekdaysShort(this, format);\n });\n addFormatToken('dddd', 0, 0, function (format) {\n return this.localeData().weekdays(this, format);\n });\n addFormatToken('e', 0, 0, 'weekday');\n addFormatToken('E', 0, 0, 'isoWeekday');\n\n // ALIASES\n\n addUnitAlias('day', 'd');\n addUnitAlias('weekday', 'e');\n addUnitAlias('isoWeekday', 'E');\n\n // PRIORITY\n addUnitPriority('day', 11);\n addUnitPriority('weekday', 11);\n addUnitPriority('isoWeekday', 11);\n\n // PARSING\n\n addRegexToken('d', match1to2);\n addRegexToken('e', match1to2);\n addRegexToken('E', match1to2);\n addRegexToken('dd', function (isStrict, locale) {\n return locale.weekdaysMinRegex(isStrict);\n });\n addRegexToken('ddd', function (isStrict, locale) {\n return locale.weekdaysShortRegex(isStrict);\n });\n addRegexToken('dddd', function (isStrict, locale) {\n return locale.weekdaysRegex(isStrict);\n });\n addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n var weekday = config._locale.weekdaysParse(input, token, config._strict);\n // if we didn't get a weekday name, mark the date as invalid\n if (weekday != null) {\n week.d = weekday;\n } else {\n getParsingFlags(config).invalidWeekday = input;\n }\n });\n addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n week[token] = toInt(input);\n });\n\n // HELPERS\n\n function parseWeekday(input, locale) {\n if (typeof input !== 'string') {\n return input;\n }\n if (!isNaN(input)) {\n return parseInt(input, 10);\n }\n input = locale.weekdaysParse(input);\n if (typeof input === 'number') {\n return input;\n }\n return null;\n }\n function parseIsoWeekday(input, locale) {\n if (typeof input === 'string') {\n return locale.weekdaysParse(input) % 7 || 7;\n }\n return isNaN(input) ? null : input;\n }\n\n // LOCALES\n function shiftWeekdays(ws, n) {\n return ws.slice(n, 7).concat(ws.slice(0, n));\n }\n var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n defaultWeekdaysRegex = matchWord,\n defaultWeekdaysShortRegex = matchWord,\n defaultWeekdaysMinRegex = matchWord;\n function localeWeekdays(m, format) {\n var weekdays = isArray(this._weekdays) ? this._weekdays : this._weekdays[m && m !== true && this._weekdays.isFormat.test(format) ? 'format' : 'standalone'];\n return m === true ? shiftWeekdays(weekdays, this._week.dow) : m ? weekdays[m.day()] : weekdays;\n }\n function localeWeekdaysShort(m) {\n return m === true ? shiftWeekdays(this._weekdaysShort, this._week.dow) : m ? this._weekdaysShort[m.day()] : this._weekdaysShort;\n }\n function localeWeekdaysMin(m) {\n return m === true ? shiftWeekdays(this._weekdaysMin, this._week.dow) : m ? this._weekdaysMin[m.day()] : this._weekdaysMin;\n }\n function handleStrictParse$1(weekdayName, format, strict) {\n var i,\n ii,\n mom,\n llc = weekdayName.toLocaleLowerCase();\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._minWeekdaysParse = [];\n for (i = 0; i < 7; ++i) {\n mom = createUTC([2000, 1]).day(i);\n this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase();\n this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase();\n this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n }\n }\n if (strict) {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n function localeWeekdaysParse(weekdayName, format, strict) {\n var i, mom, regex;\n if (this._weekdaysParseExact) {\n return handleStrictParse$1.call(this, weekdayName, format, strict);\n }\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._minWeekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._fullWeekdaysParse = [];\n }\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n\n mom = createUTC([2000, 1]).day(i);\n if (strict && !this._fullWeekdaysParse[i]) {\n this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$', 'i');\n this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$', 'i');\n this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$', 'i');\n }\n if (!this._weekdaysParse[i]) {\n regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, '');\n this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n return i;\n }\n }\n }\n\n // MOMENTS\n\n function getSetDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();\n if (input != null) {\n input = parseWeekday(input, this.localeData());\n return this.add(input - day, 'd');\n } else {\n return day;\n }\n }\n function getSetLocaleDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n return input == null ? weekday : this.add(input - weekday, 'd');\n }\n function getSetISODayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n // behaves the same as moment#day except\n // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n // as a setter, sunday should belong to the previous week.\n\n if (input != null) {\n var weekday = parseIsoWeekday(input, this.localeData());\n return this.day(this.day() % 7 ? weekday : weekday - 7);\n } else {\n return this.day() || 7;\n }\n }\n function weekdaysRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysStrictRegex;\n } else {\n return this._weekdaysRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n this._weekdaysRegex = defaultWeekdaysRegex;\n }\n return this._weekdaysStrictRegex && isStrict ? this._weekdaysStrictRegex : this._weekdaysRegex;\n }\n }\n function weekdaysShortRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysShortStrictRegex;\n } else {\n return this._weekdaysShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n }\n return this._weekdaysShortStrictRegex && isStrict ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex;\n }\n }\n function weekdaysMinRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysMinStrictRegex;\n } else {\n return this._weekdaysMinRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n }\n return this._weekdaysMinStrictRegex && isStrict ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex;\n }\n }\n function computeWeekdaysParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n var minPieces = [],\n shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom,\n minp,\n shortp,\n longp;\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, 1]).day(i);\n minp = regexEscape(this.weekdaysMin(mom, ''));\n shortp = regexEscape(this.weekdaysShort(mom, ''));\n longp = regexEscape(this.weekdays(mom, ''));\n minPieces.push(minp);\n shortPieces.push(shortp);\n longPieces.push(longp);\n mixedPieces.push(minp);\n mixedPieces.push(shortp);\n mixedPieces.push(longp);\n }\n // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n // will match the longer piece.\n minPieces.sort(cmpLenRev);\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._weekdaysShortRegex = this._weekdaysRegex;\n this._weekdaysMinRegex = this._weekdaysRegex;\n this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');\n this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');\n this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i');\n }\n\n // FORMATTING\n\n function hFormat() {\n return this.hours() % 12 || 12;\n }\n function kFormat() {\n return this.hours() || 24;\n }\n addFormatToken('H', ['HH', 2], 0, 'hour');\n addFormatToken('h', ['hh', 2], 0, hFormat);\n addFormatToken('k', ['kk', 2], 0, kFormat);\n addFormatToken('hmm', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n });\n addFormatToken('hmmss', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);\n });\n addFormatToken('Hmm', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2);\n });\n addFormatToken('Hmmss', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);\n });\n function meridiem(token, lowercase) {\n addFormatToken(token, 0, 0, function () {\n return this.localeData().meridiem(this.hours(), this.minutes(), lowercase);\n });\n }\n meridiem('a', true);\n meridiem('A', false);\n\n // ALIASES\n\n addUnitAlias('hour', 'h');\n\n // PRIORITY\n addUnitPriority('hour', 13);\n\n // PARSING\n\n function matchMeridiem(isStrict, locale) {\n return locale._meridiemParse;\n }\n addRegexToken('a', matchMeridiem);\n addRegexToken('A', matchMeridiem);\n addRegexToken('H', match1to2);\n addRegexToken('h', match1to2);\n addRegexToken('k', match1to2);\n addRegexToken('HH', match1to2, match2);\n addRegexToken('hh', match1to2, match2);\n addRegexToken('kk', match1to2, match2);\n addRegexToken('hmm', match3to4);\n addRegexToken('hmmss', match5to6);\n addRegexToken('Hmm', match3to4);\n addRegexToken('Hmmss', match5to6);\n addParseToken(['H', 'HH'], HOUR);\n addParseToken(['k', 'kk'], function (input, array, config) {\n var kInput = toInt(input);\n array[HOUR] = kInput === 24 ? 0 : kInput;\n });\n addParseToken(['a', 'A'], function (input, array, config) {\n config._isPm = config._locale.isPM(input);\n config._meridiem = input;\n });\n addParseToken(['h', 'hh'], function (input, array, config) {\n array[HOUR] = toInt(input);\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('Hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n });\n addParseToken('Hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n });\n\n // LOCALES\n\n function localeIsPM(input) {\n // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n // Using charAt should be more compatible.\n return (input + '').toLowerCase().charAt(0) === 'p';\n }\n var defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i,\n // Setting the hour should keep the time, because the user explicitly\n // specified which hour they want. So trying to maintain the same hour (in\n // a new timezone) makes sense. Adding/subtracting hours does not follow\n // this rule.\n getSetHour = makeGetSet('Hours', true);\n function localeMeridiem(hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'pm' : 'PM';\n } else {\n return isLower ? 'am' : 'AM';\n }\n }\n var baseConfig = {\n calendar: defaultCalendar,\n longDateFormat: defaultLongDateFormat,\n invalidDate: defaultInvalidDate,\n ordinal: defaultOrdinal,\n dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n relativeTime: defaultRelativeTime,\n months: defaultLocaleMonths,\n monthsShort: defaultLocaleMonthsShort,\n week: defaultLocaleWeek,\n weekdays: defaultLocaleWeekdays,\n weekdaysMin: defaultLocaleWeekdaysMin,\n weekdaysShort: defaultLocaleWeekdaysShort,\n meridiemParse: defaultLocaleMeridiemParse\n };\n\n // internal storage for locale config files\n var locales = {},\n localeFamilies = {},\n globalLocale;\n function commonPrefix(arr1, arr2) {\n var i,\n minl = Math.min(arr1.length, arr2.length);\n for (i = 0; i < minl; i += 1) {\n if (arr1[i] !== arr2[i]) {\n return i;\n }\n }\n return minl;\n }\n function normalizeLocale(key) {\n return key ? key.toLowerCase().replace('_', '-') : key;\n }\n\n // pick the locale from the array\n // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\n function chooseLocale(names) {\n var i = 0,\n j,\n next,\n locale,\n split;\n while (i < names.length) {\n split = normalizeLocale(names[i]).split('-');\n j = split.length;\n next = normalizeLocale(names[i + 1]);\n next = next ? next.split('-') : null;\n while (j > 0) {\n locale = loadLocale(split.slice(0, j).join('-'));\n if (locale) {\n return locale;\n }\n if (next && next.length >= j && commonPrefix(split, next) >= j - 1) {\n //the next array item is better than a shallower substring of this one\n break;\n }\n j--;\n }\n i++;\n }\n return globalLocale;\n }\n function isLocaleNameSane(name) {\n // Prevent names that look like filesystem paths, i.e contain '/' or '\\'\n return name.match('^[^/\\\\\\\\]*$') != null;\n }\n function loadLocale(name) {\n var oldLocale = null,\n aliasedRequire;\n // TODO: Find a better way to register and load all the locales in Node\n if (locales[name] === undefined && typeof module !== 'undefined' && module && module.exports && isLocaleNameSane(name)) {\n try {\n oldLocale = globalLocale._abbr;\n aliasedRequire = require;\n aliasedRequire('./locale/' + name);\n getSetGlobalLocale(oldLocale);\n } catch (e) {\n // mark as not found to avoid repeating expensive file require call causing high CPU\n // when trying to find en-US, en_US, en-us for every format call\n locales[name] = null; // null means not found\n }\n }\n\n return locales[name];\n }\n\n // This function will load locale and then set the global locale. If\n // no arguments are passed in, it will simply return the current global\n // locale key.\n function getSetGlobalLocale(key, values) {\n var data;\n if (key) {\n if (isUndefined(values)) {\n data = getLocale(key);\n } else {\n data = defineLocale(key, values);\n }\n if (data) {\n // moment.duration._locale = moment._locale = data;\n globalLocale = data;\n } else {\n if (typeof console !== 'undefined' && console.warn) {\n //warn user if arguments are passed but the locale could not be set\n console.warn('Locale ' + key + ' not found. Did you forget to load it?');\n }\n }\n }\n return globalLocale._abbr;\n }\n function defineLocale(name, config) {\n if (config !== null) {\n var locale,\n parentConfig = baseConfig;\n config.abbr = name;\n if (locales[name] != null) {\n deprecateSimple('defineLocaleOverride', 'use moment.updateLocale(localeName, config) to change ' + 'an existing locale. moment.defineLocale(localeName, ' + 'config) should only be used for creating a new locale ' + 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.');\n parentConfig = locales[name]._config;\n } else if (config.parentLocale != null) {\n if (locales[config.parentLocale] != null) {\n parentConfig = locales[config.parentLocale]._config;\n } else {\n locale = loadLocale(config.parentLocale);\n if (locale != null) {\n parentConfig = locale._config;\n } else {\n if (!localeFamilies[config.parentLocale]) {\n localeFamilies[config.parentLocale] = [];\n }\n localeFamilies[config.parentLocale].push({\n name: name,\n config: config\n });\n return null;\n }\n }\n }\n locales[name] = new Locale(mergeConfigs(parentConfig, config));\n if (localeFamilies[name]) {\n localeFamilies[name].forEach(function (x) {\n defineLocale(x.name, x.config);\n });\n }\n\n // backwards compat for now: also set the locale\n // make sure we set the locale AFTER all child locales have been\n // created, so we won't end up with the child locale set.\n getSetGlobalLocale(name);\n return locales[name];\n } else {\n // useful for testing\n delete locales[name];\n return null;\n }\n }\n function updateLocale(name, config) {\n if (config != null) {\n var locale,\n tmpLocale,\n parentConfig = baseConfig;\n if (locales[name] != null && locales[name].parentLocale != null) {\n // Update existing child locale in-place to avoid memory-leaks\n locales[name].set(mergeConfigs(locales[name]._config, config));\n } else {\n // MERGE\n tmpLocale = loadLocale(name);\n if (tmpLocale != null) {\n parentConfig = tmpLocale._config;\n }\n config = mergeConfigs(parentConfig, config);\n if (tmpLocale == null) {\n // updateLocale is called for creating a new locale\n // Set abbr so it will have a name (getters return\n // undefined otherwise).\n config.abbr = name;\n }\n locale = new Locale(config);\n locale.parentLocale = locales[name];\n locales[name] = locale;\n }\n\n // backwards compat for now: also set the locale\n getSetGlobalLocale(name);\n } else {\n // pass null for config to unupdate, useful for tests\n if (locales[name] != null) {\n if (locales[name].parentLocale != null) {\n locales[name] = locales[name].parentLocale;\n if (name === getSetGlobalLocale()) {\n getSetGlobalLocale(name);\n }\n } else if (locales[name] != null) {\n delete locales[name];\n }\n }\n }\n return locales[name];\n }\n\n // returns locale data\n function getLocale(key) {\n var locale;\n if (key && key._locale && key._locale._abbr) {\n key = key._locale._abbr;\n }\n if (!key) {\n return globalLocale;\n }\n if (!isArray(key)) {\n //short-circuit everything else\n locale = loadLocale(key);\n if (locale) {\n return locale;\n }\n key = [key];\n }\n return chooseLocale(key);\n }\n function listLocales() {\n return keys(locales);\n }\n function checkOverflow(m) {\n var overflow,\n a = m._a;\n if (a && getParsingFlags(m).overflow === -2) {\n overflow = a[MONTH] < 0 || a[MONTH] > 11 ? MONTH : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE : a[HOUR] < 0 || a[HOUR] > 24 || a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0) ? HOUR : a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE : a[SECOND] < 0 || a[SECOND] > 59 ? SECOND : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND : -1;\n if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {\n overflow = DATE;\n }\n if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n overflow = WEEK;\n }\n if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n overflow = WEEKDAY;\n }\n getParsingFlags(m).overflow = overflow;\n }\n return m;\n }\n\n // iso 8601 regex\n // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\n var extendedIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n basicIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/,\n isoDates = [['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/], ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/], ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/], ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false], ['YYYY-DDD', /\\d{4}-\\d{3}/], ['YYYY-MM', /\\d{4}-\\d\\d/, false], ['YYYYYYMMDD', /[+-]\\d{10}/], ['YYYYMMDD', /\\d{8}/], ['GGGG[W]WWE', /\\d{4}W\\d{3}/], ['GGGG[W]WW', /\\d{4}W\\d{2}/, false], ['YYYYDDD', /\\d{7}/], ['YYYYMM', /\\d{6}/, false], ['YYYY', /\\d{4}/, false]],\n // iso time formats and regexes\n isoTimes = [['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/], ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/], ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/], ['HH:mm', /\\d\\d:\\d\\d/], ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/], ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/], ['HHmmss', /\\d\\d\\d\\d\\d\\d/], ['HHmm', /\\d\\d\\d\\d/], ['HH', /\\d\\d/]],\n aspNetJsonRegex = /^\\/?Date\\((-?\\d+)/i,\n // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,\n obsOffsets = {\n UT: 0,\n GMT: 0,\n EDT: -4 * 60,\n EST: -5 * 60,\n CDT: -5 * 60,\n CST: -6 * 60,\n MDT: -6 * 60,\n MST: -7 * 60,\n PDT: -7 * 60,\n PST: -8 * 60\n };\n\n // date from iso format\n function configFromISO(config) {\n var i,\n l,\n string = config._i,\n match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n allowTime,\n dateFormat,\n timeFormat,\n tzFormat,\n isoDatesLen = isoDates.length,\n isoTimesLen = isoTimes.length;\n if (match) {\n getParsingFlags(config).iso = true;\n for (i = 0, l = isoDatesLen; i < l; i++) {\n if (isoDates[i][1].exec(match[1])) {\n dateFormat = isoDates[i][0];\n allowTime = isoDates[i][2] !== false;\n break;\n }\n }\n if (dateFormat == null) {\n config._isValid = false;\n return;\n }\n if (match[3]) {\n for (i = 0, l = isoTimesLen; i < l; i++) {\n if (isoTimes[i][1].exec(match[3])) {\n // match[2] should be 'T' or space\n timeFormat = (match[2] || ' ') + isoTimes[i][0];\n break;\n }\n }\n if (timeFormat == null) {\n config._isValid = false;\n return;\n }\n }\n if (!allowTime && timeFormat != null) {\n config._isValid = false;\n return;\n }\n if (match[4]) {\n if (tzRegex.exec(match[4])) {\n tzFormat = 'Z';\n } else {\n config._isValid = false;\n return;\n }\n }\n config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n configFromStringAndFormat(config);\n } else {\n config._isValid = false;\n }\n }\n function extractFromRFC2822Strings(yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr) {\n var result = [untruncateYear(yearStr), defaultLocaleMonthsShort.indexOf(monthStr), parseInt(dayStr, 10), parseInt(hourStr, 10), parseInt(minuteStr, 10)];\n if (secondStr) {\n result.push(parseInt(secondStr, 10));\n }\n return result;\n }\n function untruncateYear(yearStr) {\n var year = parseInt(yearStr, 10);\n if (year <= 49) {\n return 2000 + year;\n } else if (year <= 999) {\n return 1900 + year;\n }\n return year;\n }\n function preprocessRFC2822(s) {\n // Remove comments and folding whitespace and replace multiple-spaces with a single space\n return s.replace(/\\([^()]*\\)|[\\n\\t]/g, ' ').replace(/(\\s\\s+)/g, ' ').replace(/^\\s\\s*/, '').replace(/\\s\\s*$/, '');\n }\n function checkWeekday(weekdayStr, parsedInput, config) {\n if (weekdayStr) {\n // TODO: Replace the vanilla JS Date object with an independent day-of-week check.\n var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n weekdayActual = new Date(parsedInput[0], parsedInput[1], parsedInput[2]).getDay();\n if (weekdayProvided !== weekdayActual) {\n getParsingFlags(config).weekdayMismatch = true;\n config._isValid = false;\n return false;\n }\n }\n return true;\n }\n function calculateOffset(obsOffset, militaryOffset, numOffset) {\n if (obsOffset) {\n return obsOffsets[obsOffset];\n } else if (militaryOffset) {\n // the only allowed military tz is Z\n return 0;\n } else {\n var hm = parseInt(numOffset, 10),\n m = hm % 100,\n h = (hm - m) / 100;\n return h * 60 + m;\n }\n }\n\n // date and time from ref 2822 format\n function configFromRFC2822(config) {\n var match = rfc2822.exec(preprocessRFC2822(config._i)),\n parsedArray;\n if (match) {\n parsedArray = extractFromRFC2822Strings(match[4], match[3], match[2], match[5], match[6], match[7]);\n if (!checkWeekday(match[1], parsedArray, config)) {\n return;\n }\n config._a = parsedArray;\n config._tzm = calculateOffset(match[8], match[9], match[10]);\n config._d = createUTCDate.apply(null, config._a);\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n getParsingFlags(config).rfc2822 = true;\n } else {\n config._isValid = false;\n }\n }\n\n // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict\n function configFromString(config) {\n var matched = aspNetJsonRegex.exec(config._i);\n if (matched !== null) {\n config._d = new Date(+matched[1]);\n return;\n }\n configFromISO(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n configFromRFC2822(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n if (config._strict) {\n config._isValid = false;\n } else {\n // Final attempt, use Input Fallback\n hooks.createFromInputFallback(config);\n }\n }\n hooks.createFromInputFallback = deprecate('value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', function (config) {\n config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n });\n\n // Pick the first defined of two or three arguments.\n function defaults(a, b, c) {\n if (a != null) {\n return a;\n }\n if (b != null) {\n return b;\n }\n return c;\n }\n function currentDateArray(config) {\n // hooks is actually the exported moment object\n var nowValue = new Date(hooks.now());\n if (config._useUTC) {\n return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()];\n }\n return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n }\n\n // convert an array to a date.\n // the array should mirror the parameters below\n // note: all values past the year are optional and will default to the lowest possible value.\n // [year, month, day , hour, minute, second, millisecond]\n function configFromArray(config) {\n var i,\n date,\n input = [],\n currentDate,\n expectedWeekday,\n yearToUse;\n if (config._d) {\n return;\n }\n currentDate = currentDateArray(config);\n\n //compute day of the year from weeks and weekdays\n if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n dayOfYearFromWeekInfo(config);\n }\n\n //if the day of the year is set, figure out what it is\n if (config._dayOfYear != null) {\n yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) {\n getParsingFlags(config)._overflowDayOfYear = true;\n }\n date = createUTCDate(yearToUse, 0, config._dayOfYear);\n config._a[MONTH] = date.getUTCMonth();\n config._a[DATE] = date.getUTCDate();\n }\n\n // Default to current date.\n // * if no year, month, day of month are given, default to today\n // * if day of month is given, default month and year\n // * if month is given, default only year\n // * if year is given, don't default anything\n for (i = 0; i < 3 && config._a[i] == null; ++i) {\n config._a[i] = input[i] = currentDate[i];\n }\n\n // Zero out whatever was not defaulted, including time\n for (; i < 7; i++) {\n config._a[i] = input[i] = config._a[i] == null ? i === 2 ? 1 : 0 : config._a[i];\n }\n\n // Check for 24:00:00.000\n if (config._a[HOUR] === 24 && config._a[MINUTE] === 0 && config._a[SECOND] === 0 && config._a[MILLISECOND] === 0) {\n config._nextDay = true;\n config._a[HOUR] = 0;\n }\n config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input);\n expectedWeekday = config._useUTC ? config._d.getUTCDay() : config._d.getDay();\n\n // Apply timezone offset from input. The actual utcOffset can be changed\n // with parseZone.\n if (config._tzm != null) {\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n }\n if (config._nextDay) {\n config._a[HOUR] = 24;\n }\n\n // check for mismatching day of week\n if (config._w && typeof config._w.d !== 'undefined' && config._w.d !== expectedWeekday) {\n getParsingFlags(config).weekdayMismatch = true;\n }\n }\n function dayOfYearFromWeekInfo(config) {\n var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;\n w = config._w;\n if (w.GG != null || w.W != null || w.E != null) {\n dow = 1;\n doy = 4;\n\n // TODO: We need to take the current isoWeekYear, but that depends on\n // how we interpret now (local, utc, fixed offset). So create\n // a now version of current config (take local/utc/offset flags, and\n // create now).\n weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(createLocal(), 1, 4).year);\n week = defaults(w.W, 1);\n weekday = defaults(w.E, 1);\n if (weekday < 1 || weekday > 7) {\n weekdayOverflow = true;\n }\n } else {\n dow = config._locale._week.dow;\n doy = config._locale._week.doy;\n curWeek = weekOfYear(createLocal(), dow, doy);\n weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);\n\n // Default to current week.\n week = defaults(w.w, curWeek.week);\n if (w.d != null) {\n // weekday -- low day numbers are considered next week\n weekday = w.d;\n if (weekday < 0 || weekday > 6) {\n weekdayOverflow = true;\n }\n } else if (w.e != null) {\n // local weekday -- counting starts from beginning of week\n weekday = w.e + dow;\n if (w.e < 0 || w.e > 6) {\n weekdayOverflow = true;\n }\n } else {\n // default to beginning of week\n weekday = dow;\n }\n }\n if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n getParsingFlags(config)._overflowWeeks = true;\n } else if (weekdayOverflow != null) {\n getParsingFlags(config)._overflowWeekday = true;\n } else {\n temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n config._a[YEAR] = temp.year;\n config._dayOfYear = temp.dayOfYear;\n }\n }\n\n // constant that refers to the ISO standard\n hooks.ISO_8601 = function () {};\n\n // constant that refers to the RFC 2822 form\n hooks.RFC_2822 = function () {};\n\n // date from string and format string\n function configFromStringAndFormat(config) {\n // TODO: Move this to another part of the creation flow to prevent circular deps\n if (config._f === hooks.ISO_8601) {\n configFromISO(config);\n return;\n }\n if (config._f === hooks.RFC_2822) {\n configFromRFC2822(config);\n return;\n }\n config._a = [];\n getParsingFlags(config).empty = true;\n\n // This array is used to make a Date, either with `new Date` or `Date.UTC`\n var string = '' + config._i,\n i,\n parsedInput,\n tokens,\n token,\n skipped,\n stringLength = string.length,\n totalParsedInputLength = 0,\n era,\n tokenLen;\n tokens = expandFormat(config._f, config._locale).match(formattingTokens) || [];\n tokenLen = tokens.length;\n for (i = 0; i < tokenLen; i++) {\n token = tokens[i];\n parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0];\n if (parsedInput) {\n skipped = string.substr(0, string.indexOf(parsedInput));\n if (skipped.length > 0) {\n getParsingFlags(config).unusedInput.push(skipped);\n }\n string = string.slice(string.indexOf(parsedInput) + parsedInput.length);\n totalParsedInputLength += parsedInput.length;\n }\n // don't parse if it's not a known token\n if (formatTokenFunctions[token]) {\n if (parsedInput) {\n getParsingFlags(config).empty = false;\n } else {\n getParsingFlags(config).unusedTokens.push(token);\n }\n addTimeToArrayFromToken(token, parsedInput, config);\n } else if (config._strict && !parsedInput) {\n getParsingFlags(config).unusedTokens.push(token);\n }\n }\n\n // add remaining unparsed input length to the string\n getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength;\n if (string.length > 0) {\n getParsingFlags(config).unusedInput.push(string);\n }\n\n // clear _12h flag if hour is <= 12\n if (config._a[HOUR] <= 12 && getParsingFlags(config).bigHour === true && config._a[HOUR] > 0) {\n getParsingFlags(config).bigHour = undefined;\n }\n getParsingFlags(config).parsedDateParts = config._a.slice(0);\n getParsingFlags(config).meridiem = config._meridiem;\n // handle meridiem\n config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem);\n\n // handle era\n era = getParsingFlags(config).era;\n if (era !== null) {\n config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);\n }\n configFromArray(config);\n checkOverflow(config);\n }\n function meridiemFixWrap(locale, hour, meridiem) {\n var isPm;\n if (meridiem == null) {\n // nothing to do\n return hour;\n }\n if (locale.meridiemHour != null) {\n return locale.meridiemHour(hour, meridiem);\n } else if (locale.isPM != null) {\n // Fallback\n isPm = locale.isPM(meridiem);\n if (isPm && hour < 12) {\n hour += 12;\n }\n if (!isPm && hour === 12) {\n hour = 0;\n }\n return hour;\n } else {\n // this is not supposed to happen\n return hour;\n }\n }\n\n // date from string and array of format strings\n function configFromStringAndArray(config) {\n var tempConfig,\n bestMoment,\n scoreToBeat,\n i,\n currentScore,\n validFormatFound,\n bestFormatIsValid = false,\n configfLen = config._f.length;\n if (configfLen === 0) {\n getParsingFlags(config).invalidFormat = true;\n config._d = new Date(NaN);\n return;\n }\n for (i = 0; i < configfLen; i++) {\n currentScore = 0;\n validFormatFound = false;\n tempConfig = copyConfig({}, config);\n if (config._useUTC != null) {\n tempConfig._useUTC = config._useUTC;\n }\n tempConfig._f = config._f[i];\n configFromStringAndFormat(tempConfig);\n if (isValid(tempConfig)) {\n validFormatFound = true;\n }\n\n // if there is any input that was not parsed add a penalty for that format\n currentScore += getParsingFlags(tempConfig).charsLeftOver;\n\n //or tokens\n currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n getParsingFlags(tempConfig).score = currentScore;\n if (!bestFormatIsValid) {\n if (scoreToBeat == null || currentScore < scoreToBeat || validFormatFound) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n if (validFormatFound) {\n bestFormatIsValid = true;\n }\n }\n } else {\n if (currentScore < scoreToBeat) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n }\n }\n }\n extend(config, bestMoment || tempConfig);\n }\n function configFromObject(config) {\n if (config._d) {\n return;\n }\n var i = normalizeObjectUnits(config._i),\n dayOrDate = i.day === undefined ? i.date : i.day;\n config._a = map([i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond], function (obj) {\n return obj && parseInt(obj, 10);\n });\n configFromArray(config);\n }\n function createFromConfig(config) {\n var res = new Moment(checkOverflow(prepareConfig(config)));\n if (res._nextDay) {\n // Adding is smart enough around DST\n res.add(1, 'd');\n res._nextDay = undefined;\n }\n return res;\n }\n function prepareConfig(config) {\n var input = config._i,\n format = config._f;\n config._locale = config._locale || getLocale(config._l);\n if (input === null || format === undefined && input === '') {\n return createInvalid({\n nullInput: true\n });\n }\n if (typeof input === 'string') {\n config._i = input = config._locale.preparse(input);\n }\n if (isMoment(input)) {\n return new Moment(checkOverflow(input));\n } else if (isDate(input)) {\n config._d = input;\n } else if (isArray(format)) {\n configFromStringAndArray(config);\n } else if (format) {\n configFromStringAndFormat(config);\n } else {\n configFromInput(config);\n }\n if (!isValid(config)) {\n config._d = null;\n }\n return config;\n }\n function configFromInput(config) {\n var input = config._i;\n if (isUndefined(input)) {\n config._d = new Date(hooks.now());\n } else if (isDate(input)) {\n config._d = new Date(input.valueOf());\n } else if (typeof input === 'string') {\n configFromString(config);\n } else if (isArray(input)) {\n config._a = map(input.slice(0), function (obj) {\n return parseInt(obj, 10);\n });\n configFromArray(config);\n } else if (isObject(input)) {\n configFromObject(config);\n } else if (isNumber(input)) {\n // from milliseconds\n config._d = new Date(input);\n } else {\n hooks.createFromInputFallback(config);\n }\n }\n function createLocalOrUTC(input, format, locale, strict, isUTC) {\n var c = {};\n if (format === true || format === false) {\n strict = format;\n format = undefined;\n }\n if (locale === true || locale === false) {\n strict = locale;\n locale = undefined;\n }\n if (isObject(input) && isObjectEmpty(input) || isArray(input) && input.length === 0) {\n input = undefined;\n }\n // object construction must be done this way.\n // https://github.com/moment/moment/issues/1423\n c._isAMomentObject = true;\n c._useUTC = c._isUTC = isUTC;\n c._l = locale;\n c._i = input;\n c._f = format;\n c._strict = strict;\n return createFromConfig(c);\n }\n function createLocal(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, false);\n }\n var prototypeMin = deprecate('moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other < this ? this : other;\n } else {\n return createInvalid();\n }\n }),\n prototypeMax = deprecate('moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other > this ? this : other;\n } else {\n return createInvalid();\n }\n });\n\n // Pick a moment m from moments so that m[fn](other) is true for all\n // other. This relies on the function fn to be transitive.\n //\n // moments should either be an array of moment objects or an array, whose\n // first element is an array of moment objects.\n function pickBy(fn, moments) {\n var res, i;\n if (moments.length === 1 && isArray(moments[0])) {\n moments = moments[0];\n }\n if (!moments.length) {\n return createLocal();\n }\n res = moments[0];\n for (i = 1; i < moments.length; ++i) {\n if (!moments[i].isValid() || moments[i][fn](res)) {\n res = moments[i];\n }\n }\n return res;\n }\n\n // TODO: Use [].sort instead?\n function min() {\n var args = [].slice.call(arguments, 0);\n return pickBy('isBefore', args);\n }\n function max() {\n var args = [].slice.call(arguments, 0);\n return pickBy('isAfter', args);\n }\n var now = function now() {\n return Date.now ? Date.now() : +new Date();\n };\n var ordering = ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond'];\n function isDurationValid(m) {\n var key,\n unitHasDecimal = false,\n i,\n orderLen = ordering.length;\n for (key in m) {\n if (hasOwnProp(m, key) && !(indexOf.call(ordering, key) !== -1 && (m[key] == null || !isNaN(m[key])))) {\n return false;\n }\n }\n for (i = 0; i < orderLen; ++i) {\n if (m[ordering[i]]) {\n if (unitHasDecimal) {\n return false; // only allow non-integers for smallest unit\n }\n\n if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n unitHasDecimal = true;\n }\n }\n }\n return true;\n }\n function isValid$1() {\n return this._isValid;\n }\n function createInvalid$1() {\n return createDuration(NaN);\n }\n function Duration(duration) {\n var normalizedInput = normalizeObjectUnits(duration),\n years = normalizedInput.year || 0,\n quarters = normalizedInput.quarter || 0,\n months = normalizedInput.month || 0,\n weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n days = normalizedInput.day || 0,\n hours = normalizedInput.hour || 0,\n minutes = normalizedInput.minute || 0,\n seconds = normalizedInput.second || 0,\n milliseconds = normalizedInput.millisecond || 0;\n this._isValid = isDurationValid(normalizedInput);\n\n // representation for dateAddRemove\n this._milliseconds = +milliseconds + seconds * 1e3 +\n // 1000\n minutes * 6e4 +\n // 1000 * 60\n hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n // Because of dateAddRemove treats 24 hours as different from a\n // day when working around DST, we need to store them separately\n this._days = +days + weeks * 7;\n // It is impossible to translate months into days without knowing\n // which months you are are talking about, so we have to store\n // it separately.\n this._months = +months + quarters * 3 + years * 12;\n this._data = {};\n this._locale = getLocale();\n this._bubble();\n }\n function isDuration(obj) {\n return obj instanceof Duration;\n }\n function absRound(number) {\n if (number < 0) {\n return Math.round(-1 * number) * -1;\n } else {\n return Math.round(number);\n }\n }\n\n // compare two arrays, return the number of differences\n function compareArrays(array1, array2, dontConvert) {\n var len = Math.min(array1.length, array2.length),\n lengthDiff = Math.abs(array1.length - array2.length),\n diffs = 0,\n i;\n for (i = 0; i < len; i++) {\n if (dontConvert && array1[i] !== array2[i] || !dontConvert && toInt(array1[i]) !== toInt(array2[i])) {\n diffs++;\n }\n }\n return diffs + lengthDiff;\n }\n\n // FORMATTING\n\n function offset(token, separator) {\n addFormatToken(token, 0, 0, function () {\n var offset = this.utcOffset(),\n sign = '+';\n if (offset < 0) {\n offset = -offset;\n sign = '-';\n }\n return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~offset % 60, 2);\n });\n }\n offset('Z', ':');\n offset('ZZ', '');\n\n // PARSING\n\n addRegexToken('Z', matchShortOffset);\n addRegexToken('ZZ', matchShortOffset);\n addParseToken(['Z', 'ZZ'], function (input, array, config) {\n config._useUTC = true;\n config._tzm = offsetFromString(matchShortOffset, input);\n });\n\n // HELPERS\n\n // timezone chunker\n // '+10:00' > ['10', '00']\n // '-1530' > ['-15', '30']\n var chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n function offsetFromString(matcher, string) {\n var matches = (string || '').match(matcher),\n chunk,\n parts,\n minutes;\n if (matches === null) {\n return null;\n }\n chunk = matches[matches.length - 1] || [];\n parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n minutes = +(parts[1] * 60) + toInt(parts[2]);\n return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n }\n\n // Return a moment from input, that is local/utc/zone equivalent to model.\n function cloneWithOffset(input, model) {\n var res, diff;\n if (model._isUTC) {\n res = model.clone();\n diff = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf();\n // Use low-level api, because this fn is low-level api.\n res._d.setTime(res._d.valueOf() + diff);\n hooks.updateOffset(res, false);\n return res;\n } else {\n return createLocal(input).local();\n }\n }\n function getDateOffset(m) {\n // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n // https://github.com/moment/moment/pull/1871\n return -Math.round(m._d.getTimezoneOffset());\n }\n\n // HOOKS\n\n // This function will be called whenever a moment is mutated.\n // It is intended to keep the offset in sync with the timezone.\n hooks.updateOffset = function () {};\n\n // MOMENTS\n\n // keepLocalTime = true means only change the timezone, without\n // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n // +0200, so we adjust the time as needed, to be valid.\n //\n // Keeping the time actually adds/subtracts (one hour)\n // from the actual represented time. That is why we call updateOffset\n // a second time. In case it wants us to change the offset again\n // _changeInProgress == true case, then we have to adjust, because\n // there is no such time in the given timezone.\n function getSetOffset(input, keepLocalTime, keepMinutes) {\n var offset = this._offset || 0,\n localAdjust;\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n if (input != null) {\n if (typeof input === 'string') {\n input = offsetFromString(matchShortOffset, input);\n if (input === null) {\n return this;\n }\n } else if (Math.abs(input) < 16 && !keepMinutes) {\n input = input * 60;\n }\n if (!this._isUTC && keepLocalTime) {\n localAdjust = getDateOffset(this);\n }\n this._offset = input;\n this._isUTC = true;\n if (localAdjust != null) {\n this.add(localAdjust, 'm');\n }\n if (offset !== input) {\n if (!keepLocalTime || this._changeInProgress) {\n addSubtract(this, createDuration(input - offset, 'm'), 1, false);\n } else if (!this._changeInProgress) {\n this._changeInProgress = true;\n hooks.updateOffset(this, true);\n this._changeInProgress = null;\n }\n }\n return this;\n } else {\n return this._isUTC ? offset : getDateOffset(this);\n }\n }\n function getSetZone(input, keepLocalTime) {\n if (input != null) {\n if (typeof input !== 'string') {\n input = -input;\n }\n this.utcOffset(input, keepLocalTime);\n return this;\n } else {\n return -this.utcOffset();\n }\n }\n function setOffsetToUTC(keepLocalTime) {\n return this.utcOffset(0, keepLocalTime);\n }\n function setOffsetToLocal(keepLocalTime) {\n if (this._isUTC) {\n this.utcOffset(0, keepLocalTime);\n this._isUTC = false;\n if (keepLocalTime) {\n this.subtract(getDateOffset(this), 'm');\n }\n }\n return this;\n }\n function setOffsetToParsedOffset() {\n if (this._tzm != null) {\n this.utcOffset(this._tzm, false, true);\n } else if (typeof this._i === 'string') {\n var tZone = offsetFromString(matchOffset, this._i);\n if (tZone != null) {\n this.utcOffset(tZone);\n } else {\n this.utcOffset(0, true);\n }\n }\n return this;\n }\n function hasAlignedHourOffset(input) {\n if (!this.isValid()) {\n return false;\n }\n input = input ? createLocal(input).utcOffset() : 0;\n return (this.utcOffset() - input) % 60 === 0;\n }\n function isDaylightSavingTime() {\n return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();\n }\n function isDaylightSavingTimeShifted() {\n if (!isUndefined(this._isDSTShifted)) {\n return this._isDSTShifted;\n }\n var c = {},\n other;\n copyConfig(c, this);\n c = prepareConfig(c);\n if (c._a) {\n other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n this._isDSTShifted = this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n } else {\n this._isDSTShifted = false;\n }\n return this._isDSTShifted;\n }\n function isLocal() {\n return this.isValid() ? !this._isUTC : false;\n }\n function isUtcOffset() {\n return this.isValid() ? this._isUTC : false;\n }\n function isUtc() {\n return this.isValid() ? this._isUTC && this._offset === 0 : false;\n }\n\n // ASP.NET json date format regex\n var aspNetRegex = /^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,\n // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n // and further modified to allow for strings containing both week and day\n isoRegex = /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n function createDuration(input, key) {\n var duration = input,\n // matching against regexp is expensive, do it on demand\n match = null,\n sign,\n ret,\n diffRes;\n if (isDuration(input)) {\n duration = {\n ms: input._milliseconds,\n d: input._days,\n M: input._months\n };\n } else if (isNumber(input) || !isNaN(+input)) {\n duration = {};\n if (key) {\n duration[key] = +input;\n } else {\n duration.milliseconds = +input;\n }\n } else if (match = aspNetRegex.exec(input)) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: 0,\n d: toInt(match[DATE]) * sign,\n h: toInt(match[HOUR]) * sign,\n m: toInt(match[MINUTE]) * sign,\n s: toInt(match[SECOND]) * sign,\n ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match\n };\n } else if (match = isoRegex.exec(input)) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: parseIso(match[2], sign),\n M: parseIso(match[3], sign),\n w: parseIso(match[4], sign),\n d: parseIso(match[5], sign),\n h: parseIso(match[6], sign),\n m: parseIso(match[7], sign),\n s: parseIso(match[8], sign)\n };\n } else if (duration == null) {\n // checks for null or undefined\n duration = {};\n } else if (typeof duration === 'object' && ('from' in duration || 'to' in duration)) {\n diffRes = momentsDifference(createLocal(duration.from), createLocal(duration.to));\n duration = {};\n duration.ms = diffRes.milliseconds;\n duration.M = diffRes.months;\n }\n ret = new Duration(duration);\n if (isDuration(input) && hasOwnProp(input, '_locale')) {\n ret._locale = input._locale;\n }\n if (isDuration(input) && hasOwnProp(input, '_isValid')) {\n ret._isValid = input._isValid;\n }\n return ret;\n }\n createDuration.fn = Duration.prototype;\n createDuration.invalid = createInvalid$1;\n function parseIso(inp, sign) {\n // We'd normally use ~~inp for this, but unfortunately it also\n // converts floats to ints.\n // inp may be undefined, so careful calling replace on it.\n var res = inp && parseFloat(inp.replace(',', '.'));\n // apply sign while we're at it\n return (isNaN(res) ? 0 : res) * sign;\n }\n function positiveMomentsDifference(base, other) {\n var res = {};\n res.months = other.month() - base.month() + (other.year() - base.year()) * 12;\n if (base.clone().add(res.months, 'M').isAfter(other)) {\n --res.months;\n }\n res.milliseconds = +other - +base.clone().add(res.months, 'M');\n return res;\n }\n function momentsDifference(base, other) {\n var res;\n if (!(base.isValid() && other.isValid())) {\n return {\n milliseconds: 0,\n months: 0\n };\n }\n other = cloneWithOffset(other, base);\n if (base.isBefore(other)) {\n res = positiveMomentsDifference(base, other);\n } else {\n res = positiveMomentsDifference(other, base);\n res.milliseconds = -res.milliseconds;\n res.months = -res.months;\n }\n return res;\n }\n\n // TODO: remove 'name' arg after deprecation is removed\n function createAdder(direction, name) {\n return function (val, period) {\n var dur, tmp;\n //invert the arguments, but complain about it\n if (period !== null && !isNaN(+period)) {\n deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' + 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.');\n tmp = val;\n val = period;\n period = tmp;\n }\n dur = createDuration(val, period);\n addSubtract(this, dur, direction);\n return this;\n };\n }\n function addSubtract(mom, duration, isAdding, updateOffset) {\n var milliseconds = duration._milliseconds,\n days = absRound(duration._days),\n months = absRound(duration._months);\n if (!mom.isValid()) {\n // No op\n return;\n }\n updateOffset = updateOffset == null ? true : updateOffset;\n if (months) {\n setMonth(mom, get(mom, 'Month') + months * isAdding);\n }\n if (days) {\n set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n }\n if (milliseconds) {\n mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n }\n if (updateOffset) {\n hooks.updateOffset(mom, days || months);\n }\n }\n var add = createAdder(1, 'add'),\n subtract = createAdder(-1, 'subtract');\n function isString(input) {\n return typeof input === 'string' || input instanceof String;\n }\n\n // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined\n function isMomentInput(input) {\n return isMoment(input) || isDate(input) || isString(input) || isNumber(input) || isNumberOrStringArray(input) || isMomentInputObject(input) || input === null || input === undefined;\n }\n function isMomentInputObject(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = ['years', 'year', 'y', 'months', 'month', 'M', 'days', 'day', 'd', 'dates', 'date', 'D', 'hours', 'hour', 'h', 'minutes', 'minute', 'm', 'seconds', 'second', 's', 'milliseconds', 'millisecond', 'ms'],\n i,\n property,\n propertyLen = properties.length;\n for (i = 0; i < propertyLen; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n return objectTest && propertyTest;\n }\n function isNumberOrStringArray(input) {\n var arrayTest = isArray(input),\n dataTypeTest = false;\n if (arrayTest) {\n dataTypeTest = input.filter(function (item) {\n return !isNumber(item) && isString(input);\n }).length === 0;\n }\n return arrayTest && dataTypeTest;\n }\n function isCalendarSpec(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = ['sameDay', 'nextDay', 'lastDay', 'nextWeek', 'lastWeek', 'sameElse'],\n i,\n property;\n for (i = 0; i < properties.length; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n return objectTest && propertyTest;\n }\n function getCalendarFormat(myMoment, now) {\n var diff = myMoment.diff(now, 'days', true);\n return diff < -6 ? 'sameElse' : diff < -1 ? 'lastWeek' : diff < 0 ? 'lastDay' : diff < 1 ? 'sameDay' : diff < 2 ? 'nextDay' : diff < 7 ? 'nextWeek' : 'sameElse';\n }\n function calendar$1(time, formats) {\n // Support for single parameter, formats only overload to the calendar function\n if (arguments.length === 1) {\n if (!arguments[0]) {\n time = undefined;\n formats = undefined;\n } else if (isMomentInput(arguments[0])) {\n time = arguments[0];\n formats = undefined;\n } else if (isCalendarSpec(arguments[0])) {\n formats = arguments[0];\n time = undefined;\n }\n }\n // We want to compare the start of today, vs this.\n // Getting start-of-today depends on whether we're local/utc/offset or not.\n var now = time || createLocal(),\n sod = cloneWithOffset(now, this).startOf('day'),\n format = hooks.calendarFormat(this, sod) || 'sameElse',\n output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]);\n return this.format(output || this.localeData().calendar(format, this, createLocal(now)));\n }\n function clone() {\n return new Moment(this);\n }\n function isAfter(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() > localInput.valueOf();\n } else {\n return localInput.valueOf() < this.clone().startOf(units).valueOf();\n }\n }\n function isBefore(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() < localInput.valueOf();\n } else {\n return this.clone().endOf(units).valueOf() < localInput.valueOf();\n }\n }\n function isBetween(from, to, units, inclusivity) {\n var localFrom = isMoment(from) ? from : createLocal(from),\n localTo = isMoment(to) ? to : createLocal(to);\n if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n return false;\n }\n inclusivity = inclusivity || '()';\n return (inclusivity[0] === '(' ? this.isAfter(localFrom, units) : !this.isBefore(localFrom, units)) && (inclusivity[1] === ')' ? this.isBefore(localTo, units) : !this.isAfter(localTo, units));\n }\n function isSame(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input),\n inputMs;\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() === localInput.valueOf();\n } else {\n inputMs = localInput.valueOf();\n return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf();\n }\n }\n function isSameOrAfter(input, units) {\n return this.isSame(input, units) || this.isAfter(input, units);\n }\n function isSameOrBefore(input, units) {\n return this.isSame(input, units) || this.isBefore(input, units);\n }\n function diff(input, units, asFloat) {\n var that, zoneDelta, output;\n if (!this.isValid()) {\n return NaN;\n }\n that = cloneWithOffset(input, this);\n if (!that.isValid()) {\n return NaN;\n }\n zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n units = normalizeUnits(units);\n switch (units) {\n case 'year':\n output = monthDiff(this, that) / 12;\n break;\n case 'month':\n output = monthDiff(this, that);\n break;\n case 'quarter':\n output = monthDiff(this, that) / 3;\n break;\n case 'second':\n output = (this - that) / 1e3;\n break;\n // 1000\n case 'minute':\n output = (this - that) / 6e4;\n break;\n // 1000 * 60\n case 'hour':\n output = (this - that) / 36e5;\n break;\n // 1000 * 60 * 60\n case 'day':\n output = (this - that - zoneDelta) / 864e5;\n break;\n // 1000 * 60 * 60 * 24, negate dst\n case 'week':\n output = (this - that - zoneDelta) / 6048e5;\n break;\n // 1000 * 60 * 60 * 24 * 7, negate dst\n default:\n output = this - that;\n }\n return asFloat ? output : absFloor(output);\n }\n function monthDiff(a, b) {\n if (a.date() < b.date()) {\n // end-of-month calculations work correct when the start month has more\n // days than the end month.\n return -monthDiff(b, a);\n }\n // difference in months\n var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n // b is in (anchor - 1 month, anchor + 1 month)\n anchor = a.clone().add(wholeMonthDiff, 'months'),\n anchor2,\n adjust;\n if (b - anchor < 0) {\n anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor - anchor2);\n } else {\n anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor2 - anchor);\n }\n\n //check for negative zero, return zero if negative zero\n return -(wholeMonthDiff + adjust) || 0;\n }\n hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\n hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n function toString() {\n return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n }\n function toISOString(keepOffset) {\n if (!this.isValid()) {\n return null;\n }\n var utc = keepOffset !== true,\n m = utc ? this.clone().utc() : this;\n if (m.year() < 0 || m.year() > 9999) {\n return formatMoment(m, utc ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ');\n }\n if (isFunction(Date.prototype.toISOString)) {\n // native implementation is ~50x faster, use it when we can\n if (utc) {\n return this.toDate().toISOString();\n } else {\n return new Date(this.valueOf() + this.utcOffset() * 60 * 1000).toISOString().replace('Z', formatMoment(m, 'Z'));\n }\n }\n return formatMoment(m, utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ');\n }\n\n /**\n * Return a human readable representation of a moment that can\n * also be evaluated to get a new moment which is the same\n *\n * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n */\n function inspect() {\n if (!this.isValid()) {\n return 'moment.invalid(/* ' + this._i + ' */)';\n }\n var func = 'moment',\n zone = '',\n prefix,\n year,\n datetime,\n suffix;\n if (!this.isLocal()) {\n func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n zone = 'Z';\n }\n prefix = '[' + func + '(\"]';\n year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n datetime = '-MM-DD[T]HH:mm:ss.SSS';\n suffix = zone + '[\")]';\n return this.format(prefix + year + datetime + suffix);\n }\n function format(inputString) {\n if (!inputString) {\n inputString = this.isUtc() ? hooks.defaultFormatUtc : hooks.defaultFormat;\n }\n var output = formatMoment(this, inputString);\n return this.localeData().postformat(output);\n }\n function from(time, withoutSuffix) {\n if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {\n return createDuration({\n to: this,\n from: time\n }).locale(this.locale()).humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n function fromNow(withoutSuffix) {\n return this.from(createLocal(), withoutSuffix);\n }\n function to(time, withoutSuffix) {\n if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {\n return createDuration({\n from: this,\n to: time\n }).locale(this.locale()).humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n function toNow(withoutSuffix) {\n return this.to(createLocal(), withoutSuffix);\n }\n\n // If passed a locale key, it will set the locale for this\n // instance. Otherwise, it will return the locale configuration\n // variables for this instance.\n function locale(key) {\n var newLocaleData;\n if (key === undefined) {\n return this._locale._abbr;\n } else {\n newLocaleData = getLocale(key);\n if (newLocaleData != null) {\n this._locale = newLocaleData;\n }\n return this;\n }\n }\n var lang = deprecate('moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', function (key) {\n if (key === undefined) {\n return this.localeData();\n } else {\n return this.locale(key);\n }\n });\n function localeData() {\n return this._locale;\n }\n var MS_PER_SECOND = 1000,\n MS_PER_MINUTE = 60 * MS_PER_SECOND,\n MS_PER_HOUR = 60 * MS_PER_MINUTE,\n MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;\n\n // actual modulo - handles negative numbers (for dates before 1970):\n function mod$1(dividend, divisor) {\n return (dividend % divisor + divisor) % divisor;\n }\n function localStartOfDate(y, m, d) {\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return new Date(y, m, d).valueOf();\n }\n }\n function utcStartOfDate(y, m, d) {\n // Date.UTC remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return Date.UTC(y, m, d);\n }\n }\n function startOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n switch (units) {\n case 'year':\n time = startOfDate(this.year(), 0, 1);\n break;\n case 'quarter':\n time = startOfDate(this.year(), this.month() - this.month() % 3, 1);\n break;\n case 'month':\n time = startOfDate(this.year(), this.month(), 1);\n break;\n case 'week':\n time = startOfDate(this.year(), this.month(), this.date() - this.weekday());\n break;\n case 'isoWeek':\n time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1));\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date());\n break;\n case 'hour':\n time = this._d.valueOf();\n time -= mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR);\n break;\n case 'minute':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_MINUTE);\n break;\n case 'second':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_SECOND);\n break;\n }\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n }\n function endOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n switch (units) {\n case 'year':\n time = startOfDate(this.year() + 1, 0, 1) - 1;\n break;\n case 'quarter':\n time = startOfDate(this.year(), this.month() - this.month() % 3 + 3, 1) - 1;\n break;\n case 'month':\n time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n break;\n case 'week':\n time = startOfDate(this.year(), this.month(), this.date() - this.weekday() + 7) - 1;\n break;\n case 'isoWeek':\n time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1;\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n break;\n case 'hour':\n time = this._d.valueOf();\n time += MS_PER_HOUR - mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR) - 1;\n break;\n case 'minute':\n time = this._d.valueOf();\n time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;\n break;\n case 'second':\n time = this._d.valueOf();\n time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;\n break;\n }\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n }\n function valueOf() {\n return this._d.valueOf() - (this._offset || 0) * 60000;\n }\n function unix() {\n return Math.floor(this.valueOf() / 1000);\n }\n function toDate() {\n return new Date(this.valueOf());\n }\n function toArray() {\n var m = this;\n return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()];\n }\n function toObject() {\n var m = this;\n return {\n years: m.year(),\n months: m.month(),\n date: m.date(),\n hours: m.hours(),\n minutes: m.minutes(),\n seconds: m.seconds(),\n milliseconds: m.milliseconds()\n };\n }\n function toJSON() {\n // new Date(NaN).toJSON() === null\n return this.isValid() ? this.toISOString() : null;\n }\n function isValid$2() {\n return isValid(this);\n }\n function parsingFlags() {\n return extend({}, getParsingFlags(this));\n }\n function invalidAt() {\n return getParsingFlags(this).overflow;\n }\n function creationData() {\n return {\n input: this._i,\n format: this._f,\n locale: this._locale,\n isUTC: this._isUTC,\n strict: this._strict\n };\n }\n addFormatToken('N', 0, 0, 'eraAbbr');\n addFormatToken('NN', 0, 0, 'eraAbbr');\n addFormatToken('NNN', 0, 0, 'eraAbbr');\n addFormatToken('NNNN', 0, 0, 'eraName');\n addFormatToken('NNNNN', 0, 0, 'eraNarrow');\n addFormatToken('y', ['y', 1], 'yo', 'eraYear');\n addFormatToken('y', ['yy', 2], 0, 'eraYear');\n addFormatToken('y', ['yyy', 3], 0, 'eraYear');\n addFormatToken('y', ['yyyy', 4], 0, 'eraYear');\n addRegexToken('N', matchEraAbbr);\n addRegexToken('NN', matchEraAbbr);\n addRegexToken('NNN', matchEraAbbr);\n addRegexToken('NNNN', matchEraName);\n addRegexToken('NNNNN', matchEraNarrow);\n addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (input, array, config, token) {\n var era = config._locale.erasParse(input, token, config._strict);\n if (era) {\n getParsingFlags(config).era = era;\n } else {\n getParsingFlags(config).invalidEra = input;\n }\n });\n addRegexToken('y', matchUnsigned);\n addRegexToken('yy', matchUnsigned);\n addRegexToken('yyy', matchUnsigned);\n addRegexToken('yyyy', matchUnsigned);\n addRegexToken('yo', matchEraYearOrdinal);\n addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);\n addParseToken(['yo'], function (input, array, config, token) {\n var match;\n if (config._locale._eraYearOrdinalRegex) {\n match = input.match(config._locale._eraYearOrdinalRegex);\n }\n if (config._locale.eraYearOrdinalParse) {\n array[YEAR] = config._locale.eraYearOrdinalParse(input, match);\n } else {\n array[YEAR] = parseInt(input, 10);\n }\n });\n function localeEras(m, format) {\n var i,\n l,\n date,\n eras = this._eras || getLocale('en')._eras;\n for (i = 0, l = eras.length; i < l; ++i) {\n switch (typeof eras[i].since) {\n case 'string':\n // truncate time\n date = hooks(eras[i].since).startOf('day');\n eras[i].since = date.valueOf();\n break;\n }\n switch (typeof eras[i].until) {\n case 'undefined':\n eras[i].until = +Infinity;\n break;\n case 'string':\n // truncate time\n date = hooks(eras[i].until).startOf('day').valueOf();\n eras[i].until = date.valueOf();\n break;\n }\n }\n return eras;\n }\n function localeErasParse(eraName, format, strict) {\n var i,\n l,\n eras = this.eras(),\n name,\n abbr,\n narrow;\n eraName = eraName.toUpperCase();\n for (i = 0, l = eras.length; i < l; ++i) {\n name = eras[i].name.toUpperCase();\n abbr = eras[i].abbr.toUpperCase();\n narrow = eras[i].narrow.toUpperCase();\n if (strict) {\n switch (format) {\n case 'N':\n case 'NN':\n case 'NNN':\n if (abbr === eraName) {\n return eras[i];\n }\n break;\n case 'NNNN':\n if (name === eraName) {\n return eras[i];\n }\n break;\n case 'NNNNN':\n if (narrow === eraName) {\n return eras[i];\n }\n break;\n }\n } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {\n return eras[i];\n }\n }\n }\n function localeErasConvertYear(era, year) {\n var dir = era.since <= era.until ? +1 : -1;\n if (year === undefined) {\n return hooks(era.since).year();\n } else {\n return hooks(era.since).year() + (year - era.offset) * dir;\n }\n }\n function getEraName() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].name;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].name;\n }\n }\n return '';\n }\n function getEraNarrow() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].narrow;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].narrow;\n }\n }\n return '';\n }\n function getEraAbbr() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].abbr;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].abbr;\n }\n }\n return '';\n }\n function getEraYear() {\n var i,\n l,\n dir,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n dir = eras[i].since <= eras[i].until ? +1 : -1;\n\n // truncate time\n val = this.clone().startOf('day').valueOf();\n if (eras[i].since <= val && val <= eras[i].until || eras[i].until <= val && val <= eras[i].since) {\n return (this.year() - hooks(eras[i].since).year()) * dir + eras[i].offset;\n }\n }\n return this.year();\n }\n function erasNameRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNameRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNameRegex : this._erasRegex;\n }\n function erasAbbrRegex(isStrict) {\n if (!hasOwnProp(this, '_erasAbbrRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasAbbrRegex : this._erasRegex;\n }\n function erasNarrowRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNarrowRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNarrowRegex : this._erasRegex;\n }\n function matchEraAbbr(isStrict, locale) {\n return locale.erasAbbrRegex(isStrict);\n }\n function matchEraName(isStrict, locale) {\n return locale.erasNameRegex(isStrict);\n }\n function matchEraNarrow(isStrict, locale) {\n return locale.erasNarrowRegex(isStrict);\n }\n function matchEraYearOrdinal(isStrict, locale) {\n return locale._eraYearOrdinalRegex || matchUnsigned;\n }\n function computeErasParse() {\n var abbrPieces = [],\n namePieces = [],\n narrowPieces = [],\n mixedPieces = [],\n i,\n l,\n eras = this.eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n namePieces.push(regexEscape(eras[i].name));\n abbrPieces.push(regexEscape(eras[i].abbr));\n narrowPieces.push(regexEscape(eras[i].narrow));\n mixedPieces.push(regexEscape(eras[i].name));\n mixedPieces.push(regexEscape(eras[i].abbr));\n mixedPieces.push(regexEscape(eras[i].narrow));\n }\n this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');\n this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');\n this._erasNarrowRegex = new RegExp('^(' + narrowPieces.join('|') + ')', 'i');\n }\n\n // FORMATTING\n\n addFormatToken(0, ['gg', 2], 0, function () {\n return this.weekYear() % 100;\n });\n addFormatToken(0, ['GG', 2], 0, function () {\n return this.isoWeekYear() % 100;\n });\n function addWeekYearFormatToken(token, getter) {\n addFormatToken(0, [token, token.length], 0, getter);\n }\n addWeekYearFormatToken('gggg', 'weekYear');\n addWeekYearFormatToken('ggggg', 'weekYear');\n addWeekYearFormatToken('GGGG', 'isoWeekYear');\n addWeekYearFormatToken('GGGGG', 'isoWeekYear');\n\n // ALIASES\n\n addUnitAlias('weekYear', 'gg');\n addUnitAlias('isoWeekYear', 'GG');\n\n // PRIORITY\n\n addUnitPriority('weekYear', 1);\n addUnitPriority('isoWeekYear', 1);\n\n // PARSING\n\n addRegexToken('G', matchSigned);\n addRegexToken('g', matchSigned);\n addRegexToken('GG', match1to2, match2);\n addRegexToken('gg', match1to2, match2);\n addRegexToken('GGGG', match1to4, match4);\n addRegexToken('gggg', match1to4, match4);\n addRegexToken('GGGGG', match1to6, match6);\n addRegexToken('ggggg', match1to6, match6);\n addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) {\n week[token.substr(0, 2)] = toInt(input);\n });\n addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n week[token] = hooks.parseTwoDigitYear(input);\n });\n\n // MOMENTS\n\n function getSetWeekYear(input) {\n return getSetWeekYearHelper.call(this, input, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy);\n }\n function getSetISOWeekYear(input) {\n return getSetWeekYearHelper.call(this, input, this.isoWeek(), this.isoWeekday(), 1, 4);\n }\n function getISOWeeksInYear() {\n return weeksInYear(this.year(), 1, 4);\n }\n function getISOWeeksInISOWeekYear() {\n return weeksInYear(this.isoWeekYear(), 1, 4);\n }\n function getWeeksInYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n }\n function getWeeksInWeekYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);\n }\n function getSetWeekYearHelper(input, week, weekday, dow, doy) {\n var weeksTarget;\n if (input == null) {\n return weekOfYear(this, dow, doy).year;\n } else {\n weeksTarget = weeksInYear(input, dow, doy);\n if (week > weeksTarget) {\n week = weeksTarget;\n }\n return setWeekAll.call(this, input, week, weekday, dow, doy);\n }\n }\n function setWeekAll(weekYear, week, weekday, dow, doy) {\n var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n this.year(date.getUTCFullYear());\n this.month(date.getUTCMonth());\n this.date(date.getUTCDate());\n return this;\n }\n\n // FORMATTING\n\n addFormatToken('Q', 0, 'Qo', 'quarter');\n\n // ALIASES\n\n addUnitAlias('quarter', 'Q');\n\n // PRIORITY\n\n addUnitPriority('quarter', 7);\n\n // PARSING\n\n addRegexToken('Q', match1);\n addParseToken('Q', function (input, array) {\n array[MONTH] = (toInt(input) - 1) * 3;\n });\n\n // MOMENTS\n\n function getSetQuarter(input) {\n return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);\n }\n\n // FORMATTING\n\n addFormatToken('D', ['DD', 2], 'Do', 'date');\n\n // ALIASES\n\n addUnitAlias('date', 'D');\n\n // PRIORITY\n addUnitPriority('date', 9);\n\n // PARSING\n\n addRegexToken('D', match1to2);\n addRegexToken('DD', match1to2, match2);\n addRegexToken('Do', function (isStrict, locale) {\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n return isStrict ? locale._dayOfMonthOrdinalParse || locale._ordinalParse : locale._dayOfMonthOrdinalParseLenient;\n });\n addParseToken(['D', 'DD'], DATE);\n addParseToken('Do', function (input, array) {\n array[DATE] = toInt(input.match(match1to2)[0]);\n });\n\n // MOMENTS\n\n var getSetDayOfMonth = makeGetSet('Date', true);\n\n // FORMATTING\n\n addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');\n\n // ALIASES\n\n addUnitAlias('dayOfYear', 'DDD');\n\n // PRIORITY\n addUnitPriority('dayOfYear', 4);\n\n // PARSING\n\n addRegexToken('DDD', match1to3);\n addRegexToken('DDDD', match3);\n addParseToken(['DDD', 'DDDD'], function (input, array, config) {\n config._dayOfYear = toInt(input);\n });\n\n // HELPERS\n\n // MOMENTS\n\n function getSetDayOfYear(input) {\n var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1;\n return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n }\n\n // FORMATTING\n\n addFormatToken('m', ['mm', 2], 0, 'minute');\n\n // ALIASES\n\n addUnitAlias('minute', 'm');\n\n // PRIORITY\n\n addUnitPriority('minute', 14);\n\n // PARSING\n\n addRegexToken('m', match1to2);\n addRegexToken('mm', match1to2, match2);\n addParseToken(['m', 'mm'], MINUTE);\n\n // MOMENTS\n\n var getSetMinute = makeGetSet('Minutes', false);\n\n // FORMATTING\n\n addFormatToken('s', ['ss', 2], 0, 'second');\n\n // ALIASES\n\n addUnitAlias('second', 's');\n\n // PRIORITY\n\n addUnitPriority('second', 15);\n\n // PARSING\n\n addRegexToken('s', match1to2);\n addRegexToken('ss', match1to2, match2);\n addParseToken(['s', 'ss'], SECOND);\n\n // MOMENTS\n\n var getSetSecond = makeGetSet('Seconds', false);\n\n // FORMATTING\n\n addFormatToken('S', 0, 0, function () {\n return ~~(this.millisecond() / 100);\n });\n addFormatToken(0, ['SS', 2], 0, function () {\n return ~~(this.millisecond() / 10);\n });\n addFormatToken(0, ['SSS', 3], 0, 'millisecond');\n addFormatToken(0, ['SSSS', 4], 0, function () {\n return this.millisecond() * 10;\n });\n addFormatToken(0, ['SSSSS', 5], 0, function () {\n return this.millisecond() * 100;\n });\n addFormatToken(0, ['SSSSSS', 6], 0, function () {\n return this.millisecond() * 1000;\n });\n addFormatToken(0, ['SSSSSSS', 7], 0, function () {\n return this.millisecond() * 10000;\n });\n addFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n return this.millisecond() * 100000;\n });\n addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n return this.millisecond() * 1000000;\n });\n\n // ALIASES\n\n addUnitAlias('millisecond', 'ms');\n\n // PRIORITY\n\n addUnitPriority('millisecond', 16);\n\n // PARSING\n\n addRegexToken('S', match1to3, match1);\n addRegexToken('SS', match1to3, match2);\n addRegexToken('SSS', match1to3, match3);\n var token, getSetMillisecond;\n for (token = 'SSSS'; token.length <= 9; token += 'S') {\n addRegexToken(token, matchUnsigned);\n }\n function parseMs(input, array) {\n array[MILLISECOND] = toInt(('0.' + input) * 1000);\n }\n for (token = 'S'; token.length <= 9; token += 'S') {\n addParseToken(token, parseMs);\n }\n getSetMillisecond = makeGetSet('Milliseconds', false);\n\n // FORMATTING\n\n addFormatToken('z', 0, 0, 'zoneAbbr');\n addFormatToken('zz', 0, 0, 'zoneName');\n\n // MOMENTS\n\n function getZoneAbbr() {\n return this._isUTC ? 'UTC' : '';\n }\n function getZoneName() {\n return this._isUTC ? 'Coordinated Universal Time' : '';\n }\n var proto = Moment.prototype;\n proto.add = add;\n proto.calendar = calendar$1;\n proto.clone = clone;\n proto.diff = diff;\n proto.endOf = endOf;\n proto.format = format;\n proto.from = from;\n proto.fromNow = fromNow;\n proto.to = to;\n proto.toNow = toNow;\n proto.get = stringGet;\n proto.invalidAt = invalidAt;\n proto.isAfter = isAfter;\n proto.isBefore = isBefore;\n proto.isBetween = isBetween;\n proto.isSame = isSame;\n proto.isSameOrAfter = isSameOrAfter;\n proto.isSameOrBefore = isSameOrBefore;\n proto.isValid = isValid$2;\n proto.lang = lang;\n proto.locale = locale;\n proto.localeData = localeData;\n proto.max = prototypeMax;\n proto.min = prototypeMin;\n proto.parsingFlags = parsingFlags;\n proto.set = stringSet;\n proto.startOf = startOf;\n proto.subtract = subtract;\n proto.toArray = toArray;\n proto.toObject = toObject;\n proto.toDate = toDate;\n proto.toISOString = toISOString;\n proto.inspect = inspect;\n if (typeof Symbol !== 'undefined' && Symbol.for != null) {\n proto[Symbol.for('nodejs.util.inspect.custom')] = function () {\n return 'Moment<' + this.format() + '>';\n };\n }\n proto.toJSON = toJSON;\n proto.toString = toString;\n proto.unix = unix;\n proto.valueOf = valueOf;\n proto.creationData = creationData;\n proto.eraName = getEraName;\n proto.eraNarrow = getEraNarrow;\n proto.eraAbbr = getEraAbbr;\n proto.eraYear = getEraYear;\n proto.year = getSetYear;\n proto.isLeapYear = getIsLeapYear;\n proto.weekYear = getSetWeekYear;\n proto.isoWeekYear = getSetISOWeekYear;\n proto.quarter = proto.quarters = getSetQuarter;\n proto.month = getSetMonth;\n proto.daysInMonth = getDaysInMonth;\n proto.week = proto.weeks = getSetWeek;\n proto.isoWeek = proto.isoWeeks = getSetISOWeek;\n proto.weeksInYear = getWeeksInYear;\n proto.weeksInWeekYear = getWeeksInWeekYear;\n proto.isoWeeksInYear = getISOWeeksInYear;\n proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;\n proto.date = getSetDayOfMonth;\n proto.day = proto.days = getSetDayOfWeek;\n proto.weekday = getSetLocaleDayOfWeek;\n proto.isoWeekday = getSetISODayOfWeek;\n proto.dayOfYear = getSetDayOfYear;\n proto.hour = proto.hours = getSetHour;\n proto.minute = proto.minutes = getSetMinute;\n proto.second = proto.seconds = getSetSecond;\n proto.millisecond = proto.milliseconds = getSetMillisecond;\n proto.utcOffset = getSetOffset;\n proto.utc = setOffsetToUTC;\n proto.local = setOffsetToLocal;\n proto.parseZone = setOffsetToParsedOffset;\n proto.hasAlignedHourOffset = hasAlignedHourOffset;\n proto.isDST = isDaylightSavingTime;\n proto.isLocal = isLocal;\n proto.isUtcOffset = isUtcOffset;\n proto.isUtc = isUtc;\n proto.isUTC = isUtc;\n proto.zoneAbbr = getZoneAbbr;\n proto.zoneName = getZoneName;\n proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth);\n proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth);\n proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear);\n proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone);\n proto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted);\n function createUnix(input) {\n return createLocal(input * 1000);\n }\n function createInZone() {\n return createLocal.apply(null, arguments).parseZone();\n }\n function preParsePostFormat(string) {\n return string;\n }\n var proto$1 = Locale.prototype;\n proto$1.calendar = calendar;\n proto$1.longDateFormat = longDateFormat;\n proto$1.invalidDate = invalidDate;\n proto$1.ordinal = ordinal;\n proto$1.preparse = preParsePostFormat;\n proto$1.postformat = preParsePostFormat;\n proto$1.relativeTime = relativeTime;\n proto$1.pastFuture = pastFuture;\n proto$1.set = set;\n proto$1.eras = localeEras;\n proto$1.erasParse = localeErasParse;\n proto$1.erasConvertYear = localeErasConvertYear;\n proto$1.erasAbbrRegex = erasAbbrRegex;\n proto$1.erasNameRegex = erasNameRegex;\n proto$1.erasNarrowRegex = erasNarrowRegex;\n proto$1.months = localeMonths;\n proto$1.monthsShort = localeMonthsShort;\n proto$1.monthsParse = localeMonthsParse;\n proto$1.monthsRegex = monthsRegex;\n proto$1.monthsShortRegex = monthsShortRegex;\n proto$1.week = localeWeek;\n proto$1.firstDayOfYear = localeFirstDayOfYear;\n proto$1.firstDayOfWeek = localeFirstDayOfWeek;\n proto$1.weekdays = localeWeekdays;\n proto$1.weekdaysMin = localeWeekdaysMin;\n proto$1.weekdaysShort = localeWeekdaysShort;\n proto$1.weekdaysParse = localeWeekdaysParse;\n proto$1.weekdaysRegex = weekdaysRegex;\n proto$1.weekdaysShortRegex = weekdaysShortRegex;\n proto$1.weekdaysMinRegex = weekdaysMinRegex;\n proto$1.isPM = localeIsPM;\n proto$1.meridiem = localeMeridiem;\n function get$1(format, index, field, setter) {\n var locale = getLocale(),\n utc = createUTC().set(setter, index);\n return locale[field](utc, format);\n }\n function listMonthsImpl(format, index, field) {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n format = format || '';\n if (index != null) {\n return get$1(format, index, field, 'month');\n }\n var i,\n out = [];\n for (i = 0; i < 12; i++) {\n out[i] = get$1(format, i, field, 'month');\n }\n return out;\n }\n\n // ()\n // (5)\n // (fmt, 5)\n // (fmt)\n // (true)\n // (true, 5)\n // (true, fmt, 5)\n // (true, fmt)\n function listWeekdaysImpl(localeSorted, format, index, field) {\n if (typeof localeSorted === 'boolean') {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n format = format || '';\n } else {\n format = localeSorted;\n index = format;\n localeSorted = false;\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n format = format || '';\n }\n var locale = getLocale(),\n shift = localeSorted ? locale._week.dow : 0,\n i,\n out = [];\n if (index != null) {\n return get$1(format, (index + shift) % 7, field, 'day');\n }\n for (i = 0; i < 7; i++) {\n out[i] = get$1(format, (i + shift) % 7, field, 'day');\n }\n return out;\n }\n function listMonths(format, index) {\n return listMonthsImpl(format, index, 'months');\n }\n function listMonthsShort(format, index) {\n return listMonthsImpl(format, index, 'monthsShort');\n }\n function listWeekdays(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n }\n function listWeekdaysShort(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n }\n function listWeekdaysMin(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n }\n getSetGlobalLocale('en', {\n eras: [{\n since: '0001-01-01',\n until: +Infinity,\n offset: 1,\n name: 'Anno Domini',\n narrow: 'AD',\n abbr: 'AD'\n }, {\n since: '0000-12-31',\n until: -Infinity,\n offset: 1,\n name: 'Before Christ',\n narrow: 'BC',\n abbr: 'BC'\n }],\n dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n ordinal: function ordinal(number) {\n var b = number % 10,\n output = toInt(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n }\n });\n\n // Side effect imports\n\n hooks.lang = deprecate('moment.lang is deprecated. Use moment.locale instead.', getSetGlobalLocale);\n hooks.langData = deprecate('moment.langData is deprecated. Use moment.localeData instead.', getLocale);\n var mathAbs = Math.abs;\n function abs() {\n var data = this._data;\n this._milliseconds = mathAbs(this._milliseconds);\n this._days = mathAbs(this._days);\n this._months = mathAbs(this._months);\n data.milliseconds = mathAbs(data.milliseconds);\n data.seconds = mathAbs(data.seconds);\n data.minutes = mathAbs(data.minutes);\n data.hours = mathAbs(data.hours);\n data.months = mathAbs(data.months);\n data.years = mathAbs(data.years);\n return this;\n }\n function addSubtract$1(duration, input, value, direction) {\n var other = createDuration(input, value);\n duration._milliseconds += direction * other._milliseconds;\n duration._days += direction * other._days;\n duration._months += direction * other._months;\n return duration._bubble();\n }\n\n // supports only 2.0-style add(1, 's') or add(duration)\n function add$1(input, value) {\n return addSubtract$1(this, input, value, 1);\n }\n\n // supports only 2.0-style subtract(1, 's') or subtract(duration)\n function subtract$1(input, value) {\n return addSubtract$1(this, input, value, -1);\n }\n function absCeil(number) {\n if (number < 0) {\n return Math.floor(number);\n } else {\n return Math.ceil(number);\n }\n }\n function bubble() {\n var milliseconds = this._milliseconds,\n days = this._days,\n months = this._months,\n data = this._data,\n seconds,\n minutes,\n hours,\n years,\n monthsFromDays;\n\n // if we have a mix of positive and negative values, bubble down first\n // check: https://github.com/moment/moment/issues/2166\n if (!(milliseconds >= 0 && days >= 0 && months >= 0 || milliseconds <= 0 && days <= 0 && months <= 0)) {\n milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n days = 0;\n months = 0;\n }\n\n // The following code bubbles up values, see the tests for\n // examples of what that means.\n data.milliseconds = milliseconds % 1000;\n seconds = absFloor(milliseconds / 1000);\n data.seconds = seconds % 60;\n minutes = absFloor(seconds / 60);\n data.minutes = minutes % 60;\n hours = absFloor(minutes / 60);\n data.hours = hours % 24;\n days += absFloor(hours / 24);\n\n // convert days to months\n monthsFromDays = absFloor(daysToMonths(days));\n months += monthsFromDays;\n days -= absCeil(monthsToDays(monthsFromDays));\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n data.days = days;\n data.months = months;\n data.years = years;\n return this;\n }\n function daysToMonths(days) {\n // 400 years have 146097 days (taking into account leap year rules)\n // 400 years have 12 months === 4800\n return days * 4800 / 146097;\n }\n function monthsToDays(months) {\n // the reverse of daysToMonths\n return months * 146097 / 4800;\n }\n function as(units) {\n if (!this.isValid()) {\n return NaN;\n }\n var days,\n months,\n milliseconds = this._milliseconds;\n units = normalizeUnits(units);\n if (units === 'month' || units === 'quarter' || units === 'year') {\n days = this._days + milliseconds / 864e5;\n months = this._months + daysToMonths(days);\n switch (units) {\n case 'month':\n return months;\n case 'quarter':\n return months / 3;\n case 'year':\n return months / 12;\n }\n } else {\n // handle milliseconds separately because of floating point math errors (issue #1867)\n days = this._days + Math.round(monthsToDays(this._months));\n switch (units) {\n case 'week':\n return days / 7 + milliseconds / 6048e5;\n case 'day':\n return days + milliseconds / 864e5;\n case 'hour':\n return days * 24 + milliseconds / 36e5;\n case 'minute':\n return days * 1440 + milliseconds / 6e4;\n case 'second':\n return days * 86400 + milliseconds / 1000;\n // Math.floor prevents floating point math errors here\n case 'millisecond':\n return Math.floor(days * 864e5) + milliseconds;\n default:\n throw new Error('Unknown unit ' + units);\n }\n }\n }\n\n // TODO: Use this.as('ms')?\n function valueOf$1() {\n if (!this.isValid()) {\n return NaN;\n }\n return this._milliseconds + this._days * 864e5 + this._months % 12 * 2592e6 + toInt(this._months / 12) * 31536e6;\n }\n function makeAs(alias) {\n return function () {\n return this.as(alias);\n };\n }\n var asMilliseconds = makeAs('ms'),\n asSeconds = makeAs('s'),\n asMinutes = makeAs('m'),\n asHours = makeAs('h'),\n asDays = makeAs('d'),\n asWeeks = makeAs('w'),\n asMonths = makeAs('M'),\n asQuarters = makeAs('Q'),\n asYears = makeAs('y');\n function clone$1() {\n return createDuration(this);\n }\n function get$2(units) {\n units = normalizeUnits(units);\n return this.isValid() ? this[units + 's']() : NaN;\n }\n function makeGetter(name) {\n return function () {\n return this.isValid() ? this._data[name] : NaN;\n };\n }\n var milliseconds = makeGetter('milliseconds'),\n seconds = makeGetter('seconds'),\n minutes = makeGetter('minutes'),\n hours = makeGetter('hours'),\n days = makeGetter('days'),\n months = makeGetter('months'),\n years = makeGetter('years');\n function weeks() {\n return absFloor(this.days() / 7);\n }\n var round = Math.round,\n thresholds = {\n ss: 44,\n // a few seconds to seconds\n s: 45,\n // seconds to minute\n m: 45,\n // minutes to hour\n h: 22,\n // hours to day\n d: 26,\n // days to month/week\n w: null,\n // weeks to month\n M: 11 // months to year\n };\n\n // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\n function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n }\n function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {\n var duration = createDuration(posNegDuration).abs(),\n seconds = round(duration.as('s')),\n minutes = round(duration.as('m')),\n hours = round(duration.as('h')),\n days = round(duration.as('d')),\n months = round(duration.as('M')),\n weeks = round(duration.as('w')),\n years = round(duration.as('y')),\n a = seconds <= thresholds.ss && ['s', seconds] || seconds < thresholds.s && ['ss', seconds] || minutes <= 1 && ['m'] || minutes < thresholds.m && ['mm', minutes] || hours <= 1 && ['h'] || hours < thresholds.h && ['hh', hours] || days <= 1 && ['d'] || days < thresholds.d && ['dd', days];\n if (thresholds.w != null) {\n a = a || weeks <= 1 && ['w'] || weeks < thresholds.w && ['ww', weeks];\n }\n a = a || months <= 1 && ['M'] || months < thresholds.M && ['MM', months] || years <= 1 && ['y'] || ['yy', years];\n a[2] = withoutSuffix;\n a[3] = +posNegDuration > 0;\n a[4] = locale;\n return substituteTimeAgo.apply(null, a);\n }\n\n // This function allows you to set the rounding function for relative time strings\n function getSetRelativeTimeRounding(roundingFunction) {\n if (roundingFunction === undefined) {\n return round;\n }\n if (typeof roundingFunction === 'function') {\n round = roundingFunction;\n return true;\n }\n return false;\n }\n\n // This function allows you to set a threshold for relative time strings\n function getSetRelativeTimeThreshold(threshold, limit) {\n if (thresholds[threshold] === undefined) {\n return false;\n }\n if (limit === undefined) {\n return thresholds[threshold];\n }\n thresholds[threshold] = limit;\n if (threshold === 's') {\n thresholds.ss = limit - 1;\n }\n return true;\n }\n function humanize(argWithSuffix, argThresholds) {\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n var withSuffix = false,\n th = thresholds,\n locale,\n output;\n if (typeof argWithSuffix === 'object') {\n argThresholds = argWithSuffix;\n argWithSuffix = false;\n }\n if (typeof argWithSuffix === 'boolean') {\n withSuffix = argWithSuffix;\n }\n if (typeof argThresholds === 'object') {\n th = Object.assign({}, thresholds, argThresholds);\n if (argThresholds.s != null && argThresholds.ss == null) {\n th.ss = argThresholds.s - 1;\n }\n }\n locale = this.localeData();\n output = relativeTime$1(this, !withSuffix, th, locale);\n if (withSuffix) {\n output = locale.pastFuture(+this, output);\n }\n return locale.postformat(output);\n }\n var abs$1 = Math.abs;\n function sign(x) {\n return (x > 0) - (x < 0) || +x;\n }\n function toISOString$1() {\n // for ISO strings we do not use the normal bubbling rules:\n // * milliseconds bubble up until they become hours\n // * days do not bubble at all\n // * months bubble up until they become years\n // This is because there is no context-free conversion between hours and days\n // (think of clock changes)\n // and also not between days and months (28-31 days per month)\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n var seconds = abs$1(this._milliseconds) / 1000,\n days = abs$1(this._days),\n months = abs$1(this._months),\n minutes,\n hours,\n years,\n s,\n total = this.asSeconds(),\n totalSign,\n ymSign,\n daysSign,\n hmsSign;\n if (!total) {\n // this is the same as C#'s (Noda) and python (isodate)...\n // but not other JS (goog.date)\n return 'P0D';\n }\n\n // 3600 seconds -> 60 minutes -> 1 hour\n minutes = absFloor(seconds / 60);\n hours = absFloor(minutes / 60);\n seconds %= 60;\n minutes %= 60;\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n\n // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n totalSign = total < 0 ? '-' : '';\n ymSign = sign(this._months) !== sign(total) ? '-' : '';\n daysSign = sign(this._days) !== sign(total) ? '-' : '';\n hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n return totalSign + 'P' + (years ? ymSign + years + 'Y' : '') + (months ? ymSign + months + 'M' : '') + (days ? daysSign + days + 'D' : '') + (hours || minutes || seconds ? 'T' : '') + (hours ? hmsSign + hours + 'H' : '') + (minutes ? hmsSign + minutes + 'M' : '') + (seconds ? hmsSign + s + 'S' : '');\n }\n var proto$2 = Duration.prototype;\n proto$2.isValid = isValid$1;\n proto$2.abs = abs;\n proto$2.add = add$1;\n proto$2.subtract = subtract$1;\n proto$2.as = as;\n proto$2.asMilliseconds = asMilliseconds;\n proto$2.asSeconds = asSeconds;\n proto$2.asMinutes = asMinutes;\n proto$2.asHours = asHours;\n proto$2.asDays = asDays;\n proto$2.asWeeks = asWeeks;\n proto$2.asMonths = asMonths;\n proto$2.asQuarters = asQuarters;\n proto$2.asYears = asYears;\n proto$2.valueOf = valueOf$1;\n proto$2._bubble = bubble;\n proto$2.clone = clone$1;\n proto$2.get = get$2;\n proto$2.milliseconds = milliseconds;\n proto$2.seconds = seconds;\n proto$2.minutes = minutes;\n proto$2.hours = hours;\n proto$2.days = days;\n proto$2.weeks = weeks;\n proto$2.months = months;\n proto$2.years = years;\n proto$2.humanize = humanize;\n proto$2.toISOString = toISOString$1;\n proto$2.toString = toISOString$1;\n proto$2.toJSON = toISOString$1;\n proto$2.locale = locale;\n proto$2.localeData = localeData;\n proto$2.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', toISOString$1);\n proto$2.lang = lang;\n\n // FORMATTING\n\n addFormatToken('X', 0, 0, 'unix');\n addFormatToken('x', 0, 0, 'valueOf');\n\n // PARSING\n\n addRegexToken('x', matchSigned);\n addRegexToken('X', matchTimestamp);\n addParseToken('X', function (input, array, config) {\n config._d = new Date(parseFloat(input) * 1000);\n });\n addParseToken('x', function (input, array, config) {\n config._d = new Date(toInt(input));\n });\n\n //! moment.js\n\n hooks.version = '2.29.4';\n setHookCallback(createLocal);\n hooks.fn = proto;\n hooks.min = min;\n hooks.max = max;\n hooks.now = now;\n hooks.utc = createUTC;\n hooks.unix = createUnix;\n hooks.months = listMonths;\n hooks.isDate = isDate;\n hooks.locale = getSetGlobalLocale;\n hooks.invalid = createInvalid;\n hooks.duration = createDuration;\n hooks.isMoment = isMoment;\n hooks.weekdays = listWeekdays;\n hooks.parseZone = createInZone;\n hooks.localeData = getLocale;\n hooks.isDuration = isDuration;\n hooks.monthsShort = listMonthsShort;\n hooks.weekdaysMin = listWeekdaysMin;\n hooks.defineLocale = defineLocale;\n hooks.updateLocale = updateLocale;\n hooks.locales = listLocales;\n hooks.weekdaysShort = listWeekdaysShort;\n hooks.normalizeUnits = normalizeUnits;\n hooks.relativeTimeRounding = getSetRelativeTimeRounding;\n hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\n hooks.calendarFormat = getCalendarFormat;\n hooks.prototype = proto;\n\n // currently HTML5 input type only supports 24-hour formats\n hooks.HTML5_FMT = {\n DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm',\n // \n DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss',\n // \n DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS',\n // \n DATE: 'YYYY-MM-DD',\n // \n TIME: 'HH:mm',\n // \n TIME_SECONDS: 'HH:mm:ss',\n // \n TIME_MS: 'HH:mm:ss.SSS',\n // \n WEEK: 'GGGG-[W]WW',\n // \n MONTH: 'YYYY-MM' // \n };\n\n return hooks;\n});","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"order-form2-module--title--11L5y\",\"btnGroup\":\"order-form2-module--btnGroup--1nM0W\",\"radio\":\"order-form2-module--radio--AAmT4\",\"radioBtns3\":\"order-form2-module--radioBtns3--1_3Sb\",\"radioBtns2\":\"order-form2-module--radioBtns2--3vj9P\",\"radioBtn\":\"order-form2-module--radioBtn--3Zugk\",\"disabled\":\"order-form2-module--disabled--XN81i\",\"withImg\":\"order-form2-module--withImg--3Ea9L\",\"ripple\":\"order-form2-module--ripple--2RiVU\",\"radioImg\":\"order-form2-module--radioImg--1-p3u\",\"section\":\"order-form2-module--section--2sAh2\",\"container\":\"order-form2-module--container--3mUCW\",\"formTabs\":\"order-form2-module--formTabs--2c2Ox\",\"formTab\":\"order-form2-module--formTab--2dgfy\",\"active\":\"order-form2-module--active--X5THU\",\"formWrapContainer\":\"order-form2-module--formWrapContainer--_W_54\",\"formInnerContainer\":\"order-form2-module--formInnerContainer--39Ncl\"};","\"use strict\";\n\nexports.__esModule = true;\nexports.getStyleRulesForClassName = exports.getStyleRules = exports.getBackgroundStylesForSingleClass = exports.default = void 0;\n\nvar _SimpleUtils = require(\"./SimpleUtils\");\n\nvar getStyleRulesForClassName = function getStyleRulesForClassName(className) {\n var styleSheets = (0, _SimpleUtils.isBrowser)() ? window.document.styleSheets : [];\n\n for (var i = 0; i < styleSheets.length; i++) {\n var classes = void 0;\n\n try {\n classes = typeof styleSheets[i].rules !== 'undefined' ? styleSheets[i].rules : typeof styleSheets[i].cssRules !== 'undefined' ? styleSheets[i].cssRules : '';\n } catch (e) {}\n\n if (classes) {\n var foundClass = Array.prototype.slice.call(classes).reduce(function (foundAcc, styleRule) {\n if (styleRule.selectorText === className) {\n foundAcc.push(styleRule);\n }\n\n return foundAcc;\n }, []);\n\n if (foundClass.length) {\n return foundClass;\n }\n }\n }\n\n return [];\n};\n\nexports.getStyleRulesForClassName = getStyleRulesForClassName;\n\nvar getStyleRules = function getStyleRules(cssStyleRules) {\n var styles = {};\n\n if (cssStyleRules.length > 0 && typeof cssStyleRules[0].style !== 'undefined') {\n var constructorName = cssStyleRules[0].style.constructor.name || cssStyleRules[0].style.constructor.toString();\n\n switch (constructorName) {\n case 'CSS2Properties':\n case '[object MSStyleCSSProperties]':\n Object.values(cssStyleRules[0].style).forEach(function (prop) {\n styles[(0, _SimpleUtils.toCamelCase)(prop)] = cssStyleRules[0].style[prop];\n });\n break;\n\n case 'CSSStyleDeclaration':\n styles = cssStyleRules[0].style;\n break;\n\n default:\n console.error('Unknown style object prototype');\n break;\n }\n }\n\n return styles;\n};\n\nexports.getStyleRules = getStyleRules;\n\nvar getBackgroundStylesForSingleClass = function getBackgroundStylesForSingleClass(className) {\n if (className && (0, _SimpleUtils.isString)(className)) {\n var cssStyleRules = getStyleRulesForClassName(\".\" + className);\n\n if ((cssStyleRules === null || cssStyleRules === void 0 ? void 0 : cssStyleRules.length) > 0 && typeof cssStyleRules[0].style !== 'undefined') {\n return Object.keys(getStyleRules(cssStyleRules)).filter(function (key) {\n return key.indexOf('background') === 0 && cssStyleRules[0].style[key] !== '';\n }).reduce(function (newData, key) {\n newData[(0, _SimpleUtils.toCamelCase)(key)] = cssStyleRules[0].style[key];\n return newData;\n }, {});\n }\n }\n\n return {};\n};\n\nexports.getBackgroundStylesForSingleClass = getBackgroundStylesForSingleClass;\n\nvar getBackgroundStyles = function getBackgroundStyles(className) {\n if ((0, _SimpleUtils.isBrowser)()) {\n var classes = (0, _SimpleUtils.stringToArray)(className);\n\n if (classes instanceof Array) {\n var classObjects = [];\n classes.forEach(function (item) {\n return classObjects.push(getBackgroundStylesForSingleClass(item));\n });\n return Object.assign.apply(Object, classObjects);\n }\n\n return getBackgroundStylesForSingleClass(className);\n }\n\n return {};\n};\n\nvar _default = getBackgroundStyles;\nexports.default = _default;"],"sourceRoot":""}