{"version":3,"file":"build.js","sources":["../../app/node_modules/@vue/shared/dist/shared.esm-bundler.js","../../app/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","../../app/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","../../app/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","../../app/src/store/actions/common.js","../../app/src/utils/timeout.js","../../app/src/assets/js/constants.js","../../app/src/helpers/AppVersionComparator.js","../../app/node_modules/@vue/devtools-api/lib/esm/env.js","../../app/node_modules/@vue/devtools-api/lib/esm/const.js","../../app/node_modules/@vue/devtools-api/lib/esm/time.js","../../app/node_modules/@vue/devtools-api/lib/esm/proxy.js","../../app/node_modules/@vue/devtools-api/lib/esm/index.js","../../app/node_modules/vuex/dist/vuex.esm-bundler.js","../../app/node_modules/@vueuse/shared/index.mjs","../../app/node_modules/@vueuse/core/index.mjs","../../app/node_modules/tabbable/dist/index.esm.js","../../app/node_modules/focus-trap/dist/focus-trap.esm.js","../../app/node_modules/@vueuse/integrations/useFocusTrap.mjs","../../app/node_modules/vue-final-modal/dist/index.es.js","../../app/src/helpers/Notifications/Notification.vue","../../app/src/helpers/Notifications/NotificationCenter.vue","../../app/src/App.vue","../../app/node_modules/vue-router/dist/vue-router.mjs","../../app/node_modules/@vuelidate/core/dist/index.esm.js","../../app/node_modules/@vuelidate/validators/dist/index.esm.js","../../app/src/store/actions/auth.js","../../app/src/directives/clickOutside.js","../../app/src/store/actions/lang.js","../../app/src/components/common/roles.js","../../app/src/components/languageSelect/LanguageSelect.vue","../../app/src/components/common/Loader.vue","../../app/src/assets/stenstrums-logo.png","../../app/src/views/Login.vue","../../app/node_modules/axios/lib/helpers/bind.js","../../app/node_modules/axios/lib/utils.js","../../app/node_modules/axios/lib/core/AxiosError.js","../../app/node_modules/axios/lib/helpers/null.js","../../app/node_modules/axios/lib/helpers/toFormData.js","../../app/node_modules/axios/lib/helpers/AxiosURLSearchParams.js","../../app/node_modules/axios/lib/helpers/buildURL.js","../../app/node_modules/axios/lib/core/InterceptorManager.js","../../app/node_modules/axios/lib/defaults/transitional.js","../../app/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js","../../app/node_modules/axios/lib/platform/browser/classes/FormData.js","../../app/node_modules/axios/lib/platform/browser/classes/Blob.js","../../app/node_modules/axios/lib/platform/browser/index.js","../../app/node_modules/axios/lib/helpers/toURLEncodedForm.js","../../app/node_modules/axios/lib/helpers/formDataToJSON.js","../../app/node_modules/axios/lib/defaults/index.js","../../app/node_modules/axios/lib/helpers/parseHeaders.js","../../app/node_modules/axios/lib/core/AxiosHeaders.js","../../app/node_modules/axios/lib/core/transformData.js","../../app/node_modules/axios/lib/cancel/isCancel.js","../../app/node_modules/axios/lib/cancel/CanceledError.js","../../app/node_modules/axios/lib/core/settle.js","../../app/node_modules/axios/lib/helpers/cookies.js","../../app/node_modules/axios/lib/helpers/isAbsoluteURL.js","../../app/node_modules/axios/lib/helpers/combineURLs.js","../../app/node_modules/axios/lib/core/buildFullPath.js","../../app/node_modules/axios/lib/helpers/isURLSameOrigin.js","../../app/node_modules/axios/lib/helpers/parseProtocol.js","../../app/node_modules/axios/lib/helpers/speedometer.js","../../app/node_modules/axios/lib/adapters/xhr.js","../../app/node_modules/axios/lib/adapters/adapters.js","../../app/node_modules/axios/lib/core/dispatchRequest.js","../../app/node_modules/axios/lib/core/mergeConfig.js","../../app/node_modules/axios/lib/env/data.js","../../app/node_modules/axios/lib/helpers/validator.js","../../app/node_modules/axios/lib/core/Axios.js","../../app/node_modules/axios/lib/cancel/CancelToken.js","../../app/node_modules/axios/lib/helpers/spread.js","../../app/node_modules/axios/lib/helpers/isAxiosError.js","../../app/node_modules/axios/lib/helpers/HttpStatusCode.js","../../app/node_modules/axios/lib/axios.js","../../app/src/utils/getFieldErrors.js","../../app/src/store/modules/auth.js","../../app/node_modules/@intlify/shared/dist/shared.esm-bundler.js","../../app/node_modules/@intlify/message-compiler/dist/message-compiler.esm-bundler.js","../../app/node_modules/@intlify/devtools-if/dist/devtools-if.esm-bundler.js","../../app/node_modules/@intlify/core-base/dist/core-base.esm-bundler.js","../../app/node_modules/vue-i18n/dist/vue-i18n.esm-bundler.js","../../app/src/languages/index.js","../../app/src/store/modules/lang.js","../../app/src/utils/api/shirt-constructor.js","../../app/src/utils/getFormFromResources.js","../../app/src/utils/toCamelCaseFromPascalCase.js","../../app/src/utils/copyObject.js","../../app/src/utils/firstNotEmptyValue.js","../../app/src/utils/api/helpers/submitForm.js","../../app/src/utils/isEmptyObject.js","../../app/src/utils/getLinkFromResources.js","../../app/src/helpers/EventEmitter.js","../../app/src/helpers/EventBus.js","../../app/src/utils/mapFits.js","../../app/src/utils/mapTranslateKey.js","../../app/src/utils/transformToSelectOptions.js","../../app/src/utils/normilizeNumber.js","../../app/src/utils/getValuesByLimits.js","../../app/src/store/modules/order.js","../../app/src/store/modules/customer.js","../../app/src/store/modules/retailer.js","../../app/node_modules/uuid/dist/esm-browser/rng.js","../../app/node_modules/uuid/dist/esm-browser/stringify.js","../../app/node_modules/uuid/dist/esm-browser/native.js","../../app/node_modules/uuid/dist/esm-browser/v4.js","../../app/src/store/modules/notifications.js","../../app/src/store/modules/estimatedDeliveryDate.js","../../app/src/store/index.js","../../app/src/utils/api/index.js","../../app/src/views/ResetPassword.vue","../../app/src/views/ResetPasswordConfirmation.vue","../../app/src/components/common/Logout.vue","../../app/src/components/common/Stepper.vue","../../app/src/components/common/OrderSearch.vue","../../app/src/components/common/RetailerSearch.vue","../../app/src/utils/phoneFieldValidator.js","../../app/src/components/popups/popupMixin.js","../../app/src/utils/customEmailValidator.js","../../app/src/components/popups/GenerateEmailPopup.vue","../../app/src/assets/popups/save-as-draft.svg","../../app/src/components/popups/SaveAsDraftPopup.vue","../../app/src/components/common/Header.vue","../../app/src/utils/localeDate.js","../../app/src/components/common/EstimatedDeliveryDate.vue","../../app/src/components/common/ExternalContentLinks.vue","../../app/src/components/common/CartOrders.vue","../../app/src/components/common/checkbox/VCheckbox.vue","../../app/src/components/common/Navbar.vue","../../app/node_modules/vue3-toastify/dist/esm/index.js","../../app/src/components/popups/ChangePasswordPopup.vue","../../app/src/views/RetailerAccount.vue","../../app/src/views/CustomerServiceAccount.vue","../../app/src/components/popups/AdvancedMeasurementPopup.vue","../../app/src/components/popups/LeaveAdvancedMeasurementsPopup.vue","../../app/src/components/common/select/OptionCheckbox.vue","../../app/src/utils/formatDifference.js","../../app/src/utils/translateOptionWithPrefix.js","../../app/src/components/common/select/SelectOption.vue","../../app/src/utils/getElementCoordinates.js","../../app/src/utils/capitalize.js","../../app/src/components/common/select/VSelect.vue","../../app/src/components/orderSteps/measurements/MeasurementSelect.vue","../../app/src/utils/filterItems.js","../../app/src/utils/getUniqueValues.js","../../app/src/utils/getMinimalFilterLength.js","../../app/src/components/fabricSelection/CodeSearch.vue","../../app/src/utils/fillStringTemplate.js","../../app/src/helpers/ImageHelper.js","../../app/src/components/fabricSelection/Fabric.vue","../../app/src/utils/formatCurrencyFallback.js","../../app/src/utils/formatPrice.js","../../app/src/utils/formatSize.js","../../app/src/components/orderSteps/style/StyleBlockInfo.vue","../../app/src/components/fabricSelection/SelectedFabric.vue","../../app/src/components/common/chip/VChip.vue","../../app/src/utils/isTouchDevice.js","../../app/src/components/common/Ruler.vue","../../app/src/components/common/ImageMagnifier.vue","../../app/src/components/common/ResourcePreview.vue","../../app/src/components/fabricSelection/ResourceWrapper.vue","../../app/src/components/fabricSelection/CataloguePopup.vue","../../app/src/directives/longHover.js","../../app/src/components/common/InformationTooltip.vue","../../app/src/utils/StyleFieldsFilter.js","../../app/src/components/orderSteps/measurements/MeasurementHeader.vue","../../app/src/components/orderSteps/measurements/MeasurementItem.vue","../../app/src/components/orderSteps/measurements/TotalMeasurement.vue","../../app/src/components/orderSteps/measurements/MeasurementBlock.vue","../../app/src/components/orderSteps/measurements/Measurements.vue","../../app/src/components/orderSteps/measurements/StandardSection.vue","../../app/src/components/orderSteps/measurements/AdvancedSection.vue","../../app/src/components/popups/NoChangesPopup.vue","../../app/src/components/popups/ConfirmAdjustmentsPopup.vue","../../app/src/components/popups/ConfirmResetPopup.vue","../../app/src/helpers/MeasurementField.js","../../app/src/helpers/MeasurementsForm.js","../../app/src/helpers/errorScroller.js","../../app/src/utils/roundToHalf.js","../../app/src/components/orderSteps/measurements/measurementsMixin.js","../../app/src/components/popups/ChangeDataPopup.vue","../../app/src/components/orderSteps/measurements/DirectMeasurements.vue","../../app/src/utils/numberFieldValidator.js","../../app/src/components/orderSteps/measurements/BodyMeasurements.vue","../../app/src/components/orderSteps/measurements/ShirtMeasurements.vue","../../app/src/components/orderSteps/measurements/DesignMeasurements.vue","../../app/src/components/orderSteps/measurements/The1899Measurements.vue","../../app/src/components/popups/DiscardShirtPopup.vue","../../app/src/assets/popups/discard-order.svg","../../app/src/components/popups/DiscardOrderPopup.vue","../../app/src/composables/useDiscards.js","../../app/src/components/orderSteps/common/FooterControl.vue","../../app/src/components/orderSteps/common/ShirtComment.vue","../../app/src/components/orderSteps/common/discardChanges.js","../../app/src/components/popups/DiscardChangesPopup.vue","../../app/src/components/popups/ConfirmResetFabricPopup.vue","../../app/src/components/orderSteps/measurements/MeasurementsStep.vue","../../app/src/utils/getErrorKey.js","../../app/src/utils/StyleFieldValidator.js","../../app/src/utils/tryToSelectValue.js","../../app/src/components/orderSteps/style/ImagePreview.vue","../../app/src/components/fabricSelection/SearchWrapper.vue","../../app/src/components/common/select/SelectWrapper.vue","../../app/src/utils/textFieldValidator.js","../../app/src/components/orderSteps/style/FieldWrapper.vue","../../app/src/components/orderSteps/style/StyleBlock.vue","../../app/src/components/orderSteps/style/StyleStep.vue","../../app/src/components/common/VCounter.vue","../../app/src/utils/getSetting.js","../../app/src/components/common/ResourceNotAvailable.vue","../../app/src/components/common/ResourceCode.vue","../../app/src/components/orderSteps/cart/NewShirtPopup.vue","../../app/src/utils/isObject.js","../../app/src/utils/toPascalCaseFromCamelCase.js","../../app/src/components/order/OrderDetails.vue","../../app/src/components/checkout/ShirtOrderView.vue","../../app/src/helpers/OrderItemPropertyValidator.js","../../app/src/utils/checkForDeletedResources.js","../../app/src/components/orderSteps/cart/CartStep.vue","../../app/src/assets/popups/add-new-customer.svg","../../app/src/components/popups/AddNewCustomerPopup.vue","../../app/src/components/popups/EditCustomerPopup.vue","../../app/src/components/popups/TermsOfUsePopup.vue","../../app/src/components/orderSteps/checkout/CheckoutStep.vue","../../app/src/components/popups/LeaveConfirmationPopup.vue","../../app/src/components/common/FabricAvailabilityUpdater.vue","../../app/src/views/CreateOrder.vue","../../app/src/views/ThankYou.vue","../../app/src/components/order/SearchOrderBlockInfo.vue","../../app/src/components/order/SearchOrderBlockItem.vue","../../app/src/components/order/SearchOrderBlock.vue","../../app/src/views/OrderSearchResults.vue","../../app/src/components/retailer/SearchRetailerBlock.vue","../../app/src/assets/popups/block-retailer.svg","../../app/src/components/popups/BlockRetailerPopup.vue","../../app/src/views/RetailerSearchResults.vue","../../app/src/components/order/OrderBlockCustomerInfo.vue","../../app/src/components/order/OrderBlockModificationDate.vue","../../app/src/components/order/OrderBlockDraft.vue","../../app/src/components/order/OrderBlock.vue","../../app/src/views/DraftOrders.vue","../../app/src/components/common/Pagination.vue","../../app/src/views/LatestOrders.vue","../../app/src/views/Dashboard.vue","../../app/src/views/EmbeddedContent.vue","../../app/src/router.js","../../app/src/main.js"],"sourcesContent":["/**\n * Make a map and return a function for checking if a key\n * is in that map.\n * IMPORTANT: all calls of this function must be prefixed with\n * \\/\\*#\\_\\_PURE\\_\\_\\*\\/\n * So that rollup can tree-shake them if necessary.\n */\nfunction makeMap(str, expectsLowerCase) {\n const map = Object.create(null);\n const list = str.split(',');\n for (let i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];\n}\n\n/**\n * dev only flag -> name mapping\n */\nconst PatchFlagNames = {\n [1 /* PatchFlags.TEXT */]: `TEXT`,\n [2 /* PatchFlags.CLASS */]: `CLASS`,\n [4 /* PatchFlags.STYLE */]: `STYLE`,\n [8 /* PatchFlags.PROPS */]: `PROPS`,\n [16 /* PatchFlags.FULL_PROPS */]: `FULL_PROPS`,\n [32 /* PatchFlags.HYDRATE_EVENTS */]: `HYDRATE_EVENTS`,\n [64 /* PatchFlags.STABLE_FRAGMENT */]: `STABLE_FRAGMENT`,\n [128 /* PatchFlags.KEYED_FRAGMENT */]: `KEYED_FRAGMENT`,\n [256 /* PatchFlags.UNKEYED_FRAGMENT */]: `UNKEYED_FRAGMENT`,\n [512 /* PatchFlags.NEED_PATCH */]: `NEED_PATCH`,\n [1024 /* PatchFlags.DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,\n [2048 /* PatchFlags.DEV_ROOT_FRAGMENT */]: `DEV_ROOT_FRAGMENT`,\n [-1 /* PatchFlags.HOISTED */]: `HOISTED`,\n [-2 /* PatchFlags.BAIL */]: `BAIL`\n};\n\n/**\n * Dev only\n */\nconst slotFlagsText = {\n [1 /* SlotFlags.STABLE */]: 'STABLE',\n [2 /* SlotFlags.DYNAMIC */]: 'DYNAMIC',\n [3 /* SlotFlags.FORWARDED */]: 'FORWARDED'\n};\n\nconst GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +\n 'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +\n 'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt';\nconst isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED);\n\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n // Split the content into individual lines but capture the newline sequence\n // that separated each line. This is important because the actual sequence is\n // needed to properly take into account the full line length for offset\n // comparison\n let lines = source.split(/(\\r?\\n)/);\n // Separate the lines and newline sequences into separate arrays for easier referencing\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n lines = lines.filter((_, idx) => idx % 2 === 0);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count +=\n lines[i].length +\n ((newlineSequences[i] && newlineSequences[i].length) || 0);\n if (count >= start) {\n for (let j = i - range; j <= i + range || end > count; j++) {\n if (j < 0 || j >= lines.length)\n continue;\n const line = j + 1;\n res.push(`${line}${' '.repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`);\n const lineLength = lines[j].length;\n const newLineSeqLength = (newlineSequences[j] && newlineSequences[j].length) || 0;\n if (j === i) {\n // push underline\n const pad = start - (count - (lineLength + newLineSeqLength));\n const length = Math.max(1, end > count ? lineLength - pad : end - start);\n res.push(` | ` + ' '.repeat(pad) + '^'.repeat(length));\n }\n else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + '^'.repeat(length));\n }\n count += lineLength + newLineSeqLength;\n }\n }\n break;\n }\n }\n return res.join('\\n');\n}\n\nfunction normalizeStyle(value) {\n if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item)\n ? parseStringStyle(item)\n : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n }\n else if (isString(value)) {\n return value;\n }\n else if (isObject(value)) {\n return value;\n }\n}\nconst listDelimiterRE = /;(?![^(]*\\))/g;\nconst propertyDelimiterRE = /:([^]+)/;\nconst styleCommentRE = /\\/\\*.*?\\*\\//gs;\nfunction parseStringStyle(cssText) {\n const ret = {};\n cssText\n .replace(styleCommentRE, '')\n .split(listDelimiterRE)\n .forEach(item => {\n if (item) {\n const tmp = item.split(propertyDelimiterRE);\n tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n }\n });\n return ret;\n}\nfunction stringifyStyle(styles) {\n let ret = '';\n if (!styles || isString(styles)) {\n return ret;\n }\n for (const key in styles) {\n const value = styles[key];\n const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n if (isString(value) || typeof value === 'number') {\n // only render valid values\n ret += `${normalizedKey}:${value};`;\n }\n }\n return ret;\n}\nfunction normalizeClass(value) {\n let res = '';\n if (isString(value)) {\n res = value;\n }\n else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const normalized = normalizeClass(value[i]);\n if (normalized) {\n res += normalized + ' ';\n }\n }\n }\n else if (isObject(value)) {\n for (const name in value) {\n if (value[name]) {\n res += name + ' ';\n }\n }\n }\n return res.trim();\n}\nfunction normalizeProps(props) {\n if (!props)\n return null;\n let { class: klass, style } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (style) {\n props.style = normalizeStyle(style);\n }\n return props;\n}\n\n// These tag configs are shared between compiler-dom and runtime-dom, so they\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element\nconst HTML_TAGS = 'html,body,base,head,link,meta,style,title,address,article,aside,footer,' +\n 'header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,' +\n 'figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,' +\n 'data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,' +\n 'time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,' +\n 'canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,' +\n 'th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,' +\n 'option,output,progress,select,textarea,details,dialog,menu,' +\n 'summary,template,blockquote,iframe,tfoot';\n// https://developer.mozilla.org/en-US/docs/Web/SVG/Element\nconst SVG_TAGS = 'svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,' +\n 'defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,' +\n 'feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,' +\n 'feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,' +\n 'feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,' +\n 'fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,' +\n 'foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,' +\n 'mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,' +\n 'polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,' +\n 'text,textPath,title,tspan,unknown,use,view';\nconst VOID_TAGS = 'area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr';\n/**\n * Compiler only.\n * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.\n */\nconst isHTMLTag = /*#__PURE__*/ makeMap(HTML_TAGS);\n/**\n * Compiler only.\n * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.\n */\nconst isSVGTag = /*#__PURE__*/ makeMap(SVG_TAGS);\n/**\n * Compiler only.\n * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.\n */\nconst isVoidTag = /*#__PURE__*/ makeMap(VOID_TAGS);\n\n/**\n * On the client we only need to offer special cases for boolean attributes that\n * have different names from their corresponding dom properties:\n * - itemscope -> N/A\n * - allowfullscreen -> allowFullscreen\n * - formnovalidate -> formNoValidate\n * - ismap -> isMap\n * - nomodule -> noModule\n * - novalidate -> noValidate\n * - readonly -> readOnly\n */\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\nconst isSpecialBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs);\n/**\n * The full list is needed during SSR to produce the correct initial markup.\n */\nconst isBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs +\n `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,` +\n `loop,open,required,reversed,scoped,seamless,` +\n `checked,muted,multiple,selected`);\n/**\n * Boolean attributes should be included if the value is truthy or ''.\n * e.g. `