@swell/apps-sdk 1.0.70 → 1.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +240 -256
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +240 -256
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +240 -256
- package/dist/index.mjs.map +4 -4
- package/dist/src/compatibility/shopify-objects/index.d.ts +2 -1
- package/dist/src/compatibility/shopify-objects/recommendations.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";var he=Object.create;var O4=Object.defineProperty;var de=Object.getOwnPropertyDescriptor;var ce=Object.getOwnPropertyNames;var ue=Object.getPrototypeOf,Ce=Object.prototype.hasOwnProperty;var l2=(n,e)=>{for(var t in e)O4(n,t,{get:e[t],enumerable:!0})},h2=(n,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of ce(e))!Ce.call(n,r)&&r!==t&&O4(n,r,{get:()=>e[r],enumerable:!(i=de(e,r))||i.enumerable});return n};var s4=(n,e,t)=>(t=n!=null?he(ue(n)):{},h2(e||!n||!n.__esModule?O4(t,"default",{value:n,enumerable:!0}):t,n)),me=n=>h2(O4({},"__esModule",{value:!0}),n);var T6={};l2(T6,{DEFAULT_QUERY_PAGE_LIMIT:()=>W5,DeferredShopifyResource:()=>O,FILE_DATA_INCLUDE_QUERY:()=>v3,GEO_DATA:()=>D3,LANG_TO_COUNTRY_CODES:()=>P3,LiquidSwell:()=>P4,MAX_QUERY_PAGE_LIMIT:()=>z5,MockRecordResource:()=>n2,MockRecordSingleton:()=>r2,PageError:()=>R4,PageNotFound:()=>j4,SECTION_GROUP_CONTENT:()=>I4,ShopifyArticle:()=>f4,ShopifyBlog:()=>l3,ShopifyCart:()=>c4,ShopifyCollection:()=>g4,ShopifyCollections:()=>d3,ShopifyCompatibility:()=>m4,ShopifyCustomer:()=>$,ShopifyFont:()=>w4,ShopifyForm:()=>H4,ShopifyLink:()=>y4,ShopifyLocalization:()=>S4,ShopifyOrder:()=>t4,ShopifyPage:()=>C3,ShopifyPaginate:()=>C4,ShopifyPredictiveSearch:()=>u3,ShopifyProduct:()=>v,ShopifyResource:()=>y,ShopifySearch:()=>m3,ShopifyVariant:()=>H,StorefrontResource:()=>T,Swell:()=>Q5,SwellBackendAPI:()=>S3,SwellError:()=>B4,SwellStorefrontCollection:()=>A,SwellStorefrontPagination:()=>M4,SwellStorefrontRecord:()=>_,SwellStorefrontResource:()=>k4,SwellStorefrontSingleton:()=>W,SwellTheme:()=>I5,ThemeColor:()=>S,ThemeFont:()=>D,ThemeForm:()=>V,ThemeFormErrors:()=>K4,adaptShopifyFontData:()=>f3,adaptShopifyFormData:()=>g3,adaptShopifyMenuData:()=>p3,arrayToObject:()=>Z5,brightness:()=>Dt,deferMenuItemUrlAndResource:()=>n4,dehydrateSwellRefsInStorefrontResources:()=>O1,diff:()=>n3,extractSettingsFromForm:()=>p4,findCircularReferences:()=>Jt,findEditorSetting:()=>H5,findThemeSettingsByType:()=>F5,fontMap:()=>$4,forEachKeyDeep:()=>Y5,getAllSections:()=>B5,getBlog:()=>a6,getBlogs:()=>r6,getCategories:()=>e6,getCategory:()=>Y1,getCategoryWithProducts:()=>t6,getContentEntry:()=>e2,getContentList:()=>Q1,getContentModel:()=>i6,getCountryCodeFromLocale:()=>Wt,getEasyblocksBackend:()=>oe,getEasyblocksComponentDefinitions:()=>k6,getEasyblocksPagePropsWithConfigs:()=>S6,getEasyblocksPageTemplate:()=>ae,getEasyblocksPropsFromThemeConfigs:()=>d6,getLayoutSectionGroups:()=>q5,getMenuItemStorefrontUrl:()=>r4,getMenuItemUrlAndResource:()=>M1,getMenuItemValueId:()=>_1,getPage:()=>n6,getPageSections:()=>o3,getProduct:()=>Qt,getProducts:()=>X5,getProductsFiltered:()=>Xt,getSectionGroupProp:()=>a4,getSectionSettingsFromProps:()=>ne,getThemeSettingsFromProps:()=>ie,isArray:()=>zt,isObject:()=>N4,md5:()=>L4,mix:()=>v4,removeCircularReferences:()=>Yt,resolveAsyncResources:()=>J,resolveLookupCollection:()=>v1,resolveMenuItemUrlAndResource:()=>b1,resolveMenuItems:()=>R5,resolveMenuSettings:()=>x5,resolveSectionSettings:()=>a3,resolveThemeSettings:()=>Z4,scopeCustomCSS:()=>G5,stringifyQueryParams:()=>B,systemFonts:()=>Ae,toBase64:()=>J5});module.exports=me(T6);var W1=s4(require("swell-js"),1),J1=s4(require("qs"),1);var d2=require("cache-manager"),c2=require("keyv"),pe=Object.freeze({ttl:1e3*60*60*24}),F=class{client;constructor(e){e=e||{},e.stores=e.stores||[new c2.Keyv],this.client=(0,d2.createCache)({...pe,...e})}async fetch(e,t){return this.client.wrap(e,t)}async get(e){return this.client.get(e)}async set(e,t,i){return this.client.set(e,t,i)}async flush(e){await this.client.del(e)}async flushAll(){await this.client.clear()}};var u2=require("keyv");var fe=30*1e3,A4=class extends F{constructor(){super({stores:ge(),ttl:fe})}};function ge(){return[new u2.Keyv]}var D6=require("cache-manager"),C2=require("keyv");var we=30*1e3,b4=class extends F{constructor(e){super({stores:ye(),ttl:we})}};function ye(){return[new C2.Keyv({serialize:void 0,deserialize:void 0})]}var A3=require("keyv");var U4=class{namespace;store;constructor(e){this.store=e,this.namespace="dummy"}async has(e){return this.get(e)!==void 0}async get(e){return this.store.get(e)}async set(e,t){return this.store.put(e,t)}async delete(e){await this.store.delete(e)}async clear(){let e="",t=!1;for(;!t;){let i=await this.store.list({prefix:`${this.namespace}:`,cursor:e||void 0});e=i.cursor??"",t=i.list_complete,i.keys.length>0&&await Promise.all(i.keys.map(r=>this.store.delete(r.name)))}}};var Se="THEME",ke=90*24*60*60*1e3,T4=class extends F{constructor(e){super({stores:Le(e),ttl:ke})}};function Le(n){let e=[new A3.Keyv];return console.log(`Initializing KV store: ${n?"enabled":"disabled"}`),n&&e.push(new A3.Keyv({namespace:Se,store:new U4(n)})),e}var G1=s4(require("qs"),1),V1=require("lodash-es");var K5=require("lodash-es");var y3=require("lodash-es");var $4=[{family:"monospace",label:"Monospace",fallback:"Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:600,ital:1}],system:!0},{family:"serif",label:"Serif",fallback:"Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:600,ital:1}],system:!0},{family:"sans-serif",label:"Sans-serif",fallback:"BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Helvetica Neue, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:600,ital:1}],system:!0},{family:"Abel",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Abril Fatface",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Alegreya",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Alegreya Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Amiri",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Anonymous Pro",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Arapey",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1}]},{family:"Archivo",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Archivo Narrow",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Arimo",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Armata",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Arvo",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Asap",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Assistant",fallback:"sans-serif",axes:["wght"],variants:[{wght:200},{wght:300},{wght:400},{wght:600},{wght:700},{wght:800}]},{family:"Asul",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"Bio Rhyme",fallback:"serif",axes:["wght"],variants:[{wght:200},{wght:300},{wght:400},{wght:700},{wght:800}]},{family:"Bitter",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700}]},{family:"Cabin",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Cardo",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700}]},{family:"Catamaran",fallback:"serif",axes:["wght"],variants:[{wght:100},{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"Chivo",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Cormorant",fallback:"serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Crimson Text",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"DM Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Domine",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"Dosis",fallback:"sans-serif",axes:["wght"],variants:[{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800}]},{family:"Eczar",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:600},{wght:700},{wght:800}]},{family:"Fira Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Fjalla One",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Glegoo",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"IBM Plex Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Inconsolata",fallback:"sans-serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"Inknut Antiqua",fallback:"serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"Inter",fallback:"sans-serif",axes:["wght"],variants:[{wght:100},{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"Josefin Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Josefin Slab",fallback:"serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Kalam",fallback:"sans-serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:700}]},{family:"Karla",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Kreon",fallback:"serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:700}]},{family:"Lato",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Libre Baskerville",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700}]},{family:"Libre Franklin",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Lobster",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Lobster Two",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Lora",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Maven Pro",fallback:"sans-serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:700},{wght:900}]},{family:"Megrim",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Merriweather Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1}]},{family:"Montserrat",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Mouse Memoirs",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Muli",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Neuton",fallback:"serif",axes:["wght","ital"],variants:[{wght:200},{wght:300},{wght:400},{wght:400,ital:1},{wght:700},{wght:800}]},{family:"News Cycle",fallback:"sans-serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"Newsreader",fallback:"serif",axes:["wght","ital"],variants:[{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1}]},{family:"Nobile",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Noticia Text",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Noto Serif",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Nunito",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Nunito Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Old Standard TT",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700}]},{family:"Open Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1}]},{family:"Open Sans Condensed",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:700}]},{family:"Oswald",fallback:"sans-serif",axes:["wght"],variants:[{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700}]},{family:"Ovo",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Oxygen",fallback:"sans-serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:700}]},{family:"PT Mono",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"PT Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"PT Sans Narrow",fallback:"sans-serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"PT Serif",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Pacifico",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Playball",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Playfair Display",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Poppins",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Prata",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Prompt",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Proza Libre",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1}]},{family:"Quantico",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Quattrocento",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"Quattrocento Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Questrial",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Quicksand",fallback:"sans-serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:500},{wght:700}]},{family:"Rajdhani",fallback:"sans-serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:500},{wght:600},{wght:700}]},{family:"Raleway",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Righteous",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Roboto",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Roboto Condensed",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Roboto Mono",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Roboto Slab",fallback:"serif",axes:["wght"],variants:[{wght:100},{wght:300},{wght:400},{wght:700}]},{family:"Rubik",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Shadows Into Light",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Slabo 13px",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Smooch",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Source Code Pro",fallback:"sans-serif",axes:["wght"],variants:[{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:900}]},{family:"Source Sans Pro",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Space Mono",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Syne",fallback:"sans-serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:600},{wght:700},{wght:800}]},{family:"Tenor Sans",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Tinos",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Titillium Web",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:900}]},{family:"Ubuntu",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Unica One",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Unna",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Varela",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Varela Round",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Vidaloka",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Volkhov",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Vollkorn",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Work Sans",fallback:"sans-serif",axes:["wght"],variants:[{wght:100},{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"BIZ UDPMincho",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"Dela Gothic One",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Hina Mincho",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Kaisei Decol",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:700}]},{family:"Kaisei Opti",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:700}]},{family:"Kaisei Tokumin",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:700},{wght:800}]},{family:"M PLUS 1",fallback:"sans-serif",axes:["wght"],variants:[{wght:100},{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"M PLUS Rounded 1c",fallback:"sans-serif",axes:["wght"],variants:[{wght:100},{wght:300},{wght:400},{wght:500},{wght:700},{wght:800},{wght:900}]},{family:"Mochiy Pop P One",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Murecho",fallback:"sans-serif",axes:["wght"],variants:[{wght:100},{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"Noto Sans Japanese",fallback:"sans-serif",axes:["wght"],variants:[{wght:100},{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"Noto Serif Japanese",fallback:"sans-serif",axes:["wght"],variants:[{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:900}]},{family:"Shippori Mincho",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:600},{wght:700},{wght:800}]},{family:"Zen Kaku Gothic New",fallback:"sans-serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:500},{wght:700},{wght:900}]},{family:"Zen Kurenaido",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Zen Maru Gothic",fallback:"sans-serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:500},{wght:700},{wght:900}]},{family:"Zen Old Mincho",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:600},{wght:700},{wght:900}]}],Ae=$4.filter(n=>n.system).map(n=>n.family);var D=class n{id="";family="sans-serif";weight=400;style="normal";fallback_families="sans-serif";system=!0;variant={wght:400};variants=[];definition;constructor(e){let t,i,r,a;typeof e=="string"?{family:t,style:i,weight:r,variant:a}=n.stringToSetting(e):e&&({family:t,style:i,weight:r,variant:a}=n.resolveSetting(e)),t&&(this.id=typeof e=="string"?e:n.settingToString({family:t,weight:r,style:i,variant:a}),this.family=t,this.style=i||"normal",r&&(this.weight=r),a&&(this.variant=a),this.definition=n.findByFamily(t),this.definition&&(this.fallback_families=this.definition.fallback,this.system=this.definition.system||!1))}static get(e){return e instanceof n?e:new n(e)}static findByFamily(e){return e?$4.find(t=>t.family.toLowerCase()===e.toLowerCase()):void 0}static stringToSetting(e){let[t,i]=e.split(":"),[r,a]=i?.toLowerCase().split("@")||[],o=r?.split(",")||[],s=a?.split(",")||[],l=Number.parseInt(s[o.indexOf("wght")],10);return{family:t,weight:l,style:o.includes("ital")?"italic":o.includes("slnt")?"oblique":"normal",variant:{wght:l,wdth:o.includes("wdth")?Number.parseInt(s[o.indexOf("wdth")],10):void 0,slnt:o.includes("slnt")?Number.parseInt(s[o.indexOf("slnt")],10):void 0,opsz:o.includes("opsz")?Number.parseInt(s[o.indexOf("opsz")],10):void 0,ital:o.includes("ital")?Number.parseInt(s[o.indexOf("ital")],10):void 0}}}static settingToString(e){let{family:t,variant:i}=n.resolveSetting(e);return`${t}:${n.variantToString(i)}`}static variantToString(e){let t=[],i=[];e.ital!==void 0&&(t.push("ital"),i.push(e.ital||0)),e.opsz!==void 0&&(t.push("opsz"),i.push(e.opsz||0)),e.slnt!==void 0&&(t.push("slnt"),i.push(e.slnt||0)),e.wdth!==void 0&&(t.push("wdth"),i.push(e.wdth||0)),t.push("wght"),i.push(e.wght);let r=t.join(","),a=i.join(",");return`${r}@${a}`}static resolveSetting(e){let{family:t,style:i,weight:r,variant:a}=e,o=n.findByFamily(t),s=typeof a?.wdth=="number"?a.wdth:void 0,l=typeof a?.ital=="number"?a.ital:i==="italic"?o?.variants.find(h=>h.ital&&h.ital>0)?.ital:void 0,c=typeof a?.opsz=="number"?a.opsz:void 0,u=typeof a?.slnt=="number"?a.slnt:i==="oblique"?o?.variants.find(h=>h.slnt&&h.slnt>0)?.slnt:void 0;return{family:t,weight:r||a?.wght,style:l!==void 0?"italic":u!==void 0?"oblique":"normal",variant:{wght:r||a?.wght,wdth:s,slnt:u,opsz:c,ital:l}}}static combinedGoogleFontUrl(e){let t=e.map(r=>n.get(r)),i=[];for(let r of t){let a=r.googleFamily();i.includes(a)||i.push(a)}return`https://fonts.googleapis.com/css2?family=${i.join("&family=")}&display=swap`}toString(){return this.id}googleFamily(){if(this.definition){let e=this.definition.axes.sort(),t=this.definition.variants.map(i=>e.map(r=>i[r]||0).join(",")).sort();return`${this.family}:${e.join(",")}@${t.join(";")}`}return""}url(){return`https://fonts.googleapis.com/css2?family=${this.googleFamily()}&display=swap`}face(e={}){return`
|
|
1
|
+
"use strict";var de=Object.create;var U3=Object.defineProperty;var ce=Object.getOwnPropertyDescriptor;var ue=Object.getOwnPropertyNames;var Ce=Object.getPrototypeOf,me=Object.prototype.hasOwnProperty;var d2=(n,e)=>{for(var t in e)U3(n,t,{get:e[t],enumerable:!0})},c2=(n,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of ue(e))!me.call(n,r)&&r!==t&&U3(n,r,{get:()=>e[r],enumerable:!(i=ce(e,r))||i.enumerable});return n};var l3=(n,e,t)=>(t=n!=null?de(Ce(n)):{},c2(e||!n||!n.__esModule?U3(t,"default",{value:n,enumerable:!0}):t,n)),pe=n=>c2(U3({},"__esModule",{value:!0}),n);var _6={};d2(_6,{DEFAULT_QUERY_PAGE_LIMIT:()=>Y5,DeferredShopifyResource:()=>U,FILE_DATA_INCLUDE_QUERY:()=>P4,GEO_DATA:()=>x4,LANG_TO_COUNTRY_CODES:()=>R4,LiquidSwell:()=>x3,MAX_QUERY_PAGE_LIMIT:()=>J5,MockRecordResource:()=>a2,MockRecordSingleton:()=>o2,PageError:()=>j3,PageNotFound:()=>Z3,SECTION_GROUP_CONTENT:()=>F3,ShopifyArticle:()=>g3,ShopifyBlog:()=>h4,ShopifyCart:()=>u3,ShopifyCollection:()=>w3,ShopifyCollections:()=>c4,ShopifyCompatibility:()=>p3,ShopifyCustomer:()=>K,ShopifyFont:()=>y3,ShopifyForm:()=>B3,ShopifyLink:()=>S3,ShopifyLocalization:()=>k3,ShopifyOrder:()=>i3,ShopifyPage:()=>p4,ShopifyPaginate:()=>m3,ShopifyPredictiveSearch:()=>C4,ShopifyProduct:()=>v,ShopifyRecommendations:()=>m4,ShopifyResource:()=>y,ShopifySearch:()=>f4,ShopifyVariant:()=>B,StorefrontResource:()=>T,Swell:()=>e2,SwellBackendAPI:()=>L4,SwellError:()=>q3,SwellStorefrontCollection:()=>A,SwellStorefrontPagination:()=>E3,SwellStorefrontRecord:()=>_,SwellStorefrontResource:()=>L3,SwellStorefrontSingleton:()=>J,SwellTheme:()=>H5,ThemeColor:()=>S,ThemeFont:()=>P,ThemeForm:()=>O,ThemeFormErrors:()=>z3,adaptShopifyFontData:()=>w4,adaptShopifyFormData:()=>y4,adaptShopifyMenuData:()=>g4,arrayToObject:()=>I5,brightness:()=>Pt,deferMenuItemUrlAndResource:()=>r3,dehydrateSwellRefsInStorefrontResources:()=>U1,diff:()=>r4,extractSettingsFromForm:()=>f3,findCircularReferences:()=>Yt,findEditorSetting:()=>q5,findThemeSettingsByType:()=>B5,fontMap:()=>K3,forEachKeyDeep:()=>X5,getAllSections:()=>G5,getBlog:()=>o6,getBlogs:()=>a6,getCategories:()=>t6,getCategory:()=>Q1,getCategoryWithProducts:()=>i6,getContentEntry:()=>i2,getContentList:()=>X1,getContentModel:()=>n6,getCountryCodeFromLocale:()=>Jt,getEasyblocksBackend:()=>se,getEasyblocksComponentDefinitions:()=>L6,getEasyblocksPagePropsWithConfigs:()=>k6,getEasyblocksPageTemplate:()=>oe,getEasyblocksPropsFromThemeConfigs:()=>c6,getLayoutSectionGroups:()=>V5,getMenuItemStorefrontUrl:()=>a3,getMenuItemUrlAndResource:()=>E1,getMenuItemValueId:()=>M1,getPage:()=>r6,getPageSections:()=>s4,getProduct:()=>Xt,getProducts:()=>t2,getProductsFiltered:()=>e6,getSectionGroupProp:()=>o3,getSectionSettingsFromProps:()=>re,getThemeSettingsFromProps:()=>ne,isArray:()=>Wt,isObject:()=>I3,md5:()=>A3,mix:()=>D3,removeCircularReferences:()=>Qt,resolveAsyncResources:()=>Y,resolveLookupCollection:()=>D1,resolveMenuItemUrlAndResource:()=>T1,resolveMenuItems:()=>Z5,resolveMenuSettings:()=>j5,resolveSectionSettings:()=>o4,resolveThemeSettings:()=>N3,scopeCustomCSS:()=>O5,stringifyQueryParams:()=>q,systemFonts:()=>be,toBase64:()=>Q5});module.exports=pe(_6);var J1=l3(require("swell-js"),1),Y1=l3(require("qs"),1);var u2=require("cache-manager"),C2=require("keyv"),fe=Object.freeze({ttl:1e3*60*60*24}),H=class{client;constructor(e){e=e||{},e.stores=e.stores||[new C2.Keyv],this.client=(0,u2.createCache)({...fe,...e})}async fetch(e,t){return this.client.wrap(e,t)}async get(e){return this.client.get(e)}async set(e,t,i){return this.client.set(e,t,i)}async flush(e){await this.client.del(e)}async flushAll(){await this.client.clear()}};var m2=require("keyv");var ge=30*1e3,b3=class extends H{constructor(){super({stores:we(),ttl:ge})}};function we(){return[new m2.Keyv]}var P6=require("cache-manager"),p2=require("keyv");var ye=30*1e3,T3=class extends H{constructor(e){super({stores:Se(),ttl:ye})}};function Se(){return[new p2.Keyv({serialize:void 0,deserialize:void 0})]}var T4=require("keyv");var $3=class{namespace;store;constructor(e){this.store=e,this.namespace="dummy"}async has(e){return this.get(e)!==void 0}async get(e){return this.store.get(e)}async set(e,t){return this.store.put(e,t)}async delete(e){await this.store.delete(e)}async clear(){let e="",t=!1;for(;!t;){let i=await this.store.list({prefix:`${this.namespace}:`,cursor:e||void 0});e=i.cursor??"",t=i.list_complete,i.keys.length>0&&await Promise.all(i.keys.map(r=>this.store.delete(r.name)))}}};var ke="THEME",Le=90*24*60*60*1e3,_3=class extends H{constructor(e){super({stores:Ae(e),ttl:Le})}};function Ae(n){let e=[new T4.Keyv];return console.log(`Initializing KV store: ${n?"enabled":"disabled"}`),n&&e.push(new T4.Keyv({namespace:ke,store:new $3(n)})),e}var V1=l3(require("qs"),1),O1=require("lodash-es");var W5=require("lodash-es");var k4=require("lodash-es");var K3=[{family:"monospace",label:"Monospace",fallback:"Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:600,ital:1}],system:!0},{family:"serif",label:"Serif",fallback:"Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:600,ital:1}],system:!0},{family:"sans-serif",label:"Sans-serif",fallback:"BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Helvetica Neue, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:600,ital:1}],system:!0},{family:"Abel",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Abril Fatface",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Alegreya",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Alegreya Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Amiri",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Anonymous Pro",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Arapey",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1}]},{family:"Archivo",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Archivo Narrow",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Arimo",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Armata",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Arvo",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Asap",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Assistant",fallback:"sans-serif",axes:["wght"],variants:[{wght:200},{wght:300},{wght:400},{wght:600},{wght:700},{wght:800}]},{family:"Asul",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"Bio Rhyme",fallback:"serif",axes:["wght"],variants:[{wght:200},{wght:300},{wght:400},{wght:700},{wght:800}]},{family:"Bitter",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700}]},{family:"Cabin",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Cardo",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700}]},{family:"Catamaran",fallback:"serif",axes:["wght"],variants:[{wght:100},{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"Chivo",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Cormorant",fallback:"serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Crimson Text",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"DM Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Domine",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"Dosis",fallback:"sans-serif",axes:["wght"],variants:[{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800}]},{family:"Eczar",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:600},{wght:700},{wght:800}]},{family:"Fira Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Fjalla One",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Glegoo",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"IBM Plex Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Inconsolata",fallback:"sans-serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"Inknut Antiqua",fallback:"serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"Inter",fallback:"sans-serif",axes:["wght"],variants:[{wght:100},{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"Josefin Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Josefin Slab",fallback:"serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Kalam",fallback:"sans-serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:700}]},{family:"Karla",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Kreon",fallback:"serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:700}]},{family:"Lato",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Libre Baskerville",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700}]},{family:"Libre Franklin",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Lobster",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Lobster Two",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Lora",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Maven Pro",fallback:"sans-serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:700},{wght:900}]},{family:"Megrim",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Merriweather Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1}]},{family:"Montserrat",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Mouse Memoirs",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Muli",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Neuton",fallback:"serif",axes:["wght","ital"],variants:[{wght:200},{wght:300},{wght:400},{wght:400,ital:1},{wght:700},{wght:800}]},{family:"News Cycle",fallback:"sans-serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"Newsreader",fallback:"serif",axes:["wght","ital"],variants:[{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1}]},{family:"Nobile",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Noticia Text",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Noto Serif",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Nunito",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Nunito Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Old Standard TT",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700}]},{family:"Open Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1}]},{family:"Open Sans Condensed",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:700}]},{family:"Oswald",fallback:"sans-serif",axes:["wght"],variants:[{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700}]},{family:"Ovo",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Oxygen",fallback:"sans-serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:700}]},{family:"PT Mono",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"PT Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"PT Sans Narrow",fallback:"sans-serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"PT Serif",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Pacifico",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Playball",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Playfair Display",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Poppins",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Prata",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Prompt",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Proza Libre",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1}]},{family:"Quantico",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Quattrocento",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"Quattrocento Sans",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Questrial",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Quicksand",fallback:"sans-serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:500},{wght:700}]},{family:"Rajdhani",fallback:"sans-serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:500},{wght:600},{wght:700}]},{family:"Raleway",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:800},{wght:800,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Righteous",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Roboto",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Roboto Condensed",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Roboto Mono",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:100},{wght:100,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Roboto Slab",fallback:"serif",axes:["wght"],variants:[{wght:100},{wght:300},{wght:400},{wght:700}]},{family:"Rubik",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Shadows Into Light",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Slabo 13px",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Smooch",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Source Code Pro",fallback:"sans-serif",axes:["wght"],variants:[{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:900}]},{family:"Source Sans Pro",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Space Mono",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Syne",fallback:"sans-serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:600},{wght:700},{wght:800}]},{family:"Tenor Sans",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Tinos",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Titillium Web",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:200},{wght:200,ital:1},{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:900}]},{family:"Ubuntu",fallback:"sans-serif",axes:["wght","ital"],variants:[{wght:300},{wght:300,ital:1},{wght:400},{wght:400,ital:1},{wght:500},{wght:500,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Unica One",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Unna",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Varela",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Varela Round",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Vidaloka",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Volkhov",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:700},{wght:700,ital:1}]},{family:"Vollkorn",fallback:"serif",axes:["wght","ital"],variants:[{wght:400},{wght:400,ital:1},{wght:600},{wght:600,ital:1},{wght:700},{wght:700,ital:1},{wght:900},{wght:900,ital:1}]},{family:"Work Sans",fallback:"sans-serif",axes:["wght"],variants:[{wght:100},{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"BIZ UDPMincho",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:700}]},{family:"Dela Gothic One",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Hina Mincho",fallback:"serif",axes:["wght"],variants:[{wght:400}]},{family:"Kaisei Decol",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:700}]},{family:"Kaisei Opti",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:700}]},{family:"Kaisei Tokumin",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:700},{wght:800}]},{family:"M PLUS 1",fallback:"sans-serif",axes:["wght"],variants:[{wght:100},{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"M PLUS Rounded 1c",fallback:"sans-serif",axes:["wght"],variants:[{wght:100},{wght:300},{wght:400},{wght:500},{wght:700},{wght:800},{wght:900}]},{family:"Mochiy Pop P One",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Murecho",fallback:"sans-serif",axes:["wght"],variants:[{wght:100},{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"Noto Sans Japanese",fallback:"sans-serif",axes:["wght"],variants:[{wght:100},{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:800},{wght:900}]},{family:"Noto Serif Japanese",fallback:"sans-serif",axes:["wght"],variants:[{wght:200},{wght:300},{wght:400},{wght:500},{wght:600},{wght:700},{wght:900}]},{family:"Shippori Mincho",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:600},{wght:700},{wght:800}]},{family:"Zen Kaku Gothic New",fallback:"sans-serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:500},{wght:700},{wght:900}]},{family:"Zen Kurenaido",fallback:"sans-serif",axes:["wght"],variants:[{wght:400}]},{family:"Zen Maru Gothic",fallback:"sans-serif",axes:["wght"],variants:[{wght:300},{wght:400},{wght:500},{wght:700},{wght:900}]},{family:"Zen Old Mincho",fallback:"serif",axes:["wght"],variants:[{wght:400},{wght:500},{wght:600},{wght:700},{wght:900}]}],be=K3.filter(n=>n.system).map(n=>n.family);var P=class n{id="";family="sans-serif";weight=400;style="normal";fallback_families="sans-serif";system=!0;variant={wght:400};variants=[];definition;constructor(e){let t,i,r,a;typeof e=="string"?{family:t,style:i,weight:r,variant:a}=n.stringToSetting(e):e&&({family:t,style:i,weight:r,variant:a}=n.resolveSetting(e)),t&&(this.id=typeof e=="string"?e:n.settingToString({family:t,weight:r,style:i,variant:a}),this.family=t,this.style=i||"normal",r&&(this.weight=r),a&&(this.variant=a),this.definition=n.findByFamily(t),this.definition&&(this.fallback_families=this.definition.fallback,this.system=this.definition.system||!1))}static get(e){return e instanceof n?e:new n(e)}static findByFamily(e){return e?K3.find(t=>t.family.toLowerCase()===e.toLowerCase()):void 0}static stringToSetting(e){let[t,i]=e.split(":"),[r,a]=i?.toLowerCase().split("@")||[],o=r?.split(",")||[],s=a?.split(",")||[],l=Number.parseInt(s[o.indexOf("wght")],10);return{family:t,weight:l,style:o.includes("ital")?"italic":o.includes("slnt")?"oblique":"normal",variant:{wght:l,wdth:o.includes("wdth")?Number.parseInt(s[o.indexOf("wdth")],10):void 0,slnt:o.includes("slnt")?Number.parseInt(s[o.indexOf("slnt")],10):void 0,opsz:o.includes("opsz")?Number.parseInt(s[o.indexOf("opsz")],10):void 0,ital:o.includes("ital")?Number.parseInt(s[o.indexOf("ital")],10):void 0}}}static settingToString(e){let{family:t,variant:i}=n.resolveSetting(e);return`${t}:${n.variantToString(i)}`}static variantToString(e){let t=[],i=[];e.ital!==void 0&&(t.push("ital"),i.push(e.ital||0)),e.opsz!==void 0&&(t.push("opsz"),i.push(e.opsz||0)),e.slnt!==void 0&&(t.push("slnt"),i.push(e.slnt||0)),e.wdth!==void 0&&(t.push("wdth"),i.push(e.wdth||0)),t.push("wght"),i.push(e.wght);let r=t.join(","),a=i.join(",");return`${r}@${a}`}static resolveSetting(e){let{family:t,style:i,weight:r,variant:a}=e,o=n.findByFamily(t),s=typeof a?.wdth=="number"?a.wdth:void 0,l=typeof a?.ital=="number"?a.ital:i==="italic"?o?.variants.find(h=>h.ital&&h.ital>0)?.ital:void 0,c=typeof a?.opsz=="number"?a.opsz:void 0,u=typeof a?.slnt=="number"?a.slnt:i==="oblique"?o?.variants.find(h=>h.slnt&&h.slnt>0)?.slnt:void 0;return{family:t,weight:r||a?.wght,style:l!==void 0?"italic":u!==void 0?"oblique":"normal",variant:{wght:r||a?.wght,wdth:s,slnt:u,opsz:c,ital:l}}}static combinedGoogleFontUrl(e){let t=e.map(r=>n.get(r)),i=[];for(let r of t){let a=r.googleFamily();i.includes(a)||i.push(a)}return`https://fonts.googleapis.com/css2?family=${i.join("&family=")}&display=swap`}toString(){return this.id}googleFamily(){if(this.definition){let e=this.definition.axes.sort(),t=this.definition.variants.map(i=>e.map(r=>i[r]||0).join(",")).sort();return`${this.family}:${e.join(",")}@${t.join(";")}`}return""}url(){return`https://fonts.googleapis.com/css2?family=${this.googleFamily()}&display=swap`}face(e={}){return`
|
|
2
2
|
@font-face {
|
|
3
3
|
font-family: '${this.family}';
|
|
4
4
|
font-style: ${this.style};
|
|
5
5
|
font-weight: ${this.weight};${e.font_display?`
|
|
6
6
|
font-display: ${e.font_display};`:""}
|
|
7
7
|
}
|
|
8
|
-
`.replace(/^ */gm,"").trim()}modify(e,t){switch(e){case"style":if(this.resolveValidProperty(e,t)){this.style=t,t==="oblique"?this.variant.slnt=1:t==="italic"?this.variant.ital=1:(this.variant.slnt=0,this.variant.ital=0);break}return null;case"weight":let r;switch(t){case"normal":r=400;break;case"bold":r=700;break;case"lighter":this.weight<=400?r=100:this.weight<=700?r=400:r=700;break;case"bolder":this.weight<400?r=400:this.weight<700?r=700:r=900;break;default:t[0]==="+"?r=this.weight+Number.parseInt(t.slice(1),10):t[0]==="-"?r=this.weight-Number.parseInt(t.slice(1),10):r=Number.parseInt(t,10);break}let a=this.resolveValidProperty(e,r);if(a){this.weight=r,this.variant.wght=a;break}return null;case"wght":case"wdth":case"slnt":case"opsz":case"ital":let o=this.resolveValidProperty(e,t);if(o){this.variant[e]=o,e==="slnt"&&o>0?this.style="oblique":e==="ital"&&o>0?this.style="italic":(e==="slnt"||e==="ital")&&(this.style="normal");break}return null;default:throw new Error(`Invalid font property: ${e}`)}return this}resolveValidProperty(e,t){if(!this.definition)return null;if(e==="style")switch(t){case"italic":return this.definition.axes.includes("ital")?"italic":null;case"oblique":return this.definition.axes.includes("slnt")?"oblique":null;default:return null}let i=typeof t=="string"?Number.parseInt(t,10):t;switch(e){case"wght":case"weight":return this.definition.variants.find(r=>r.wght===i)||null;case"wdth":return this.definition.variants.find(r=>r.wdth===i)||null;case"slnt":return this.definition.variants.find(r=>r.slnt===i)||null;case"opsz":return this.definition.variants.find(r=>r.opsz===i)||null;case"ital":return this.definition.variants.find(r=>r.ital===i)||null;default:return null}}};var V=class{id;success=!1;errors=null;constructor(e){this.id=e}setSuccess(e=!0){this.success=e}setParams(e){Object.assign(this,e)}setErrors(e){this.errors=new K4(e)}clearErrors(){this.errors=null}},K4=class{errors;constructor(e){this.errors=e||[]}*[Symbol.iterator](){yield*this.errors}some(e,t){return this.errors.some(i=>e(i?.code),t)}};var b=require("lodash-es");var Y4=require("lodash-es");var $6=require("liquidjs");var be=Object.prototype.toString,W6=Object.hasOwnProperty,z4=class{liquidMethodMissing(e){}},l4=class extends z4{i;length;name;test="test";index;index0;first;last;rindex;rindex0;constructor(e,t,i){super(),this.length=e,this.name=`${i}-${t}`,this.i=0,this.index=1,this.index0=0,this.first=!0,this.last=!1,this.rindex=e,this.rindex0=e-1}next(){this.i++,this.index++,this.index0++,this.first=!1,this.last=this.i===this.length-1,this.rindex--,this.rindex0--}valueOf(){return JSON.stringify(this)}};function X(n){return n instanceof z4&&p2(n.valueOf)?n.valueOf():n}function m2(n){return typeof n=="string"}function b3(n){return typeof n=="number"}function p2(n){return typeof n=="function"}function f2(n){return n==null}function h4(n){return be.call(n)==="[object Array]"}function P(n){let e=typeof n;return n!==null&&(e==="object"||e==="function")}function Te(n){return P(n)&&Symbol.iterator in n}function T3(n){return P(n)&&typeof n.then=="function"}function g2(n,e){return!_e(n,e)}function _e(n,e){return e.opts.jsTruthy?!n:n===!1||n===void 0||n===null}function _4(n){return P(n)&&p2(n.equals)}function w2(n){return f2(n)?[]:h4(n)?n:[n]}function W4(n){return n=X(n),h4(n)?n:m2(n)&&n.length>0?[n]:Te(n)?Array.from(n):P(n)?Object.entries(n).reduce((e,[t,i])=>(e.push({id:t,...i}),e),[]):[]}function _3(n){return n=X(n),m2(n)?n:f2(n)?"":h4(n)?n.map(e=>_3(e)).join(""):String(n)}function R(n){if(Array.isArray(n))return n.reduce((e,t,i)=>{if(Array.isArray(t)){let[r,a]=t;e[r]=a}else i%2===0&&(e[t]=n[i+1]);return e},{});if(P(n)){let e={},t=Object.values(n);for(let i=0;i<t.length;i+=2)e[t[i]]=t[i+1];return e}return{}}async function J4(n,e=0){let t=n;t instanceof T&&(t=await t.resolve()),await y2(t);let i=[];return JSON.stringify(t,(r,a)=>{if(typeof a=="object"&&a!==null){if(i.includes(a))return;i.push(a)}return a},e)}async function y2(n,e=new WeakSet){await S2(n,async(t,i)=>{if(!P(i))return;let r=i[t];if(T3(r))i[t]=await r,await y2(i[t],e);else if(typeof r=="object"&&r!==null){if(e.has(r))return!1;e.add(r)}})}async function S2(n,e){if(!(typeof n!="object"||n===null)){for(let t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&await e(t,n)!==!1){let r=n[t];typeof r=="object"&&r!==null&&await S2(r,e)}}}var y=class n{props;stringProp;linkProps;constructor(e,t,i){return this.props=e,this.stringProp=t,this.linkProps=i,new Proxy(e,{get(r,a){let o=r;switch(a){case"toJSON":return e;case"clone":return()=>new n((0,Y4.cloneDeep)(e),(0,Y4.cloneDeep)(t),(0,Y4.cloneDeep)(i));case"toString":{if(t)return()=>e[t];break}default:break}return o[a]instanceof O?o[a].resolve().then(s=>(o[a]=s,s)).catch(s=>(console.log(s),o[a]=null,null)):o[a]},getPrototypeOf(){return n.prototype}})}valueOf(){return this.stringProp?this.props[this.stringProp]:this}clone(){return new n({})}},O=class{handler;result;constructor(e){this.handler=e}async resolve(){return this.result===void 0&&(this.result=Promise.resolve().then(()=>this.handler()).then(e=>(this.result=e!==void 0?e:null,e))),this.result}};function w(n){return new O(n)}function Me(n){return P(n)&&(n instanceof Promise||typeof n._resolve=="function")}function k2(n){return P(n)&&typeof n._resolve=="function"}async function Ee(n){return Array.isArray(n)?Promise.all(n.map(e=>k2(e)?e._resolve():e)):k2(n)?n._resolve():n}async function L2(n,e){return Ee(n).then(t=>Array.isArray(n)&&Array.isArray(t)?e(...t.map(i=>i||{})):Me(t)?L2(t,e):e(t||{})).catch(t=>(console.log(t),null))}function d(n,e){return new O(()=>L2(n,e))}function M3(n,e,t,i,r){return d(e,a=>a[t]?._cloneWithCompatibilityResult(o=>({results:o?.results?.map(s=>{let l=i(n,s);return r&&r(l,s),l})}))||[])}function j(n,e,t,i){return e instanceof y?e.clone():new y({alt:d(e,r=>r.alt||t?.name),aspect_ratio:1,"attached_to_variant?":!0,height:w(()=>e.height),id:d(e,r=>r.file?.id),media_type:"image",position:null,presentation:{focal_point:null},preview_image:w(()=>e.file),product_id:w(()=>t?.id),src:d(e,async r=>r.file&&ve(r.file)),variants:null,width:w(()=>e.width)})}function ve(n){return new y({url:n.url,width:n.width,height:n.height},"url")}function U(n,e){return e instanceof y?e.clone():new y({alt:e.alt,id:e.id||e.file?.id,media_type:"image",position:null,preview_image:e.file})}function H(n,e,t,i=0){if(e instanceof y)return e.clone();let r=t||e.product||{};return new y({available:d(e,a=>a.stock_status==="in_stock"||!a.stock_status),barcode:null,compare_at_price:w(()=>e.compare_price),featured_image:d([r,e],(a,o)=>{let s=o.images?.[0]||a.images?.[0];return s&&U(n,s)}),featured_media:d([r,e],(a,o)=>{let s=o.images?.[0]||a.images?.[0];return s&&U(n,s)}),id:d(e,a=>a.id),image:d([r,e],(a,o)=>{let s=o.images?.[0]||a.images?.[0];return s&&U(n,s)}),incoming:!1,inventory_management:null,inventory_policy:null,matched:!1,metafields:null,next_incoming_date:null,options:De(r,e),option1:E3(r,e,0),option2:E3(r,e,1),option3:E3(r,e,2),price:w(()=>e.price!==null&&e.price!==void 0?e.price:r.price),product:d(r,a=>v(n,a,i+1)),quantity_price_breaks:null,"quantity_price_breaks_configured?":d(e,()=>e.prices?.length>0),quantity_rule:{min:1,max:null,increment:1},requires_selling_plan:!1,requires_shipping:d(r,()=>r.delivery?.contains("shipment")),selected:!1,selected_selling_plan_allocation:null,selling_plan_allocations:null,sku:d(e,a=>a.sku),store_availabilities:null,taxable:!0,title:w(()=>e.name),unit_price:w(()=>e.price),unit_price_measurement:null,url:w(()=>r.url),weight:d(e,a=>a.weight),weight_in_unit:w(()=>e.weight_unit),weight_unit:d(e,a=>a.weight_unit)})}function De(n,e){return d([n,e],(t,i)=>{let r=t.options?.reduce((a,o)=>{for(let s of o.values)a[s.id]||(a[s.id]=s.name);return a},{});return i.option_value_ids?.map(a=>r[a])})}function E3(n,e,t){return d([n,e],(i,r)=>{let a=i.options?.reduce((o,s)=>{for(let l of s.values)o[l.id]||(o[l.id]=l.name);return o},{});return r.option_value_ids?.[t]&&a[r.option_value_ids[t]]})}function v(n,e,t=0){return e instanceof y?e.clone():t>1?null:new y({available:d(e,i=>i.stock_status==="in_stock"||!i.stock_status),collections:[],compare_at_price:w(()=>e.compare_price),compare_at_price_max:null,compare_at_price_min:null,compare_at_price_varies:!1,content:w(()=>e.description),created_at:w(()=>e.date_created),description:d(e,i=>i.description),featured_image:d(e,i=>i.images?.[0]&&j(n,i.images[0],i)),featured_media:d(e,i=>i.images?.[0]&&U(n,i.images[0])),first_available_variant:d(e,i=>i.variants?.results?.find(r=>r.stock_status==="in_stock"||r.stock_status===null)),"gift_card?":d(e,i=>i.type==="giftcard"),handle:w(()=>e.slug),has_only_default_variant:d(e,i=>!i.options?.length),id:d(e,i=>i.id),images:d(e,i=>i.images?.map(r=>r&&j(n,r,i))),media:d(e,i=>i.images?.map(r=>U(n,r))),metafields:null,options:d(e,i=>i.options?.map(r=>r.active&&r.name).filter(Boolean)),options_by_name:d(e,i=>i.options?.filter(r=>r.active).reduce((r,a,o)=>({...r,[a.name?.toLowerCase()]:{name:a.name,position:o+1,selected_value:null,values:a.values?.map(s=>A2({available:!0,id:s.id,name:s.name,product_url:null,selected:!1,swatch:null,variant:null}))}}),{})),options_with_values:d(e,i=>{let a=b2(i,n.swell.queryParams)?.option_value_ids||[];return i.options?.map((o,s)=>({name:o.name,position:s+1,selected_value:null,values:o.values?.map(l=>A2({available:!0,id:l.id,name:l.name,product_url:null,selected:a.includes(l.id),swatch:null,variant:null}))}))}),price:d(e,i=>i.price),price_max:d(e,i=>i.variants?.results?.reduce((r,a)=>Math.max(r,a.price),0)),price_min:d(e,i=>i.variants?.results?.reduce((r,a)=>Math.min(r,a.price),1/0)),price_varies:d(e,i=>i.variants?.results?.some(r=>r.price!==i.price)),published_at:w(()=>e.date_created),"quantity_price_breaks_configured?":d(e,i=>i.prices?.length>0),quantity_rule:{min:1,max:null,increment:1},requires_selling_plan:!1,selected_or_first_available_selling_plan_allocation:null,selected_or_first_available_variant:d(e,i=>{let r=b2(i,n.swell.queryParams);return r?H(n,r,i,t+1):v(n,i,t+1)}),selected_selling_plan:null,selected_variant:null,selling_plan_groups:null,tags:d(e,i=>i.tags),template_suffix:null,title:w(()=>e.name),type:d(e,i=>i.type),url:d(e,i=>`/products/${i.slug}`),variants:d(e,i=>i.variants?.results?.map(r=>H(n,r,i,t+1)).reverse()),vendor:null})}function A2(n){return new y(n,"name")}function b2(n,e){let{variant:t,option_values:i}=e,r=Pe(n),a=null;if(t)a=r.find(o=>o.id===t);else if(i){let o=i.split(",");a=r.find(s=>s.option_value_ids.every(l=>o.includes(l)))}return a||r?.[0]||null}function Pe(n){return(n.variants?.results?.slice()?.reverse()||[]).filter(e=>e.stock_status==="in_stock"||!e.stock_status)}function d4(n,e,t,i={}){return new y({...e,discount_allocations:e.discounts?.map(r=>{let a=t.discounts?.find(s=>s.id===r.id),o=(a?.source_id===t.coupon_id?t.coupon?.name:t.promotions?.results?.find(s=>a?.source_id===s.id)?.name)||a?.source_id;return[{amount:r.amount,discount_application:a&&{target_selection:a.type==="order"?"all":["shipment","product"].includes(a.type)?"entitled":"explicit",target_type:a.type==="shipment"?"shipping_line":"line_item",title:o,total_allocated_amount:a.amount,type:a.type==="promo"?"automatic":a.type==="coupon"?"discount_code":"manual",value:a.rule?.value_type==="fixed"?a.rule?.value_fixed:a.rule?.value_percent,value_type:a.rule?.value_type==="fixed"?"fixed_amount":"percentage"}}]}),error_message:null,final_line_price:e.price_total-e.discount_total,final_price:e.price-e.discount_each,fulfillment_service:"manual",gift_card:e.delivery==="giftcard",grams:e.shipment_weight,id:e.id,image:d([e.product,e.variant],(r,a)=>r?.images?.[0]&&j(n,r.images?.[0],r,a)),item_components:e.bundle_items?.map(r=>d4(n,r,t,{...i,bundle:!0})),key:e.id,line_level_discount_allocations:[],line_level_total_discount:e.discount_total,message:null,options_with_values:e.options,original_line_price:e.price*e.quantity,original_price:e.price,product:d(e.product,()=>e.product&&v(n,e.product)),product_id:e.product_id,properties:e.metadata,quantity:e.quantity,requires_shipping:e.delivery==="shipment",selling_plan_allocation:null,sku:d(e.product,r=>r.sku),successfully_fulfilled_quantity:e.quantity_delivered,tax_lines:e.taxes?.map(r=>{let a=t.taxes?.find(o=>o.id===r.id);return{price:r.amount,rate:(a?.rate||0)/100,rate_percentage:a?.rate||0,title:r.name}}),taxable:e.tax_total>0,title:d([e.product,e.variant],(r,a)=>`${r?.name||e.product_id}${a?.name?` - ${a.name}`:""}`),url:d(e.product,r=>`/products/${r.slug}`),url_to_remove:null,variant:d([e.product,e.variant],()=>e.variant?H(n,e.variant,e.product):v(n,e.product)),vendor:null,discounts:null,line_price:e.price_total,price:e.price,total_discount:e.discount_total})}function Q4(n,e="quantity"){return n?.reduce((t,i)=>t+i[e],0)||0}function c4(n,e){return e instanceof y?e.clone():new y({attributes:w(()=>e.metadata),cart_level_discount_applications:[],checkout_charge_amount:w(()=>e.grand_total),currency:d(e,t=>t.currency),discount_applications:[],duties_included:w(()=>e.item_tax_included),"empty?":w(()=>!e.items?.length),item_count:d(e,t=>Q4(t.items)),items:d(e,t=>t.items?.map(i=>d4(n,i,t))),items_subtotal_price:w(()=>e.sub_total),note:w(()=>e.comments),original_total_price:d(e,t=>t.sub_total+t.item_discount),requires_shipping:w(()=>!!e.shipment_delivery),taxes_included:w(()=>!!e.item_tax_included),total_discount:w(()=>e.discount_total),total_price:w(()=>e.grand_total),total_weight:w(()=>e.item_shipment_weight)})}function e4(n,e,t){return e instanceof y?e.clone():new y({address1:d(e,i=>i.address1),address2:d(e,i=>i.address2),city:d(e,i=>i.city),company:d(e,i=>i.company),country:d(e,i=>xe(n,i.country)),country_code:d(e,i=>i.country_code),first_name:d(e,i=>i.first_name||t?.first_name),id:d(e,i=>i.id),last_name:d(e,i=>i.last_name||t?.last_name),name:d(e,i=>i.name||t?.name),phone:d(e,i=>i.phone),province:d(e,i=>i.state),province_code:d(e,i=>String(i.state||"").substring(0,2)),street:d(e,i=>T2(i.address1,i.address2)),summary:d(e,i=>T2(i.name||t?.name,i.company,i.address1,i.address2,i.city,i.state,i.country)),url:d(e,i=>`/account/addresses/${i.id}`),zip:d(e,i=>i.zip)})}function T2(...n){return n.filter(Boolean).join(`
|
|
9
|
-
`)}function xe(n,e){return new y({available_languages:[],continent:"",currency:"",iso_code:e,market:null,name:e,"popular?":!0,unit_system:"metric"},"iso_code")}function t4(n,e,t){if(e instanceof y)return e.clone();let i=t||e.account,r=d(e,a=>a.items?.map(o=>d4(n,o,a,{order:!0})));return new y({attributes:w(()=>e.metadata),billing_address:d(e,()=>e4(n,e.billing)),cancelled:w(()=>e.canceled),cancelled_at:w(()=>e.date_canceled),confirmation_number:w(()=>e.number),created_at:w(()=>e.date_created),customer:i&&w(()=>$(n,i)),customer_order_url:d(e,a=>`/account/orders/${a.id}`),customer_url:d(e,a=>`/account/orders/${a.id}`),email:i&&d(i,a=>a.email),financial_status:d(e,a=>_2(a)),financial_status_label:d(e,a=>Re(a)),fulfillment_status:d(e,a=>M2(a)),fulfillment_status_label:d(e,a=>je(a)),id:d(e,a=>a.id),item_count:d(e,a=>Q4(a.items)),line_items:r,line_items_subtotal_price:w(()=>e.sub_total),name:w(()=>e.number),number:d(e,a=>a.number),note:w(()=>e.comments),phone:i&&d([e,i],(a,o)=>a.billing?.phone||a.shipping.phone||o.phone),shipping_address:d(e,()=>e4(n,e.shipping)),shipping_methods:w(()=>{let a=Ie(e);return a&&[a]}),shipping_price:w(()=>e.shipment_total),subtotal_line_items:r,subtotal_price:w(()=>e.sub_total),tags:null,tax_price:w(()=>e.tax_total),total_discounts:w(()=>e.discount_total),total_net_amount:w(()=>e.grand_total),total_price:w(()=>e.grand_total),total_refunded_amount:w(()=>e.refund_total)})}function _2(n){return Ne(n)?"refund_due":n.payment_total>0&&n.payment_total>n.refund_total&&n.payment_total<n.grand_total&&Ze(n)>0?"partially_paid":n.refund_total>0&&n.refund_total<n.payment_total?"partially_refunded":n.refund_total>0&&n.refund_total===n.payment_total?"refunded":n.payment_total>0&&n.payment_balance===0?"paid":n.authorized_payment_id&&!n.paid?"authorized":n.grand_total>0?"unpaid":"complete"}function M2(n){return n.canceled?"canceled":n.hold||n.status==="hold"?"on_hold":n.delivered?n.item_quantity_returned>0||n.return_total>0?n.item_quantity_returned===n.item_quantity?"returned":"rartially_returned":"fulfilled":n.item_quantity_delivered>0?"partially_fulfilled":n.item_quantity_deliverable>0?"unfulfilled":"complete"}function Re(n){return E2(_2(n))}function je(n){return E2(M2(n))}function E2(n){let e=n.replace(/\_/g," ");return e.charAt(0).toUpperCase()+e.slice(1)}function Ze(n){return!n.canceled&&n.payment_balance<0?-n.payment_balance:0}function Ne(n){if(n.canceled)return n.payment_total-n.refund_total;if(n.payment_balance>0)return n.payment_balance}function Ie(n){return n.shipping?.service?new y({id:n.shipping.service,handle:`${n.shipping.service}-${n.shipping.price}`,original_price:n.shipment_price,price:n.shipment_total,tax_lines:[],title:n.shipping.service_name||n.shipping.service}):null}function $(n,e){return e instanceof y?e.clone():new y({accepts_marketing:w(()=>e.email_optin),addresses:M3(n,e,"addresses",e4),addresses_count:d(e.addresses,t=>t.count||0),"b2b?":d(e,()=>e.type==="business"),company_available_locations:[],current_company:null,current_location:null,default_address:d(e,t=>e4(n,t.shipping||t.billing||{},t)),email:d(e,t=>t.email),first_name:d(e,t=>t.first_name),has_account:!0,"has_avatar?":!1,id:d(e,t=>t.id),last_name:d(e,t=>t.last_name),last_order:w(()=>Fe(n,e)),name:d(e,t=>t.name),orders:M3(n,e,"orders",t4),orders_count:w(()=>e.order_count),phone:d(e,t=>t.phone||t.shipping?.phone||t.billing?.phone),tags:d(e,t=>t.tags||[t.group]),tax_exempt:w(()=>e.tax_exempt),total_spent:w(()=>e.order_value)})}async function Fe(n,e){let t=await e.id,i=await n.swell.getCachedResource(`last-order-${t}`,[],async()=>(await n.swell.storefront.account.listOrders({limit:1}))?.results?.[0]);if(i)return t4(n,i,e)}var v3={url:"/:themes:configs/{id}/file/data",conditions:{type:"theme",file:{$or:[{$and:[{content_type:{$regex:"^(?!image)"}},{content_type:{$regex:"^(?!video)"}}]},{content_type:{$regex:"^image/svg"}}]},$or:[{file_path:{$regex:"^(?!theme/assets/)"}},{file_path:{$regex:".liquid.[a-zA-Z0-9]+$"}},{file_path:{$regex:".(css|js|svg)$"}}]}},D3={countries:[{id:"US",name:"United States",state_label:"State"},{id:"CA",name:"Canada",state_label:"Province"},{id:"AU",name:"Australia",state_label:"State/territory"},{id:"GB",name:"United Kingdom"},{id:"AF",name:"Afghanistan"},{id:"AX",name:"Aland Islands"},{id:"AL",name:"Albania"},{id:"DZ",name:"Algeria",state_label:"Province"},{id:"AD",name:"Andorra"},{id:"AO",name:"Angola"},{id:"AI",name:"Anguilla"},{id:"AG",name:"Antigua And Barbuda"},{id:"AR",name:"Argentina"},{id:"AM",name:"Armenia"},{id:"AW",name:"Aruba"},{id:"AT",name:"Austria"},{id:"AZ",name:"Azerbaijan"},{id:"BS",name:"Bahamas"},{id:"BH",name:"Bahrain"},{id:"BD",name:"Bangladesh"},{id:"BB",name:"Barbados"},{id:"BY",name:"Belarus"},{id:"BE",name:"Belgium"},{id:"BZ",name:"Belize"},{id:"BJ",name:"Benin"},{id:"BM",name:"Bermuda"},{id:"BT",name:"Bhutan"},{id:"BO",name:"Bolivia"},{id:"BA",name:"Bosnia And Herzegovina"},{id:"BW",name:"Botswana"},{id:"BV",name:"Bouvet Island"},{id:"BR",name:"Brazil",state_label:"State"},{id:"IO",name:"British Indian Ocean Territory"},{id:"BN",name:"Brunei"},{id:"BG",name:"Bulgaria"},{id:"BF",name:"Burkina Faso"},{id:"BU",name:"Burma"},{id:"BI",name:"Burundi"},{id:"KH",name:"Cambodia"},{id:"CM",name:"Cameroon"},{id:"CV",name:"Cape Verde"},{id:"KY",name:"Cayman Islands"},{id:"CF",name:"Central African Republic"},{id:"TD",name:"Chad"},{id:"CL",name:"Chile"},{id:"CN",name:"China"},{id:"CX",name:"Christmas Island"},{id:"CC",name:"Cocos (Keeling) Islands"},{id:"CO",name:"Colombia"},{id:"KM",name:"Comoros"},{id:"CG",name:"Congo"},{id:"CD",name:"Congo, The Democratic Republic Of The"},{id:"CK",name:"Cook Islands"},{id:"CR",name:"Costa Rica"},{id:"CI",name:"Cote D'Ivoire"},{id:"HR",name:"Croatia"},{id:"CU",name:"Cuba"},{id:"CY",name:"Cyprus"},{id:"CZ",name:"Czech Republic"},{id:"DK",name:"Denmark"},{id:"DJ",name:"Djibouti"},{id:"DM",name:"Dominica"},{id:"DO",name:"Dominican Republic"},{id:"EC",name:"Ecuador"},{id:"EG",name:"Egypt"},{id:"SV",name:"El Salvador"},{id:"GQ",name:"Equatorial Guinea"},{id:"ER",name:"Eritrea"},{id:"EE",name:"Estonia"},{id:"ET",name:"Ethiopia"},{id:"FK",name:"Falkland Islands (Malvinas)"},{id:"FO",name:"Faroe Islands"},{id:"FJ",name:"Fiji"},{id:"FI",name:"Finland"},{id:"FR",name:"France"},{id:"GF",name:"French Guiana"},{id:"PF",name:"French Polynesia"},{id:"TF",name:"French Southern Territories"},{id:"GA",name:"Gabon"},{id:"GM",name:"Gambia"},{id:"GE",name:"Georgia"},{id:"DE",name:"Germany"},{id:"GH",name:"Ghana"},{id:"GI",name:"Gibraltar"},{id:"GR",name:"Greece"},{id:"GL",name:"Greenland"},{id:"GD",name:"Grenada"},{id:"GP",name:"Guadeloupe"},{id:"GT",name:"Guatemala",state_label:"Department"},{id:"GG",name:"Guernsey"},{id:"GN",name:"Guinea"},{id:"GW",name:"Guinea Bissau"},{id:"GY",name:"Guyana"},{id:"HT",name:"Haiti"},{id:"HM",name:"Heard Island And Mcdonald Islands"},{id:"VA",name:"Holy See (Vatican City State)"},{id:"HN",name:"Honduras"},{id:"HK",name:"Hong Kong"},{id:"HU",name:"Hungary"},{id:"IS",name:"Iceland"},{id:"IN",name:"India",state_label:"State"},{id:"ID",name:"Indonesia"},{id:"IR",name:"Iran, Islamic Republic Of"},{id:"IQ",name:"Iraq"},{id:"IE",name:"Ireland"},{id:"IM",name:"Isle Of Man"},{id:"IL",name:"Israel"},{id:"IT",name:"Italy"},{id:"JM",name:"Jamaica"},{id:"JP",name:"Japan"},{id:"JE",name:"Jersey"},{id:"JO",name:"Jordan"},{id:"KZ",name:"Kazakhstan"},{id:"KE",name:"Kenya"},{id:"KI",name:"Kiribati"},{id:"KP",name:"Korea, North"},{id:"KR",name:"Korea, South"},{id:"KW",name:"Kuwait"},{id:"KG",name:"Kyrgyzstan"},{id:"LA",name:"Laos"},{id:"LV",name:"Latvia"},{id:"LB",name:"Lebanon"},{id:"LS",name:"Lesotho"},{id:"LR",name:"Liberia"},{id:"LY",name:"Libya"},{id:"LI",name:"Liechtenstein"},{id:"LT",name:"Lithuania"},{id:"LU",name:"Luxembourg"},{id:"MO",name:"Macao"},{id:"MK",name:"Macedonia"},{id:"MG",name:"Madagascar"},{id:"MW",name:"Malawi"},{id:"MY",name:"Malaysia",state_label:"State/territory"},{id:"MV",name:"Maldives"},{id:"ML",name:"Mali"},{id:"MT",name:"Malta"},{id:"MQ",name:"Martinique"},{id:"MR",name:"Mauritania"},{id:"MU",name:"Mauritius"},{id:"YT",name:"Mayotte"},{id:"MX",name:"Mexico",state_label:"State"},{id:"MD",name:"Moldova"},{id:"MC",name:"Monaco"},{id:"MN",name:"Mongolia"},{id:"ME",name:"Montenegro"},{id:"MS",name:"Montserrat"},{id:"MA",name:"Morocco"},{id:"MZ",name:"Mozambique"},{id:"MM",name:"Myanmar"},{id:"NA",name:"Namibia"},{id:"NR",name:"Nauru"},{id:"NP",name:"Nepal"},{id:"NL",name:"Netherlands"},{id:"AN",name:"Netherlands Antilles"},{id:"NC",name:"New Caledonia"},{id:"NZ",name:"New Zealand",state_label:"Region"},{id:"NI",name:"Nicaragua"},{id:"NE",name:"Niger"},{id:"NG",name:"Nigeria"},{id:"NU",name:"Niue"},{id:"NF",name:"Norfolk Island"},{id:"NO",name:"Norway"},{id:"OM",name:"Oman"},{id:"PK",name:"Pakistan"},{id:"PS",name:"Palestinian Territory, Occupied"},{id:"PA",name:"Panama"},{id:"PG",name:"Papua New Guinea"},{id:"PY",name:"Paraguay"},{id:"PE",name:"Peru"},{id:"PH",name:"Philippines",state_label:"Region"},{id:"PN",name:"Pitcairn"},{id:"PL",name:"Poland"},{id:"PT",name:"Portugal"},{id:"QA",name:"Qatar"},{id:"RE",name:"Reunion"},{id:"RO",name:"Romania"},{id:"RU",name:"Russia"},{id:"RW",name:"Rwanda"},{id:"BL",name:"Saint Barthelemy"},{id:"SH",name:"Saint Helena"},{id:"KN",name:"Saint Kitts And Nevis"},{id:"LC",name:"Saint Lucia"},{id:"MF",name:"Saint Martin"},{id:"PM",name:"Saint Pierre And Miquelon"},{id:"VC",name:"Saint Vincent"},{id:"WS",name:"Samoa"},{id:"SM",name:"San Marino"},{id:"ST",name:"Sao Tome And Principe"},{id:"SA",name:"Saudi Arabia"},{id:"SN",name:"Senegal"},{id:"RS",name:"Serbia"},{id:"SC",name:"Seychelles"},{id:"SL",name:"Sierra Leone"},{id:"SG",name:"Singapore"},{id:"SK",name:"Slovakia"},{id:"SI",name:"Slovenia"},{id:"SB",name:"Solomon Islands"},{id:"SO",name:"Somalia"},{id:"ZA",name:"South Africa"},{id:"GS",name:"South Georgia And The South Sandwich Islands"},{id:"ES",name:"Spain",state_label:"Province"},{id:"LK",name:"Sri Lanka"},{id:"SD",name:"Sudan"},{id:"SR",name:"Suriname"},{id:"SJ",name:"Svalbard And Jan Mayen"},{id:"SZ",name:"Swaziland"},{id:"SE",name:"Sweden"},{id:"CH",name:"Switzerland"},{id:"SY",name:"Syria"},{id:"TW",name:"Taiwan"},{id:"TJ",name:"Tajikistan"},{id:"TZ",name:"Tanzania"},{id:"TH",name:"Thailand"},{id:"TL",name:"Timor-Leste"},{id:"TG",name:"Togo"},{id:"TK",name:"Tokelau"},{id:"TO",name:"Tonga"},{id:"TT",name:"Trinidad and Tobago"},{id:"TN",name:"Tunisia"},{id:"TR",name:"Turkey"},{id:"TM",name:"Turkmenistan"},{id:"TC",name:"Turks And Caicos Islands"},{id:"TV",name:"Tuvalu"},{id:"UG",name:"Uganda"},{id:"UA",name:"Ukraine"},{id:"AE",name:"United Arab Emirates",state_label:"Emirate"},{id:"UM",name:"United States Minor Outlying Islands"},{id:"UY",name:"Uruguay"},{id:"UZ",name:"Uzbekistan"},{id:"VU",name:"Vanuatu"},{id:"VE",name:"Venezuela"},{id:"VN",name:"Vietnam"},{id:"VG",name:"Virgin Islands, British"},{id:"WF",name:"Wallis And Futuna"},{id:"EH",name:"Western Sahara"},{id:"YE",name:"Yemen"},{id:"ZM",name:"Zambia"},{id:"ZW",name:"Zimbabwe"}],states:[{country:"US",id:"AL",name:"Alabama"},{country:"US",id:"AK",name:"Alaska"},{country:"US",id:"AZ",name:"Arizona"},{country:"US",id:"AR",name:"Arkansas"},{country:"US",id:"CA",name:"California"},{country:"US",id:"CO",name:"Colorado"},{country:"US",id:"CT",name:"Connecticut"},{country:"US",id:"DE",name:"Delaware"},{country:"US",id:"DC",name:"District of Columbia"},{country:"US",id:"FL",name:"Florida"},{country:"US",id:"GA",name:"Georgia"},{country:"US",id:"HI",name:"Hawaii"},{country:"US",id:"ID",name:"Idaho"},{country:"US",id:"IL",name:"Illinois"},{country:"US",id:"IN",name:"Indiana"},{country:"US",id:"IA",name:"Iowa"},{country:"US",id:"KS",name:"Kansas"},{country:"US",id:"KY",name:"Kentucky"},{country:"US",id:"LA",name:"Louisiana"},{country:"US",id:"ME",name:"Maine"},{country:"US",id:"MD",name:"Maryland"},{country:"US",id:"MA",name:"Massachusetts"},{country:"US",id:"MI",name:"Michigan"},{country:"US",id:"MN",name:"Minnesota"},{country:"US",id:"MS",name:"Mississippi"},{country:"US",id:"MO",name:"Missouri"},{country:"US",id:"MT",name:"Montana"},{country:"US",id:"NE",name:"Nebraska"},{country:"US",id:"NV",name:"Nevada"},{country:"US",id:"NH",name:"New Hampshire"},{country:"US",id:"NJ",name:"New Jersey"},{country:"US",id:"NM",name:"New Mexico"},{country:"US",id:"NY",name:"New York"},{country:"US",id:"NC",name:"North Carolina"},{country:"US",id:"ND",name:"North Dakota"},{country:"US",id:"OH",name:"Ohio"},{country:"US",id:"OK",name:"Oklahoma"},{country:"US",id:"OR",name:"Oregon"},{country:"US",id:"PA",name:"Pennsylvania"},{country:"US",id:"RI",name:"Rhode Island"},{country:"US",id:"SC",name:"South Carolina"},{country:"US",id:"SD",name:"South Dakota"},{country:"US",id:"TN",name:"Tennessee"},{country:"US",id:"TX",name:"Texas"},{country:"US",id:"UT",name:"Utah"},{country:"US",id:"VT",name:"Vermont"},{country:"US",id:"VA",name:"Virginia"},{country:"US",id:"WA",name:"Washington"},{country:"US",id:"WV",name:"West Virginia"},{country:"US",id:"WI",name:"Wisconsin"},{country:"US",id:"WY",name:"Wyoming"},{country:"US",id:"AS",name:"American Samoa"},{country:"US",id:"AA",name:"Armed Forces Americas"},{country:"US",id:"AE",name:"Armed Forces Europe"},{country:"US",id:"AP",name:"Armed Forces Pacific"},{country:"US",id:"FM",name:"Federated States of Micronesia"},{country:"US",id:"GU",name:"Guam"},{country:"US",id:"MH",name:"Marshall Islands"},{country:"US",id:"MP",name:"Northern Mariana Islands"},{country:"US",id:"PW",name:"Palau"},{country:"US",id:"PR",name:"Puerto Rico"},{country:"US",id:"VI",name:"Virgin Islands"},{country:"CA",id:"AB",name:"Alberta"},{country:"CA",id:"BC",name:"British Columbia"},{country:"CA",id:"MB",name:"Manitoba"},{country:"CA",id:"NB",name:"New Brunswick"},{country:"CA",id:"NL",name:"Newfoundland"},{country:"CA",id:"NT",name:"Northwest Territories"},{country:"CA",id:"NS",name:"Nova Scotia"},{country:"CA",id:"NU",name:"Nunavut"},{country:"CA",id:"ON",name:"Ontario"},{country:"CA",id:"PE",name:"Prince Edward Island"},{country:"CA",id:"QC",name:"Quebec"},{country:"CA",id:"SK",name:"Saskatchewan"},{country:"CA",id:"YT",name:"Yukon"},{country:"AU",id:"ACT",name:"Australian Capital Territory"},{country:"AU",id:"NSW",name:"New South Wales"},{country:"AU",id:"NT",name:"Northern Territory"},{country:"AU",id:"QLD",name:"Queensland"},{country:"AU",id:"SA",name:"South Australia"},{country:"AU",id:"TAS",name:"Tasmania"},{country:"AU",id:"VIC",name:"Victoria"},{country:"AU",id:"WA",name:"Western Australia"},{country:"BR",id:"AC",name:"Acre"},{country:"BR",id:"AL",name:"Alagoas"},{country:"BR",id:"AP",name:"Amapa"},{country:"BR",id:"AM",name:"Amazonas"},{country:"BR",id:"BA",name:"Bahia"},{country:"BR",id:"CE",name:"Ceara"},{country:"BR",id:"BRDF",name:"Distrito Federal"},{country:"BR",id:"ES",name:"Espirito Santo"},{country:"BR",id:"GO",name:"Goias;"},{country:"BR",id:"MA",name:"Maranhao"},{country:"BR",id:"MT",name:"Mato Grosso"},{country:"BR",id:"MS",name:"Mato Grosso do Sul"},{country:"BR",id:"MG",name:"Minas Gerais"},{country:"BR",id:"PA",name:"Para;"},{country:"BR",id:"PB",name:"Paraiba"},{country:"BR",id:"PR",name:"Parana"},{country:"BR",id:"PE",name:"Pernambuco"},{country:"BR",id:"PI",name:"Piaui"},{country:"BR",id:"RJ",name:"Rio de Janeiro"},{country:"BR",id:"RN",name:"Rio Grande do Norte"},{country:"BR",id:"RS",name:"Rio Grande do Sul"},{country:"BR",id:"RO",name:"Rondonia"},{country:"BR",id:"RR",name:"Roraima"},{country:"BR",id:"SC",name:"Santa Catarina"},{country:"BR",id:"SP",name:"Sao Paulo"},{country:"BR",id:"SE",name:"Sergipe"},{country:"BR",id:"TO",name:"Tocantins"},{country:"GT",id:"Alta Verapaz",name:"Alta Verapaz"},{country:"GT",id:"Baja Verapaz",name:"Baja Verapaz"},{country:"GT",id:"Chimaltenango",name:"Chimaltenango"},{country:"GT",id:"Chiquimula",name:"Chiquimula"},{country:"GT",id:"El Progreso",name:"El Progreso"},{country:"GT",id:"Escuintla",name:"Escuintla"},{country:"GT",id:"Guatemala",name:"Guatemala"},{country:"GT",id:"Huehuetenango",name:"Huehuetenango"},{country:"GT",id:"Izabal",name:"Izabal"},{country:"GT",id:"Jalapa",name:"Jalapa"},{country:"GT",id:"Jutiapa",name:"Jutiapa"},{country:"GT",id:"Peten",name:"Peten"},{country:"GT",id:"Quetzaltenango",name:"Quetzaltenango"},{country:"GT",id:"Quiche",name:"Quiche"},{country:"GT",id:"Retalhuleu",name:"Retalhuleu"},{country:"GT",id:"Sacatepequez",name:"Sacatepequez"},{country:"GT",id:"San Marcos",name:"San Marcos"},{country:"GT",id:"Santa Rosa",name:"Santa Rosa"},{country:"GT",id:"Solola",name:"Solola"},{country:"GT",id:"Suchitepequez",name:"Suchitepequez"},{country:"GT",id:"Totonicapan",name:"Totonicapan"},{country:"GT",id:"Zacapa",name:"Zacapa"},{country:"IN",id:"AN",name:"Andaman and Nicobar"},{country:"IN",id:"AP",name:"Andhra Pradesh"},{country:"IN",id:"AR",name:"Arunachal Pradesh"},{country:"IN",id:"AS",name:"Assam"},{country:"IN",id:"BR",name:"Bihar"},{country:"IN",id:"CH",name:"Chandigarh"},{country:"IN",id:"CT",name:"Chattisgarh"},{country:"IN",id:"DN",name:"Dadra and Nagar Haveli"},{country:"IN",id:"DD",name:"Daman and Diu"},{country:"IN",id:"DL",name:"Delhi"},{country:"IN",id:"GA",name:"Goa"},{country:"IN",id:"GJ",name:"Gujarat"},{country:"IN",id:"HR",name:"Haryana"},{country:"IN",id:"HP",name:"Himachal Pradesh"},{country:"IN",id:"JK",name:"Jammu and Kashmir"},{country:"IN",id:"JH",name:"Jharkhand"},{country:"IN",id:"KA",name:"Karnataka"},{country:"IN",id:"KL",name:"Kerala"},{country:"IN",id:"LD",name:"Lakshadweep"},{country:"IN",id:"MP",name:"Madhya Pradesh"},{country:"IN",id:"MH",name:"Maharashtra"},{country:"IN",id:"MN",name:"Manipur"},{country:"IN",id:"ML",name:"Meghalaya"},{country:"IN",id:"MZ",name:"Mizoram"},{country:"IN",id:"NL",name:"Nagaland"},{country:"IN",id:"OR",name:"Orissa"},{country:"IN",id:"PY",name:"Puducherry"},{country:"IN",id:"PB",name:"Punjab"},{country:"IN",id:"RJ",name:"Rajasthan"},{country:"IN",id:"SK",name:"Sikkim"},{country:"IN",id:"TN",name:"Tamil Nadu"},{country:"IN",id:"TR",name:"Tripura"},{country:"IN",id:"UP",name:"Uttar Pradesh"},{country:"IN",id:"UT",name:"Uttarakhand"},{country:"IN",id:"WB",name:"West Bengal"},{country:"MY",id:"JHR",name:"Johor"},{country:"MY",id:"KDH",name:"Kedah"},{country:"MY",id:"KTN",name:"Kelantan"},{country:"MY",id:"KUL",name:"Kuala Lumpur"},{country:"MY",id:"LBN",name:"Labuan"},{country:"MY",id:"MLK",name:"Malacca"},{country:"MY",id:"NSN",name:"Negeri Sembilan"},{country:"MY",id:"PHG",name:"Pahang"},{country:"MY",id:"PNG",name:"Penang"},{country:"MY",id:"PRK",name:"Perak"},{country:"MY",id:"PLS",name:"Perlis"},{country:"MY",id:"PJY",name:"Putrajaya"},{country:"MY",id:"SBH",name:"Sabah"},{country:"MY",id:"SRW",name:"Sarawak"},{country:"MY",id:"SGR",name:"Selangor"},{country:"MY",id:"TRG",name:"Terengganu"},{country:"MX",id:"AG",name:"Aguascalientes"},{country:"MX",id:"BJ",name:"Baja California"},{country:"MX",id:"BS",name:"Baja California Sur"},{country:"MX",id:"CI",name:"Chihuahua"},{country:"MX",id:"CL",name:"Colima"},{country:"MX",id:"CP",name:"Campeche"},{country:"MX",id:"CU",name:"Coahuila"},{country:"MX",id:"CH",name:"Chiapas"},{country:"MX",id:"DF",name:"Distrito Federal"},{country:"MX",id:"DG",name:"Durango"},{country:"MX",id:"GR",name:"Guerrero"},{country:"MX",id:"GJ",name:"Guanajuato"},{country:"MX",id:"HG",name:"Hidalgo"},{country:"MX",id:"JA",name:"Jalisco"},{country:"MX",id:"MH",name:"Michoacan"},{country:"MX",id:"MR",name:"Morelos"},{country:"MX",id:"EM",name:"Mexico"},{country:"MX",id:"NA",name:"Nayarit"},{country:"MX",id:"NL",name:"Nuevo Leon"},{country:"MX",id:"OA",name:"Oaxaca"},{country:"MX",id:"PU",name:"Puebla"},{country:"MX",id:"QR",name:"Quintana Roo"},{country:"MX",id:"QA",name:"Queretaro"},{country:"MX",id:"SI",name:"Sinaloa"},{country:"MX",id:"SL",name:"San Luis Potosi"},{country:"MX",id:"SO",name:"Sonora"},{country:"MX",id:"TA",name:"Tabasco"},{country:"MX",id:"TL",name:"Tlaxcala"},{country:"MX",id:"TM",name:"Tamaulipas"},{country:"MX",id:"VZ",name:"Veracruz"},{country:"MX",id:"YC",name:"Yucatan"},{country:"MX",id:"ZT",name:"Zacatecas"},{country:"NZ",id:"AUK",name:"Auckland"},{country:"NZ",id:"BOP",name:"Bay of Plenty"},{country:"NZ",id:"CAN",name:"Canterbury"},{country:"NZ",id:"GIS",name:"Gisborne"},{country:"NZ",id:"HKB",name:"Hawke's Bay"},{country:"NZ",id:"MWT",name:"Manawatu-Wanganui"},{country:"NZ",id:"MBH",name:"Marlborough"},{country:"NZ",id:"NSN",name:"Nelson"},{country:"NZ",id:"NTL",name:"Northland"},{country:"NZ",id:"OTA",name:"Otago"},{country:"NZ",id:"STL",name:"Southland"},{country:"NZ",id:"TKI",name:"Taranaki"},{country:"NZ",id:"NZTAS",name:"Tasman"},{country:"NZ",id:"WKO",name:"Waikato"},{country:"NZ",id:"WGN",name:"Wellington"},{country:"NZ",id:"WTC",name:"West Coast"},{country:"ES",id:"A Coruna",name:"A Coruna"},{country:"ES",id:"Alava",name:"Alava"},{country:"ES",id:"Albacete",name:"Albacete"},{country:"ES",id:"Alicante",name:"Alicante"},{country:"ES",id:"Almeria",name:"Almeria"},{country:"ES",id:"Asturias",name:"Asturias"},{country:"ES",id:"Avila",name:"Avila"},{country:"ES",id:"Badajoz",name:"Badajoz"},{country:"ES",id:"Baleares",name:"Baleares"},{country:"ES",id:"Barcelona",name:"Barcelona"},{country:"ES",id:"Burgos",name:"Burgos"},{country:"ES",id:"Caceres",name:"Caceres"},{country:"ES",id:"Cadiz",name:"Cadiz"},{country:"ES",id:"Cantabria",name:"Cantabria"},{country:"ES",id:"Castellon",name:"Castellon"},{country:"ES",id:"Ceuta",name:"Ceuta"},{country:"ES",id:"Ciudad Real",name:"Ciudad Real"},{country:"ES",id:"Cordoba",name:"Cordoba"},{country:"ES",id:"Cuenca",name:"Cuenca"},{country:"ES",id:"Girona",name:"Girona"},{country:"ES",id:"Granada",name:"Granada"},{country:"ES",id:"Guadalajara",name:"Guadalajara"},{country:"ES",id:"Guipuzcoa",name:"Guipuzcoa"},{country:"ES",id:"Huelva",name:"Huelva"},{country:"ES",id:"Huesca",name:"Huesca"},{country:"ES",id:"Jaen",name:"Jaen"},{country:"ES",id:"La Rioja",name:"La Rioja"},{country:"ES",id:"Las Palmas",name:"Las Palmas"},{country:"ES",id:"Leon",name:"Leon"},{country:"ES",id:"Lleida",name:"Lleida"},{country:"ES",id:"Lugo",name:"Lugo"},{country:"ES",id:"Madrid",name:"Madrid"},{country:"ES",id:"Malaga",name:"Malaga"},{country:"ES",id:"Melilla",name:"Melilla"},{country:"ES",id:"Murcia",name:"Murcia"},{country:"ES",id:"Navarra",name:"Navarra"},{country:"ES",id:"Ourense",name:"Ourense"},{country:"ES",id:"Palencia",name:"Palencia"},{country:"ES",id:"Pontevedra",name:"Pontevedra"},{country:"ES",id:"Salamanca",name:"Salamanca"},{country:"ES",id:"Santa Cruz de Tenerife",name:"Santa Cruz de Tenerife"},{country:"ES",id:"Segovia",name:"Segovia"},{country:"ES",id:"Sevilla",name:"Sevilla"},{country:"ES",id:"Soria",name:"Soria"},{country:"ES",id:"Tarragona",name:"Tarragona"},{country:"ES",id:"Teruel",name:"Teruel"},{country:"ES",id:"Toledo",name:"Toledo"},{country:"ES",id:"Valencia",name:"Valencia"},{country:"ES",id:"Valladolid",name:"Valladolid"},{country:"ES",id:"Vizcaya",name:"Vizcaya"},{country:"ES",id:"Zamora",name:"Zamora"},{country:"ES",id:"Zaragoza",name:"Zaragoza"},{country:"AE",id:"Abu Dhabi",name:"Abu Dhabi"},{country:"AE",id:"Ajman",name:"Ajman"},{country:"AE",id:"Dubai",name:"Dubai"},{country:"AE",id:"Fujairah",name:"Fujairah"},{country:"AE",id:"Ras al-Khaimah",name:"Ras al-Khaimah"},{country:"AE",id:"Sharjah",name:"Sharjah"},{country:"AE",id:"Umm al-Quwain",name:"Umm al-Quwain"},{country:"DZ",id:"DZ-01",name:"Adrar"},{country:"DZ",id:"DZ-44",name:"A\xEFn Defla"},{country:"DZ",id:"DZ-46",name:"A\xEFn T\xE9mouchent"},{country:"DZ",id:"DZ-16",name:"Algiers"},{country:"DZ",id:"DZ-23",name:"Annaba"},{country:"DZ",id:"DZ-05",name:"Batna"},{country:"DZ",id:"DZ-08",name:"B\xE9char"},{country:"DZ",id:"DZ-06",name:"B\xE9ja\xEFa"},{country:"DZ",id:"DZ-53",name:"B\xE9ni Abb\xE8s"},{country:"DZ",id:"DZ-07",name:"Biskra"},{country:"DZ",id:"DZ-09",name:"Blida"},{country:"DZ",id:"DZ-52",name:"Bordj Baji Mokhtar"},{country:"DZ",id:"DZ-34",name:"Bordj Bou Arr\xE9ridj"},{country:"DZ",id:"DZ-10",name:"Bou\xEFra"},{country:"DZ",id:"DZ-35",name:"Boumerd\xE8s"},{country:"DZ",id:"DZ-02",name:"Chlef"},{country:"DZ",id:"DZ-25",name:"Constantine"},{country:"DZ",id:"DZ-56",name:"Djanet"},{country:"DZ",id:"DZ-17",name:"Djelfa"},{country:"DZ",id:"DZ-32",name:"El Bayadh"},{country:"DZ",id:"DZ-49",name:"El M'Ghair"},{country:"DZ",id:"DZ-50",name:"El Menia"},{country:"DZ",id:"DZ-39",name:"El Oued"},{country:"DZ",id:"DZ-36",name:"El Tarf"},{country:"DZ",id:"DZ-47",name:"Gharda\xEFa"},{country:"DZ",id:"DZ-24",name:"Guelma"},{country:"DZ",id:"DZ-33",name:"Illizi"},{country:"DZ",id:"DZ-58",name:"In Guezzam"},{country:"DZ",id:"DZ-57",name:"In Salah"},{country:"DZ",id:"DZ-18",name:"Jijel"},{country:"DZ",id:"DZ-40",name:"Khenchela"},{country:"DZ",id:"DZ-03",name:"Laghouat"},{country:"DZ",id:"DZ-28",name:"M'Sila"},{country:"DZ",id:"DZ-29",name:"Mascara"},{country:"DZ",id:"DZ-26",name:"M\xE9d\xE9a"},{country:"DZ",id:"DZ-43",name:"Mila"},{country:"DZ",id:"DZ-27",name:"Mostaganem"},{country:"DZ",id:"DZ-45",name:"Na\xE2ma"},{country:"DZ",id:"DZ-31",name:"Oran"},{country:"DZ",id:"DZ-30",name:"Ouargla"},{country:"DZ",id:"DZ-51",name:"Ouled Djellal"},{country:"DZ",id:"DZ-04",name:"Oum El Bouaghi"},{country:"DZ",id:"DZ-48",name:"Relizane"},{country:"DZ",id:"DZ-20",name:"Sa\xEFda"},{country:"DZ",id:"DZ-19",name:"S\xE9tif"},{country:"DZ",id:"DZ-22",name:"Sidi Bel Abb\xE8s"},{country:"DZ",id:"DZ-21",name:"Skikda"},{country:"DZ",id:"DZ-41",name:"Souk Ahras"},{country:"DZ",id:"DZ-11",name:"Tamanrasset"},{country:"DZ",id:"DZ-12",name:"T\xE9bessa"},{country:"DZ",id:"DZ-14",name:"Tiaret"},{country:"DZ",id:"DZ-54",name:"Timimoun"},{country:"DZ",id:"DZ-37",name:"Tindouf"},{country:"DZ",id:"DZ-42",name:"Tipaza"},{country:"DZ",id:"DZ-38",name:"Tissemsilt"},{country:"DZ",id:"DZ-15",name:"Tizi Ouzou"},{country:"DZ",id:"DZ-13",name:"Tlemcen"},{country:"DZ",id:"DZ-55",name:"Touggourt"},{country:"PH",id:"PH-00",name:"National Capital Region [NCR]"},{country:"PH",id:"PH-01",name:"Ilocos [I]"},{country:"PH",id:"PH-02",name:"Cagayan Valley [II]"},{country:"PH",id:"PH-03",name:"Central Luzon [III]"},{country:"PH",id:"PH-05",name:"Bicol [V]"},{country:"PH",id:"PH-06",name:"Western Visayas [VI]"},{country:"PH",id:"PH-07",name:"Central Visayas [VII]"},{country:"PH",id:"PH-08",name:"Eastern Visayas [VIII]"},{country:"PH",id:"PH-09",name:"Zamboanga Peninsula [IX]"},{country:"PH",id:"PH-10",name:"Northern Mindanao [X]"},{country:"PH",id:"PH-11",name:"Davao [XI]"},{country:"PH",id:"PH-12",name:"Soccsksargen [XII]"},{country:"PH",id:"PH-13",name:"Caraga [XIII]"},{country:"PH",id:"PH-14",name:"Autonomous Region in Muslim Mindanao [ARMM]"},{country:"PH",id:"PH-15",name:"Cordillera Administrative Region [CAR]"},{country:"PH",id:"PH-40",name:"Calabarzon [IV-A]"},{country:"PH",id:"PH-41",name:"Mimaropa [IV-B]"}],timezones:[{id:"Pacific/Kiritimati",name:"Line Islands Time"},{id:"Pacific/Enderbury",name:"Phoenix Islands Time"},{id:"Pacific/Tongatapu",name:"Tonga Time"},{id:"Pacific/Chatham",name:"Chatham Daylight Time"},{id:"Asia/Kamchatka",name:"Petropavlovsk-Kamchatski Time"},{id:"Pacific/Auckland",name:"New Zealand Daylight Time"},{id:"Pacific/Fiji",name:"Fiji Time"},{id:"Pacific/Norfolk",name:"Norfolk Time"},{id:"Pacific/Guadalcanal",name:"Solomon Islands Time"},{id:"Australia/Lord_Howe",name:"Lord Howe Summer Time"},{id:"Australia/Brisbane",name:"Australian Eastern Standard Time (Brisbane)"},{id:"Australia/Sydney",name:"Australian Eastern Standard Time (Sydney)"},{id:"Australia/Adelaide",name:"Australian Central Standard Time (Adelaide)"},{id:"Australia/Darwin",name:"Australian Central Standard Time (Darwin)"},{id:"Asia/Seoul",name:"Korea Standard Time"},{id:"Asia/Tokyo",name:"Japan Standard Time"},{id:"Asia/Hong_Kong",name:"Hong Kong Time"},{id:"Asia/Kuala_Lumpur",name:"Malaysia Time"},{id:"Asia/Manila",name:"Philippines Time"},{id:"Asia/Shanghai",name:"China Standard Time (Shanghai)"},{id:"Asia/Singapore",name:"Singapore Time"},{id:"Asia/Taipei",name:"China Standard Time (Taipei)"},{id:"Australia/Perth",name:"Australian Western Standard Time"},{id:"Asia/Bangkok",name:"Indochina Time (Bangkok)"},{id:"Asia/Jakarta",name:"West Indonesia Time"},{id:"Asia/Saigon",name:"Indochina Time (Saigon)"},{id:"Asia/Rangoon",name:"Myanmar Time"},{id:"Asia/Dacca",name:"Bangladesh Time"},{id:"Asia/Katmandu",name:"Nepal Time"},{id:"Asia/Calcutta",name:"India Standard Time (Calcutta)"},{id:"Asia/Colombo",name:"India Standard Time (Colombo)"},{id:"Asia/Karachi",name:"Pakistan Summer Time"},{id:"Asia/Tashkent",name:"Uzbekistan Time"},{id:"Asia/Yekaterinburg",name:"Yekaterinburg Time"},{id:"Asia/Kabul",name:"Afghanistan Time"},{id:"Asia/Baku",name:"Azerbaijan Time"},{id:"Asia/Dubai",name:"Gulf Standard Time"},{id:"Asia/Tbilisi",name:"Georgia Time"},{id:"Asia/Yerevan",name:"Armenia Time"},{id:"Asia/Tehran",name:"Iran Standard Time"},{id:"Africa/Nairobi",name:"Eastern African Time"},{id:"Asia/Baghdad",name:"Arabia Standard Time (Baghdad)"},{id:"Asia/Kuwait",name:"Arabia Standard Time (Kuwait)"},{id:"Asia/Riyadh",name:"Arabia Standard Time (Riyadh)"},{id:"Europe/Moscow",name:"Moscow Standard Time"},{id:"Africa/Cairo",name:"Eastern European Time (Cairo)"},{id:"Africa/Johannesburg",name:"South Africa Standard Time"},{id:"Asia/Beirut",name:"Eastern European Time (Beirut)"},{id:"Asia/Jerusalem",name:"Israel Standard Time"},{id:"Europe/Athens",name:"Eastern European Time (Athens)"},{id:"Europe/Bucharest",name:"Eastern European Time (Bucharest)"},{id:"Europe/Helsinki",name:"Eastern European Time (Helsinki)"},{id:"Europe/Istanbul",name:"Eastern European Time (Istanbul)"},{id:"Europe/Minsk",name:"Eastern European Time (Minsk)"},{id:"Europe/Amsterdam",name:"Central European Time (Amsterdam)"},{id:"Europe/Berlin",name:"Central European Time (Berlin)"},{id:"Europe/Brussels",name:"Central European Time (Brussels)"},{id:"Europe/Prague",name:"Central European Time (Prague)"},{id:"Europe/Rome",name:"Central European Time (Rome)"},{id:"Europe/Dublin",name:"Irish Summer Time"},{id:"Europe/Lisbon",name:"Western European Summer Time"},{id:"Europe/London",name:"British Summer Time"},{id:"GMT",name:"Greenwich Mean Time"},{id:"America/Scoresbysund",name:"East Greenland Time"},{id:"Atlantic/Azores",name:"Azores Time"},{id:"Atlantic/Cape_Verde",name:"Cape Verde Time"},{id:"Atlantic/South_Georgia",name:"South Georgia Standard Time"},{id:"America/Buenos_Aires",name:"Argentine Summer Time"},{id:"America/Sao_Paulo",name:"Brasilia Summer Time"},{id:"America/St_Johns",name:"Newfoundland Daylight Time"},{id:"America/Halifax",name:"Atlantic Daylight Time (Halifax)"},{id:"America/Puerto_Rico",name:"Atlantic Standard Time"},{id:"America/Santiago",name:"Chile Summer Time"},{id:"Atlantic/Bermuda",name:"Atlantic Daylight Time (Bermuda)"},{id:"America/Caracas",name:"Venezuela Time"},{id:"America/Bogota",name:"Colombia Time"},{id:"America/Indianapolis",name:"Eastern Daylight Time (Indianapolis)"},{id:"America/Lima",name:"Peru Time"},{id:"America/New_York",name:"Eastern Daylight Time (New York)"},{id:"America/Panama",name:"Eastern Standard Time (Panama)"},{id:"America/Chicago",name:"Central Daylight Time (Chicago)"},{id:"America/El_Salvador",name:"Central Standard Time (El Salvador)"},{id:"America/Mexico_City",name:"Central Standard Time (Mexico City)"},{id:"America/Denver",name:"Mountain Daylight Time"},{id:"America/Phoenix",name:"Mountain Standard Time"},{id:"America/Los_Angeles",name:"Pacific Daylight Time"},{id:"America/Tijuana",name:"Pacific Standard Time"},{id:"Pacific/Pitcairn",name:"Pitcairn Standard Time"},{id:"America/Anchorage",name:"Alaska Daylight Time"},{id:"Pacific/Gambier",name:"Gambier Time"},{id:"Pacific/Marquesas",name:"Marquesas Time"},{id:"Pacific/Honolulu",name:"Hawaii Standard Time"},{id:"America/Atka",name:"Hawaii-Aleutian Standard Time"},{id:"Pacific/Niue",name:"Niue Time"},{id:"Pacific/Pago_Pago",name:"Samoa Standard Time"}],locales:[{id:"af",name:"Afrikaans"},{id:"af-ZA",name:"Afrikaans (South Africa)"},{id:"az",name:"Azerbaijani"},{id:"az-AZ",name:"Azerbaijani (Azerbaijani)"},{id:"id",name:"Indonesian"},{id:"id-ID",name:"Indonesian (Indonesia)"},{id:"ms",name:"Malay"},{id:"ms-MY",name:"Malay (Malaysia)"},{id:"ca",name:"Catalan"},{id:"ca-ES",name:"Catalan (Spain)"},{id:"cs",name:"Czech"},{id:"cs-CZ",name:"Czech (Czech Republic)"},{id:"da",name:"Danish"},{id:"da-DK",name:"Danish (Denmark)"},{id:"de",name:"German"},{id:"de-DE",name:"German (Germany)"},{id:"de-CH",name:"German (Switzerland)"},{id:"de-AT",name:"German (Austria)"},{id:"et",name:"Estonian"},{id:"et-EE",name:"Estonian (Estonia)"},{id:"en",name:"English"},{id:"en-AU",name:"English (Australia)"},{id:"en-CA",name:"English (Canada)"},{id:"en-IE",name:"English (Ireland)"},{id:"en-NZ",name:"English (New Zealand)"},{id:"en-GB",name:"English (United Kingdom)"},{id:"en-US",name:"English (United States)"},{id:"es",name:"Spanish"},{id:"es-AR",name:"Spanish (Argentina)"},{id:"es-CL",name:"Spanish (Chile)"},{id:"es-CO",name:"Spanish (Colombia)"},{id:"es-CR",name:"Spanish (Costa Rica)"},{id:"es-ES",name:"Spanish (Spain)"},{id:"es-MX",name:"Spanish (Mexico)"},{id:"es-PA",name:"Spanish (Panama)"},{id:"es-PE",name:"Spanish (Peru)"},{id:"es-VE",name:"Spanish (Venezuela)"},{id:"fil",name:"Filipino"},{id:"fil-PH",name:"Filipino (Philippines)"},{id:"fr",name:"French"},{id:"fr-CA",name:"French (Canada)"},{id:"fr-FR",name:"French (France)"},{id:"fr-CH",name:"French (Switzerland)"},{id:"gl",name:"Galician"},{id:"gl-ES",name:"Galician (Spain)"},{id:"hr",name:"Croatian"},{id:"hr-HR",name:"Croatian (Croatia)"},{id:"it",name:"Italian"},{id:"it-IT",name:"Italian (Italy)"},{id:"it-CH",name:"Italian (Switzerland)"},{id:"sw",name:"Swahili"},{id:"sw-KE",name:"Swahili (Kenya)"},{id:"sw-KE",name:"Swahili (Tanzania)"},{id:"lv",name:"Latvian"},{id:"lv-LV",name:"Latvian (Latvia)"},{id:"lt",name:"Lithuanian"},{id:"lt-LT",name:"Lithuanian (Lithuania)"},{id:"hu",name:"Hungarian"},{id:"hu-HU",name:"Hungarian (Hungary)"},{id:"nl",name:"Dutch"},{id:"nl-NL",name:"Dutch (Netherlands)"},{id:"nb",name:"Norwegian Bokm\xE5l"},{id:"nb-NO",name:"Norwegian Bokm\xE5l (Norway)"},{id:"nn",name:"Norwegian Nynorsk"},{id:"nn-NO",name:"Norwegian Nynorsk (Norway)"},{id:"pl",name:"Polish"},{id:"pl-PL",name:"Polish (Poland)"},{id:"pt",name:"Portuguese"},{id:"pt-BR",name:"Portuguese (Brazil)"},{id:"pt-PT",name:"Portuguese (Portugal)"},{id:"ro",name:"Romanian"},{id:"ro-MD",name:"Romanian (Moldova)"},{id:"ro-RO",name:"Romanian (Romania)"},{id:"sq",name:"Albanian"},{id:"sq-AL",name:"Albanian (Albania)"},{id:"sk",name:"Slovak"},{id:"sk-SK",name:"Slovak (Slovakia)"},{id:"sl",name:"Slovenian"},{id:"sl-SI",name:"Slovenian (Slovenia)"},{id:"fi",name:"Finnish"},{id:"fi-FI",name:"Finnish (Finland)"},{id:"sv",name:"Swedish"},{id:"sv-FI",name:"Swedish (Finland)"},{id:"sv-SE",name:"Swedish (Sweden)"},{id:"vi",name:"Vietnamese"},{id:"vi-VN",name:"Vietnamese (Vietnam)"},{id:"tr",name:"Turkish"},{id:"tr-TR",name:"Turkish (Turkey)"},{id:"is",name:"Icelandic"},{id:"is-IS",name:"Icelandic (Iceland)"},{id:"el",name:"Greek"},{id:"el-CY",name:"Greek (Cyprus)"},{id:"el-GR",name:"Greek (Greece)"},{id:"sr",name:"Serbian"},{id:"sr-RS",name:"Serbian (Serbia)"},{id:"be",name:"Belarusian"},{id:"be-BY",name:"Belarusian (Belarus)"},{id:"bg",name:"\u0431\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438"},{id:"bg-BG",name:"Bulgarian (Bulgaria)"},{id:"mk",name:"Macedonian"},{id:"mk-MK",name:"Macedonian (Macedonia)"},{id:"ru",name:"Russian"},{id:"ru-MD",name:"Russian (Moldova)"},{id:"ru-RU",name:"Russian (Russia)"},{id:"ru-UA",name:"Russian (Ukraine)"},{id:"uk",name:"Ukrainian"},{id:"uk-UA",name:"Ukrainian (Ukraine)"},{id:"he",name:"Hebrew"},{id:"he-IL",name:"Hebrew (Israel)"},{id:"ar",name:"Arabic"},{id:"ar-DZ",name:"Arabic (Algeria)"},{id:"ar-KW",name:"Arabic (Kuwait)"},{id:"ar-MA",name:"Arabic (Morocco)"},{id:"ar-SA",name:"Arabic (Saudi Arabia)"},{id:"ar-EG",name:"Arabic (Egypt)"},{id:"hi",name:"Hindi"},{id:"hi-IN",name:"Hindi (India)"},{id:"th",name:"Thai"},{id:"th-TH",name:"Thai (Thailand)"},{id:"zh",name:"Chinese"},{id:"zh-CN",name:"Chinese (China)"},{id:"zh-HK",name:"Chinese (Hong Kong)"},{id:"zh-TW",name:"Chinese (Taiwan)"},{id:"ja",name:"Japanese"},{id:"ja-JP",name:"Japanese (Japan)"},{id:"ko",name:"Korean"},{id:"ko-KR",name:"Korean (South Korea)"},{id:"km",name:"Khmer"},{id:"km-KH",name:"Khmer (Cambodia)"}],currencies:[{id:"AFN",name:"Afghan Afghani"},{id:"ALL",name:"Albanian Lek"},{id:"DZD",name:"Algerian Dinar"},{id:"AOA",name:"Angolan Kwanza"},{id:"ARS",name:"Argentine Peso"},{id:"AMD",name:"Armenian Dram"},{id:"AWG",name:"Aruban Florin"},{id:"AUD",name:"Australian Dollar"},{id:"AZN",name:"Azerbaijani Manat"},{id:"AZM",name:"Azerbaijani Manat (1993-2006)"},{id:"BSD",name:"Bahamian Dollar"},{id:"BHD",name:"Bahraini Dinar"},{id:"BDT",name:"Bangladeshi Taka"},{id:"BBD",name:"Barbadian Dollar"},{id:"BYR",name:"Belarusian Ruble"},{id:"BZD",name:"Belize Dollar"},{id:"BMD",name:"Bermudan Dollar"},{id:"BTN",name:"Bhutanese Ngultrum"},{id:"BOB",name:"Bolivian Boliviano"},{id:"BAM",name:"Bosnia-Herzegovina Convertible Mark"},{id:"BWP",name:"Botswanan Pula"},{id:"BRL",name:"Brazilian Real"},{id:"GBP",name:"British Pound Sterling"},{id:"BND",name:"Brunei Dollar"},{id:"BGN",name:"Bulgarian Lev"},{id:"BUK",name:"Burmese Kyat"},{id:"BIF",name:"Burundian Franc"},{id:"XOF",name:"CFA Franc BCEAO"},{id:"XPF",name:"CFP Franc"},{id:"KHR",name:"Cambodian Riel"},{id:"CAD",name:"Canadian Dollar"},{id:"CVE",name:"Cape Verdean Escudo"},{id:"KYD",name:"Cayman Islands Dollar"},{id:"CLP",name:"Chilean Peso"},{id:"CNY",name:"Chinese Yuan Renminbi"},{id:"COP",name:"Colombian Peso"},{id:"KMF",name:"Comorian Franc"},{id:"CDF",name:"Congolese Franc"},{id:"CRC",name:"Costa Rican Col\xF3n"},{id:"HRK",name:"Croatian Kuna"},{id:"CUP",name:"Cuban Peso"},{id:"CZK",name:"Czech Republic Koruna"},{id:"DKK",name:"Danish Krone"},{id:"DJF",name:"Djiboutian Franc"},{id:"DOP",name:"Dominican Peso"},{id:"XCD",name:"East Caribbean Dollar"},{id:"EGP",name:"Egyptian Pound"},{id:"GQE",name:"Equatorial Guinean Ekwele"},{id:"ERN",name:"Eritrean Nakfa"},{id:"EEK",name:"Estonian Kroon"},{id:"ETB",name:"Ethiopian Birr"},{id:"EUR",name:"Euro"},{id:"FKP",name:"Falkland Islands Pound"},{id:"FJD",name:"Fijian Dollar"},{id:"GMD",name:"Gambian Dalasi"},{id:"GEK",name:"Georgian Kupon Larit"},{id:"GEL",name:"Georgian Lari"},{id:"GHS",name:"Ghanaian Cedi"},{id:"GIP",name:"Gibraltar Pound"},{id:"GTQ",name:"Guatemalan Quetzal"},{id:"GNF",name:"Guinean Franc"},{id:"GYD",name:"Guyanaese Dollar"},{id:"HTG",name:"Haitian Gourde"},{id:"HNL",name:"Honduran Lempira"},{id:"HKD",name:"Hong Kong Dollar"},{id:"HUF",name:"Hungarian Forint"},{id:"ISK",name:"Icelandic Kr\xF3na"},{id:"INR",name:"Indian Rupee"},{id:"IDR",name:"Indonesian Rupiah"},{id:"IRR",name:"Iranian Rial"},{id:"IQD",name:"Iraqi Dinar"},{id:"ILS",name:"Israeli New Sheqel"},{id:"JMD",name:"Jamaican Dollar"},{id:"JPY",name:"Japanese Yen"},{id:"JOD",name:"Jordanian Dinar"},{id:"KZT",name:"Kazakhstan Tenge"},{id:"KES",name:"Kenyan Shilling"},{id:"KWD",name:"Kuwaiti Dinar"},{id:"KGS",name:"Kyrgystani Som"},{id:"LAK",name:"Laotian Kip"},{id:"LVL",name:"Latvian Lats"},{id:"LBP",name:"Lebanese Pound"},{id:"LSL",name:"Lesotho Loti"},{id:"LRD",name:"Liberian Dollar"},{id:"LYD",name:"Libyan Dinar"},{id:"LTL",name:"Lithuanian Litas"},{id:"MOP",name:"Macanese Pataca"},{id:"MKD",name:"Macedonian Denar"},{id:"MGA",name:"Malagasy Ariary"},{id:"MWK",name:"Malawian Kwacha"},{id:"MYR",name:"Malaysian Ringgit"},{id:"MVR",name:"Maldivian Rufiyaa"},{id:"MRO",name:"Mauritanian Ouguiya"},{id:"MUR",name:"Mauritian Rupee"},{id:"MXN",name:"Mexican Peso"},{id:"MDL",name:"Moldovan Leu"},{id:"MNT",name:"Mongolian Tugrik"},{id:"MAD",name:"Moroccan Dirham"},{id:"MZN",name:"Mozambican Metical"},{id:"MMK",name:"Myanma Kyat"},{id:"NAD",name:"Namibian Dollar"},{id:"NPR",name:"Nepalese Rupee"},{id:"ANG",name:"Netherlands Antillean Guilder"},{id:"TWD",name:"New Taiwan Dollar"},{id:"NZD",name:"New Zealand Dollar"},{id:"NIC",name:"Nicaraguan Cordoba"},{id:"NGN",name:"Nigerian Naira"},{id:"KPW",name:"North Korean Won"},{id:"NOK",name:"Norwegian Krone"},{id:"ROL",name:"Old Romanian Leu"},{id:"TRL",name:"Old Turkish Lira"},{id:"OMR",name:"Omani Rial"},{id:"PKR",name:"Pakistani Rupee"},{id:"PAB",name:"Panamanian Balboa"},{id:"PGK",name:"Papua New Guinean Kina"},{id:"PYG",name:"Paraguayan Guarani"},{id:"PEN",name:"Peruvian Nuevo Sol"},{id:"PHP",name:"Philippine Peso"},{id:"PLN",name:"Polish Zloty"},{id:"QAR",name:"Qatari Rial"},{id:"RHD",name:"Rhodesian Dollar"},{id:"RON",name:"Romanian Leu"},{id:"RUB",name:"Russian Ruble"},{id:"RWF",name:"Rwandan Franc"},{id:"SHP",name:"Saint Helena Pound"},{id:"SVC",name:"Salvadoran Col\xF3n"},{id:"WST",name:"Samoan Tala"},{id:"SAR",name:"Saudi Riyal"},{id:"RSD",name:"Serbian Dinar"},{id:"SCR",name:"Seychellois Rupee"},{id:"SLL",name:"Sierra Leonean Leone"},{id:"SGD",name:"Singapore Dollar"},{id:"SKK",name:"Slovak Koruna"},{id:"SBD",name:"Solomon Islands Dollar"},{id:"SOS",name:"Somali Shilling"},{id:"ZAR",name:"South African Rand"},{id:"KRW",name:"South Korean Won"},{id:"LKR",name:"Sri Lanka Rupee"},{id:"SDG",name:"Sudanese Pound"},{id:"SRD",name:"Surinamese Dollar"},{id:"SZL",name:"Swazi Lilangeni"},{id:"SEK",name:"Swedish Krona"},{id:"CHF",name:"Swiss Franc"},{id:"SYP",name:"Syrian Pound"},{id:"STD",name:"S\xE3o Tom\xE9 and Pr\xEDncipe Dobra"},{id:"TJS",name:"Tajikistani Somoni"},{id:"TZS",name:"Tanzanian Shilling"},{id:"THB",name:"Thai Baht"},{id:"TOP",name:"Tongan Pa\u02BBanga"},{id:"TTD",name:"Trinidad and Tobago Dollar"},{id:"TND",name:"Tunisian Dinar"},{id:"TRY",name:"Turkish Lira"},{id:"TMM",name:"Turkmenistani Manat"},{id:"USD",name:"US Dollar"},{id:"UGX",name:"Ugandan Shilling"},{id:"UAH",name:"Ukrainian Hryvnia"},{id:"AED",name:"United Arab Emirates Dirham"},{id:"UYU",name:"Uruguayan Peso"},{id:"UZS",name:"Uzbekistan Som"},{id:"VUV",name:"Vanuatu Vatu"},{id:"VEB",name:"Venezuelan Bol\xEDvar"},{id:"VEF",name:"Venezuelan Bol\xEDvar Fuerte"},{id:"VND",name:"Vietnamese Dong"},{id:"CHE",name:"WIR Euro"},{id:"CHW",name:"WIR Franc"},{id:"YER",name:"Yemeni Rial"},{id:"ZMK",name:"Zambian Kwacha"},{id:"ZWD",name:"Zimbabwean Dollar"}],id:"geo"},P3={aa:"ET",ab:"GE",abr:"GH",ace:"ID",ach:"UG",ada:"GH",ady:"RU",ae:"IR",aeb:"TN",af:"ZA",agq:"CM",aho:"IN",ak:"GH",akk:"IQ",aln:"XK",alt:"RU",am:"ET",amo:"NG",aoz:"ID",apd:"TG",ar:"EG",arc:"IR","arc-Nbat":"JO","arc-Palm":"SY",arn:"CL",aro:"BO",arq:"DZ",ary:"MA",arz:"EG",as:"IN",asa:"TZ",ase:"US",ast:"ES",atj:"CA",av:"RU",awa:"IN",ay:"BO",az:"AZ","az-Arab":"IR",ba:"RU",bal:"PK",ban:"ID",bap:"NP",bar:"AT",bas:"CM",bax:"CM",bbc:"ID",bbj:"CM",bci:"CI",be:"BY",bej:"SD",bem:"ZM",bew:"ID",bez:"TZ",bfd:"CM",bfq:"IN",bft:"PK",bfy:"IN",bg:"BG",bgc:"IN",bgn:"PK",bgx:"TR",bhb:"IN",bhi:"IN",bhk:"PH",bho:"IN",bi:"VU",bik:"PH",bin:"NG",bjj:"IN",bjn:"ID",bjt:"SN",bkm:"CM",bku:"PH",blt:"VN",bm:"ML",bmq:"ML",bn:"BD",bo:"CN",bpy:"IN",bqi:"IR",bqv:"CI",br:"FR",bra:"IN",brh:"PK",brx:"IN",bs:"BA",bsq:"LR",bss:"CM",bto:"PH",btv:"PK",bua:"RU",buc:"YT",bug:"ID",bum:"CM",bvb:"GQ",byn:"ER",byv:"CM",bze:"ML",ca:"ES",cch:"NG",ccp:"BD",ce:"RU",ceb:"PH",cgg:"UG",ch:"GU",chk:"FM",chm:"RU",cho:"US",chp:"CA",chr:"US",cja:"KH",cjm:"VN",ckb:"IQ",co:"FR",cop:"EG",cps:"PH",cr:"CA",crh:"UA",crj:"CA",crk:"CA",crl:"CA",crm:"CA",crs:"SC",cs:"CZ",csb:"PL",csw:"CA",ctd:"MM",cu:"RU","cu-Glag":"BG",cv:"RU",cy:"GB",da:"DK",dak:"US",dar:"RU",dav:"KE",dcc:"IN",de:"DE",den:"CA",dgr:"CA",dje:"NE",dnj:"CI",doi:"IN",dsb:"DE",dtm:"ML",dtp:"MY",dty:"NP",dua:"CM",dv:"MV",dyo:"SN",dyu:"BF",dz:"BT",ebu:"KE",ee:"GH",efi:"NG",egl:"IT",egy:"EG",eky:"MM",el:"GR",en:"US","en-Shaw":"GB",es:"ES",esu:"US",et:"EE",ett:"IT",eu:"ES",ewo:"CM",ext:"ES",fa:"IR",fan:"GQ",ff:"SN","ff-Adlm":"GN",ffm:"ML",fi:"FI",fia:"SD",fil:"PH",fit:"SE",fj:"FJ",fo:"FO",fon:"BJ",fr:"FR",frc:"US",frp:"FR",frr:"DE",frs:"DE",fub:"CM",fud:"WF",fuf:"GN",fuq:"NE",fur:"IT",fuv:"NG",fvr:"SD",fy:"NL",ga:"IE",gaa:"GH",gag:"MD",gan:"CN",gay:"ID",gbm:"IN",gbz:"IR",gcr:"GF",gd:"GB",gez:"ET",ggn:"NP",gil:"KI",gjk:"PK",gju:"PK",gl:"ES",glk:"IR",gn:"PY",gom:"IN",gon:"IN",gor:"ID",gos:"NL",got:"UA",grc:"CY","grc-Linb":"GR",grt:"IN",gsw:"CH",gu:"IN",gub:"BR",guc:"CO",gur:"GH",guz:"KE",gv:"IM",gvr:"NP",gwi:"CA",ha:"NG",hak:"CN",haw:"US",haz:"AF",he:"IL",hi:"IN",hif:"FJ",hil:"PH",hlu:"TR",hmd:"CN",hnd:"PK",hne:"IN",hnj:"LA",hnn:"PH",hno:"PK",ho:"PG",hoc:"IN",hoj:"IN",hr:"HR",hsb:"DE",hsn:"CN",ht:"HT",hu:"HU",hy:"AM",hz:"NA",ia:"FR",iba:"MY",ibb:"NG",id:"ID",ife:"TG",ig:"NG",ii:"CN",ik:"US",ikt:"CA",ilo:"PH",in:"ID",inh:"RU",is:"IS",it:"IT",iu:"CA",iw:"IL",izh:"RU",ja:"JP",jam:"JM",jgo:"CM",ji:"UA",jmc:"TZ",jml:"NP",jut:"DK",jv:"ID",jw:"ID",ka:"GE",kaa:"UZ",kab:"DZ",kac:"MM",kaj:"NG",kam:"KE",kao:"ML",kbd:"RU",kby:"NE",kcg:"NG",kck:"ZW",kde:"TZ",kdh:"TG",kdt:"TH",kea:"CV",ken:"CM",kfo:"CI",kfr:"IN",kfy:"IN",kg:"CD",kge:"ID",kgp:"BR",kha:"IN",khb:"CN",khn:"IN",khq:"ML",kht:"IN",khw:"PK",ki:"KE",kiu:"TR",kj:"NA",kjg:"LA",kk:"KZ","kk-Arab":"CN",kkj:"CM",kl:"GL",kln:"KE",km:"KH",kmb:"AO",kn:"IN",knf:"SN",ko:"KR",koi:"RU",kok:"IN",kos:"FM",kpe:"LR",krc:"RU",kri:"SL",krj:"PH",krl:"RU",kru:"IN",ks:"IN",ksb:"TZ",ksf:"CM",ksh:"DE",ku:"TR","ku-Arab":"IQ",kum:"RU",kv:"RU",kvr:"ID",kvx:"PK",kw:"GB",kxm:"TH",kxp:"PK",ky:"KG","ky-Arab":"CN","ky-Latn":"TR",la:"VA",lab:"GR",lad:"IL",lag:"TZ",lah:"PK",laj:"UG",lb:"LU",lbe:"RU",lbw:"ID",lcp:"CN",lep:"IN",lez:"RU",lg:"UG",li:"NL",lif:"NP","lif-Limb":"IN",lij:"IT",lis:"CN",ljp:"ID",lki:"IR",lkt:"US",lmn:"IN",lmo:"IT",ln:"CD",lo:"LA",lol:"CD",loz:"ZM",lrc:"IR",lt:"LT",ltg:"LV",lu:"CD",lua:"CD",luo:"KE",luy:"KE",luz:"IR",lv:"LV",lwl:"TH",lzh:"CN",lzz:"TR",mad:"ID",maf:"CM",mag:"IN",mai:"IN",mak:"ID",man:"GM","man-Nkoo":"GN",mas:"KE",maz:"MX",mdf:"RU",mdh:"PH",mdr:"ID",men:"SL",mer:"KE",mfa:"TH",mfe:"MU",mg:"MG",mgh:"MZ",mgo:"CM",mgp:"NP",mgy:"TZ",mh:"MH",mi:"NZ",min:"ID",mis:"IQ",mk:"MK",ml:"IN",mls:"SD",mn:"MN","mn-Mong":"CN",mni:"IN",mnw:"MM",moe:"CA",moh:"CA",mos:"BF",mr:"IN",mrd:"NP",mrj:"RU",mro:"BD",ms:"MY",mt:"MT",mtr:"IN",mua:"CM",mus:"US",mvy:"PK",mwk:"ML",mwr:"IN",mwv:"ID",mxc:"ZW",my:"MM",myv:"RU",myx:"UG",myz:"IR",mzn:"IR",na:"NR",nan:"CN",nap:"IT",naq:"NA",nb:"NO",nch:"MX",nd:"ZW",ndc:"MZ",nds:"DE",ne:"NP",new:"NP",ng:"NA",ngl:"MZ",nhe:"MX",nhw:"MX",nij:"ID",niu:"NU",njo:"IN",nl:"NL",nmg:"CM",nn:"NO",nnh:"CM",no:"NO",nod:"TH",noe:"IN",non:"SE",nqo:"GN",nr:"ZA",nsk:"CA",nso:"ZA",nus:"SS",nv:"US",nxq:"CN",ny:"MW",nym:"TZ",nyn:"UG",nzi:"GH",oc:"FR",om:"ET",or:"IN",os:"GE",osa:"US",otk:"MN",pa:"IN","pa-Arab":"PK",pag:"PH",pal:"IR","pal-Phlp":"CN",pam:"PH",pap:"AW",pau:"PW",pcd:"FR",pcm:"NG",pdc:"US",pdt:"CA",peo:"IR",pfl:"DE",phn:"LB",pka:"IN",pko:"KE",pl:"PL",pms:"IT",pnt:"GR",pon:"FM",pra:"PK",prd:"IR",ps:"AF",pt:"BR",puu:"GA",qu:"PE",quc:"GT",qug:"EC",raj:"IN",rcf:"RE",rej:"ID",rgn:"IT",ria:"IN",rif:"MA",rjs:"NP",rkt:"BD",rm:"CH",rmf:"FI",rmo:"CH",rmt:"IR",rmu:"SE",rn:"BI",rng:"MZ",ro:"RO",rob:"ID",rof:"TZ",rtm:"FJ",ru:"RU",rue:"UA",rug:"SB",rw:"RW",rwk:"TZ",ryu:"JP",sa:"IN",saf:"GH",sah:"RU",saq:"KE",sas:"ID",sat:"IN",sav:"SN",saz:"IN",sbp:"TZ",sc:"IT",sck:"IN",scn:"IT",sco:"GB",scs:"CA",sd:"PK","sd-Deva":"IN","sd-Khoj":"IN","sd-Sind":"IN",sdc:"IT",sdh:"IR",se:"NO",sef:"CI",seh:"MZ",sei:"MX",ses:"ML",sg:"CF",sga:"IE",sgs:"LT",shi:"MA",shn:"MM",si:"LK",sid:"ET",sk:"SK",skr:"PK",sl:"SI",sli:"PL",sly:"ID",sm:"WS",sma:"SE",smj:"SE",smn:"FI",smp:"IL",sms:"FI",sn:"ZW",snk:"ML",so:"SO",sou:"TH",sq:"AL",sr:"RS",srb:"IN",srn:"SR",srr:"SN",srx:"IN",ss:"ZA",ssy:"ER",st:"ZA",stq:"DE",su:"ID",suk:"TZ",sus:"GN",sv:"SE",sw:"TZ",swb:"YT",swc:"CD",swg:"DE",swv:"IN",sxn:"ID",syl:"BD",syr:"IQ",szl:"PL",ta:"IN",taj:"NP",tbw:"PH",tcy:"IN",tdd:"CN",tdg:"NP",tdh:"NP",te:"IN",tem:"SL",teo:"UG",tet:"TL",tg:"TJ","tg-Arab":"PK",th:"TH",thl:"NP",thq:"NP",thr:"NP",ti:"ET",tig:"ER",tiv:"NG",tk:"TM",tkl:"TK",tkr:"AZ",tkt:"NP",tl:"PH",tly:"AZ",tmh:"NE",tn:"ZA",to:"TO",tog:"MW",tpi:"PG",tr:"TR",tru:"TR",trv:"TW",ts:"ZA",tsd:"GR",tsf:"NP",tsg:"PH",tsj:"BT",tt:"RU",ttj:"UG",tts:"TH",ttt:"AZ",tum:"MW",tvl:"TV",twq:"NE",txg:"CN",ty:"PF",tyv:"RU",tzm:"MA",udm:"RU",ug:"CN","ug-Cyrl":"KZ",uga:"SY",uk:"UA",uli:"FM",umb:"AO",und:"US",unr:"IN","unr-Deva":"NP",unx:"IN",ur:"PK",uz:"UZ","uz-Arab":"AF",vai:"LR",ve:"ZA",vec:"IT",vep:"RU",vi:"VN",vic:"SX",vls:"BE",vmf:"DE",vmw:"MZ",vot:"RU",vro:"EE",vun:"TZ",wa:"BE",wae:"CH",wal:"ET",war:"PH",wbp:"AU",wbq:"IN",wbr:"IN",wls:"WF",wni:"KM",wo:"SN",wtm:"IN",wuu:"CN",xav:"BR",xcr:"TR",xh:"ZA",xlc:"TR",xld:"TR",xmf:"GE",xmn:"CN",xmr:"SD",xna:"SA",xnr:"IN",xog:"UG",xpr:"IR",xsa:"YE",xsr:"NP",yao:"MZ",yap:"FM",yav:"CM",ybb:"CM",yo:"NG",yrl:"BR",yua:"MX",yue:"HK","yue-Hans":"CN",za:"CN",zag:"SD",zdj:"KM",zea:"NL",zgh:"MA",zh:"CN","zh-Bopo":"TW","zh-Hanb":"TW","zh-Hant":"TW",zlm:"TG",zmi:"MY",zu:"ZA",zza:"TR"};var D5=require("liquidjs");var Z2=require("lodash-es");var K=require("liquidjs");function x3(n){return class extends K.Tag{value;branches=[];elseTemplates=[];isBlock=!1;constructor(t,i,r){super(t,i,r);let a=this.tokenizer.p,o=this.tokenizer.readValue()?.getText();this.isBlock=!!o?.startsWith("block."),this.tokenizer.p=a,this.value=new K.Value(this.tokenizer.readFilteredValue(),this.liquid),this.elseTemplates=[];let s=[],l=0,c=this.liquid.parser.parseStream(i).on("tag:when",u=>{if(l>0)return;s=[];let h=[];for(;!u.tokenizer.end();)h.push(u.tokenizer.readValueOrThrow()),u.tokenizer.skipBlank(),u.tokenizer.peek()===","?u.tokenizer.readTo(","):u.tokenizer.readTo("or");this.branches.push({values:h,templates:s})}).on("tag:else",()=>{l++,s=this.elseTemplates}).on("tag:endcase",()=>c.stop()).on("template",u=>{(s!==this.elseTemplates||l===1)&&s.push(u)}).on("end",()=>{throw new Error(`tag ${t.getText()} not closed`)});c.start()}*render(t){let i=this.liquid.renderer,r=(0,K.toValue)(yield this.value.value(t,t.opts.lenientIf)),a=!1,o="";for(let s of this.branches)for(let l of s.values){let c=yield(0,K.evalToken)(l,t,t.opts.lenientIf);if(r===c){let u=yield i.renderTemplates(s.templates,t);o+=this.isBlock&&n.isEditor?`<span class="swell-block">${u}</span>`:u,a=!0;break}}return a||(o+=yield i.renderTemplates(this.elseTemplates,t)),o}}}var u4=require("liquidjs");var v2=["offset","limit","reversed"];function R3(n){return class extends u4.Tag{variable;collection;hash;templates;elseTemplates;constructor(t,i,r){super(t,i,r);let a=this.tokenizer.readIdentifier(),o=this.tokenizer.readIdentifier(),s=this.tokenizer.readValue();if(!a.size()||o.content!=="in"||!s)throw new Error(`illegal tag: ${t.getText()}`);this.variable=a.content,this.collection=s,this.hash=new u4.Hash(this.tokenizer.remaining()),this.templates=[],this.elseTemplates=[];let l,c=this.liquid.parser.parseStream(i).on("start",()=>l=this.templates).on("tag:else",()=>l=this.elseTemplates).on("tag:endfor",()=>c.stop()).on("template",u=>l.push(u)).on("end",()=>{throw new Error(`tag ${t.getText()} not closed`)});c.start()}*render(t,i){let r=this.liquid.renderer,a=yield(0,u4.evalToken)(this.collection,t);if(!a?._result&&a?._get?yield a._get():a instanceof Array||(a=W4(a)),!a.length){yield r.renderTemplates(this.elseTemplates,t,i);return}let o="continue-"+this.variable+"-"+this.collection.getText();t.push({continue:t.getRegister(o)});let s=yield this.hash.render(t);t.pop(),a=(this.liquid.options.orderedFilterParameters?Object.keys(s).filter(h=>v2.includes(h)):v2.filter(h=>s[h]!==void 0)).reduce((h,p)=>{switch(p){case"offset":return Be(h,s.offset);case"limit":return qe(h,s.limit);case"reversed":return He(h);default:return h}},a),t.setRegister(o,(s.offset||0)+a.length);let c={forloop:new l4(a.length,this.collection.getText(),this.variable)};t.push(c);let u=0;for(let h of a){if(P(h)&&(h.index=u++),c[this.variable]=h,yield r.renderTemplates(this.templates,t,i),i.break){i.break=!1;break}i.continue=!1,c.forloop.next()}t.pop()}}}function He(n){return[...n].reverse()}function Be(n,e){return n.slice(e)}function qe(n,e){return n.slice(0,e)}var z=require("liquidjs");var Ge=["new_comment","guest_login"];function j3(n){return class extends z.Tag{formType;formConfig;templates=[];hash;arg;constructor(t,i,r){super(t,i,r);let{tokenizer:a}=t;for(this.formType=a.readValue()?.content,this.formConfig=n.theme.getFormConfig(this.formType),a.advance(),this.arg=a.readValue(),this.hash=new z.Hash(this.tokenizer.remaining());i.length;){let o=i.shift();if(z.TypeGuards.isTagToken(o)&&o.name==="endform")return;this.templates.push(r.parser.parseToken(o,i))}if(!(!this.formConfig&&!Ge.includes(this.formType)))throw new Error(`tag ${t.getText()} not closed`)}*render(t){if(!this.formConfig)return`<!-- form '${this.formType}' not found in theme configuration -->`;let i=this.liquid.renderer,r=yield(0,z.evalToken)(this.arg,t),a=yield this.hash.render(t),o=t.getAll(),s=" "+Object.entries(a).reduce((m,[f,g])=>g!==!0?[...m,`${f}="${g}"`]:m,[]).join(" "),c=n.theme.formData[this.formConfig.id]||new V(this.formConfig.id),u="";if(n.theme.shopifyCompatibility){Object.assign(c,n.theme.shopifyCompatibility.getFormData(c));let m=yield n.theme.shopifyCompatibility.getAdaptedFormClientHtml(this.formConfig.id,o,r);m&&(u=yield n.renderTemplateString(m));let f=yield n.theme.shopifyCompatibility.getAdaptedFormClientParams(this.formConfig.id,o,r);f&&c.setParams(f)}t.push({form:{...r||void 0,...c}});let h=yield i.renderTemplates(this.templates,t),p=this.formConfig.params instanceof Array?yield Promise.all(this.formConfig.params.map(async m=>{let f=await n.renderTemplateString(m.value,{value:r});return`<input type="hidden" name="${m.name}" value="${f}" />`})):[],C=a.return_to||n.theme.globals.request?.path;return`
|
|
8
|
+
`.replace(/^ */gm,"").trim()}modify(e,t){switch(e){case"style":if(this.resolveValidProperty(e,t)){this.style=t,t==="oblique"?this.variant.slnt=1:t==="italic"?this.variant.ital=1:(this.variant.slnt=0,this.variant.ital=0);break}return null;case"weight":let r;switch(t){case"normal":r=400;break;case"bold":r=700;break;case"lighter":this.weight<=400?r=100:this.weight<=700?r=400:r=700;break;case"bolder":this.weight<400?r=400:this.weight<700?r=700:r=900;break;default:t[0]==="+"?r=this.weight+Number.parseInt(t.slice(1),10):t[0]==="-"?r=this.weight-Number.parseInt(t.slice(1),10):r=Number.parseInt(t,10);break}let a=this.resolveValidProperty(e,r);if(a){this.weight=r,this.variant.wght=a;break}return null;case"wght":case"wdth":case"slnt":case"opsz":case"ital":let o=this.resolveValidProperty(e,t);if(o){this.variant[e]=o,e==="slnt"&&o>0?this.style="oblique":e==="ital"&&o>0?this.style="italic":(e==="slnt"||e==="ital")&&(this.style="normal");break}return null;default:throw new Error(`Invalid font property: ${e}`)}return this}resolveValidProperty(e,t){if(!this.definition)return null;if(e==="style")switch(t){case"italic":return this.definition.axes.includes("ital")?"italic":null;case"oblique":return this.definition.axes.includes("slnt")?"oblique":null;default:return null}let i=typeof t=="string"?Number.parseInt(t,10):t;switch(e){case"wght":case"weight":return this.definition.variants.find(r=>r.wght===i)||null;case"wdth":return this.definition.variants.find(r=>r.wdth===i)||null;case"slnt":return this.definition.variants.find(r=>r.slnt===i)||null;case"opsz":return this.definition.variants.find(r=>r.opsz===i)||null;case"ital":return this.definition.variants.find(r=>r.ital===i)||null;default:return null}}};var O=class{id;success=!1;errors=null;constructor(e){this.id=e}setSuccess(e=!0){this.success=e}setParams(e){Object.assign(this,e)}setErrors(e){this.errors=new z3(e)}clearErrors(){this.errors=null}},z3=class{errors;constructor(e){this.errors=e||[]}*[Symbol.iterator](){yield*this.errors}some(e,t){return this.errors.some(i=>e(i?.code),t)}};var b=require("lodash-es");var Q3=require("lodash-es");var K6=require("liquidjs");var Te=Object.prototype.toString,J6=Object.hasOwnProperty,W3=class{liquidMethodMissing(e){}},h3=class extends W3{i;length;name;test="test";index;index0;first;last;rindex;rindex0;constructor(e,t,i){super(),this.length=e,this.name=`${i}-${t}`,this.i=0,this.index=1,this.index0=0,this.first=!0,this.last=!1,this.rindex=e,this.rindex0=e-1}next(){this.i++,this.index++,this.index0++,this.first=!1,this.last=this.i===this.length-1,this.rindex--,this.rindex0--}valueOf(){return JSON.stringify(this)}};function e3(n){return n instanceof W3&&g2(n.valueOf)?n.valueOf():n}function f2(n){return typeof n=="string"}function _4(n){return typeof n=="number"}function g2(n){return typeof n=="function"}function w2(n){return n==null}function d3(n){return Te.call(n)==="[object Array]"}function x(n){let e=typeof n;return n!==null&&(e==="object"||e==="function")}function _e(n){return x(n)&&Symbol.iterator in n}function D(n){return x(n)&&typeof n.then=="function"}function y2(n,e){return!Me(n,e)}function Me(n,e){return e.opts.jsTruthy?!n:n===!1||n===void 0||n===null}function M3(n){return x(n)&&g2(n.equals)}function S2(n){return w2(n)?[]:d3(n)?n:[n]}function J3(n){return n=e3(n),d3(n)?n:f2(n)&&n.length>0?[n]:_e(n)?Array.from(n):x(n)?Object.entries(n).reduce((e,[t,i])=>(e.push({id:t,...i}),e),[]):[]}function M4(n){return n=e3(n),f2(n)?n:w2(n)?"":d3(n)?n.map(e=>M4(e)).join(""):String(n)}function j(n){if(Array.isArray(n))return n.reduce((e,t,i)=>{if(Array.isArray(t)){let[r,a]=t;e[r]=a}else i%2===0&&(e[t]=n[i+1]);return e},{});if(x(n)){let e={},t=Object.values(n);for(let i=0;i<t.length;i+=2)e[t[i]]=t[i+1];return e}return{}}async function Y3(n,e=0){let t=n;t instanceof T&&(t=await t.resolve()),await k2(t);let i=[];return JSON.stringify(t,(r,a)=>{if(typeof a=="object"&&a!==null){if(i.includes(a))return;i.push(a)}return a},e)}async function k2(n,e=new WeakSet){await L2(n,async(t,i)=>{if(!x(i))return;let r=i[t];if(D(r))i[t]=await r,await k2(i[t],e);else if(typeof r=="object"&&r!==null){if(e.has(r))return!1;e.add(r)}})}async function L2(n,e){if(!(typeof n!="object"||n===null)){for(let t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&await e(t,n)!==!1){let r=n[t];typeof r=="object"&&r!==null&&await L2(r,e)}}}var y=class n{props;stringProp;linkProps;constructor(e,t,i){return this.props=e,this.stringProp=t,this.linkProps=i,new Proxy(e,{get(r,a){let o=r;switch(a){case"toJSON":return e;case"clone":return()=>new n((0,Q3.cloneDeep)(e),(0,Q3.cloneDeep)(t),(0,Q3.cloneDeep)(i));case"toString":{if(t)return()=>e[t];break}default:break}return o[a]instanceof U?o[a].resolve().then(s=>(o[a]=s,s)).catch(s=>(console.log(s),o[a]=null,null)):o[a]},getPrototypeOf(){return n.prototype}})}valueOf(){return this.stringProp?this.props[this.stringProp]:this}clone(){return new n({})}},U=class{handler;result;constructor(e){this.handler=e}async resolve(){return this.result===void 0&&(this.result=Promise.resolve().then(()=>this.handler()).then(e=>(this.result=e!==void 0?e:null,e))),this.result}};function w(n){return new U(n)}function Ee(n){return x(n)&&(D(n)||typeof n._resolve=="function")}function A2(n){return x(n)&&typeof n._resolve=="function"}async function ve(n){return Array.isArray(n)?Promise.all(n.map(e=>A2(e)?e._resolve():e)):A2(n)?n._resolve():n}async function b2(n,e){return ve(n).then(t=>Array.isArray(n)&&Array.isArray(t)?e(...t.map(i=>i||{})):Ee(t)?b2(t,e):e(t||{})).catch(t=>(console.log(t),null))}function d(n,e){return new U(()=>b2(n,e))}function E4(n,e,t,i,r){return d(e,a=>a[t]?._cloneWithCompatibilityResult(o=>({results:o?.results?.map(s=>{let l=i(n,s);return r&&r(l,s),l})}))||[])}function Z(n,e,t,i){return e instanceof y?e.clone():new y({alt:d(e,r=>r.alt||t?.name),aspect_ratio:1,"attached_to_variant?":!0,height:w(()=>e.height),id:d(e,r=>r.file?.id),media_type:"image",position:null,presentation:{focal_point:null},preview_image:w(()=>e.file),product_id:w(()=>t?.id),src:d(e,async r=>r.file&&De(r.file)),variants:null,width:w(()=>e.width)})}function De(n){return new y({url:n.url,width:n.width,height:n.height},"url")}function $(n,e){return e instanceof y?e.clone():new y({alt:e.alt,id:e.id||e.file?.id,media_type:"image",position:null,preview_image:e.file})}function B(n,e,t,i=0){if(e instanceof y)return e.clone();let r=t||e.product||{};return new y({available:d(e,a=>a.stock_status==="in_stock"||!a.stock_status),barcode:null,compare_at_price:w(()=>e.compare_price),featured_image:d([r,e],(a,o)=>{let s=o.images?.[0]||a.images?.[0];return s&&$(n,s)}),featured_media:d([r,e],(a,o)=>{let s=o.images?.[0]||a.images?.[0];return s&&$(n,s)}),id:d(e,a=>a.id),image:d([r,e],(a,o)=>{let s=o.images?.[0]||a.images?.[0];return s&&$(n,s)}),incoming:!1,inventory_management:null,inventory_policy:null,matched:!1,metafields:null,next_incoming_date:null,options:Pe(r,e),option1:v4(r,e,0),option2:v4(r,e,1),option3:v4(r,e,2),price:w(()=>e.price!==null&&e.price!==void 0?e.price:r.price),product:d(r,a=>v(n,a,i+1)),quantity_price_breaks:null,"quantity_price_breaks_configured?":d(e,()=>e.prices?.length>0),quantity_rule:{min:1,max:null,increment:1},requires_selling_plan:!1,requires_shipping:d(r,()=>r.delivery?.contains("shipment")),selected:!1,selected_selling_plan_allocation:null,selling_plan_allocations:null,sku:d(e,a=>a.sku),store_availabilities:null,taxable:!0,title:w(()=>e.name),unit_price:w(()=>e.price),unit_price_measurement:null,url:w(()=>r.url),weight:d(e,a=>a.weight),weight_in_unit:w(()=>e.weight_unit),weight_unit:d(e,a=>a.weight_unit)})}function Pe(n,e){return d([n,e],(t,i)=>{let r=t.options?.reduce((a,o)=>{for(let s of o.values)a[s.id]||(a[s.id]=s.name);return a},{});return i.option_value_ids?.map(a=>r[a])})}function v4(n,e,t){return d([n,e],(i,r)=>{let a=i.options?.reduce((o,s)=>{for(let l of s.values)o[l.id]||(o[l.id]=l.name);return o},{});return r.option_value_ids?.[t]&&a[r.option_value_ids[t]]})}function v(n,e,t=0){return e instanceof y?e.clone():t>1?null:new y({available:d(e,i=>i.stock_status==="in_stock"||!i.stock_status),collections:[],compare_at_price:w(()=>e.compare_price),compare_at_price_max:null,compare_at_price_min:null,compare_at_price_varies:!1,content:w(()=>e.description),created_at:w(()=>e.date_created),description:d(e,i=>i.description),featured_image:d(e,i=>i.images?.[0]&&Z(n,i.images[0],i)),featured_media:d(e,i=>i.images?.[0]&&$(n,i.images[0])),first_available_variant:d(e,i=>D4(i,{})),"gift_card?":d(e,i=>i.type==="giftcard"),handle:w(()=>e.slug),has_only_default_variant:d(e,i=>!i.options?.length),id:d(e,i=>i.id),images:d(e,i=>i.images?.map(r=>r&&Z(n,r,i))),media:d(e,i=>i.images?.map(r=>$(n,r))),metafields:null,options:d(e,i=>i.options?.map(r=>r.active&&r.name).filter(Boolean)),options_by_name:d(e,i=>i.options?.filter(r=>r.active).reduce((r,a,o)=>({...r,[a.name?.toLowerCase()]:{name:a.name,position:o+1,selected_value:null,values:a.values?.map(s=>T2({available:!0,id:s.id,name:s.name,product_url:null,selected:!1,swatch:null,variant:null}))}}),{})),options_with_values:d(e,i=>{let a=D4(i,n.swell.queryParams)?.option_value_ids||[];return i.options?.map((o,s)=>({name:o.name,position:s+1,selected_value:null,values:o.values?.map(l=>T2({available:!0,id:l.id,name:l.name,product_url:null,selected:a.includes(l.id),swatch:null,variant:null}))}))}),price:d(e,i=>i.price),price_max:d(e,i=>i.variants?.results?.reduce((r,a)=>Math.max(r,a.price),0)),price_min:d(e,i=>i.variants?.results?.reduce((r,a)=>Math.min(r,a.price),1/0)),price_varies:d(e,i=>i.variants?.results?.some(r=>r.price!==i.price)),published_at:w(()=>e.date_created),"quantity_price_breaks_configured?":d(e,i=>i.prices?.length>0),quantity_rule:{min:1,max:null,increment:1},requires_selling_plan:!1,selected_or_first_available_selling_plan_allocation:null,selected_or_first_available_variant:d(e,i=>{let r=D4(i,n.swell.queryParams);return r?B(n,r,i,t+1):v(n,i,t+1)}),selected_selling_plan:null,selected_variant:null,selling_plan_groups:null,tags:d(e,i=>i.tags),template_suffix:null,title:w(()=>e.name),type:d(e,i=>i.type),url:d(e,i=>`/products/${i.slug}`),variants:d(e,i=>i.variants?.results?.map(r=>B(n,r,i,t+1)).reverse()),vendor:null})}function T2(n){return new y(n,"name")}function D4(n,e){let{variant:t,option_values:i}=e,r=xe(n),a=null;if(t)a=r.find(o=>o.id===t);else if(i){let o=i.split(",");a=r.find(s=>s.option_value_ids.every(l=>o.includes(l)))}return a||r?.[0]||null}function xe(n){return(n.variants?.results?.slice()?.reverse()||[]).filter(e=>e.stock_status==="in_stock"||!e.stock_status)}function c3(n,e,t,i={}){return new y({...e,discount_allocations:e.discounts?.map(r=>{let a=t.discounts?.find(s=>s.id===r.id),o=(a?.source_id===t.coupon_id?t.coupon?.name:t.promotions?.results?.find(s=>a?.source_id===s.id)?.name)||a?.source_id;return[{amount:r.amount,discount_application:a&&{target_selection:a.type==="order"?"all":["shipment","product"].includes(a.type)?"entitled":"explicit",target_type:a.type==="shipment"?"shipping_line":"line_item",title:o,total_allocated_amount:a.amount,type:a.type==="promo"?"automatic":a.type==="coupon"?"discount_code":"manual",value:a.rule?.value_type==="fixed"?a.rule?.value_fixed:a.rule?.value_percent,value_type:a.rule?.value_type==="fixed"?"fixed_amount":"percentage"}}]}),error_message:null,final_line_price:e.price_total-e.discount_total,final_price:e.price-e.discount_each,fulfillment_service:"manual",gift_card:e.delivery==="giftcard",grams:e.shipment_weight,id:e.id,image:d([e.product,e.variant],(r,a)=>r?.images?.[0]&&Z(n,r.images?.[0],r,a)),item_components:e.bundle_items?.map(r=>c3(n,r,t,{...i,bundle:!0})),key:e.id,line_level_discount_allocations:[],line_level_total_discount:e.discount_total,message:null,options_with_values:e.options,original_line_price:e.price*e.quantity,original_price:e.price,product:d(e.product,()=>e.product&&v(n,e.product)),product_id:e.product_id,properties:e.metadata,quantity:e.quantity,requires_shipping:e.delivery==="shipment",selling_plan_allocation:null,sku:d(e.product,r=>r.sku),successfully_fulfilled_quantity:e.quantity_delivered,tax_lines:e.taxes?.map(r=>{let a=t.taxes?.find(o=>o.id===r.id);return{price:r.amount,rate:(a?.rate||0)/100,rate_percentage:a?.rate||0,title:r.name}}),taxable:e.tax_total>0,title:d([e.product,e.variant],(r,a)=>`${r?.name||e.product_id}${a?.name?` - ${a.name}`:""}`),url:d(e.product,r=>`/products/${r.slug}`),url_to_remove:null,variant:d([e.product,e.variant],()=>e.variant?B(n,e.variant,e.product):v(n,e.product)),vendor:null,discounts:null,line_price:e.price_total,price:e.price,total_discount:e.discount_total})}function X3(n,e="quantity"){return n?.reduce((t,i)=>t+i[e],0)||0}function u3(n,e){return e instanceof y?e.clone():new y({attributes:w(()=>e.metadata),cart_level_discount_applications:[],checkout_charge_amount:w(()=>e.grand_total),currency:d(e,t=>t.currency),discount_applications:[],duties_included:w(()=>e.item_tax_included),"empty?":w(()=>!e.items?.length),item_count:d(e,t=>X3(t.items)),items:d(e,t=>t.items?.map(i=>c3(n,i,t))),items_subtotal_price:w(()=>e.sub_total),note:w(()=>e.comments),original_total_price:d(e,t=>t.sub_total+t.item_discount),requires_shipping:w(()=>!!e.shipment_delivery),taxes_included:w(()=>!!e.item_tax_included),total_discount:w(()=>e.discount_total),total_price:w(()=>e.grand_total),total_weight:w(()=>e.item_shipment_weight)})}function t3(n,e,t){return e instanceof y?e.clone():new y({address1:d(e,i=>i.address1),address2:d(e,i=>i.address2),city:d(e,i=>i.city),company:d(e,i=>i.company),country:d(e,i=>Re(n,i.country)),country_code:d(e,i=>i.country_code),first_name:d(e,i=>i.first_name||t?.first_name),id:d(e,i=>i.id),last_name:d(e,i=>i.last_name||t?.last_name),name:d(e,i=>i.name||t?.name),phone:d(e,i=>i.phone),province:d(e,i=>i.state),province_code:d(e,i=>String(i.state||"").substring(0,2)),street:d(e,i=>_2(i.address1,i.address2)),summary:d(e,i=>_2(i.name||t?.name,i.company,i.address1,i.address2,i.city,i.state,i.country)),url:d(e,i=>`/account/addresses/${i.id}`),zip:d(e,i=>i.zip)})}function _2(...n){return n.filter(Boolean).join(`
|
|
9
|
+
`)}function Re(n,e){return new y({available_languages:[],continent:"",currency:"",iso_code:e,market:null,name:e,"popular?":!0,unit_system:"metric"},"iso_code")}function i3(n,e,t){if(e instanceof y)return e.clone();let i=t||e.account,r=d(e,a=>a.items?.map(o=>c3(n,o,a,{order:!0})));return new y({attributes:w(()=>e.metadata),billing_address:d(e,()=>t3(n,e.billing)),cancelled:w(()=>e.canceled),cancelled_at:w(()=>e.date_canceled),confirmation_number:w(()=>e.number),created_at:w(()=>e.date_created),customer:i&&w(()=>K(n,i)),customer_order_url:d(e,a=>`/account/orders/${a.id}`),customer_url:d(e,a=>`/account/orders/${a.id}`),email:i&&d(i,a=>a.email),financial_status:d(e,a=>M2(a)),financial_status_label:d(e,a=>je(a)),fulfillment_status:d(e,a=>E2(a)),fulfillment_status_label:d(e,a=>Ze(a)),id:d(e,a=>a.id),item_count:d(e,a=>X3(a.items)),line_items:r,line_items_subtotal_price:w(()=>e.sub_total),name:w(()=>e.number),number:d(e,a=>a.number),note:w(()=>e.comments),phone:i&&d([e,i],(a,o)=>a.billing?.phone||a.shipping.phone||o.phone),shipping_address:d(e,()=>t3(n,e.shipping)),shipping_methods:w(()=>{let a=Fe(e);return a&&[a]}),shipping_price:w(()=>e.shipment_total),subtotal_line_items:r,subtotal_price:w(()=>e.sub_total),tags:null,tax_price:w(()=>e.tax_total),total_discounts:w(()=>e.discount_total),total_net_amount:w(()=>e.grand_total),total_price:w(()=>e.grand_total),total_refunded_amount:w(()=>e.refund_total)})}function M2(n){return Ie(n)?"refund_due":n.payment_total>0&&n.payment_total>n.refund_total&&n.payment_total<n.grand_total&&Ne(n)>0?"partially_paid":n.refund_total>0&&n.refund_total<n.payment_total?"partially_refunded":n.refund_total>0&&n.refund_total===n.payment_total?"refunded":n.payment_total>0&&n.payment_balance===0?"paid":n.authorized_payment_id&&!n.paid?"authorized":n.grand_total>0?"unpaid":"complete"}function E2(n){return n.canceled?"canceled":n.hold||n.status==="hold"?"on_hold":n.delivered?n.item_quantity_returned>0||n.return_total>0?n.item_quantity_returned===n.item_quantity?"returned":"rartially_returned":"fulfilled":n.item_quantity_delivered>0?"partially_fulfilled":n.item_quantity_deliverable>0?"unfulfilled":"complete"}function je(n){return v2(M2(n))}function Ze(n){return v2(E2(n))}function v2(n){let e=n.replace(/\_/g," ");return e.charAt(0).toUpperCase()+e.slice(1)}function Ne(n){return!n.canceled&&n.payment_balance<0?-n.payment_balance:0}function Ie(n){if(n.canceled)return n.payment_total-n.refund_total;if(n.payment_balance>0)return n.payment_balance}function Fe(n){return n.shipping?.service?new y({id:n.shipping.service,handle:`${n.shipping.service}-${n.shipping.price}`,original_price:n.shipment_price,price:n.shipment_total,tax_lines:[],title:n.shipping.service_name||n.shipping.service}):null}function K(n,e){return e instanceof y?e.clone():new y({accepts_marketing:w(()=>e.email_optin),addresses:E4(n,e,"addresses",t3),addresses_count:d(e.addresses,t=>t.count||0),"b2b?":d(e,()=>e.type==="business"),company_available_locations:[],current_company:null,current_location:null,default_address:d(e,t=>t3(n,t.shipping||t.billing||{},t)),email:d(e,t=>t.email),first_name:d(e,t=>t.first_name),has_account:!0,"has_avatar?":!1,id:d(e,t=>t.id),last_name:d(e,t=>t.last_name),last_order:w(()=>He(n,e)),name:d(e,t=>t.name),orders:E4(n,e,"orders",i3),orders_count:w(()=>e.order_count),phone:d(e,t=>t.phone||t.shipping?.phone||t.billing?.phone),tags:d(e,t=>t.tags||[t.group]),tax_exempt:w(()=>e.tax_exempt),total_spent:w(()=>e.order_value)})}async function He(n,e){let t=await e.id,i=await n.swell.getCachedResource(`last-order-${t}`,[],async()=>(await n.swell.storefront.account.listOrders({limit:1}))?.results?.[0]);if(i)return i3(n,i,e)}var P4={url:"/:themes:configs/{id}/file/data",conditions:{type:"theme",file:{$or:[{$and:[{content_type:{$regex:"^(?!image)"}},{content_type:{$regex:"^(?!video)"}}]},{content_type:{$regex:"^image/svg"}}]},$or:[{file_path:{$regex:"^(?!theme/assets/)"}},{file_path:{$regex:".liquid.[a-zA-Z0-9]+$"}},{file_path:{$regex:".(css|js|svg)$"}}]}},x4={countries:[{id:"US",name:"United States",state_label:"State"},{id:"CA",name:"Canada",state_label:"Province"},{id:"AU",name:"Australia",state_label:"State/territory"},{id:"GB",name:"United Kingdom"},{id:"AF",name:"Afghanistan"},{id:"AX",name:"Aland Islands"},{id:"AL",name:"Albania"},{id:"DZ",name:"Algeria",state_label:"Province"},{id:"AD",name:"Andorra"},{id:"AO",name:"Angola"},{id:"AI",name:"Anguilla"},{id:"AG",name:"Antigua And Barbuda"},{id:"AR",name:"Argentina"},{id:"AM",name:"Armenia"},{id:"AW",name:"Aruba"},{id:"AT",name:"Austria"},{id:"AZ",name:"Azerbaijan"},{id:"BS",name:"Bahamas"},{id:"BH",name:"Bahrain"},{id:"BD",name:"Bangladesh"},{id:"BB",name:"Barbados"},{id:"BY",name:"Belarus"},{id:"BE",name:"Belgium"},{id:"BZ",name:"Belize"},{id:"BJ",name:"Benin"},{id:"BM",name:"Bermuda"},{id:"BT",name:"Bhutan"},{id:"BO",name:"Bolivia"},{id:"BA",name:"Bosnia And Herzegovina"},{id:"BW",name:"Botswana"},{id:"BV",name:"Bouvet Island"},{id:"BR",name:"Brazil",state_label:"State"},{id:"IO",name:"British Indian Ocean Territory"},{id:"BN",name:"Brunei"},{id:"BG",name:"Bulgaria"},{id:"BF",name:"Burkina Faso"},{id:"BU",name:"Burma"},{id:"BI",name:"Burundi"},{id:"KH",name:"Cambodia"},{id:"CM",name:"Cameroon"},{id:"CV",name:"Cape Verde"},{id:"KY",name:"Cayman Islands"},{id:"CF",name:"Central African Republic"},{id:"TD",name:"Chad"},{id:"CL",name:"Chile"},{id:"CN",name:"China"},{id:"CX",name:"Christmas Island"},{id:"CC",name:"Cocos (Keeling) Islands"},{id:"CO",name:"Colombia"},{id:"KM",name:"Comoros"},{id:"CG",name:"Congo"},{id:"CD",name:"Congo, The Democratic Republic Of The"},{id:"CK",name:"Cook Islands"},{id:"CR",name:"Costa Rica"},{id:"CI",name:"Cote D'Ivoire"},{id:"HR",name:"Croatia"},{id:"CU",name:"Cuba"},{id:"CY",name:"Cyprus"},{id:"CZ",name:"Czech Republic"},{id:"DK",name:"Denmark"},{id:"DJ",name:"Djibouti"},{id:"DM",name:"Dominica"},{id:"DO",name:"Dominican Republic"},{id:"EC",name:"Ecuador"},{id:"EG",name:"Egypt"},{id:"SV",name:"El Salvador"},{id:"GQ",name:"Equatorial Guinea"},{id:"ER",name:"Eritrea"},{id:"EE",name:"Estonia"},{id:"ET",name:"Ethiopia"},{id:"FK",name:"Falkland Islands (Malvinas)"},{id:"FO",name:"Faroe Islands"},{id:"FJ",name:"Fiji"},{id:"FI",name:"Finland"},{id:"FR",name:"France"},{id:"GF",name:"French Guiana"},{id:"PF",name:"French Polynesia"},{id:"TF",name:"French Southern Territories"},{id:"GA",name:"Gabon"},{id:"GM",name:"Gambia"},{id:"GE",name:"Georgia"},{id:"DE",name:"Germany"},{id:"GH",name:"Ghana"},{id:"GI",name:"Gibraltar"},{id:"GR",name:"Greece"},{id:"GL",name:"Greenland"},{id:"GD",name:"Grenada"},{id:"GP",name:"Guadeloupe"},{id:"GT",name:"Guatemala",state_label:"Department"},{id:"GG",name:"Guernsey"},{id:"GN",name:"Guinea"},{id:"GW",name:"Guinea Bissau"},{id:"GY",name:"Guyana"},{id:"HT",name:"Haiti"},{id:"HM",name:"Heard Island And Mcdonald Islands"},{id:"VA",name:"Holy See (Vatican City State)"},{id:"HN",name:"Honduras"},{id:"HK",name:"Hong Kong"},{id:"HU",name:"Hungary"},{id:"IS",name:"Iceland"},{id:"IN",name:"India",state_label:"State"},{id:"ID",name:"Indonesia"},{id:"IR",name:"Iran, Islamic Republic Of"},{id:"IQ",name:"Iraq"},{id:"IE",name:"Ireland"},{id:"IM",name:"Isle Of Man"},{id:"IL",name:"Israel"},{id:"IT",name:"Italy"},{id:"JM",name:"Jamaica"},{id:"JP",name:"Japan"},{id:"JE",name:"Jersey"},{id:"JO",name:"Jordan"},{id:"KZ",name:"Kazakhstan"},{id:"KE",name:"Kenya"},{id:"KI",name:"Kiribati"},{id:"KP",name:"Korea, North"},{id:"KR",name:"Korea, South"},{id:"KW",name:"Kuwait"},{id:"KG",name:"Kyrgyzstan"},{id:"LA",name:"Laos"},{id:"LV",name:"Latvia"},{id:"LB",name:"Lebanon"},{id:"LS",name:"Lesotho"},{id:"LR",name:"Liberia"},{id:"LY",name:"Libya"},{id:"LI",name:"Liechtenstein"},{id:"LT",name:"Lithuania"},{id:"LU",name:"Luxembourg"},{id:"MO",name:"Macao"},{id:"MK",name:"Macedonia"},{id:"MG",name:"Madagascar"},{id:"MW",name:"Malawi"},{id:"MY",name:"Malaysia",state_label:"State/territory"},{id:"MV",name:"Maldives"},{id:"ML",name:"Mali"},{id:"MT",name:"Malta"},{id:"MQ",name:"Martinique"},{id:"MR",name:"Mauritania"},{id:"MU",name:"Mauritius"},{id:"YT",name:"Mayotte"},{id:"MX",name:"Mexico",state_label:"State"},{id:"MD",name:"Moldova"},{id:"MC",name:"Monaco"},{id:"MN",name:"Mongolia"},{id:"ME",name:"Montenegro"},{id:"MS",name:"Montserrat"},{id:"MA",name:"Morocco"},{id:"MZ",name:"Mozambique"},{id:"MM",name:"Myanmar"},{id:"NA",name:"Namibia"},{id:"NR",name:"Nauru"},{id:"NP",name:"Nepal"},{id:"NL",name:"Netherlands"},{id:"AN",name:"Netherlands Antilles"},{id:"NC",name:"New Caledonia"},{id:"NZ",name:"New Zealand",state_label:"Region"},{id:"NI",name:"Nicaragua"},{id:"NE",name:"Niger"},{id:"NG",name:"Nigeria"},{id:"NU",name:"Niue"},{id:"NF",name:"Norfolk Island"},{id:"NO",name:"Norway"},{id:"OM",name:"Oman"},{id:"PK",name:"Pakistan"},{id:"PS",name:"Palestinian Territory, Occupied"},{id:"PA",name:"Panama"},{id:"PG",name:"Papua New Guinea"},{id:"PY",name:"Paraguay"},{id:"PE",name:"Peru"},{id:"PH",name:"Philippines",state_label:"Region"},{id:"PN",name:"Pitcairn"},{id:"PL",name:"Poland"},{id:"PT",name:"Portugal"},{id:"QA",name:"Qatar"},{id:"RE",name:"Reunion"},{id:"RO",name:"Romania"},{id:"RU",name:"Russia"},{id:"RW",name:"Rwanda"},{id:"BL",name:"Saint Barthelemy"},{id:"SH",name:"Saint Helena"},{id:"KN",name:"Saint Kitts And Nevis"},{id:"LC",name:"Saint Lucia"},{id:"MF",name:"Saint Martin"},{id:"PM",name:"Saint Pierre And Miquelon"},{id:"VC",name:"Saint Vincent"},{id:"WS",name:"Samoa"},{id:"SM",name:"San Marino"},{id:"ST",name:"Sao Tome And Principe"},{id:"SA",name:"Saudi Arabia"},{id:"SN",name:"Senegal"},{id:"RS",name:"Serbia"},{id:"SC",name:"Seychelles"},{id:"SL",name:"Sierra Leone"},{id:"SG",name:"Singapore"},{id:"SK",name:"Slovakia"},{id:"SI",name:"Slovenia"},{id:"SB",name:"Solomon Islands"},{id:"SO",name:"Somalia"},{id:"ZA",name:"South Africa"},{id:"GS",name:"South Georgia And The South Sandwich Islands"},{id:"ES",name:"Spain",state_label:"Province"},{id:"LK",name:"Sri Lanka"},{id:"SD",name:"Sudan"},{id:"SR",name:"Suriname"},{id:"SJ",name:"Svalbard And Jan Mayen"},{id:"SZ",name:"Swaziland"},{id:"SE",name:"Sweden"},{id:"CH",name:"Switzerland"},{id:"SY",name:"Syria"},{id:"TW",name:"Taiwan"},{id:"TJ",name:"Tajikistan"},{id:"TZ",name:"Tanzania"},{id:"TH",name:"Thailand"},{id:"TL",name:"Timor-Leste"},{id:"TG",name:"Togo"},{id:"TK",name:"Tokelau"},{id:"TO",name:"Tonga"},{id:"TT",name:"Trinidad and Tobago"},{id:"TN",name:"Tunisia"},{id:"TR",name:"Turkey"},{id:"TM",name:"Turkmenistan"},{id:"TC",name:"Turks And Caicos Islands"},{id:"TV",name:"Tuvalu"},{id:"UG",name:"Uganda"},{id:"UA",name:"Ukraine"},{id:"AE",name:"United Arab Emirates",state_label:"Emirate"},{id:"UM",name:"United States Minor Outlying Islands"},{id:"UY",name:"Uruguay"},{id:"UZ",name:"Uzbekistan"},{id:"VU",name:"Vanuatu"},{id:"VE",name:"Venezuela"},{id:"VN",name:"Vietnam"},{id:"VG",name:"Virgin Islands, British"},{id:"WF",name:"Wallis And Futuna"},{id:"EH",name:"Western Sahara"},{id:"YE",name:"Yemen"},{id:"ZM",name:"Zambia"},{id:"ZW",name:"Zimbabwe"}],states:[{country:"US",id:"AL",name:"Alabama"},{country:"US",id:"AK",name:"Alaska"},{country:"US",id:"AZ",name:"Arizona"},{country:"US",id:"AR",name:"Arkansas"},{country:"US",id:"CA",name:"California"},{country:"US",id:"CO",name:"Colorado"},{country:"US",id:"CT",name:"Connecticut"},{country:"US",id:"DE",name:"Delaware"},{country:"US",id:"DC",name:"District of Columbia"},{country:"US",id:"FL",name:"Florida"},{country:"US",id:"GA",name:"Georgia"},{country:"US",id:"HI",name:"Hawaii"},{country:"US",id:"ID",name:"Idaho"},{country:"US",id:"IL",name:"Illinois"},{country:"US",id:"IN",name:"Indiana"},{country:"US",id:"IA",name:"Iowa"},{country:"US",id:"KS",name:"Kansas"},{country:"US",id:"KY",name:"Kentucky"},{country:"US",id:"LA",name:"Louisiana"},{country:"US",id:"ME",name:"Maine"},{country:"US",id:"MD",name:"Maryland"},{country:"US",id:"MA",name:"Massachusetts"},{country:"US",id:"MI",name:"Michigan"},{country:"US",id:"MN",name:"Minnesota"},{country:"US",id:"MS",name:"Mississippi"},{country:"US",id:"MO",name:"Missouri"},{country:"US",id:"MT",name:"Montana"},{country:"US",id:"NE",name:"Nebraska"},{country:"US",id:"NV",name:"Nevada"},{country:"US",id:"NH",name:"New Hampshire"},{country:"US",id:"NJ",name:"New Jersey"},{country:"US",id:"NM",name:"New Mexico"},{country:"US",id:"NY",name:"New York"},{country:"US",id:"NC",name:"North Carolina"},{country:"US",id:"ND",name:"North Dakota"},{country:"US",id:"OH",name:"Ohio"},{country:"US",id:"OK",name:"Oklahoma"},{country:"US",id:"OR",name:"Oregon"},{country:"US",id:"PA",name:"Pennsylvania"},{country:"US",id:"RI",name:"Rhode Island"},{country:"US",id:"SC",name:"South Carolina"},{country:"US",id:"SD",name:"South Dakota"},{country:"US",id:"TN",name:"Tennessee"},{country:"US",id:"TX",name:"Texas"},{country:"US",id:"UT",name:"Utah"},{country:"US",id:"VT",name:"Vermont"},{country:"US",id:"VA",name:"Virginia"},{country:"US",id:"WA",name:"Washington"},{country:"US",id:"WV",name:"West Virginia"},{country:"US",id:"WI",name:"Wisconsin"},{country:"US",id:"WY",name:"Wyoming"},{country:"US",id:"AS",name:"American Samoa"},{country:"US",id:"AA",name:"Armed Forces Americas"},{country:"US",id:"AE",name:"Armed Forces Europe"},{country:"US",id:"AP",name:"Armed Forces Pacific"},{country:"US",id:"FM",name:"Federated States of Micronesia"},{country:"US",id:"GU",name:"Guam"},{country:"US",id:"MH",name:"Marshall Islands"},{country:"US",id:"MP",name:"Northern Mariana Islands"},{country:"US",id:"PW",name:"Palau"},{country:"US",id:"PR",name:"Puerto Rico"},{country:"US",id:"VI",name:"Virgin Islands"},{country:"CA",id:"AB",name:"Alberta"},{country:"CA",id:"BC",name:"British Columbia"},{country:"CA",id:"MB",name:"Manitoba"},{country:"CA",id:"NB",name:"New Brunswick"},{country:"CA",id:"NL",name:"Newfoundland"},{country:"CA",id:"NT",name:"Northwest Territories"},{country:"CA",id:"NS",name:"Nova Scotia"},{country:"CA",id:"NU",name:"Nunavut"},{country:"CA",id:"ON",name:"Ontario"},{country:"CA",id:"PE",name:"Prince Edward Island"},{country:"CA",id:"QC",name:"Quebec"},{country:"CA",id:"SK",name:"Saskatchewan"},{country:"CA",id:"YT",name:"Yukon"},{country:"AU",id:"ACT",name:"Australian Capital Territory"},{country:"AU",id:"NSW",name:"New South Wales"},{country:"AU",id:"NT",name:"Northern Territory"},{country:"AU",id:"QLD",name:"Queensland"},{country:"AU",id:"SA",name:"South Australia"},{country:"AU",id:"TAS",name:"Tasmania"},{country:"AU",id:"VIC",name:"Victoria"},{country:"AU",id:"WA",name:"Western Australia"},{country:"BR",id:"AC",name:"Acre"},{country:"BR",id:"AL",name:"Alagoas"},{country:"BR",id:"AP",name:"Amapa"},{country:"BR",id:"AM",name:"Amazonas"},{country:"BR",id:"BA",name:"Bahia"},{country:"BR",id:"CE",name:"Ceara"},{country:"BR",id:"BRDF",name:"Distrito Federal"},{country:"BR",id:"ES",name:"Espirito Santo"},{country:"BR",id:"GO",name:"Goias;"},{country:"BR",id:"MA",name:"Maranhao"},{country:"BR",id:"MT",name:"Mato Grosso"},{country:"BR",id:"MS",name:"Mato Grosso do Sul"},{country:"BR",id:"MG",name:"Minas Gerais"},{country:"BR",id:"PA",name:"Para;"},{country:"BR",id:"PB",name:"Paraiba"},{country:"BR",id:"PR",name:"Parana"},{country:"BR",id:"PE",name:"Pernambuco"},{country:"BR",id:"PI",name:"Piaui"},{country:"BR",id:"RJ",name:"Rio de Janeiro"},{country:"BR",id:"RN",name:"Rio Grande do Norte"},{country:"BR",id:"RS",name:"Rio Grande do Sul"},{country:"BR",id:"RO",name:"Rondonia"},{country:"BR",id:"RR",name:"Roraima"},{country:"BR",id:"SC",name:"Santa Catarina"},{country:"BR",id:"SP",name:"Sao Paulo"},{country:"BR",id:"SE",name:"Sergipe"},{country:"BR",id:"TO",name:"Tocantins"},{country:"GT",id:"Alta Verapaz",name:"Alta Verapaz"},{country:"GT",id:"Baja Verapaz",name:"Baja Verapaz"},{country:"GT",id:"Chimaltenango",name:"Chimaltenango"},{country:"GT",id:"Chiquimula",name:"Chiquimula"},{country:"GT",id:"El Progreso",name:"El Progreso"},{country:"GT",id:"Escuintla",name:"Escuintla"},{country:"GT",id:"Guatemala",name:"Guatemala"},{country:"GT",id:"Huehuetenango",name:"Huehuetenango"},{country:"GT",id:"Izabal",name:"Izabal"},{country:"GT",id:"Jalapa",name:"Jalapa"},{country:"GT",id:"Jutiapa",name:"Jutiapa"},{country:"GT",id:"Peten",name:"Peten"},{country:"GT",id:"Quetzaltenango",name:"Quetzaltenango"},{country:"GT",id:"Quiche",name:"Quiche"},{country:"GT",id:"Retalhuleu",name:"Retalhuleu"},{country:"GT",id:"Sacatepequez",name:"Sacatepequez"},{country:"GT",id:"San Marcos",name:"San Marcos"},{country:"GT",id:"Santa Rosa",name:"Santa Rosa"},{country:"GT",id:"Solola",name:"Solola"},{country:"GT",id:"Suchitepequez",name:"Suchitepequez"},{country:"GT",id:"Totonicapan",name:"Totonicapan"},{country:"GT",id:"Zacapa",name:"Zacapa"},{country:"IN",id:"AN",name:"Andaman and Nicobar"},{country:"IN",id:"AP",name:"Andhra Pradesh"},{country:"IN",id:"AR",name:"Arunachal Pradesh"},{country:"IN",id:"AS",name:"Assam"},{country:"IN",id:"BR",name:"Bihar"},{country:"IN",id:"CH",name:"Chandigarh"},{country:"IN",id:"CT",name:"Chattisgarh"},{country:"IN",id:"DN",name:"Dadra and Nagar Haveli"},{country:"IN",id:"DD",name:"Daman and Diu"},{country:"IN",id:"DL",name:"Delhi"},{country:"IN",id:"GA",name:"Goa"},{country:"IN",id:"GJ",name:"Gujarat"},{country:"IN",id:"HR",name:"Haryana"},{country:"IN",id:"HP",name:"Himachal Pradesh"},{country:"IN",id:"JK",name:"Jammu and Kashmir"},{country:"IN",id:"JH",name:"Jharkhand"},{country:"IN",id:"KA",name:"Karnataka"},{country:"IN",id:"KL",name:"Kerala"},{country:"IN",id:"LD",name:"Lakshadweep"},{country:"IN",id:"MP",name:"Madhya Pradesh"},{country:"IN",id:"MH",name:"Maharashtra"},{country:"IN",id:"MN",name:"Manipur"},{country:"IN",id:"ML",name:"Meghalaya"},{country:"IN",id:"MZ",name:"Mizoram"},{country:"IN",id:"NL",name:"Nagaland"},{country:"IN",id:"OR",name:"Orissa"},{country:"IN",id:"PY",name:"Puducherry"},{country:"IN",id:"PB",name:"Punjab"},{country:"IN",id:"RJ",name:"Rajasthan"},{country:"IN",id:"SK",name:"Sikkim"},{country:"IN",id:"TN",name:"Tamil Nadu"},{country:"IN",id:"TR",name:"Tripura"},{country:"IN",id:"UP",name:"Uttar Pradesh"},{country:"IN",id:"UT",name:"Uttarakhand"},{country:"IN",id:"WB",name:"West Bengal"},{country:"MY",id:"JHR",name:"Johor"},{country:"MY",id:"KDH",name:"Kedah"},{country:"MY",id:"KTN",name:"Kelantan"},{country:"MY",id:"KUL",name:"Kuala Lumpur"},{country:"MY",id:"LBN",name:"Labuan"},{country:"MY",id:"MLK",name:"Malacca"},{country:"MY",id:"NSN",name:"Negeri Sembilan"},{country:"MY",id:"PHG",name:"Pahang"},{country:"MY",id:"PNG",name:"Penang"},{country:"MY",id:"PRK",name:"Perak"},{country:"MY",id:"PLS",name:"Perlis"},{country:"MY",id:"PJY",name:"Putrajaya"},{country:"MY",id:"SBH",name:"Sabah"},{country:"MY",id:"SRW",name:"Sarawak"},{country:"MY",id:"SGR",name:"Selangor"},{country:"MY",id:"TRG",name:"Terengganu"},{country:"MX",id:"AG",name:"Aguascalientes"},{country:"MX",id:"BJ",name:"Baja California"},{country:"MX",id:"BS",name:"Baja California Sur"},{country:"MX",id:"CI",name:"Chihuahua"},{country:"MX",id:"CL",name:"Colima"},{country:"MX",id:"CP",name:"Campeche"},{country:"MX",id:"CU",name:"Coahuila"},{country:"MX",id:"CH",name:"Chiapas"},{country:"MX",id:"DF",name:"Distrito Federal"},{country:"MX",id:"DG",name:"Durango"},{country:"MX",id:"GR",name:"Guerrero"},{country:"MX",id:"GJ",name:"Guanajuato"},{country:"MX",id:"HG",name:"Hidalgo"},{country:"MX",id:"JA",name:"Jalisco"},{country:"MX",id:"MH",name:"Michoacan"},{country:"MX",id:"MR",name:"Morelos"},{country:"MX",id:"EM",name:"Mexico"},{country:"MX",id:"NA",name:"Nayarit"},{country:"MX",id:"NL",name:"Nuevo Leon"},{country:"MX",id:"OA",name:"Oaxaca"},{country:"MX",id:"PU",name:"Puebla"},{country:"MX",id:"QR",name:"Quintana Roo"},{country:"MX",id:"QA",name:"Queretaro"},{country:"MX",id:"SI",name:"Sinaloa"},{country:"MX",id:"SL",name:"San Luis Potosi"},{country:"MX",id:"SO",name:"Sonora"},{country:"MX",id:"TA",name:"Tabasco"},{country:"MX",id:"TL",name:"Tlaxcala"},{country:"MX",id:"TM",name:"Tamaulipas"},{country:"MX",id:"VZ",name:"Veracruz"},{country:"MX",id:"YC",name:"Yucatan"},{country:"MX",id:"ZT",name:"Zacatecas"},{country:"NZ",id:"AUK",name:"Auckland"},{country:"NZ",id:"BOP",name:"Bay of Plenty"},{country:"NZ",id:"CAN",name:"Canterbury"},{country:"NZ",id:"GIS",name:"Gisborne"},{country:"NZ",id:"HKB",name:"Hawke's Bay"},{country:"NZ",id:"MWT",name:"Manawatu-Wanganui"},{country:"NZ",id:"MBH",name:"Marlborough"},{country:"NZ",id:"NSN",name:"Nelson"},{country:"NZ",id:"NTL",name:"Northland"},{country:"NZ",id:"OTA",name:"Otago"},{country:"NZ",id:"STL",name:"Southland"},{country:"NZ",id:"TKI",name:"Taranaki"},{country:"NZ",id:"NZTAS",name:"Tasman"},{country:"NZ",id:"WKO",name:"Waikato"},{country:"NZ",id:"WGN",name:"Wellington"},{country:"NZ",id:"WTC",name:"West Coast"},{country:"ES",id:"A Coruna",name:"A Coruna"},{country:"ES",id:"Alava",name:"Alava"},{country:"ES",id:"Albacete",name:"Albacete"},{country:"ES",id:"Alicante",name:"Alicante"},{country:"ES",id:"Almeria",name:"Almeria"},{country:"ES",id:"Asturias",name:"Asturias"},{country:"ES",id:"Avila",name:"Avila"},{country:"ES",id:"Badajoz",name:"Badajoz"},{country:"ES",id:"Baleares",name:"Baleares"},{country:"ES",id:"Barcelona",name:"Barcelona"},{country:"ES",id:"Burgos",name:"Burgos"},{country:"ES",id:"Caceres",name:"Caceres"},{country:"ES",id:"Cadiz",name:"Cadiz"},{country:"ES",id:"Cantabria",name:"Cantabria"},{country:"ES",id:"Castellon",name:"Castellon"},{country:"ES",id:"Ceuta",name:"Ceuta"},{country:"ES",id:"Ciudad Real",name:"Ciudad Real"},{country:"ES",id:"Cordoba",name:"Cordoba"},{country:"ES",id:"Cuenca",name:"Cuenca"},{country:"ES",id:"Girona",name:"Girona"},{country:"ES",id:"Granada",name:"Granada"},{country:"ES",id:"Guadalajara",name:"Guadalajara"},{country:"ES",id:"Guipuzcoa",name:"Guipuzcoa"},{country:"ES",id:"Huelva",name:"Huelva"},{country:"ES",id:"Huesca",name:"Huesca"},{country:"ES",id:"Jaen",name:"Jaen"},{country:"ES",id:"La Rioja",name:"La Rioja"},{country:"ES",id:"Las Palmas",name:"Las Palmas"},{country:"ES",id:"Leon",name:"Leon"},{country:"ES",id:"Lleida",name:"Lleida"},{country:"ES",id:"Lugo",name:"Lugo"},{country:"ES",id:"Madrid",name:"Madrid"},{country:"ES",id:"Malaga",name:"Malaga"},{country:"ES",id:"Melilla",name:"Melilla"},{country:"ES",id:"Murcia",name:"Murcia"},{country:"ES",id:"Navarra",name:"Navarra"},{country:"ES",id:"Ourense",name:"Ourense"},{country:"ES",id:"Palencia",name:"Palencia"},{country:"ES",id:"Pontevedra",name:"Pontevedra"},{country:"ES",id:"Salamanca",name:"Salamanca"},{country:"ES",id:"Santa Cruz de Tenerife",name:"Santa Cruz de Tenerife"},{country:"ES",id:"Segovia",name:"Segovia"},{country:"ES",id:"Sevilla",name:"Sevilla"},{country:"ES",id:"Soria",name:"Soria"},{country:"ES",id:"Tarragona",name:"Tarragona"},{country:"ES",id:"Teruel",name:"Teruel"},{country:"ES",id:"Toledo",name:"Toledo"},{country:"ES",id:"Valencia",name:"Valencia"},{country:"ES",id:"Valladolid",name:"Valladolid"},{country:"ES",id:"Vizcaya",name:"Vizcaya"},{country:"ES",id:"Zamora",name:"Zamora"},{country:"ES",id:"Zaragoza",name:"Zaragoza"},{country:"AE",id:"Abu Dhabi",name:"Abu Dhabi"},{country:"AE",id:"Ajman",name:"Ajman"},{country:"AE",id:"Dubai",name:"Dubai"},{country:"AE",id:"Fujairah",name:"Fujairah"},{country:"AE",id:"Ras al-Khaimah",name:"Ras al-Khaimah"},{country:"AE",id:"Sharjah",name:"Sharjah"},{country:"AE",id:"Umm al-Quwain",name:"Umm al-Quwain"},{country:"DZ",id:"DZ-01",name:"Adrar"},{country:"DZ",id:"DZ-44",name:"A\xEFn Defla"},{country:"DZ",id:"DZ-46",name:"A\xEFn T\xE9mouchent"},{country:"DZ",id:"DZ-16",name:"Algiers"},{country:"DZ",id:"DZ-23",name:"Annaba"},{country:"DZ",id:"DZ-05",name:"Batna"},{country:"DZ",id:"DZ-08",name:"B\xE9char"},{country:"DZ",id:"DZ-06",name:"B\xE9ja\xEFa"},{country:"DZ",id:"DZ-53",name:"B\xE9ni Abb\xE8s"},{country:"DZ",id:"DZ-07",name:"Biskra"},{country:"DZ",id:"DZ-09",name:"Blida"},{country:"DZ",id:"DZ-52",name:"Bordj Baji Mokhtar"},{country:"DZ",id:"DZ-34",name:"Bordj Bou Arr\xE9ridj"},{country:"DZ",id:"DZ-10",name:"Bou\xEFra"},{country:"DZ",id:"DZ-35",name:"Boumerd\xE8s"},{country:"DZ",id:"DZ-02",name:"Chlef"},{country:"DZ",id:"DZ-25",name:"Constantine"},{country:"DZ",id:"DZ-56",name:"Djanet"},{country:"DZ",id:"DZ-17",name:"Djelfa"},{country:"DZ",id:"DZ-32",name:"El Bayadh"},{country:"DZ",id:"DZ-49",name:"El M'Ghair"},{country:"DZ",id:"DZ-50",name:"El Menia"},{country:"DZ",id:"DZ-39",name:"El Oued"},{country:"DZ",id:"DZ-36",name:"El Tarf"},{country:"DZ",id:"DZ-47",name:"Gharda\xEFa"},{country:"DZ",id:"DZ-24",name:"Guelma"},{country:"DZ",id:"DZ-33",name:"Illizi"},{country:"DZ",id:"DZ-58",name:"In Guezzam"},{country:"DZ",id:"DZ-57",name:"In Salah"},{country:"DZ",id:"DZ-18",name:"Jijel"},{country:"DZ",id:"DZ-40",name:"Khenchela"},{country:"DZ",id:"DZ-03",name:"Laghouat"},{country:"DZ",id:"DZ-28",name:"M'Sila"},{country:"DZ",id:"DZ-29",name:"Mascara"},{country:"DZ",id:"DZ-26",name:"M\xE9d\xE9a"},{country:"DZ",id:"DZ-43",name:"Mila"},{country:"DZ",id:"DZ-27",name:"Mostaganem"},{country:"DZ",id:"DZ-45",name:"Na\xE2ma"},{country:"DZ",id:"DZ-31",name:"Oran"},{country:"DZ",id:"DZ-30",name:"Ouargla"},{country:"DZ",id:"DZ-51",name:"Ouled Djellal"},{country:"DZ",id:"DZ-04",name:"Oum El Bouaghi"},{country:"DZ",id:"DZ-48",name:"Relizane"},{country:"DZ",id:"DZ-20",name:"Sa\xEFda"},{country:"DZ",id:"DZ-19",name:"S\xE9tif"},{country:"DZ",id:"DZ-22",name:"Sidi Bel Abb\xE8s"},{country:"DZ",id:"DZ-21",name:"Skikda"},{country:"DZ",id:"DZ-41",name:"Souk Ahras"},{country:"DZ",id:"DZ-11",name:"Tamanrasset"},{country:"DZ",id:"DZ-12",name:"T\xE9bessa"},{country:"DZ",id:"DZ-14",name:"Tiaret"},{country:"DZ",id:"DZ-54",name:"Timimoun"},{country:"DZ",id:"DZ-37",name:"Tindouf"},{country:"DZ",id:"DZ-42",name:"Tipaza"},{country:"DZ",id:"DZ-38",name:"Tissemsilt"},{country:"DZ",id:"DZ-15",name:"Tizi Ouzou"},{country:"DZ",id:"DZ-13",name:"Tlemcen"},{country:"DZ",id:"DZ-55",name:"Touggourt"},{country:"PH",id:"PH-00",name:"National Capital Region [NCR]"},{country:"PH",id:"PH-01",name:"Ilocos [I]"},{country:"PH",id:"PH-02",name:"Cagayan Valley [II]"},{country:"PH",id:"PH-03",name:"Central Luzon [III]"},{country:"PH",id:"PH-05",name:"Bicol [V]"},{country:"PH",id:"PH-06",name:"Western Visayas [VI]"},{country:"PH",id:"PH-07",name:"Central Visayas [VII]"},{country:"PH",id:"PH-08",name:"Eastern Visayas [VIII]"},{country:"PH",id:"PH-09",name:"Zamboanga Peninsula [IX]"},{country:"PH",id:"PH-10",name:"Northern Mindanao [X]"},{country:"PH",id:"PH-11",name:"Davao [XI]"},{country:"PH",id:"PH-12",name:"Soccsksargen [XII]"},{country:"PH",id:"PH-13",name:"Caraga [XIII]"},{country:"PH",id:"PH-14",name:"Autonomous Region in Muslim Mindanao [ARMM]"},{country:"PH",id:"PH-15",name:"Cordillera Administrative Region [CAR]"},{country:"PH",id:"PH-40",name:"Calabarzon [IV-A]"},{country:"PH",id:"PH-41",name:"Mimaropa [IV-B]"}],timezones:[{id:"Pacific/Kiritimati",name:"Line Islands Time"},{id:"Pacific/Enderbury",name:"Phoenix Islands Time"},{id:"Pacific/Tongatapu",name:"Tonga Time"},{id:"Pacific/Chatham",name:"Chatham Daylight Time"},{id:"Asia/Kamchatka",name:"Petropavlovsk-Kamchatski Time"},{id:"Pacific/Auckland",name:"New Zealand Daylight Time"},{id:"Pacific/Fiji",name:"Fiji Time"},{id:"Pacific/Norfolk",name:"Norfolk Time"},{id:"Pacific/Guadalcanal",name:"Solomon Islands Time"},{id:"Australia/Lord_Howe",name:"Lord Howe Summer Time"},{id:"Australia/Brisbane",name:"Australian Eastern Standard Time (Brisbane)"},{id:"Australia/Sydney",name:"Australian Eastern Standard Time (Sydney)"},{id:"Australia/Adelaide",name:"Australian Central Standard Time (Adelaide)"},{id:"Australia/Darwin",name:"Australian Central Standard Time (Darwin)"},{id:"Asia/Seoul",name:"Korea Standard Time"},{id:"Asia/Tokyo",name:"Japan Standard Time"},{id:"Asia/Hong_Kong",name:"Hong Kong Time"},{id:"Asia/Kuala_Lumpur",name:"Malaysia Time"},{id:"Asia/Manila",name:"Philippines Time"},{id:"Asia/Shanghai",name:"China Standard Time (Shanghai)"},{id:"Asia/Singapore",name:"Singapore Time"},{id:"Asia/Taipei",name:"China Standard Time (Taipei)"},{id:"Australia/Perth",name:"Australian Western Standard Time"},{id:"Asia/Bangkok",name:"Indochina Time (Bangkok)"},{id:"Asia/Jakarta",name:"West Indonesia Time"},{id:"Asia/Saigon",name:"Indochina Time (Saigon)"},{id:"Asia/Rangoon",name:"Myanmar Time"},{id:"Asia/Dacca",name:"Bangladesh Time"},{id:"Asia/Katmandu",name:"Nepal Time"},{id:"Asia/Calcutta",name:"India Standard Time (Calcutta)"},{id:"Asia/Colombo",name:"India Standard Time (Colombo)"},{id:"Asia/Karachi",name:"Pakistan Summer Time"},{id:"Asia/Tashkent",name:"Uzbekistan Time"},{id:"Asia/Yekaterinburg",name:"Yekaterinburg Time"},{id:"Asia/Kabul",name:"Afghanistan Time"},{id:"Asia/Baku",name:"Azerbaijan Time"},{id:"Asia/Dubai",name:"Gulf Standard Time"},{id:"Asia/Tbilisi",name:"Georgia Time"},{id:"Asia/Yerevan",name:"Armenia Time"},{id:"Asia/Tehran",name:"Iran Standard Time"},{id:"Africa/Nairobi",name:"Eastern African Time"},{id:"Asia/Baghdad",name:"Arabia Standard Time (Baghdad)"},{id:"Asia/Kuwait",name:"Arabia Standard Time (Kuwait)"},{id:"Asia/Riyadh",name:"Arabia Standard Time (Riyadh)"},{id:"Europe/Moscow",name:"Moscow Standard Time"},{id:"Africa/Cairo",name:"Eastern European Time (Cairo)"},{id:"Africa/Johannesburg",name:"South Africa Standard Time"},{id:"Asia/Beirut",name:"Eastern European Time (Beirut)"},{id:"Asia/Jerusalem",name:"Israel Standard Time"},{id:"Europe/Athens",name:"Eastern European Time (Athens)"},{id:"Europe/Bucharest",name:"Eastern European Time (Bucharest)"},{id:"Europe/Helsinki",name:"Eastern European Time (Helsinki)"},{id:"Europe/Istanbul",name:"Eastern European Time (Istanbul)"},{id:"Europe/Minsk",name:"Eastern European Time (Minsk)"},{id:"Europe/Amsterdam",name:"Central European Time (Amsterdam)"},{id:"Europe/Berlin",name:"Central European Time (Berlin)"},{id:"Europe/Brussels",name:"Central European Time (Brussels)"},{id:"Europe/Prague",name:"Central European Time (Prague)"},{id:"Europe/Rome",name:"Central European Time (Rome)"},{id:"Europe/Dublin",name:"Irish Summer Time"},{id:"Europe/Lisbon",name:"Western European Summer Time"},{id:"Europe/London",name:"British Summer Time"},{id:"GMT",name:"Greenwich Mean Time"},{id:"America/Scoresbysund",name:"East Greenland Time"},{id:"Atlantic/Azores",name:"Azores Time"},{id:"Atlantic/Cape_Verde",name:"Cape Verde Time"},{id:"Atlantic/South_Georgia",name:"South Georgia Standard Time"},{id:"America/Buenos_Aires",name:"Argentine Summer Time"},{id:"America/Sao_Paulo",name:"Brasilia Summer Time"},{id:"America/St_Johns",name:"Newfoundland Daylight Time"},{id:"America/Halifax",name:"Atlantic Daylight Time (Halifax)"},{id:"America/Puerto_Rico",name:"Atlantic Standard Time"},{id:"America/Santiago",name:"Chile Summer Time"},{id:"Atlantic/Bermuda",name:"Atlantic Daylight Time (Bermuda)"},{id:"America/Caracas",name:"Venezuela Time"},{id:"America/Bogota",name:"Colombia Time"},{id:"America/Indianapolis",name:"Eastern Daylight Time (Indianapolis)"},{id:"America/Lima",name:"Peru Time"},{id:"America/New_York",name:"Eastern Daylight Time (New York)"},{id:"America/Panama",name:"Eastern Standard Time (Panama)"},{id:"America/Chicago",name:"Central Daylight Time (Chicago)"},{id:"America/El_Salvador",name:"Central Standard Time (El Salvador)"},{id:"America/Mexico_City",name:"Central Standard Time (Mexico City)"},{id:"America/Denver",name:"Mountain Daylight Time"},{id:"America/Phoenix",name:"Mountain Standard Time"},{id:"America/Los_Angeles",name:"Pacific Daylight Time"},{id:"America/Tijuana",name:"Pacific Standard Time"},{id:"Pacific/Pitcairn",name:"Pitcairn Standard Time"},{id:"America/Anchorage",name:"Alaska Daylight Time"},{id:"Pacific/Gambier",name:"Gambier Time"},{id:"Pacific/Marquesas",name:"Marquesas Time"},{id:"Pacific/Honolulu",name:"Hawaii Standard Time"},{id:"America/Atka",name:"Hawaii-Aleutian Standard Time"},{id:"Pacific/Niue",name:"Niue Time"},{id:"Pacific/Pago_Pago",name:"Samoa Standard Time"}],locales:[{id:"af",name:"Afrikaans"},{id:"af-ZA",name:"Afrikaans (South Africa)"},{id:"az",name:"Azerbaijani"},{id:"az-AZ",name:"Azerbaijani (Azerbaijani)"},{id:"id",name:"Indonesian"},{id:"id-ID",name:"Indonesian (Indonesia)"},{id:"ms",name:"Malay"},{id:"ms-MY",name:"Malay (Malaysia)"},{id:"ca",name:"Catalan"},{id:"ca-ES",name:"Catalan (Spain)"},{id:"cs",name:"Czech"},{id:"cs-CZ",name:"Czech (Czech Republic)"},{id:"da",name:"Danish"},{id:"da-DK",name:"Danish (Denmark)"},{id:"de",name:"German"},{id:"de-DE",name:"German (Germany)"},{id:"de-CH",name:"German (Switzerland)"},{id:"de-AT",name:"German (Austria)"},{id:"et",name:"Estonian"},{id:"et-EE",name:"Estonian (Estonia)"},{id:"en",name:"English"},{id:"en-AU",name:"English (Australia)"},{id:"en-CA",name:"English (Canada)"},{id:"en-IE",name:"English (Ireland)"},{id:"en-NZ",name:"English (New Zealand)"},{id:"en-GB",name:"English (United Kingdom)"},{id:"en-US",name:"English (United States)"},{id:"es",name:"Spanish"},{id:"es-AR",name:"Spanish (Argentina)"},{id:"es-CL",name:"Spanish (Chile)"},{id:"es-CO",name:"Spanish (Colombia)"},{id:"es-CR",name:"Spanish (Costa Rica)"},{id:"es-ES",name:"Spanish (Spain)"},{id:"es-MX",name:"Spanish (Mexico)"},{id:"es-PA",name:"Spanish (Panama)"},{id:"es-PE",name:"Spanish (Peru)"},{id:"es-VE",name:"Spanish (Venezuela)"},{id:"fil",name:"Filipino"},{id:"fil-PH",name:"Filipino (Philippines)"},{id:"fr",name:"French"},{id:"fr-CA",name:"French (Canada)"},{id:"fr-FR",name:"French (France)"},{id:"fr-CH",name:"French (Switzerland)"},{id:"gl",name:"Galician"},{id:"gl-ES",name:"Galician (Spain)"},{id:"hr",name:"Croatian"},{id:"hr-HR",name:"Croatian (Croatia)"},{id:"it",name:"Italian"},{id:"it-IT",name:"Italian (Italy)"},{id:"it-CH",name:"Italian (Switzerland)"},{id:"sw",name:"Swahili"},{id:"sw-KE",name:"Swahili (Kenya)"},{id:"sw-KE",name:"Swahili (Tanzania)"},{id:"lv",name:"Latvian"},{id:"lv-LV",name:"Latvian (Latvia)"},{id:"lt",name:"Lithuanian"},{id:"lt-LT",name:"Lithuanian (Lithuania)"},{id:"hu",name:"Hungarian"},{id:"hu-HU",name:"Hungarian (Hungary)"},{id:"nl",name:"Dutch"},{id:"nl-NL",name:"Dutch (Netherlands)"},{id:"nb",name:"Norwegian Bokm\xE5l"},{id:"nb-NO",name:"Norwegian Bokm\xE5l (Norway)"},{id:"nn",name:"Norwegian Nynorsk"},{id:"nn-NO",name:"Norwegian Nynorsk (Norway)"},{id:"pl",name:"Polish"},{id:"pl-PL",name:"Polish (Poland)"},{id:"pt",name:"Portuguese"},{id:"pt-BR",name:"Portuguese (Brazil)"},{id:"pt-PT",name:"Portuguese (Portugal)"},{id:"ro",name:"Romanian"},{id:"ro-MD",name:"Romanian (Moldova)"},{id:"ro-RO",name:"Romanian (Romania)"},{id:"sq",name:"Albanian"},{id:"sq-AL",name:"Albanian (Albania)"},{id:"sk",name:"Slovak"},{id:"sk-SK",name:"Slovak (Slovakia)"},{id:"sl",name:"Slovenian"},{id:"sl-SI",name:"Slovenian (Slovenia)"},{id:"fi",name:"Finnish"},{id:"fi-FI",name:"Finnish (Finland)"},{id:"sv",name:"Swedish"},{id:"sv-FI",name:"Swedish (Finland)"},{id:"sv-SE",name:"Swedish (Sweden)"},{id:"vi",name:"Vietnamese"},{id:"vi-VN",name:"Vietnamese (Vietnam)"},{id:"tr",name:"Turkish"},{id:"tr-TR",name:"Turkish (Turkey)"},{id:"is",name:"Icelandic"},{id:"is-IS",name:"Icelandic (Iceland)"},{id:"el",name:"Greek"},{id:"el-CY",name:"Greek (Cyprus)"},{id:"el-GR",name:"Greek (Greece)"},{id:"sr",name:"Serbian"},{id:"sr-RS",name:"Serbian (Serbia)"},{id:"be",name:"Belarusian"},{id:"be-BY",name:"Belarusian (Belarus)"},{id:"bg",name:"\u0431\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438"},{id:"bg-BG",name:"Bulgarian (Bulgaria)"},{id:"mk",name:"Macedonian"},{id:"mk-MK",name:"Macedonian (Macedonia)"},{id:"ru",name:"Russian"},{id:"ru-MD",name:"Russian (Moldova)"},{id:"ru-RU",name:"Russian (Russia)"},{id:"ru-UA",name:"Russian (Ukraine)"},{id:"uk",name:"Ukrainian"},{id:"uk-UA",name:"Ukrainian (Ukraine)"},{id:"he",name:"Hebrew"},{id:"he-IL",name:"Hebrew (Israel)"},{id:"ar",name:"Arabic"},{id:"ar-DZ",name:"Arabic (Algeria)"},{id:"ar-KW",name:"Arabic (Kuwait)"},{id:"ar-MA",name:"Arabic (Morocco)"},{id:"ar-SA",name:"Arabic (Saudi Arabia)"},{id:"ar-EG",name:"Arabic (Egypt)"},{id:"hi",name:"Hindi"},{id:"hi-IN",name:"Hindi (India)"},{id:"th",name:"Thai"},{id:"th-TH",name:"Thai (Thailand)"},{id:"zh",name:"Chinese"},{id:"zh-CN",name:"Chinese (China)"},{id:"zh-HK",name:"Chinese (Hong Kong)"},{id:"zh-TW",name:"Chinese (Taiwan)"},{id:"ja",name:"Japanese"},{id:"ja-JP",name:"Japanese (Japan)"},{id:"ko",name:"Korean"},{id:"ko-KR",name:"Korean (South Korea)"},{id:"km",name:"Khmer"},{id:"km-KH",name:"Khmer (Cambodia)"}],currencies:[{id:"AFN",name:"Afghan Afghani"},{id:"ALL",name:"Albanian Lek"},{id:"DZD",name:"Algerian Dinar"},{id:"AOA",name:"Angolan Kwanza"},{id:"ARS",name:"Argentine Peso"},{id:"AMD",name:"Armenian Dram"},{id:"AWG",name:"Aruban Florin"},{id:"AUD",name:"Australian Dollar"},{id:"AZN",name:"Azerbaijani Manat"},{id:"AZM",name:"Azerbaijani Manat (1993-2006)"},{id:"BSD",name:"Bahamian Dollar"},{id:"BHD",name:"Bahraini Dinar"},{id:"BDT",name:"Bangladeshi Taka"},{id:"BBD",name:"Barbadian Dollar"},{id:"BYR",name:"Belarusian Ruble"},{id:"BZD",name:"Belize Dollar"},{id:"BMD",name:"Bermudan Dollar"},{id:"BTN",name:"Bhutanese Ngultrum"},{id:"BOB",name:"Bolivian Boliviano"},{id:"BAM",name:"Bosnia-Herzegovina Convertible Mark"},{id:"BWP",name:"Botswanan Pula"},{id:"BRL",name:"Brazilian Real"},{id:"GBP",name:"British Pound Sterling"},{id:"BND",name:"Brunei Dollar"},{id:"BGN",name:"Bulgarian Lev"},{id:"BUK",name:"Burmese Kyat"},{id:"BIF",name:"Burundian Franc"},{id:"XOF",name:"CFA Franc BCEAO"},{id:"XPF",name:"CFP Franc"},{id:"KHR",name:"Cambodian Riel"},{id:"CAD",name:"Canadian Dollar"},{id:"CVE",name:"Cape Verdean Escudo"},{id:"KYD",name:"Cayman Islands Dollar"},{id:"CLP",name:"Chilean Peso"},{id:"CNY",name:"Chinese Yuan Renminbi"},{id:"COP",name:"Colombian Peso"},{id:"KMF",name:"Comorian Franc"},{id:"CDF",name:"Congolese Franc"},{id:"CRC",name:"Costa Rican Col\xF3n"},{id:"HRK",name:"Croatian Kuna"},{id:"CUP",name:"Cuban Peso"},{id:"CZK",name:"Czech Republic Koruna"},{id:"DKK",name:"Danish Krone"},{id:"DJF",name:"Djiboutian Franc"},{id:"DOP",name:"Dominican Peso"},{id:"XCD",name:"East Caribbean Dollar"},{id:"EGP",name:"Egyptian Pound"},{id:"GQE",name:"Equatorial Guinean Ekwele"},{id:"ERN",name:"Eritrean Nakfa"},{id:"EEK",name:"Estonian Kroon"},{id:"ETB",name:"Ethiopian Birr"},{id:"EUR",name:"Euro"},{id:"FKP",name:"Falkland Islands Pound"},{id:"FJD",name:"Fijian Dollar"},{id:"GMD",name:"Gambian Dalasi"},{id:"GEK",name:"Georgian Kupon Larit"},{id:"GEL",name:"Georgian Lari"},{id:"GHS",name:"Ghanaian Cedi"},{id:"GIP",name:"Gibraltar Pound"},{id:"GTQ",name:"Guatemalan Quetzal"},{id:"GNF",name:"Guinean Franc"},{id:"GYD",name:"Guyanaese Dollar"},{id:"HTG",name:"Haitian Gourde"},{id:"HNL",name:"Honduran Lempira"},{id:"HKD",name:"Hong Kong Dollar"},{id:"HUF",name:"Hungarian Forint"},{id:"ISK",name:"Icelandic Kr\xF3na"},{id:"INR",name:"Indian Rupee"},{id:"IDR",name:"Indonesian Rupiah"},{id:"IRR",name:"Iranian Rial"},{id:"IQD",name:"Iraqi Dinar"},{id:"ILS",name:"Israeli New Sheqel"},{id:"JMD",name:"Jamaican Dollar"},{id:"JPY",name:"Japanese Yen"},{id:"JOD",name:"Jordanian Dinar"},{id:"KZT",name:"Kazakhstan Tenge"},{id:"KES",name:"Kenyan Shilling"},{id:"KWD",name:"Kuwaiti Dinar"},{id:"KGS",name:"Kyrgystani Som"},{id:"LAK",name:"Laotian Kip"},{id:"LVL",name:"Latvian Lats"},{id:"LBP",name:"Lebanese Pound"},{id:"LSL",name:"Lesotho Loti"},{id:"LRD",name:"Liberian Dollar"},{id:"LYD",name:"Libyan Dinar"},{id:"LTL",name:"Lithuanian Litas"},{id:"MOP",name:"Macanese Pataca"},{id:"MKD",name:"Macedonian Denar"},{id:"MGA",name:"Malagasy Ariary"},{id:"MWK",name:"Malawian Kwacha"},{id:"MYR",name:"Malaysian Ringgit"},{id:"MVR",name:"Maldivian Rufiyaa"},{id:"MRO",name:"Mauritanian Ouguiya"},{id:"MUR",name:"Mauritian Rupee"},{id:"MXN",name:"Mexican Peso"},{id:"MDL",name:"Moldovan Leu"},{id:"MNT",name:"Mongolian Tugrik"},{id:"MAD",name:"Moroccan Dirham"},{id:"MZN",name:"Mozambican Metical"},{id:"MMK",name:"Myanma Kyat"},{id:"NAD",name:"Namibian Dollar"},{id:"NPR",name:"Nepalese Rupee"},{id:"ANG",name:"Netherlands Antillean Guilder"},{id:"TWD",name:"New Taiwan Dollar"},{id:"NZD",name:"New Zealand Dollar"},{id:"NIC",name:"Nicaraguan Cordoba"},{id:"NGN",name:"Nigerian Naira"},{id:"KPW",name:"North Korean Won"},{id:"NOK",name:"Norwegian Krone"},{id:"ROL",name:"Old Romanian Leu"},{id:"TRL",name:"Old Turkish Lira"},{id:"OMR",name:"Omani Rial"},{id:"PKR",name:"Pakistani Rupee"},{id:"PAB",name:"Panamanian Balboa"},{id:"PGK",name:"Papua New Guinean Kina"},{id:"PYG",name:"Paraguayan Guarani"},{id:"PEN",name:"Peruvian Nuevo Sol"},{id:"PHP",name:"Philippine Peso"},{id:"PLN",name:"Polish Zloty"},{id:"QAR",name:"Qatari Rial"},{id:"RHD",name:"Rhodesian Dollar"},{id:"RON",name:"Romanian Leu"},{id:"RUB",name:"Russian Ruble"},{id:"RWF",name:"Rwandan Franc"},{id:"SHP",name:"Saint Helena Pound"},{id:"SVC",name:"Salvadoran Col\xF3n"},{id:"WST",name:"Samoan Tala"},{id:"SAR",name:"Saudi Riyal"},{id:"RSD",name:"Serbian Dinar"},{id:"SCR",name:"Seychellois Rupee"},{id:"SLL",name:"Sierra Leonean Leone"},{id:"SGD",name:"Singapore Dollar"},{id:"SKK",name:"Slovak Koruna"},{id:"SBD",name:"Solomon Islands Dollar"},{id:"SOS",name:"Somali Shilling"},{id:"ZAR",name:"South African Rand"},{id:"KRW",name:"South Korean Won"},{id:"LKR",name:"Sri Lanka Rupee"},{id:"SDG",name:"Sudanese Pound"},{id:"SRD",name:"Surinamese Dollar"},{id:"SZL",name:"Swazi Lilangeni"},{id:"SEK",name:"Swedish Krona"},{id:"CHF",name:"Swiss Franc"},{id:"SYP",name:"Syrian Pound"},{id:"STD",name:"S\xE3o Tom\xE9 and Pr\xEDncipe Dobra"},{id:"TJS",name:"Tajikistani Somoni"},{id:"TZS",name:"Tanzanian Shilling"},{id:"THB",name:"Thai Baht"},{id:"TOP",name:"Tongan Pa\u02BBanga"},{id:"TTD",name:"Trinidad and Tobago Dollar"},{id:"TND",name:"Tunisian Dinar"},{id:"TRY",name:"Turkish Lira"},{id:"TMM",name:"Turkmenistani Manat"},{id:"USD",name:"US Dollar"},{id:"UGX",name:"Ugandan Shilling"},{id:"UAH",name:"Ukrainian Hryvnia"},{id:"AED",name:"United Arab Emirates Dirham"},{id:"UYU",name:"Uruguayan Peso"},{id:"UZS",name:"Uzbekistan Som"},{id:"VUV",name:"Vanuatu Vatu"},{id:"VEB",name:"Venezuelan Bol\xEDvar"},{id:"VEF",name:"Venezuelan Bol\xEDvar Fuerte"},{id:"VND",name:"Vietnamese Dong"},{id:"CHE",name:"WIR Euro"},{id:"CHW",name:"WIR Franc"},{id:"YER",name:"Yemeni Rial"},{id:"ZMK",name:"Zambian Kwacha"},{id:"ZWD",name:"Zimbabwean Dollar"}],id:"geo"},R4={aa:"ET",ab:"GE",abr:"GH",ace:"ID",ach:"UG",ada:"GH",ady:"RU",ae:"IR",aeb:"TN",af:"ZA",agq:"CM",aho:"IN",ak:"GH",akk:"IQ",aln:"XK",alt:"RU",am:"ET",amo:"NG",aoz:"ID",apd:"TG",ar:"EG",arc:"IR","arc-Nbat":"JO","arc-Palm":"SY",arn:"CL",aro:"BO",arq:"DZ",ary:"MA",arz:"EG",as:"IN",asa:"TZ",ase:"US",ast:"ES",atj:"CA",av:"RU",awa:"IN",ay:"BO",az:"AZ","az-Arab":"IR",ba:"RU",bal:"PK",ban:"ID",bap:"NP",bar:"AT",bas:"CM",bax:"CM",bbc:"ID",bbj:"CM",bci:"CI",be:"BY",bej:"SD",bem:"ZM",bew:"ID",bez:"TZ",bfd:"CM",bfq:"IN",bft:"PK",bfy:"IN",bg:"BG",bgc:"IN",bgn:"PK",bgx:"TR",bhb:"IN",bhi:"IN",bhk:"PH",bho:"IN",bi:"VU",bik:"PH",bin:"NG",bjj:"IN",bjn:"ID",bjt:"SN",bkm:"CM",bku:"PH",blt:"VN",bm:"ML",bmq:"ML",bn:"BD",bo:"CN",bpy:"IN",bqi:"IR",bqv:"CI",br:"FR",bra:"IN",brh:"PK",brx:"IN",bs:"BA",bsq:"LR",bss:"CM",bto:"PH",btv:"PK",bua:"RU",buc:"YT",bug:"ID",bum:"CM",bvb:"GQ",byn:"ER",byv:"CM",bze:"ML",ca:"ES",cch:"NG",ccp:"BD",ce:"RU",ceb:"PH",cgg:"UG",ch:"GU",chk:"FM",chm:"RU",cho:"US",chp:"CA",chr:"US",cja:"KH",cjm:"VN",ckb:"IQ",co:"FR",cop:"EG",cps:"PH",cr:"CA",crh:"UA",crj:"CA",crk:"CA",crl:"CA",crm:"CA",crs:"SC",cs:"CZ",csb:"PL",csw:"CA",ctd:"MM",cu:"RU","cu-Glag":"BG",cv:"RU",cy:"GB",da:"DK",dak:"US",dar:"RU",dav:"KE",dcc:"IN",de:"DE",den:"CA",dgr:"CA",dje:"NE",dnj:"CI",doi:"IN",dsb:"DE",dtm:"ML",dtp:"MY",dty:"NP",dua:"CM",dv:"MV",dyo:"SN",dyu:"BF",dz:"BT",ebu:"KE",ee:"GH",efi:"NG",egl:"IT",egy:"EG",eky:"MM",el:"GR",en:"US","en-Shaw":"GB",es:"ES",esu:"US",et:"EE",ett:"IT",eu:"ES",ewo:"CM",ext:"ES",fa:"IR",fan:"GQ",ff:"SN","ff-Adlm":"GN",ffm:"ML",fi:"FI",fia:"SD",fil:"PH",fit:"SE",fj:"FJ",fo:"FO",fon:"BJ",fr:"FR",frc:"US",frp:"FR",frr:"DE",frs:"DE",fub:"CM",fud:"WF",fuf:"GN",fuq:"NE",fur:"IT",fuv:"NG",fvr:"SD",fy:"NL",ga:"IE",gaa:"GH",gag:"MD",gan:"CN",gay:"ID",gbm:"IN",gbz:"IR",gcr:"GF",gd:"GB",gez:"ET",ggn:"NP",gil:"KI",gjk:"PK",gju:"PK",gl:"ES",glk:"IR",gn:"PY",gom:"IN",gon:"IN",gor:"ID",gos:"NL",got:"UA",grc:"CY","grc-Linb":"GR",grt:"IN",gsw:"CH",gu:"IN",gub:"BR",guc:"CO",gur:"GH",guz:"KE",gv:"IM",gvr:"NP",gwi:"CA",ha:"NG",hak:"CN",haw:"US",haz:"AF",he:"IL",hi:"IN",hif:"FJ",hil:"PH",hlu:"TR",hmd:"CN",hnd:"PK",hne:"IN",hnj:"LA",hnn:"PH",hno:"PK",ho:"PG",hoc:"IN",hoj:"IN",hr:"HR",hsb:"DE",hsn:"CN",ht:"HT",hu:"HU",hy:"AM",hz:"NA",ia:"FR",iba:"MY",ibb:"NG",id:"ID",ife:"TG",ig:"NG",ii:"CN",ik:"US",ikt:"CA",ilo:"PH",in:"ID",inh:"RU",is:"IS",it:"IT",iu:"CA",iw:"IL",izh:"RU",ja:"JP",jam:"JM",jgo:"CM",ji:"UA",jmc:"TZ",jml:"NP",jut:"DK",jv:"ID",jw:"ID",ka:"GE",kaa:"UZ",kab:"DZ",kac:"MM",kaj:"NG",kam:"KE",kao:"ML",kbd:"RU",kby:"NE",kcg:"NG",kck:"ZW",kde:"TZ",kdh:"TG",kdt:"TH",kea:"CV",ken:"CM",kfo:"CI",kfr:"IN",kfy:"IN",kg:"CD",kge:"ID",kgp:"BR",kha:"IN",khb:"CN",khn:"IN",khq:"ML",kht:"IN",khw:"PK",ki:"KE",kiu:"TR",kj:"NA",kjg:"LA",kk:"KZ","kk-Arab":"CN",kkj:"CM",kl:"GL",kln:"KE",km:"KH",kmb:"AO",kn:"IN",knf:"SN",ko:"KR",koi:"RU",kok:"IN",kos:"FM",kpe:"LR",krc:"RU",kri:"SL",krj:"PH",krl:"RU",kru:"IN",ks:"IN",ksb:"TZ",ksf:"CM",ksh:"DE",ku:"TR","ku-Arab":"IQ",kum:"RU",kv:"RU",kvr:"ID",kvx:"PK",kw:"GB",kxm:"TH",kxp:"PK",ky:"KG","ky-Arab":"CN","ky-Latn":"TR",la:"VA",lab:"GR",lad:"IL",lag:"TZ",lah:"PK",laj:"UG",lb:"LU",lbe:"RU",lbw:"ID",lcp:"CN",lep:"IN",lez:"RU",lg:"UG",li:"NL",lif:"NP","lif-Limb":"IN",lij:"IT",lis:"CN",ljp:"ID",lki:"IR",lkt:"US",lmn:"IN",lmo:"IT",ln:"CD",lo:"LA",lol:"CD",loz:"ZM",lrc:"IR",lt:"LT",ltg:"LV",lu:"CD",lua:"CD",luo:"KE",luy:"KE",luz:"IR",lv:"LV",lwl:"TH",lzh:"CN",lzz:"TR",mad:"ID",maf:"CM",mag:"IN",mai:"IN",mak:"ID",man:"GM","man-Nkoo":"GN",mas:"KE",maz:"MX",mdf:"RU",mdh:"PH",mdr:"ID",men:"SL",mer:"KE",mfa:"TH",mfe:"MU",mg:"MG",mgh:"MZ",mgo:"CM",mgp:"NP",mgy:"TZ",mh:"MH",mi:"NZ",min:"ID",mis:"IQ",mk:"MK",ml:"IN",mls:"SD",mn:"MN","mn-Mong":"CN",mni:"IN",mnw:"MM",moe:"CA",moh:"CA",mos:"BF",mr:"IN",mrd:"NP",mrj:"RU",mro:"BD",ms:"MY",mt:"MT",mtr:"IN",mua:"CM",mus:"US",mvy:"PK",mwk:"ML",mwr:"IN",mwv:"ID",mxc:"ZW",my:"MM",myv:"RU",myx:"UG",myz:"IR",mzn:"IR",na:"NR",nan:"CN",nap:"IT",naq:"NA",nb:"NO",nch:"MX",nd:"ZW",ndc:"MZ",nds:"DE",ne:"NP",new:"NP",ng:"NA",ngl:"MZ",nhe:"MX",nhw:"MX",nij:"ID",niu:"NU",njo:"IN",nl:"NL",nmg:"CM",nn:"NO",nnh:"CM",no:"NO",nod:"TH",noe:"IN",non:"SE",nqo:"GN",nr:"ZA",nsk:"CA",nso:"ZA",nus:"SS",nv:"US",nxq:"CN",ny:"MW",nym:"TZ",nyn:"UG",nzi:"GH",oc:"FR",om:"ET",or:"IN",os:"GE",osa:"US",otk:"MN",pa:"IN","pa-Arab":"PK",pag:"PH",pal:"IR","pal-Phlp":"CN",pam:"PH",pap:"AW",pau:"PW",pcd:"FR",pcm:"NG",pdc:"US",pdt:"CA",peo:"IR",pfl:"DE",phn:"LB",pka:"IN",pko:"KE",pl:"PL",pms:"IT",pnt:"GR",pon:"FM",pra:"PK",prd:"IR",ps:"AF",pt:"BR",puu:"GA",qu:"PE",quc:"GT",qug:"EC",raj:"IN",rcf:"RE",rej:"ID",rgn:"IT",ria:"IN",rif:"MA",rjs:"NP",rkt:"BD",rm:"CH",rmf:"FI",rmo:"CH",rmt:"IR",rmu:"SE",rn:"BI",rng:"MZ",ro:"RO",rob:"ID",rof:"TZ",rtm:"FJ",ru:"RU",rue:"UA",rug:"SB",rw:"RW",rwk:"TZ",ryu:"JP",sa:"IN",saf:"GH",sah:"RU",saq:"KE",sas:"ID",sat:"IN",sav:"SN",saz:"IN",sbp:"TZ",sc:"IT",sck:"IN",scn:"IT",sco:"GB",scs:"CA",sd:"PK","sd-Deva":"IN","sd-Khoj":"IN","sd-Sind":"IN",sdc:"IT",sdh:"IR",se:"NO",sef:"CI",seh:"MZ",sei:"MX",ses:"ML",sg:"CF",sga:"IE",sgs:"LT",shi:"MA",shn:"MM",si:"LK",sid:"ET",sk:"SK",skr:"PK",sl:"SI",sli:"PL",sly:"ID",sm:"WS",sma:"SE",smj:"SE",smn:"FI",smp:"IL",sms:"FI",sn:"ZW",snk:"ML",so:"SO",sou:"TH",sq:"AL",sr:"RS",srb:"IN",srn:"SR",srr:"SN",srx:"IN",ss:"ZA",ssy:"ER",st:"ZA",stq:"DE",su:"ID",suk:"TZ",sus:"GN",sv:"SE",sw:"TZ",swb:"YT",swc:"CD",swg:"DE",swv:"IN",sxn:"ID",syl:"BD",syr:"IQ",szl:"PL",ta:"IN",taj:"NP",tbw:"PH",tcy:"IN",tdd:"CN",tdg:"NP",tdh:"NP",te:"IN",tem:"SL",teo:"UG",tet:"TL",tg:"TJ","tg-Arab":"PK",th:"TH",thl:"NP",thq:"NP",thr:"NP",ti:"ET",tig:"ER",tiv:"NG",tk:"TM",tkl:"TK",tkr:"AZ",tkt:"NP",tl:"PH",tly:"AZ",tmh:"NE",tn:"ZA",to:"TO",tog:"MW",tpi:"PG",tr:"TR",tru:"TR",trv:"TW",ts:"ZA",tsd:"GR",tsf:"NP",tsg:"PH",tsj:"BT",tt:"RU",ttj:"UG",tts:"TH",ttt:"AZ",tum:"MW",tvl:"TV",twq:"NE",txg:"CN",ty:"PF",tyv:"RU",tzm:"MA",udm:"RU",ug:"CN","ug-Cyrl":"KZ",uga:"SY",uk:"UA",uli:"FM",umb:"AO",und:"US",unr:"IN","unr-Deva":"NP",unx:"IN",ur:"PK",uz:"UZ","uz-Arab":"AF",vai:"LR",ve:"ZA",vec:"IT",vep:"RU",vi:"VN",vic:"SX",vls:"BE",vmf:"DE",vmw:"MZ",vot:"RU",vro:"EE",vun:"TZ",wa:"BE",wae:"CH",wal:"ET",war:"PH",wbp:"AU",wbq:"IN",wbr:"IN",wls:"WF",wni:"KM",wo:"SN",wtm:"IN",wuu:"CN",xav:"BR",xcr:"TR",xh:"ZA",xlc:"TR",xld:"TR",xmf:"GE",xmn:"CN",xmr:"SD",xna:"SA",xnr:"IN",xog:"UG",xpr:"IR",xsa:"YE",xsr:"NP",yao:"MZ",yap:"FM",yav:"CM",ybb:"CM",yo:"NG",yrl:"BR",yua:"MX",yue:"HK","yue-Hans":"CN",za:"CN",zag:"SD",zdj:"KM",zea:"NL",zgh:"MA",zh:"CN","zh-Bopo":"TW","zh-Hanb":"TW","zh-Hant":"TW",zlm:"TG",zmi:"MY",zu:"ZA",zza:"TR"};var x5=require("liquidjs");var N2=require("lodash-es");var z=require("liquidjs");function j4(n){return class extends z.Tag{value;branches=[];elseTemplates=[];isBlock=!1;constructor(t,i,r){super(t,i,r);let a=this.tokenizer.p,o=this.tokenizer.readValue()?.getText();this.isBlock=!!o?.startsWith("block."),this.tokenizer.p=a,this.value=new z.Value(this.tokenizer.readFilteredValue(),this.liquid),this.elseTemplates=[];let s=[],l=0,c=this.liquid.parser.parseStream(i).on("tag:when",u=>{if(l>0)return;s=[];let h=[];for(;!u.tokenizer.end();)h.push(u.tokenizer.readValueOrThrow()),u.tokenizer.skipBlank(),u.tokenizer.peek()===","?u.tokenizer.readTo(","):u.tokenizer.readTo("or");this.branches.push({values:h,templates:s})}).on("tag:else",()=>{l++,s=this.elseTemplates}).on("tag:endcase",()=>c.stop()).on("template",u=>{(s!==this.elseTemplates||l===1)&&s.push(u)}).on("end",()=>{throw new Error(`tag ${t.getText()} not closed`)});c.start()}*render(t){let i=this.liquid.renderer,r=(0,z.toValue)(yield this.value.value(t,t.opts.lenientIf)),a=!1,o="";for(let s of this.branches)for(let l of s.values){let c=yield(0,z.evalToken)(l,t,t.opts.lenientIf);if(r===c){let u=yield i.renderTemplates(s.templates,t);o+=this.isBlock&&n.isEditor?`<span class="swell-block">${u}</span>`:u,a=!0;break}}return a||(o+=yield i.renderTemplates(this.elseTemplates,t)),o}}}var C3=require("liquidjs");var D2=["offset","limit","reversed"];function Z4(n){return class extends C3.Tag{variable;collection;hash;templates;elseTemplates;constructor(t,i,r){super(t,i,r);let a=this.tokenizer.readIdentifier(),o=this.tokenizer.readIdentifier(),s=this.tokenizer.readValue();if(!a.size()||o.content!=="in"||!s)throw new Error(`illegal tag: ${t.getText()}`);this.variable=a.content,this.collection=s,this.hash=new C3.Hash(this.tokenizer.remaining()),this.templates=[],this.elseTemplates=[];let l,c=this.liquid.parser.parseStream(i).on("start",()=>l=this.templates).on("tag:else",()=>l=this.elseTemplates).on("tag:endfor",()=>c.stop()).on("template",u=>l.push(u)).on("end",()=>{throw new Error(`tag ${t.getText()} not closed`)});c.start()}*render(t,i){let r=this.liquid.renderer,a=yield(0,C3.evalToken)(this.collection,t);if(!a?._result&&a?._get?yield a._get():a instanceof Array||(a=J3(a)),!a.length){yield r.renderTemplates(this.elseTemplates,t,i);return}let o="continue-"+this.variable+"-"+this.collection.getText();t.push({continue:t.getRegister(o)});let s=yield this.hash.render(t);t.pop(),a=(this.liquid.options.orderedFilterParameters?Object.keys(s).filter(h=>D2.includes(h)):D2.filter(h=>s[h]!==void 0)).reduce((h,p)=>{switch(p){case"offset":return qe(h,s.offset);case"limit":return Ge(h,s.limit);case"reversed":return Be(h);default:return h}},a),t.setRegister(o,(s.offset||0)+a.length);let c={forloop:new h3(a.length,this.collection.getText(),this.variable)};t.push(c);let u=0;for(let h of a){if(x(h)&&(h.index=u++),c[this.variable]=h,yield r.renderTemplates(this.templates,t,i),i.break){i.break=!1;break}i.continue=!1,c.forloop.next()}t.pop()}}}function Be(n){return[...n].reverse()}function qe(n,e){return n.slice(e)}function Ge(n,e){return n.slice(0,e)}var W=require("liquidjs");var Ve=["new_comment","guest_login"];function N4(n){return class extends W.Tag{formType;formConfig;templates=[];hash;arg;constructor(t,i,r){super(t,i,r);let{tokenizer:a}=t;for(this.formType=a.readValue()?.content,this.formConfig=n.theme.getFormConfig(this.formType),a.advance(),this.arg=a.readValue(),this.hash=new W.Hash(this.tokenizer.remaining());i.length;){let o=i.shift();if(W.TypeGuards.isTagToken(o)&&o.name==="endform")return;this.templates.push(r.parser.parseToken(o,i))}if(!(!this.formConfig&&!Ve.includes(this.formType)))throw new Error(`tag ${t.getText()} not closed`)}*render(t){if(!this.formConfig)return`<!-- form '${this.formType}' not found in theme configuration -->`;let i=this.liquid.renderer,r=yield(0,W.evalToken)(this.arg,t),a=yield this.hash.render(t),o=t.getAll(),s=" "+Object.entries(a).reduce((m,[f,g])=>g!==!0?[...m,`${f}="${g}"`]:m,[]).join(" "),c=n.theme.formData[this.formConfig.id]||new O(this.formConfig.id),u="";if(n.theme.shopifyCompatibility){Object.assign(c,n.theme.shopifyCompatibility.getFormData(c));let m=yield n.theme.shopifyCompatibility.getAdaptedFormClientHtml(this.formConfig.id,o,r);m&&(u=yield n.renderTemplateString(m));let f=yield n.theme.shopifyCompatibility.getAdaptedFormClientParams(this.formConfig.id,o,r);f&&c.setParams(f)}t.push({form:{...r||void 0,...c}});let h=yield i.renderTemplates(this.templates,t),p=this.formConfig.params instanceof Array?yield Promise.all(this.formConfig.params.map(async m=>{let f=await n.renderTemplateString(m.value,{value:r});return`<input type="hidden" name="${m.name}" value="${f}" />`})):[],C=a.return_to||n.theme.globals.request?.path;return`
|
|
10
10
|
<form action="${this.formConfig.url}" method="post" accept-charset="UTF-8" enctype="multipart/form-data"${s}>
|
|
11
11
|
<input type="hidden" name="form_type" value="${this.formConfig.id}" />
|
|
12
12
|
${p.join("")}
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
${u}
|
|
15
15
|
${h}
|
|
16
16
|
</form>
|
|
17
|
-
`}}}var
|
|
17
|
+
`}}}var e4=require("liquidjs");function I4(n){return class extends e4.Tag{templates=[];constructor(t,i,r){for(super(t,i,r);i.length;){let a=i.shift();if(e4.TypeGuards.isTagToken(a)&&a.name==="endjavascript")return;this.templates.push(r.parser.parseToken(a,i))}throw new Error(`tag ${t.getText()} not closed`)}*render(t){return`<script type="text/javascript" data-swell>${yield this.liquid.renderer.renderTemplates(this.templates,t)}</script>`}}}var P2=require("liquidjs");function F4(n){return class extends P2.Tag{fileName;constructor(t,i,r){super(t,i,r);let{tokenizer:a}=t;this.fileName=a.readValue()?.content}*render(t){return n.layoutName=this.fileName,""}}}var n3=require("liquidjs");function m3(n,e){let{page:t,count:i,pages:r,page_count:a,limit:o,next:s,previous:l}=e,c=r[t]||{};return new y({current_offset:c.start||0,current_page:t,items:i||0,next:s?H4(t+1,s?.url):null,page_param:"page",page_size:o,pages:a,parts:Object.keys(r).map(([u])=>H4(u,u!=e.page?`${n.swell.url.pathname}?${q({...n.swell.queryParams,page:u})}`:void 0)),previous:l?H4(t-1,l?.url):null})}function H4(n,e){return{is_link:!!e,title:String(n),url:e||null}}function B4(n){return class extends n3.Tag{collection;pageSize;templates=[];hash;constructor(t,i,r){super(t,i,r);let a=this.tokenizer.readValue(),o=this.tokenizer.readIdentifier();if(this.pageSize=this.tokenizer.readValue(),o.content!=="by"||!a)throw new Error(`illegal tag: ${t.getText()}`);this.collection=a,this.hash=new n3.Hash(this.tokenizer.remaining());let s,l=this.liquid.parser.parseStream(i).on("start",()=>s=this.templates).on("tag:endpaginate",()=>l.stop()).on("template",c=>s.push(c)).on("end",()=>{throw new Error(`tag ${t.getText()} not closed`)});l.start()}*render(t,i){let r=this.liquid.renderer,a=yield(0,n3.evalToken)(this.collection,t),o=Number(yield(0,n3.evalToken)(this.pageSize,t)),s=yield this.hash.render(t);if(!isNaN(o)&&a instanceof A&&a.limit!=o&&(yield a._get({limit:o,window:s.window_size||void 0})),a){let l=new E3(a);n.theme.shopifyCompatibility&&l.setCompatibilityProps(m3(n.theme.shopifyCompatibility,l)),t.push({paginate:l})}yield r.renderTemplates(this.templates,t,i)}}}var q4=require("lodash-es"),G=require("liquidjs");function G4(n){return class extends G.Tag{fileName;hash;args={};constructor(t,i,r){super(t,i,r);let a=this.tokenizer;for(this.fileName=a.readValue()?.content;!a.end();){let o=a.p,s=a.readIdentifier();if((s.content==="with"||s.content==="for")&&(a.skipBlank(),a.peek()!==":")){let l=a.readValue();if(l){let c=a.p,u=a.readIdentifier(),h;u.content==="as"?h=a.readIdentifier():a.p=c,this.args[s.content]={value:l,alias:h&&h.content},a.skipBlank(),a.peek()===","&&a.advance();continue}}a.p=o;break}this.hash=new G.Hash(a.remaining())}*render(t){let{hash:i}=this,r=yield n.getThemeConfig(yield n.getComponentPath(this.fileName)),o=new G.Context({},t.opts,{sync:t.sync,globals:t.globals,strictVariables:t.strictVariables}).bottom();(0,q4.assign)(o,yield i.render(t));let s=yield t._get(["section"]);s&&(0,q4.assign)(o,{section:s});let l="";if(this.args.with){let{value:c,alias:u}=this.args.with,h=u||this.fileName;o[h]=yield(0,G.evalToken)(c,t)}if(this.args.for){let{value:c,alias:u}=this.args.for,h=J3(yield(0,G.evalToken)(c,t));o.forloop=new h3(h.length,c.getText(),u);for(let p of h)o[u]=p,l+=yield n.renderTemplate(r,o),o.forloop.next()}else l+=yield n.renderTemplate(r,o);return l}}}var x2=require("liquidjs");function V4(n){return class extends x2.Tag{fileName;constructor(t,i,r){super(t,i,r);let{tokenizer:a}=t;this.fileName=a.readValue()?.content}*render(t){let i=yield n.getSectionPath(this.fileName),r=yield n.getThemeConfig(i);if(!r){console.error(`Section not found: ${i}`);return}let a=yield n.theme.getTemplateSchema(r),o=yield n.theme.resolveSectionDefaultSettings(a);return yield n.renderTemplate(r,{section:o})}}}var R2=require("liquidjs");function O4(n){return class extends R2.Tag{fileName;constructor(t,i,r){super(t,i,r);let{tokenizer:a}=t;this.fileName=a.readValue()?.content}*render(t){let i=yield n.getSectionGroupPath(this.fileName),r=yield n.getThemeConfig(i);try{let a=JSON.parse(r.file_data),o=yield n.renderTemplateSections(a);return n.theme.globals.shopify_compatibility?`
|
|
18
18
|
<div class="swell-section-group swell-section-group--${this.fileName} shopify-section shopify-section-group-${this.fileName}" id="shopify-sections--${r.hash}__${this.fileName}">
|
|
19
19
|
${o}
|
|
20
20
|
</div>`:`
|
|
21
21
|
<div class="swell-section-group" swell-section-group--${this.fileName}" id="swell-section-group--${r.hash}__${this.fileName}">
|
|
22
22
|
${o}
|
|
23
|
-
</div>`}catch{return""}}}}var
|
|
23
|
+
</div>`}catch{return""}}}}var t4=require("liquidjs");function U4(n){return class extends t4.Tag{templates=[];constructor(t,i,r){for(super(t,i,r);i.length;){let a=i.shift();if(t4.TypeGuards.isTagToken(a)&&a.name==="endstyle")return;this.templates.push(r.parser.parseToken(a,i))}throw new Error(`tag ${t.getText()} not closed`)}*render(t){return`<style data-swell>${yield this.liquid.renderer.renderTemplates(this.templates,t)}</style>`}}}var i4=require("liquidjs");function $4(n){return class extends i4.Tag{fileName;hash;constructor(t,i,r){super(t,i,r);let{tokenizer:a}=t;this.fileName=a.readValue()?.content,this.hash=new i4.Hash(a.remaining())}*render(t){let{hash:i}=this,r=yield i.render(t);t.push(r);let a=yield n.getThemeConfig(yield n.getComponentPath(this.fileName)),o=yield n.renderTemplate(a,r);return t.pop(),o}}}var j2=require("liquidjs");function K4(n){return class extends j2.Tag{templates=[];constructor(t,i,r){super(t,i,r),this.templates=[],r.parser.parseStream(i).on("template",a=>{this.templates.push(a)}).on("tag:endschema",function(){this.stop()}).on("end",()=>{throw new Error(`tag ${t.getText()} not closed`)}).start()}*render(t){let i=yield this.liquid.renderer.renderTemplates(this.templates,t);try{let r=JSON.parse(i);n.lastSchema=r}catch{n.lastSchema=void 0}return""}}}var Z2=require("liquidjs");function z4(n){return class extends Z2.Tag{key="";value="";constructor(t,i,r){super(t,i,r);let a=t.args.split(",").map(l=>l.trim()),o=a.find(l=>l.startsWith("setting:")),s=a.find(l=>l.startsWith("value:"));this.key=o?o.split(":")[1].trim().replace(/['"]/g,""):a[0].split(".")[a[0].split(".").length-1],this.value=s?s.split(":")[1].trim():a[0]}*render(t){let i=yield this.liquid.evalValue(this.value,t);return i.value&&(i=i.value),`<span data-swell-inline-editable="${this.key}">${i}</span>`}}}var Oe={case:j4,for:Z4,form:N4,javascript:I4,layout:F4,paginate:B4,render:G4,section:V4,sections:O4,style:U4,include:$4,schema:K4,inline_editable:z4};function I2(n){(0,N2.each)(Oe,(e,t)=>n.engine.registerTag(t,e(n)))}var y1=require("lodash-es");function W4(n){return e=>n.getAssetUrl(e)||""}function J4(n){return(e,t)=>S.get(e).brightnessDifference(S.get(t))}function Y4(n){return e=>S.get(e).brightness()}function Q4(n){return(e,t)=>S.get(e).contrast(S.get(t))}function X4(n){return(e,t)=>S.get(e).darken(t)}function e5(n){return(e,t)=>S.get(e).desaturate(t)}function t5(n){return(e,t)=>S.get(e).difference(S.get(t))}function i5(n){return(e,t)=>S.get(e).extract(t)}function n5(n){return(e,t)=>S.get(e).lighten(t)}function r5(n){return(e,t,i)=>S.get(e).mix(S.get(t),i)}function a5(n){return(e,t,i)=>S.get(e).modify(t,i)}function o5(n){return(e,t)=>S.get(e).saturate(t)}function s5(n){return e=>S.get(e).hex()}function l5(n){return e=>S.get(e).hsl()}function h5(n){return(e,t)=>t!==void 0?S.get(e).rgba(t):S.get(e).rgb()}var R=l3(require("strftime"),1);function v3(n){return(e,...t)=>{let i=d5(e),{format:r}=Ue(t);return $e(r,i)}}function d5(n){return n==="now"||n==="today"?new Date:n instanceof Date?n:typeof n=="string"?new Date(n):new Date}function Ue(n){return typeof n[0]=="string"?{format:n[0]}:j(n)}function $e(n,e){if(Ke(n))return ze(n,e);switch(n){case"abbreviated_date":return(0,R.default)("%b %d, %Y",e);case"basic":return(0,R.default)("%m/%d/%Y",e);case"date":return(0,R.default)("%B %d, %Y",e);case"date_at_time":return`${(0,R.default)("%B %d, %Y",e)} at ${(0,R.default)("%I:%M %P",e)}`;case"default":return(0,R.default)("%A, %B %d, %Y at %I:%M %P %z",e);case"on_date":return`on ${(0,R.default)("%b %d, %Y",e)}`;case"short":return(0,R.default)("%-d %b %H:%M",e);case"long":return(0,R.default)("%B %d, %Y %H:%M",e);default:return e.toLocaleString()}}function Ke(n){return n.includes("%")}function ze(n,e){return(0,R.default)(n,e)}function c5(n){return async e=>{let t=await Promise.all(Array.from(e).map(i=>i?.message||"Unknown error"));return t.length===0?"":`
|
|
24
24
|
<div class="errors">
|
|
25
25
|
<ul>
|
|
26
26
|
${t.map(i=>`
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
`).join("")}
|
|
29
29
|
</ul>
|
|
30
30
|
</div>
|
|
31
|
-
`}}function
|
|
31
|
+
`}}function u5(n){return(e,t,i)=>!_4(e)||!_4(t)?e:i?Math.floor(e/t):e/t}function C5(n){return(e,...t)=>{if(!e)return null;let i=P.get(e),r=j(t);return i.face(r)}}function m5(n){return(e,t,i)=>P.get(e).modify(t,i)}function p5(n){return e=>P.get(e).url()}var F2={bind(n){return async e=>{if(e){let t=e.country?.iso_code||e.country_code||(typeof e.country=="string"?e.country:null);if(e.name||e.address1||e.state||t){let i=[e.name,e.company,e.address1,e.address2,e.city,e.state,t,e.zip].filter(Boolean);if(i.length>0)return`
|
|
32
32
|
<p>${i.join("<br />")}</p>
|
|
33
|
-
`}}return"<p></p>"}},resolve:[["name","company","address1","address2","city","state","country_code","country","zip"]]};function
|
|
33
|
+
`}}return"<p></p>"}},resolve:[["name","company","address1","address2","city","state","country_code","country","zip"]]};function f5(n){return(e,...t)=>{let{width:i,height:r,widths:a,srcset:o,preload:s,alt:l,loading:c="lazy",...u}=j(t);i===void 0&&(i=H2(e,"width")),r===void 0&&(r=H2(e,"height")),a===void 0&&typeof i=="number"&&(a=We(i)),o===void 0&&Array.isArray(a)&&(o=Je(e,a)),c===null?c=void 0:s&&(c="eager");let h={src:e,width:i,height:r,srcset:o,alt:l,loading:c,...u};return`<img ${Object.entries(h).filter(([p,C])=>C!=null).map(([p,C])=>`${p}="${C}"`).join(" ")} />`}}function H2(n,e){let t=n.match(new RegExp(`${e}=(\\d+)`));return t?parseInt(t[1])/2:null}function We(n){let e=[],t=n;for(;t>256;)t=Math.round(t*.8),e.push(t);return e}function Je(n,e){return e?.map(t=>{let i=n;return i.includes("?")?(i=i.replace(/width=\d+/,`width=${t}`),i=i.replace(/height=\d+/,"")):i=`${i}?width=${t}`,`${i} ${t}w`}).join(", ")}var B2={bind(n){return async(e,...t)=>{let r=await(e?.images?.[0]||e?.image||e?.preview_image||e),a=r?.url||r?.file?.url||(await r?.src)?.url||r,o=String(a);if(typeof o!="string")return"";let s=j(t),l=[s.width&&`width=${Number(s.width)*2}`,s.height&&`height=${Number(s.height)*2}`].filter(Boolean).join("&");return`${o}${l?`?${l}`:""}`}},resolve:[["images","image","preview_image"]]};function g5(n){return async e=>(await n.theme.getThemeConfig(`theme/assets/${e}`))?.file_data||""}function w5(n){return async(e,t=0)=>Y3(e,t)}function y5(n){return async(e,t=2)=>`<pre>${await Y3(e,t)}</pre>`}function S5(n){return e=>n.renderCurrency(Number(e||0))}function k5(n){return e=>`${n.renderCurrency(e)} ${n.currency?.toUpperCase()}`}function L5(n){return e=>n.renderCurrency(e).replace(/[^0-9.,]/g,"")}function A5(n){return e=>n.renderCurrency(e).split(".")[0].split(",")[0]}function b5(n){return e=>`<link href="${e}" rel="stylesheet" type="text/css" media="all" />`}function T5(n){let e=v3(n);return(t,...i)=>{let r=d5(t),a=e(t,...i);return`<time datetime="${r.toISOString()}">${a}</time>`}}function n4(n){return async(e,t)=>{let i=t&&j(t);return await n.renderTranslation(e,i)}}function _5(n){return function*(t,i,r){let a=[];t=S2(e3(t));for(let o of t)a.push(yield this.context._getFromScope(o,M4(i).replace(/\?$/,"").split("."),!1));return t.filter((o,s)=>r===void 0?y2(a[s],this.context):M3(r)?r.equals(a[s]):a[s]===r)}}function M5(n){return(e,t)=>S.get(e).rgba(t||1)}var q2={bind(n){return(e,t)=>e?.items?.find(r=>r.variant_id===t)?.quantity||0},resolve:[["items"]]};function E5(n){return e=>null}function v5(n){return e=>null}var G2=`<svg viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
34
34
|
<rect width="760" height="760" fill="white"/>
|
|
35
35
|
<path d="M434.923 262.5C415.291 255.712 393.386 252.693 372.579 254.298V254.309C330.763 257.518 289.641 283.753 268.363 319.614C251.778 347.565 248.351 376.93 251.587 409.157C255.63 406.306 258.956 406.811 263.335 405.97C263.01 404.556 263.536 403.266 263.749 401.942C268.755 370.243 260.58 356.284 280.704 324.338C348.39 216.91 510.044 278.524 495.116 402.559L494.433 405.263L517.01 413.297C522.789 349.596 506.898 297.139 447.835 263.51C448.272 271.32 438.742 263.824 434.923 262.5Z" fill="#E5E5E5"/>
|
|
36
36
|
<path d="M515.711 490.283C521.176 481.295 517.402 445.871 517.649 432.193C505.89 421.533 491.98 415.538 472.685 414.744V404.578C464.868 405.454 459.583 401.437 451.911 405.095C450.097 405.959 449.963 409.83 445.304 408.248C442.292 438.746 447.342 474.394 445.55 505.42C449.526 516.876 468.911 515.889 472.741 504.388L473.413 504.264C490.267 501.998 504.949 507.967 515.711 490.283Z" fill="#E5E5E5"/>
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<path d="M263.749 404.175C268.755 372.476 260.58 356.273 280.704 324.327C348.39 216.899 510.044 279.646 495.128 403.692" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
47
47
|
<path d="M515.89 416.663C521.669 352.963 506.897 297.139 447.835 263.51C373.296 221.073 278.755 256.71 247.959 336.951C238.697 361.098 241.71 392.348 242.079 417.785" stroke="#A3A3A3" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
48
48
|
</svg>
|
|
49
|
-
`;var
|
|
49
|
+
`;var V2=`<svg viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
50
50
|
<rect width="760" height="760" fill="white"/>
|
|
51
51
|
<path d="M298.828 423.56C298.825 423.565 298.822 423.571 298.818 423.576L298.803 423.56C298.812 423.56 298.82 423.56 298.828 423.56C299.52 422.467 298.938 421.453 298.818 420.391C298.818 420.391 296.5 395 293 380.5C289.5 366 279.5 364.5 279.5 352.5C279.5 340.5 345 353.5 363.495 304.489C370.311 311.32 375.638 317.641 383.253 323.74L383.855 324.17C390.852 329.711 397.082 332.927 404.636 337.195L405.313 337.529C411.723 341.128 418.6 344.248 425.191 347.481L426.485 348.134C464.075 366.397 497.617 371.206 534.455 385.504C550.225 391.635 563.121 400.153 558.456 420.773C556.53 420.98 554.724 421.57 552.858 421.968C472.954 439.308 429.856 424.006 353.879 421.458C336.747 420.885 316.834 423.701 298.828 423.56Z" fill="#E5E5E5"/>
|
|
52
52
|
<path d="M263.967 421.52C238.509 421.335 211.845 417.439 186.947 417.867C185.698 417.895 184.435 418.109 183.185 418.081C183.114 416.54 183.516 414.856 183.516 413.3C183.516 413.072 183.544 412.843 183.544 412.615C183.544 395.547 184.391 370.774 186.56 354.034C186.617 353.577 186.56 353.121 186.631 352.678C186.574 353.121 186.631 353.592 186.56 354.034L189.661 353.963C229.937 357.445 258.697 376.853 263.967 418.652C264.082 419.622 264.642 420.521 263.967 421.506V421.52Z" fill="#E5E5E5"/>
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<path d="M188.374 340.734C236.786 344.934 273.252 370.236 279.586 420.645" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
60
60
|
<path d="M336.782 430.986C285.696 434.428 218.846 429.551 191.807 426.683C204.751 431.846 242.03 442.172 287.594 442.172C344.549 442.172 328.153 435.288 404.955 444.754C466.398 452.327 486.936 445.041 489.525 440.451C448.966 447.336 400.641 426.683 336.782 430.986Z" fill="#E5E5E5"/>
|
|
61
61
|
</svg>
|
|
62
|
-
`;var
|
|
62
|
+
`;var O2=`<svg viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
63
63
|
<rect width="760" height="760" fill="white"/>
|
|
64
64
|
<path d="M464.905 411.321C419.039 409.104 343.478 420.962 324.414 424.145C305.351 427.328 304.544 428.112 304.544 428.112C319.607 450.43 372.586 486.89 400.257 486.028C409.793 485.725 447.459 458.488 459.33 452.08C470.128 446.252 481.392 441.07 493.169 437.613C493.358 437.559 493.534 437.431 493.723 437.377C503.738 434.5 514.374 432.472 524.963 433.995L524.633 429.015C504.123 423.348 486.535 412.365 464.905 411.321Z" fill="#E5E5E5"/>
|
|
65
65
|
<path d="M228.031 432.95C229.037 435.565 229.928 434.742 232.452 436.171L321.231 418.132C306.742 345.385 308.595 315.263 343.478 295.335C323.812 295.84 297.255 303.185 279.816 312.376C275.624 314.586 265.95 320.705 258.158 327.449C240.593 342.653 223.698 354.112 223.698 375.938C223.698 397.764 226.344 428.577 228.031 432.95Z" fill="#E5E5E5"/>
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
<path d="M491.715 437.232C507.242 446.669 535.659 455.341 551.349 443.018L551.993 442.601" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
72
72
|
<path d="M334.318 277.358C326.417 270.595 317.369 269.4 310.974 279.127" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
73
73
|
</svg>
|
|
74
|
-
`;var
|
|
74
|
+
`;var U2=`<svg viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
75
75
|
<rect width="760" height="760" fill="white"/>
|
|
76
76
|
<path d="M313.863 430.914C357.895 429.203 371.999 379.5 365.499 368.769C357.493 368.769 348.402 368.427 337.88 364.778C324.728 360.217 270.998 358.057 265.499 364.778C260 371.5 263.54 433.765 313.863 430.914Z" fill="#E5E5E5"/>
|
|
77
77
|
<path d="M464 430C503.581 428.778 517.594 386.5 512.594 368.5C501.594 367 494.194 364 486.594 364C477.094 364 473.594 367 443.594 365.5C419.594 364.3 415.261 370 416.094 373C415.427 391.667 415.406 431.5 464 430Z" fill="#E5E5E5"/>
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<path d="M334.5 335C334.5 335 327 326.5 319.5 328C312 329.5 248 354.5 248 354.5" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
84
84
|
<path d="M427 335C427 335 434.5 326.5 442 328C449.5 329.5 513.5 354.5 513.5 354.5" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
85
85
|
</svg>
|
|
86
|
-
`;var
|
|
86
|
+
`;var $2=`<svg viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
87
87
|
<rect width="760" height="760" fill="white"/>
|
|
88
88
|
<path d="M323.499 252.705C321.786 251.737 309.397 252.126 305.964 252.831V252.822C303.445 253.338 284.999 252.831 284.999 265V345.5C284.99 362.006 283.462 386.467 283.498 402.982L301.832 402.855H483.152L486.603 402.982C486.63 385.418 486.782 367.882 487.006 350.327C489.292 349.793 489.686 351.856 490.744 352.877C495.172 357.164 512.4 377.197 517.097 375.795C522.978 369.899 561.881 334.527 560.984 329.345C559.783 322.444 496.275 265.312 487.293 255.165C482.264 251.873 440.251 251.33 437.983 252.705C436.45 253.636 433.806 264.182 431.484 267.537C414.982 291.377 353.781 291.16 336.499 268.369C333.397 264.281 327.093 254.749 323.499 252.705Z" fill="#E5E5E5"/>
|
|
89
89
|
<path d="M482.876 494H316.318C316.318 494 314.499 495.5 314.499 501.5C314.499 507.5 317.138 518.545 332.965 521.543C374.094 517.431 423.018 525.959 463.188 521.847C480.073 520.118 484.966 509.337 485.999 494.147L482.876 494Z" fill="#E5E5E5"/>
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
<path d="M380.67 276.51V347.63" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
97
97
|
<path d="M270.59 347.79C264.6 351.31 247.68 374.64 242.11 373.31C238.65 372.49 192.56 326.23 192.23 322.69C192.35 320.82 193.16 319.53 194.26 318.07C201.33 308.73 267.69 243.35 275.37 239.37C277.97 238.02 280.87 237.72 283.68 237.15C287.51 236.37 325.57 235.94 327.48 237.01C331.49 239.27 333.61 249.81 337.07 254.33C356.35 279.53 405.3 279.77 423.71 253.41C426.3 249.7 429.25 238.04 430.96 237.01C433.49 235.49 480.36 236.09 485.97 239.73C495.99 250.95 566.84 314.12 568.18 321.75C569.18 327.48 525.78 366.59 519.22 373.11C513.98 374.66 494.76 352.51 489.82 347.77" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
98
98
|
</svg>
|
|
99
|
-
`;var
|
|
99
|
+
`;var K2=`<svg viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
100
100
|
<rect width="760" height="760" fill="white"/>
|
|
101
101
|
<path d="M328 261.307C317.995 265.675 308.33 272.901 301.141 281C301.115 279.935 301.124 278.87 301.124 277.789C301.107 263.428 300.597 255.95 301.779 241.623C305.761 241.706 325.371 239.979 327.166 241.941L327.821 260.066L328 261.307Z" fill="#E5E5E5"/>
|
|
102
102
|
<path d="M466.91 284C460.74 277.235 449.527 268.778 441 265.124L441.261 263.773L442.549 241H467.129C468.821 242.46 467.491 277.936 467.693 283.458L466.918 286L466.91 284Z" fill="#E5E5E5"/>
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
<path d="M398.23 251.677C401.431 222.145 358.537 223.067 362.79 252.371" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
112
112
|
<path d="M468.414 288.486C468.306 288.356 468.208 288.204 468.1 288.074C467.839 287.261 467.644 286.447 467.611 285.591C467.351 278.411 469.065 229.682 466.884 227.785H435.199L433.539 259.995" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
113
113
|
</svg>
|
|
114
|
-
`;var
|
|
114
|
+
`;var z2=`<svg viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
115
115
|
<rect width="760" height="760" fill="white"/>
|
|
116
116
|
<rect x="480.218" y="279.857" width="12.8302" height="64.1508" rx="6.41508" fill="#E5E5E5"/>
|
|
117
117
|
<rect width="12.8302" height="64.1508" rx="6.41508" transform="matrix(-1 0 0 1 626.802 279.857)" fill="#E5E5E5"/>
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
<path d="M157.598 258.225C162.241 228.818 154.658 213.787 173.326 184.152C236.117 84.4937 386.08 142.702 372.242 257.777" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
149
149
|
<path d="M391.502 269.81C396.863 210.717 383.16 158.931 328.369 127.734C259.221 88.3659 171.518 121.426 142.949 195.863C134.357 218.263 137.152 247.253 137.495 270.851" stroke="#A3A3A3" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
150
150
|
</svg>
|
|
151
|
-
`;var
|
|
151
|
+
`;var W2=`<svg viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
152
152
|
<rect width="760" height="760" fill="white"/>
|
|
153
153
|
<path d="M220.595 428.523C220.592 428.528 220.589 428.532 220.586 428.537L220.573 428.523C220.58 428.523 220.587 428.523 220.595 428.523C221.192 427.579 220.689 426.702 220.586 425.785C220.586 425.785 218.582 403.839 215.557 391.306C212.532 378.773 203.889 377.477 203.889 367.105C203.889 356.733 260.501 367.97 276.486 325.609C282.378 331.513 286.982 336.977 293.563 342.247L294.084 342.619C300.132 347.408 305.516 350.188 312.045 353.877L312.631 354.166C318.171 357.276 324.115 359.973 329.812 362.767L330.93 363.331C363.42 379.117 392.41 383.273 424.249 395.631C437.88 400.93 449.026 408.293 444.994 426.115C443.33 426.294 441.769 426.803 440.156 427.147C371.093 442.134 333.844 428.909 268.175 426.707C253.368 426.211 236.157 428.645 220.595 428.523Z" fill="#E5E5E5"/>
|
|
154
154
|
<path d="M190.463 426.76C168.459 426.6 145.413 423.233 123.894 423.603C122.814 423.627 121.722 423.812 120.642 423.788C120.58 422.455 120.928 421 120.928 419.656C120.928 419.458 120.952 419.261 120.952 419.064C120.952 404.312 121.685 382.899 123.559 368.431C123.608 368.036 123.559 367.642 123.621 367.259C123.571 367.642 123.621 368.049 123.559 368.431L126.239 368.37C161.05 371.379 185.908 388.154 190.463 424.281C190.562 425.12 191.046 425.897 190.463 426.748V426.76Z" fill="#E5E5E5"/>
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
<path d="M424.787 550.674C427.596 553.312 430.404 555.906 433.213 558.543L440.515 565.331" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
183
183
|
<path d="M336.469 623.617L620.723 620.66C636.713 620.494 594.794 638.379 572.754 638.379C550.714 638.379 539.91 628.871 510.955 628.871C482.001 628.871 469.036 638.379 410.695 638.379C372.347 638.379 347.516 631.766 335.724 626.69C333.907 625.909 334.492 623.637 336.469 623.617Z" fill="#E5E5E5"/>
|
|
184
184
|
</svg>
|
|
185
|
-
`;var
|
|
185
|
+
`;var J2=`<svg viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
186
186
|
<rect width="760" height="760" fill="white"/>
|
|
187
187
|
<path d="M618.798 398.382C618.637 398.179 618.41 398.03 618.248 397.834L608.309 398.662C613.228 414.915 613.587 433.341 613.276 450.38C613.132 458.129 612.756 477.782 611.065 484.494C608.226 495.786 586.088 497.668 576.556 498.526C544.324 501.426 501.622 497.216 471.099 502.379C464.86 503.433 468.38 506.322 467.442 511.682C456.732 511.664 446.028 511.64 435.318 511.622C437.404 472.291 426.114 430.798 461.16 402.795C485.969 382.969 551.693 386.971 583.734 388.49C586.011 388.597 598.239 391.301 598.92 389.865V382.325C606.528 386.453 612.696 391.152 618.242 397.84C618.41 398.042 618.631 398.191 618.792 398.388L618.798 398.382Z" fill="#E5E5E5"/>
|
|
188
188
|
<path d="M598.92 382.32V389.859C598.239 391.295 586.017 388.591 583.734 388.484C551.693 386.965 485.969 382.963 461.161 402.789C426.12 430.792 437.404 472.285 435.318 511.616L416.486 511.581H415.93L415.948 511.003C417.185 456.866 404.712 380.86 481.313 374.178C505.542 372.064 579.437 371.754 598.92 382.32Z" fill="white"/>
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
<path d="M253.05 281.143C256.184 260.944 216.01 260.961 219.178 281.143" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
214
214
|
<path d="M124.245 413.479H348.966" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round"/>
|
|
215
215
|
</svg>
|
|
216
|
-
`;var
|
|
216
|
+
`;var Y2=`<svg viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
217
217
|
<rect width="760" height="760" fill="white"/>
|
|
218
218
|
<path d="M313.863 430.914C357.895 429.203 371.999 379.5 365.499 368.769C357.493 368.769 348.402 368.427 337.88 364.778C324.728 360.217 270.998 358.057 265.499 364.778C260 371.5 263.54 433.765 313.863 430.914Z" fill="#E5E5E5"/>
|
|
219
219
|
<path d="M464 430C503.581 428.778 517.594 386.5 512.594 368.5C501.594 367 494.194 364 486.594 364C477.094 364 473.594 367 443.594 365.5C419.594 364.3 415.261 370 416.094 373C415.427 391.667 415.406 431.5 464 430Z" fill="#E5E5E5"/>
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
<path d="M250 510V555C250 566.046 258.954 575 270 575H347C358.046 575 367 566.046 367 555V510" stroke="#A3A3A3" stroke-width="5"/>
|
|
242
242
|
<path d="M399 510V555C399 566.046 407.954 575 419 575H496C507.046 575 516 566.046 516 555V510" stroke="#A3A3A3" stroke-width="5"/>
|
|
243
243
|
</svg>
|
|
244
|
-
`;var
|
|
244
|
+
`;var Q2=`<svg viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
245
245
|
<rect width="760" height="760" fill="white"/>
|
|
246
246
|
<path d="M150.34 202.699C149.47 212.199 149.73 221.699 149.73 231.219C149.73 249.479 150.1 267.729 150.14 285.989C150.16 295.229 150.05 304.479 150.14 313.709C150.24 323.559 149.97 333.429 150.14 343.269C150.29 352.109 149.2 362.609 149.8 371.029C151.01 388.149 154.85 400.749 174.16 404.409C224.34 399.389 284.03 409.799 333.04 404.779C353.64 402.669 359.6 389.499 360.87 370.969C361.44 362.589 359.9 352.059 360.04 343.209C360.19 333.349 360.21 323.439 360.28 313.569C360.34 304.339 359.97 295.149 359.98 285.939C360.02 266.529 360.18 247.129 360.43 227.719C360.54 219.379 360.66 211.009 360.81 202.669" fill="white"/>
|
|
247
247
|
<path d="M145.36 230.559C139.37 234.079 122.45 257.409 116.88 256.079C113.42 255.259 67.33 208.999 67 205.459C67.12 203.589 67.93 202.299 69.03 200.839C76.1 191.499 142.46 126.119 150.14 122.139C152.74 120.789 155.64 120.489 158.45 119.919C162.28 119.139 200.34 118.709 202.25 119.779C206.26 122.039 208.38 132.579 211.84 137.099C231.12 162.299 280.07 162.539 298.48 136.179C301.07 132.469 304.02 120.809 305.73 119.779C308.26 118.259 355.13 118.859 360.74 122.499C370.76 133.719 441.61 196.889 442.95 204.519C443.95 210.249 400.55 249.359 393.99 255.879C388.75 257.429 369.53 235.279 364.59 230.539" fill="white"/>
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
<path d="M228.84 519.819H431.13" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
272
272
|
<path d="M330.44 393.279V464.399" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
273
273
|
</svg>
|
|
274
|
-
`;var
|
|
274
|
+
`;var X2=`<svg viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
275
275
|
<rect width="760" height="760" fill="white"/>
|
|
276
276
|
<path d="M228.364 295.356C222.342 298.789 216.809 303.025 211.757 307.791C211.129 307.4 209.392 307.923 209.057 307.442C207.927 305.844 209.51 272.851 209.636 268.239C212.49 268.706 227.212 267.227 227.98 269.202C229.647 273.507 226.424 289.766 228.364 295.349V295.356Z" fill="#E5E5E5"/>
|
|
277
277
|
<path d="M343.08 311.238C337.115 305.049 331.619 300.614 324.153 296.367L324.55 268.343L343.116 268.141L343.073 311.238H343.08Z" fill="#E5E5E5"/>
|
|
@@ -315,122 +315,106 @@
|
|
|
315
315
|
<path d="M467.844 133.607C466.654 127.582 469.43 104.861 465.904 101.164C464.818 100.026 463.543 99.6465 462.086 99.2586C461 98.9656 440.744 98.9656 439.667 99.2586C437.426 99.862 436.064 100.508 434.797 102.594C431.383 108.257 435.995 149.554 433.935 158.888" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
316
316
|
<path d="M583.743 159.371V104.508C583.519 102.681 582.295 101.422 580.881 100.405C578.019 98.3449 554.316 98.5087 551.782 101.172C548.058 105.077 551.351 127.505 549.816 133.616" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
317
317
|
</svg>
|
|
318
|
-
`;var
|
|
318
|
+
`;var e1=`<svg viewBox="0 0 1052 400" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
319
319
|
<g clip-path="url(#clip0_65_2798)">
|
|
320
|
-
<rect width="
|
|
321
|
-
<circle cx="
|
|
322
|
-
<path d="
|
|
323
|
-
<path d="
|
|
324
|
-
<path d="
|
|
325
|
-
<path d="
|
|
326
|
-
<path d="
|
|
327
|
-
<path d="
|
|
328
|
-
<path d="
|
|
329
|
-
<path d="
|
|
330
|
-
<path d="
|
|
331
|
-
<path d="
|
|
332
|
-
<path d="
|
|
333
|
-
<path d="
|
|
334
|
-
<path d="
|
|
335
|
-
<path d="
|
|
336
|
-
<path d="
|
|
337
|
-
<path d="
|
|
338
|
-
<path d="
|
|
339
|
-
<path d="
|
|
340
|
-
<path d="
|
|
341
|
-
<path d="
|
|
342
|
-
<path d="
|
|
343
|
-
<path d="
|
|
344
|
-
<path d="
|
|
345
|
-
<path d="
|
|
346
|
-
<path d="
|
|
347
|
-
<path d="
|
|
348
|
-
<path d="
|
|
349
|
-
<path d="M232.5 186L232.074 181.528L230.441 182.559L231.472 180.926L227 180.5L231.472 180.074L230.441 178.441L232.074 179.472L232.5 175L232.926 179.472L234.559 178.441L233.528 180.074L238 180.5L233.528 180.926L234.559 182.559L232.926 181.528L232.5 186Z" fill="#D4D4D4"/>
|
|
350
|
-
<path d="M376 244L375.536 239.121L373.754 240.246L374.879 238.464L370 238L374.879 237.536L373.754 235.754L375.536 236.879L376 232L376.464 236.879L378.246 235.754L377.121 237.536L382 238L377.121 238.464L378.246 240.246L376.464 239.121L376 244Z" fill="#D4D4D4"/>
|
|
351
|
-
<path d="M971 125L970.536 120.528L968.754 121.559L969.879 119.926L965 119.5L969.879 119.074L968.754 117.441L970.536 118.472L971 114L971.464 118.472L973.246 117.441L972.121 119.074L977 119.5L972.121 119.926L973.246 121.559L971.464 120.528L971 125Z" fill="#D4D4D4"/>
|
|
352
|
-
<path d="M1000 234L999.536 229.121L997.754 230.246L998.879 228.464L994 228L998.879 227.536L997.754 225.754L999.536 226.879L1000 222L1000.46 226.879L1002.25 225.754L1001.12 227.536L1006 228L1001.12 228.464L1002.25 230.246L1000.46 229.121L1000 234Z" fill="#D4D4D4"/>
|
|
353
|
-
<path d="M831 198L830.536 193.121L828.754 194.246L829.879 192.464L825 192L829.879 191.536L828.754 189.754L830.536 190.879L831 186L831.464 190.879L833.246 189.754L832.121 191.536L837 192L832.121 192.464L833.246 194.246L831.464 193.121L831 198Z" fill="#D4D4D4"/>
|
|
354
|
-
<path d="M0 424.5C0 424.5 40.2822 444.465 74.5 448C109.991 451.667 124.145 419.304 159.5 414.5C201.586 408.782 224.531 431.56 267 431C309.663 430.437 331.874 409.638 374.5 411.5C392.818 412.3 402.755 416.171 421 418C443.568 420.262 456.319 421.064 479 421C510.929 420.91 528.711 417.484 560.5 414.5C591.394 411.6 608.471 405.87 639.5 406C669.365 406.125 685.922 410.367 715.5 414.5C739.599 417.867 752.77 426.733 777 424.5C795.215 422.822 803.861 413.862 822 411.5C855.299 407.165 873.479 422.494 907 424.5C950.15 427.082 974.451 421.924 1017.5 418C1056.48 414.447 1077.87 405.333 1117 406C1151.29 406.584 1169.75 419.706 1204 418C1234.76 416.469 1281 401 1281 401V723H0V424.5Z" fill="#D4D4D4"/>
|
|
355
|
-
<path d="M1280.5 722.5V516.39C1280.5 516.39 1238.34 513.976 1211.5 516.39C1182.4 519.007 1167.17 528.716 1138 530.295C1101.5 532.27 1081.28 515.359 1045 519.79C1019.76 522.872 990.25 535.51 982.5 538C974.75 540.49 956.715 529.959 940 525.492C922.89 520.92 913.606 515.318 895.9 514.915C869.75 514.32 856.832 526.753 831.8 534.337C806.767 541.922 793.603 550.129 767.7 553.76C742.909 557.235 728.61 552.108 703.6 553.182C670.582 554.602 651.943 568.903 619.5 562.605C592.273 557.32 583.062 530.019 555.4 532.027C536.631 533.39 529.955 548.974 511.3 551.45C489.96 554.282 478.412 544.543 457.2 540.872C428.397 535.889 412.155 527.095 383.1 530.295C352.151 533.704 309 559.717 309 559.717C309 559.717 277.329 578.24 254.9 579.14C223.62 580.395 212.08 547.307 180.8 548.562C158.37 549.463 149.02 565.6 126.7 567.985C101.472 570.681 87.2691 563.334 62.5999 557.407C37.0364 551.266 -1.50012 536.83 -1.50012 536.83V722.5H1280.5Z" fill="#F5F5F5"/>
|
|
356
|
-
<path d="M942.02 462.652C953.774 439.793 910.28 443.682 888.482 436.591C864.713 428.859 850.585 426.109 825.937 426.522C803.611 426.896 791.726 436.697 769.397 436.591C747.648 436.488 736.088 427.621 714.358 426.522C705.964 426.098 701.211 427.424 692.843 426.522C677.55 424.874 670.067 416.802 654.816 414.677C624.731 410.484 608.485 427.051 578.262 429.484C556.428 431.241 543.622 424.059 522.222 429.484C510.342 432.495 504.767 443.559 492.764 441.329C484.453 439.786 481.82 432.035 473.688 429.484C458.969 424.865 449.96 440.836 435.161 436.591C429.201 434.881 426.652 430.976 420.65 429.484C408.199 426.388 391.844 422.019 388.628 436.591C386.104 448.029 402.676 450.894 401.637 462.652C400.1 480.049 365.105 462.204 366.612 479.606C368.12 497.007 464.798 505.407 477.691 505.037C490.584 504.667 497.901 503.303 510.714 505.037C523.262 506.735 529.696 511.817 542.237 513.588C556.206 515.561 564.256 512.018 578.262 513.588C592.728 515.21 600.315 520.454 614.788 521.991C627.438 523.335 634.687 520.336 647.311 521.991C667.139 524.592 676.417 540.031 696.346 538.945C711.217 538.135 718.072 527.939 732.872 526.026C749.06 523.934 758.21 532.532 774.401 530.468C785.819 529.013 791.916 525.876 802.921 521.991C818.479 516.499 826.415 510.625 841.949 505.037C855.441 500.183 871.014 509.764 876.974 494.635C879.095 489.25 876.29 484.626 878.975 479.606C884.054 470.107 893.679 477.292 902.992 475.09C918.47 471.43 933.813 478.611 942.02 462.652Z" fill="#FCFCFD"/>
|
|
320
|
+
<rect width="1052" height="400" fill="#F5F5F5"/>
|
|
321
|
+
<circle cx="534.998" cy="242.131" r="124.342" fill="#FCFCFD"/>
|
|
322
|
+
<path d="M0 226.43C0 226.43 14.4921 209.811 30.3856 206.719C46.0842 203.665 55.6779 215.081 71.4473 212.194C86.576 209.425 89.1095 200.793 101.833 194.673C114.546 188.558 122.346 185.714 136.325 180.985C148.492 176.868 154.812 172.794 168.353 171.676C182.587 170.501 190.287 177.403 204.487 176.057C219.542 174.629 223.78 164.313 238.979 164.011C251.961 163.752 258.311 168.169 270.186 171.676C281.071 174.891 287.96 176.051 297.286 180.985C307.097 186.175 307.839 192.364 317.817 197.411C329.395 203.266 337.778 206.645 352.309 206.719C373.488 206.827 377.164 186.64 398.298 187.555C414.655 188.263 420.767 207.825 434.432 201.791C437.458 200.455 438.053 198.82 441.002 197.411C456.973 189.778 467.395 208.33 486.17 212.194C498.971 214.829 506.444 224.959 519.841 225.051C540.853 225.194 551.563 210.984 571.578 206.719C587.423 203.342 597.277 202.795 611.819 197.411C625.393 192.385 628.991 185.413 643.026 180.985C651.828 178.207 657.124 176.476 666.842 176.057C682.731 175.371 689.547 184.158 705.439 184.817C719.069 185.383 726.733 178.649 739.931 180.985C752.519 183.212 754.841 190.438 766.211 194.673C776.141 198.372 781.964 201.263 793.311 201.791C804.486 202.311 810.062 196.862 821.233 197.411C834.257 198.05 839.813 202.997 851.619 206.719C863.549 210.48 868.844 215.927 882.005 216.575C895.457 217.237 901.436 210.376 914.854 209.457C928.665 208.51 936.285 212.316 950.167 212.194C968.094 212.037 977.79 209.178 995.335 206.719C1007.9 204.958 1014.59 202.621 1027.36 201.791C1036.94 201.169 1052 201.791 1052 201.791V400H0V226.43Z" fill="#A3A3A3"/>
|
|
323
|
+
<path d="M755.46 133.331L751.567 92.4208L736.627 101.855L746.061 86.915L705.151 83.0218L746.061 79.1286L736.627 64.1884L751.567 73.6227L755.46 32.7123L759.354 73.6227L774.294 64.1884L764.859 79.1286L805.77 83.0218L764.859 86.915L774.294 101.855L759.354 92.4208L755.46 133.331Z" fill="#D4D4D4"/>
|
|
324
|
+
<path d="M292.449 81.7947L289.379 49.532L277.597 56.9721L285.037 45.19L252.774 42.1197L285.037 39.0495L277.597 27.2674L289.379 34.7075L292.449 2.44479L295.52 34.7075L307.302 27.2674L299.862 39.0495L332.124 42.1197L299.862 45.19L307.302 56.9721L295.52 49.532L292.449 81.7947Z" fill="#D4D4D4"/>
|
|
325
|
+
<path d="M474.463 95.7014L473.514 85.3906L469.87 87.7684L472.171 84.003L462.193 83.0218L472.171 82.0406L469.87 78.2751L473.514 80.6529L474.463 70.3421L475.413 80.6529L479.057 78.2751L476.756 82.0406L486.734 83.0218L476.756 84.003L479.057 87.7684L475.413 85.3906L474.463 95.7014Z" fill="#D4D4D4"/>
|
|
326
|
+
<path d="M584.081 33.5303L583.131 23.2196L579.487 25.5973L581.788 21.8319L571.81 20.8507L581.788 19.8695L579.487 16.1041L583.131 18.4818L584.081 8.17107L585.03 18.4818L588.674 16.1041L586.373 19.8695L596.352 20.8507L586.373 21.8319L588.674 25.5973L585.03 23.2196L584.081 33.5303Z" fill="#D4D4D4"/>
|
|
327
|
+
<path d="M997.191 115.334L996.242 105.024L992.598 107.401L994.899 103.636L984.921 102.655L994.899 101.674L992.598 97.9081L996.242 100.286L997.191 89.9751L998.141 100.286L1001.78 97.9081L999.484 101.674L1009.46 102.655L999.484 103.636L1001.78 107.401L998.141 105.024L997.191 115.334Z" fill="#D4D4D4"/>
|
|
328
|
+
<path d="M153.792 114.516L152.842 104.206L149.198 106.583L151.499 102.818L141.521 101.837L151.499 100.855L149.198 97.0901L152.842 99.4678L153.792 89.1571L154.741 99.4678L158.385 97.0901L156.084 100.855L166.062 101.837L156.084 102.818L158.385 106.583L154.741 104.206L153.792 114.516Z" fill="#D4D4D4"/>
|
|
329
|
+
<path d="M368.936 139.876L367.987 129.897L364.343 132.198L366.644 128.555L356.666 127.605L366.644 126.655L364.343 123.011L367.987 125.313L368.936 115.334L369.886 125.313L373.53 123.011L371.229 126.655L381.207 127.605L371.229 128.555L373.53 132.198L369.886 129.897L368.936 139.876Z" fill="#D4D4D4"/>
|
|
330
|
+
<path d="M631.527 127.605L630.831 120.288L628.159 121.975L629.846 119.303L622.529 118.607L629.846 117.91L628.159 115.238L630.831 116.925L631.527 109.608L632.224 116.925L634.896 115.238L633.208 117.91L640.526 118.607L633.208 119.303L634.896 121.975L632.224 120.288L631.527 127.605Z" fill="#D4D4D4"/>
|
|
331
|
+
<path d="M184.877 35.1664L184.181 27.8491L181.509 29.5365L183.196 26.8643L175.879 26.168L183.196 25.4716L181.509 22.7994L184.181 24.4868L184.877 17.1695L185.573 24.4868L188.246 22.7994L186.558 25.4716L193.876 26.168L186.558 26.8643L188.246 29.5365L185.573 27.8491L184.877 35.1664Z" fill="#D4D4D4"/>
|
|
332
|
+
<path d="M658.932 16.3515L658.583 12.3602L657.247 13.2806L658.091 11.8231L654.432 11.4432L658.091 11.0634L657.247 9.60583L658.583 10.5263L658.932 6.53499L659.28 10.5263L660.616 9.60583L659.772 11.0634L663.431 11.4432L659.772 11.8231L660.616 13.2806L659.28 12.3602L658.932 16.3515Z" fill="#D4D4D4"/>
|
|
333
|
+
<path d="M914.16 17.1695L913.812 13.1783L912.476 14.0987L913.32 12.6411L909.661 12.2613L913.32 11.8814L912.476 10.4239L913.812 11.3443L914.16 7.35303L914.508 11.3443L915.844 10.4239L915.001 11.8814L918.659 12.2613L915.001 12.6411L915.844 14.0987L914.508 13.1783L914.16 17.1695Z" fill="#D4D4D4"/>
|
|
334
|
+
<path d="M980.421 54.7994L980.073 50.8081L978.737 51.7285L979.581 50.271L975.922 49.8911L979.581 49.5113L978.737 48.0537L980.073 48.9742L980.421 44.9829L980.77 48.9742L982.106 48.0537L981.262 49.5113L984.921 49.8911L981.262 50.271L982.106 51.7285L980.77 50.8081L980.421 54.7994Z" fill="#D4D4D4"/>
|
|
335
|
+
<path d="M934.611 98.9736L934.263 94.9823L932.927 95.9027L933.771 94.4451L930.112 94.0653L933.771 93.6855L932.927 92.2279L934.263 93.1483L934.611 89.1571L934.959 93.1483L936.295 92.2279L935.452 93.6855L939.11 94.0653L935.452 94.4451L936.295 95.9027L934.959 94.9823L934.611 98.9736Z" fill="#D4D4D4"/>
|
|
336
|
+
<path d="M504.322 35.1664L503.974 31.1751L502.638 32.0956L503.481 30.638L499.823 30.2582L503.481 29.8783L502.638 28.4208L503.974 29.3412L504.322 25.3499L504.67 29.3412L506.006 28.4208L505.163 29.8783L508.821 30.2582L505.163 30.638L506.006 32.0956L504.67 31.1751L504.322 35.1664Z" fill="#D4D4D4"/>
|
|
337
|
+
<path d="M571.81 75.2504L571.43 71.2591L569.973 72.1795L570.893 70.722L566.902 70.3421L570.893 69.9623L569.973 68.5047L571.43 69.4252L571.81 65.4339L572.19 69.4252L573.648 68.5047L572.727 69.9623L576.719 70.3421L572.727 70.722L573.648 72.1795L572.19 71.2591L571.81 75.2504Z" fill="#D4D4D4"/>
|
|
338
|
+
<path d="M387.342 54.7994L386.994 51.1407L385.658 51.9844L386.502 50.6483L382.843 50.3002L386.502 49.952L385.658 48.6159L386.994 49.4596L387.342 45.8009L387.69 49.4596L389.026 48.6159L388.183 49.952L391.841 50.3002L388.183 50.6483L389.026 51.9844L387.69 51.1407L387.342 54.7994Z" fill="#D4D4D4"/>
|
|
339
|
+
<path d="M55.2177 79.3406L54.8696 75.6819L53.5334 76.5257L54.3772 75.1895L50.7185 74.8414L54.3772 74.4932L53.5334 73.1571L54.8696 74.0008L55.2177 70.3421L55.5659 74.0008L56.902 73.1571L56.0583 74.4932L59.7169 74.8414L56.0583 75.1895L56.902 76.5257L55.5659 75.6819L55.2177 79.3406Z" fill="#D4D4D4"/>
|
|
340
|
+
<path d="M132.932 52.3453L132.583 48.6866L131.247 49.5303L132.091 48.1942L128.432 47.846L132.091 47.4979L131.247 46.1617L132.583 47.0055L132.932 43.3468L133.28 47.0055L134.616 46.1617L133.772 47.4979L137.431 47.846L133.772 48.1942L134.616 49.5303L133.28 48.6866L132.932 52.3453Z" fill="#D4D4D4"/>
|
|
341
|
+
<path d="M194.285 75.2504L193.936 71.5917L192.6 72.4354L193.444 71.0993L189.785 70.7512L193.444 70.403L192.6 69.0669L193.936 69.9106L194.285 66.2519L194.633 69.9106L195.969 69.0669L195.125 70.403L198.784 70.7512L195.125 71.0993L195.969 72.4354L194.633 71.5917L194.285 75.2504Z" fill="#D4D4D4"/>
|
|
342
|
+
<path d="M311.673 122.697L311.294 118.705L309.836 119.626L310.756 118.168L306.765 117.788L310.756 117.409L309.836 115.951L311.294 116.872L311.673 112.88L312.053 116.872L313.511 115.951L312.59 117.409L316.582 117.788L312.59 118.168L313.511 119.626L312.053 118.705L311.673 122.697Z" fill="#D4D4D4"/>
|
|
343
|
+
<path d="M798.407 25.3499L798.028 21.6913L796.57 22.535L797.491 21.1989L793.499 20.8507L797.491 20.5025L796.57 19.1664L798.028 20.0101L798.407 16.3515L798.787 20.0101L800.245 19.1664L799.324 20.5025L803.316 20.8507L799.324 21.1989L800.245 22.535L798.787 21.6913L798.407 25.3499Z" fill="#D4D4D4"/>
|
|
344
|
+
<path d="M822.131 114.516L821.751 110.525L820.293 111.445L821.214 109.988L817.222 109.608L821.214 109.228L820.293 107.771L821.751 108.691L822.131 104.7L822.51 108.691L823.968 107.771L823.048 109.228L827.039 109.608L823.048 109.988L823.968 111.445L822.51 110.525L822.131 114.516Z" fill="#D4D4D4"/>
|
|
345
|
+
<path d="M683.882 85.0669L683.502 81.0756L682.044 81.996L682.965 80.5385L678.974 80.1586L682.965 79.7788L682.044 78.3212L683.502 79.2417L683.882 75.2504L684.262 79.2417L685.719 78.3212L684.799 79.7788L688.79 80.1586L684.799 80.5385L685.719 81.996L684.262 81.0756L683.882 85.0669Z" fill="#D4D4D4"/>
|
|
346
|
+
<path d="M0 261.874C0 261.874 33.0811 271.113 61.1819 272.748C90.328 274.445 101.952 259.47 130.987 257.247C165.549 254.601 184.392 265.141 219.269 264.882C254.305 264.622 272.546 254.997 307.552 255.859C322.596 256.229 330.756 258.02 345.739 258.866C364.273 259.913 374.745 260.284 393.371 260.255C419.592 260.213 434.195 258.627 460.301 257.247C485.672 255.905 499.697 253.253 525.179 253.314C549.705 253.372 563.302 255.335 587.592 257.247C607.383 258.805 618.2 262.907 638.098 261.874C653.057 261.098 660.157 256.951 675.054 255.859C702.401 253.853 717.33 260.946 744.859 261.874C780.295 263.069 800.252 260.682 835.605 258.866C867.614 257.222 885.18 253.005 917.318 253.314C945.48 253.584 960.634 259.656 988.765 258.866C1014.02 258.158 1052 251 1052 251V400H0V261.874Z" fill="#D4D4D4"/>
|
|
347
|
+
<path d="M1052 405V345.254C1052 345.254 1017.4 343.23 995.379 345.254C971.504 347.447 959.002 355.584 935.065 356.908C905.117 358.563 888.522 344.39 858.75 348.103C838.043 350.686 813.823 361.278 807.463 363.365C801.104 365.452 786.304 356.626 772.588 352.883C758.548 349.051 750.929 344.355 736.4 344.017C714.942 343.518 704.342 353.939 683.8 360.296C663.258 366.653 652.456 373.531 631.2 376.574C610.856 379.487 599.123 375.189 578.6 376.09C551.506 377.28 536.211 389.266 509.588 383.988C487.246 379.558 479.687 356.676 456.988 358.36C441.586 359.502 436.108 372.563 420.8 374.638C403.288 377.012 393.813 368.849 376.406 365.773C352.77 361.596 339.443 354.225 315.6 356.908C290.204 359.765 254.794 381.567 254.794 381.567C254.794 381.567 228.806 397.092 210.4 397.846C184.732 398.898 175.262 371.166 149.594 372.218C131.189 372.973 123.516 386.498 105.2 388.497C84.4985 390.756 72.8434 384.599 52.6 379.631C31.6228 374.484 0 362.385 0 362.385V405H1052Z" fill="#F5F5F5"/>
|
|
348
|
+
<path d="M774.7 301.563C784.316 282.864 748.736 286.045 730.904 280.244C711.46 273.919 699.903 271.67 679.74 272.007C661.476 272.313 651.754 280.331 633.488 280.244C615.697 280.16 606.24 272.906 588.464 272.007C581.597 271.66 577.709 272.745 570.864 272.007C558.354 270.659 552.232 264.056 539.756 262.317C515.146 258.887 501.856 272.439 477.132 274.43C459.271 275.868 448.795 269.992 431.289 274.43C421.571 276.893 417.01 285.944 407.191 284.12C400.393 282.857 398.238 276.517 391.586 274.43C379.545 270.651 372.176 283.717 360.069 280.244C355.194 278.845 353.109 275.65 348.199 274.43C338.013 271.898 324.634 268.323 322.003 280.244C319.939 289.6 333.495 291.945 332.646 301.563C331.388 315.795 302.761 301.197 303.994 315.432C305.227 329.667 384.314 336.538 394.861 336.236C405.407 335.933 411.394 334.817 421.875 336.236C432.14 337.625 437.403 341.782 447.662 343.231C459.089 344.845 465.674 341.946 477.132 343.231C488.966 344.557 495.172 348.847 507.012 350.105C517.36 351.204 523.29 348.75 533.617 350.105C549.837 352.232 557.427 364.862 573.729 363.974C585.895 363.311 591.502 354.97 603.609 353.406C616.851 351.694 624.337 358.728 637.582 357.039C646.922 355.849 651.91 353.282 660.912 350.105C673.639 345.612 680.131 340.807 692.838 336.236C703.876 332.265 716.615 340.103 721.49 327.726C723.225 323.321 720.931 319.539 723.127 315.432C727.282 307.661 735.156 313.539 742.774 311.737C755.436 308.744 767.987 314.618 774.7 301.563Z" fill="#FCFCFD"/>
|
|
357
349
|
</g>
|
|
358
350
|
<defs>
|
|
359
351
|
<clipPath id="clip0_65_2798">
|
|
360
|
-
<rect width="
|
|
352
|
+
<rect width="1052" height="400" fill="white"/>
|
|
361
353
|
</clipPath>
|
|
362
354
|
</defs>
|
|
363
355
|
</svg>
|
|
364
|
-
`;var
|
|
356
|
+
`;var t1=`<svg viewBox="0 0 1052 400" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
365
357
|
<g clip-path="url(#clip0_65_2754)">
|
|
366
|
-
<rect width="
|
|
367
|
-
<path d="
|
|
368
|
-
<path d="
|
|
369
|
-
<path d="
|
|
370
|
-
<path d="
|
|
371
|
-
<path d="
|
|
372
|
-
<path d="
|
|
373
|
-
<path d="
|
|
374
|
-
<path d="
|
|
375
|
-
<path d="
|
|
376
|
-
<path d="
|
|
377
|
-
<path d="
|
|
378
|
-
<path d="
|
|
379
|
-
<path d="
|
|
380
|
-
<path d="
|
|
381
|
-
<path d="
|
|
382
|
-
<path d="
|
|
383
|
-
<path d="
|
|
384
|
-
<path d="
|
|
385
|
-
<path d="
|
|
386
|
-
<path d="
|
|
387
|
-
<path d="
|
|
388
|
-
<path d="
|
|
389
|
-
<path d="
|
|
390
|
-
<path d="
|
|
391
|
-
<path d="
|
|
392
|
-
<path d="
|
|
393
|
-
<path d="
|
|
394
|
-
<path d="
|
|
395
|
-
<path d="
|
|
396
|
-
<path d="
|
|
397
|
-
<path d="
|
|
398
|
-
<path d="
|
|
399
|
-
<path d="
|
|
400
|
-
<path d="
|
|
401
|
-
<path d="
|
|
402
|
-
<path d="M1226.5 82L1226.93 86.4725L1228.56 85.4411L1227.53 87.0744L1232 87.5L1227.53 87.9256L1228.56 89.5589L1226.93 88.5275L1226.5 93L1226.07 88.5275L1224.44 89.5589L1225.47 87.9256L1221 87.5L1225.47 87.0744L1224.44 85.4411L1226.07 86.4725L1226.5 82Z" fill="#D4D4D4"/>
|
|
403
|
-
<path d="M1233.5 234L1233.93 238.472L1235.56 237.441L1234.53 239.074L1239 239.5L1234.53 239.926L1235.56 241.559L1233.93 240.528L1233.5 245L1233.07 240.528L1231.44 241.559L1232.47 239.926L1228 239.5L1232.47 239.074L1231.44 237.441L1233.07 238.472L1233.5 234Z" fill="#D4D4D4"/>
|
|
404
|
-
<path d="M1131.5 115L1131.93 119.472L1133.56 118.441L1132.53 120.074L1137 120.5L1132.53 120.926L1133.56 122.559L1131.93 121.528L1131.5 126L1131.07 121.528L1129.44 122.559L1130.47 120.926L1126 120.5L1130.47 120.074L1129.44 118.441L1131.07 119.472L1131.5 115Z" fill="#D4D4D4"/>
|
|
405
|
-
<path d="M1056.5 87L1056.93 91.4725L1058.56 90.4411L1057.53 92.0744L1062 92.5L1057.53 92.9256L1058.56 94.5589L1056.93 93.5275L1056.5 98L1056.07 93.5275L1054.44 94.5589L1055.47 92.9256L1051 92.5L1055.47 92.0744L1054.44 90.4411L1056.07 91.4725L1056.5 87Z" fill="#D4D4D4"/>
|
|
406
|
-
<path d="M913 29L913.464 33.8791L915.246 32.7539L914.121 34.5357L919 35L914.121 35.4643L915.246 37.2461L913.464 36.1209L913 41L912.536 36.1209L910.754 37.2461L911.879 35.4643L907 35L911.879 34.5357L910.754 32.7539L912.536 33.8791L913 29Z" fill="#D4D4D4"/>
|
|
407
|
-
<path d="M318 148L318.464 152.472L320.246 151.441L319.121 153.074L324 153.5L319.121 153.926L320.246 155.559L318.464 154.528L318 159L317.536 154.528L315.754 155.559L316.879 153.926L312 153.5L316.879 153.074L315.754 151.441L317.536 152.472L318 148Z" fill="#D4D4D4"/>
|
|
408
|
-
<path d="M289 39L289.464 43.8791L291.246 42.7539L290.121 44.5357L295 45L290.121 45.4643L291.246 47.2461L289.464 46.1209L289 51L288.536 46.1209L286.754 47.2461L287.879 45.4643L283 45L287.879 44.5357L286.754 42.7539L288.536 43.8791L289 39Z" fill="#D4D4D4"/>
|
|
409
|
-
<path d="M458 75L458.464 79.8791L460.246 78.7539L459.121 80.5357L464 81L459.121 81.4643L460.246 83.2461L458.464 82.1209L458 87L457.536 82.1209L455.754 83.2461L456.879 81.4643L452 81L456.879 80.5357L455.754 78.7539L457.536 79.8791L458 75Z" fill="#D4D4D4"/>
|
|
358
|
+
<rect width="1052" height="400" fill="#F5F5F5"/>
|
|
359
|
+
<path d="M0 400L1052 400V353.653C1052 353.653 1022.39 351.823 1004.35 353.653C991.923 354.914 987.185 358.993 974.363 358.992C955.976 358.99 954.547 348.101 936.161 348.001C926.066 347.946 920.797 349.533 911.514 351.118C899.549 353.161 895.714 357.348 882.76 357.843C870.108 358.327 864.611 354.106 851.952 353.653C839.292 353.201 829.573 356.35 821.929 355.269C814.285 354.189 807.353 353.525 799.115 353.653C777.714 353.99 760.99 355.691 740.776 357.113C719.303 358.621 700.501 356.085 678.969 359.649C657.438 363.214 657.496 366.249 641.353 368.342C627.261 370.168 618.332 369.295 603.736 370.31C588.922 371.34 580.919 372.529 566.119 373.591C551.515 374.638 543.333 375.906 528.502 375.723C513.506 375.538 505.457 374.032 490.885 372.606C476.053 371.155 467.916 370.066 453.268 368.342C438.534 366.607 430.118 365.812 415.652 363.749C400.689 361.615 389.192 358.052 378.035 357.559C366.877 357.066 353.334 357.725 341.642 357.327C315.291 356.426 289.866 353.776 262.506 353.634C250.126 353.568 244.823 353.862 230.446 355.71C216.069 357.559 194.4 357.327 179.92 357.327C165.44 357.327 137.105 361.684 114.607 361.78C92.1081 361.876 75.8997 352.826 53.401 352.922C30.9023 353.018 0 356.695 0 356.695V400Z" fill="#FCFCFD"/>
|
|
360
|
+
<path d="M699.598 265.711C701.86 267.323 703.558 268.938 706.23 270.83C745.892 298.91 793.309 270.21 831.109 265.711C868.909 261.211 878.388 290.447 907.335 281.282C920.037 277.261 923.545 265.357 936.841 264.294C949.557 263.277 955.725 270.559 967.578 275.215C978.766 279.61 983.817 287.062 995.855 287.35C1007.42 287.627 1012.16 277.842 1023.72 277.444C1035.18 277.05 1052 285.266 1052 285.266V297H0V271.17C0 271.17 17.7948 278.395 29.5068 277.238C40.5076 276.151 45.1474 269.862 55.7351 266.721C68.9641 262.795 76.7635 261.112 90.5695 260.653C118.503 259.725 131.996 275.933 159.829 278.451C187.146 280.923 216.561 277.574 229.907 273.682C243.253 269.79 257.855 269.135 271.118 265.149C294.34 258.172 295.323 249.791 322.702 257.19C332.519 259.843 339.505 264.752 350.649 264.016C353.503 263.829 357.268 261.666 361.022 261.737C368.945 261.9 381.604 268.153 389.266 268.562C396.927 268.972 405.56 264.226 412.891 264.577C427.184 265.266 447.765 276.966 461.881 279.362C484.938 283.278 554.273 267.417 577.14 258.312C580.562 256.944 589.325 250.808 591.551 250.352C595.128 249.616 601.238 251.088 604.803 250.352C610.238 249.23 624.224 239.003 631.317 237.273C639.843 235.192 653.391 245.607 662.438 248.085C667.956 249.604 675.287 249.242 680.308 250.925C685.684 252.737 694.471 262.029 699.61 265.711H699.598Z" fill="#A3A3A3"/>
|
|
361
|
+
<path d="M1052 297V338C1052 338 1020.02 329.866 999.051 328.177C965.375 325.463 946.605 337.118 912.855 335.568C893.986 334.701 883.693 328.79 864.832 329.814C849.662 330.638 840.358 338.584 826.659 337.295C812.961 336.005 793.784 336.443 780.049 335.568C756.601 334.078 729.547 332.753 707.32 325.787C703.715 324.652 691.451 318.383 688.854 318.3C686.588 318.229 684.121 320.831 682.508 321.174C673.233 323.138 663.686 324.048 654.802 327.502C651.386 328.826 640.071 336.443 638.636 336.715C632.682 337.815 612.199 328.897 605.154 326.934C555.897 313.179 513.247 300.702 460.277 304.486C447.421 305.409 432.453 311.89 418.718 313.12C407.107 314.161 396.361 311.843 385.236 312.541C378.452 312.966 370.304 316.112 363.875 316.574C355.988 317.13 348.184 314.965 340.213 315.426C325.245 316.278 317.216 322.771 300.386 320.607C283.307 318.407 261.886 309.951 243.823 309.099C237.94 308.815 235.355 311.382 230.254 313.7C230.254 313.7 211.543 318.759 200.303 317.944C189.063 317.13 183.931 310.342 172.691 309.528C161.451 308.713 138.653 319.831 116.159 320.81C91.6284 321.877 65.0282 313.535 53.7698 313.033C8.75446 311.024 0 313.033 0 313.033V297.012H821.312L1052 297Z" fill="#E5E5E5"/>
|
|
362
|
+
<path d="M663.032 247.785C668.554 249.311 675.861 248.956 680.874 250.659C685.331 252.17 692.127 258.915 697.25 263.293V261.312C696.375 258.119 696.789 250.623 696.103 246.922C678.84 153.362 599.788 88.6869 503.059 99.9075C423.427 109.142 357.155 181.396 354.318 261.312V263.358C356.684 262.652 359.388 261.536 362.086 261.595C369.996 261.761 382.907 268.098 390.285 268.5C397.663 268.902 406.554 264.114 413.873 264.469C428.156 265.166 448.694 277.002 462.788 279.425C485.796 283.375 555.035 267.33 577.867 258.131C581.296 256.76 590.033 250.552 592.256 250.079C595.815 249.334 601.916 250.824 605.487 250.079C610.914 248.944 624.877 238.599 631.96 236.849C640.473 234.744 653.999 245.279 663.032 247.785Z" fill="white"/>
|
|
363
|
+
<path d="M305.248 71.2402L309.142 112.167L324.088 102.729L314.65 117.675L355.577 121.569L314.65 125.464L324.088 140.41L309.142 130.972L305.248 171.898L301.353 130.972L286.407 140.41L295.845 125.464L254.919 121.569L295.845 117.675L286.407 102.729L301.353 112.167L305.248 71.2402Z" fill="#D4D4D4"/>
|
|
364
|
+
<path d="M768.439 2L771.51 34.2753L783.297 26.8323L775.854 38.6189L808.129 41.6904L775.854 44.7618L783.297 56.5485L771.51 49.1055L768.439 81.3808L765.367 49.1055L753.581 56.5485L761.024 44.7618L728.749 41.6904L761.024 38.6189L753.581 26.8323L765.367 34.2753L768.439 2Z" fill="#D4D4D4"/>
|
|
365
|
+
<path d="M476.694 1.07996L477.644 11.3947L481.289 9.01604L478.987 12.7829L488.969 13.7645L478.987 14.7461L481.289 18.513L477.644 16.1343L476.694 26.4491L475.744 16.1343L472.099 18.513L474.401 14.7461L464.419 13.7645L474.401 12.7829L472.099 9.01604L475.744 11.3947L476.694 1.07996Z" fill="#D4D4D4"/>
|
|
366
|
+
<path d="M163.263 63.2752L164.213 73.59L167.858 71.2113L165.556 74.9782L175.538 75.9598L165.556 76.9414L167.858 80.7082L164.213 78.3296L163.263 88.6443L162.313 78.3296L158.667 80.7082L160.969 76.9414L150.987 75.9598L160.969 74.9782L158.667 71.2113L162.313 73.59L163.263 63.2752Z" fill="#D4D4D4"/>
|
|
367
|
+
<path d="M51.1474 140.201L52.0974 150.516L55.7427 148.137L53.4408 151.904L63.4228 152.885L53.4408 153.867L55.7427 157.634L52.0974 155.255L51.1474 165.57L50.1975 155.255L46.5522 157.634L48.8541 153.867L38.8721 152.885L48.8541 151.904L46.5522 148.137L50.1975 150.516L51.1474 140.201Z" fill="#D4D4D4"/>
|
|
368
|
+
<path d="M726.593 66L727.258 73.3202L729.809 71.6321L728.198 74.3053L735.186 75.002L728.198 75.6986L729.809 78.3718L727.258 76.6837L726.593 84.0039L725.928 76.6837L723.376 78.3718L724.987 75.6986L718 75.002L724.987 74.3053L723.376 71.6321L725.928 73.3202L726.593 66Z" fill="#D4D4D4"/>
|
|
369
|
+
<path d="M923.108 100.101L923.773 107.422L926.325 105.733L924.714 108.407L931.701 109.103L924.714 109.8L926.325 112.473L923.773 110.785L923.108 118.105L922.443 110.785L919.892 112.473L921.503 109.8L914.516 109.103L921.503 108.407L919.892 105.733L922.443 107.422L923.108 100.101Z" fill="#D4D4D4"/>
|
|
370
|
+
<path d="M429.229 76.9687L429.926 84.2889L432.599 82.6008L430.911 85.2741L438.231 85.9707L430.911 86.6673L432.599 89.3406L429.926 87.6525L429.229 94.9726L428.533 87.6525L425.859 89.3406L427.547 86.6673L420.227 85.9707L427.547 85.2741L425.859 82.6008L428.533 84.2889L429.229 76.9687Z" fill="#D4D4D4"/>
|
|
371
|
+
<path d="M876.053 -0.556763L876.749 6.7634L879.423 5.0753L877.735 7.74856L885.055 8.44518L877.735 9.1418L879.423 11.8151L876.749 10.127L876.053 17.4471L875.356 10.127L872.683 11.8151L874.371 9.1418L867.051 8.44518L874.371 7.74856L872.683 5.0753L875.356 6.7634L876.053 -0.556763Z" fill="#D4D4D4"/>
|
|
372
|
+
<path d="M272.104 34.6327L272.801 41.9528L275.474 40.2647L273.786 42.938L281.106 43.6346L273.786 44.3312L275.474 47.0045L272.801 45.3164L272.104 52.6366L271.408 45.3164L268.734 47.0045L270.423 44.3312L263.102 43.6346L270.423 42.938L268.734 40.2647L271.408 41.9528L272.104 34.6327Z" fill="#D4D4D4"/>
|
|
373
|
+
<path d="M401.814 18.2655L402.163 22.2583L403.499 21.3375L402.655 22.7957L406.315 23.1756L402.655 23.5556L403.499 25.0138L402.163 24.093L401.814 28.0858L401.466 24.093L400.129 25.0138L400.973 23.5556L397.313 23.1756L400.973 22.7957L400.129 21.3375L401.466 22.2583L401.814 18.2655Z" fill="#D4D4D4"/>
|
|
374
|
+
<path d="M367.443 71.4588L367.791 75.4516L369.128 74.5308L368.284 75.989L371.944 76.3689L368.284 76.7489L369.128 78.2071L367.791 77.2863L367.443 81.2791L367.095 77.2863L365.758 78.2071L366.602 76.7489L362.942 76.3689L366.602 75.989L365.758 74.5308L367.095 75.4516L367.443 71.4588Z" fill="#D4D4D4"/>
|
|
375
|
+
<path d="M243.053 98.4646L243.401 102.457L244.738 101.537L243.893 102.995L247.554 103.375L243.893 103.755L244.738 105.213L243.401 104.292L243.053 108.285L242.704 104.292L241.368 105.213L242.212 103.755L238.552 103.375L242.212 102.995L241.368 101.537L242.704 102.457L243.053 98.4646Z" fill="#D4D4D4"/>
|
|
376
|
+
<path d="M317.523 148.384L317.871 152.377L319.208 151.457L318.364 152.915L322.024 153.295L318.364 153.675L319.208 155.133L317.871 154.212L317.523 158.205L317.175 154.212L315.838 155.133L316.682 153.675L313.022 153.295L316.682 152.915L315.838 151.457L317.175 152.377L317.523 148.384Z" fill="#D4D4D4"/>
|
|
377
|
+
<path d="M259.42 172.935L259.768 176.928L261.105 176.007L260.261 177.465L263.921 177.845L260.261 178.225L261.105 179.684L259.768 178.763L259.42 182.756L259.071 178.763L257.735 179.684L258.579 178.225L254.919 177.845L258.579 177.465L257.735 176.007L259.071 176.928L259.42 172.935Z" fill="#D4D4D4"/>
|
|
378
|
+
<path d="M146.486 118.105L146.835 122.098L148.171 121.177L147.327 122.635L150.987 123.015L147.327 123.395L148.171 124.854L146.835 123.933L146.486 127.926L146.138 123.933L144.801 124.854L145.645 123.395L141.985 123.015L145.645 122.635L144.801 121.177L146.138 122.098L146.486 118.105Z" fill="#D4D4D4"/>
|
|
379
|
+
<path d="M85.1094 61.6385L85.4577 65.6313L86.7943 64.7105L85.9503 66.1687L89.6103 66.5486L85.9503 66.9286L86.7943 68.3868L85.4577 67.466L85.1094 71.4588L84.7611 67.466L83.4244 68.3868L84.2685 66.9286L80.6084 66.5486L84.2685 66.1687L83.4244 64.7105L84.7611 65.6313L85.1094 61.6385Z" fill="#D4D4D4"/>
|
|
380
|
+
<path d="M146.486 17.4471L146.835 21.4399L148.171 20.5192L147.327 21.9773L150.987 22.3573L147.327 22.7372L148.171 24.1954L146.835 23.2746L146.486 27.2674L146.138 23.2746L144.801 24.1954L145.645 22.7372L141.985 22.3573L145.645 21.9773L144.801 20.5192L146.138 21.4399L146.486 17.4471Z" fill="#D4D4D4"/>
|
|
381
|
+
<path d="M556.484 -0.556763L556.832 3.43605L558.169 2.51527L557.325 3.97342L560.985 4.35339L557.325 4.73336L558.169 6.19151L556.832 5.27073L556.484 9.26354L556.136 5.27073L554.799 6.19151L555.643 4.73336L551.983 4.35339L555.643 3.97342L554.799 2.51527L556.136 3.43605L556.484 -0.556763Z" fill="#D4D4D4"/>
|
|
382
|
+
<path d="M739.796 127.926L740.144 131.918L741.481 130.998L740.637 132.456L744.297 132.836L740.637 133.216L741.481 134.674L740.144 133.753L739.796 137.746L739.448 133.753L738.111 134.674L738.955 133.216L735.295 132.836L738.955 132.456L738.111 130.998L739.448 131.918L739.796 127.926Z" fill="#D4D4D4"/>
|
|
383
|
+
<path d="M488.969 59.3437L489.349 63.3365L490.807 62.4157L489.887 63.8739L493.88 64.2538L489.887 64.6338L490.807 66.092L489.349 65.1712L488.969 69.164L488.589 65.1712L487.131 66.092L488.052 64.6338L484.059 64.2538L488.052 63.8739L487.131 62.4157L488.589 63.3365L488.969 59.3437Z" fill="#D4D4D4"/>
|
|
384
|
+
<path d="M673.509 9.80264L673.858 13.4627L675.194 12.6187L674.35 13.9553L678.01 14.3036L674.35 14.6519L675.194 15.9885L673.858 15.1445L673.509 18.8046L673.161 15.1445L671.824 15.9885L672.668 14.6519L669.008 14.3036L672.668 13.9553L671.824 12.6187L673.161 13.4627L673.509 9.80264Z" fill="#D4D4D4"/>
|
|
385
|
+
<path d="M664.507 67.367L664.856 71.0271L666.192 70.183L665.348 71.5197L669.008 71.868L665.348 72.2163L666.192 73.5529L664.856 72.7089L664.507 76.3689L664.159 72.7089L662.822 73.5529L663.666 72.2163L660.006 71.868L663.666 71.5197L662.822 70.183L664.159 71.0271L664.507 67.367Z" fill="#D4D4D4"/>
|
|
386
|
+
<path d="M937.021 34.6327L937.369 38.2927L938.706 37.4487L937.862 38.7853L941.522 39.1336L937.862 39.4819L938.706 40.8186L937.369 39.9745L937.021 43.6346L936.672 39.9745L935.336 40.8186L936.18 39.4819L932.52 39.1336L936.18 38.7853L935.336 37.4487L936.672 38.2927L937.021 34.6327Z" fill="#D4D4D4"/>
|
|
387
|
+
<path d="M1005.76 45.2519L1006.11 48.912L1007.45 48.0679L1006.6 49.4045L1010.26 49.7529L1006.6 50.1012L1007.45 51.4378L1006.11 50.5937L1005.76 54.2538L1005.41 50.5937L1004.08 51.4378L1004.92 50.1012L1001.26 49.7529L1004.92 49.4045L1004.08 48.0679L1005.41 48.912L1005.76 45.2519Z" fill="#D4D4D4"/>
|
|
388
|
+
<path d="M1011.49 79.6424L1011.84 83.3025L1013.18 82.4584L1012.33 83.795L1015.99 84.1433L1012.33 84.4917L1013.18 85.8283L1011.84 84.9842L1011.49 88.6443L1011.14 84.9842L1009.81 85.8283L1010.65 84.4917L1006.99 84.1433L1010.65 83.795L1009.81 82.4584L1011.14 83.3025L1011.49 79.6424Z" fill="#D4D4D4"/>
|
|
389
|
+
<path d="M866.642 19.3437L866.99 23.0038L868.327 22.1597L867.483 23.4963L871.143 23.8446L867.483 24.193L868.327 25.5296L866.99 24.6855L866.642 28.3456L866.294 24.6855L864.957 25.5296L865.801 24.193L862.141 23.8446L865.801 23.4963L864.957 22.1597L866.294 23.0038L866.642 19.3437Z" fill="#D4D4D4"/>
|
|
390
|
+
<path d="M829.207 91.8789L829.587 95.8717L831.045 94.9509L830.125 96.4091L834.117 96.789L830.125 97.169L831.045 98.6272L829.587 97.7064L829.207 101.699L828.827 97.7064L827.369 98.6272L828.29 97.169L824.297 96.789L828.29 96.4091L827.369 94.9509L828.827 95.8717L829.207 91.8789Z" fill="#D4D4D4"/>
|
|
391
|
+
<path d="M262.284 9.26354L262.664 12.9236L264.122 12.0796L263.201 13.4162L267.194 13.7645L263.201 14.1128L264.122 15.4495L262.664 14.6054L262.284 18.2655L261.904 14.6054L260.446 15.4495L261.367 14.1128L257.374 13.7645L261.367 13.4162L260.446 12.0796L261.904 12.9236L262.284 9.26354Z" fill="#D4D4D4"/>
|
|
392
|
+
<path d="M208.552 140.062L208.931 144.055L210.39 143.135L209.469 144.593L213.462 144.973L209.469 145.353L210.39 146.811L208.931 145.89L208.552 149.883L208.172 145.89L206.713 146.811L207.634 145.353L203.641 144.973L207.634 144.593L206.713 143.135L208.172 144.055L208.552 140.062Z" fill="#D4D4D4"/>
|
|
393
|
+
<path d="M376.854 119.523L377.234 123.516L378.692 122.595L377.772 124.054L381.764 124.434L377.772 124.813L378.692 126.272L377.234 125.351L376.854 129.344L376.474 125.351L375.016 126.272L375.937 124.813L371.944 124.434L375.937 124.054L375.016 122.595L376.474 123.516L376.854 119.523Z" fill="#D4D4D4"/>
|
|
410
394
|
</g>
|
|
411
395
|
<defs>
|
|
412
396
|
<clipPath id="clip0_65_2754">
|
|
413
|
-
<rect width="
|
|
397
|
+
<rect width="1052" height="400" fill="white"/>
|
|
414
398
|
</clipPath>
|
|
415
399
|
</defs>
|
|
416
400
|
</svg>
|
|
417
|
-
`;var
|
|
418
|
-
<rect width="
|
|
419
|
-
<path d="
|
|
420
|
-
<path d="
|
|
421
|
-
<path d="
|
|
422
|
-
<path d="
|
|
423
|
-
<path d="
|
|
424
|
-
<path d="
|
|
425
|
-
<path d="
|
|
426
|
-
<path d="
|
|
427
|
-
<path d="
|
|
428
|
-
<path d="
|
|
429
|
-
<circle cx="
|
|
430
|
-
<circle cx="
|
|
431
|
-
<rect x="
|
|
401
|
+
`;var i1=`<svg viewBox="0 0 525 525" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
402
|
+
<rect width="525" height="525" fill="white"/>
|
|
403
|
+
<path d="M239.872 275.199L237.36 276.741C236.665 277.168 236.084 277.758 235.67 278.46L224.453 297.458C222.485 300.791 224.888 305 228.759 305H272.221C276.096 305 278.499 300.782 276.522 297.449L265.256 278.455C264.842 277.756 264.263 277.169 263.571 276.744L261.13 275.246C259.025 273.954 256.292 274.393 254.697 276.279L254.349 276.691C252.379 279.021 248.799 279.058 246.781 276.77L246.237 276.153C244.629 274.331 241.944 273.928 239.872 275.199Z" fill="#E5E5E5"/>
|
|
404
|
+
<path d="M273.155 305H225.845C221.955 305 219.555 300.754 221.561 297.422L245.216 258.118C247.159 254.889 251.841 254.889 253.784 258.118L277.439 297.422C279.445 300.754 277.045 305 273.155 305Z" stroke="#A3A3A3" stroke-width="2" stroke-linejoin="round"/>
|
|
405
|
+
<path d="M315.18 305H247.82C243.936 305 241.535 300.765 243.53 297.432L277.21 241.167C279.151 237.924 283.849 237.924 285.79 241.167L319.47 297.432C321.465 300.765 319.064 305 315.18 305Z" fill="white" stroke="#A3A3A3" stroke-width="2" stroke-linejoin="round"/>
|
|
406
|
+
<path d="M269.591 265.156L264.708 268.118C264.01 268.542 263.427 269.129 263.009 269.829L246.518 297.436C244.527 300.769 246.929 305 250.811 305H314.169C318.055 305 320.456 300.76 318.456 297.427L301.893 269.824C301.475 269.127 300.893 268.543 300.199 268.121L295.387 265.203C293.293 263.932 290.587 264.366 288.995 266.227L286.367 269.299C284.398 271.599 280.853 271.636 278.837 269.377L275.915 266.102C274.31 264.304 271.652 263.907 269.591 265.156Z" fill="#E5E5E5"/>
|
|
407
|
+
<path d="M262.484 301.992C210.083 306.393 183.401 307.843 176.61 308.018H173V324H353V299.895C349.648 298.935 340.725 297.013 331.854 297.013C320.765 297.013 327.986 296.489 262.484 301.992Z" fill="#D4D4D4"/>
|
|
408
|
+
<path d="M263.516 306.992C315.917 311.393 342.599 312.843 349.39 313.018H353V324H173L173 304.895C176.352 303.935 185.275 302.013 194.146 302.013C205.235 302.013 198.014 301.489 263.516 306.992Z" fill="#E5E5E5"/>
|
|
409
|
+
<path d="M262.484 310.992C210.083 315.393 183.401 316.843 176.61 317.018H173V323C173 328.523 177.477 333 183 333H343C348.523 333 353 328.523 353 323V308.895C349.648 307.935 340.725 306.013 331.854 306.013C320.765 306.013 327.986 305.489 262.484 310.992Z" fill="#F5F5F5"/>
|
|
410
|
+
<path d="M352 306.891C348.685 305.932 339.861 304.013 331.089 304.013C320.123 304.013 327.264 303.49 262.49 308.984C210.671 313.378 184.286 314.826 177.57 315H174" stroke="#A3A3A3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
411
|
+
<path d="M352 300.238C348.795 299.164 340.264 297.015 331.782 297.015C321.18 297.015 328.084 296.429 265.457 302.582C256.132 303.498 247.658 304.3 240 305" stroke="#A3A3A3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
412
|
+
<path d="M174 304.798C177.216 303.869 185.776 302.013 194.287 302.013C204.925 302.013 197.998 301.507 260.836 306.823C265.796 307.243 270.515 307.634 275 308" stroke="#A3A3A3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
413
|
+
<circle cx="204.5" cy="213.5" r="4.5" fill="#E5E5E5"/>
|
|
414
|
+
<circle cx="203.5" cy="212.5" r="5.5" stroke="#A3A3A3" stroke-width="2"/>
|
|
415
|
+
<rect x="174" y="194" width="178" height="138" rx="7" stroke="#A3A3A3" stroke-width="2"/>
|
|
432
416
|
</svg>
|
|
433
|
-
`;var
|
|
417
|
+
`;var n1=`<svg preserveAspectRatio="xMidYMid slice" viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
434
418
|
<rect width="760" height="760" fill="white"/>
|
|
435
419
|
<path d="M275.341 319.699C274.471 329.199 274.731 338.699 274.731 348.219C274.731 366.479 275.101 384.729 275.141 402.989C275.161 412.229 275.051 421.479 275.141 430.709C275.241 440.559 274.971 450.429 275.141 460.269C275.291 469.109 274.201 479.609 274.801 488.029C276.011 505.149 279.851 517.749 299.161 521.409C349.341 516.389 409.031 526.799 458.041 521.779C478.641 519.669 484.601 506.499 485.871 487.969C486.441 479.589 484.901 469.059 485.041 460.209C485.191 450.349 485.211 440.439 485.281 430.569C485.341 421.339 484.971 412.149 484.981 402.939C485.021 383.529 485.181 364.129 485.431 344.719C485.541 336.379 485.661 328.009 485.811 319.669" fill="white"/>
|
|
436
420
|
<path d="M270.36 347.559C264.37 351.079 247.45 374.409 241.88 373.079C238.42 372.259 192.33 325.999 192 322.459C192.12 320.589 192.93 319.299 194.03 317.839C201.1 308.499 267.46 243.119 275.14 239.139C277.74 237.789 280.64 237.489 283.45 236.919C287.28 236.139 325.34 235.709 327.25 236.779C331.26 239.039 333.38 249.579 336.84 254.099C356.12 279.299 405.07 279.539 423.48 253.179C426.07 249.469 429.02 237.809 430.73 236.779C433.26 235.259 480.13 235.859 485.74 239.499C495.76 250.719 566.61 313.889 567.95 321.519C568.95 327.249 525.55 366.359 518.99 372.879C513.75 374.429 494.53 352.279 489.59 347.539" fill="white"/>
|
|
@@ -439,7 +423,7 @@
|
|
|
439
423
|
<path d="M380.439 276.279V347.399" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
440
424
|
<path d="M270.36 347.559C264.37 351.079 247.45 374.409 241.88 373.079C238.42 372.259 192.33 325.999 192 322.459C192.12 320.589 192.93 319.299 194.03 317.839C201.1 308.499 267.46 243.119 275.14 239.139C277.74 237.789 280.64 237.489 283.45 236.919C287.28 236.139 325.34 235.709 327.25 236.779C331.26 239.039 333.38 249.579 336.84 254.099C356.12 279.299 405.07 279.539 423.48 253.179C426.07 249.469 429.02 237.809 430.73 236.779C433.26 235.259 480.13 235.859 485.74 239.499C495.76 250.719 566.61 313.889 567.95 321.519C568.95 327.249 525.55 366.359 518.99 372.879C513.75 374.429 494.53 352.279 489.59 347.539" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
441
425
|
</svg>
|
|
442
|
-
`;var
|
|
426
|
+
`;var r1=`<svg preserveAspectRatio="xMidYMid slice" viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
443
427
|
<rect width="760" height="760" fill="white"/>
|
|
444
428
|
<path d="M275.339 319.699C274.469 329.199 274.729 338.699 274.729 348.219C274.729 366.479 275.099 384.729 275.139 402.989C275.159 412.229 275.049 421.479 275.139 430.709C275.239 440.559 274.969 450.429 275.139 460.269C275.289 469.109 274.199 479.609 274.799 488.029C276.009 505.149 279.849 517.749 299.159 521.409C349.339 516.389 409.029 526.799 458.039 521.779C478.639 519.669 484.599 506.499 485.869 487.969C486.439 479.589 484.899 469.059 485.039 460.209C485.189 450.349 485.209 440.439 485.279 430.569C485.339 421.339 484.969 412.149 484.979 402.939C485.019 383.529 485.179 364.129 485.429 344.719C485.539 336.379 485.659 328.009 485.809 319.669" fill="white"/>
|
|
445
429
|
<path d="M270.36 347.559C264.37 351.079 247.45 374.409 241.88 373.079C238.42 372.259 192.33 325.999 192 322.459C192.12 320.589 192.93 319.299 194.03 317.839C201.1 308.499 267.46 243.119 275.14 239.139C277.74 237.789 280.64 237.489 283.45 236.919C287.28 236.139 325.34 235.709 327.25 236.779C331.26 239.039 333.38 249.579 336.84 254.099C356.12 279.299 405.07 279.539 423.48 253.179C426.07 249.469 429.02 237.809 430.73 236.779C433.26 235.259 480.13 235.859 485.74 239.499C495.76 250.719 566.61 313.889 567.95 321.519C568.95 327.249 525.55 366.359 518.99 372.879C513.75 374.429 494.53 352.279 489.59 347.539" fill="white"/>
|
|
@@ -454,7 +438,7 @@
|
|
|
454
438
|
<path d="M278.84 402.819H481.13" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
455
439
|
<path d="M380.439 276.279V347.399" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
456
440
|
</svg>
|
|
457
|
-
`;var
|
|
441
|
+
`;var a1=`<svg preserveAspectRatio="xMidYMid slice" viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
458
442
|
<rect width="760" height="760" fill="white"/>
|
|
459
443
|
<path d="M275.339 319.699C274.469 329.199 274.729 338.699 274.729 348.219C274.729 366.479 275.099 384.729 275.139 402.989C275.159 412.229 275.049 421.479 275.139 430.709C275.239 440.559 274.969 450.429 275.139 460.269C275.289 469.109 274.199 479.609 274.799 488.029C276.009 505.149 279.849 517.749 299.159 521.409C349.339 516.389 409.029 526.799 458.039 521.779C478.639 519.669 484.599 506.499 485.869 487.969C486.439 479.589 484.899 469.059 485.039 460.209C485.189 450.349 485.209 440.439 485.279 430.569C485.339 421.339 484.969 412.149 484.979 402.939C485.019 383.529 485.179 364.129 485.429 344.719C485.539 336.379 485.659 328.009 485.809 319.669" fill="white"/>
|
|
460
444
|
<path d="M270.36 347.559C264.37 351.079 247.45 374.409 241.88 373.079C238.42 372.259 192.33 325.999 192 322.459C192.12 320.589 192.93 319.299 194.03 317.839C201.1 308.499 267.46 243.119 275.14 239.139C277.74 237.789 280.64 237.489 283.45 236.919C287.28 236.139 325.34 235.709 327.25 236.779C331.26 239.039 333.38 249.579 336.84 254.099C356.12 279.299 405.07 279.539 423.48 253.179C426.07 249.469 429.02 237.809 430.73 236.779C433.26 235.259 480.13 235.859 485.74 239.499C495.76 250.719 566.61 313.889 567.95 321.519C568.95 327.249 525.55 366.359 518.99 372.879C513.75 374.429 494.53 352.279 489.59 347.539" fill="white"/>
|
|
@@ -466,7 +450,7 @@
|
|
|
466
450
|
<circle cx="378" cy="408" r="7" fill="#A3A3A3"/>
|
|
467
451
|
<circle cx="378" cy="454" r="7" fill="#A3A3A3"/>
|
|
468
452
|
</svg>
|
|
469
|
-
`;var
|
|
453
|
+
`;var o1=`<svg preserveAspectRatio="xMidYMid slice" viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
470
454
|
<rect width="760" height="760" fill="white"/>
|
|
471
455
|
<path d="M275.339 319.699C274.469 329.199 274.729 338.699 274.729 348.219C274.729 366.479 275.099 384.729 275.139 402.989C275.159 412.229 275.049 421.479 275.139 430.709C275.239 440.559 274.969 450.429 275.139 460.269C275.289 469.109 274.199 479.609 274.799 488.029C276.009 505.149 279.849 517.749 299.159 521.409C349.339 516.389 409.029 526.799 458.039 521.779C478.639 519.669 484.599 506.499 485.869 487.969C486.439 479.589 484.899 469.059 485.039 460.209C485.189 450.349 485.209 440.439 485.279 430.569C485.339 421.339 484.969 412.149 484.979 402.939C485.019 383.529 485.179 364.129 485.429 344.719C485.539 336.379 485.659 328.009 485.809 319.669" fill="white"/>
|
|
472
456
|
<path d="M270.36 347.559C264.37 351.079 247.45 374.409 241.88 373.079C238.42 372.259 192.33 325.999 192 322.459C192.12 320.589 192.93 319.299 194.03 317.839C201.1 308.499 267.46 243.119 275.14 239.139C277.74 237.789 280.64 237.489 283.45 236.919C287.28 236.139 325.34 235.709 327.25 236.779C331.26 239.039 333.38 249.579 336.84 254.099C356.12 279.299 405.07 279.539 423.48 253.179C426.07 249.469 429.02 237.809 430.73 236.779C433.26 235.259 480.13 235.859 485.74 239.499C495.76 250.719 566.61 313.889 567.95 321.519C568.95 327.249 525.55 366.359 518.99 372.879C513.75 374.429 494.53 352.279 489.59 347.539" fill="white"/>
|
|
@@ -483,7 +467,7 @@
|
|
|
483
467
|
<path d="M277 372H484" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
484
468
|
<path d="M277 343H484" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
485
469
|
</svg>
|
|
486
|
-
`;var
|
|
470
|
+
`;var s1=`<svg preserveAspectRatio="xMidYMid slice" viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
487
471
|
<rect width="760" height="760" fill="white"/>
|
|
488
472
|
<path d="M108.164 379.584C109.782 388.986 112.492 398.095 114.956 407.29C119.682 424.928 124.763 442.461 129.528 460.088C131.939 469.008 134.226 477.971 136.702 486.864C139.348 496.352 141.642 505.956 144.353 515.416C146.786 523.916 148.451 534.341 151.209 542.318C156.809 558.542 163.779 569.719 183.379 568.256C230.55 550.42 290.9 545.026 336.941 527.492C356.293 520.123 358.641 505.859 355.072 487.631C353.453 479.39 349.241 469.617 347.085 461.032C344.678 451.469 342.133 441.892 339.646 432.34C337.315 423.409 334.579 414.628 332.205 405.729C327.22 386.97 322.353 368.19 317.571 349.377C315.519 341.292 313.468 333.176 311.455 325.082" fill="white"/>
|
|
489
473
|
<path d="M110.564 407.784C105.689 412.735 95.3835 439.649 89.6591 439.806C86.1048 439.909 29.6123 407.155 28.3773 403.821C28.0092 401.983 28.4577 400.528 29.1424 398.833C33.5541 387.981 80.7314 307.654 87.1196 301.821C89.2816 299.845 92.0051 298.804 94.5718 297.526C98.0695 295.782 134.721 285.516 136.843 286.055C141.301 287.2 146.077 296.832 150.589 300.303C175.734 319.654 223.079 307.217 234.039 276.99C235.58 272.736 235.412 260.71 236.797 259.272C238.848 257.149 284.276 245.598 290.637 247.662C303.219 255.906 388.005 298.586 391.274 305.61C393.723 310.886 361.924 359.896 357.275 367.891C352.615 370.745 328.317 354.324 322.318 351.024" fill="white"/>
|
|
@@ -513,7 +497,7 @@
|
|
|
513
497
|
<path d="M279.6 329.819H481.89" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
514
498
|
<path d="M381.199 203.279V274.399" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
515
499
|
</svg>
|
|
516
|
-
`;var
|
|
500
|
+
`;var l1=`<svg preserveAspectRatio="xMidYMid slice" viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
517
501
|
<rect width="760" height="760" fill="white"/>
|
|
518
502
|
<path d="M618.798 398.382C618.637 398.179 618.41 398.03 618.248 397.834L608.309 398.662C613.228 414.915 613.587 433.341 613.276 450.38C613.132 458.129 612.756 477.782 611.065 484.494C608.226 495.786 586.088 497.668 576.556 498.526C544.324 501.426 501.622 497.216 471.099 502.379C464.86 503.433 468.38 506.322 467.442 511.682C456.732 511.664 446.028 511.64 435.318 511.622C437.404 472.291 426.114 430.798 461.16 402.795C485.969 382.969 551.693 386.971 583.734 388.49C586.011 388.597 598.239 391.301 598.92 389.865V382.325C606.528 386.453 612.696 391.152 618.242 397.84C618.41 398.042 618.631 398.191 618.792 398.388L618.798 398.382Z" fill="#E5E5E5"/>
|
|
519
503
|
<path d="M598.92 382.32V389.859C598.239 391.295 586.017 388.591 583.734 388.484C551.693 386.965 485.969 382.963 461.161 402.789C426.12 430.792 437.404 472.285 435.318 511.616L416.486 511.581H415.93L415.948 511.003C417.185 456.866 404.712 380.86 481.313 374.178C505.542 372.064 579.437 371.754 598.92 382.32Z" fill="white"/>
|
|
@@ -544,7 +528,7 @@
|
|
|
544
528
|
<path d="M253.05 281.143C256.184 260.944 216.01 260.961 219.178 281.143" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
545
529
|
<path d="M124.244 413.479H348.965" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round"/>
|
|
546
530
|
</svg>
|
|
547
|
-
`;var
|
|
531
|
+
`;var h1=`<svg preserveAspectRatio="xMidYMid slice" viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
548
532
|
<rect width="760" height="760" fill="white"/>
|
|
549
533
|
<path d="M220.595 428.523C220.592 428.528 220.589 428.532 220.586 428.537L220.573 428.523C220.58 428.523 220.587 428.523 220.595 428.523C221.192 427.579 220.689 426.702 220.586 425.785C220.586 425.785 218.582 403.839 215.557 391.306C212.532 378.773 203.889 377.477 203.889 367.105C203.889 356.733 260.501 367.97 276.486 325.609C282.378 331.513 286.982 336.977 293.563 342.247L294.084 342.619C300.132 347.408 305.516 350.188 312.045 353.877L312.631 354.166C318.171 357.276 324.115 359.973 329.812 362.767L330.93 363.331C363.42 379.117 392.41 383.273 424.249 395.631C437.88 400.93 449.026 408.293 444.994 426.115C443.33 426.294 441.769 426.803 440.156 427.147C371.093 442.134 333.844 428.909 268.175 426.707C253.368 426.211 236.157 428.645 220.595 428.523Z" fill="#E5E5E5"/>
|
|
550
534
|
<path d="M190.463 426.76C168.459 426.6 145.413 423.233 123.894 423.603C122.814 423.627 121.722 423.812 120.642 423.788C120.58 422.455 120.928 421 120.928 419.656C120.928 419.458 120.952 419.261 120.952 419.064C120.952 404.312 121.685 382.899 123.559 368.431C123.608 368.036 123.559 367.642 123.621 367.259C123.571 367.642 123.621 368.049 123.559 368.431L126.239 368.37C161.05 371.379 185.908 388.154 190.463 424.281C190.562 425.12 191.046 425.897 190.463 426.748V426.76Z" fill="#E5E5E5"/>
|
|
@@ -578,7 +562,7 @@
|
|
|
578
562
|
<path d="M424.788 550.674C427.597 553.312 430.405 555.906 433.214 558.543L440.516 565.331" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
579
563
|
<path d="M336.47 623.617L620.724 620.66C636.714 620.494 594.795 638.379 572.755 638.379C550.715 638.379 539.911 628.871 510.956 628.871C482.002 628.871 469.037 638.379 410.696 638.379C372.348 638.379 347.517 631.766 335.725 626.69C333.908 625.909 334.493 623.637 336.47 623.617Z" fill="#E5E5E5"/>
|
|
580
564
|
</svg>
|
|
581
|
-
`;var
|
|
565
|
+
`;var d1=`<svg preserveAspectRatio="xMidYMid slice" viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
582
566
|
<rect width="760" height="760" fill="white"/>
|
|
583
567
|
<path d="M479.595 564.449C479.592 564.454 479.589 564.459 479.586 564.463L479.573 564.449C479.58 564.449 479.587 564.449 479.595 564.449C480.192 563.505 479.689 562.628 479.586 561.711C479.586 561.711 477.582 539.765 474.557 527.232C471.532 514.699 462.889 513.403 462.889 503.031C462.889 492.659 519.501 503.896 535.486 461.535C541.378 467.439 545.982 472.903 552.563 478.173L553.084 478.545C559.132 483.334 564.516 486.114 571.045 489.803L571.631 490.092C577.171 493.202 583.115 495.899 588.812 498.693L589.93 499.257C622.42 515.043 651.41 519.199 683.249 531.557C696.88 536.856 708.026 544.219 703.994 562.041C702.33 562.22 700.769 562.729 699.156 563.073C630.093 578.06 592.844 564.835 527.175 562.633C512.368 562.137 495.157 564.571 479.595 564.449Z" fill="#E5E5E5"/>
|
|
584
568
|
<path d="M449.463 562.686C427.459 562.526 404.413 559.159 382.894 559.529C381.814 559.553 380.722 559.738 379.642 559.714C379.58 558.382 379.928 556.926 379.928 555.582C379.928 555.384 379.952 555.187 379.952 554.99C379.952 540.238 380.685 518.825 382.559 504.357C382.608 503.963 382.559 503.568 382.621 503.185C382.571 503.568 382.621 503.975 382.559 504.357L385.239 504.296C420.05 507.305 444.908 524.08 449.463 560.207C449.562 561.046 450.046 561.823 449.463 562.674V562.686Z" fill="#E5E5E5"/>
|
|
@@ -612,52 +596,52 @@
|
|
|
612
596
|
<path d="M300.395 564.875C314.202 573.266 339.47 580.978 353.422 570.021L353.994 569.65" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
613
597
|
<path d="M160.434 422.714C153.408 416.7 145.362 415.637 139.676 424.286" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
614
598
|
</svg>
|
|
615
|
-
`;var
|
|
599
|
+
`;var c1=`<svg preserveAspectRatio="xMaxYMid slice" viewBox="0 0 1300 730" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
616
600
|
<g clip-path="url(#clip0_65_2835)">
|
|
617
|
-
<rect width="
|
|
618
|
-
<path d="
|
|
619
|
-
<path d="
|
|
620
|
-
<path d="
|
|
621
|
-
<path d="
|
|
622
|
-
<path d="M1150
|
|
601
|
+
<rect width="1300" height="730" fill="#F5F5F5"/>
|
|
602
|
+
<path d="M1251.51 356.435L1300 341.166V730H4V341.166C5.68355 348.97 11.677 368.242 22.1824 382.9C35.3141 401.222 129.256 425.651 164.611 427.687C199.966 429.723 213.097 392.061 235.32 401.222C253.099 408.551 273.705 415.133 281.786 417.508L295.928 407.329H306.03C320.845 395.115 359.567 364.781 395.931 341.166C441.387 311.648 528.259 236.324 554.522 238.36C580.786 240.395 637.353 310.63 669.677 309.612C702.002 308.594 763.62 260.753 825.238 228.181C870.367 204.325 909.908 177.511 927.894 164.298C930.28 162.546 933.64 163.19 935.462 165.523C960.474 197.571 1035.18 219.508 1096.96 273.986C1148.68 319.587 1221.55 347.952 1251.51 356.435Z" fill="#A3A3A3"/>
|
|
603
|
+
<path d="M1291.36 360.979L1297.76 367.628C1299.2 369.118 1300 371.108 1300 373.178V722C1300 726.418 1296.42 730 1292 730H8.17717C3.77058 730 0.193903 726.521 0.178752 722.115C-0.292071 585.18 -0.111572 332.037 4.24368 355.812C9.79403 386.111 45.1144 395.2 54.1968 401.26C63.2792 407.32 145.587 425.816 170.754 423.984C198.506 421.964 209.102 397.22 227.772 398.735C243.395 400.003 271.67 412.874 280.752 412.874C289.835 412.874 288.321 407.69 295.385 405.805C302.954 403.785 306.991 404.795 317.587 400.25C328.183 395.705 341.302 395.2 357.953 391.665C374.604 388.13 439.19 359.347 449.786 355.812C460.382 352.277 460.887 321.473 475.015 321.473C489.143 321.473 503.271 339.148 502.766 334.603C502.262 330.058 507.307 319.958 513.867 312.384C520.426 304.809 532.032 305.314 547.169 299.254C562.306 293.195 580.976 256.331 596.113 271.986C611.25 287.64 654.14 323.493 668.772 325.513C683.405 327.533 698.542 307.839 709.139 312.384C719.735 316.929 750.009 318.444 766.156 312.384C782.302 306.324 805.513 262.391 810.054 267.441C814.595 272.491 826.201 276.53 830.742 276.53C835.283 276.53 855.971 239.667 860.512 242.697C865.053 245.727 877.163 267.441 888.768 262.391C900.374 257.341 925.098 236.132 928.63 230.073C932.162 224.013 908.447 206.844 922.575 209.873C929.079 211.268 936.118 212.061 941.883 212.483C946.987 212.856 950.775 208.163 950.025 203.101C948.815 194.936 948.459 186.749 951.841 188.159C957.896 190.684 973.538 200.279 982.62 209.873C991.702 219.468 1038.63 297.739 1037.62 289.155C1036.61 280.57 1047.21 249.767 1051.24 247.242C1055.28 244.717 1055.78 256.331 1058.31 262.391C1060.83 268.451 1067.39 264.916 1074.45 267.441C1077.93 268.683 1081.71 280.05 1084.69 291.908C1085.59 295.457 1091.26 295.236 1091.72 291.605C1092.13 288.422 1097.61 287.07 1099.88 289.334C1130.8 320.139 1244.95 375.867 1254.08 374.496C1260.46 373.54 1272.27 366.02 1280.61 360.079C1283.94 357.709 1288.52 358.039 1291.36 360.979Z" fill="#D4D4D4"/>
|
|
604
|
+
<path d="M799.923 503.811C931.935 465.844 1188.31 432.117 1300 420V730H0V449.283C46.2848 439.186 42.2601 451.303 345.124 464.43C647.988 477.557 634.907 551.27 799.923 503.811Z" fill="#E5E5E5"/>
|
|
605
|
+
<path d="M916.532 552.436C1001.33 519.909 986.034 481.926 967.534 467L932.533 473.176C911.532 525.159 682.524 590.523 440.515 616.771C246.908 637.77 75.5022 701.007 14 730H477.016C527.518 682.65 810.528 593.096 916.532 552.436Z" fill="#F5F5F5"/>
|
|
606
|
+
<path d="M1150 321.5C1150.4 317.5 1140.83 292.833 1136 281C1129 292.5 1122.5 319 1122.5 324C1122.5 329 1115 354 1114.5 357.5C1114 361 1118.5 359 1120.5 360.5C1122.5 362 1114.5 363.5 1112 365C1109.5 366.5 1105.5 383 1107 385C1113.5 386.5 1121.5 393 1122.5 395.5C1123.5 398 1110 401.5 1102.5 405C1095 408.5 1095 426 1095 430C1095 434 1131 428.5 1133.5 428.5C1136 428.5 1133.5 437.5 1133.5 442.5C1133.5 447.5 1133 449 1137.5 448.5C1142 448 1139.5 431.5 1141.5 428.5C1143.5 425.5 1172.5 428 1175.5 428.5C1178.5 429 1170 404.5 1168.5 399C1167 393.5 1169 396 1170 393C1171 390 1154 336.5 1152.5 331C1151 325.5 1146 328 1145 325.5C1144 323 1149.5 326.5 1150 321.5Z" fill="#E5E5E5"/>
|
|
623
607
|
<path d="M1250.24 263.582C1250.79 258.092 1237.7 224.24 1231.09 208C1221.52 223.782 1212.62 260.151 1212.62 267.013C1212.62 273.875 1202.36 308.184 1201.68 312.988C1200.99 317.791 1207.15 315.046 1209.89 317.105C1212.62 319.163 1201.68 321.222 1198.26 323.281C1194.84 325.339 1189.36 347.984 1191.42 350.728C1200.31 352.787 1211.25 361.708 1212.62 365.139C1213.99 368.569 1195.52 373.373 1185.26 378.176C1175 382.98 1175 406.996 1175 412.486C1175 417.975 1224.25 410.427 1227.67 410.427C1231.09 410.427 1227.67 422.779 1227.67 429.641C1227.67 436.503 1226.99 438.561 1233.14 437.875C1239.3 437.189 1235.88 414.545 1238.62 410.427C1241.35 406.31 1281.03 409.741 1285.13 410.427C1289.23 411.114 1277.61 377.49 1275.55 369.942C1273.5 362.394 1276.24 365.825 1277.61 361.708C1278.97 357.59 1255.72 284.168 1253.66 276.619C1251.61 269.071 1244.77 272.502 1243.4 269.071C1242.04 265.64 1249.56 270.444 1250.24 263.582Z" fill="#E5E5E5"/>
|
|
624
608
|
<path d="M325.841 354.457C326.21 350.758 317.367 327.944 312.9 317C306.43 327.636 300.42 352.145 300.42 356.769C300.42 361.394 293.487 384.516 293.025 387.753C292.563 390.99 296.722 389.14 298.571 390.527C300.42 391.915 293.025 393.302 290.714 394.689C288.403 396.076 284.706 411.337 286.092 413.187C292.101 414.574 299.496 420.586 300.42 422.898C301.344 425.21 288.865 428.447 281.933 431.684C275 434.921 275 451.106 275 454.806C275 458.505 308.277 453.418 310.589 453.418C312.9 453.418 310.589 461.742 310.589 466.367C310.589 470.991 310.127 472.378 314.286 471.916C318.446 471.453 316.135 456.193 317.984 453.418C319.832 450.644 346.639 452.956 349.412 453.418C352.185 453.881 344.328 431.222 342.941 426.135C341.555 421.048 343.403 423.36 344.328 420.586C345.252 417.811 329.538 368.33 328.152 363.244C326.765 358.157 322.143 360.469 321.219 358.157C320.294 355.845 325.378 359.082 325.841 354.457Z" fill="#E5E5E5"/>
|
|
625
|
-
<path d="M245.975
|
|
609
|
+
<path d="M245.975 327.015C246.404 322.767 236.146 296.568 230.964 284C223.459 296.214 216.487 324.36 216.487 329.671C216.487 334.981 208.445 361.534 207.909 365.251C207.373 368.969 212.198 366.845 214.343 368.438C216.487 370.031 207.909 371.624 205.228 373.217C202.548 374.81 198.259 392.335 199.867 394.459C206.837 396.053 215.415 402.956 216.487 405.612C217.559 408.267 203.084 411.984 195.042 415.702C187 419.419 187 438.006 187 442.254C187 446.503 225.601 440.661 228.283 440.661C230.965 440.661 228.283 450.22 228.283 455.531C228.283 460.841 227.747 462.434 232.572 461.903C237.397 461.372 234.716 443.847 236.861 440.661C239.005 437.475 270.101 440.13 273.318 440.661C276.535 441.192 267.42 415.171 265.812 409.329C264.204 403.487 266.348 406.143 267.42 402.956C268.493 399.77 250.264 342.947 248.656 337.105C247.047 331.264 241.686 333.919 240.614 331.264C239.542 328.609 245.439 332.326 245.975 327.015Z" fill="#E5E5E5"/>
|
|
626
610
|
<path d="M153.936 232.806C154.641 225.813 137.78 182.688 129.262 162C116.926 182.105 105.467 228.436 105.467 237.177C105.467 245.919 92.2489 289.626 91.3677 295.745C90.4865 301.864 98.4175 298.368 101.942 300.99C105.467 303.613 91.3677 306.235 86.9616 308.858C82.5555 311.48 75.5057 340.327 78.1494 343.824C89.6053 346.446 103.705 357.81 105.467 362.181C107.23 366.552 83.4367 372.671 70.2184 378.79C57 384.909 57 415.504 57 422.497C57 429.491 120.448 419.875 124.856 419.875C129.264 419.875 124.856 435.61 124.856 444.351C124.856 453.093 123.975 455.715 131.906 454.841C139.837 453.967 135.43 425.12 138.955 419.875C142.48 414.63 193.591 419.001 198.879 419.875C204.166 420.749 189.185 377.916 186.541 368.3C183.898 358.684 187.423 363.055 189.185 357.81C190.948 352.565 160.986 259.031 158.342 249.415C155.699 239.8 146.886 244.17 145.124 239.8C143.361 235.429 153.055 241.548 153.936 232.806Z" fill="#E5E5E5"/>
|
|
627
611
|
<path d="M52.6672 273.723C53.2538 267.923 39.2229 232.158 32.134 215C21.8688 231.675 12.3329 270.098 12.3329 277.348C12.3329 284.598 1.33303 320.847 0.599709 325.922C-0.133617 330.997 6.46632 328.097 9.39962 330.272C12.3329 332.447 0.599709 334.622 -3.06692 336.797C-6.73355 338.971 -12.6002 362.896 -10.4002 365.796C-0.866943 367.971 10.8663 377.395 12.3329 381.02C13.7996 384.645 -6.00023 389.72 -17.0001 394.795C-28 399.87 -28 425.244 -28 431.044C-28 436.844 24.7995 428.869 28.4674 428.869C32.1354 428.869 28.4674 441.919 28.4674 449.168C28.4674 456.418 27.7341 458.593 34.334 457.868C40.934 457.143 37.2673 433.219 40.2006 428.869C43.1339 424.519 85.6668 428.144 90.0668 428.869C94.4667 429.594 82.0002 394.07 79.8002 386.095C77.6002 378.12 80.5335 381.745 82.0002 377.395C83.4669 373.045 58.5338 295.473 56.3338 287.498C54.1338 279.523 46.8006 283.148 45.3339 279.523C43.8673 275.898 51.9338 280.973 52.6672 273.723Z" fill="#E5E5E5"/>
|
|
628
612
|
<path d="M427.5 160C441.1 160 445.167 171.667 445.5 177.5C445.5 177.5 383.109 183.775 343 184C298.993 184.247 230.5 177.5 230.5 177.5C230.5 147.5 264.833 155 282 162.5C282 136 328 106.5 343 106.5C358 106.5 368.5 108.5 378.5 123.5C388.5 138.5 396.5 145 402.5 151.5C408.5 158 407 168 410.5 168C414 168 410.5 160 427.5 160Z" fill="#FCFCFD"/>
|
|
629
613
|
<path d="M609.358 83.6761C618.91 83.6761 621.766 91.892 622 96C622 96 568.433 102.926 534 102C509.295 101.336 471 96 471 96C471 74.8732 495.113 80.1549 507.17 85.4366C507.17 66.7746 539.477 46 550.012 46C560.547 46 567.921 47.4085 574.944 57.9718C581.967 68.5352 587.586 73.1127 591.8 77.6901C596.014 82.2676 594.96 89.3099 597.419 89.3099C599.877 89.3099 597.419 83.6761 609.358 83.6761Z" fill="#FCFCFD"/>
|
|
630
614
|
<path d="M1059.64 89.6761C1050.09 89.6761 1047.23 97.892 1047 102C1047 102 1104.55 105.969 1139 107C1163.73 107.74 1198 102 1198 102C1198 80.8732 1173.89 86.1549 1161.83 91.4366C1161.83 72.7746 1129.52 52 1118.99 52C1108.45 52 1101.08 53.4085 1094.06 63.9718C1087.03 74.5352 1081.41 79.1127 1077.2 83.6901C1072.99 88.2676 1074.04 95.3099 1071.58 95.3099C1069.12 95.3099 1071.58 89.6761 1059.64 89.6761Z" fill="#FCFCFD"/>
|
|
631
|
-
<path d="
|
|
632
|
-
<path d="M782
|
|
633
|
-
<path d="
|
|
615
|
+
<path d="M1299 440C1254.41 441.587 1068.48 474.881 981.593 491.081C981.593 495.049 982.062 497.033 981 501C1029.42 487.907 1213.17 478.022 1299 474.22V440Z" fill="#FAFAFA"/>
|
|
616
|
+
<path d="M782 595L815.185 583.937C894 585.949 1005.48 557.286 1098.3 548.737C1172.55 541.898 1263.7 518.063 1300 507V557.286C1261.98 556.615 1167.99 557.99 1096.22 568.851C1024.46 579.713 856.84 590.81 782 595Z" fill="#F5F5F5"/>
|
|
617
|
+
<path d="M741.096 562.62L770 555.041C721.162 557.062 583.56 539.378 490.868 536.346C398.176 533.314 371.266 507.04 236.215 506.03C128.174 505.221 33.7212 521.188 0 529.272V599C67.9408 579.294 216.381 539.782 266.614 539.378C329.405 538.872 393.193 564.641 529.739 560.094C638.976 556.456 722.159 560.262 741.096 562.62Z" fill="#F5F5F5"/>
|
|
634
618
|
</g>
|
|
635
619
|
<defs>
|
|
636
620
|
<clipPath id="clip0_65_2835">
|
|
637
|
-
<rect width="
|
|
621
|
+
<rect width="1300" height="730" fill="white"/>
|
|
638
622
|
</clipPath>
|
|
639
623
|
</defs>
|
|
640
624
|
</svg>
|
|
641
|
-
`;var
|
|
625
|
+
`;var u1=`<svg preserveAspectRatio="xMidYMin slice" viewBox="0 0 1300 730" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
642
626
|
<g clip-path="url(#clip0_65_2987)">
|
|
643
|
-
<rect width="
|
|
644
|
-
<path d="
|
|
645
|
-
<path d="
|
|
646
|
-
<path d="
|
|
647
|
-
<path d="
|
|
648
|
-
<path d="
|
|
627
|
+
<rect width="1300" height="730" fill="#F5F5F5"/>
|
|
628
|
+
<path d="M1201.88 423C1262.75 419.8 1292.66 401.667 1300 393V730H4.4226C1.0852 572 -3.58715 256 4.4226 256C14.4348 256 25.4482 260 45.4726 273C65.4969 286 69.5018 301 98.5372 306C127.572 311 135.582 312 154.605 328C173.629 344 180.637 339 199.66 339C218.683 339 231.699 323 253.726 312C271.348 303.2 285.098 287.667 289.77 281C288.769 277 291.973 276.4 312.798 306C338.83 343 348.842 350 369.868 339C390.894 328 401.907 323 427.939 301C453.97 279 461.98 286 536.07 220C610.16 154 666.229 123 680.246 112C724.299 143 818.414 286 843.444 323C868.475 360 848.451 376 873.481 374C898.511 372 979.61 263 1014.65 286C1049.7 309 1070.72 393 1084.74 410C1098.76 427 1125.79 427 1201.88 423Z" fill="#A3A3A3"/>
|
|
629
|
+
<path d="M179.109 175C231.109 174.2 396.109 171.333 472.109 170C472.109 157 472.109 161 464.109 154C456.109 147 446.109 161 443.109 154C440.109 147 423.109 135 411.109 135C399.109 135 398.109 143 386.109 143C374.109 143 369.109 135 361.109 135C354.709 135 349.109 140.333 347.109 143C344.109 138 335.709 126.4 326.109 120C316.509 113.6 306.109 117.333 302.109 120C302.109 105 284.109 81.0001 260.109 81.0001C240.909 81.0001 230.109 87 227.109 90C223.443 74.3334 205.909 43.0001 165.109 43.0001C124.309 43.0001 105.443 79 101.109 97C100.776 94.3333 92.7094 89.2 63.1094 90C26.1094 91 32.1094 120 15.1094 120H0.109412V175C38.1094 175.333 127.109 175.8 179.109 175Z" fill="#FCFCFD"/>
|
|
630
|
+
<path d="M1300 221H905C905 204 930 203 951 199C972 195 970 187 988 187C1006 187 1009 194 1026 193C1043 192 1036 184 1058 176C1080 168 1097 181 1096 176C1095 171 1087 153 1127 121C1167 89 1217 125 1222 116C1222 56.8 1274 35.3333 1300 32V221Z" fill="#FCFCFD"/>
|
|
631
|
+
<path d="M938.094 321.658C966.594 296.317 996.78 273.409 1014.8 285.173C1028.87 294.355 1040.68 313.298 1050.69 333.792C1065.65 364.429 1036.86 337.278 1036.86 337.278C1036.86 337.278 1022.48 324.929 1003.77 319.35C984.936 313.733 954.137 327.816 954.137 327.816C954.137 327.816 894.155 361.511 909.517 347.658C918.448 339.604 928.169 330.483 938.094 321.658Z" fill="#FCFCFD"/>
|
|
632
|
+
<path d="M845.808 322.716C870.968 359.841 850.84 375.895 876 373.889C876 373.889 862.802 379.324 853.859 379.909C819.32 382.168 815.449 341.936 792.972 315.692C771.046 290.092 772.66 238.424 740.136 247.461C726.655 251.207 725.831 267.705 711.957 269.536C687.952 272.704 699.682 222.891 675.727 219.366C646.254 215.029 658.917 289.298 630.439 280.573C615.826 276.096 616.813 259.541 603.266 252.478C564.103 232.062 558.445 329.001 514.703 322.716C502.273 320.93 496.843 314.048 484.511 311.678C444.582 304.004 394.942 339.439 386.891 347.8C378.84 356.162 353.305 361.228 332.546 355.827C311.933 350.465 293.632 328.067 289.271 322.716C284.91 317.364 273.373 343.757 262.098 338.77C251.873 334.247 253.04 311.678 253.04 311.678C270.753 302.848 284.574 287.262 289.271 280.573C288.265 276.56 291.485 275.958 312.418 305.658C338.585 342.783 348.648 349.807 369.783 338.77C390.917 327.733 401.987 322.716 428.154 300.641C454.32 278.566 462.371 285.59 536.845 219.366C611.318 153.142 667.676 122.037 681.766 111C726.047 142.105 820.648 285.59 845.808 322.716Z" fill="#FCFCFD"/>
|
|
649
633
|
<path d="M469.841 492.457C470.21 488.758 461.367 465.944 456.9 455C450.43 465.636 444.42 490.145 444.42 494.769C444.42 499.394 437.487 522.516 437.025 525.753C436.563 528.99 440.722 527.14 442.571 528.527C444.42 529.915 437.025 531.302 434.714 532.689C432.403 534.076 428.706 549.337 430.092 551.187C436.101 552.574 443.496 558.586 444.42 560.898C445.344 563.21 432.865 566.447 425.933 569.684C419 572.921 419 589.106 419 592.806C419 596.505 452.277 591.418 454.589 591.418C456.9 591.418 454.589 599.742 454.589 604.367C454.589 608.991 454.127 610.378 458.286 609.916C462.446 609.453 460.135 594.193 461.984 591.418C463.832 588.644 490.639 590.956 493.412 591.418C496.185 591.881 488.328 569.222 486.941 564.135C485.555 559.048 487.403 561.36 488.328 558.586C489.252 555.811 473.538 506.33 472.152 501.244C470.765 496.157 466.143 498.469 465.219 496.157C464.294 493.845 469.378 497.082 469.841 492.457Z" fill="#D4D4D4"/>
|
|
650
634
|
<path d="M729.841 534.457C730.21 530.758 721.367 507.944 716.9 497C710.43 507.636 704.42 532.145 704.42 536.769C704.42 541.394 697.487 564.516 697.025 567.753C696.563 570.99 700.722 569.14 702.571 570.527C704.42 571.915 697.025 573.302 694.714 574.689C692.403 576.076 688.706 591.337 690.092 593.187C696.101 594.574 703.496 600.586 704.42 602.898C705.344 605.21 692.865 608.447 685.933 611.684C679 614.921 679 631.106 679 634.806C679 638.505 712.277 633.418 714.589 633.418C716.9 633.418 714.589 641.742 714.589 646.367C714.589 650.991 714.127 652.378 718.286 651.916C722.446 651.453 720.135 636.193 721.984 633.418C723.832 630.644 750.639 632.956 753.412 633.418C756.185 633.881 748.328 611.222 746.941 606.135C745.555 601.048 747.403 603.36 748.328 600.586C749.252 597.811 733.538 548.33 732.152 543.244C730.765 538.157 726.143 540.469 725.219 538.157C724.294 535.845 729.378 539.082 729.841 534.457Z" fill="#D4D4D4"/>
|
|
651
635
|
<path d="M762.841 512.457C763.21 508.758 754.367 485.944 749.9 475C743.43 485.636 737.42 510.145 737.42 514.769C737.42 519.394 730.487 542.516 730.025 545.753C729.563 548.99 733.722 547.14 735.571 548.527C737.42 549.915 730.025 551.302 727.714 552.689C725.403 554.076 721.706 569.337 723.092 571.187C729.101 572.574 736.496 578.586 737.42 580.898C738.344 583.21 725.865 586.447 718.933 589.684C712 592.921 712 609.106 712 612.806C712 616.505 745.277 611.418 747.589 611.418C749.9 611.418 747.589 619.742 747.589 624.367C747.589 628.991 747.127 630.378 751.286 629.916C755.446 629.453 753.135 614.193 754.984 611.418C756.832 608.644 783.639 610.956 786.412 611.418C789.185 611.881 781.328 589.222 779.941 584.135C778.555 579.048 780.403 581.36 781.328 578.586C782.252 575.811 766.538 526.33 765.152 521.244C763.765 516.157 759.143 518.469 758.219 516.157C757.294 513.845 762.378 517.082 762.841 512.457Z" fill="#D4D4D4"/>
|
|
652
636
|
<path d="M793.841 487.457C794.21 483.758 785.367 460.944 780.9 450C774.43 460.636 768.42 485.145 768.42 489.769C768.42 494.394 761.487 517.516 761.025 520.753C760.563 523.99 764.722 522.14 766.571 523.527C768.42 524.915 761.025 526.302 758.714 527.689C756.403 529.076 752.706 544.337 754.092 546.187C760.101 547.574 767.496 553.586 768.42 555.898C769.344 558.21 756.865 561.447 749.933 564.684C743 567.921 743 584.106 743 587.806C743 591.505 776.277 586.418 778.589 586.418C780.9 586.418 778.589 594.742 778.589 599.367C778.589 603.991 778.127 605.378 782.286 604.916C786.446 604.453 784.135 589.193 785.984 586.418C787.832 583.644 814.639 585.956 817.412 586.418C820.185 586.881 812.328 564.222 810.941 559.135C809.555 554.048 811.403 556.36 812.328 553.586C813.252 550.811 797.538 501.33 796.152 496.244C794.765 491.157 790.143 493.469 789.219 491.157C788.294 488.845 793.378 492.082 793.841 487.457Z" fill="#D4D4D4"/>
|
|
653
637
|
<path d="M830.841 446.457C831.21 442.758 822.367 419.944 817.9 409C811.43 419.636 805.42 444.145 805.42 448.769C805.42 453.394 798.487 476.516 798.025 479.753C797.563 482.99 801.722 481.14 803.571 482.527C805.42 483.915 798.025 485.302 795.714 486.689C793.403 488.076 789.706 503.337 791.092 505.187C797.101 506.574 804.496 512.586 805.42 514.898C806.344 517.21 793.865 520.447 786.933 523.684C780 526.921 780 543.106 780 546.806C780 550.505 813.277 545.418 815.589 545.418C817.9 545.418 815.589 553.742 815.589 558.367C815.589 562.991 815.127 564.378 819.286 563.916C823.446 563.453 821.135 548.193 822.984 545.418C824.832 542.644 851.639 544.956 854.412 545.418C857.185 545.881 849.328 523.222 847.941 518.135C846.555 513.048 848.403 515.36 849.328 512.586C850.252 509.811 834.538 460.33 833.152 455.244C831.765 450.157 827.143 452.469 826.219 450.157C825.294 447.845 830.378 451.082 830.841 446.457Z" fill="#D4D4D4"/>
|
|
654
638
|
<path d="M870.841 452.457C871.21 448.758 862.367 425.944 857.9 415C851.43 425.636 845.42 450.145 845.42 454.769C845.42 459.394 838.487 482.516 838.025 485.753C837.563 488.99 841.722 487.14 843.571 488.527C845.42 489.915 838.025 491.302 835.714 492.689C833.403 494.076 829.706 509.337 831.092 511.187C837.101 512.574 844.496 518.586 845.42 520.898C846.344 523.21 833.865 526.447 826.933 529.684C820 532.921 820 549.106 820 552.806C820 556.505 853.277 551.418 855.589 551.418C857.9 551.418 855.589 559.742 855.589 564.367C855.589 568.991 855.127 570.378 859.286 569.916C863.446 569.453 861.135 554.193 862.984 551.418C864.832 548.644 891.639 550.956 894.412 551.418C897.185 551.881 889.328 529.222 887.941 524.135C886.555 519.048 888.403 521.36 889.328 518.586C890.252 515.811 874.538 466.33 873.152 461.244C871.765 456.157 867.143 458.469 866.219 456.157C865.294 453.845 870.378 457.082 870.841 452.457Z" fill="#D4D4D4"/>
|
|
655
|
-
<path d="M906.908
|
|
639
|
+
<path d="M906.908 414.84C907.307 410.807 897.757 385.933 892.932 374C885.944 385.597 879.454 412.319 879.454 417.362C879.454 422.404 871.966 447.614 871.467 451.143C870.968 454.673 875.46 452.656 877.457 454.168C879.454 455.681 871.467 457.194 868.971 458.706C866.475 460.219 862.482 476.858 863.98 478.874C870.469 480.387 878.455 486.942 879.454 489.463C880.452 491.984 866.975 495.513 859.487 499.043C852 502.572 852 520.219 852 524.253C852 528.286 887.939 522.74 890.436 522.74C892.932 522.74 890.436 531.816 890.436 536.858C890.436 541.9 889.937 543.412 894.429 542.908C898.921 542.404 896.426 525.765 898.422 522.74C900.419 519.715 929.37 522.236 932.365 522.74C935.36 523.244 926.874 498.538 925.377 492.992C923.879 487.446 925.876 489.967 926.874 486.942C927.872 483.916 910.901 429.967 909.404 424.42C907.906 418.874 902.915 421.395 901.916 418.874C900.918 416.353 906.409 419.883 906.908 414.84Z" fill="#D4D4D4"/>
|
|
656
640
|
<path d="M974.687 396.915C975.135 392.381 964.406 364.416 958.985 351C951.135 364.038 943.843 394.081 943.843 399.75C943.843 405.418 935.431 433.761 934.87 437.729C934.31 441.697 939.357 439.43 941.6 441.13C943.843 442.831 934.87 444.531 932.066 446.232C929.263 447.932 924.776 466.639 926.459 468.906C933.749 470.607 942.721 477.976 943.843 480.81C944.964 483.644 929.823 487.612 921.412 491.58C913 495.548 913 515.388 913 519.923C913 524.458 953.376 518.223 956.181 518.223C958.986 518.223 956.181 528.426 956.181 534.095C956.181 539.763 955.62 541.464 960.667 540.897C965.714 540.33 962.91 521.624 965.153 518.223C967.397 514.821 999.922 517.656 1003.29 518.223C1006.65 518.789 997.118 491.013 995.435 484.778C993.753 478.543 995.996 481.377 997.118 477.976C998.239 474.575 979.173 413.921 977.491 407.686C975.808 401.45 970.2 404.284 969.079 401.45C967.957 398.616 974.126 402.584 974.687 396.915Z" fill="#D4D4D4"/>
|
|
657
641
|
<path d="M1018.91 400.84C1019.31 396.807 1009.76 371.933 1004.93 360C997.944 371.597 991.454 398.319 991.454 403.362C991.454 408.404 983.966 433.614 983.467 437.143C982.968 440.673 987.46 438.656 989.457 440.168C991.454 441.681 983.467 443.194 980.971 444.706C978.475 446.219 974.482 462.858 975.98 464.874C982.469 466.387 990.455 472.942 991.454 475.463C992.452 477.984 978.975 481.513 971.487 485.043C964 488.572 964 506.219 964 510.253C964 514.286 999.939 508.74 1002.44 508.74C1004.93 508.74 1002.44 517.816 1002.44 522.858C1002.44 527.9 1001.94 529.412 1006.43 528.908C1010.92 528.404 1008.43 511.765 1010.42 508.74C1012.42 505.715 1041.37 508.236 1044.36 508.74C1047.36 509.244 1038.87 484.538 1037.38 478.992C1035.88 473.446 1037.88 475.967 1038.87 472.942C1039.87 469.916 1022.9 415.967 1021.4 410.42C1019.91 404.874 1014.91 407.395 1013.92 404.874C1012.92 402.353 1018.41 405.883 1018.91 400.84Z" fill="#D4D4D4"/>
|
|
658
642
|
<path d="M1050.04 388.399C1050.5 383.816 1039.54 355.557 1034 342C1025.97 355.175 1018.52 385.535 1018.52 391.263C1018.52 396.991 1009.92 425.632 1009.35 429.642C1008.78 433.652 1013.94 431.36 1016.23 433.079C1018.52 434.797 1009.35 436.516 1006.49 438.234C1003.62 439.953 999.035 458.856 1000.75 461.147C1008.2 462.866 1017.37 470.312 1018.52 473.176C1019.67 476.041 1004.19 480.05 995.597 484.06C987 488.07 987 508.119 987 512.701C987 517.284 1028.26 510.983 1031.13 510.983C1034 510.983 1031.13 521.294 1031.13 527.022C1031.13 532.75 1030.56 534.469 1035.71 533.896C1040.87 533.323 1038.01 514.42 1040.3 510.983C1042.59 507.546 1075.83 510.41 1079.27 510.983C1082.71 511.556 1072.97 483.487 1071.25 477.186C1069.53 470.885 1071.82 473.749 1072.97 470.312C1074.11 466.875 1054.63 405.583 1052.91 399.282C1051.19 392.981 1045.46 395.845 1044.31 392.981C1043.17 390.117 1049.47 394.127 1050.04 388.399Z" fill="#D4D4D4"/>
|
|
659
|
-
<path d="
|
|
660
|
-
<path d="
|
|
643
|
+
<path d="M1099.73 336.59C1100.35 330.408 1085.61 292.288 1078.17 274C1067.38 291.772 1057.37 332.726 1057.37 340.453C1057.37 348.181 1045.81 386.816 1045.04 392.225C1044.27 397.634 1051.2 394.543 1054.29 396.862C1057.37 399.18 1045.04 401.498 1041.19 403.816C1037.34 406.134 1031.18 431.634 1033.49 434.725C1043.5 437.043 1055.83 447.088 1057.37 450.952C1058.91 454.815 1038.11 460.224 1026.55 465.633C1015 471.042 1015 498.087 1015 504.269C1015 510.451 1070.46 501.951 1074.31 501.951C1078.17 501.951 1074.31 515.86 1074.31 523.587C1074.31 531.314 1073.54 533.632 1080.48 532.859C1087.41 532.087 1083.56 506.587 1086.64 501.951C1089.72 497.314 1134.4 501.178 1139.02 501.951C1143.64 502.723 1130.55 464.86 1128.24 456.361C1125.92 447.861 1129.01 451.724 1130.55 447.088C1132.09 442.452 1105.9 359.771 1103.59 351.271C1101.28 342.772 1093.57 346.635 1092.03 342.772C1090.49 338.908 1098.96 344.317 1099.73 336.59Z" fill="#D4D4D4"/>
|
|
644
|
+
<path d="M1182.24 276.581C1183.08 268.227 1163.03 216.713 1152.91 192C1138.24 216.017 1124.62 271.36 1124.62 281.802C1124.62 292.244 1108.9 344.454 1107.86 351.764C1106.81 359.073 1116.24 354.897 1120.43 358.029C1124.62 361.162 1107.86 364.294 1102.62 367.427C1097.38 370.56 1089 405.019 1092.14 409.195C1105.76 412.328 1122.52 425.903 1124.62 431.124C1126.71 436.345 1098.43 443.654 1082.71 450.964C1067 458.273 1067 494.821 1067 503.174C1067 511.528 1142.43 500.042 1147.67 500.042C1152.91 500.042 1147.67 518.837 1147.67 529.279C1147.67 539.722 1146.62 542.854 1156.05 541.81C1165.48 540.766 1160.24 506.307 1164.43 500.042C1168.62 493.776 1229.38 498.997 1235.67 500.042C1241.95 501.086 1224.14 449.92 1221 438.433C1217.86 426.947 1222.05 432.168 1224.14 425.903C1226.24 419.638 1190.62 307.907 1187.48 296.421C1184.33 284.935 1173.86 290.156 1171.76 284.935C1169.67 279.714 1181.19 287.023 1182.24 276.581Z" fill="#D4D4D4"/>
|
|
661
645
|
<path d="M1253.02 316.415C1253.62 310.448 1239.35 273.652 1232.14 256C1221.71 273.155 1212.01 312.686 1212.01 320.144C1212.01 327.603 1200.83 364.896 1200.08 370.117C1199.33 375.338 1206.05 372.355 1209.03 374.592C1212.01 376.83 1200.08 379.067 1196.35 381.305C1192.62 383.543 1186.66 408.156 1188.9 411.14C1198.59 413.377 1210.52 423.073 1212.01 426.803C1213.5 430.532 1193.37 435.753 1182.18 440.974C1171 446.195 1171 472.3 1171 478.267C1171 484.234 1224.69 476.03 1228.42 476.03C1232.15 476.03 1228.42 489.455 1228.42 496.914C1228.42 504.373 1227.67 506.61 1234.38 505.864C1241.09 505.118 1237.36 480.505 1240.35 476.03C1243.33 471.555 1286.58 475.284 1291.05 476.03C1295.53 476.776 1282.85 440.228 1280.61 432.024C1278.38 423.819 1281.36 427.549 1282.85 423.073C1284.34 418.598 1258.99 338.791 1256.75 330.586C1254.51 322.382 1247.06 326.111 1245.57 322.382C1244.08 318.653 1252.28 323.874 1253.02 316.415Z" fill="#D4D4D4"/>
|
|
662
646
|
<path d="M1308.18 330.923C1308.69 325.696 1296.31 293.463 1290.06 278C1281 293.028 1272.59 327.657 1272.59 334.19C1272.59 340.724 1262.88 373.393 1262.24 377.967C1261.59 382.54 1267.41 379.927 1270 381.887C1272.59 383.847 1262.24 385.807 1259 387.767C1255.76 389.727 1250.59 411.289 1252.53 413.902C1260.94 415.862 1271.29 424.356 1272.59 427.623C1273.88 430.89 1256.41 435.464 1246.71 440.037C1237 444.611 1237 467.479 1237 472.706C1237 477.933 1283.59 470.746 1286.82 470.746C1290.06 470.746 1286.82 482.507 1286.82 489.041C1286.82 495.574 1286.18 497.534 1292 496.881C1297.82 496.228 1294.59 474.666 1297.18 470.746C1299.77 466.826 1337.29 470.093 1341.18 470.746C1345.06 471.399 1334.06 439.384 1332.12 432.197C1330.18 425.01 1332.76 428.277 1334.06 424.356C1335.35 420.436 1313.35 350.525 1311.41 343.338C1309.47 336.15 1303 339.417 1301.71 336.15C1300.41 332.884 1307.53 337.457 1308.18 330.923Z" fill="#D4D4D4"/>
|
|
663
647
|
<path d="M431.841 449.457C432.21 445.758 423.367 422.944 418.9 412C412.43 422.636 406.42 447.145 406.42 451.769C406.42 456.394 399.487 479.516 399.025 482.753C398.563 485.99 402.722 484.14 404.571 485.527C406.42 486.915 399.025 488.302 396.714 489.689C394.403 491.076 390.706 506.337 392.092 508.187C398.101 509.574 405.496 515.586 406.42 517.898C407.344 520.21 394.865 523.447 387.933 526.684C381 529.921 381 546.106 381 549.806C381 553.505 414.277 548.418 416.589 548.418C418.9 548.418 416.589 556.742 416.589 561.367C416.589 565.991 416.127 567.378 420.286 566.916C424.446 566.453 422.135 551.193 423.984 548.418C425.832 545.644 452.639 547.956 455.412 548.418C458.185 548.881 450.328 526.222 448.941 521.135C447.555 516.048 449.403 518.36 450.328 515.586C451.252 512.811 435.538 463.33 434.152 458.244C432.765 453.157 428.143 455.469 427.219 453.157C426.294 450.845 431.378 454.082 431.841 449.457Z" fill="#D4D4D4"/>
|
|
@@ -668,71 +652,71 @@
|
|
|
668
652
|
<path d="M175.849 250.889C176.663 242.703 157.208 192.219 147.379 168C133.146 191.536 119.924 245.773 119.924 256.006C119.924 266.239 104.672 317.405 103.655 324.569C102.638 331.732 111.789 327.639 115.857 330.709C119.924 333.779 103.655 336.849 98.5711 339.919C93.4871 342.989 85.3527 376.758 88.4031 380.852C101.621 383.921 117.89 397.225 119.924 402.341C121.957 407.458 94.5039 414.621 79.2519 421.785C64 428.948 64 464.764 64 472.951C64 481.137 137.209 469.881 142.295 469.881C147.381 469.881 142.295 488.301 142.295 498.534C142.295 508.767 141.278 511.837 150.43 510.814C159.581 509.79 154.497 476.021 158.564 469.881C162.631 463.741 221.605 468.857 227.706 469.881C233.807 470.904 216.521 420.761 213.471 409.505C210.421 398.248 214.488 403.365 216.521 397.225C218.555 391.085 183.984 281.589 180.933 270.332C177.883 259.076 167.715 264.193 165.681 259.076C163.648 253.959 174.833 261.123 175.849 250.889Z" fill="#D4D4D4"/>
|
|
669
653
|
<path d="M93.0229 284.898C93.6194 278.884 79.3527 241.793 72.1447 224C61.7069 241.292 52.0108 281.139 52.0108 288.657C52.0108 296.176 40.826 333.767 40.0804 339.03C39.3347 344.293 46.0456 341.286 49.0282 343.541C52.0108 345.797 40.0804 348.052 36.3521 350.307C32.6239 352.563 26.6587 377.373 28.8956 380.381C38.5891 382.636 50.5195 392.41 52.0108 396.169C53.5021 399.928 33.3695 405.191 22.1848 410.454C11 415.717 11 442.031 11 448.045C11 454.06 64.6868 445.79 68.4164 445.79C72.146 445.79 68.4164 459.323 68.4164 466.841C68.4164 474.359 67.6708 476.615 74.3817 475.863C81.0925 475.111 77.3643 450.301 80.3469 445.79C83.3295 441.279 126.577 445.038 131.051 445.79C135.525 446.542 122.849 409.702 120.612 401.432C118.375 393.162 121.358 396.921 122.849 392.41C124.34 387.899 98.9881 307.453 96.7512 299.183C94.5142 290.913 87.0577 294.672 85.5664 290.913C84.0751 287.154 92.2773 292.417 93.0229 284.898Z" fill="#D4D4D4"/>
|
|
670
654
|
<path d="M25.6477 240.706C26.3724 233.427 9.04001 188.536 0.283234 167C-12.3974 187.929 -24.177 236.156 -24.177 245.256C-24.177 254.356 -37.7651 299.853 -38.6709 306.223C-39.5768 312.593 -31.424 308.953 -27.8005 311.683C-24.177 314.412 -38.6709 317.142 -43.2003 319.872C-47.7297 322.602 -54.9767 352.63 -52.259 356.27C-40.4827 359 -25.9887 370.83 -24.177 375.379C-22.3652 379.929 -46.8238 386.299 -60.4119 392.668C-74 399.038 -74 430.886 -74 438.166C-74 445.446 -8.77714 435.436 -4.24613 435.436C0.284874 435.436 -4.24613 451.815 -4.24613 460.915C-4.24613 470.014 -5.15201 472.744 3.00085 471.834C11.1537 470.924 6.62434 440.896 10.2478 435.436C13.8713 429.977 66.412 434.526 71.8472 435.436C77.2824 436.346 61.8826 391.758 59.165 381.749C56.4474 371.74 60.0708 376.289 61.8826 370.83C63.6944 365.37 32.8947 268.005 30.177 257.995C27.4594 247.986 18.4007 252.536 16.589 247.986C14.7772 243.436 24.7418 249.806 25.6477 240.706Z" fill="#D4D4D4"/>
|
|
671
|
-
<path d="
|
|
672
|
-
<path d="M559
|
|
655
|
+
<path d="M1300 730V471C1209.44 471 1099.77 496 936.765 516C773.762 536 698.297 580 406.502 508C173.065 450.4 71.775 432.667 0 422V730H1300Z" fill="#E5E5E5"/>
|
|
656
|
+
<path d="M559 730C647.67 624.485 823.946 546.702 901 521C751.219 597.701 653.196 692.292 622.907 730H559Z" fill="#FAFAFA"/>
|
|
673
657
|
</g>
|
|
674
658
|
<defs>
|
|
675
659
|
<clipPath id="clip0_65_2987">
|
|
676
|
-
<rect width="
|
|
660
|
+
<rect width="1300" height="730" fill="white"/>
|
|
677
661
|
</clipPath>
|
|
678
662
|
</defs>
|
|
679
663
|
</svg>
|
|
680
|
-
`;var
|
|
664
|
+
`;var C1=`<svg preserveAspectRatio="xMaxYMid slice" viewBox="0 0 1300 730" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
681
665
|
<g clip-path="url(#clip0_65_3281)">
|
|
682
|
-
<rect width="
|
|
683
|
-
<path d="
|
|
684
|
-
<path d="
|
|
685
|
-
<path d="M0
|
|
686
|
-
<path d="
|
|
687
|
-
<path d="
|
|
688
|
-
<path d="
|
|
689
|
-
<path d="
|
|
690
|
-
<path d="
|
|
691
|
-
<path d="
|
|
692
|
-
<path d="
|
|
693
|
-
<path d="
|
|
694
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
695
|
-
<path d="
|
|
696
|
-
<circle cx="
|
|
697
|
-
<circle cx="
|
|
698
|
-
<circle cx="
|
|
699
|
-
<circle cx="
|
|
700
|
-
<path d="
|
|
701
|
-
<path d="
|
|
702
|
-
<path d="
|
|
703
|
-
<path d="
|
|
704
|
-
<path d="
|
|
705
|
-
<path d="
|
|
706
|
-
<path d="
|
|
707
|
-
<path d="
|
|
708
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
709
|
-
<path d="
|
|
710
|
-
<circle cx="
|
|
711
|
-
<circle cx="
|
|
712
|
-
<circle cx="
|
|
713
|
-
<circle cx="
|
|
714
|
-
<path d="
|
|
715
|
-
<path d="
|
|
716
|
-
<path d="
|
|
717
|
-
<path d="
|
|
718
|
-
<path d="
|
|
719
|
-
<path d="
|
|
720
|
-
<path d="
|
|
721
|
-
<path d="
|
|
722
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
723
|
-
<path d="
|
|
724
|
-
<circle cx="
|
|
725
|
-
<circle cx="
|
|
726
|
-
<circle cx="
|
|
727
|
-
<circle cx="
|
|
666
|
+
<rect width="1300" height="730" fill="white"/>
|
|
667
|
+
<path d="M1300 0H0V730H1300V0Z" fill="#FCFCFD"/>
|
|
668
|
+
<path d="M1300.2 584.04C1231.22 526.8 1162.24 469.44 1082.45 443.52C1002.67 417.48 912.213 422.64 835.556 392.04C758.898 361.32 696.178 294.84 660.622 223.56C625.067 152.16 616.533 76.08 608 0H1300.2V584.04Z" fill="#F5F5F5"/>
|
|
669
|
+
<path d="M0 146C89.4578 157.76 178.916 169.64 261.831 196.76C344.747 223.88 421.12 266.24 486.684 319.4C552.391 372.44 607.147 436.28 639.573 506.48C672 576.8 682.098 653.36 692.196 730.04H0V146Z" fill="#F5F5F5"/>
|
|
670
|
+
<path d="M558.989 474.981C522.327 399.412 499.385 360.032 462.37 306.096C459.33 301.666 463.165 295.721 468.454 296.667C475.573 297.941 483.096 299.223 485.279 299.364C489.743 299.651 486.05 253.553 500.312 219.532C509.668 199.154 526.905 198.312 533.298 198.764C534.894 198.877 536.235 199.771 537.108 201.111C578.959 265.333 655.273 396.976 657.354 409.653C659.124 420.43 656.829 425.316 653.184 427.386C652.747 427.634 652.307 427.896 651.916 428.211C622.034 452.333 601.439 462.358 566.869 477.867C563.908 479.195 560.406 477.901 558.989 474.981Z" fill="#E5E5E5"/>
|
|
671
|
+
<path d="M466.148 262.55L456.827 259.307C453.197 258.044 451.691 253.742 453.568 250.387C461.926 235.447 464.548 224.159 464.49 207.701C464.475 203.577 468.391 200.496 472.347 201.666L480.723 204.142C483.768 205.042 485.585 208.159 484.867 211.252L473.965 258.24C473.158 261.714 469.517 263.722 466.148 262.55Z" fill="#E5E5E5"/>
|
|
672
|
+
<path d="M427.25 286.502L429.183 276.383C429.767 273.329 427.92 270.334 424.928 269.485L379.111 256.48C375.832 255.549 372.437 257.534 371.639 260.848L369.39 270.196C368.532 273.758 371.047 277.239 374.687 277.658C391.249 279.564 402.678 282.788 418.407 290.746C422.041 292.585 426.486 290.502 427.25 286.502Z" fill="#E5E5E5"/>
|
|
673
|
+
<path d="M666.752 411.868C673.204 423.042 665.303 431.965 660.546 435.03L558.473 493.962L452.103 555.375C444.08 560.007 435.945 551.651 432.88 546.894L305.298 325.915C299.674 316.174 305.569 309.842 309.219 307.893L343.242 288.25C343.701 287.985 344.037 287.548 344.174 287.036L354.341 249.091C354.478 248.579 354.814 248.142 355.273 247.877L446.599 195.149C447.058 194.884 447.604 194.812 448.117 194.95L486.061 205.117C486.574 205.254 487.119 205.182 487.579 204.917L520.527 185.894C529.983 180.435 536.896 186.95 539.17 190.889L666.752 411.868Z" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
674
|
+
<path d="M355.326 248.8L428.21 271.274C429.322 271.617 430.49 270.942 430.749 269.808L447.729 195.452" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
675
|
+
<path d="M487.22 205.125L469.91 282.908C469.649 284.083 468.415 284.763 467.282 284.355L429.651 270.834" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
676
|
+
<path d="M345.034 287.215L421.051 311.116C422.2 311.478 423.405 310.749 423.619 309.564L430.725 270.214" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
677
|
+
<path d="M430.629 271.702L559.038 494.113" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
678
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M323.989 315.602L346.398 302.664C347.98 301.751 349.829 301.404 351.632 301.696C379.114 306.136 395.079 311.145 418.406 322.468C421.888 324.158 426.098 323.185 428.423 320.092L432.227 315.031C435.535 310.63 442.21 310.828 445.259 315.412C482.701 371.689 504.366 409.192 531.64 467.301C529.759 466.442 527.505 466.475 525.578 467.588C522.413 469.415 521.328 473.462 523.156 476.627C524.983 479.792 529.03 480.876 532.194 479.049C533.762 478.144 534.82 476.693 535.265 475.076C536.361 477.439 537.467 479.838 538.584 482.273C540.151 485.689 539.122 489.752 536.091 491.975C510.148 511.004 489.816 522.591 452.84 539.984C448.864 541.855 444.121 540.141 442.226 536.177C406.188 460.757 377.957 412.445 321.334 326.982C318.784 323.133 319.991 317.91 323.989 315.602ZM389.02 396.484C387.042 397.626 386.365 400.156 387.507 402.134C388.649 404.112 391.178 404.789 393.156 403.647L441.148 375.939C443.126 374.797 443.804 372.268 442.662 370.29C441.52 368.312 438.991 367.634 437.013 368.776L389.02 396.484ZM451.491 326.034C453.319 329.199 452.234 333.245 449.069 335.073C445.905 336.9 441.858 335.815 440.031 332.651C438.203 329.486 439.288 325.439 442.453 323.612C445.617 321.785 449.664 322.869 451.491 326.034ZM476.778 383.065C479.943 381.237 481.028 377.191 479.2 374.026C477.373 370.861 473.326 369.777 470.162 371.604C466.997 373.431 465.912 377.478 467.74 380.643C469.567 383.807 473.614 384.892 476.778 383.065ZM506.907 422.018C508.735 425.183 507.65 429.23 504.485 431.057C501.321 432.884 497.274 431.8 495.447 428.635C493.619 425.47 494.704 421.423 497.869 419.596C501.033 417.769 505.08 418.853 506.907 422.018Z" fill="#E5E5E5"/>
|
|
679
|
+
<path d="M383.234 398.87L434.808 369.094" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
680
|
+
<circle cx="444.219" cy="328.323" r="4.1169" transform="rotate(-30 444.219 328.323)" stroke="#A3A3A3" stroke-width="5"/>
|
|
681
|
+
<circle cx="471.926" cy="376.315" r="4.1169" transform="rotate(-30 471.926 376.315)" stroke="#A3A3A3" stroke-width="5"/>
|
|
682
|
+
<circle cx="499.635" cy="424.307" r="4.1169" transform="rotate(-30 499.635 424.307)" stroke="#A3A3A3" stroke-width="5"/>
|
|
683
|
+
<circle cx="527.342" cy="472.3" r="4.1169" transform="rotate(-30 527.342 472.3)" stroke="#A3A3A3" stroke-width="5"/>
|
|
684
|
+
<path d="M757.962 485.126C805.075 415.591 827.709 376.032 855.911 317.009C858.227 312.161 865.294 312.51 867.119 317.563C869.575 324.365 872.226 331.521 873.196 333.482C875.178 337.492 913.254 311.244 949.849 306.585C972.174 304.498 981.522 319.006 984.327 324.768C985.028 326.206 984.924 327.815 984.2 329.241C949.507 397.596 873.657 529.507 863.72 537.648C855.272 544.57 849.893 545.025 846.277 542.903C845.844 542.649 845.397 542.399 844.929 542.218C809.098 528.4 790.118 515.577 759.403 493.392C756.772 491.493 756.142 487.812 757.962 485.126Z" fill="#E5E5E5"/>
|
|
685
|
+
<path d="M895.511 298.507L893.659 288.813C892.938 285.037 895.911 281.583 899.754 281.531C916.872 281.299 927.959 277.926 942.182 269.647C945.747 267.572 950.373 269.422 951.338 273.433L953.382 281.926C954.125 285.013 952.334 288.144 949.296 289.069L903.152 303.121C899.74 304.16 896.18 302.011 895.511 298.507Z" fill="#E5E5E5"/>
|
|
686
|
+
<path d="M855.319 276.797L865.049 273.412C867.986 272.39 869.656 269.293 868.895 266.278L857.25 220.097C856.416 216.791 853 214.844 849.731 215.81L840.511 218.536C836.997 219.574 835.24 223.493 836.697 226.855C843.327 242.15 846.25 253.66 847.222 271.261C847.447 275.327 851.473 278.136 855.319 276.797Z" fill="#E5E5E5"/>
|
|
687
|
+
<path d="M866.5 546.894C860.048 558.068 848.37 555.688 843.338 553.1L741.265 494.169L634.894 432.756C626.872 428.124 630.04 416.901 632.628 411.868L760.21 190.89C765.834 181.148 774.265 183.087 777.778 185.274L811.801 204.917C812.26 205.182 812.806 205.254 813.319 205.117L851.263 194.95C851.776 194.812 852.321 194.884 852.781 195.15L944.107 247.877C944.566 248.142 944.901 248.579 945.039 249.091L955.206 287.036C955.343 287.548 955.678 287.985 956.137 288.25L989.086 307.273C998.541 312.732 996.356 321.976 994.082 325.916L866.5 546.894Z" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
688
|
+
<path d="M852.008 195.658L868.987 270.015C869.246 271.149 870.415 271.823 871.526 271.481L944.411 249.007" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
689
|
+
<path d="M955.778 288.043L879.762 311.944C878.613 312.305 877.407 311.576 877.193 310.391L870.088 271.041" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
690
|
+
<path d="M813.593 205.952L830.902 283.735C831.164 284.91 832.397 285.59 833.531 285.183L871.162 271.662" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
691
|
+
<path d="M869.824 272.322L741.415 494.733" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
692
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M778.487 201.919L800.896 214.857C802.478 215.77 803.702 217.198 804.352 218.905C814.247 244.926 817.892 261.256 819.749 287.12C820.027 290.98 822.974 294.139 826.816 294.606L833.1 295.37C838.566 296.034 841.732 301.914 839.287 306.847C809.27 367.411 787.624 404.924 750.937 457.599C750.74 455.541 749.584 453.606 747.658 452.494C744.493 450.666 740.446 451.751 738.619 454.916C736.792 458.08 737.876 462.127 741.041 463.954C742.608 464.86 744.393 465.05 746.016 464.628C744.517 466.758 742.993 468.914 741.443 471.099C739.268 474.164 735.235 475.304 731.794 473.791C702.344 460.838 682.142 449.023 648.592 425.698C644.984 423.19 644.096 418.225 646.583 414.603C693.879 345.683 721.603 297.078 767.304 205.309C769.363 201.176 774.489 199.61 778.487 201.919ZM740.956 298.679C738.978 297.537 736.449 298.215 735.307 300.193C734.165 302.171 734.842 304.7 736.82 305.842L784.813 333.55C786.791 334.692 789.32 334.015 790.462 332.037C791.604 330.059 790.926 327.529 788.948 326.387L740.956 298.679ZM833.205 317.556C831.377 320.721 827.331 321.805 824.166 319.978C821.001 318.151 819.917 314.104 821.744 310.939C823.571 307.775 827.618 306.69 830.783 308.517C833.947 310.345 835.032 314.391 833.205 317.556ZM796.457 367.97C799.622 369.797 803.668 368.713 805.496 365.548C807.323 362.384 806.238 358.337 803.074 356.509C799.909 354.682 795.862 355.767 794.035 358.931C792.208 362.096 793.292 366.143 796.457 367.97ZM777.787 413.54C775.959 416.705 771.913 417.79 768.748 415.962C765.583 414.135 764.499 410.088 766.326 406.924C768.153 403.759 772.2 402.674 775.365 404.502C778.529 406.329 779.614 410.376 777.787 413.54Z" fill="#E5E5E5"/>
|
|
693
|
+
<path d="M735.998 294.861L787.572 324.637" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
694
|
+
<circle cx="827.584" cy="312.402" r="4.1169" transform="rotate(30 827.584 312.402)" stroke="#A3A3A3" stroke-width="5"/>
|
|
695
|
+
<circle cx="799.875" cy="360.394" r="4.1169" transform="rotate(30 799.875 360.394)" stroke="#A3A3A3" stroke-width="5"/>
|
|
696
|
+
<circle cx="772.168" cy="408.386" r="4.1169" transform="rotate(30 772.168 408.386)" stroke="#A3A3A3" stroke-width="5"/>
|
|
697
|
+
<circle cx="744.459" cy="456.378" r="4.1169" transform="rotate(30 744.459 456.378)" stroke="#A3A3A3" stroke-width="5"/>
|
|
698
|
+
<path d="M783.99 557.631C783.99 570.534 772.686 574.311 767.034 574.587H649.17H526.344C517.081 574.587 514.213 563.283 513.938 557.631V302.467C513.938 291.218 522.209 288.681 526.344 288.819H565.631C566.161 288.819 566.67 288.609 567.045 288.234L594.822 260.456C595.197 260.081 595.706 259.87 596.236 259.87H701.691C702.221 259.87 702.73 260.081 703.105 260.456L730.882 288.234C731.257 288.609 731.766 288.819 732.296 288.819H770.342C781.26 288.819 783.99 297.918 783.99 302.467V557.631Z" fill="white" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
699
|
+
<path d="M659.108 558.407C665.142 474.632 664.964 429.056 659.876 363.839C659.458 358.482 665.752 355.251 669.859 358.715C675.387 363.377 681.261 368.249 683.081 369.463C686.803 371.944 706.654 330.175 736.017 307.843C754.308 294.873 769.657 302.763 774.967 306.35C776.293 307.246 777.007 308.691 777.093 310.288C781.226 386.831 781.494 538.995 776.959 551.014C773.103 561.232 768.672 564.315 764.48 564.286C763.978 564.282 763.466 564.289 762.97 564.367C725.03 570.315 702.182 568.7 664.489 564.846C661.261 564.516 658.875 561.644 659.108 558.407Z" fill="#E5E5E5"/>
|
|
700
|
+
<path d="M684.921 328.016L678.47 320.546C675.957 317.637 676.805 313.159 680.107 311.192C694.816 302.433 702.731 293.968 710.909 279.686C712.959 276.107 717.89 275.397 720.731 278.387L726.747 284.721C728.934 287.023 728.949 290.63 726.781 292.95L693.845 328.191C691.41 330.797 687.252 330.715 684.921 328.016Z" fill="#E5E5E5"/>
|
|
701
|
+
<path d="M639.259 329.31L645.992 321.513C648.025 319.16 647.923 315.643 645.756 313.412L612.58 279.241C610.206 276.795 606.273 276.816 603.925 279.288L597.303 286.258C594.78 288.915 595.217 293.187 598.16 295.37C611.55 305.301 619.836 313.807 629.478 328.564C631.706 331.974 636.597 332.392 639.259 329.31Z" fill="#E5E5E5"/>
|
|
702
|
+
<path d="M595.822 260.698L647.705 316.602C648.496 317.455 649.846 317.455 650.637 316.602L702.52 260.698" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
703
|
+
<path d="M731.881 288.819L677.999 347.527C677.185 348.414 675.777 348.386 674.999 347.466L649.17 316.941" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
704
|
+
<path d="M567.699 288.819L621.581 347.527C622.395 348.414 623.803 348.386 624.581 347.466L650.41 316.941" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
705
|
+
<path d="M649.584 318.182V575" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
706
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M535.282 302.88H561.158C562.984 302.88 564.759 303.504 566.175 304.658C587.755 322.245 599.076 334.566 613.617 356.035C615.787 359.24 619.919 360.502 623.48 358.985L629.304 356.505C634.369 354.347 640.051 357.856 640.4 363.351C644.687 430.809 644.698 474.119 639.263 538.079C638.064 536.396 636.096 535.299 633.871 535.299C630.217 535.299 627.254 538.261 627.254 541.916C627.254 545.57 630.217 548.533 633.871 548.533C635.681 548.533 637.321 547.806 638.516 546.629C638.283 549.223 638.041 551.852 637.791 554.519C637.44 558.261 634.517 561.265 630.781 561.675C598.8 565.182 575.398 565.051 534.679 561.627C530.301 561.258 527.05 557.403 527.391 553.022C533.891 469.687 533.599 413.733 527.293 311.408C527.009 306.799 530.665 302.88 535.282 302.88ZM551.162 405.442C548.878 405.442 547.026 407.294 547.026 409.578C547.026 411.862 548.878 413.713 551.162 413.713H606.578C608.862 413.713 610.714 411.862 610.714 409.578C610.714 407.294 608.862 405.442 606.578 405.442H551.162ZM640.488 375.666C640.488 379.321 637.526 382.283 633.871 382.283C630.217 382.283 627.254 379.321 627.254 375.666C627.254 372.012 630.217 369.049 633.871 369.049C637.526 369.049 640.488 372.012 640.488 375.666ZM633.871 437.7C637.526 437.7 640.488 434.737 640.488 431.083C640.488 427.428 637.526 424.466 633.871 424.466C630.217 424.466 627.254 427.428 627.254 431.083C627.254 434.737 630.217 437.7 633.871 437.7ZM640.488 486.499C640.488 490.154 637.526 493.116 633.871 493.116C630.217 493.116 627.254 490.154 627.254 486.499C627.254 482.845 630.217 479.882 633.871 479.882C637.526 479.882 640.488 482.845 640.488 486.499Z" fill="#E5E5E5"/>
|
|
707
|
+
<path d="M544.955 404.615H604.507" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
708
|
+
<circle cx="633.041" cy="374.012" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
709
|
+
<circle cx="633.041" cy="429.428" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
710
|
+
<circle cx="633.041" cy="484.845" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
711
|
+
<circle cx="633.041" cy="540.261" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
728
712
|
</g>
|
|
729
713
|
<defs>
|
|
730
714
|
<clipPath id="clip0_65_3281">
|
|
731
|
-
<rect width="
|
|
715
|
+
<rect width="1300" height="730" fill="white"/>
|
|
732
716
|
</clipPath>
|
|
733
717
|
</defs>
|
|
734
718
|
</svg>
|
|
735
|
-
`;var
|
|
719
|
+
`;var m1=`<svg preserveAspectRatio="xMidYMid slice" viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
736
720
|
<g clip-path="url(#clip0_65_3424)">
|
|
737
721
|
<rect width="760" height="760" fill="white"/>
|
|
738
722
|
<path d="M760 0H0V760H760V0Z" fill="#FCFCFD"/>
|
|
@@ -771,7 +755,7 @@
|
|
|
771
755
|
</clipPath>
|
|
772
756
|
</defs>
|
|
773
757
|
</svg>
|
|
774
|
-
`;var
|
|
758
|
+
`;var p1=`<svg preserveAspectRatio="xMidYMid slice" viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
775
759
|
<g clip-path="url(#clip0_65_3454)">
|
|
776
760
|
<rect width="760" height="760" fill="white"/>
|
|
777
761
|
<path d="M760 0H0V760H760V0Z" fill="#FCFCFD"/>
|
|
@@ -815,7 +799,7 @@
|
|
|
815
799
|
</clipPath>
|
|
816
800
|
</defs>
|
|
817
801
|
</svg>
|
|
818
|
-
`;var
|
|
802
|
+
`;var f1=`<svg preserveAspectRatio="xMidYMid slice" viewBox="0 0 760 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
819
803
|
<g clip-path="url(#clip0_65_3497)">
|
|
820
804
|
<rect width="760" height="760" fill="white"/>
|
|
821
805
|
<path d="M760 0H0V760H760V0Z" fill="#FCFCFD"/>
|
|
@@ -888,74 +872,74 @@
|
|
|
888
872
|
</clipPath>
|
|
889
873
|
</defs>
|
|
890
874
|
</svg>
|
|
891
|
-
`;var
|
|
875
|
+
`;var g1=`<svg preserveAspectRatio="xMidYMid slice" viewBox="0 0 980 700" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
892
876
|
<g clip-path="url(#clip0_65_3351)">
|
|
893
|
-
<rect width="
|
|
877
|
+
<rect width="980" height="700" fill="white"/>
|
|
894
878
|
<g clip-path="url(#clip1_65_3351)">
|
|
895
|
-
<path d="
|
|
896
|
-
<path d="
|
|
897
|
-
<path d="
|
|
879
|
+
<path d="M1125 0H-155V720H1125V0Z" fill="#FCFCFD"/>
|
|
880
|
+
<path d="M1125 458.24C1050.76 406.64 976.52 355.12 875.116 339.28C773.854 323.36 645.569 343.2 553.836 321.28C462.103 299.44 406.92 235.84 372.36 175.36C337.943 114.88 324.147 57.44 310.352 0H1125V458.24Z" fill="#F5F5F5"/>
|
|
881
|
+
<path d="M-155 261.76C-52.0311 273.44 50.9378 285.04 150.351 305.36C249.622 325.68 345.338 354.72 421 396C496.662 437.28 552.271 490.72 588.68 546.72C625.089 602.72 642.298 661.36 659.649 720H-155V261.76Z" fill="#F5F5F5"/>
|
|
898
882
|
</g>
|
|
899
|
-
<path d="
|
|
900
|
-
<path d="
|
|
901
|
-
<path d="
|
|
902
|
-
<path d="
|
|
903
|
-
<path d="
|
|
904
|
-
<path d="
|
|
905
|
-
<path d="
|
|
906
|
-
<path d="
|
|
907
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
908
|
-
<path d="
|
|
909
|
-
<circle cx="
|
|
910
|
-
<circle cx="
|
|
911
|
-
<circle cx="
|
|
912
|
-
<circle cx="
|
|
913
|
-
<path d="
|
|
914
|
-
<path d="
|
|
915
|
-
<path d="
|
|
916
|
-
<path d="
|
|
917
|
-
<path d="
|
|
918
|
-
<path d="
|
|
919
|
-
<path d="
|
|
920
|
-
<path d="
|
|
921
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
922
|
-
<path d="
|
|
923
|
-
<circle cx="
|
|
924
|
-
<circle cx="
|
|
925
|
-
<circle cx="
|
|
926
|
-
<circle cx="
|
|
927
|
-
<path d="
|
|
928
|
-
<path d="
|
|
929
|
-
<path d="
|
|
930
|
-
<path d="
|
|
931
|
-
<path d="
|
|
932
|
-
<path d="
|
|
933
|
-
<path d="
|
|
934
|
-
<path d="
|
|
935
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
936
|
-
<path d="
|
|
937
|
-
<circle cx="
|
|
938
|
-
<circle cx="
|
|
939
|
-
<circle cx="
|
|
940
|
-
<circle cx="
|
|
883
|
+
<path d="M544.052 551.76C544.052 564.663 532.748 568.44 527.096 568.716H409.233H286.407C277.143 568.716 274.276 557.412 274 551.76V296.596C274 285.348 282.271 282.811 286.407 282.949H325.693C326.224 282.949 326.732 282.738 327.107 282.363L354.885 254.586C355.26 254.211 355.769 254 356.299 254H461.753C462.284 254 462.792 254.211 463.167 254.586L490.945 282.363C491.32 282.738 491.828 282.949 492.359 282.949H530.405C541.323 282.949 544.052 292.047 544.052 296.596V551.76Z" fill="white" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
884
|
+
<path d="M419.17 552.537C425.204 468.761 425.026 423.186 419.938 357.968C419.52 352.612 425.815 349.381 429.922 352.845C435.45 357.507 441.324 362.379 443.144 363.592C446.866 366.074 466.717 324.305 496.079 301.972C514.37 289.003 529.719 296.892 535.03 300.48C536.355 301.375 537.07 302.821 537.156 304.418C541.289 380.961 541.556 533.124 537.021 545.143C533.165 555.362 528.735 558.445 524.542 558.416C524.04 558.412 523.528 558.418 523.032 558.496C485.092 564.445 462.244 562.83 424.551 558.975C421.323 558.645 418.937 555.773 419.17 552.537Z" fill="#E5E5E5"/>
|
|
885
|
+
<path d="M444.983 322.145L438.532 314.676C436.02 311.767 436.867 307.288 440.17 305.322C454.878 296.563 462.793 288.097 470.971 273.816C473.021 270.236 477.952 269.526 480.793 272.517L486.81 278.85C488.997 281.152 489.011 284.76 486.843 287.079L453.908 322.321C451.472 324.927 447.315 324.845 444.983 322.145Z" fill="#E5E5E5"/>
|
|
886
|
+
<path d="M399.321 323.44L406.055 315.643C408.087 313.289 407.985 309.773 405.819 307.542L372.643 273.37C370.268 270.925 366.336 270.946 363.988 273.417L357.366 280.388C354.842 283.044 355.28 287.316 358.222 289.499C371.612 299.431 379.899 307.937 389.541 322.694C391.768 326.103 396.659 326.522 399.321 323.44Z" fill="#E5E5E5"/>
|
|
887
|
+
<path d="M355.885 254.827L407.768 310.732C408.559 311.584 409.908 311.584 410.699 310.732L462.582 254.827" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
888
|
+
<path d="M491.944 282.949L438.062 341.656C437.247 342.543 435.839 342.515 435.061 341.596L409.232 311.071" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
889
|
+
<path d="M327.761 282.949L381.644 341.656C382.458 342.543 383.866 342.515 384.644 341.596L410.473 311.071" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
890
|
+
<path d="M409.646 312.311V569.13" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
891
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M295.345 297.01H321.221C323.047 297.01 324.821 297.634 326.237 298.788C347.817 316.375 359.139 328.695 373.679 350.165C375.85 353.369 379.982 354.632 383.542 353.115L389.367 350.634C394.432 348.477 400.114 351.986 400.463 357.48C404.75 424.938 404.76 468.249 399.326 532.209C398.126 530.526 396.158 529.428 393.934 529.428C390.279 529.428 387.317 532.391 387.317 536.045C387.317 539.7 390.279 542.662 393.934 542.662C395.744 542.662 397.384 541.936 398.578 540.758C398.345 543.352 398.104 545.982 397.854 548.649C397.503 552.391 394.58 555.395 390.844 555.805C358.862 559.312 335.46 559.181 294.742 555.756C290.363 555.388 287.112 551.532 287.454 547.152C293.954 463.817 293.661 407.862 287.355 305.537C287.071 300.929 290.728 297.01 295.345 297.01ZM311.224 399.572C308.94 399.572 307.088 401.423 307.088 403.707C307.088 405.991 308.94 407.843 311.224 407.843H366.641C368.925 407.843 370.776 405.991 370.776 403.707C370.776 401.423 368.925 399.572 366.641 399.572H311.224ZM400.551 369.796C400.551 373.45 397.588 376.413 393.934 376.413C390.279 376.413 387.317 373.45 387.317 369.796C387.317 366.141 390.279 363.179 393.934 363.179C397.588 363.179 400.551 366.141 400.551 369.796ZM393.934 431.829C397.588 431.829 400.551 428.867 400.551 425.212C400.551 421.558 397.588 418.595 393.934 418.595C390.279 418.595 387.317 421.558 387.317 425.212C387.317 428.867 390.279 431.829 393.934 431.829ZM400.551 480.629C400.551 484.283 397.588 487.246 393.934 487.246C390.279 487.246 387.317 484.283 387.317 480.629C387.317 476.974 390.279 474.012 393.934 474.012C397.588 474.012 400.551 476.974 400.551 480.629Z" fill="#E5E5E5"/>
|
|
892
|
+
<path d="M305.018 398.745H364.57" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
893
|
+
<circle cx="393.103" cy="368.141" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
894
|
+
<circle cx="393.103" cy="423.558" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
895
|
+
<circle cx="393.103" cy="478.974" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
896
|
+
<circle cx="393.103" cy="534.391" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
897
|
+
<path d="M625.677 489.76C625.677 502.663 614.373 506.44 608.721 506.716H490.858H368.032C358.768 506.716 355.901 495.412 355.625 489.76V234.596C355.625 223.348 363.896 220.811 368.032 220.949H407.318C407.849 220.949 408.357 220.738 408.732 220.363L436.51 192.586C436.885 192.211 437.394 192 437.924 192H543.378C543.909 192 544.417 192.211 544.792 192.586L572.57 220.363C572.945 220.738 573.453 220.949 573.984 220.949H612.03C622.948 220.949 625.677 230.047 625.677 234.596V489.76Z" fill="white" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
898
|
+
<path d="M500.795 490.537C506.829 406.761 506.651 361.186 501.563 295.968C501.145 290.612 507.44 287.381 511.547 290.845C517.075 295.507 522.949 300.379 524.769 301.592C528.491 304.074 548.342 262.305 577.704 239.972C595.995 227.003 611.344 234.892 616.655 238.48C617.98 239.375 618.695 240.821 618.781 242.418C622.914 318.961 623.181 471.124 618.646 483.143C614.79 493.362 610.36 496.445 606.167 496.416C605.665 496.412 605.153 496.418 604.657 496.496C566.717 502.445 543.869 500.83 506.176 496.975C502.948 496.645 500.562 493.773 500.795 490.537Z" fill="#E5E5E5"/>
|
|
899
|
+
<path d="M526.608 260.145L520.157 252.676C517.645 249.767 518.492 245.288 521.795 243.322C536.503 234.563 544.418 226.097 552.596 211.816C554.646 208.236 559.577 207.526 562.418 210.517L568.435 216.85C570.622 219.152 570.636 222.76 568.468 225.079L535.533 260.321C533.097 262.927 528.94 262.845 526.608 260.145Z" fill="#E5E5E5"/>
|
|
900
|
+
<path d="M480.946 261.44L487.68 253.643C489.712 251.289 489.61 247.773 487.444 245.542L454.268 211.37C451.893 208.925 447.961 208.946 445.613 211.417L438.991 218.388C436.467 221.044 436.905 225.316 439.847 227.499C453.237 237.431 461.524 245.937 471.166 260.694C473.393 264.103 478.284 264.522 480.946 261.44Z" fill="#E5E5E5"/>
|
|
901
|
+
<path d="M437.51 192.827L489.393 248.732C490.184 249.584 491.533 249.584 492.324 248.732L544.207 192.827" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
902
|
+
<path d="M573.569 220.949L519.687 279.656C518.872 280.543 517.464 280.515 516.686 279.596L490.857 249.071" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
903
|
+
<path d="M409.386 220.949L463.269 279.656C464.083 280.543 465.491 280.515 466.269 279.596L492.098 249.071" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
904
|
+
<path d="M491.271 250.311V507.13" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
905
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M376.97 235.01H402.846C404.672 235.01 406.446 235.634 407.862 236.788C429.442 254.375 440.764 266.695 455.304 288.165C457.475 291.369 461.607 292.632 465.167 291.115L470.992 288.634C476.057 286.477 481.739 289.986 482.088 295.48C486.375 362.938 486.385 406.249 480.951 470.209C479.751 468.526 477.783 467.428 475.559 467.428C471.904 467.428 468.942 470.391 468.942 474.045C468.942 477.7 471.904 480.662 475.559 480.662C477.369 480.662 479.009 479.936 480.203 478.758C479.97 481.352 479.729 483.982 479.479 486.649C479.128 490.391 476.205 493.395 472.469 493.805C440.487 497.312 417.085 497.181 376.367 493.756C371.988 493.388 368.737 489.532 369.079 485.152C375.579 401.817 375.286 345.862 368.98 243.537C368.696 238.929 372.353 235.01 376.97 235.01ZM392.849 337.572C390.565 337.572 388.713 339.423 388.713 341.707C388.713 343.991 390.565 345.843 392.849 345.843H448.266C450.55 345.843 452.401 343.991 452.401 341.707C452.401 339.423 450.55 337.572 448.266 337.572H392.849ZM482.176 307.796C482.176 311.45 479.213 314.413 475.559 314.413C471.904 314.413 468.942 311.45 468.942 307.796C468.942 304.141 471.904 301.179 475.559 301.179C479.213 301.179 482.176 304.141 482.176 307.796ZM475.559 369.829C479.213 369.829 482.176 366.867 482.176 363.212C482.176 359.558 479.213 356.595 475.559 356.595C471.904 356.595 468.942 359.558 468.942 363.212C468.942 366.867 471.904 369.829 475.559 369.829ZM482.176 418.629C482.176 422.283 479.213 425.246 475.559 425.246C471.904 425.246 468.942 422.283 468.942 418.629C468.942 414.974 471.904 412.012 475.559 412.012C479.213 412.012 482.176 414.974 482.176 418.629Z" fill="#E5E5E5"/>
|
|
906
|
+
<path d="M386.643 336.745H446.195" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
907
|
+
<circle cx="474.728" cy="306.141" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
908
|
+
<circle cx="474.728" cy="361.558" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
909
|
+
<circle cx="474.728" cy="416.974" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
910
|
+
<circle cx="474.728" cy="472.391" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
911
|
+
<path d="M706.677 427.76C706.677 440.663 695.373 444.44 689.721 444.716H571.858H449.032C439.768 444.716 436.901 433.412 436.625 427.76V172.596C436.625 161.348 444.896 158.811 449.032 158.949H488.318C488.849 158.949 489.357 158.738 489.732 158.363L517.51 130.586C517.885 130.211 518.394 130 518.924 130H624.378C624.909 130 625.417 130.211 625.792 130.586L653.57 158.363C653.945 158.738 654.453 158.949 654.984 158.949H693.03C703.948 158.949 706.677 168.047 706.677 172.596V427.76Z" fill="white" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
912
|
+
<path d="M581.795 428.537C587.829 344.761 587.651 299.186 582.563 233.968C582.145 228.612 588.44 225.381 592.547 228.845C598.075 233.507 603.949 238.379 605.769 239.592C609.491 242.074 629.342 200.305 658.704 177.972C676.995 165.003 692.344 172.892 697.655 176.48C698.98 177.375 699.695 178.821 699.781 180.418C703.914 256.961 704.181 409.124 699.646 421.143C695.79 431.362 691.36 434.445 687.167 434.416C686.665 434.412 686.153 434.418 685.657 434.496C647.717 440.445 624.869 438.83 587.176 434.975C583.948 434.645 581.562 431.773 581.795 428.537Z" fill="#E5E5E5"/>
|
|
913
|
+
<path d="M607.608 198.145L601.157 190.676C598.645 187.767 599.492 183.288 602.795 181.322C617.503 172.563 625.418 164.097 633.596 149.816C635.646 146.236 640.577 145.526 643.418 148.517L649.435 154.85C651.622 157.152 651.636 160.76 649.468 163.079L616.533 198.321C614.097 200.927 609.94 200.845 607.608 198.145Z" fill="#E5E5E5"/>
|
|
914
|
+
<path d="M561.946 199.44L568.68 191.643C570.712 189.289 570.61 185.773 568.444 183.542L535.268 149.37C532.893 146.925 528.961 146.946 526.613 149.417L519.991 156.388C517.467 159.044 517.905 163.316 520.847 165.499C534.237 175.431 542.524 183.937 552.166 198.694C554.393 202.103 559.284 202.522 561.946 199.44Z" fill="#E5E5E5"/>
|
|
915
|
+
<path d="M518.51 130.827L570.393 186.732C571.184 187.584 572.533 187.584 573.324 186.732L625.207 130.827" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
916
|
+
<path d="M654.569 158.949L600.687 217.656C599.872 218.543 598.464 218.515 597.686 217.596L571.857 187.071" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
917
|
+
<path d="M490.386 158.949L544.269 217.656C545.083 218.543 546.491 218.515 547.269 217.596L573.098 187.071" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
918
|
+
<path d="M572.271 188.311V445.13" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
919
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M457.97 173.01H483.846C485.672 173.01 487.446 173.634 488.862 174.788C510.442 192.375 521.764 204.695 536.304 226.165C538.475 229.369 542.607 230.632 546.167 229.115L551.992 226.634C557.057 224.477 562.739 227.986 563.088 233.48C567.375 300.938 567.385 344.249 561.951 408.209C560.751 406.526 558.783 405.428 556.559 405.428C552.904 405.428 549.942 408.391 549.942 412.045C549.942 415.7 552.904 418.662 556.559 418.662C558.369 418.662 560.009 417.936 561.203 416.758C560.97 419.352 560.729 421.982 560.479 424.649C560.128 428.391 557.205 431.395 553.469 431.805C521.487 435.312 498.085 435.181 457.367 431.756C452.988 431.388 449.737 427.532 450.079 423.152C456.579 339.817 456.286 283.862 449.98 181.537C449.696 176.929 453.353 173.01 457.97 173.01ZM473.849 275.572C471.565 275.572 469.713 277.423 469.713 279.707C469.713 281.991 471.565 283.843 473.849 283.843H529.266C531.55 283.843 533.401 281.991 533.401 279.707C533.401 277.423 531.55 275.572 529.266 275.572H473.849ZM563.176 245.796C563.176 249.45 560.213 252.413 556.559 252.413C552.904 252.413 549.942 249.45 549.942 245.796C549.942 242.141 552.904 239.179 556.559 239.179C560.213 239.179 563.176 242.141 563.176 245.796ZM556.559 307.829C560.213 307.829 563.176 304.867 563.176 301.212C563.176 297.558 560.213 294.595 556.559 294.595C552.904 294.595 549.942 297.558 549.942 301.212C549.942 304.867 552.904 307.829 556.559 307.829ZM563.176 356.629C563.176 360.283 560.213 363.246 556.559 363.246C552.904 363.246 549.942 360.283 549.942 356.629C549.942 352.974 552.904 350.012 556.559 350.012C560.213 350.012 563.176 352.974 563.176 356.629Z" fill="#E5E5E5"/>
|
|
920
|
+
<path d="M467.643 274.745H527.195" stroke="#A3A3A3" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
921
|
+
<circle cx="555.728" cy="244.141" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
922
|
+
<circle cx="555.728" cy="299.558" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
923
|
+
<circle cx="555.728" cy="354.974" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
924
|
+
<circle cx="555.728" cy="410.391" r="4.1169" stroke="#A3A3A3" stroke-width="5"/>
|
|
941
925
|
</g>
|
|
942
926
|
<defs>
|
|
943
927
|
<clipPath id="clip0_65_3351">
|
|
944
|
-
<rect width="
|
|
928
|
+
<rect width="980" height="700" fill="white"/>
|
|
945
929
|
</clipPath>
|
|
946
930
|
<clipPath id="clip1_65_3351">
|
|
947
|
-
<rect width="
|
|
931
|
+
<rect width="980" height="700" fill="white"/>
|
|
948
932
|
</clipPath>
|
|
949
933
|
</defs>
|
|
950
934
|
</svg>
|
|
951
|
-
`;var _t={image:t1,"product-1":q2,"product-2":G2,"product-3":V2,"product-4":O2,"product-5":U2,"product-6":$2,"collection-1":K2,"collection-2":z2,"collection-3":W2,"collection-4":J2,"collection-5":Y2,"collection-6":Q2,"lifestyle-1":X2,"lifestyle-2":e1,"product-apparel-1":i1,"product-apparel-2":n1,"product-apparel-3":r1,"product-apparel-4":a1,"collection-apparel-1":o1,"collection-apparel-2":s1,"collection-apparel-3":l1,"collection-apparel-4":h1,"hero-apparel-1":d1,"hero-apparel-2":c1,"hero-apparel-3":u1,"blog-apparel-1":C1,"blog-apparel-2":m1,"blog-apparel-3":p1,"detailed-apparel-1":f1},g1=_t;function E5(n){return e=>{let t=g1[e];return t?.src?`<img src="${t.src}" alt="${e}" class="placeholder-svg placeholder-svg--${e}" />`:t}}function v5(n){return(e,t)=>(typeof e=="object"&&"value"in e&&(e=e.value),`<span data-swell-inline-editable="${t}">${e}</span>`)}var Mt={asset_url:K3,brightness_difference:z3,color_brightness:W3,color_contrast:J3,color_darken:Y3,color_desaturate:Q3,color_difference:X3,color_extract:e5,color_lighten:t5,color_mix:i5,color_modify:n5,color_saturate:r5,color_to_hex:a5,color_to_hsl:o5,color_to_rgb:s5,date:E4,default_errors:h5,divided_by:d5,font_face:c5,font_modify:u5,font_url:C5,format_address:I2,image_tag:m5,image_url:H2,inline_asset_content:p5,json:f5,json_pretty:g5,money:w5,money_with_currency:y5,money_without_currency:S5,money_without_trailing_zeros:k5,stylesheet_tag:L5,time_tag:A5,translate:i3,t:i3,where:b5,hex_to_rgba:T5,item_count_for_variant:B2,payment_button:_5,payment_terms:M5,placeholder_svg_tag:E5,inline_editable:v5};function y1(n){(0,w1.each)(Mt,(e,t)=>{if(typeof e=="function")n.engine.registerFilter(t,e(n));else if(typeof e.bind=="function"){let{bind:i,resolve:r}=e;n.engine.registerFilter(t,Et(n,i,r))}})}function Et(n,e,t=[]){let i=e(n);return Array.isArray(t)?async(...r)=>{let a=await Promise.all(r.map((o,s)=>Array.isArray(t[s])||t[s]===!0?S1(o,t[s]):o));return i(...a)}:i}async function S1(n,e){if(!n)return n;let t=n;t instanceof Promise&&(t=await t);try{if(Array.isArray(e))for(let i of e){if(typeof i!="string")continue;let[r,...a]=i.split("."),o=t[r];o instanceof Promise?t[r]=await o:typeof o?.resolve=="function"&&(t[r]=await o.resolve()),a.length>0&&(t[r]=await S1(t[r],[a.join(".")]))}}catch{}return t}var k1=require("liquidjs");var L1={...k1.defaultOperators,"==":A1};function A1(n,e){return _4(n)?n.equals(e):_4(e)?e.equals(n):(n=X(n),e=X(e),h4(n)?h4(e)&&vt(n,e):n==e)}function vt(n,e){return n.length!==e.length?!1:!n.some((t,i)=>!A1(t,e[i]))}var D4=s4(require("color"),1),S=class n{color;colorValues;red;green;blue;constructor(e){try{this.color=(0,D4.default)(e),this.colorValues=this.color.object(),this.red=Number(this.colorValues.r),this.green=Number(this.colorValues.g),this.blue=Number(this.colorValues.b)}catch{this.color=(0,D4.default)("#000000"),this.colorValues=this.color.object(),this.red=Number(this.colorValues.r),this.green=Number(this.colorValues.g),this.blue=Number(this.colorValues.b)}}static get(e){return e instanceof n?e:new n(e)}toString(){return this.color.string()}lighten(e){return this.color.lighten(e/100).hex().toLowerCase()}darken(e){return this.color.darken(e/100).hex().toLowerCase()}rgb(){return this.color.rgb().toString()}rgba(e){return this.color.alpha(e).rgb().toString()}hsl(){return this.color.hsl().round().toString()}hex(){return this.color.hex().toLowerCase()}saturate(e){return this.color.saturate(e/100).hex().toLowerCase()}desaturate(e){return this.color.desaturate(e/100).hex().toLowerCase()}modify(e,t){if(!["red","green","blue","alpha","hue","lightness","saturation"].includes(e))return this.toString();if(e==="saturation")return this.color.saturationl(t);let i=this.color[e](t);return e==="alpha"?i.string():i.hex()}extract(e){return["red","green","blue","alpha","hue","lightness","saturation"].includes(e)?e==="saturation"?this.color.saturationl():this.color[e]().toString():this.toString()}mix(e,t){let i=this.color,r=e.color,[a,o,s]=i.rgb().array(),[l,c,u]=r.rgb().array(),h=D4.default.rgb([v4(a,l,t),v4(o,c,t),v4(s,u,t)]).alpha(v4(i.alpha(),r.alpha(),t));return i.alpha()!==1?h.string():h.hex()}contrast(e){return this.color.contrast(e.color).toFixed(1)}difference(e){let[t,i,r]=this.color.rgb().array(),[a,o,s]=e.color.rgb().array();return n3(t,a)+n3(i,o)+n3(r,s)}brightness(){return(this.red*299+this.green*587+this.blue*114)/1e3}brightnessDifference(e){return Math.max(this.brightness(),e.brightness())-Math.min(this.brightness(),e.brightness())}};function v4(n,e,t){return(n*t+e*(100-t))/100}function n3(n,e){return Math.max(n,e)-Math.min(n,e)}function Dt(n){let[e,t,i]=(0,D4.default)(n).rgb().array();return(e*299+t*587+i*114)/1e3}var P4=class extends D5.Liquid{theme;getThemeConfig;getThemeTemplateConfigByType;getAssetUrl;renderTemplate;renderTemplateString;renderTemplateSections;renderTranslation;renderCurrency;engine;isEditor;locale;currency;layoutName;extName;componentsDir;sectionsDir;lastSchema;constructor({theme:e,getThemeConfig:t,getThemeTemplateConfigByType:i,getAssetUrl:r,renderTemplate:a,renderTemplateString:o,renderTemplateSections:s,renderTranslation:l,renderCurrency:c,isEditor:u,locale:h,currency:p,layoutName:C,extName:m,componentsDir:f,sectionsDir:g}){super(),this.theme=e,this.getThemeConfig=t||e.getThemeConfig.bind(e),this.getThemeTemplateConfigByType=i||e.getThemeTemplateConfigByType.bind(e),this.getAssetUrl=r||e.getAssetUrl.bind(e),this.renderTemplate=a||e.renderTemplate.bind(e),this.renderTemplateString=o||e.renderTemplateString.bind(e),this.renderTemplateSections=s||e.renderTemplateSections.bind(e),this.renderTranslation=l||e.renderTranslation.bind(e),this.renderCurrency=c||e.renderCurrency.bind(e),this.isEditor=u,this.locale=h||"en-US",this.currency=p||"USD",this.layoutName=C||"theme",this.extName=m||"liquid",this.componentsDir=f||"components",this.sectionsDir=g||"sections",this.engine=this.initLiquidEngine()}initLiquidEngine(){return this.engine=new D5.Liquid({cache:!1,relativeReference:!1,fs:this.getLiquidFS(),ownPropertyOnly:!1,operators:L1}),N2(this),y1(this),this.engine}getLiquidFS(){let{getThemeConfig:e,resolveFilePath:t}=this;return{async readFile(i){let r=t(i);return e(r).then(a=>a?.file_data||`<!-- theme template not found: ${r} -->`)},async exists(i){return!0},readFileSync(i){return""},existsSync(i){return!1},contains(i,r){return!0},resolve(i,r,a){return r},fallback(i){}}}async parseAndRender(e,t){return this.engine.parseAndRender(e,t)}resolveFilePath(e,t){return`theme/${e}.${t||this.extName}`}async resolveFilePathByType(e,t){if(this.getThemeTemplateConfigByType){let i=await this.getThemeTemplateConfigByType(e,t);if(i?.file_path)return i.file_path}}async getComponentPath(e){return await this.resolveFilePathByType("components",e)||this.resolveFilePath(`${this.componentsDir}/${e}`)}async getSectionPath(e){return await this.resolveFilePathByType("sections",e)||this.resolveFilePath(`${this.sectionsDir}/${e}`)}async getSectionGroupPath(e){return await this.resolveFilePathByType("sections",`${e}.json`)||this.resolveFilePath(`${this.sectionsDir}/${e}`,"json")}};var P5=require("lodash-es");async function x5(n,e,t){let r=(await Promise.all(e?.map(async a=>({...a,items:await R5(n,a.items,t)})))).map(a=>(n.shopifyCompatibility&&Object.assign(a,n.shopifyCompatibility.getMenuData(a)),a))||[];return Z5([...r,...n.shopifyCompatibility?r.map(a=>{if(a.handle)return{...a,id:a.handle}}).filter(Boolean):[]])}async function R5(n,e,t){return e?.length>0?Promise.all(e.map(async r=>{let{url:a,resource:o}=await b1(n,r,{trailingSlash:t?.currentUrl?.endsWith("/")&&t.currentUrl!=="/"}),s=r.items&&await R5(n,r.items,t);return{...r,url:a,resource:o,levels:T1(s),current:t?.currentUrl===a,active:t?.currentUrl?.startsWith(a),...s?{items:s,child_current:Pt(s),child_active:j5(s)}:void 0}})):[]}async function b1(n,e,t){if(!e)return{url:"#invalid-link-item"};if(typeof e=="object"&&e!==null){let{url:i,resource:r}=await M1(n,e),a=i.slice(-1)==="/";return t?.trailingSlash&&!a&&i.length>1&&(i=i+"/"),!t?.trailingSlash&&a&&i.length>1&&(i=i.slice(0,-1)),{url:i,resource:r}}else return{url:e}}function T1(n){return n?.reduce((e,t)=>Math.max(e,t.items?1+T1(t.items):0),0)||0}function Pt(n){return n.some(e=>e.current||e.items&&j5(e.items))}function j5(n){return n.some(e=>e.active||e.items&&j5(e.items))}function _1(n){return(0,P5.get)(n,"id",(0,P5.get)(n,"slug",typeof n=="string"?n:""))||""}async function M1(n,e){let{type:t,value:i,url:r,model:a}=e;if(typeof t>"u"&&r)return{url:r};if(t==="url")return{url:typeof i=="string"?i:""};let o=_1(i);switch(t){case"home":return{url:r4(n,"index")};case"category":return o?await n4(n,"categories/category",o):{url:r4(n,"categories/index")};case"product":return o?await n4(n,"products/product",o):{url:r4(n,"products/index")};case"page":return await n4(n,"pages/page",o);case"blog":return await n4(n,"blogs/blog",o,async s=>new _(n.swell,"content/blog-categories",s.category_id).slug);case"blog_category":return await n4(n,"blogs/category",o);case"content_list":if(a){let s=a?.replace("content/","");return{url:r4(n,"content/index",s),resource:new A(n.swell,a)}}break;case"content":if(a){let s=a?.replace("content/","");return await n4(n,"content/content",o,s)}break;case"search":return{url:r4(n,"search")};default:break}return{url:`/${o}`}}function r4(n,e,t,i){let{props:r}=n,a=r?.pages?.find(o=>o.id===e)?.url;return a?.includes(":collection")&&i&&(a=a.replace(":collection",i)),a?.includes(":slug")&&(a=a.replace(":slug",t||"")),a||`/${t||""}`}async function n4(n,e,t,i){let{props:r}=n,a=r?.pages?.find(c=>c.id===e)?.collection,o=a?new _(n.swell,a,t):void 0,s=await o?.slug||t,l=typeof i=="string"?i:void 0;return o?.id&&typeof i=="function"&&(l=await i(o)),{url:r4(n,e,s,typeof l=="string"?l:void 0),resource:o}}var E1=s4(require("bluebird"),1);var{Promise:r3}=E1.default,xt=50,x4=class n{static cache;swell;constructor(e){this.swell=e}async loadTheme(){return this.loadThemeAllConfigs()}async preloadTheme(e,t){await r3.all([this.cacheManifest(e),r3.map(t,i=>this.cacheThemeConfig(i),{concurrency:10})])}async loadThemeAllConfigs(){let{swellHeaders:e}=this.swell,t=String(e["theme-config-version"]);if(!t)throw new Error("Theme version is required");return(await this.getCache().fetch(`configs-all:${this.swell.instanceId}:v@${t}`,()=>this.fetchThemeConfigsFromSource()))?.results??[]}async loadThemeFromManifest(){let e=await this.fetchManifest();if(!e)throw new Error(`Failed to resolve manifest: ${this.swell.instanceId}`);let t=[],i=new Map;if(await r3.map(Object.values(e),r=>this.getCache().get(`config:${r}`).then(a=>{a?i.set(a.hash,a):t.push(r)}),{concurrency:10}),t.length>0){let a=(await this.fetchThemeConfigsFromSource(i.size===0?void 0:t))?.results??[];for(let o of a)i.set(o.hash,o);await r3.map(a,o=>this.cacheThemeConfig(o),{concurrency:10})}return Array.from(i.values())}async cacheManifest(e){await this.getCache().set(`manifest:${e.hash}`,e.manifest)}async cacheThemeConfig(e){await this.getCache().set(`config:${e.hash}`,e)}async fetchManifest(){let{swellHeaders:e}=this.swell,t=e["theme-version-hash"],i=await this.getCache().get(`manifest:${t}`);if(!i){let r=await this.swell.get("/:themes:versions/:last",{...this.themeVersionQueryFilter(),fields:"hash, manifest"});r&&(await this.cacheManifest(r),i=r.manifest)}return i}async fetchThemeConfigsFromSource(e=void 0){e=e||[];let{swellHeaders:t}=this.swell,i=String(t["theme-config-version"]),r=e.length===0||e.length>xt;return console.log(`Retrieving ${r?"all":"some"} theme configurations - version: ${i}`),await this.swell.get("/:themes:configs",{...this.themeVersionQueryFilter(),...r?{}:{hash:{$in:e}},limit:1e3,fields:"type, name, file, file_path",include:{file_data:v3}})}themeVersionQueryFilter(){let{swellHeaders:e}=this.swell,t=e["theme-id"];if(!t)throw new Error("Theme ID is required");return{parent_id:t,branch_id:e["theme-branch-id"]||null,preview:e["deployment-mode"]==="editor"||e["deployment-mode"]==="preview"?!0:{$ne:!0}}}getCache(){return n.cache||(n.cache=new T4(this.swell.workerEnv?.THEME)),n.cache}};var I5=class{swell;props;globals;forms;resources;liquidSwell;themeConfigs=null;page;pageId;shopifyCompatibility=null;shopifyCompatibilityClass=m4;shopifyCompatibilityConfig=null;formData={};globalData={};constructor(e,t={}){let{forms:i,resources:r,globals:a,shopifyCompatibilityClass:o}=t;this.swell=e,this.props=this.getSwellAppThemeProps(e.config),this.shopifyCompatibilityConfig=e.shopifyCompatibilityConfig||null,this.globals=a||{},this.forms=i,this.resources=r,this.shopifyCompatibilityClass=o||m4,this.liquidSwell=new P4({theme:this,getThemeConfig:this.getThemeConfig.bind(this),getAssetUrl:this.getAssetUrl.bind(this),getThemeTemplateConfigByType:this.getThemeTemplateConfigByType.bind(this),renderTemplate:this.renderTemplate.bind(this),renderTemplateString:this.renderTemplateString.bind(this),renderTemplateSections:this.renderTemplateSections.bind(this),renderTranslation:this.lang.bind(this),renderCurrency:this.renderCurrency.bind(this),isEditor:e.isEditor})}getSwellAppThemeProps(e){return e?.storefront?.theme||{}}async initGlobals(e){this.pageId=e;let{store:t,session:i,menus:r,geo:a,configs:o}=await this.getSettingsAndConfigs(),{settings:s,request:l,page:c,cart:u,account:h,customer:p}=await this.resolvePageData(t,o,i,e);this.page=c;let C={...this.globalData,store:t,settings:s,session:i,request:l,menus:r,page:c,cart:u,account:h,customer:p,geo:a,configs:o,translations:o?.translations,canonical_url:`${t.url}${this.swell.url?.pathname||""}`,shopify_compatibility:!!s.shopify_compatibility};this.shopifyCompatibility&&this.shopifyCompatibility.adaptGlobals(C),this.setGlobals(C),this.shopifyCompatibility&&this.shopifyCompatibility.adaptQueryParams()}setGlobals(e){this.globals={...this.globals,...e},this.liquidSwell.engine.options.globals={...this.globals}}async getSettingsAndConfigs(){let e=D3,[t,i]=await Promise.all([this.swell.getStorefrontSettings(),this.getAllThemeConfigs()]),r=await Promise.all(Array.from(i.values()).filter(c=>c.file_path.startsWith("theme/config/")).map(async c=>c.file_path.endsWith(".json")?this.getThemeConfig(c.file_path):c)),a={theme:{},editor:{},translations:{},presets:[],...r.reduce((c,u)=>{let h=u?.name.split(".")[0];if(h&&u?.file_path?.endsWith(".json")){let p;try{p=JSON.parse(u.file_data)}catch{p=null}c[h]=p}return c},{})},o=await this.swell.storefront.settings.session(),s=o.locale||t?.store?.locale;this.resolveTranslationLocale(a.translations,s),await this.setCompatibilityConfigs(a,s);let l=await this.resolveMenuSettings();return{store:t?.store,session:o,menus:l,geo:e,configs:a}}async resolvePageData(e,t,i,r){let a=String(this.swell.swellHeaders["theme-config-version"]),o=await this.swell.getCachedResource(`theme-settings-resolved:v@${a}`,[],()=>Z4(this,t.theme,t.editor?.settings));if(!o)throw new Error("Failed to resolve theme settings");let s={host:this.swell.url.host,origin:this.swell.url.origin,path:this.swell.url.pathname,query:this.swell.queryParams,locale:i?.locale||e.locale,currency:i?.currency||e.currency,is_editor:this.swell.isEditor,is_preview:this.swell.isPreview},l=this.props.pages?.find(C=>C.id===r),c={...l,current:Number(this.swell.queryParams.page)||1,url:this.swell.url.pathname,custom:!l,description:void 0,slug:void 0};if(r){let C=await this.getThemeTemplateConfigByType("templates",r),m;try{m=JSON.parse(C?.file_data||"")}catch{}if(m?.page){let{slug:f,label:g,description:Y}=m.page;c.slug=f,c.label=g||c.label,c.description=Y}}let[u,h]=await Promise.all([this.fetchSingletonResourceCached("cart",()=>this.fetchCart(),{}),this.fetchSingletonResourceCached("account",()=>this.fetchAccount(),null)]);if(!u)throw new Error("Failed to fetch cart");let p;return this.shopifyCompatibility&&(p=h),{settings:o,request:s,page:c,cart:u,account:h,customer:p}}async fetchSingletonResourceCached(e,t,i){let r=this.swell.storefront.session.getCookie();return r?this.swell.getCachedResource(`${e}-${r}`,[],()=>t()):i}async fetchCart(){let e=this.resources?.singletons?.cart,t=e?new e(this.swell):new W(this.swell,"cart");if(await t.id,!t?.id)return{};if(this.shopifyCompatibility){let i=c4(this.shopifyCompatibility,t);t.setCompatibilityProps(i)}return t}async fetchAccount(){let e=this.resources?.singletons?.account,t=e?new e(this.swell):new W(this.swell,"account");if(await t.id,!t?.id)return null;if(this.shopifyCompatibility){let i=$(this.shopifyCompatibility,t);t.setCompatibilityProps(i)}return t}getFormConfig(e){let t=e;if(this.shopifyCompatibility){let i=this.shopifyCompatibility.getAdaptedFormType(e);i&&(t=i)}return this.forms?.find(i=>i.id===t)}setFormData(e,t){let i=this.formData[e]||new V(e);i instanceof V&&(t?.params&&i.setParams(t.params),t?.errors?(i.setSuccess(!1),i.setErrors(t.errors)):t?.success&&(t.withoutErrors&&!i.errors?i.setSuccess(!0):t.withoutErrors||(i.setSuccess(!0),i.clearErrors())),this.shopifyCompatibility&&Object.assign(i,this.shopifyCompatibility.getFormData(i))),this.formData[e]=i,this.setGlobals({forms:this.formData})}setFormSuccessWithoutErrors(e){this.setFormData(e,{success:!0,withoutErrors:!0})}clearFormData(e){e?delete this.formData[e]:this.formData={},this.setGlobals({forms:this.formData})}serializeFormData(){let e={};for(let t in this.formData){let i=this.formData[t];e[t]={success:i.success,errors:i.errors&&Array.from(i.errors)}}return Object.keys(e).length>0?e:null}setGlobalData(e={}){this.globalData={...this.globalData,...e},this.setGlobals(this.globalData)}serializeGlobalData(){return Object.keys(this.globalData).length>0?this.globalData:null}updateSettings(e,t){return this.shopifyCompatibility?this.shopifyCompatibility.adaptSettings(e,t):p4(e,t)}resolveTranslationLocale(e,t){if(!e)return{};if(!t)return e;let i=t.split("-")[0];return(0,b.reduce)(e,(r,a,o)=>{if(N4(a))r[o]=this.resolveTranslationLocale(a,t);else if(typeof a=="string"&&a.startsWith("t:")){let s=a.slice(2),l=s.split("."),c=l.pop(),u=l.join("."),h=this.globals.translations;r[o]=(0,b.get)(h,`${u}.$locale.${t}.${c}`)||(0,b.get)(h,`${u}.$locale.${i}.${c}`)||(0,b.get)(h,s)||a}else r[o]=(0,b.get)(e,`$locale.${t}.${o}`)||(0,b.get)(e,`$locale.${i}.${o}`)||a;return r},{})}async setCompatibilityConfigs(e,t){let i=()=>(this.shopifyCompatibility||(this.shopifyCompatibility=new this.shopifyCompatibilityClass(this)),this.shopifyCompatibility);!Object.keys(e.editor).length&&e.settings_schema&&(e.editor=i().getEditorConfig(e.settings_schema),e.editor=await i().renderSchemaTranslations(this,e.editor,t)),!Object.keys(e.theme).length&&e.settings_data&&(e.theme=i().getThemeConfig(e.settings_data)),!Object.keys(e.presets).length&&e.settings_data&&(e.presets=i().getPresetsConfig(e.settings_data)),Object.keys(e.translations).length||(e.translations=await i().getLocaleConfig(this,t),Object.keys(e.translations).length||(this.shopifyCompatibility=null)),e.theme.shopify_compatibility?i():this.shopifyCompatibility&&(e.theme.shopify_compatibility=!0)}setCompatibilityData(e){!e||!this.shopifyCompatibility||this.shopifyCompatibility.adaptPageData(e)}resolveLookupSetting(e,t){if(t instanceof T)return t;let i=v1(e);if(i){if(e.multiple){if(t instanceof Array)return t.map(r=>this.resolveLookupResource(i,r))}else if(t!==""&&t!==null&&t!==void 0)return this.resolveLookupResource(i,t)}return null}resolveLookupResource(e,t){let i=this.resources?.records?.[e],r=i?new i(this.swell,t):new _(this.swell,e,t);return this.shopifyCompatibility&&this.shopifyCompatibility.adaptPageData({resource:r}),r}resolveMenuSettings(){return x5(this,this.swell.getStorefrontMenus(),{currentUrl:this.swell.url.pathname})}resolveMenuSetting(e){if(!e)return null;let t=this.globals.menus||{};return t[e]||t[e.replace(/-/g,"_")]||null}async lang(e,t,i){return await this.renderTranslation(e,t,i)}resolveFontSetting(e){if(this.shopifyCompatibility){let t=this.shopifyCompatibility.getFontFromShopifySetting(e),i=new D(t||e);return Object.assign(i,this.shopifyCompatibility.getFontData(i)),i}return new D(e)}resolveUrlSetting(e){let t=e;if(this.shopifyCompatibility){e?.startsWith("shopify://")&&(t=e.replace("shopify://","/"));let i=this.shopifyCompatibility.getAdaptedPageUrl(t);if(i)return i}return t}async getAllThemeConfigs(){if(!this.themeConfigs){let t=await new x4(this.swell).loadTheme(),i=new Map;for(let r of t)i.set(r.file_path,r);this.themeConfigs=i}return this.themeConfigs}async preloadThemeConfigs(e,t){await new x4(this.swell).preloadTheme(e,t)}getPageConfigPath(e){return this.shopifyCompatibility?`theme/${this.shopifyCompatibility.getThemeFilePath("templates",e)}.json`:`theme/templates/${e}.json`}async getThemeConfig(e){return(await this.getAllThemeConfigs()).get(e)??null}async getThemeTemplateConfig(e){if(e.endsWith(".json")||e.endsWith(".liquid"))return this.getThemeConfig(e);let t=await this.getThemeConfig(`${e}.json`);return t||this.getThemeConfig(`${e}.liquid`)}async getThemeTemplateConfigByType(e,t){let i=[`${e}/${t}`];this.shopifyCompatibility&&i.push(this.shopifyCompatibility.getThemeFilePath(e,t));for(let r of i){let a=await this.getThemeTemplateConfig(`theme/${r}`);if(a)return a}return null}async getAssetUrl(e){return(await this.getThemeConfig(`theme/assets/${e}`)||await this.getThemeConfig(`assets/${e}`))?.file?.url||null}async renderTemplate(e,t){let i=e?.file_data||null;if(e===null)return"";if(i===null)return`<!-- template not found: ${e?.file_path} -->`;try{return await this.liquidSwell.parseAndRender(i,t)}catch(r){return console.error(r),`<!-- template render error: ${r.message} -->`}}async renderTemplateString(e,t){try{return await this.liquidSwell.parseAndRender(e,t)}catch(i){return console.error(i),""}}async getSectionSchema(e){let t,i=await this.getThemeTemplateConfigByType("sections",e);if(i?.file_path?.endsWith(".json"))try{t=JSON.parse(i.file_data)||void 0}catch{return}else if(i?.file_path?.endsWith(".liquid")&&this.shopifyCompatibility){this.liquidSwell.lastSchema=void 0;let r=this.getSectionConfigWithSchemaTagOnly(i);if(!r)return;await this.renderTemplate(r);let a=this.liquidSwell.lastSchema;a&&(t=this.shopifyCompatibility.getSectionConfigSchema(a),t=await this.shopifyCompatibility.renderSchemaTranslations(this,t,this.globals.request?.locale))}return t.id=t.id||e,t.label=t.label||e,t.fields=t.fields||[],t}getSectionConfigWithSchemaTagOnly(e){let t="{% schema %}",i="{% endschema %}",r=e.file_data.indexOf(t),a=e.file_data.indexOf(i),o=e.file_data.slice(r+t.length,a);return r===-1||a===-1?null:{...e,file_data:t+o+i}}async renderThemeTemplate(e,t){let i=await this.getThemeTemplateConfig(e),r=await this.renderTemplate(i,{...t,template:i});if(i?.file_path?.endsWith(".json"))try{return JSON.parse(r)}catch(a){throw console.log("Unable to render theme template",i.file_path,r),new R4(a)}return r}async renderLayoutTemplate(e,t){let i=await this.getThemeTemplateConfigByType("layouts",e);if(i){let r=await this.renderThemeTemplate(i.file_path,t);return typeof r=="string"?r:`<!-- invalid layout: ${e}--> {{ content_for_layout }}`}throw new Error(`Layout template not found: ${e}`)}async renderPageTemplate(e,t,i){let r=null;if(i&&(r=await this.getThemeTemplateConfigByType("templates",i)),r||(r=await this.getThemeTemplateConfigByType("templates",e)),r){let a=await this.renderThemeTemplate(r.file_path,t);return a&&typeof a!="string"&&(a.id=String(r.name)),a}throw new j4("Page template not found",404,`templates/${e}`)}async renderPage(e,t){e&&this.setGlobals(e);let i;if(this.page?.id?i=await this.renderPageTemplate(this.page.id,e,t):i=await this.renderPageTemplate("404",e),typeof i!="string"&&i?.page){if(i.page.published===!1)throw new j4;i.page=this.resolveTranslationLocale(i.page,this.globals.request?.locale)}return i}async renderAllSections(e,t){let i=typeof e=="string"?e.split(/\s*,\s*/):e;return(await Promise.all(i.map?.(a=>this.renderSection(a,t)))).reduce((a,o,s)=>{let l=i[s];return this.shopifyCompatibility?a[l]=`
|
|
935
|
+
`;var Mt={image:i1,"product-1":G2,"product-2":V2,"product-3":O2,"product-4":U2,"product-5":$2,"product-6":K2,"collection-1":z2,"collection-2":W2,"collection-3":J2,"collection-4":Y2,"collection-5":Q2,"collection-6":X2,"lifestyle-1":e1,"lifestyle-2":t1,"product-apparel-1":n1,"product-apparel-2":r1,"product-apparel-3":a1,"product-apparel-4":o1,"collection-apparel-1":s1,"collection-apparel-2":l1,"collection-apparel-3":h1,"collection-apparel-4":d1,"hero-apparel-1":c1,"hero-apparel-2":u1,"hero-apparel-3":C1,"blog-apparel-1":m1,"blog-apparel-2":p1,"blog-apparel-3":f1,"detailed-apparel-1":g1},w1=Mt;function D5(n){return e=>{let t=w1[e];return t?.src?`<img src="${t.src}" alt="${e}" class="placeholder-svg placeholder-svg--${e}" />`:t}}function P5(n){return(e,t)=>(typeof e=="object"&&"value"in e&&(e=e.value),`<span data-swell-inline-editable="${t}">${e}</span>`)}var Et={asset_url:W4,brightness_difference:J4,color_brightness:Y4,color_contrast:Q4,color_darken:X4,color_desaturate:e5,color_difference:t5,color_extract:i5,color_lighten:n5,color_mix:r5,color_modify:a5,color_saturate:o5,color_to_hex:s5,color_to_hsl:l5,color_to_rgb:h5,date:v3,default_errors:c5,divided_by:u5,font_face:C5,font_modify:m5,font_url:p5,format_address:F2,image_tag:f5,image_url:B2,inline_asset_content:g5,json:w5,json_pretty:y5,money:S5,money_with_currency:k5,money_without_currency:L5,money_without_trailing_zeros:A5,stylesheet_tag:b5,time_tag:T5,translate:n4,t:n4,where:_5,hex_to_rgba:M5,item_count_for_variant:q2,payment_button:E5,payment_terms:v5,placeholder_svg_tag:D5,inline_editable:P5};function S1(n){(0,y1.each)(Et,(e,t)=>{if(typeof e=="function")n.engine.registerFilter(t,e(n));else if(typeof e.bind=="function"){let{bind:i,resolve:r}=e;n.engine.registerFilter(t,vt(n,i,r))}})}function vt(n,e,t=[]){let i=e(n);return Array.isArray(t)?async(...r)=>{let a=await Promise.all(r.map((o,s)=>Array.isArray(t[s])||t[s]===!0?k1(o,t[s]):o));return i(...a)}:i}async function k1(n,e){if(!n)return n;let t=n;D(t)&&(t=await t);try{if(Array.isArray(e))for(let i of e){if(typeof i!="string")continue;let[r,...a]=i.split("."),o=t[r];D(o)?t[r]=await o:typeof o?.resolve=="function"&&(t[r]=await o.resolve()),a.length>0&&(t[r]=await k1(t[r],[a.join(".")]))}}catch{}return t}var L1=require("liquidjs");var A1={...L1.defaultOperators,"==":b1};function b1(n,e){return M3(n)?n.equals(e):M3(e)?e.equals(n):(n=e3(n),e=e3(e),d3(n)?d3(e)&&Dt(n,e):n==e)}function Dt(n,e){return n.length!==e.length?!1:!n.some((t,i)=>!b1(t,e[i]))}var P3=l3(require("color"),1),S=class n{color;colorValues;red;green;blue;constructor(e){try{this.color=(0,P3.default)(e),this.colorValues=this.color.object(),this.red=Number(this.colorValues.r),this.green=Number(this.colorValues.g),this.blue=Number(this.colorValues.b)}catch{this.color=(0,P3.default)("#000000"),this.colorValues=this.color.object(),this.red=Number(this.colorValues.r),this.green=Number(this.colorValues.g),this.blue=Number(this.colorValues.b)}}static get(e){return e instanceof n?e:new n(e)}toString(){return this.color.string()}lighten(e){return this.color.lighten(e/100).hex().toLowerCase()}darken(e){return this.color.darken(e/100).hex().toLowerCase()}rgb(){return this.color.rgb().toString()}rgba(e){return this.color.alpha(e).rgb().toString()}hsl(){return this.color.hsl().round().toString()}hex(){return this.color.hex().toLowerCase()}saturate(e){return this.color.saturate(e/100).hex().toLowerCase()}desaturate(e){return this.color.desaturate(e/100).hex().toLowerCase()}modify(e,t){if(!["red","green","blue","alpha","hue","lightness","saturation"].includes(e))return this.toString();if(e==="saturation")return this.color.saturationl(t);let i=this.color[e](t);return e==="alpha"?i.string():i.hex()}extract(e){return["red","green","blue","alpha","hue","lightness","saturation"].includes(e)?e==="saturation"?this.color.saturationl():this.color[e]().toString():this.toString()}mix(e,t){let i=this.color,r=e.color,[a,o,s]=i.rgb().array(),[l,c,u]=r.rgb().array(),h=P3.default.rgb([D3(a,l,t),D3(o,c,t),D3(s,u,t)]).alpha(D3(i.alpha(),r.alpha(),t));return i.alpha()!==1?h.string():h.hex()}contrast(e){return this.color.contrast(e.color).toFixed(1)}difference(e){let[t,i,r]=this.color.rgb().array(),[a,o,s]=e.color.rgb().array();return r4(t,a)+r4(i,o)+r4(r,s)}brightness(){return(this.red*299+this.green*587+this.blue*114)/1e3}brightnessDifference(e){return Math.max(this.brightness(),e.brightness())-Math.min(this.brightness(),e.brightness())}};function D3(n,e,t){return(n*t+e*(100-t))/100}function r4(n,e){return Math.max(n,e)-Math.min(n,e)}function Pt(n){let[e,t,i]=(0,P3.default)(n).rgb().array();return(e*299+t*587+i*114)/1e3}var x3=class extends x5.Liquid{theme;getThemeConfig;getThemeTemplateConfigByType;getAssetUrl;renderTemplate;renderTemplateString;renderTemplateSections;renderTranslation;renderCurrency;engine;isEditor;locale;currency;layoutName;extName;componentsDir;sectionsDir;lastSchema;constructor({theme:e,getThemeConfig:t,getThemeTemplateConfigByType:i,getAssetUrl:r,renderTemplate:a,renderTemplateString:o,renderTemplateSections:s,renderTranslation:l,renderCurrency:c,isEditor:u,locale:h,currency:p,layoutName:C,extName:m,componentsDir:f,sectionsDir:g}){super(),this.theme=e,this.getThemeConfig=t||e.getThemeConfig.bind(e),this.getThemeTemplateConfigByType=i||e.getThemeTemplateConfigByType.bind(e),this.getAssetUrl=r||e.getAssetUrl.bind(e),this.renderTemplate=a||e.renderTemplate.bind(e),this.renderTemplateString=o||e.renderTemplateString.bind(e),this.renderTemplateSections=s||e.renderTemplateSections.bind(e),this.renderTranslation=l||e.renderTranslation.bind(e),this.renderCurrency=c||e.renderCurrency.bind(e),this.isEditor=u,this.locale=h||"en-US",this.currency=p||"USD",this.layoutName=C||"theme",this.extName=m||"liquid",this.componentsDir=f||"components",this.sectionsDir=g||"sections",this.engine=this.initLiquidEngine()}initLiquidEngine(){return this.engine=new x5.Liquid({cache:!1,relativeReference:!1,fs:this.getLiquidFS(),ownPropertyOnly:!1,operators:A1}),I2(this),S1(this),this.engine}getLiquidFS(){let{getThemeConfig:e,resolveFilePath:t}=this;return{async readFile(i){let r=t(i);return e(r).then(a=>a?.file_data||`<!-- theme template not found: ${r} -->`)},async exists(i){return!0},readFileSync(i){return""},existsSync(i){return!1},contains(i,r){return!0},resolve(i,r,a){return r},fallback(i){}}}async parseAndRender(e,t){return this.engine.parseAndRender(e,t)}resolveFilePath(e,t){return`theme/${e}.${t||this.extName}`}async resolveFilePathByType(e,t){if(this.getThemeTemplateConfigByType){let i=await this.getThemeTemplateConfigByType(e,t);if(i?.file_path)return i.file_path}}async getComponentPath(e){return await this.resolveFilePathByType("components",e)||this.resolveFilePath(`${this.componentsDir}/${e}`)}async getSectionPath(e){return await this.resolveFilePathByType("sections",e)||this.resolveFilePath(`${this.sectionsDir}/${e}`)}async getSectionGroupPath(e){return await this.resolveFilePathByType("sections",`${e}.json`)||this.resolveFilePath(`${this.sectionsDir}/${e}`,"json")}};var R5=require("lodash-es");async function j5(n,e,t){let r=(await Promise.all(e?.map(async a=>({...a,items:await Z5(n,a.items,t)})))).map(a=>(n.shopifyCompatibility&&Object.assign(a,n.shopifyCompatibility.getMenuData(a)),a))||[];return I5([...r,...n.shopifyCompatibility?r.map(a=>{if(a.handle)return{...a,id:a.handle}}).filter(Boolean):[]])}async function Z5(n,e,t){return e?.length>0?Promise.all(e.map(async r=>{let{url:a,resource:o}=await T1(n,r,{trailingSlash:t?.currentUrl?.endsWith("/")&&t.currentUrl!=="/"}),s=r.items&&await Z5(n,r.items,t);return{...r,url:a,resource:o,levels:_1(s),current:t?.currentUrl===a,active:t?.currentUrl?.startsWith(a),...s?{items:s,child_current:xt(s),child_active:N5(s)}:void 0}})):[]}async function T1(n,e,t){if(!e)return{url:"#invalid-link-item"};if(typeof e=="object"&&e!==null){let{url:i,resource:r}=await E1(n,e),a=i.slice(-1)==="/";return t?.trailingSlash&&!a&&i.length>1&&(i=i+"/"),!t?.trailingSlash&&a&&i.length>1&&(i=i.slice(0,-1)),{url:i,resource:r}}else return{url:e}}function _1(n){return n?.reduce((e,t)=>Math.max(e,t.items?1+_1(t.items):0),0)||0}function xt(n){return n.some(e=>e.current||e.items&&N5(e.items))}function N5(n){return n.some(e=>e.active||e.items&&N5(e.items))}function M1(n){return(0,R5.get)(n,"id",(0,R5.get)(n,"slug",typeof n=="string"?n:""))||""}async function E1(n,e){let{type:t,value:i,url:r,model:a}=e;if(typeof t>"u"&&r)return{url:r};if(t==="url")return{url:typeof i=="string"?i:""};let o=M1(i);switch(t){case"home":return{url:a3(n,"index")};case"category":return o?await r3(n,"categories/category",o):{url:a3(n,"categories/index")};case"product":return o?await r3(n,"products/product",o):{url:a3(n,"products/index")};case"page":return await r3(n,"pages/page",o);case"blog":return await r3(n,"blogs/blog",o,async s=>new _(n.swell,"content/blog-categories",s.category_id).slug);case"blog_category":return await r3(n,"blogs/category",o);case"content_list":if(a){let s=a?.replace("content/","");return{url:a3(n,"content/index",s),resource:new A(n.swell,a)}}break;case"content":if(a){let s=a?.replace("content/","");return await r3(n,"content/content",o,s)}break;case"search":return{url:a3(n,"search")};default:break}return{url:`/${o}`}}function a3(n,e,t,i){let{props:r}=n,a=r?.pages?.find(o=>o.id===e)?.url;return a?.includes(":collection")&&i&&(a=a.replace(":collection",i)),a?.includes(":slug")&&(a=a.replace(":slug",t||"")),a||`/${t||""}`}async function r3(n,e,t,i){let{props:r}=n,a=r?.pages?.find(c=>c.id===e)?.collection,o=a?new _(n.swell,a,t):void 0,s=await o?.slug||t,l=typeof i=="string"?i:void 0;return o?.id&&typeof i=="function"&&(l=await i(o)),{url:a3(n,e,s,typeof l=="string"?l:void 0),resource:o}}var v1=l3(require("bluebird"),1);var{Promise:a4}=v1.default,Rt=50,R3=class n{static cache;swell;constructor(e){this.swell=e}async loadTheme(){return this.loadThemeAllConfigs()}async preloadTheme(e,t){await a4.all([this.cacheManifest(e),a4.map(t,i=>this.cacheThemeConfig(i),{concurrency:10})])}async loadThemeAllConfigs(){let{swellHeaders:e}=this.swell,t=String(e["theme-config-version"]);if(!t)throw new Error("Theme version is required");return(await this.getCache().fetch(`configs-all:${this.swell.instanceId}:v@${t}`,()=>this.fetchThemeConfigsFromSource()))?.results??[]}async loadThemeFromManifest(){let e=await this.fetchManifest();if(!e)throw new Error(`Failed to resolve manifest: ${this.swell.instanceId}`);let t=[],i=new Map;if(await a4.map(Object.values(e),r=>this.getCache().get(`config:${r}`).then(a=>{a?i.set(a.hash,a):t.push(r)}),{concurrency:10}),t.length>0){let a=(await this.fetchThemeConfigsFromSource(i.size===0?void 0:t))?.results??[];for(let o of a)i.set(o.hash,o);await a4.map(a,o=>this.cacheThemeConfig(o),{concurrency:10})}return Array.from(i.values())}async cacheManifest(e){await this.getCache().set(`manifest:${e.hash}`,e.manifest)}async cacheThemeConfig(e){await this.getCache().set(`config:${e.hash}`,e)}async fetchManifest(){let{swellHeaders:e}=this.swell,t=e["theme-version-hash"],i=await this.getCache().get(`manifest:${t}`);if(!i){let r=await this.swell.get("/:themes:versions/:last",{...this.themeVersionQueryFilter(),fields:"hash, manifest"});r&&(await this.cacheManifest(r),i=r.manifest)}return i}async fetchThemeConfigsFromSource(e=void 0){e=e||[];let{swellHeaders:t}=this.swell,i=String(t["theme-config-version"]),r=e.length===0||e.length>Rt;return console.log(`Retrieving ${r?"all":"some"} theme configurations - version: ${i}`),await this.swell.get("/:themes:configs",{...this.themeVersionQueryFilter(),...r?{}:{hash:{$in:e}},limit:1e3,fields:"type, name, file, file_path",include:{file_data:P4}})}themeVersionQueryFilter(){let{swellHeaders:e}=this.swell,t=e["theme-id"];if(!t)throw new Error("Theme ID is required");return{parent_id:t,branch_id:e["theme-branch-id"]||null,preview:e["deployment-mode"]==="editor"||e["deployment-mode"]==="preview"?!0:{$ne:!0}}}getCache(){return n.cache||(n.cache=new _3(this.swell.workerEnv?.THEME)),n.cache}};var H5=class{swell;props;globals;forms;resources;liquidSwell;themeConfigs=null;page;pageId;shopifyCompatibility=null;shopifyCompatibilityClass=p3;shopifyCompatibilityConfig=null;formData={};globalData={};constructor(e,t={}){let{forms:i,resources:r,globals:a,shopifyCompatibilityClass:o}=t;this.swell=e,this.props=this.getSwellAppThemeProps(e.config),this.shopifyCompatibilityConfig=e.shopifyCompatibilityConfig||null,this.globals=a||{},this.forms=i,this.resources=r,this.shopifyCompatibilityClass=o||p3,this.liquidSwell=new x3({theme:this,getThemeConfig:this.getThemeConfig.bind(this),getAssetUrl:this.getAssetUrl.bind(this),getThemeTemplateConfigByType:this.getThemeTemplateConfigByType.bind(this),renderTemplate:this.renderTemplate.bind(this),renderTemplateString:this.renderTemplateString.bind(this),renderTemplateSections:this.renderTemplateSections.bind(this),renderTranslation:this.lang.bind(this),renderCurrency:this.renderCurrency.bind(this),isEditor:e.isEditor})}getSwellAppThemeProps(e){return e?.storefront?.theme||{}}async initGlobals(e){this.pageId=e;let{store:t,session:i,menus:r,geo:a,configs:o}=await this.getSettingsAndConfigs(),{settings:s,request:l,page:c,cart:u,account:h,customer:p}=await this.resolvePageData(t,o,i,e);this.page=c;let C={...this.globalData,store:t,settings:s,session:i,request:l,menus:r,page:c,cart:u,account:h,customer:p,geo:a,configs:o,translations:o?.translations,canonical_url:`${t.url}${this.swell.url?.pathname||""}`,shopify_compatibility:!!s.shopify_compatibility};this.shopifyCompatibility&&this.shopifyCompatibility.adaptGlobals(C),this.setGlobals(C),this.shopifyCompatibility&&this.shopifyCompatibility.adaptQueryParams()}setGlobals(e){this.globals={...this.globals,...e},this.liquidSwell.engine.options.globals={...this.globals}}async getSettingsAndConfigs(){let e=x4,[t,i]=await Promise.all([this.swell.getStorefrontSettings(),this.getAllThemeConfigs()]),r=await Promise.all(Array.from(i.values()).filter(c=>c.file_path.startsWith("theme/config/")).map(async c=>c.file_path.endsWith(".json")?this.getThemeConfig(c.file_path):c)),a={theme:{},editor:{},translations:{},presets:[],...r.reduce((c,u)=>{let h=u?.name.split(".")[0];if(h&&u?.file_path?.endsWith(".json")){let p;try{p=JSON.parse(u.file_data)}catch{p=null}c[h]=p}return c},{})},o=await this.swell.storefront.settings.session(),s=o.locale||t?.store?.locale;this.resolveTranslationLocale(a.translations,s),await this.setCompatibilityConfigs(a,s);let l=await this.resolveMenuSettings();return{store:t?.store,session:o,menus:l,geo:e,configs:a}}async resolvePageData(e,t,i,r){let a=String(this.swell.swellHeaders["theme-config-version"]),o=await this.swell.getCachedResource(`theme-settings-resolved:v@${a}`,[],()=>N3(this,t.theme,t.editor?.settings));if(!o)throw new Error("Failed to resolve theme settings");let s={host:this.swell.url.host,origin:this.swell.url.origin,path:this.swell.url.pathname,query:this.swell.queryParams,locale:i?.locale||e.locale,currency:i?.currency||e.currency,is_editor:this.swell.isEditor,is_preview:this.swell.isPreview},l=this.props.pages?.find(C=>C.id===r),c={...l,current:Number(this.swell.queryParams.page)||1,url:this.swell.url.pathname,custom:!l,description:void 0,slug:void 0};if(r){let C=await this.getThemeTemplateConfigByType("templates",r),m;try{m=JSON.parse(C?.file_data||"")}catch{}if(m?.page){let{slug:f,label:g,description:Q}=m.page;c.slug=f,c.label=g||c.label,c.description=Q}}let[u,h]=await Promise.all([this.fetchSingletonResourceCached("cart",()=>this.fetchCart(),{}),this.fetchSingletonResourceCached("account",()=>this.fetchAccount(),null)]);if(!u)throw new Error("Failed to fetch cart");let p;return this.shopifyCompatibility&&(p=h),{settings:o,request:s,page:c,cart:u,account:h,customer:p}}async fetchSingletonResourceCached(e,t,i){let r=this.swell.storefront.session.getCookie();return r?this.swell.getCachedResource(`${e}-${r}`,[],()=>t()):i}async fetchCart(){let e=this.resources?.singletons?.cart,t=e?new e(this.swell):new J(this.swell,"cart");if(await t.id,!t?.id)return{};if(this.shopifyCompatibility){let i=u3(this.shopifyCompatibility,t);t.setCompatibilityProps(i)}return t}async fetchAccount(){let e=this.resources?.singletons?.account,t=e?new e(this.swell):new J(this.swell,"account");if(await t.id,!t?.id)return null;if(this.shopifyCompatibility){let i=K(this.shopifyCompatibility,t);t.setCompatibilityProps(i)}return t}getFormConfig(e){let t=e;if(this.shopifyCompatibility){let i=this.shopifyCompatibility.getAdaptedFormType(e);i&&(t=i)}return this.forms?.find(i=>i.id===t)}setFormData(e,t){let i=this.formData[e]||new O(e);i instanceof O&&(t?.params&&i.setParams(t.params),t?.errors?(i.setSuccess(!1),i.setErrors(t.errors)):t?.success&&(t.withoutErrors&&!i.errors?i.setSuccess(!0):t.withoutErrors||(i.setSuccess(!0),i.clearErrors())),this.shopifyCompatibility&&Object.assign(i,this.shopifyCompatibility.getFormData(i))),this.formData[e]=i,this.setGlobals({forms:this.formData})}setFormSuccessWithoutErrors(e){this.setFormData(e,{success:!0,withoutErrors:!0})}clearFormData(e){e?delete this.formData[e]:this.formData={},this.setGlobals({forms:this.formData})}serializeFormData(){let e={};for(let t in this.formData){let i=this.formData[t];e[t]={success:i.success,errors:i.errors&&Array.from(i.errors)}}return Object.keys(e).length>0?e:null}setGlobalData(e={}){this.globalData={...this.globalData,...e},this.setGlobals(this.globalData)}serializeGlobalData(){return Object.keys(this.globalData).length>0?this.globalData:null}updateSettings(e,t){return this.shopifyCompatibility?this.shopifyCompatibility.adaptSettings(e,t):f3(e,t)}resolveTranslationLocale(e,t){if(!e)return{};if(!t)return e;let i=t.split("-")[0];return(0,b.reduce)(e,(r,a,o)=>{if(I3(a))r[o]=this.resolveTranslationLocale(a,t);else if(typeof a=="string"&&a.startsWith("t:")){let s=a.slice(2),l=s.split("."),c=l.pop(),u=l.join("."),h=this.globals.translations;r[o]=(0,b.get)(h,`${u}.$locale.${t}.${c}`)||(0,b.get)(h,`${u}.$locale.${i}.${c}`)||(0,b.get)(h,s)||a}else r[o]=(0,b.get)(e,`$locale.${t}.${o}`)||(0,b.get)(e,`$locale.${i}.${o}`)||a;return r},{})}async setCompatibilityConfigs(e,t){let i=()=>(this.shopifyCompatibility||(this.shopifyCompatibility=new this.shopifyCompatibilityClass(this)),this.shopifyCompatibility);!Object.keys(e.editor).length&&e.settings_schema&&(e.editor=i().getEditorConfig(e.settings_schema),e.editor=await i().renderSchemaTranslations(this,e.editor,t)),!Object.keys(e.theme).length&&e.settings_data&&(e.theme=i().getThemeConfig(e.settings_data)),!Object.keys(e.presets).length&&e.settings_data&&(e.presets=i().getPresetsConfig(e.settings_data)),Object.keys(e.translations).length||(e.translations=await i().getLocaleConfig(this,t),Object.keys(e.translations).length||(this.shopifyCompatibility=null)),e.theme.shopify_compatibility?i():this.shopifyCompatibility&&(e.theme.shopify_compatibility=!0)}setCompatibilityData(e){!e||!this.shopifyCompatibility||this.shopifyCompatibility.adaptPageData(e)}resolveLookupSetting(e,t){if(t instanceof T)return t;let i=D1(e);if(i){if(e.multiple){if(t instanceof Array)return t.map(r=>this.resolveLookupResource(i,r))}else if(t!==""&&t!==null&&t!==void 0)return this.resolveLookupResource(i,t)}return null}resolveLookupResource(e,t){let i=this.resources?.records?.[e],r=i?new i(this.swell,t):new _(this.swell,e,t);return this.shopifyCompatibility&&this.shopifyCompatibility.adaptPageData({resource:r}),r}resolveMenuSettings(){return j5(this,this.swell.getStorefrontMenus(),{currentUrl:this.swell.url.pathname})}resolveMenuSetting(e){if(!e)return null;let t=this.globals.menus||{};return t[e]||t[e.replace(/-/g,"_")]||null}async lang(e,t,i){return await this.renderTranslation(e,t,i)}resolveFontSetting(e){if(this.shopifyCompatibility){let t=this.shopifyCompatibility.getFontFromShopifySetting(e),i=new P(t||e);return Object.assign(i,this.shopifyCompatibility.getFontData(i)),i}return new P(e)}resolveUrlSetting(e){let t=e;if(this.shopifyCompatibility){e?.startsWith("shopify://")&&(t=e.replace("shopify://","/"));let i=this.shopifyCompatibility.getAdaptedPageUrl(t);if(i)return i}return t}async getAllThemeConfigs(){if(!this.themeConfigs){let t=await new R3(this.swell).loadTheme(),i=new Map;for(let r of t)i.set(r.file_path,r);this.themeConfigs=i}return this.themeConfigs}async preloadThemeConfigs(e,t){await new R3(this.swell).preloadTheme(e,t)}getPageConfigPath(e){return this.shopifyCompatibility?`theme/${this.shopifyCompatibility.getThemeFilePath("templates",e)}.json`:`theme/templates/${e}.json`}async getThemeConfig(e){return(await this.getAllThemeConfigs()).get(e)??null}async getThemeTemplateConfig(e){if(e.endsWith(".json")||e.endsWith(".liquid"))return this.getThemeConfig(e);let t=await this.getThemeConfig(`${e}.json`);return t||this.getThemeConfig(`${e}.liquid`)}async getThemeTemplateConfigByType(e,t){let i=[`${e}/${t}`];this.shopifyCompatibility&&i.push(this.shopifyCompatibility.getThemeFilePath(e,t));for(let r of i){let a=await this.getThemeTemplateConfig(`theme/${r}`);if(a)return a}return null}async getAssetUrl(e){return(await this.getThemeConfig(`theme/assets/${e}`)||await this.getThemeConfig(`assets/${e}`))?.file?.url||null}async renderTemplate(e,t){let i=e?.file_data||null;if(e===null)return"";if(i===null)return`<!-- template not found: ${e?.file_path} -->`;try{return await this.liquidSwell.parseAndRender(i,t)}catch(r){return console.error(r),`<!-- template render error: ${r.message} -->`}}async renderTemplateString(e,t){try{return await this.liquidSwell.parseAndRender(e,t)}catch(i){return console.error(i),""}}async getSectionSchema(e){let t,i=await this.getThemeTemplateConfigByType("sections",e);if(i?.file_path?.endsWith(".json"))try{t=JSON.parse(i.file_data)||void 0}catch{return}else if(i?.file_path?.endsWith(".liquid")&&this.shopifyCompatibility){this.liquidSwell.lastSchema=void 0;let r=this.getSectionConfigWithSchemaTagOnly(i);if(!r)return;await this.renderTemplate(r);let a=this.liquidSwell.lastSchema;a&&(t=this.shopifyCompatibility.getSectionConfigSchema(a),t=await this.shopifyCompatibility.renderSchemaTranslations(this,t,this.globals.request?.locale))}return t.id=t.id||e,t.label=t.label||e,t.fields=t.fields||[],t}getSectionConfigWithSchemaTagOnly(e){let t="{% schema %}",i="{% endschema %}",r=e.file_data.indexOf(t),a=e.file_data.indexOf(i),o=e.file_data.slice(r+t.length,a);return r===-1||a===-1?null:{...e,file_data:t+o+i}}async renderThemeTemplate(e,t){let i=await this.getThemeTemplateConfig(e),r=await this.renderTemplate(i,{...t,template:i});if(i?.file_path?.endsWith(".json"))try{return JSON.parse(r)}catch(a){throw console.log("Unable to render theme template",i.file_path,r),new j3(a)}return r}async renderLayoutTemplate(e,t){let i=await this.getThemeTemplateConfigByType("layouts",e);if(i){let r=await this.renderThemeTemplate(i.file_path,t);return typeof r=="string"?r:`<!-- invalid layout: ${e}--> {{ content_for_layout }}`}throw new Error(`Layout template not found: ${e}`)}async renderPageTemplate(e,t,i){let r=null;if(i&&(r=await this.getThemeTemplateConfigByType("templates",i)),r||(r=await this.getThemeTemplateConfigByType("templates",e)),r){let a=await this.renderThemeTemplate(r.file_path,t);return a&&typeof a!="string"&&(a.id=String(r.name)),a}throw new Z3("Page template not found",404,`templates/${e}`)}async renderPage(e,t){e&&this.setGlobals(e);let i;if(this.page?.id?i=await this.renderPageTemplate(this.page.id,e,t):i=await this.renderPageTemplate("404",e),typeof i!="string"&&i?.page){if(i.page.published===!1)throw new Z3;i.page=this.resolveTranslationLocale(i.page,this.globals.request?.locale)}return i}async renderAllSections(e,t){let i=typeof e=="string"?e.split(/\s*,\s*/):e;return(await Promise.all(i.map?.(a=>this.renderSection(a,t)))).reduce((a,o,s)=>{let l=i[s];return this.shopifyCompatibility?a[l]=`
|
|
952
936
|
<div id="shopify-section-${l}" class="shopify-section">${o}</div>
|
|
953
937
|
`.trim():a[l]=`
|
|
954
938
|
<div id="swell-section-${l}" class="swell-section">${o}</div>
|
|
955
939
|
`.trim(),a},{})}async renderSection(e,t){t&&this.setGlobals(t);let[i,r]=e.split(/__/).reverse(),a=(r||"").replaceAll("_","/"),o=await this.getThemeTemplateConfigByType(a?"templates":"sections",a||i);if(o){let s=await this.renderThemeTemplate(o.file_path,t);if(a&&s?.sections){let l=s?.sections,c={id:r,sections:{[i]:l[i]}},[u]=await this.renderPageSections(c,t);return u.output||""}return s}return""}async renderLayout(e){return this.liquidSwell.layoutName?this.renderLayoutTemplate(this.liquidSwell.layoutName,e):e?.content_for_layout||""}getContentForHeader(){let e=`
|
|
956
940
|
`;return e+=this.renderFontHeaderLinks(),this.shopifyCompatibility&&(e+=`
|
|
957
|
-
${this.shopifyCompatibility.getContentForHeader()}`),e}renderFontHeaderLinks(){let e=this.globals.settings,t=this.globals.configs?.editor?.settings||[];if(e&&t){let i=
|
|
958
|
-
`)}async renderTranslation(e,t,i){let r=this.globals.translations,a=this.globals.request?.locale;return this.renderTranslationValue(a,r,e,t,i)}async renderTranslationValue(e,t,i,r,a){if(i===void 0)return a||"";let o=i?.split(".")||[],s=o.pop()||"",l=o.join("."),c=(0,b.get)(t,l),u=(0,b.get)(c?.[e],s)||(0,b.get)(c?.[e.split("-")[0]],s)||c?.[s];return r?.count!==void 0&&u?.one&&(u=r.count===1?u.one:u.other),typeof u!="string"||u===""?a||"":await this.renderTemplateString(u,r)||a||""}renderCurrency(e,t){let i=this.swell.storefront.settings,r=this.swell.storefront.currency,a=i.state,o=a?.store?.currency||"USD";return Object.assign(r,{code:o,locale:a?.store?.locale||"en-US",state:a?.store?.locales?.find(s=>s.code===o)||{code:o}}),r.format(e,t)}},R4=class extends Error{title;status=500;description;constructor(e="Something went wrong",t=500,i){super(String(e)+(i?`: ${i}`:"")),this.title=String(e),this.status=t,this.description=i}toString(){return this.message}},j4=class extends R4{constructor(e="Page not found",t=404,i){super(e,t,i)}};function a3(n,e){let{settings:t,schema:i}=e;if(!i||!t?.section?.settings)return t;let r=[{label:i.label,fields:i.fields}];return{...t,section:{...t.section,settings:Z4(n,t.section.settings,r),blocks:t.section.blocks?.map(a=>({...a,settings:Z4(n,a.settings,i.blocks?.filter(o=>o.type===a.type))}))}}}function Z4(n,e,t){let i=(0,b.cloneDeep)(e);return(0,b.each)(i,(r,a)=>{let o=(t&&H5(t,a))??null;if(N4(r)&&!(r instanceof T)){switch(o?.type){case"color_scheme_group":{(0,b.each)(r,(s,l)=>{(0,b.each)(r[l].settings,(c,u)=>{(0,b.find)(o.fields,{id:u})?.type==="color"&&c&&(r[l].id=l,r[l].settings[u]=new S(c))})});return}default:break}i[a]=Z4(n,r,t)}else switch(o?.type){case"lookup":case"product_lookup":case"category_lookup":case"customer_lookup":i[a]=n.resolveLookupSetting(o,r);break;case"color":r&&(i[a]=new S(r));break;case"font":i[a]=n.resolveFontSetting(r);break;case"menu":i[a]=n.resolveMenuSetting(r);break;case"url":i[a]=n.resolveUrlSetting(r);break}}),i}function F5(n,e,t){let i=[];return(0,b.each)(e,(r,a)=>{if(N4(r)&&!(r instanceof D)&&!(r instanceof T))i.push(...F5(n,r,t));else{let o=H5(t,a);o?.type===n&&i.push({setting:o,value:r})}}),i}function v1(n){if(n.collection)return n.collection;switch(n.type){case"product_lookup":return"products";case"category_lookup":return"categories";case"customer_lookup":return"accounts";default:break}}function H5(n,e){for(let t of n||[])for(let i of t.fields)if(i.id===e)return i;return null}function N5(n){try{return JSON.parse(n?.file_data||"{}")}catch{return{}}}function D1(n){let e={settings:[]};return Array.isArray(n)&&(n[0]?.name==="theme_info"&&n.shift(),n.forEach(t=>{e.settings.push(Zt(t))})),e}function P1(n){return typeof n.current=="string"&&n.presets?.[n.current]?n.presets[n.current]:typeof n.current=="object"?n.current||{}:{}}function x1(n){return Object.entries(n.presets||{}).map(([e,t])=>({label:e,settings:t}))}function R1(n){return{label:n.name,type:n.type,tag:n.tag,class:n.class,enabled_on:n.enabled_on,disabled_on:n.disabled_on,fields:(n.settings||[]).map(t=>s3(t)),blocks:(n.blocks||[]).map(t=>Rt(t)),presets:(n.presets||[]).map(t=>jt(t)),default:n.default}}function Rt(n){return{type:n.type,label:n.name,limit:n.limit,fields:(n.settings||[]).map(t=>s3(t))}}function jt(n){return{label:n.name,settings:n.settings,blocks:n.blocks}}function Zt(n){return{label:n.name,fields:(n.settings||[]).map(t=>s3(t))}}function s3(n){let e={};switch(n.type){case"text":e={type:"text"};break;case"textarea":e={type:"textarea"};break;case"paragraph":e={type:"paragraph",label:n.content};break;case"select":e={type:"select",options:n.options};break;case"checkbox":e={type:"checkbox"};break;case"radio":e={type:"radio",options:n.options};break;case"number":e={type:"integer"};break;case"range":e={type:"number",min:n.min,max:n.max,increment:n.step,unit:n.unit};break;case"article":e={type:"lookup",collection:"content/blogs:posts"};break;case"blog":e={type:"lookup",collection:"content/blogs",titleField:"title"};break;case"collection":e={type:"category_lookup"};break;case"collection_list":e={type:"category_lookup",multiple:!0,limit:n.limit};break;case"color":e={type:"color"};break;case"color_background":e={type:"color_background"};break;case"color_scheme":e={type:"color_scheme"};break;case"color_scheme_group":e={type:"color_scheme_group",fields:(n.definition||[]).map(t=>s3(t)),role:n.role};break;case"font_picker":e={type:"font"};break;case"html":e={type:"html"};break;case"image_picker":e={type:"image"};break;case"inline_richtext":e={type:"rich_text"};break;case"link_list":e={type:"menu"};break;case"liquid":e={type:"liquid"};break;case"page":e={type:"lookup",collection:"content/pages",titleField:"title"};break;case"product":e={type:"product_lookup"};break;case"product_list":e={type:"product_lookup",multiple:!0,limit:n.limit};break;case"richtext":e={type:"rich_html"};break;case"text_alignment":e={type:"select",options:[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]};break;case"url":e={type:"url"};break;case"video":e={type:"video"};break;case"video_url":e={type:"url"};break;case"header":e={type:"header",label:n.content};break}return{id:n.id,label:n.label,default:n.default,description:n.info,...e}}function j1(n){let e=n.lastIndexOf("_"),t=n.substring(0,e),i=n.substring(e+1),r=Nt[t];if(r){let a=r.variants[i];return`${r.family}:${a}`}return null}var Nt={abel:{family:"Abel",variants:{n4:"wght@400"}},abril_fatface:{family:"Abril Fatface",variants:{n4:"wght@400"}},alegreya:{family:"Alegreya",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},alegreya_sans:{family:"Alegreya Sans",variants:{n1:"wght@100",i1:"ital,wght@1,100",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},amiri:{family:"Amiri",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},anonymous_pro:{family:"Anonymous Pro",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},arapey:{family:"Arapey",variants:{n4:"wght@400",i4:"ital,wght@1,400"}},archivo:{family:"Archivo",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},archivo_narrow:{family:"Archivo Narrow",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},arimo:{family:"Arimo",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},armata:{family:"Armata",variants:{n4:"wght@400"}},arvo:{family:"Arvo",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},asap:{family:"Asap",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},assistant:{family:"Assistant",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",n6:"wght@600",n7:"wght@700",n8:"wght@800"}},asul:{family:"Asul",variants:{n4:"wght@400",n7:"wght@700"}},bio_rhyme:{family:"Bio Rhyme",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",n7:"wght@700",n8:"wght@800"}},bitter:{family:"Bitter",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700"}},cabin:{family:"Cabin",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},cardo:{family:"Cardo",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700"}},catamaran:{family:"Catamaran",variants:{n1:"wght@100",n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},chivo:{family:"Chivo",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900",i9:"ital,wght@1,900"}},cormorant:{family:"Cormorant",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},crimson_text:{family:"Crimson Text",variants:{n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},dm_sans:{family:"DM Sans",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700"}},domine:{family:"Domine",variants:{n4:"wght@400",n7:"wght@700"}},dosis:{family:"Dosis",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800"}},eczar:{family:"Eczar",variants:{n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800"}},fira_sans:{family:"Fira Sans",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},fjalla_one:{family:"Fjalla One",variants:{n4:"wght@400"}},glegoo:{family:"Glegoo",variants:{n4:"wght@400",n7:"wght@700"}},ibm_plex_sans:{family:"IBM Plex Sans",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},inconsolata:{family:"Inconsolata",variants:{n4:"wght@400",n7:"wght@700"}},inknut_antiqua:{family:"Inknut Antiqua",variants:{n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},inter:{family:"Inter",variants:{n1:"wght@100",n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},josefin_sans:{family:"Josefin Sans",variants:{n1:"wght@100",i1:"ital,wght@1,100",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},josefin_slab:{family:"Josefin Slab",variants:{n1:"wght@100",i1:"ital,wght@1,100",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},kalam:{family:"Kalam",variants:{n3:"wght@300",n4:"wght@400",n7:"wght@700"}},karla:{family:"Karla",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},kreon:{family:"Kreon",variants:{n3:"wght@300",n4:"wght@400",n7:"wght@700"}},lato:{family:"Lato",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},libre_baskerville:{family:"Libre Baskerville",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700"}},libre_franklin:{family:"Libre Franklin",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},lobster:{family:"Lobster",variants:{n4:"wght@400"}},lobster_two:{family:"Lobster Two",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},lora:{family:"Lora",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},maven_pro:{family:"Maven Pro",variants:{n4:"wght@400",n5:"wght@500",n7:"wght@700",n9:"wght@900"}},megrim:{family:"Megrim",variants:{n4:"wght@400"}},merriweather_sans:{family:"Merriweather Sans",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800"}},montserrat:{family:"Montserrat",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},mouse_memoirs:{family:"Mouse Memoirs",variants:{n4:"wght@400"}},muli:{family:"Muli",variants:{n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},neuton:{family:"Neuton",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",n8:"wght@800"}},news_cycle:{family:"News Cycle",variants:{n4:"wght@400",n7:"wght@700"}},newsreader:{family:"Newsreader",variants:{n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800"}},nobile:{family:"Nobile",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700"}},noticia_text:{family:"Noticia Text",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},noto_serif:{family:"Noto Serif",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},nunito:{family:"Nunito",variants:{n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},nunito_sans:{family:"Nunito Sans",variants:{n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},old_standard_tt:{family:"Old Standard TT",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700"}},open_sans:{family:"Open Sans",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800"}},open_sans_condensed:{family:"Open Sans Condensed",variants:{n3:"wght@300",i3:"ital,wght@1,300",n7:"wght@700"}},oswald:{family:"Oswald",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700"}},ovo:{family:"Ovo",variants:{n4:"wght@400"}},oxygen:{family:"Oxygen",variants:{n3:"wght@300",n4:"wght@400",n7:"wght@700"}},pt_mono:{family:"PT Mono",variants:{n4:"wght@400"}},pt_sans:{family:"PT Sans",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},pt_sans_narrow:{family:"PT Sans Narrow",variants:{n4:"wght@400",n7:"wght@700"}},pt_serif:{family:"PT Serif",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},pacifico:{family:"Pacifico",variants:{n4:"wght@400"}},playball:{family:"Playball",variants:{n4:"wght@400"}},playfair_display:{family:"Playfair Display",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900",i9:"ital,wght@1,900"}},poppins:{family:"Poppins",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},prata:{family:"Prata",variants:{n4:"wght@400"}},prompt:{family:"Prompt",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},proza_libre:{family:"Proza Libre",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800"}},quantico:{family:"Quantico",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},quattrocento:{family:"Quattrocento",variants:{n4:"wght@400",n7:"wght@700"}},quattrocento_sans:{family:"Quattrocento Sans",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},questrial:{family:"Questrial",variants:{n4:"wght@400"}},quicksand:{family:"Quicksand",variants:{n3:"wght@300",n4:"wght@400",n5:"wght@500",n7:"wght@700"}},rajdhani:{family:"Rajdhani",variants:{n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700"}},raleway:{family:"Raleway",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},righteous:{family:"Righteous",variants:{n4:"wght@400"}},roboto:{family:"Roboto",variants:{n1:"wght@100",i1:"ital,wght@1,100",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900",i9:"ital,wght@1,900"}},roboto_condensed:{family:"Roboto Condensed",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},roboto_mono:{family:"Roboto Mono",variants:{n1:"wght@100",i1:"ital,wght@1,100",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700"}},roboto_slab:{family:"Roboto Slab",variants:{n1:"wght@100",n3:"wght@300",n4:"wght@400",n7:"wght@700"}},rubik:{family:"Rubik",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900",i9:"ital,wght@1,900"}},shadows_into_light:{family:"Shadows Into Light",variants:{n4:"wght@400"}},slabo_13px:{family:"Slabo 13px",variants:{n4:"wght@400"}},smooch:{family:"Smooch",variants:{n4:"wght@400"}},source_code_pro:{family:"Source Code Pro",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n9:"wght@900"}},source_sans_pro:{family:"Source Sans Pro",variants:{n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900",i9:"ital,wght@1,900"}},space_mono:{family:"Space Mono",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},syne:{family:"Syne",variants:{n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800"}},tenor_sans:{family:"Tenor Sans",variants:{n4:"wght@400"}},tinos:{family:"Tinos",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},titillium_web:{family:"Titillium Web",variants:{n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900"}},ubuntu:{family:"Ubuntu",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700"}},unica_one:{family:"Unica One",variants:{n4:"wght@400"}},unna:{family:"Unna",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},varela:{family:"Varela",variants:{n4:"wght@400"}},varela_round:{family:"Varela Round",variants:{n4:"wght@400"}},vidaloka:{family:"Vidaloka",variants:{n4:"wght@400"}},volkhov:{family:"Volkhov",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},vollkorn:{family:"Vollkorn",variants:{n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900",i9:"ital,wght@1,900"}},work_sans:{family:"Work Sans",variants:{n1:"wght@100",n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},biz_udpmincho:{family:"BIZ UDPMincho",variants:{n4:"wght@400",n7:"wght@700"}},dela_gothic_one:{family:"Dela Gothic One",variants:{n4:"wght@400"}},hina_mincho:{family:"Hina Mincho",variants:{n4:"wght@400"}},kaisei_decol:{family:"Kaisei Decol",variants:{n4:"wght@400",n5:"wght@500",n7:"wght@700"}},kaisei_opti:{family:"Kaisei Opti",variants:{n4:"wght@400",n5:"wght@500",n7:"wght@700"}},kaisei_tokumin:{family:"Kaisei Tokumin",variants:{n4:"wght@400",n5:"wght@500",n7:"wght@700",n8:"wght@800"}},m_plus_1:{family:"M PLUS 1",variants:{n1:"wght@100",n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},m_plus_rounded_1c:{family:"M PLUS Rounded 1c",variants:{n1:"wght@100",n3:"wght@300",n4:"wght@400",n5:"wght@500",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},mochiy_pop_p_one:{family:"Mochiy Pop P One",variants:{n4:"wght@400"}},murecho:{family:"Murecho",variants:{n1:"wght@100",n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},noto_sans_japanese:{family:"Noto Sans Japanese",variants:{n1:"wght@100",n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},noto_serif_japanese:{family:"Noto Serif Japanese",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n9:"wght@900"}},shippori_mincho:{family:"Shippori Mincho",variants:{n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800"}},zen_kaku_gothic_new:{family:"Zen Kaku Gothic New",variants:{n3:"wght@300",n4:"wght@400",n5:"wght@500",n7:"wght@700",n9:"wght@900"}},zen_kurenaido:{family:"Zen Kurenaido",variants:{n4:"wght@400"}},zen_maru_gothic:{family:"Zen Maru Gothic",variants:{n3:"wght@300",n4:"wght@400",n5:"wght@500",n7:"wght@700",n9:"wght@900"}},zen_old_mincho:{family:"Zen Old Mincho",variants:{n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n9:"wght@900"}}};var w3={};l2(w3,{DeferredShopifyResource:()=>O,ShopifyArticle:()=>f4,ShopifyBlog:()=>l3,ShopifyCart:()=>c4,ShopifyCollection:()=>g4,ShopifyCollections:()=>d3,ShopifyCustomer:()=>$,ShopifyFont:()=>w4,ShopifyForm:()=>H4,ShopifyLink:()=>y4,ShopifyLocalization:()=>S4,ShopifyOrder:()=>t4,ShopifyPage:()=>C3,ShopifyPaginate:()=>C4,ShopifyPredictiveSearch:()=>u3,ShopifyProduct:()=>v,ShopifyResource:()=>y,ShopifySearch:()=>m3,ShopifyVariant:()=>H,adaptShopifyFontData:()=>f3,adaptShopifyFormData:()=>g3,adaptShopifyMenuData:()=>p3});function f4(n,e,t){return e instanceof y?e.clone():(t&&(e.category=t),new y({author:d(e,i=>i.author?.name||i.author?.email),content:d(e,i=>i.content),created_at:w(()=>e.date_created),excerpt:w(()=>e.summary),excerpt_or_content:w(()=>e.summary||e.content),handle:w(()=>e.slug),id:d(e,i=>i.id),image:d(e,i=>i.image&&j(n,i.image)),metafields:null,published_at:d(e,i=>i.date_published||i.date_created),tags:d(e,i=>i.tags),template_suffix:null,title:d(e,i=>i.title),updated_at:d(e,i=>i.date_updated||i.date_created),url:d([e,e.category],(i,r)=>r&&`/blogs/${r?.slug}/${i.slug}`),user:w(()=>e.author),comment_post_url:null,comments:null,comments_count:null,"comments_enabled?":!1,moderated:!1}))}function l3(n,e){if(e instanceof y)return e.clone();let t=d(e.blogs,i=>i?.results?.reduce((r,a)=>{for(let o of a.tags||[])r.includes(o)||r.push(o);return r},[]));return new y({all_tags:t,articles:d(e,i=>i.blogs?._cloneWithCompatibilityResult(r=>({results:r?.results?.map(a=>f4(n,a,i))}))||[]),articles_count:d(e.blogs,i=>i?.count||0),handle:w(()=>e.slug),id:d(e,i=>i.id),metafields:null,next_article:null,previous_article:null,tags:t,template_suffix:null,title:d(e,i=>i.title),url:d(e,i=>`/blogs/${i.slug}`),"comments_enabled?":!1,moderated:!1})}var Z1=require("lodash-es");function F4(n,e){let t=e.type==="range",i=e.type==="boolean";return new y({active_values:t?void 0:e.active_options?.map(r=>o4(n,r,e)),false_value:i?o4(n,{value:""},e):void 0,inactive_values:t?void 0:e.inactive_options?.map(r=>o4(n,r,e)),label:e.label,max_value:t?o4(n,{value:e.range_max},e,"lte"):void 0,min_value:t?o4(n,{value:e.range_min},e,"gte"):void 0,operator:t?"AND":"OR",param_name:e.param_name,presentation:"text",range_max:e.range_max,true_value:i?o4(n,{value:e.options?.[0].value},e):void 0,type:e.id==="price"?"price_range":i?"boolean":"list",url_to_remove:Ft(n,`filter_${e.id}`,!0),values:e.id!=="price"&&e.options?.map(r=>o4(n,r,e))})}function o4(n,e,t,i){let r=i?`${t.param_name}[${i}]`:t.param_name;return new y({active:e.active,count:e.count,image:null,label:e.label,param_name:r,swatch:null,url_to_add:Bt(n,r,e.value),url_to_remove:Ht(n,t.param_name,e.value),value:It(n,e,t,i)})}function It(n,e,t,i){let{queryParams:r}=n.swell,a=i?r[t.param_name]?.[i]:r[t.param_name];return t.type==="range"?a!==void 0&&a!==""?a:null:e.value}function h3(n){return Object.keys(n).reduce((e,t)=>{let i=n[t];return i!==""&&(e[t]=(0,Z1.isObject)(i)&&!Array.isArray(i)?h3(i):i),e},{})}function Ft(n,e,t=!1){let{queryParams:i}=n.swell,r=B({...h3(i),...t?{[`${e}[gte]`]:void 0,[`${e}[lte]`]:void 0}:void 0,[e]:void 0,page:void 0});return V5(n,r)}function Ht(n,e,t){let{queryParams:i}=n.swell,r=B({...h3(i),[e]:Array.isArray(i[e])?i[e].filter(a=>a!==t):void 0,page:void 0});return V5(n,r)}function Bt(n,e,t){let{queryParams:i}=n.swell,r=B({...h3(i),[e]:Array.isArray(i[e])?i[e].concat(t):typeof i[e]=="string"?[i[e],t]:t,page:void 0});return V5(n,r)}function V5(n,e){let{url:t}=n.swell;return`${t.pathname}${e?`?${e}`:""}`}function g4(n,e){if(e instanceof y)return e.clone();let t=d(e,r=>r.products?._cloneWithCompatibilityResult(a=>({results:a?.results?.map(o=>v(n,o))}))??null);async function i(){let r=await t.resolve();return r&&"_resolve"in r?r._resolve():r}return new y({all_products_count:w(async()=>(await i())?.count||0),all_tags:w(async()=>(await i())?.results?.reduce((r,a)=>(Array.isArray(a.tags)&&r.push(...a.tags),r),[])||[]),all_types:w(async()=>{let r=await i();if(!r?.results)return[];let a=r.results.reduce((o,s)=>(s.type&&o.add(s.type),o),new Set);return Array.from(a.values())}),all_vendors:[],current_type:null,current_vendor:null,default_sort_by:d(e,r=>r.sort_options?.[0].value),description:d(e,r=>r.description),featured_image:d(e,r=>r.images?.[0]&&j(n,r.images[0])),filters:w(async()=>(await i())?.filter_options?.map(r=>F4(n,r))||[]),handle:w(()=>e.slug),id:d(e,r=>r.id),image:null,metafields:null,next_product:null,previous_product:null,products:t,products_count:w(async()=>(await i())?.results?.length||0),published_at:null,sort_by:w(()=>e.sort),sort_options:d(e,r=>r.sort_options),tags:[],template_suffix:null,title:w(()=>e.name),url:d(e,r=>`/collections/${r.slug}`)})}function d3(n,e){return new A(n.swell,e._collection,e._query,async()=>{let t=(await e.results)?.map(i=>g4(n,i));return{page:e.page??1,count:e.count??0,results:t,page_count:e.page_count??0,limit:e.limit,pages:e.pages??{}}})}function w4(n,e){return e instanceof y?e.clone():new y({baseline_ratio:null,fallback_families:e.fallback_families,family:e.family,style:e.style,"system?":e.system,variants:e.variants.map(t=>w4(n,t)),weight:e.weight})}var qt={account_login:{params:()=>({password_needed:!0})}};function H4(n,e){if(e instanceof y)return e.clone();let t=qt[e.id];return new y({...t?.params?.(e)||void 0,errors:e.errors&&new U5(e.errors),"posted_successfully?":e.success})}var O5=class{code;message;field_name;field_label;type;constructor(e){this.code=e.code,this.message=e.message,this.field_name=e.field_name,this.field_label=e.field_label,this.type=this.getShopifyErrorType(e)}getShopifyErrorType(e){return e.field_name==="email"?"email":e.field_name==="password"?"password":"form"}valueOf(){return this.type}toString(){return this.type}},U5=class n{errors;pointer=0;messages;translated_fields;constructor(e){return this.errors=Array.from(e).map(t=>new O5(t)),this.messages=new c3(this.errors,this.errors.map(t=>t.message)),this.translated_fields=new c3(this.errors,this.errors.map(t=>t.field_label)),new Proxy(this.errors,{get:(t,i)=>{let r=t;return i==="toJSON"?this.errors:i==="some"?this.some.bind(this):i==="messages"?this.messages:i==="translated_fields"?this.translated_fields:r[i]},getPrototypeOf(){return n.prototype}})}*[Symbol.iterator](){yield*this.errors}some(e,t){return this.errors.some(i=>e(i?.type),t)}},c3=class{values;constructor(e,t){return this.values=t,new Proxy(t,{get:(i,r)=>{let a=i;if(r==="toJSON")return t;let o=e?.findIndex?.(s=>s?.type===r);return o!==-1?t[o]:a[r]}})}};var N1=require("lodash-es");function y4(n,e,t){let i=e.handle||e.id;return new y({active:t.active,child_active:t.child_active,child_current:t.child_current,current:t.current,handle:`${i}-${(0,N1.snakeCase)(t.name)}`,levels:t.levels,links:t.items?.map(r=>y4(n,t,r)),object:t.resource,title:t.name,type:Gt(t.type),url:t.url})}function Gt(n){switch(n){case"home":return"frontpage_link";case"category":return"collection_link";case"product":return"product_link";case"search":return"search_link";default:return""}}function S4(n,e,t){let i=e.currencies.find(a=>a.code===t.currency)||e.currencies[0],r=e.locales.find(a=>a.code===t.locale)||e.locales[0];return new y({available_countries:Vt(e),available_languages:F1(e),country:i&&B1(i,e),language:r&&H1(r,e),market:null})}function Vt(n){return n.currencies.map(e=>B1(e,n))||[]}function F1(n){return n.locales.map(e=>H1(e,n))||[]}function H1(n,e){return{endonym_name:n.name,iso_code:n.code,name:n.name,primary:n.code===e.locale,root_url:e.url}}function B1(n,e){return{available_languages:F1(e),continent:null,currency:{iso_code:n.code,name:n.name,symbol:n.symbol},iso_code:n.code,market:null,name:Ot(n.code),"popular?":!1,unit_system:"metric"}}function Ot(n){return n in I1?I1[n]:null}var I1=Object.freeze({USD:"United States",EUR:"Europe",GBP:"United Kingdom",JPY:"Japan",CAD:"Canada",AUD:"Australia",CHF:"Switzerland",CNY:"China",SEK:"Sweden",NZD:"New Zealand",NOK:"Norway",MXN:"Mexico",SGD:"Singapore",HKD:"Hong Kong",KRW:"South Korea",INR:"India",BRL:"Brazil",RUB:"Russia",ZAR:"South Africa",TRY:"Turkey",AED:"United Arab Emirates",THB:"Thailand",IDR:"Indonesia",SAR:"Saudi Arabia",PLN:"Poland",PHP:"Philippines",ILS:"Israel",MYR:"Malaysia",CZK:"Czech Republic",HUF:"Hungary",CLP:"Chile",DKK:"Denmark",RON:"Romania",ARS:"Argentina",COP:"Colombia",TWD:"Taiwan",BGN:"Bulgaria",EGP:"Egypt",PKR:"Pakistan",NGN:"Nigeria",VND:"Vietnam",IQD:"Iraq",MAD:"Morocco",KES:"Kenya",DZD:"Algeria",UAH:"Ukraine",XAF:"Cameroon",XOF:"C\xF4te d'Ivoire",GHS:"Ghana",BYN:"Belarus",LKR:"Sri Lanka",SDG:"Sudan",AFN:"Afghanistan",ALL:"Albania",AMD:"Armenia",AOA:"Angola",AWG:"Aruba",AZN:"Azerbaijan",BAM:"Bosnia and Herzegovina",BBD:"Barbados",BDT:"Bangladesh",BHD:"Bahrain",BIF:"Burundi",BMD:"Bermuda",BND:"Brunei",BOB:"Bolivia",BSD:"Bahamas",BTN:"Bhutan",BWP:"Botswana",BZD:"Belize",CDF:"Democratic Republic of the Congo",CLF:"Chile (Unidad de Fomento)",CRC:"Costa Rica",CVE:"Cape Verde",DJF:"Djibouti",DOP:"Dominican Republic",ERN:"Eritrea",ETB:"Ethiopia",FKP:"Falkland Islands",GEL:"Georgia",GIP:"Gibraltar",GMD:"Gambia",GNF:"Guinea",GTQ:"Guatemala",GYD:"Guyana",HNL:"Honduras",HRK:"Croatia",HTG:"Haiti",IRR:"Iran",ISK:"Iceland",JMD:"Jamaica",JOD:"Jordan",KGS:"Kyrgyzstan",KHR:"Cambodia",KMF:"Comoros",KPW:"North Korea",KWD:"Kuwait",KYD:"Cayman Islands",KZT:"Kazakhstan",LAK:"Laos",LBP:"Lebanon",LRD:"Liberia",LSL:"Lesotho",LYD:"Libya",MDL:"Moldova",MGA:"Madagascar",MKD:"North Macedonia",MMK:"Myanmar",MNT:"Mongolia",MOP:"Macau",MRO:"Mauritania",MUR:"Mauritius",MVR:"Maldives",MWK:"Malawi",NAD:"Namibia",NPR:"Nepal",OMR:"Oman",PAB:"Panama",PEN:"Peru",PGK:"Papua New Guinea",PYG:"Paraguay",QAR:"Qatar",RSD:"Serbia",RWF:"Rwanda",SBD:"Solomon Islands",SCR:"Seychelles",SHP:"Saint Helena",SLL:"Sierra Leone",SOS:"Somalia",SRD:"Suriname",STD:"S\xE3o Tom\xE9 and Pr\xEDncipe",SZL:"Eswatini",TJS:"Tajikistan",TMT:"Turkmenistan",TND:"Tunisia",TOP:"Tonga",TTD:"Trinidad and Tobago",TZS:"Tanzania",UGX:"Uganda",UYU:"Uruguay",UZS:"Uzbekistan",VEF:"Venezuela",VUV:"Vanuatu",WST:"Samoa",XCD:"Eastern Caribbean",YER:"Yemen",ZMW:"Zambia",ZWL:"Zimbabwe"});function u3(n,e){return e instanceof y?e.clone():new y({performed:d(e,t=>t.performed),resources:Ut(n,e),terms:w(()=>e.query),types:["product"]})}function Ut(n,e){return e instanceof y?e.clone():new y({products:d(e.products,t=>t?.results?.map(i=>{let r=v(n,i);return r.object_type="product",r}))})}function C3(n,e){return e instanceof y?e.clone():new y({content:d(e,t=>t.content),handle:w(()=>e.slug),metafields:null,published_at:w(async()=>await e.date_published||e.date_created),template_suffix:null,title:d(e,t=>t.title||t.name),url:d(e,t=>`/pages/${t.slug}`),author:null})}function m3(n,e){if(e instanceof y)return e.clone();let t=d(e,i=>i.products?._cloneWithCompatibilityResult(r=>({results:r?.results?.map(a=>{let o=v(n,a);return o.object_type="product",o})}))||[]);return new y({default_sort_by:d(e,i=>i.sort_options?.[0].value),filters:w(async()=>(await(await t.resolve())?.filter_options)?.map(r=>F4(n,r))||[]),performed:d(e,i=>i.performed),results:t,results_count:w(async()=>(await t.resolve())?.count||0),sort_by:w(()=>e.sort),sort_options:d(e,i=>i.sort_options),terms:w(()=>e.query),types:["product"]})}function p3(n,e){let t={...e,handle:e.id.replace(/\_/g,"-"),title:e.name};return{...t,links:e.items?.map(i=>y4(n,t,i))}}function f3(n,e){return w4(n,e)}function g3(n,e){return H4(n,e)}function $5(n,e){let t=e.currencies.find(i=>i.code===e.currency);return new y({accepts_gift_cards:!0,address:{},brand:{},collections_count:0,currency:e.currency,customer_accounts_enabled:!0,customer_accounts_optional:!0,description:e.description,domain:e.url.replace(/^http[s]?:\/\//,""),email:e.support_email,enabled_currencies:e.currencies.map(i=>({iso_code:i.code,name:i.name,symbol:i.symbol})),enabled_payment_providers:[],id:e.id,metafields:null,metaobjects:null,money_format:e.currencies.find(i=>i.code===e.currency),money_with_currency_format:{...t,symbol:`${e.currency} ${t?.symbol||""}`},name:e.name,password_message:null,permanent_domain:`${e.id}.swell.store`,phone:e.support_phone,published_locales:e.locales.map(i=>({endonym_name:i.name,iso_code:i.code,name:i.name,primary:i.code===e.locale,root_url:e.url})),secure_url:e.url,types:[],url:e.url,vendors:[],policies:[],privacy_policy:null,refund_policy:null,shipping_policy:null,subscription_policy:null,terms_of_service:null,products_count:0})}var m4=class{theme;swell;pageId;pageResourceMap;objectResourceMap;formResourceMap;queryParamsMap;shopifyCompatibilityConfig;editorLocaleConfig;constructor(e){this.theme=e,this.swell=e.swell,this.shopifyCompatibilityConfig=this.swell.shopifyCompatibilityConfig??void 0,this.pageResourceMap=this.getPageResourceMap(),this.objectResourceMap=this.getObjectResourceMap(),this.formResourceMap=this.getFormResourceMap(),this.queryParamsMap=this.getQueryParamsMap()}adaptGlobals(e){let{store:t,request:i,page:r,menus:a}=e;this.pageId=this.getPageType(r?.id),e.shop=this.getShopData(e),e.page={...r||void 0},e.request={...i||void 0,design_mode:this.swell.isEditor,visual_section_preview:!1,page_type:r?.id},e.linklists=a,e.current_page=this.swell.queryParams.page||1,e.routes=this.getPageRoutes(),e.localization=this.getLocalizationObject(t,i),e.all_country_option_tags=this.getAllCountryOptionTags(e.geo)}adaptSettings(e,t){let{current:i,presets:r}=t;if(typeof i=="object"&&i)return{current:p4(e,i),presets:r};let a=r?.[i];if(!a)throw new Error(`Failed to build settings config: "${i}" preset is not defined`);return{current:i,presets:{...r,[i]:p4(e,a)}}}adaptPageData(e){let t=this.pageResourceMap.find(({page:i})=>i===this.pageId);if(t)for(let[i,r]of Object.entries(e)){let a=t.resources.find(({from:o})=>o===i);a&&r instanceof T&&(e[a.to]=a.object(this,r))}this.adaptObjectData(e)}adaptObjectData(e){for(let t of Object.values(e)){let i=this.objectResourceMap.find(({from:r})=>r===t?.constructor.name);if(i){let r=i.object(this,t);t instanceof T?t.setCompatibilityProps(r):Object.assign(t,r)}}}adaptQueryParams(){let e={};for(let[t,i]of Object.entries(this.swell.queryParams)){let r=this.queryParamsMap.find(({from:a})=>typeof a=="function"?a(t):a===t);if(r){let a=typeof r.to=="function"?r.to(t,i):{[r.to]:i};Object.assign(e,a)}else e[t]=i}this.swell.queryParams=e}getAdaptedFormType(e){return this.formResourceMap.find(i=>i.shopifyType===e)?.type}async getAdaptedFormClientParams(e,t,i){let r=this.formResourceMap.find(a=>a.type===e);if(r?.clientParams)return r.clientParams(t,i)}async getAdaptedFormClientHtml(e,t,i){let r=this.formResourceMap.find(o=>o.type===e),a=this.shopifyCompatibilityConfig?.forms?.find(o=>o.id===e);if(r&&a)return a.client_params?.reduce((o,s)=>`<input type="hidden" name="${s.name}" value="${s.value}" />`+o,"")}async getAdaptedFormServerParams(e,t){let i=this.formResourceMap.find(r=>r.type===e||r.shopifyType===e);if(typeof i?.serverParams=="function")return i.serverParams(t)}async getAdaptedFormServerResponse(e,t){let i=this.formResourceMap.find(r=>r.type===e||r.shopifyType===e);if(typeof i?.serverResponse=="function")return i.serverResponse(t)}getShopData({store:e}){return e?$5(this,e):{}}getContentForHeader(){return"<script>var Shopify = Shopify || {};</script>"}getMenuData(e){return p3(this,e)}getFontData(e){return f3(this,e)}getFormData(e){return g3(this,e)}getFontFromShopifySetting(e){return j1(e)}getThemeConfig(e){return P1(e)}getPresetsConfig(e){return x1(e)}getEditorConfig(e){return D1(e)}getSectionConfigSchema(e){return R1(e)}async getLocaleConfig(e,t="en",i=".json"){let r=await e.getAllThemeConfigs(),a=new Map;for(let s of r.values())s.file_path.startsWith("theme/locales/")&&s.file_path.endsWith(i)&&a.set(s.file_path,s);let o=a.get(`theme/locales/${t}${i}`)??null;if(!o){let s=t.split("-")[0];if(o=a.get(`theme/locales/${s}${i}`)??null,!o){let l=`.default${i}`;for(let c of a.values())if(c.file_path.endsWith(l)){o=c;break}}}if(o){o=await e.getThemeConfig(o.file_path);try{return JSON.parse(o?.file_data||"")}catch{}}return{}}async getEditorLocaleConfig(e,t){if(this.editorLocaleConfig?.[t])return this.editorLocaleConfig[t];let i=await this.getLocaleConfig(e,t,".schema.json");return this.editorLocaleConfig={[t]:i},i}async renderSchemaTranslations(e,t,i="en"){if(!(0,y3.isObject)(t))return t;let r=await this.getEditorLocaleConfig(e,i);return this.renderSchemaTranslationValue(e,t,i,r)}async renderSchemaTranslationValue(e,t,i,r){switch(typeof t){case"string":{if(t.startsWith("t:")){let a=t.slice(2),o=a?.split("."),s=o.pop()||"",l=o.join(".");return(0,y3.get)(r,l)?.[s]??a}break}case"object":{if(Array.isArray(t)){let a=[];for(let o of t)a.push(await this.renderSchemaTranslationValue(e,o,i,r));return a}if(t!==null){let a={...t};for(let[o,s]of Object.entries(t))a[o]=await this.renderSchemaTranslationValue(e,s,i,r);return a}break}default:break}return t}getPageType(e){return this.shopifyCompatibilityConfig?.page_types?.[e]||e}getPageRouteUrl(e){return this.theme.props.pages?.find(t=>t.id===e)?.url||e}getPageRoutes(){let e={account_addresses_url:this.getPageRouteUrl("account/addresses"),account_login_url:this.getPageRouteUrl("account/login"),account_logout_url:this.getPageRouteUrl("account/logout"),account_recover_url:this.getPageRouteUrl("account/recover"),account_register_url:this.getPageRouteUrl("account/signup"),account_url:this.getPageRouteUrl("account/index"),all_products_collection_url:this.getPageRouteUrl("products/index"),cart_add_url:this.getPageRouteUrl("cart/add"),cart_change_url:this.getPageRouteUrl("cart/change"),cart_clear_url:this.getPageRouteUrl("cart/clear"),cart_update_url:this.getPageRouteUrl("cart/update"),cart_url:this.getPageRouteUrl("cart/index"),collections_url:this.getPageRouteUrl("categories/index"),predictive_search_url:this.getPageRouteUrl("search/suggest"),product_recommendations_url:this.getPageRouteUrl("products/index"),root_url:this.getPageRouteUrl("index"),search_url:this.getPageRouteUrl("search")};if(this.shopifyCompatibilityConfig?.page_routes)for(let[t,i]of Object.entries(this.shopifyCompatibilityConfig.page_routes))i&&typeof i=="object"&&i.page_id?e[t]=this.getPageRouteUrl(i.page_id):typeof i=="string"&&(e[t]=i);return e}getLocalizationObject(e,t){return S4(this,e,t)}getAdaptedPageUrl(e){if(!e)return;let t,i,r={},[a,o]=e.split("?"),s=a.split("."),l=s[1]?s.pop():null,[,c,u,h]=s.join(".").split("/");switch(l==="js"&&(i="json"),c){case"account":switch(u){case"order":t="account/order",r.id=h;break;case"register":t="account/login";break;default:break}break;case"blog":u&&(t="blogs/category",r.category=u),h&&(t="blogs/blog",r.slug=h);break;case"collections":u?u==="all"?t="products/index":(t="categories/category",r.slug=u):t="categories/index";break;case"gift_card":u&&(t="gift-card",r.code=u);break}if(t){let p=this.getPageRouteUrl(t);if(p)return p.replace(/:(\w+)/g,(m,f)=>r[f])+(l?`.${l}`:"")+(o?`?${o}`:"")}else if(i)return a.replace(new RegExp(`.${l}$`),`.${i}`)+(o?`?${o}`:"")}getThemeFilePath(e,t){switch(e){case"assets":return`assets/${t}`;case"components":return`snippets/${t}`;case"config":return`config/${t}`;case"layouts":return`layout/${t}`;case"templates":return`templates/${this.getPageType(t)}`;case"sections":return`sections/${t}`;default:throw new Error(`Theme file type not supported: ${e}`)}}getPageResourceMap(){return this.shopifyCompatibilityConfig?.page_resources?this.shopifyCompatibilityConfig.page_resources.map(e=>({page:e.page,resources:e.resources.map(({from:t,to:i,object:r})=>{let a=w3[r];if(!a)throw new Error(`ShopifyObject for '${r}' not found.`);return{from:t,to:i,object:a}})})):[]}getObjectResourceMap(){return this.shopifyCompatibilityConfig?.object_resources?this.shopifyCompatibilityConfig.object_resources.map(e=>{let t=w3[e.object];if(!t)throw new Error(`ShopifyObject for '${e.object}' not found.`);return{from:e.from,object:t}}):[]}getFormResourceMap(){return this.shopifyCompatibilityConfig?.forms?this.shopifyCompatibilityConfig.forms.map(e=>({shopifyType:e.shopify_type,type:e.id})):[]}getQueryParamsMap(){return[{from:"sort_by",to:"sort"},{from(e){return e.startsWith("filter.v.")},to(e,t){let i=e.split("filter.v.")[1],r=t;return{[i]:r}}}]}getAllCountryOptionTags(e){return e?.countries?.map(t=>{if(!t)return;let i=[...(e?.states||[]).filter(a=>a.country===t.id).map(a=>[a.id,a.name])],r=JSON.stringify(i).replace(/"/g,""");return`<option value="${t.id}" data-provinces="${r}">${t.name}</option>`}).filter(Boolean).join(`
|
|
959
|
-
`)}isScriptFormActionUrl(e){if(!e)return!1;let t=this.shopifyCompatibilityConfig?.editor_configs?.script_actions_routes||{};for(let i of Object.values(t))if(e===i)return!0;return!1}isScriptUrl(e){if(!e)return!1;let t=this.shopifyCompatibilityConfig?.editor_configs?.script_routes||{};for(let i of Object.values(t))if(e.startsWith(i))return!0;return!1}needRedirectToPageStart(e){return e?(this.shopifyCompatibilityConfig?.editor_configs?.redirect_to_page_start_forms||[]).includes(e):!1}isCheckoutForm(e){return e?this.shopifyCompatibilityConfig?.editor_configs?.checkout_form===e:!1}};var z5=100,W5=15,T=class{_getter;_getterHash;_result;_compatibilityProps={};constructor(e){return e&&this._setGetter(e),this._getProxy()}_getProxy(){return new Proxy(this,{get(e,t){let i=e;switch(t){case"toLiquid":case"next":return;case"then":return!1;case"toJSON":case"toObject":return()=>i.toObject();default:break}if(typeof i[t]=="function"||t.startsWith?.("_"))return i[t];if(typeof t=="symbol"&&t===Symbol.toStringTag)return i._result instanceof Promise?"[object Promise]":i._result!==void 0?"[object Object]":"undefined";if(i._result===void 0){if(i[t]!==void 0)return i[t];i._result=i._get().catch(r=>(console.log(r),i._getCollectionResultOrProp(i,t)))}return T3(i._result)?i._result.then(()=>i._getCollectionResultOrProp(i,t)).catch(r=>(console.log(r),null)):i._getCollectionResultOrProp(i,t)},set(e,t,i){return e[t]=i,!0}})}_getCollectionResultOrProp(e,t){if(e._result&&Array.isArray(e._result.results)){let i=e._result.results.find(r=>r.slug===t||r.id===t)||(typeof t=="number"?e._result.results[t]:void 0);if(i)return i}return t in e._compatibilityProps?e._compatibilityProps[t]:e._result&&t in e._result?e._result[t]:e[t]}async _get(...e){if(this._getter){let t=this._getter.bind(this);return Promise.resolve().then(()=>t()).then(i=>(this._result=i,i&&Object.assign(this,i),i)).catch(i=>(console.log(i),null))}return this._result}_setGetter(e){this._getter=e,this._getterHash=L4(e.toString())}async _resolve(){return this._result===void 0?this._get():this._result}_isResultResolved(){return this._result!==void 0&&!(this._result instanceof Promise)}async resolve(e=!0,t=!1){let i={},r=await this._resolve();return r===null?null:(Object.assign(i,r),Object.assign(i,this._compatibilityProps),J(i,e,t))}toObject(){if(this._result===null)return null;let e={};return Object.assign(e,this._result),Object.assign(e,this._compatibilityProps),e}toJSON(){return this.toObject()}valueOf(){return this.resolve()}setCompatibilityProps(e){this._compatibilityProps=e}getCompatibilityProp(e){return this._compatibilityProps[e]}},k4=class extends T{_swell;_resource;_resourceName;_collection;_query={};_compatibilityInstance=null;constructor(e,t,i){return super(i),this._swell=e,this._collection=t,this._getProxy()}_getProxy(){return super._getProxy()}getResourceObject(){let{_swell:e,_collection:t}=this;if(this._resource=(e?.storefront)[t],e&&t.startsWith("content/")){let i=t.split("/")[1]?.replace(/\/$/,"").trim();this._resource={list:r=>e.storefront.content.list(i,r),get:(r,a)=>e.storefront.content.get(i,r,a)}}if(!this._resource?.get)throw new Error(`Swell storefront resource for collection '${t}' does not exist.`);return this._resource}},A=class n extends k4{length=0;results;count;page;pages;page_count;limit=W5;name;constructor(e,t,i={},r){return super(e,t,r),this._query=this._initQuery(i),r||this._setGetter(this._defaultGetter()),this._getProxy()}_getProxy(){return super._getProxy()}_initQuery(e){let t=e||{};return t.limit>z5||t.limit===null?t.limit=z5:t.limit||(t.limit=W5),this.limit=t.limit,t}_defaultGetter(){let e=this.getResourceObject();async function t(){return e.list(this._query)}return t}async _get(e={}){if(this._query={...this._query,...e},this._getter){let t=this._getter;this._result=this._swell.getCachedResource("storefront-list",[this._collection,this._query,this._getterHash],async()=>t.call(this)).then(i=>(this._result=i,i&&Object.assign(this,i,{length:i.results?.length||0}),i)).catch(i=>(console.log(i),null))}return this._result}[Symbol.iterator](){return this.iterator()}*iterator(){for(let e of this.results||[])yield e}_clone(e){let t=new n(this._swell,this._collection,this._query,this._getter);return this._isResultResolved()&&(t._result=(0,K5.cloneDeep)(this._result)),this._compatibilityProps&&t.setCompatibilityProps(this._compatibilityProps),e!==void 0&&(Object.assign(t,e),e._getter&&t._setGetter(e._getter)),t}_cloneWithCompatibilityResult(e){let t=this._getter,i=this._clone({_getter:async()=>{let r=await t?.call(i);if(r){let a=e(r);return{...r,...a||void 0}}return r}});if(this._isResultResolved()){let r=(0,K5.cloneDeep)(this._result);if(r){let a=e(r);Object.assign(i,r),a&&Object.assign(i,a)}}return i}},_=class extends k4{_id;constructor(e,t,i,r={},a){return super(e,t,a),this._id=i,this._query=r,a||this._setGetter(this._defaultGetter()),this._getProxy()}_getProxy(){return super._getProxy()}_defaultGetter(){let e=this.getResourceObject();async function t(){return e.get(this._id,this._query)}return t}async _get(e,t={}){if(this._id=e||this._id,this._query={...this._query,...t},this._getter){let i=this._getter;this._result=this._swell.getCachedResource("storefront-record",[this._collection,this._id,this._query,this._getterHash],async()=>i.call(this)).then(r=>(this._result=r,r&&Object.assign(this,r),r)).catch(r=>(console.log(r),null))}return this._result}},W=class extends k4{constructor(e,t,i){return super(e,t,i),i||this._setGetter(this._defaultGetter()),this._getProxy()}_getProxy(){return super._getProxy()}_defaultGetter(){let{_collection:e,_swell:{storefrontContext:t}}=this,i=this.getResourceObject();async function r(){return t[e]!==void 0?t[e]:i.get()}return r}async _get(){if(this._getter){let e=this._getter;this._result=Promise.resolve().then(()=>e.call(this)).then(t=>(this._result=t,t&&Object.assign(this,t),t)).catch(t=>(console.log(t),null))}return this._result}},M4=class{_resource;count=0;page=0;page_count=0;limit=0;pages={};next;previous;constructor(e){this._resource=e,this.setPaginationProps()}setPaginationProps(){let{_resource:e}=this;if(this.count=e.count||0,this.page=e.page||0,this.page_count=e.page_count||0,this.limit=e.limit||0,this.pages={},e.pages)for(let[r,a]of Object.entries(e.pages))this.pages[r]={start:a.start,end:a.end,url:this.getPageUrl(Number(r))};let t=this.pages[this.page+1];this.next=t?{start:t.start,end:t.end,url:this.getPageUrl(this.page+1)}:void 0;let i=this.pages[this.page-1];this.previous=i?{start:i.start,end:i.end,url:this.getPageUrl(this.page-1)}:void 0}getPageUrl(e){let{url:t,queryParams:i}=this._resource._swell;return`${t.pathname}?${B({...i,page:e})}`}setCompatibilityProps(e){Object.assign(this,e)}};function L4(n){var e="0123456789abcdef";function t(L){var k,M="";for(k=0;k<=3;k++)M+=e.charAt(L>>k*8+4&15)+e.charAt(L>>k*8&15);return M}function i(L,k){var M=(L&65535)+(k&65535),E=(L>>16)+(k>>16)+(M>>16);return E<<16|M&65535}function r(L,k){return L<<k|L>>>32-k}function a(L,k,M,E,N,I){return i(r(i(i(k,L),i(E,I)),N),M)}function o(L,k,M,E,N,I,Q){return a(k&M|~k&E,L,k,N,I,Q)}function s(L,k,M,E,N,I,Q){return a(k&E|M&~E,L,k,N,I,Q)}function l(L,k,M,E,N,I,Q){return a(k^M^E,L,k,N,I,Q)}function c(L,k,M,E,N,I,Q){return a(M^(k|~E),L,k,N,I,Q)}function u(L){var k,M=(L.length+8>>6)+1,E=new Array(M*16);for(k=0;k<M*16;k++)E[k]=0;for(k=0;k<L.length;k++)E[k>>2]|=L.charCodeAt(k)<<k%4*8;return E[k>>2]|=128<<k%4*8,E[M*16-2]=L.length*8,E}var h,p=u(""+n),C=1732584193,m=-271733879,f=-1732584194,g=271733878,Y,V4,o2,s2;for(h=0;h<p.length;h+=16)Y=C,V4=m,o2=f,s2=g,C=o(C,m,f,g,p[h+0],7,-680876936),g=o(g,C,m,f,p[h+1],12,-389564586),f=o(f,g,C,m,p[h+2],17,606105819),m=o(m,f,g,C,p[h+3],22,-1044525330),C=o(C,m,f,g,p[h+4],7,-176418897),g=o(g,C,m,f,p[h+5],12,1200080426),f=o(f,g,C,m,p[h+6],17,-1473231341),m=o(m,f,g,C,p[h+7],22,-45705983),C=o(C,m,f,g,p[h+8],7,1770035416),g=o(g,C,m,f,p[h+9],12,-1958414417),f=o(f,g,C,m,p[h+10],17,-42063),m=o(m,f,g,C,p[h+11],22,-1990404162),C=o(C,m,f,g,p[h+12],7,1804603682),g=o(g,C,m,f,p[h+13],12,-40341101),f=o(f,g,C,m,p[h+14],17,-1502002290),m=o(m,f,g,C,p[h+15],22,1236535329),C=s(C,m,f,g,p[h+1],5,-165796510),g=s(g,C,m,f,p[h+6],9,-1069501632),f=s(f,g,C,m,p[h+11],14,643717713),m=s(m,f,g,C,p[h+0],20,-373897302),C=s(C,m,f,g,p[h+5],5,-701558691),g=s(g,C,m,f,p[h+10],9,38016083),f=s(f,g,C,m,p[h+15],14,-660478335),m=s(m,f,g,C,p[h+4],20,-405537848),C=s(C,m,f,g,p[h+9],5,568446438),g=s(g,C,m,f,p[h+14],9,-1019803690),f=s(f,g,C,m,p[h+3],14,-187363961),m=s(m,f,g,C,p[h+8],20,1163531501),C=s(C,m,f,g,p[h+13],5,-1444681467),g=s(g,C,m,f,p[h+2],9,-51403784),f=s(f,g,C,m,p[h+7],14,1735328473),m=s(m,f,g,C,p[h+12],20,-1926607734),C=l(C,m,f,g,p[h+5],4,-378558),g=l(g,C,m,f,p[h+8],11,-2022574463),f=l(f,g,C,m,p[h+11],16,1839030562),m=l(m,f,g,C,p[h+14],23,-35309556),C=l(C,m,f,g,p[h+1],4,-1530992060),g=l(g,C,m,f,p[h+4],11,1272893353),f=l(f,g,C,m,p[h+7],16,-155497632),m=l(m,f,g,C,p[h+10],23,-1094730640),C=l(C,m,f,g,p[h+13],4,681279174),g=l(g,C,m,f,p[h+0],11,-358537222),f=l(f,g,C,m,p[h+3],16,-722521979),m=l(m,f,g,C,p[h+6],23,76029189),C=l(C,m,f,g,p[h+9],4,-640364487),g=l(g,C,m,f,p[h+12],11,-421815835),f=l(f,g,C,m,p[h+15],16,530742520),m=l(m,f,g,C,p[h+2],23,-995338651),C=c(C,m,f,g,p[h+0],6,-198630844),g=c(g,C,m,f,p[h+7],10,1126891415),f=c(f,g,C,m,p[h+14],15,-1416354905),m=c(m,f,g,C,p[h+5],21,-57434055),C=c(C,m,f,g,p[h+12],6,1700485571),g=c(g,C,m,f,p[h+3],10,-1894986606),f=c(f,g,C,m,p[h+10],15,-1051523),m=c(m,f,g,C,p[h+1],21,-2054922799),C=c(C,m,f,g,p[h+8],6,1873313359),g=c(g,C,m,f,p[h+15],10,-30611744),f=c(f,g,C,m,p[h+6],15,-1560198380),m=c(m,f,g,C,p[h+13],21,1309151649),C=c(C,m,f,g,p[h+4],6,-145523070),g=c(g,C,m,f,p[h+11],10,-1120210379),f=c(f,g,C,m,p[h+2],15,718787259),m=c(m,f,g,C,p[h+9],21,-343485551),C=i(C,Y),m=i(m,V4),f=i(f,o2),g=i(g,s2);return t(C)+t(m)+t(f)+t(g)}function $t(n,e){if(!n.file_path.startsWith("theme/sections/"))return!1;if(n.file_path.endsWith(".liquid")){if(!e.get(n.file_path.replace(/\.liquid$/,".json")))return!0}else if(n.file_path.endsWith(".json"))return!0;return!1}async function B5(n,e){let t=[];for(let i of n.values())if($t(i,n)){let r=await e(i);r&&t.push({...r,id:i.name.split(".").pop()??"",...r&&{presets:Kt(r)}})}return t}function Kt(n){return Array.isArray(n?.presets)?n.presets.map(e=>({label:e.label,settings:{...n.fields?.reduce((t,i)=>(i.id&&i.default!==void 0&&(t[i.id]=i.default),t),{}),...e.settings||void 0},blocks:e.blocks?.map(t=>{let i=n.blocks?.find(r=>r.type===t.type);return i?{...t,settings:{...i.fields.reduce((r,a)=>(a.id&&a.default!==void 0&&(r[a.id]=a.default),r),{}),...t.settings||void 0}}:t})})):[]}async function q5(n,e){let t=Array.from(n.values()),i=t.filter(o=>o.file_path.startsWith("theme/sections/")&&o.file_path.endsWith(".json")&&!n.has(o.file_path.replace(/\.json$/,".liquid"))),r=async o=>{let s=t.find(c=>{if(!c.file_path.endsWith(`/${o}.json`)&&!c.file_path.endsWith(`/${o}.liquid`))return!1;if(c.file_path.endsWith(".liquid")){if(!n.get(c.file_path.replace(/\.liquid$/,".json")))return!0}else if(c.file_path.endsWith(".json"))return!0;return!1});return s?{...await e(s),id:s.name.split(".").pop()}:void 0},a=[];for(let o of i){let s;try{s=JSON.parse(o.file_data),s?.name&&(s.label=s.name,delete s.name)}catch{}if(s?.type){let l=await o3(s,r);a.push({...s,id:o.name.split(".").pop(),sectionConfigs:l})}}return a}async function o3(n,e){let t=n?.order instanceof Array?n.order:Object.keys(n?.sections||{}),i=[];for(let r of t){let a=n.sections[r];if(!a)continue;let o=await e(a.type)||{id:a.type,label:a.type,tag:"div",class:"",fields:[],blocks:[]},s=n.id?`page__${n.id}__${r}`:o.id,c=(a.block_order instanceof Array?a.block_order:Object.keys(a.blocks||{})).map(h=>a.blocks?.[h]).filter(Boolean),u={section:{id:s,...a,blocks:c}};i.push({id:s,section:{id:s,...a},schema:o,settings:u,tag:o.tag||"div",class:o.class})}return i}function zt(n){return String(n)==="[object Array]"}function N4(n){let e=typeof n;return n!==null&&(e==="object"||e==="function")}function J5(n){let e=new TextEncoder().encode(n),t="";for(let i=0;i<e.length;i+=3){let r=Array.from(e.slice(i,i+3));t+=btoa(String.fromCharCode(...r))}return t}function Z5(n,e="id"){return(0,V1.reduce)(n,(t,i)=>(t[i[e]]=i,t),{})}function Wt(n){let e=n.toUpperCase().split(/-|_/),t=e.shift(),i=e.pop(),r="";return i&&(r=i),i||(r=P3[t.toLowerCase()]||""),r.toLowerCase()}function Y5(n,e){if(!(typeof n!="object"||n===null)){for(let t of Object.keys(n))if(Object.hasOwn(n,t)&&e(t,n)!==!1){let r=n[t];typeof r=="object"&&r!==null&&Y5(r,e)}}}function Jt(n){let e=new Set;return Y5(n,(t,i)=>{if(typeof i=="object"&&i!==null){if(e.has(i))return!1;e.add(i)}}),Array.from(e)}function Yt(n){let e=new WeakSet;return n&&JSON.parse(JSON.stringify(n,(t,i)=>{if(typeof i=="object"&&i!==null){if(e.has(i))return JSON.parse(JSON.stringify(i));e.add(i)}return i}))}function O1(n){if(typeof n!="object"||n===null)return n;for(let e in n)e==="_swell"?n[e]=void 0:O1(n[e])}function q1(n){if(n!==void 0)return n instanceof A?"SwellStorefrontCollection":n instanceof _?"SwellStorefrontRecord":n instanceof y?"ShopifyResource":n instanceof T?"StorefrontResource":"promise"}async function J(n,e=!0,t=!1){let i=n,r=e;try{if(n instanceof Promise&&(r=!1,i=await n),n instanceof T&&(r=!1,i=await J(n.resolve(),e,t)),i instanceof Array){if(i=await Promise.all(i.map(a=>J(a,e,t))),i.filter(a=>a!==void 0).length===0)return e?[]:void 0}else if(typeof i=="object"&&i!==null&&!i._swell){let a={};for(let[o]of Object.entries(i)){if(!e&&(i[o]instanceof Promise||i[o]instanceof T||i[o]instanceof y)){a[o]={_type:q1(i[o]),...t?{value:await J(i[o],r,t)}:{}};continue}if(i[o]instanceof T&&t){a[o]={_type:q1(i[o]),value:await J(i[o],r,t)};continue}a[o]=await J(i[o],r,t)}return!e&&Object.keys(a).length===0?void 0:a}}catch(a){return console.error(a),n}return i}function B(n){return G1.default.stringify({...n,sections:void 0,section_id:void 0},{encodeValuesOnly:!0,arrayFormat:"repeat"})}function G5(n,e){return n=Array.isArray(n)?n.join(" "):n,n.split("}").map(r=>{let[a,o]=r.split("{");return!a||!o?"":`${a.split(",").map(l=>`#${e} ${l.trim()}`).join(", ")} {${o}}`}).join(" ")}function p4(n,e){return Object.entries(e).reduce((t,[i,r])=>{let a=n[i]?.value,o=a!=null;return t[i]=o?a:r,t},{})}var I4="ContentSections";function a4(n){return`SectionGroup_${n}`}var U1="https://api.schema.io",$1=new Map,K1=new Map,Q5=class n{url;headers;swellHeaders;queryParams;workerEnv;config;shopifyCompatibilityConfig;backend;storefront;storefrontContext;instanceId="";isPreview=!1;isEditor=!1;sentResponse=!1;storefront_url;constructor(e){let{url:t,config:i,shopifyCompatibilityConfig:r,headers:a,swellHeaders:o,serverHeaders:s,queryParams:l,workerEnv:c,...u}=e;if(this.url=t instanceof URL?t:new URL(t||""),this.config=i,this.shopifyCompatibilityConfig=r,this.queryParams=n.formatQueryParams(l||this.url.searchParams),this.workerEnv=c,s){let{headers:h,swellHeaders:p}=n.formatHeaders(s);this.headers=h,this.swellHeaders=p,this.backend=new S3({storeId:p["store-id"],accessToken:p["access-token"],apiHost:p["api-host"]}),this.storefront=this.getStorefrontInstance({...e,headers:h,swellHeaders:p}),this.instanceId=["store-id","environment-id","deployment-mode","theme-id","theme-branch-id"].map(C=>p[C]||"0").join(":"),this.isEditor=u.isEditor??p["deployment-mode"]==="editor",this.isPreview=this.isEditor||p["deployment-mode"]==="preview"}else if(a&&o)Object.assign(this,u),this.headers=a,this.swellHeaders=o,this.storefront=this.getStorefrontInstance(e);else throw new Error("Swell client requires `serverHeaders` when initialized on the server-side, or `headers` and `swellHeaders` when initialized on the client-side.");this.storefrontContext=this.initStorefrontContext()}static formatHeaders(e){let t={},i={};e instanceof Headers?e.forEach((r,a)=>{t[a]=r}):e&&(t=e);for(let[r,a]of Object.entries(t))r.startsWith("swell-")&&a&&(i[r.replace("swell-","")]=a);return{headers:t,swellHeaders:i}}static formatQueryParams(e){let t={};return e instanceof URLSearchParams?t=J1.default.parse(e.toString()):e&&(t=e),t}async getCachedResource(e,t,i){let r=this.swellHeaders["request-id"],a=z1(e,[r,t]);return this.getResourceCache().fetch(a,i)}async updateCacheModified(e){if(e){let t="_cache-modified";await this.getResourceCache().get(t)!==e&&(await this.getRequestCache().flushAll(),await this.getResourceCache().set(t,e,1e3*60*60*24*90))}}async getAppSettings(){return await this.get("/:storefronts/{id}/configs/settings/values",{id:this.swellHeaders["storefront-id"]})||{}}async getStorefrontSettings(e=!1){try{let{settings:t,menus:i,payments:r,subscriptions:a,session:o}=await this.storefront.request("get","/settings/all",void 0,void 0,{force:e}),s=this.storefront.settings;s.localizedState={},s.set({value:t}),s.set({model:"menus",value:i}),s.set({model:"payments",value:r}),s.set({model:"subscriptions",value:a}),s.set({model:"session",value:o})}catch(t){t instanceof Error&&(t.message=`Swell: unable to load settings (${t.message})`),console.error(t)}return this.storefront.settings.get()}getStorefrontMenus(){let e=this.storefront.settings.getState("/settings/menus","menuState");return!e||e instanceof Promise?[]:e}async get(...e){return this.backend?.get(...e)}async put(...e){return this.backend?.put(...e)}async post(...e){return this.backend?.post(...e)}async delete(...e){return this.backend?.delete(...e)}getStorefrontInstance(e){let{swellHeaders:t,getCookie:i,setCookie:r,storefrontSettingStates:a}=e;if(!t)throw new Error("Swell headers are required");let o=t["store-id"],s=t["public-key"];if(!o||!s)throw new Error('Missing required headers: "swell-store-id" and "swell-public-key"');let l=W1.default.create(o,s,{url:t["admin-url"],vaultUrl:t["vault-url"],getCookie:i,setCookie:r&&((c,u,h)=>r(c,u,h,this)),headers:{"Swell-Store-id":o,"Swell-Storefront-Id":t["storefront-id"]}});return a&&Object.assign(l.settings,a),l.request=this.getCacheableStorefrontRequestHandler(l),l}initStorefrontContext(){let e={};if(this.swellHeaders?.["storefront-context"])try{e=JSON.parse(this.swellHeaders["storefront-context"])}catch{console.error("Failed to parse swell-storefront-context. Ignoring...")}return e}isStorefrontRequestCacheable(e,t,i){if(i?.force)return!1;if(e==="get")switch(t.split("/")[1]){case"products":case"categories":case"content":case"settings":return!0;default:return!1}return!1}getCacheableStorefrontRequestHandler(e){let t=e.request;return(i,r,a,o,s)=>{if(this.isStorefrontRequestCacheable(i,r,s))return this.getRequestCache().fetch(z1("request",[i,r,a,o,s]),()=>t(i,r,a,o,s));switch(i){case"delete":case"post":case"put":{let l=r.split("/")[1];delete this.storefrontContext[l];break}default:}return t(i,r,a,o,s)}}getResourceCache(){let e=$1.get(this.instanceId);return e||(e=new b4,$1.set(this.instanceId,e)),e}getRequestCache(){let e=K1.get(this.instanceId);return e||(e=new A4,K1.set(this.instanceId,e)),e}getCacheKey(e,t){let i=`${this.instanceId}:${e}`;return Array.isArray(t)&&t.length>0&&(i+=`_${JSON.stringify(t)}`),i.length>512&&(i=`${i.slice(0,480)}${L4(i)}`),i}};function z1(n,e){let t=n;return Array.isArray(e)&&e.length>0&&(t+=`_${JSON.stringify(e)}`),t.length>512&&(t=`${t.slice(0,480)}${L4(t)}`),t}var S3=class{apiHost=U1;apiAuth="";constructor({storeId:e,accessToken:t,apiHost:i}){this.apiHost=i||U1,this.apiAuth=J5(`${e}:${t}`)}async makeRequest(e,t,i){let r={method:e,headers:{Authorization:`Basic ${this.apiAuth}`,"User-Agent":"swell-functions/1.0","Content-Type":"application/json"}},a="";if(i)try{e==="GET"?a=`?${this.stringifyQuery(i)}`:(r.body=JSON.stringify(i),r.headers["Content-Length"]=String(r.body.length))}catch{throw new Error(`Error serializing data: ${i}`)}let o=String(t).startsWith("/")?t.substring(1):t,s=`${this.apiHost}/${o}${a}`,l=await fetch(s,r),c=await l.text(),u;try{u=JSON.parse(c)}catch{u=String(c||"").trim()}if(l.status>299)throw new B4(u,{status:l.status,method:e,endpointUrl:o});if(e!=="GET"&&u?.errors)throw new B4(u.errors,{status:400,method:e,endpointUrl:o});return u}stringifyQuery(e,t){let i=[];for(let[r,a]of Object.entries(e)){let o=t?`${t}[${r}]`:r,l=a!==null&&typeof a=="object"?this.stringifyQuery(a,o):`${encodeURIComponent(o)}=${a===null?"":encodeURIComponent(a)}`;i.push(l)}return i.join("&")}async get(e,t){return this.makeRequest("GET",e,t)}async put(e,t){return this.makeRequest("PUT",e,t)}async post(e,t){return this.makeRequest("POST",e,t)}async delete(e,t){return this.makeRequest("DELETE",e,t)}},B4=class extends Error{status=200;constructor(e,t={}){let i;typeof e=="string"?i=e:i=JSON.stringify(e,null,2),t.method&&t.endpointUrl&&(i=`${t.method} /${t.endpointUrl}
|
|
960
|
-
${i}`),super(i),this.name="SwellError",this.status=t.status||500}};function X5(n,e){return new A(n,"products",e)}function Qt(n,e,t){return new _(n,"products",e,t)}function Xt(n,{search:e,filter:t,sort:i}){return new A(n,"products",{search:e,filter:t,sort:i})}function e6(n,e){return new A(n,"categories",e)}function Y1(n,e,t){return new _(n,"categories",e,t)}async function t6(n,e,t){let i=Y1(n,e,t),r=await i.id;return i.products=X5(n,{category:r}),i}function i6(n,e){return n.getCachedResource(`content-model-${e}`,[],()=>n.get("/:content/{name}",{name:e,public:!0,"storefront.enabled":!0}))}async function Q1(n,e,t){return new A(n,`content/${e}`,t)}async function e2(n,e,t,i){return new _(n,`content/${e}`,t,i)}async function n6(n,e,t){return e2(n,"pages",e,t)}async function r6(n,e){return Q1(n,"blogs",e)}async function a6(n,e,t){return e2(n,"blogs",e,t)}var G=require("lodash-es");async function X1(n,e){let t=[];for(let i of e)if(s6(i,e)){let r=await i2(n,i);r&&t.push({...r,id:i.name.split(".").pop()})}return t}async function t2(n,e,t=o6){let i=e.order instanceof Array?e.order:Object.keys(e.sections||{}),r=[];for(let a of i){let o=e.sections[a],s=await t(n,o.type);if(!s)continue;let l=e.id?`page__${e.id}__${a}`:s.id,u=(o.block_order instanceof Array?o.block_order:Object.keys(o.blocks||{})).map(p=>o.blocks?.[p]).filter(Boolean),h={section:{id:l,...o,blocks:u}};r.push({id:l,settings:h,section:{id:l,...o},tag:s.tag||"div",class:s.class,schema:s})}return r}async function ee(n,e){let t=e.filter(a=>l6(a,e)),i=async(a,o)=>{let s=e.find(c=>h6(c,e,o)),l=await i2(a,s);if(l)return{...l,id:s?.name.split(".").pop()}},r=[];for(let a of t){let o;try{o=JSON.parse(a.file_data),o?.name&&(o.label=o.name,delete o.name)}catch{}if(o?.type){let s=await t2(n,o,i);r.push({...o,id:a.name.split(".").pop(),sectionConfigs:s})}}return r}async function o6(n,e){let t=await n.getThemeTemplateConfigByType("sections",e);return i2(n,t)}async function i2(n,e){let t;if(e?.file_path?.endsWith(".liquid")){if(n.shopifyCompatibility){n.liquidSwell.lastSchema=void 0,await n.renderTemplate(e);let i=n.liquidSwell.lastSchema||{};i&&(t=n.shopifyCompatibility.getSectionConfigSchema(i))}}else if(e?.file_data)try{t=JSON.parse(e?.file_data)||void 0}catch{}return t}function s6(n,e){return n.file_path.startsWith("theme/sections/")?te(n,e):!1}function l6(n,e){if(!n.file_path.startsWith("theme/sections/")||!n.file_path.endsWith(".json"))return!1;let t=n.file_path.replace(/\.json$/,".liquid");return!e.find(i=>i.file_path===t)}function h6(n,e,t){return!n.file_path.endsWith(`/${t}.json`)&&!n.file_path.endsWith(`/${t}.liquid`)?!1:te(n,e)}function te(n,e){if(n.file_path.endsWith(".liquid")){let t=n.file_path.replace(/\.liquid$/,".json");if(!e.find(r=>r.file_path===t))return!0}else if(n.file_path.endsWith(".json"))return!0;return!1}function q4(n){let e={description:n.description,defaultValue:n.default!==void 0?n.default:null,isLabelHidden:!0,layout:"column",params:n},t;switch(n?.type){case"text":case"short_text":t={type:"swell_short_text"};break;case"paragraph":t={type:"swell_paragraph"};break;case"textarea":case"long_text":case"liquid":t={type:"swell_long_text"};break;case"basic_html":case"rich_text":case"rich_html":case"markdown":t={type:"swell_editor"};break;case"number":t={type:"swell_number"};break;case"select":t={type:"swell_select"};break;case"radio":t={type:"swell_radio"};break;case"checkbox":t={type:"swell_boolean"};break;case"color":t={type:"swell_color"};break;case"color_scheme":t={type:"swell_color_scheme"};break;case"color_scheme_group":t={type:"swell_color_scheme_group"};break;case"font":t={type:"swell_font"};break;case"header":t={type:"swell_header"};break;case"icon":t={type:"swell_menu"};break;case"menu":t={type:"swell_menu"};break;case"url":t={type:"swell_url"};break;case"lookup":case"generic_lookup":case"product_lookup":case"category_lookup":case"customer_lookup":t={type:"swell_lookup"};break;case"image":t={type:"swell_image",defaultValue:""};break;case"asset":case"document":case"video":t={type:"swell_file"};break;default:t={type:"swell_short_text"};break}return{...e,...t}}function Z(n,e,t){if(t===void 0)return null;switch(n?.find(r=>r.id===e)?.type){default:return t}}function ie(n,e){return e?.reduce((t,i)=>{for(let r of i.fields||[])r?.id&&(t[r.id]=n[r.id]);return t},{})}function ne(n,e){return e?{settings:e.fields?.reduce((t,i)=>(i?.id&&(t[i.id]=n[i.id]),t),{}),id:e.id,blocks:n.Blocks?.filter(t=>t.props.compiled?._component).map(t=>{let i=t.props.compiled.props,r=t.props.compiled._component.split("__")[2],a=e.blocks?.find(o=>o.type===r);return{type:r,settings:a?.fields?.reduce((o,s)=>(s?.id&&(o[s.id]=i[s.id]),o),{})}})}:{}}async function d6(n,e,t){let i=await ae(n,t),r=await X1(n,e),a=await t2(n,i),o=await ee(n,e);return{pageTemplate:i,allSections:r,pageSections:a,layoutSectionGroups:o}}async function ae(n,e){let t=null;if(t=await n.getThemeTemplateConfigByType("templates",e),t)return JSON.parse(t.file_data)}function c6(n,e){return n.reduce((t,i)=>(i.enabled_on?k3(i.enabled_on,"groups",e)&&t.push(String(i.id)):i.disabled_on?k3(i.disabled_on,"groups",e)||t.push(String(i.id)):i.id===e&&t.push(String(i.id)),t),[])}function u6(n,e){return e.map(t=>({prop:a4(t.id),type:"component-collection",label:t.label,required:!0,accepts:c6(n,t.type)}))}function k3(n,e,t){return!!(n.templates==="*"||n[e]?.includes(t))}function C6(n,e,t){return n.reduce((i,r)=>(r.enabled_on?k3(r.enabled_on,"templates",t)&&i.push(String(r.id)):r.disabled_on?k3(r.disabled_on,"templates",t)||i.push(String(r.id)):e.some(({type:a})=>a===r.id)||i.push(String(r.id)),i),[])}function m6(n){return(n?.configs?.editor?.settings??[]).reduce((e,t)=>{for(let i of t.fields||[])e.push({prop:i.id,label:i.label,optional:!0,group:t.label,...q4(i)});return e},[])}function p6(n){let e=[];for(let t of n){let i=Array.isArray(t.blocks)&&t.blocks.length>0;e.push({id:`${t.id}`,label:t.label,schema:[...(t.fields||[]).reduce((r,a)=>(a.id&&a.type&&r.push({prop:a.id,label:a.label,optional:!0,...q4(a)}),r),[]),...i?[{prop:"Blocks",type:"component-collection",required:!0,accepts:(t.blocks||[]).map(r=>`Block__${t.id}__${r.type}`),defaultValue:t.presets?.[0]?.blocks?.reduce((r,a)=>{let o=t.blocks?.find(({type:s})=>s===a.type);return o&&r.push({_component:`Block__${t.id}__${a.type}`,...(0,G.reduce)(o.fields,(s,l)=>(l.id&&(s[l.id]=Z(o.fields,l.id,l.default)),s),{})}),r},[]),placeholderAppearance:{height:50,label:"Add block",aspectRatio:1}}]:[],{prop:"custom_css",type:"swell_css",label:"Custom CSS",description:"Add custom CSS for this section",layout:"column",isLabelHidden:!0,params:{rows:5,placeholder:"Enter custom CSS..."}}],styles:()=>({styled:{Root:{}}})}),i&&e.push(...(t.blocks||[]).map(r=>({id:`Block__${t.id}__${r.type}`,label:r.label,schema:(r.fields||[]).reduce((a,o)=>(o.id&&o.type&&a.push({prop:o.id,label:o.label,optional:!0,...q4(o)}),a),[]),styles:()=>({styled:{Root:{}}})})))}return e}function f6(n){return n?.configs?.editor?.settings?.reduce((e,t)=>{for(let i of t.fields||[])i?.id&&(e[i.id]=Z(t.fields,i.id,n?.configs?.theme?.[i.id]));return e},{})}function g6(n){return n.reduce((e,t)=>(e[a4(t.id)]=t.sectionConfigs.map(({section:i,settings:r,schema:a})=>({_id:`SectionGroup__${i.type}_${re()}`,_component:`${i.type}`,...(0,G.reduce)(r?.section.settings,(o,s,l)=>(o[l]=Z(a?.fields,l,s),o),{}),custom_css:r?.section.custom_css||"",...r?.section.blocks?{Blocks:r.section.blocks.map(o=>({_id:`Block__${i.type}__${o.type}_${re()}`,_component:`Block__${i.type}__${o.type}`,...(0,G.reduce)(o.settings,(s,l,c)=>(s[c]=Z(a?.blocks?.find(({type:u})=>u===o.type)?.fields,c,l),s),{})}))}:void 0})),e),{})}function w6(n){return(n||"").replaceAll("/","_")}function y6(n){let e=[];for(let t of n)t.presets&&e.push(...t.presets.map((i,r)=>({id:`${t.id}__preset_${r}`,entry:{_id:`${t.id}__preset_${r}`,_component:t.id,custom_css:i.settings?.custom_css||"",...(0,G.reduce)(t.fields,(a,o)=>(a[o.id]=Z(t.fields,o.id,i.settings?.[o.id]),a),{}),Blocks:i.blocks?.reduce((a,o)=>{let s=t.blocks?.find(({type:l})=>l===o.type);return s&&a.push({_id:`Block__${t.id}__${o.type}__preset_${r}`,_component:`Block__${t.id}__${o.type}`,...(0,G.reduce)(s.fields,(l,c)=>(c.id&&(l[c.id]=Z(s.fields,c.id,o.settings?.[c.id])),l),{})}),a},[])}}))),t.blocks&&e.push(...t.blocks.map(i=>({id:`Block__${t.id}__${i.type}`,entry:{_id:`Block__${t.id}__${i.type}`,_component:`Block__${t.id}__${i.type}`,...(0,G.reduce)(i.fields,(r,a)=>(a.id&&a.default!==void 0&&(r[a.id]=Z(i.fields,a.id,a.default)),r),{})}})));return e.filter(t=>Object.keys(t.entry).some(i=>i!=="_id"&&i!=="_component"))}function S6(n,e,t,i,r){let a={id:"swell_global",label:"Theme settings",schema:[{prop:"swell_page",type:"component",required:!0,accepts:["swell_page"],isNonChangable:!0,noInline:!0},...m6(n)],groups:(n?.configs?.editor?.settings??[]).map(u=>({key:u.label,label:u.label,collapsable:!0,collapsed:!0})),styles:()=>({styled:{Root:{}}})},o={id:"swell_page",label:"Page settings",schema:[{prop:I4,type:"component-collection",required:!0,accepts:C6(e,i,r),placeholderAppearance:{height:250,label:"Add section",aspectRatio:1}},...u6(e,i)],allowSave:!0,styles:()=>({styled:{Root:{}}})},s=[a,o,...p6(e)],l=a.schema.find(u=>u.prop==="color_schemes");if(l){let{params:u}=l;s.push({id:"swell_color_scheme_group",label:"Swell color scheme",schema:u.fields.map(h=>({prop:h.id,label:h.label,optional:!0,...q4({...h,type:h.id==="background_gradient"?"text":h.type})})),styles(){return{styled:{Root:{}}}}})}let c=[{id:"swell_global",entry:{_id:"swell_global",_component:"swell_global",...f6(n),swell_page:[{_id:"swell_page",_component:"swell_page",ContentSections:t.map(({section:u,settings:h,schema:p})=>({_id:w6(u.id),_component:`${u.type}`,custom_css:h?.section?.custom_css||"",disabled:h?.section?.disabled||!1,...(0,G.reduce)(p?.fields,(C,m)=>m?.id?{...C,[m.id]:Z(p?.fields,m.id,h?.section?.settings?.[m.id])}:C,{}),...u?.blocks?{Blocks:Object.keys(u.blocks).map(C=>{if(!u.blocks)return;let m=u.blocks[C];return{_id:`Block__${C}__${m.type}_${Math.random()}`,_component:`Block__${u.type}__${m.type}`,disabled:m.disabled||!1,...(0,G.reduce)(m.settings,(f,g,Y)=>({...f,[Y]:Z(p?.blocks?.find(({type:V4})=>V4===m.type)?.fields,Y,g)}),{})}})}:{}})),...g6(i)}]}},{id:"swell_page",entry:{_id:"swell_page",_component:"swell_page"}},...y6(e)];return{easyblocksConfig:{components:s,templates:c,backend:oe(),hideCloseButton:!0,allowSave:!0,readOnly:!1,locales:[{code:"en-US",isDefault:!0}],types:{swell_css:{type:"inline",widget:{id:"SwellCSS"}},swell_boolean:{type:"inline",widget:{id:"SwellBoolean"}},swell_color:{type:"inline",widget:{id:"SwellColor"}},swell_color_scheme:{type:"inline",widget:{id:"SwellColorScheme"}},swell_color_scheme_group:{type:"inline",widget:{id:"SwellColorSchemeGroup"}},swell_font:{type:"inline",widget:{id:"SwellFont"}},swell_header:{type:"inline",widget:{id:"SwellHeader"}},swell_icon:{type:"inline",widget:{id:"SwellIcon"}},swell_lookup:{type:"inline",widget:{id:"SwellLookup"}},swell_menu:{type:"inline",widget:{id:"SwellMenu"}},swell_url:{type:"inline",widget:{id:"SwellUrl"}},swell_number:{type:"inline",widget:{id:"SwellNumber"}},swell_select:{type:"inline",widget:{id:"SwellSelect"}},swell_short_text:{type:"inline",widget:{id:"SwellText"}},swell_long_text:{type:"inline",widget:{id:"SwellTextarea"}},swell_paragraph:{type:"inline",widget:{id:"SwellParagraph"}},swell_editor:{type:"inline",widget:{id:"SwellEditor"}},swell_file:{type:"inline",widget:{id:"SwellFile"}},swell_image:{type:"inline",widget:{id:"SwellImage"}}},tokens:{colors:[],fonts:[]}}}}function k6(n,e,t){let i=n.reduce((o,s)=>(o[`${s.id}`]=t("pageSection",s),o),{}),r=e.reduce((o,s)=>(o[a4(s.id)]=t("layoutSectionGroup",s),o),{}),a=n.reduce((o,s)=>{if(s.blocks)for(let l of s.blocks){let c=`Block__${s.id}__${l.type}`;o[c]=t("block",{section:s,block:l})}return o},{});return{...i,...r,...a,swell_page:t("root"),swell_global:t("global")}}function oe(){return{documents:{get:async({id:e})=>(console.log("Easyblocks backend documents.get()",e),{id:e,version:1,entry:{_id:"page",_component:"swell_page"}}),create:async e=>(console.log("Easyblocks backend documents.create()",e),{}),update:async e=>(console.log("Easyblocks backend documents.update()",e),{})},templates:{get:async e=>(console.log("Easyblocks backend templates.get()",e),{}),getAll:async()=>(console.log("Easyblocks backend get templates.getAll()"),[]),create:async e=>(console.log("Easyblocks backend get templates.create()",e),{}),update:async e=>(console.log("Easyblocks backend get templates.update()",e),{}),delete:async e=>{console.log("Easyblocks backend get templates.delete()",e)}}}}function re(){return(Math.random()+1).toString(36).substring(7)}function L3(n,e){let i=n?.storefront?.options?.getCookie;return typeof i=="function"&&i(e)||""}var n2=class extends _{constructor(e,t,i={}){super(e,"",t,i,async function(){let r=await se(e,this._resourceName,t,i);return G4(this._resourceName,r,e,"",t,i)})}},r2=class extends W{constructor(e,t,i={}){super(e,"",async function(){let r=await se(e,this._resourceName,t,i);return G4(this._resourceName,r,e,"",t,i)})}};async function se(n,e,t,i){let r=new URLSearchParams({...t&&{slug:t},...i&&{query:JSON.stringify(i)}}),a=r.size>0?`?${r}`:"",o=L3(n,"swell-session"),s=L3(n,"swell-data")||{};return(await fetch(`${n.storefront_url}/resources/${e}.json/${a}`,{headers:{"X-Session":o,"Swell-Data":JSON.stringify(s)}})).json()}function G4(n,e,t,i="",r,a){let o={};for(let[s,l]of Object.entries(e)){let c=i+`${i===""?"":"/"}${s}`,u;switch(l?._type){case"SwellStorefrontCollection":u=b6;break;case"SwellStorefrontRecord":u=A6;break;case"createStorefrontResource":u=L6;break;default:break}o[s]=u?u(n,t,c,r,a):l}return o}function L6(n,e,t,i,r){return new T(async function(){let a=await a2(e,n,t,i,r);return G4(n,a,e,t,i,r)})}function A6(n,e,t,i,r){let a=le(i,r);return new _(e,n,t,a,async function(){let o=await a2(e,n,t,i,r);return G4(n,o,e,t,i,r)})}function b6(n,e,t,i,r){let a=le(i,r);return new A(e,n,a,async function(){let o=await a2(e,n,t,i,r);return G4(n,o,e,t,i,r)})}async function a2(n,e,t,i,r){let a=new URLSearchParams({path:t,...i&&{slug:i},...r&&{query:JSON.stringify(r)}}),o=a.size>0?`?${a}`:"",s=L3(n,"swell-session"),l=L3(n,"swell-data")||{};return(await fetch(`${n.storefront_url}/resources/${e}.json${o}`,{headers:{"X-Session":s,"Swell-Data":JSON.stringify(l)}})).json()}function le(n,e){return{...n&&{slug:n},...e}}0&&(module.exports={DEFAULT_QUERY_PAGE_LIMIT,DeferredShopifyResource,FILE_DATA_INCLUDE_QUERY,GEO_DATA,LANG_TO_COUNTRY_CODES,LiquidSwell,MAX_QUERY_PAGE_LIMIT,MockRecordResource,MockRecordSingleton,PageError,PageNotFound,SECTION_GROUP_CONTENT,ShopifyArticle,ShopifyBlog,ShopifyCart,ShopifyCollection,ShopifyCollections,ShopifyCompatibility,ShopifyCustomer,ShopifyFont,ShopifyForm,ShopifyLink,ShopifyLocalization,ShopifyOrder,ShopifyPage,ShopifyPaginate,ShopifyPredictiveSearch,ShopifyProduct,ShopifyResource,ShopifySearch,ShopifyVariant,StorefrontResource,Swell,SwellBackendAPI,SwellError,SwellStorefrontCollection,SwellStorefrontPagination,SwellStorefrontRecord,SwellStorefrontResource,SwellStorefrontSingleton,SwellTheme,ThemeColor,ThemeFont,ThemeForm,ThemeFormErrors,adaptShopifyFontData,adaptShopifyFormData,adaptShopifyMenuData,arrayToObject,brightness,deferMenuItemUrlAndResource,dehydrateSwellRefsInStorefrontResources,diff,extractSettingsFromForm,findCircularReferences,findEditorSetting,findThemeSettingsByType,fontMap,forEachKeyDeep,getAllSections,getBlog,getBlogs,getCategories,getCategory,getCategoryWithProducts,getContentEntry,getContentList,getContentModel,getCountryCodeFromLocale,getEasyblocksBackend,getEasyblocksComponentDefinitions,getEasyblocksPagePropsWithConfigs,getEasyblocksPageTemplate,getEasyblocksPropsFromThemeConfigs,getLayoutSectionGroups,getMenuItemStorefrontUrl,getMenuItemUrlAndResource,getMenuItemValueId,getPage,getPageSections,getProduct,getProducts,getProductsFiltered,getSectionGroupProp,getSectionSettingsFromProps,getThemeSettingsFromProps,isArray,isObject,md5,mix,removeCircularReferences,resolveAsyncResources,resolveLookupCollection,resolveMenuItemUrlAndResource,resolveMenuItems,resolveMenuSettings,resolveSectionSettings,resolveThemeSettings,scopeCustomCSS,stringifyQueryParams,systemFonts,toBase64});
|
|
941
|
+
${this.shopifyCompatibility.getContentForHeader()}`),e}renderFontHeaderLinks(){let e=this.globals.settings,t=this.globals.configs?.editor?.settings||[];if(e&&t){let i=B5("font",e,t),r=[];for(let a=0;a<i.length;a++){let o=i[a].value?.id||i[a].value;if(this.shopifyCompatibility){let s=this.shopifyCompatibility.getFontFromShopifySetting(o);r.includes(s||o)||r.push(s||o)}else r.includes(o)||r.push(o)}if(i.length>0)return`<link href="${P.combinedGoogleFontUrl(r)}" rel="stylesheet">`}return""}async getTemplateSchema(e){let t,i=await this.getThemeConfig(e.file_path);if(i){if(i.file_path.endsWith(".liquid")){if(this.shopifyCompatibility){this.liquidSwell.lastSchema=void 0,await this.renderTemplate(i);let r=this.liquidSwell.lastSchema||{};if(r){let a=this.shopifyCompatibility.getSectionConfigSchema(r);t=await this.shopifyCompatibility.renderSchemaTranslations(this,a,this.globals.request?.locale)}}}else if(i.file_data)try{t=JSON.parse(i?.file_data)||void 0}catch{}return t}}async resolveSectionDefaultSettings(e,t){let i={},r=t||e?.default||{};return e?.fields&&e.fields.forEach(a=>{a.default!==void 0&&(i[a.id]=a.default)}),Object.assign(i,r.settings,{blocks:r.blocks}),i.blocks instanceof Array&&(i.blocks=i.blocks.map(a=>{let o={},s=e?.blocks?.find(l=>l.type===a.type);return s?.fields&&s.fields.forEach(l=>{l.default!==void 0&&(o[l.id]=l.default)}),{...a,settings:{...o,...a.settings||void 0}}})),i}async getAllSections(){let e=await this.getAllThemeConfigs();return G5(e,this.getTemplateSchema.bind(this))}async getPageSections(e,t=!0){let i=await s4(e,r=>this.getSectionSchema(r));if(t)for(let r of i){let{schema:a}=r;a?.fields&&this.globals&&r.settings&&(r.settings=o4(this,r))}return i}async getPageSectionGroups(e){let t=await this.getThemeTemplateConfigByType("templates",e);if(t===null)return[];let r=F5(t).layout||"theme",a=await this.getThemeTemplateConfigByType("layouts",`${r}.liquid`);if(a===null)return[];let o=await this.getThemeConfig("theme/locales/en.default.schema.json"),s=F5(o),c=a.file_data.matchAll(/\bsections '(\w.*?)'|(\bcontent_for_layout\b)/gm),u=[];for(let h of c)if(h[1]){let p=h[1],C=await this.getThemeTemplateConfigByType("sections",`${p}.json`),f=F5(C).name;typeof f=="string"&&f.startsWith("t:")&&(f=(0,b.get)(s,f.slice(2))),u.push({prop:o3(p),label:f||p})}else h[2]&&u.push({prop:F3,label:"Template"});return u}async getLayoutSectionGroups(e=!0){let t=await this.getAllThemeConfigs(),i=await V5(t,this.getTemplateSchema.bind(this));if(e)for(let r of i)for(let a of r.sectionConfigs){let{schema:o}=a;o?.fields&&this.globals&&a.settings&&(a.settings=o4(this,a))}return i}async renderPageSections(e,t){let i=await this.getPageSections(e,!0);return this.renderSectionConfigs(i,t)}renderSectionConfigs(e,t){return Promise.all(e.map(async(i,r)=>{let{section:a,schema:o}=i,{settings:s}=i;o?.fields&&this.globals&&(s=o4(this,i));let l=await this.getThemeTemplateConfigByType("sections",`${a.type}.liquid`),c="";return l&&(c=await this.renderTemplate(l,{...t,...s,index:r,template:l}),s?.section.custom_css&&(c+=`<style>${O5(s?.section.custom_css,i.id)}</style>`)),{...i,output:c}}))}async renderTemplateSections(e,t){return(await this.renderPageSections(e,t)).map(r=>`<${r.tag} ${r.class?`class="${r.class}"`:""}>${r.output}</${r.tag}>`).join(`
|
|
942
|
+
`)}async renderTranslation(e,t,i){let r=this.globals.translations,a=this.globals.request?.locale;return this.renderTranslationValue(a,r,e,t,i)}async renderTranslationValue(e,t,i,r,a){if(i===void 0)return a||"";let o=i?.split(".")||[],s=o.pop()||"",l=o.join("."),c=(0,b.get)(t,l),u=(0,b.get)(c?.[e],s)||(0,b.get)(c?.[e.split("-")[0]],s)||c?.[s];return r?.count!==void 0&&u?.one&&(u=r.count===1?u.one:u.other),typeof u!="string"||u===""?a||"":await this.renderTemplateString(u,r)||a||""}renderCurrency(e,t){let i=this.swell.storefront.settings,r=this.swell.storefront.currency,a=i.state,o=a?.store?.currency||"USD";return Object.assign(r,{code:o,locale:a?.store?.locale||"en-US",state:a?.store?.locales?.find(s=>s.code===o)||{code:o}}),r.format(e,t)}},j3=class extends Error{title;status=500;description;constructor(e="Something went wrong",t=500,i){super(String(e)+(i?`: ${i}`:"")),this.title=String(e),this.status=t,this.description=i}toString(){return this.message}},Z3=class extends j3{constructor(e="Page not found",t=404,i){super(e,t,i)}};function o4(n,e){let{settings:t,schema:i}=e;if(!i||!t?.section?.settings)return t;let r=[{label:i.label,fields:i.fields}];return{...t,section:{...t.section,settings:N3(n,t.section.settings,r),blocks:t.section.blocks?.map(a=>({...a,settings:N3(n,a.settings,i.blocks?.filter(o=>o.type===a.type))}))}}}function N3(n,e,t){let i=(0,b.cloneDeep)(e);return(0,b.each)(i,(r,a)=>{let o=(t&&q5(t,a))??null;if(I3(r)&&!(r instanceof T)){switch(o?.type){case"color_scheme_group":{(0,b.each)(r,(s,l)=>{(0,b.each)(r[l].settings,(c,u)=>{(0,b.find)(o.fields,{id:u})?.type==="color"&&c&&(r[l].id=l,r[l].settings[u]=new S(c))})});return}default:break}i[a]=N3(n,r,t)}else switch(o?.type){case"lookup":case"product_lookup":case"category_lookup":case"customer_lookup":i[a]=n.resolveLookupSetting(o,r);break;case"color":r&&(i[a]=new S(r));break;case"font":i[a]=n.resolveFontSetting(r);break;case"menu":i[a]=n.resolveMenuSetting(r);break;case"url":i[a]=n.resolveUrlSetting(r);break}}),i}function B5(n,e,t){let i=[];return(0,b.each)(e,(r,a)=>{if(I3(r)&&!(r instanceof P)&&!(r instanceof T))i.push(...B5(n,r,t));else{let o=q5(t,a);o?.type===n&&i.push({setting:o,value:r})}}),i}function D1(n){if(n.collection)return n.collection;switch(n.type){case"product_lookup":return"products";case"category_lookup":return"categories";case"customer_lookup":return"accounts";default:break}}function q5(n,e){for(let t of n||[])for(let i of t.fields)if(i.id===e)return i;return null}function F5(n){try{return JSON.parse(n?.file_data||"{}")}catch{return{}}}function P1(n){let e={settings:[]};return Array.isArray(n)&&(n[0]?.name==="theme_info"&&n.shift(),n.forEach(t=>{e.settings.push(Nt(t))})),e}function x1(n){return typeof n.current=="string"&&n.presets?.[n.current]?n.presets[n.current]:typeof n.current=="object"?n.current||{}:{}}function R1(n){return Object.entries(n.presets||{}).map(([e,t])=>({label:e,settings:t}))}function j1(n){return{label:n.name,type:n.type,tag:n.tag,class:n.class,enabled_on:n.enabled_on,disabled_on:n.disabled_on,fields:(n.settings||[]).map(t=>l4(t)),blocks:(n.blocks||[]).map(t=>jt(t)),presets:(n.presets||[]).map(t=>Zt(t)),default:n.default}}function jt(n){return{type:n.type,label:n.name,limit:n.limit,fields:(n.settings||[]).map(t=>l4(t))}}function Zt(n){return{label:n.name,settings:n.settings,blocks:n.blocks}}function Nt(n){return{label:n.name,fields:(n.settings||[]).map(t=>l4(t))}}function l4(n){let e={};switch(n.type){case"text":e={type:"text"};break;case"textarea":e={type:"textarea"};break;case"paragraph":e={type:"paragraph",label:n.content};break;case"select":e={type:"select",options:n.options};break;case"checkbox":e={type:"checkbox"};break;case"radio":e={type:"radio",options:n.options};break;case"number":e={type:"integer"};break;case"range":e={type:"number",min:n.min,max:n.max,increment:n.step,unit:n.unit};break;case"article":e={type:"lookup",collection:"content/blogs:posts"};break;case"blog":e={type:"lookup",collection:"content/blogs",titleField:"title"};break;case"collection":e={type:"category_lookup"};break;case"collection_list":e={type:"category_lookup",multiple:!0,limit:n.limit};break;case"color":e={type:"color"};break;case"color_background":e={type:"color_background"};break;case"color_scheme":e={type:"color_scheme"};break;case"color_scheme_group":e={type:"color_scheme_group",fields:(n.definition||[]).map(t=>l4(t)),role:n.role};break;case"font_picker":e={type:"font"};break;case"html":e={type:"html"};break;case"image_picker":e={type:"image"};break;case"inline_richtext":e={type:"rich_text"};break;case"link_list":e={type:"menu"};break;case"liquid":e={type:"liquid"};break;case"page":e={type:"lookup",collection:"content/pages",titleField:"title"};break;case"product":e={type:"product_lookup"};break;case"product_list":e={type:"product_lookup",multiple:!0,limit:n.limit};break;case"richtext":e={type:"rich_html"};break;case"text_alignment":e={type:"select",options:[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]};break;case"url":e={type:"url"};break;case"video":e={type:"video"};break;case"video_url":e={type:"url"};break;case"header":e={type:"header",label:n.content};break}return{id:n.id,label:n.label,default:n.default,description:n.info,...e}}function Z1(n){let e=n.lastIndexOf("_"),t=n.substring(0,e),i=n.substring(e+1),r=It[t];if(r){let a=r.variants[i];return`${r.family}:${a}`}return null}var It={abel:{family:"Abel",variants:{n4:"wght@400"}},abril_fatface:{family:"Abril Fatface",variants:{n4:"wght@400"}},alegreya:{family:"Alegreya",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},alegreya_sans:{family:"Alegreya Sans",variants:{n1:"wght@100",i1:"ital,wght@1,100",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},amiri:{family:"Amiri",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},anonymous_pro:{family:"Anonymous Pro",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},arapey:{family:"Arapey",variants:{n4:"wght@400",i4:"ital,wght@1,400"}},archivo:{family:"Archivo",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},archivo_narrow:{family:"Archivo Narrow",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},arimo:{family:"Arimo",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},armata:{family:"Armata",variants:{n4:"wght@400"}},arvo:{family:"Arvo",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},asap:{family:"Asap",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},assistant:{family:"Assistant",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",n6:"wght@600",n7:"wght@700",n8:"wght@800"}},asul:{family:"Asul",variants:{n4:"wght@400",n7:"wght@700"}},bio_rhyme:{family:"Bio Rhyme",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",n7:"wght@700",n8:"wght@800"}},bitter:{family:"Bitter",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700"}},cabin:{family:"Cabin",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},cardo:{family:"Cardo",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700"}},catamaran:{family:"Catamaran",variants:{n1:"wght@100",n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},chivo:{family:"Chivo",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900",i9:"ital,wght@1,900"}},cormorant:{family:"Cormorant",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},crimson_text:{family:"Crimson Text",variants:{n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},dm_sans:{family:"DM Sans",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700"}},domine:{family:"Domine",variants:{n4:"wght@400",n7:"wght@700"}},dosis:{family:"Dosis",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800"}},eczar:{family:"Eczar",variants:{n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800"}},fira_sans:{family:"Fira Sans",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},fjalla_one:{family:"Fjalla One",variants:{n4:"wght@400"}},glegoo:{family:"Glegoo",variants:{n4:"wght@400",n7:"wght@700"}},ibm_plex_sans:{family:"IBM Plex Sans",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},inconsolata:{family:"Inconsolata",variants:{n4:"wght@400",n7:"wght@700"}},inknut_antiqua:{family:"Inknut Antiqua",variants:{n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},inter:{family:"Inter",variants:{n1:"wght@100",n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},josefin_sans:{family:"Josefin Sans",variants:{n1:"wght@100",i1:"ital,wght@1,100",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},josefin_slab:{family:"Josefin Slab",variants:{n1:"wght@100",i1:"ital,wght@1,100",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700"}},kalam:{family:"Kalam",variants:{n3:"wght@300",n4:"wght@400",n7:"wght@700"}},karla:{family:"Karla",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},kreon:{family:"Kreon",variants:{n3:"wght@300",n4:"wght@400",n7:"wght@700"}},lato:{family:"Lato",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},libre_baskerville:{family:"Libre Baskerville",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700"}},libre_franklin:{family:"Libre Franklin",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},lobster:{family:"Lobster",variants:{n4:"wght@400"}},lobster_two:{family:"Lobster Two",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},lora:{family:"Lora",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},maven_pro:{family:"Maven Pro",variants:{n4:"wght@400",n5:"wght@500",n7:"wght@700",n9:"wght@900"}},megrim:{family:"Megrim",variants:{n4:"wght@400"}},merriweather_sans:{family:"Merriweather Sans",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800"}},montserrat:{family:"Montserrat",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},mouse_memoirs:{family:"Mouse Memoirs",variants:{n4:"wght@400"}},muli:{family:"Muli",variants:{n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},neuton:{family:"Neuton",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",n8:"wght@800"}},news_cycle:{family:"News Cycle",variants:{n4:"wght@400",n7:"wght@700"}},newsreader:{family:"Newsreader",variants:{n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800"}},nobile:{family:"Nobile",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700"}},noticia_text:{family:"Noticia Text",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},noto_serif:{family:"Noto Serif",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},nunito:{family:"Nunito",variants:{n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},nunito_sans:{family:"Nunito Sans",variants:{n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},old_standard_tt:{family:"Old Standard TT",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700"}},open_sans:{family:"Open Sans",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800"}},open_sans_condensed:{family:"Open Sans Condensed",variants:{n3:"wght@300",i3:"ital,wght@1,300",n7:"wght@700"}},oswald:{family:"Oswald",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700"}},ovo:{family:"Ovo",variants:{n4:"wght@400"}},oxygen:{family:"Oxygen",variants:{n3:"wght@300",n4:"wght@400",n7:"wght@700"}},pt_mono:{family:"PT Mono",variants:{n4:"wght@400"}},pt_sans:{family:"PT Sans",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},pt_sans_narrow:{family:"PT Sans Narrow",variants:{n4:"wght@400",n7:"wght@700"}},pt_serif:{family:"PT Serif",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},pacifico:{family:"Pacifico",variants:{n4:"wght@400"}},playball:{family:"Playball",variants:{n4:"wght@400"}},playfair_display:{family:"Playfair Display",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900",i9:"ital,wght@1,900"}},poppins:{family:"Poppins",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},prata:{family:"Prata",variants:{n4:"wght@400"}},prompt:{family:"Prompt",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},proza_libre:{family:"Proza Libre",variants:{n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800"}},quantico:{family:"Quantico",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},quattrocento:{family:"Quattrocento",variants:{n4:"wght@400",n7:"wght@700"}},quattrocento_sans:{family:"Quattrocento Sans",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},questrial:{family:"Questrial",variants:{n4:"wght@400"}},quicksand:{family:"Quicksand",variants:{n3:"wght@300",n4:"wght@400",n5:"wght@500",n7:"wght@700"}},rajdhani:{family:"Rajdhani",variants:{n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700"}},raleway:{family:"Raleway",variants:{n1:"wght@100",i1:"ital,wght@1,100",n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n8:"wght@800",i8:"ital,wght@1,800",n9:"wght@900",i9:"ital,wght@1,900"}},righteous:{family:"Righteous",variants:{n4:"wght@400"}},roboto:{family:"Roboto",variants:{n1:"wght@100",i1:"ital,wght@1,100",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900",i9:"ital,wght@1,900"}},roboto_condensed:{family:"Roboto Condensed",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},roboto_mono:{family:"Roboto Mono",variants:{n1:"wght@100",i1:"ital,wght@1,100",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700"}},roboto_slab:{family:"Roboto Slab",variants:{n1:"wght@100",n3:"wght@300",n4:"wght@400",n7:"wght@700"}},rubik:{family:"Rubik",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900",i9:"ital,wght@1,900"}},shadows_into_light:{family:"Shadows Into Light",variants:{n4:"wght@400"}},slabo_13px:{family:"Slabo 13px",variants:{n4:"wght@400"}},smooch:{family:"Smooch",variants:{n4:"wght@400"}},source_code_pro:{family:"Source Code Pro",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n9:"wght@900"}},source_sans_pro:{family:"Source Sans Pro",variants:{n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900",i9:"ital,wght@1,900"}},space_mono:{family:"Space Mono",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},syne:{family:"Syne",variants:{n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800"}},tenor_sans:{family:"Tenor Sans",variants:{n4:"wght@400"}},tinos:{family:"Tinos",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},titillium_web:{family:"Titillium Web",variants:{n2:"wght@200",i2:"ital,wght@1,200",n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900"}},ubuntu:{family:"Ubuntu",variants:{n3:"wght@300",i3:"ital,wght@1,300",n4:"wght@400",i4:"ital,wght@1,400",n5:"wght@500",i5:"ital,wght@1,500",n7:"wght@700",i7:"ital,wght@1,700"}},unica_one:{family:"Unica One",variants:{n4:"wght@400"}},unna:{family:"Unna",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},varela:{family:"Varela",variants:{n4:"wght@400"}},varela_round:{family:"Varela Round",variants:{n4:"wght@400"}},vidaloka:{family:"Vidaloka",variants:{n4:"wght@400"}},volkhov:{family:"Volkhov",variants:{n4:"wght@400",i4:"ital,wght@1,400",n7:"wght@700",i7:"ital,wght@1,700"}},vollkorn:{family:"Vollkorn",variants:{n4:"wght@400",i4:"ital,wght@1,400",n6:"wght@600",i6:"ital,wght@1,600",n7:"wght@700",i7:"ital,wght@1,700",n9:"wght@900",i9:"ital,wght@1,900"}},work_sans:{family:"Work Sans",variants:{n1:"wght@100",n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},biz_udpmincho:{family:"BIZ UDPMincho",variants:{n4:"wght@400",n7:"wght@700"}},dela_gothic_one:{family:"Dela Gothic One",variants:{n4:"wght@400"}},hina_mincho:{family:"Hina Mincho",variants:{n4:"wght@400"}},kaisei_decol:{family:"Kaisei Decol",variants:{n4:"wght@400",n5:"wght@500",n7:"wght@700"}},kaisei_opti:{family:"Kaisei Opti",variants:{n4:"wght@400",n5:"wght@500",n7:"wght@700"}},kaisei_tokumin:{family:"Kaisei Tokumin",variants:{n4:"wght@400",n5:"wght@500",n7:"wght@700",n8:"wght@800"}},m_plus_1:{family:"M PLUS 1",variants:{n1:"wght@100",n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},m_plus_rounded_1c:{family:"M PLUS Rounded 1c",variants:{n1:"wght@100",n3:"wght@300",n4:"wght@400",n5:"wght@500",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},mochiy_pop_p_one:{family:"Mochiy Pop P One",variants:{n4:"wght@400"}},murecho:{family:"Murecho",variants:{n1:"wght@100",n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},noto_sans_japanese:{family:"Noto Sans Japanese",variants:{n1:"wght@100",n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800",n9:"wght@900"}},noto_serif_japanese:{family:"Noto Serif Japanese",variants:{n2:"wght@200",n3:"wght@300",n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n9:"wght@900"}},shippori_mincho:{family:"Shippori Mincho",variants:{n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n8:"wght@800"}},zen_kaku_gothic_new:{family:"Zen Kaku Gothic New",variants:{n3:"wght@300",n4:"wght@400",n5:"wght@500",n7:"wght@700",n9:"wght@900"}},zen_kurenaido:{family:"Zen Kurenaido",variants:{n4:"wght@400"}},zen_maru_gothic:{family:"Zen Maru Gothic",variants:{n3:"wght@300",n4:"wght@400",n5:"wght@500",n7:"wght@700",n9:"wght@900"}},zen_old_mincho:{family:"Zen Old Mincho",variants:{n4:"wght@400",n5:"wght@500",n6:"wght@600",n7:"wght@700",n9:"wght@900"}}};var S4={};d2(S4,{DeferredShopifyResource:()=>U,ShopifyArticle:()=>g3,ShopifyBlog:()=>h4,ShopifyCart:()=>u3,ShopifyCollection:()=>w3,ShopifyCollections:()=>c4,ShopifyCustomer:()=>K,ShopifyFont:()=>y3,ShopifyForm:()=>B3,ShopifyLink:()=>S3,ShopifyLocalization:()=>k3,ShopifyOrder:()=>i3,ShopifyPage:()=>p4,ShopifyPaginate:()=>m3,ShopifyPredictiveSearch:()=>C4,ShopifyProduct:()=>v,ShopifyRecommendations:()=>m4,ShopifyResource:()=>y,ShopifySearch:()=>f4,ShopifyVariant:()=>B,adaptShopifyFontData:()=>w4,adaptShopifyFormData:()=>y4,adaptShopifyMenuData:()=>g4});function g3(n,e,t){return e instanceof y?e.clone():(t&&(e.category=t),new y({author:d(e,i=>i.author?.name||i.author?.email),content:d(e,i=>i.content),created_at:w(()=>e.date_created),excerpt:w(()=>e.summary),excerpt_or_content:w(()=>e.summary||e.content),handle:w(()=>e.slug),id:d(e,i=>i.id),image:d(e,i=>i.image&&Z(n,i.image)),metafields:null,published_at:d(e,i=>i.date_published||i.date_created),tags:d(e,i=>i.tags),template_suffix:null,title:d(e,i=>i.title),updated_at:d(e,i=>i.date_updated||i.date_created),url:d([e,e.category],(i,r)=>r&&`/blogs/${r?.slug}/${i.slug}`),user:w(()=>e.author),comment_post_url:null,comments:null,comments_count:null,"comments_enabled?":!1,moderated:!1}))}function h4(n,e){if(e instanceof y)return e.clone();let t=d(e.blogs,i=>i?.results?.reduce((r,a)=>{for(let o of a.tags||[])r.includes(o)||r.push(o);return r},[]));return new y({all_tags:t,articles:d(e,i=>i.blogs?._cloneWithCompatibilityResult(r=>({results:r?.results?.map(a=>g3(n,a,i))}))||[]),articles_count:d(e.blogs,i=>i?.count||0),handle:w(()=>e.slug),id:d(e,i=>i.id),metafields:null,next_article:null,previous_article:null,tags:t,template_suffix:null,title:d(e,i=>i.title),url:d(e,i=>`/blogs/${i.slug}`),"comments_enabled?":!1,moderated:!1})}var N1=require("lodash-es");function H3(n,e){let t=e.type==="range",i=e.type==="boolean";return new y({active_values:t?void 0:e.active_options?.map(r=>s3(n,r,e)),false_value:i?s3(n,{value:""},e):void 0,inactive_values:t?void 0:e.inactive_options?.map(r=>s3(n,r,e)),label:e.label,max_value:t?s3(n,{value:e.range_max},e,"lte"):void 0,min_value:t?s3(n,{value:e.range_min},e,"gte"):void 0,operator:t?"AND":"OR",param_name:e.param_name,presentation:"text",range_max:e.range_max,true_value:i?s3(n,{value:e.options?.[0].value},e):void 0,type:e.id==="price"?"price_range":i?"boolean":"list",url_to_remove:Ht(n,`filter_${e.id}`,!0),values:e.id!=="price"&&e.options?.map(r=>s3(n,r,e))})}function s3(n,e,t,i){let r=i?`${t.param_name}[${i}]`:t.param_name;return new y({active:e.active,count:e.count,image:null,label:e.label,param_name:r,swatch:null,url_to_add:qt(n,r,e.value),url_to_remove:Bt(n,t.param_name,e.value),value:Ft(n,e,t,i)})}function Ft(n,e,t,i){let{queryParams:r}=n.swell,a=i?r[t.param_name]?.[i]:r[t.param_name];return t.type==="range"?a!==void 0&&a!==""?a:null:e.value}function d4(n){return Object.keys(n).reduce((e,t)=>{let i=n[t];return i!==""&&(e[t]=(0,N1.isObject)(i)&&!Array.isArray(i)?d4(i):i),e},{})}function Ht(n,e,t=!1){let{queryParams:i}=n.swell,r=q({...d4(i),...t?{[`${e}[gte]`]:void 0,[`${e}[lte]`]:void 0}:void 0,[e]:void 0,page:void 0});return U5(n,r)}function Bt(n,e,t){let{queryParams:i}=n.swell,r=q({...d4(i),[e]:Array.isArray(i[e])?i[e].filter(a=>a!==t):void 0,page:void 0});return U5(n,r)}function qt(n,e,t){let{queryParams:i}=n.swell,r=q({...d4(i),[e]:Array.isArray(i[e])?i[e].concat(t):typeof i[e]=="string"?[i[e],t]:t,page:void 0});return U5(n,r)}function U5(n,e){let{url:t}=n.swell;return`${t.pathname}${e?`?${e}`:""}`}function w3(n,e){if(e instanceof y)return e.clone();let t=d(e,r=>r.products?._cloneWithCompatibilityResult(a=>({results:a?.results?.map(o=>v(n,o))}))??null);async function i(){let r=await t.resolve();return r&&"_resolve"in r?r._resolve():r}return new y({all_products_count:w(async()=>(await i())?.count||0),all_tags:w(async()=>(await i())?.results?.reduce((r,a)=>(Array.isArray(a.tags)&&r.push(...a.tags),r),[])||[]),all_types:w(async()=>{let r=await i();if(!r?.results)return[];let a=r.results.reduce((o,s)=>(s.type&&o.add(s.type),o),new Set);return Array.from(a.values())}),all_vendors:[],current_type:null,current_vendor:null,default_sort_by:d(e,r=>r.sort_options?.[0].value),description:d(e,r=>r.description),featured_image:d(e,r=>r.images?.[0]&&Z(n,r.images[0])),filters:w(async()=>(await i())?.filter_options?.map(r=>H3(n,r))||[]),handle:w(()=>e.slug),id:d(e,r=>r.id),image:null,metafields:null,next_product:null,previous_product:null,products:t,products_count:w(async()=>(await i())?.results?.length||0),published_at:null,sort_by:w(()=>e.sort),sort_options:d(e,r=>r.sort_options),tags:[],template_suffix:null,title:w(()=>e.name),url:d(e,r=>`/collections/${r.slug}`)})}function c4(n,e){return new A(n.swell,e._collection,e._query,async()=>{let t=(await e.results)?.map(i=>w3(n,i));return{page:e.page??1,count:e.count??0,results:t,page_count:e.page_count??0,limit:e.limit,pages:e.pages??{}}})}function y3(n,e){return e instanceof y?e.clone():new y({baseline_ratio:null,fallback_families:e.fallback_families,family:e.family,style:e.style,"system?":e.system,variants:e.variants.map(t=>y3(n,t)),weight:e.weight})}var Gt={account_login:{params:()=>({password_needed:!0})}};function B3(n,e){if(e instanceof y)return e.clone();let t=Gt[e.id];return new y({...t?.params?.(e)||void 0,errors:e.errors&&new K5(e.errors),"posted_successfully?":e.success})}var $5=class{code;message;field_name;field_label;type;constructor(e){this.code=e.code,this.message=e.message,this.field_name=e.field_name,this.field_label=e.field_label,this.type=this.getShopifyErrorType(e)}getShopifyErrorType(e){return e.field_name==="email"?"email":e.field_name==="password"?"password":"form"}valueOf(){return this.type}toString(){return this.type}},K5=class n{errors;pointer=0;messages;translated_fields;constructor(e){return this.errors=Array.from(e).map(t=>new $5(t)),this.messages=new u4(this.errors,this.errors.map(t=>t.message)),this.translated_fields=new u4(this.errors,this.errors.map(t=>t.field_label)),new Proxy(this.errors,{get:(t,i)=>{let r=t;return i==="toJSON"?this.errors:i==="some"?this.some.bind(this):i==="messages"?this.messages:i==="translated_fields"?this.translated_fields:r[i]},getPrototypeOf(){return n.prototype}})}*[Symbol.iterator](){yield*this.errors}some(e,t){return this.errors.some(i=>e(i?.type),t)}},u4=class{values;constructor(e,t){return this.values=t,new Proxy(t,{get:(i,r)=>{let a=i;if(r==="toJSON")return t;let o=e?.findIndex?.(s=>s?.type===r);return o!==-1?t[o]:a[r]}})}};var I1=require("lodash-es");function S3(n,e,t){let i=e.handle||e.id;return new y({active:t.active,child_active:t.child_active,child_current:t.child_current,current:t.current,handle:`${i}-${(0,I1.snakeCase)(t.name)}`,levels:t.levels,links:t.items?.map(r=>S3(n,t,r)),object:t.resource,title:t.name,type:Vt(t.type),url:t.url})}function Vt(n){switch(n){case"home":return"frontpage_link";case"category":return"collection_link";case"product":return"product_link";case"search":return"search_link";default:return""}}function k3(n,e,t){let i=e.currencies.find(a=>a.code===t.currency)||e.currencies[0],r=e.locales.find(a=>a.code===t.locale)||e.locales[0];return new y({available_countries:Ot(e),available_languages:H1(e),country:i&&q1(i,e),language:r&&B1(r,e),market:null})}function Ot(n){return n.currencies.map(e=>q1(e,n))||[]}function H1(n){return n.locales.map(e=>B1(e,n))||[]}function B1(n,e){return{endonym_name:n.name,iso_code:n.code,name:n.name,primary:n.code===e.locale,root_url:e.url}}function q1(n,e){return{available_languages:H1(e),continent:null,currency:{iso_code:n.code,name:n.name,symbol:n.symbol},iso_code:n.code,market:null,name:Ut(n.code),"popular?":!1,unit_system:"metric"}}function Ut(n){return n in F1?F1[n]:null}var F1=Object.freeze({USD:"United States",EUR:"Europe",GBP:"United Kingdom",JPY:"Japan",CAD:"Canada",AUD:"Australia",CHF:"Switzerland",CNY:"China",SEK:"Sweden",NZD:"New Zealand",NOK:"Norway",MXN:"Mexico",SGD:"Singapore",HKD:"Hong Kong",KRW:"South Korea",INR:"India",BRL:"Brazil",RUB:"Russia",ZAR:"South Africa",TRY:"Turkey",AED:"United Arab Emirates",THB:"Thailand",IDR:"Indonesia",SAR:"Saudi Arabia",PLN:"Poland",PHP:"Philippines",ILS:"Israel",MYR:"Malaysia",CZK:"Czech Republic",HUF:"Hungary",CLP:"Chile",DKK:"Denmark",RON:"Romania",ARS:"Argentina",COP:"Colombia",TWD:"Taiwan",BGN:"Bulgaria",EGP:"Egypt",PKR:"Pakistan",NGN:"Nigeria",VND:"Vietnam",IQD:"Iraq",MAD:"Morocco",KES:"Kenya",DZD:"Algeria",UAH:"Ukraine",XAF:"Cameroon",XOF:"C\xF4te d'Ivoire",GHS:"Ghana",BYN:"Belarus",LKR:"Sri Lanka",SDG:"Sudan",AFN:"Afghanistan",ALL:"Albania",AMD:"Armenia",AOA:"Angola",AWG:"Aruba",AZN:"Azerbaijan",BAM:"Bosnia and Herzegovina",BBD:"Barbados",BDT:"Bangladesh",BHD:"Bahrain",BIF:"Burundi",BMD:"Bermuda",BND:"Brunei",BOB:"Bolivia",BSD:"Bahamas",BTN:"Bhutan",BWP:"Botswana",BZD:"Belize",CDF:"Democratic Republic of the Congo",CLF:"Chile (Unidad de Fomento)",CRC:"Costa Rica",CVE:"Cape Verde",DJF:"Djibouti",DOP:"Dominican Republic",ERN:"Eritrea",ETB:"Ethiopia",FKP:"Falkland Islands",GEL:"Georgia",GIP:"Gibraltar",GMD:"Gambia",GNF:"Guinea",GTQ:"Guatemala",GYD:"Guyana",HNL:"Honduras",HRK:"Croatia",HTG:"Haiti",IRR:"Iran",ISK:"Iceland",JMD:"Jamaica",JOD:"Jordan",KGS:"Kyrgyzstan",KHR:"Cambodia",KMF:"Comoros",KPW:"North Korea",KWD:"Kuwait",KYD:"Cayman Islands",KZT:"Kazakhstan",LAK:"Laos",LBP:"Lebanon",LRD:"Liberia",LSL:"Lesotho",LYD:"Libya",MDL:"Moldova",MGA:"Madagascar",MKD:"North Macedonia",MMK:"Myanmar",MNT:"Mongolia",MOP:"Macau",MRO:"Mauritania",MUR:"Mauritius",MVR:"Maldives",MWK:"Malawi",NAD:"Namibia",NPR:"Nepal",OMR:"Oman",PAB:"Panama",PEN:"Peru",PGK:"Papua New Guinea",PYG:"Paraguay",QAR:"Qatar",RSD:"Serbia",RWF:"Rwanda",SBD:"Solomon Islands",SCR:"Seychelles",SHP:"Saint Helena",SLL:"Sierra Leone",SOS:"Somalia",SRD:"Suriname",STD:"S\xE3o Tom\xE9 and Pr\xEDncipe",SZL:"Eswatini",TJS:"Tajikistan",TMT:"Turkmenistan",TND:"Tunisia",TOP:"Tonga",TTD:"Trinidad and Tobago",TZS:"Tanzania",UGX:"Uganda",UYU:"Uruguay",UZS:"Uzbekistan",VEF:"Venezuela",VUV:"Vanuatu",WST:"Samoa",XCD:"Eastern Caribbean",YER:"Yemen",ZMW:"Zambia",ZWL:"Zimbabwe"});function C4(n,e){return e instanceof y?e.clone():new y({performed:d(e,t=>t.performed),resources:$t(n,e),terms:w(()=>e.query),types:["product"]})}function $t(n,e){return e instanceof y?e.clone():new y({products:d(e.products,t=>t?.results?.map(i=>{let r=v(n,i);return r.object_type="product",r}))})}function m4(n,e){return e instanceof y?e.clone():new y({products:d(e,t=>(t?.recommendations||[]).map(i=>v(n,i))),products_count:d(e,t=>t?.recommendations?.length||0),performed:!0})}function p4(n,e){return e instanceof y?e.clone():new y({content:d(e,t=>t.content),handle:w(()=>e.slug),metafields:null,published_at:w(async()=>await e.date_published||e.date_created),template_suffix:null,title:d(e,t=>t.title||t.name),url:d(e,t=>`/pages/${t.slug}`),author:null})}function f4(n,e){if(e instanceof y)return e.clone();let t=d(e,i=>i.products?._cloneWithCompatibilityResult(r=>({results:r?.results?.map(a=>{let o=v(n,a);return o.object_type="product",o})}))||[]);return new y({default_sort_by:d(e,i=>i.sort_options?.[0].value),filters:w(async()=>(await(await t.resolve())?.filter_options)?.map(r=>H3(n,r))||[]),performed:d(e,i=>i.performed),results:t,results_count:w(async()=>(await t.resolve())?.count||0),sort_by:w(()=>e.sort),sort_options:d(e,i=>i.sort_options),terms:w(()=>e.query),types:["product"]})}function g4(n,e){let t={...e,handle:e.id.replace(/\_/g,"-"),title:e.name};return{...t,links:e.items?.map(i=>S3(n,t,i))}}function w4(n,e){return y3(n,e)}function y4(n,e){return B3(n,e)}function z5(n,e){let t=e.currencies.find(i=>i.code===e.currency);return new y({accepts_gift_cards:!0,address:{},brand:{},collections_count:0,currency:e.currency,customer_accounts_enabled:!0,customer_accounts_optional:!0,description:e.description,domain:e.url.replace(/^http[s]?:\/\//,""),email:e.support_email,enabled_currencies:e.currencies.map(i=>({iso_code:i.code,name:i.name,symbol:i.symbol})),enabled_payment_providers:[],id:e.id,metafields:null,metaobjects:null,money_format:e.currencies.find(i=>i.code===e.currency),money_with_currency_format:{...t,symbol:`${e.currency} ${t?.symbol||""}`},name:e.name,password_message:null,permanent_domain:`${e.id}.swell.store`,phone:e.support_phone,published_locales:e.locales.map(i=>({endonym_name:i.name,iso_code:i.code,name:i.name,primary:i.code===e.locale,root_url:e.url})),secure_url:e.url,types:[],url:e.url,vendors:[],policies:[],privacy_policy:null,refund_policy:null,shipping_policy:null,subscription_policy:null,terms_of_service:null,products_count:0})}var p3=class{theme;swell;pageId;pageResourceMap;objectResourceMap;formResourceMap;queryParamsMap;shopifyCompatibilityConfig;editorLocaleConfig;constructor(e){this.theme=e,this.swell=e.swell,this.shopifyCompatibilityConfig=this.swell.shopifyCompatibilityConfig??void 0,this.pageResourceMap=this.getPageResourceMap(),this.objectResourceMap=this.getObjectResourceMap(),this.formResourceMap=this.getFormResourceMap(),this.queryParamsMap=this.getQueryParamsMap()}adaptGlobals(e){let{store:t,request:i,page:r,menus:a}=e;this.pageId=this.getPageType(r?.id),e.shop=this.getShopData(e),e.page={...r||void 0},e.request={...i||void 0,design_mode:this.swell.isEditor,visual_section_preview:!1,page_type:r?.id},e.linklists=a,e.current_page=this.swell.queryParams.page||1,e.routes=this.getPageRoutes(),e.localization=this.getLocalizationObject(t,i),e.all_country_option_tags=this.getAllCountryOptionTags(e.geo)}adaptSettings(e,t){let{current:i,presets:r}=t;if(typeof i=="object"&&i)return{current:f3(e,i),presets:r};let a=r?.[i];if(!a)throw new Error(`Failed to build settings config: "${i}" preset is not defined`);return{current:i,presets:{...r,[i]:f3(e,a)}}}adaptPageData(e){let t=this.pageResourceMap.find(({page:i})=>i===this.pageId);if(t)for(let[i,r]of Object.entries(e)){let a=t.resources.find(({from:o})=>o===i||o.startsWith(`${i}.`));a&&r instanceof T&&(e[a.to]=a.object(this,r))}this.adaptObjectData(e)}adaptObjectData(e){for(let t of Object.values(e)){let i=this.objectResourceMap.find(({from:r})=>r===t?.constructor.name);if(i){let r=i.object(this,t);t instanceof T?t.setCompatibilityProps(r):Object.assign(t,r)}}}adaptQueryParams(){let e={};for(let[t,i]of Object.entries(this.swell.queryParams)){let r=this.queryParamsMap.find(({from:a})=>typeof a=="function"?a(t):a===t);if(r){let a=typeof r.to=="function"?r.to(t,i):{[r.to]:i};Object.assign(e,a)}else e[t]=i}this.swell.queryParams=e}getAdaptedFormType(e){return this.formResourceMap.find(i=>i.shopifyType===e)?.type}async getAdaptedFormClientParams(e,t,i){let r=this.formResourceMap.find(a=>a.type===e);if(r?.clientParams)return r.clientParams(t,i)}async getAdaptedFormClientHtml(e,t,i){let r=this.formResourceMap.find(o=>o.type===e),a=this.shopifyCompatibilityConfig?.forms?.find(o=>o.id===e);if(r&&a)return a.client_params?.reduce((o,s)=>`<input type="hidden" name="${s.name}" value="${s.value}" />`+o,"")}async getAdaptedFormServerParams(e,t){let i=this.formResourceMap.find(r=>r.type===e||r.shopifyType===e);if(typeof i?.serverParams=="function")return i.serverParams(t)}async getAdaptedFormServerResponse(e,t){let i=this.formResourceMap.find(r=>r.type===e||r.shopifyType===e);if(typeof i?.serverResponse=="function")return i.serverResponse(t)}getShopData({store:e}){return e?z5(this,e):{}}getContentForHeader(){return"<script>var Shopify = Shopify || {};</script>"}getMenuData(e){return g4(this,e)}getFontData(e){return w4(this,e)}getFormData(e){return y4(this,e)}getFontFromShopifySetting(e){return Z1(e)}getThemeConfig(e){return x1(e)}getPresetsConfig(e){return R1(e)}getEditorConfig(e){return P1(e)}getSectionConfigSchema(e){return j1(e)}async getLocaleConfig(e,t="en",i=".json"){let r=await e.getAllThemeConfigs(),a=new Map;for(let s of r.values())s.file_path.startsWith("theme/locales/")&&s.file_path.endsWith(i)&&a.set(s.file_path,s);let o=a.get(`theme/locales/${t}${i}`)??null;if(!o){let s=t.split("-")[0];if(o=a.get(`theme/locales/${s}${i}`)??null,!o){let l=`.default${i}`;for(let c of a.values())if(c.file_path.endsWith(l)){o=c;break}}}if(o){o=await e.getThemeConfig(o.file_path);try{return JSON.parse(o?.file_data||"")}catch{}}return{}}async getEditorLocaleConfig(e,t){if(this.editorLocaleConfig?.[t])return this.editorLocaleConfig[t];let i=await this.getLocaleConfig(e,t,".schema.json");return this.editorLocaleConfig={[t]:i},i}async renderSchemaTranslations(e,t,i="en"){if(!(0,k4.isObject)(t))return t;let r=await this.getEditorLocaleConfig(e,i);return this.renderSchemaTranslationValue(e,t,i,r)}async renderSchemaTranslationValue(e,t,i,r){switch(typeof t){case"string":{if(t.startsWith("t:")){let a=t.slice(2),o=a?.split("."),s=o.pop()||"",l=o.join(".");return(0,k4.get)(r,l)?.[s]??a}break}case"object":{if(Array.isArray(t)){let a=[];for(let o of t)a.push(await this.renderSchemaTranslationValue(e,o,i,r));return a}if(t!==null){let a={...t};for(let[o,s]of Object.entries(t))a[o]=await this.renderSchemaTranslationValue(e,s,i,r);return a}break}default:break}return t}getPageType(e){return this.shopifyCompatibilityConfig?.page_types?.[e]||e}getPageRouteUrl(e){return this.theme.props.pages?.find(t=>t.id===e)?.url||e}getPageRoutes(){let e={account_addresses_url:this.getPageRouteUrl("account/addresses"),account_login_url:this.getPageRouteUrl("account/login"),account_logout_url:this.getPageRouteUrl("account/logout"),account_recover_url:this.getPageRouteUrl("account/recover"),account_register_url:this.getPageRouteUrl("account/signup"),account_url:this.getPageRouteUrl("account/index"),all_products_collection_url:this.getPageRouteUrl("products/index"),cart_add_url:this.getPageRouteUrl("cart/add"),cart_change_url:this.getPageRouteUrl("cart/change"),cart_clear_url:this.getPageRouteUrl("cart/clear"),cart_update_url:this.getPageRouteUrl("cart/update"),cart_url:this.getPageRouteUrl("cart/index"),collections_url:this.getPageRouteUrl("categories/index"),predictive_search_url:this.getPageRouteUrl("search/suggest"),product_recommendations_url:this.getPageRouteUrl("products/index"),root_url:this.getPageRouteUrl("index"),search_url:this.getPageRouteUrl("search")};if(this.shopifyCompatibilityConfig?.page_routes)for(let[t,i]of Object.entries(this.shopifyCompatibilityConfig.page_routes))i&&typeof i=="object"&&i.page_id?e[t]=this.getPageRouteUrl(i.page_id):typeof i=="string"&&(e[t]=i);return e}getLocalizationObject(e,t){return k3(this,e,t)}getAdaptedPageUrl(e){if(!e)return;let t,i,r={},[a,o]=e.split("?"),s=a.split("."),l=s[1]?s.pop():null,[,c,u,h]=s.join(".").split("/");switch(l==="js"&&(i="json"),c){case"account":switch(u){case"order":t="account/order",r.id=h;break;case"register":t="account/login";break;default:break}break;case"blog":u&&(t="blogs/category",r.category=u),h&&(t="blogs/blog",r.slug=h);break;case"collections":u?u==="all"?t="products/index":(t="categories/category",r.slug=u):t="categories/index";break;case"gift_card":u&&(t="gift-card",r.code=u);break}if(t){let p=this.getPageRouteUrl(t);if(p)return p.replace(/:(\w+)/g,(m,f)=>r[f])+(l?`.${l}`:"")+(o?`?${o}`:"")}else if(i)return a.replace(new RegExp(`.${l}$`),`.${i}`)+(o?`?${o}`:"")}getThemeFilePath(e,t){switch(e){case"assets":return`assets/${t}`;case"components":return`snippets/${t}`;case"config":return`config/${t}`;case"layouts":return`layout/${t}`;case"templates":return`templates/${this.getPageType(t)}`;case"sections":return`sections/${t}`;default:throw new Error(`Theme file type not supported: ${e}`)}}getPageResourceMap(){return this.shopifyCompatibilityConfig?.page_resources?this.shopifyCompatibilityConfig.page_resources.map(e=>({page:e.page,resources:e.resources.map(({from:t,to:i,object:r})=>{let a=S4[r];if(!a)throw new Error(`ShopifyObject for '${r}' not found.`);return{from:t,to:i,object:a}})})):[]}getObjectResourceMap(){return this.shopifyCompatibilityConfig?.object_resources?this.shopifyCompatibilityConfig.object_resources.map(e=>{let t=S4[e.object];if(!t)throw new Error(`ShopifyObject for '${e.object}' not found.`);return{from:e.from,object:t}}):[]}getFormResourceMap(){return this.shopifyCompatibilityConfig?.forms?this.shopifyCompatibilityConfig.forms.map(e=>({shopifyType:e.shopify_type,type:e.id})):[]}getQueryParamsMap(){return[{from:"sort_by",to:"sort"},{from(e){return e.startsWith("filter.v.")},to(e,t){let i=e.split("filter.v.")[1],r=t;return{[i]:r}}}]}getAllCountryOptionTags(e){return e?.countries?.map(t=>{if(!t)return;let i=[...(e?.states||[]).filter(a=>a.country===t.id).map(a=>[a.id,a.name])],r=JSON.stringify(i).replace(/"/g,""");return`<option value="${t.id}" data-provinces="${r}">${t.name}</option>`}).filter(Boolean).join(`
|
|
943
|
+
`)}isScriptFormActionUrl(e){if(!e)return!1;let t=this.shopifyCompatibilityConfig?.editor_configs?.script_actions_routes||{};for(let i of Object.values(t))if(e===i)return!0;return!1}isScriptUrl(e){if(!e)return!1;let t=this.shopifyCompatibilityConfig?.editor_configs?.script_routes||{};for(let i of Object.values(t))if(e.startsWith(i))return!0;return!1}needRedirectToPageStart(e){return e?(this.shopifyCompatibilityConfig?.editor_configs?.redirect_to_page_start_forms||[]).includes(e):!1}isCheckoutForm(e){return e?this.shopifyCompatibilityConfig?.editor_configs?.checkout_form===e:!1}};var J5=100,Y5=15,T=class{_getter;_getterHash;_result;_compatibilityProps={};constructor(e){return e&&this._setGetter(e),this._getProxy()}_getProxy(){return new Proxy(this,{get(e,t){let i=e;switch(t){case"toLiquid":case"next":return;case"then":return!1;case"toJSON":case"toObject":return()=>i.toObject();default:break}if(typeof i[t]=="function"||t.startsWith?.("_"))return i[t];if(typeof t=="symbol"&&t===Symbol.toStringTag)return D(i._result)?"[object Promise]":i._result!==void 0?"[object Object]":"undefined";if(i._result===void 0){if(i[t]!==void 0)return i[t];i._result=i._get().catch(r=>(console.log(r),i._getCollectionResultOrProp(i,t)))}return D(i._result)?i._result.then(()=>i._getCollectionResultOrProp(i,t)).catch(r=>(console.log(r),null)):i._getCollectionResultOrProp(i,t)},set(e,t,i){return e[t]=i,!0}})}_getCollectionResultOrProp(e,t){if(e._result&&Array.isArray(e._result.results)){let i=e._result.results.find(r=>r.slug===t||r.id===t)||(typeof t=="number"?e._result.results[t]:void 0);if(i)return i}return t in e._compatibilityProps?e._compatibilityProps[t]:e._result&&t in e._result?e._result[t]:e[t]}async _get(...e){if(this._getter){let t=this._getter.bind(this);return Promise.resolve().then(()=>t()).then(i=>(this._result=i,i&&Object.assign(this,i),i)).catch(i=>(console.log(i),null))}return this._result}_setGetter(e){this._getter=e,this._getterHash=A3(e.toString())}async _resolve(){return this._result===void 0?this._get():this._result}_isResultResolved(){return this._result!==void 0&&!D(this._result)}async resolve(e=!0,t=!1){let i={},r=await this._resolve();return r===null?null:(Object.assign(i,r),Object.assign(i,this._compatibilityProps),Y(i,e,t))}toObject(){if(this._result===null)return null;let e={};return Object.assign(e,this._result),Object.assign(e,this._compatibilityProps),e}toJSON(){return this.toObject()}valueOf(){return this.resolve()}setCompatibilityProps(e){this._compatibilityProps=e}getCompatibilityProp(e){return this._compatibilityProps[e]}},L3=class extends T{_swell;_resource;_resourceName;_collection;_query={};_compatibilityInstance=null;constructor(e,t,i){return super(i),this._swell=e,this._collection=t,this._getProxy()}_getProxy(){return super._getProxy()}getResourceObject(){let{_swell:e,_collection:t}=this;if(this._resource=(e?.storefront)[t],e&&t.startsWith("content/")){let i=t.split("/")[1]?.replace(/\/$/,"").trim();this._resource={list:r=>e.storefront.content.list(i,r),get:(r,a)=>e.storefront.content.get(i,r,a)}}if(!this._resource?.get)throw new Error(`Swell storefront resource for collection '${t}' does not exist.`);return this._resource}},A=class n extends L3{length=0;results;count;page;pages;page_count;limit=Y5;name;constructor(e,t,i={},r){return super(e,t,r),this._query=this._initQuery(i),r||this._setGetter(this._defaultGetter()),this._getProxy()}_getProxy(){return super._getProxy()}_initQuery(e){let t=e||{};return t.limit>J5||t.limit===null?t.limit=J5:t.limit||(t.limit=Y5),this.limit=t.limit,t}_defaultGetter(){let e=this.getResourceObject();async function t(){return e.list(this._query)}return t}async _get(e={}){if(this._query={...this._query,...e},this._getter){let t=this._getter;this._result=this._swell.getCachedResource("storefront-list",[this._collection,this._query,this._getterHash],async()=>t.call(this)).then(i=>(this._result=i,i&&Object.assign(this,i,{length:i.results?.length||0}),i)).catch(i=>(console.log(i),null))}return this._result}[Symbol.iterator](){return this.iterator()}*iterator(){for(let e of this.results||[])yield e}_clone(e){let t=new n(this._swell,this._collection,this._query,this._getter);return this._isResultResolved()&&(t._result=(0,W5.cloneDeep)(this._result)),this._compatibilityProps&&t.setCompatibilityProps(this._compatibilityProps),e!==void 0&&(Object.assign(t,e),e._getter&&t._setGetter(e._getter)),t}_cloneWithCompatibilityResult(e){let t=this._getter,i=this._clone({_getter:async()=>{let r=await t?.call(i);if(r){let a=e(r);return{...r,...a||void 0}}return r}});if(this._isResultResolved()){let r=(0,W5.cloneDeep)(this._result);if(r){let a=e(r);Object.assign(i,r),a&&Object.assign(i,a)}}return i}},_=class extends L3{_id;constructor(e,t,i,r={},a){return super(e,t,a),this._id=i,this._query=r,a||this._setGetter(this._defaultGetter()),this._getProxy()}_getProxy(){return super._getProxy()}_defaultGetter(){let e=this.getResourceObject();async function t(){return e.get(this._id,this._query)}return t}async _get(e,t={}){if(this._id=e||this._id,this._query={...this._query,...t},this._getter){let i=this._getter;this._result=this._swell.getCachedResource("storefront-record",[this._collection,this._id,this._query,this._getterHash],async()=>i.call(this)).then(r=>(this._result=r,r&&Object.assign(this,r),r)).catch(r=>(console.log(r),null))}return this._result}},J=class extends L3{constructor(e,t,i){return super(e,t,i),i||this._setGetter(this._defaultGetter()),this._getProxy()}_getProxy(){return super._getProxy()}_defaultGetter(){let{_collection:e,_swell:{storefrontContext:t}}=this,i=this.getResourceObject();async function r(){return t[e]!==void 0?t[e]:i.get()}return r}async _get(){if(this._getter){let e=this._getter;this._result=Promise.resolve().then(()=>e.call(this)).then(t=>(this._result=t,t&&Object.assign(this,t),t)).catch(t=>(console.log(t),null))}return this._result}},E3=class{_resource;count=0;page=0;page_count=0;limit=0;pages={};next;previous;constructor(e){this._resource=e,this.setPaginationProps()}setPaginationProps(){let{_resource:e}=this;if(this.count=e.count||0,this.page=e.page||0,this.page_count=e.page_count||0,this.limit=e.limit||0,this.pages={},e.pages)for(let[r,a]of Object.entries(e.pages))this.pages[r]={start:a.start,end:a.end,url:this.getPageUrl(Number(r))};let t=this.pages[this.page+1];this.next=t?{start:t.start,end:t.end,url:this.getPageUrl(this.page+1)}:void 0;let i=this.pages[this.page-1];this.previous=i?{start:i.start,end:i.end,url:this.getPageUrl(this.page-1)}:void 0}getPageUrl(e){let{url:t,queryParams:i}=this._resource._swell;return`${t.pathname}?${q({...i,page:e})}`}setCompatibilityProps(e){Object.assign(this,e)}};function A3(n){var e="0123456789abcdef";function t(L){var k,M="";for(k=0;k<=3;k++)M+=e.charAt(L>>k*8+4&15)+e.charAt(L>>k*8&15);return M}function i(L,k){var M=(L&65535)+(k&65535),E=(L>>16)+(k>>16)+(M>>16);return E<<16|M&65535}function r(L,k){return L<<k|L>>>32-k}function a(L,k,M,E,I,F){return i(r(i(i(k,L),i(E,F)),I),M)}function o(L,k,M,E,I,F,X){return a(k&M|~k&E,L,k,I,F,X)}function s(L,k,M,E,I,F,X){return a(k&E|M&~E,L,k,I,F,X)}function l(L,k,M,E,I,F,X){return a(k^M^E,L,k,I,F,X)}function c(L,k,M,E,I,F,X){return a(M^(k|~E),L,k,I,F,X)}function u(L){var k,M=(L.length+8>>6)+1,E=new Array(M*16);for(k=0;k<M*16;k++)E[k]=0;for(k=0;k<L.length;k++)E[k>>2]|=L.charCodeAt(k)<<k%4*8;return E[k>>2]|=128<<k%4*8,E[M*16-2]=L.length*8,E}var h,p=u(""+n),C=1732584193,m=-271733879,f=-1732584194,g=271733878,Q,O3,l2,h2;for(h=0;h<p.length;h+=16)Q=C,O3=m,l2=f,h2=g,C=o(C,m,f,g,p[h+0],7,-680876936),g=o(g,C,m,f,p[h+1],12,-389564586),f=o(f,g,C,m,p[h+2],17,606105819),m=o(m,f,g,C,p[h+3],22,-1044525330),C=o(C,m,f,g,p[h+4],7,-176418897),g=o(g,C,m,f,p[h+5],12,1200080426),f=o(f,g,C,m,p[h+6],17,-1473231341),m=o(m,f,g,C,p[h+7],22,-45705983),C=o(C,m,f,g,p[h+8],7,1770035416),g=o(g,C,m,f,p[h+9],12,-1958414417),f=o(f,g,C,m,p[h+10],17,-42063),m=o(m,f,g,C,p[h+11],22,-1990404162),C=o(C,m,f,g,p[h+12],7,1804603682),g=o(g,C,m,f,p[h+13],12,-40341101),f=o(f,g,C,m,p[h+14],17,-1502002290),m=o(m,f,g,C,p[h+15],22,1236535329),C=s(C,m,f,g,p[h+1],5,-165796510),g=s(g,C,m,f,p[h+6],9,-1069501632),f=s(f,g,C,m,p[h+11],14,643717713),m=s(m,f,g,C,p[h+0],20,-373897302),C=s(C,m,f,g,p[h+5],5,-701558691),g=s(g,C,m,f,p[h+10],9,38016083),f=s(f,g,C,m,p[h+15],14,-660478335),m=s(m,f,g,C,p[h+4],20,-405537848),C=s(C,m,f,g,p[h+9],5,568446438),g=s(g,C,m,f,p[h+14],9,-1019803690),f=s(f,g,C,m,p[h+3],14,-187363961),m=s(m,f,g,C,p[h+8],20,1163531501),C=s(C,m,f,g,p[h+13],5,-1444681467),g=s(g,C,m,f,p[h+2],9,-51403784),f=s(f,g,C,m,p[h+7],14,1735328473),m=s(m,f,g,C,p[h+12],20,-1926607734),C=l(C,m,f,g,p[h+5],4,-378558),g=l(g,C,m,f,p[h+8],11,-2022574463),f=l(f,g,C,m,p[h+11],16,1839030562),m=l(m,f,g,C,p[h+14],23,-35309556),C=l(C,m,f,g,p[h+1],4,-1530992060),g=l(g,C,m,f,p[h+4],11,1272893353),f=l(f,g,C,m,p[h+7],16,-155497632),m=l(m,f,g,C,p[h+10],23,-1094730640),C=l(C,m,f,g,p[h+13],4,681279174),g=l(g,C,m,f,p[h+0],11,-358537222),f=l(f,g,C,m,p[h+3],16,-722521979),m=l(m,f,g,C,p[h+6],23,76029189),C=l(C,m,f,g,p[h+9],4,-640364487),g=l(g,C,m,f,p[h+12],11,-421815835),f=l(f,g,C,m,p[h+15],16,530742520),m=l(m,f,g,C,p[h+2],23,-995338651),C=c(C,m,f,g,p[h+0],6,-198630844),g=c(g,C,m,f,p[h+7],10,1126891415),f=c(f,g,C,m,p[h+14],15,-1416354905),m=c(m,f,g,C,p[h+5],21,-57434055),C=c(C,m,f,g,p[h+12],6,1700485571),g=c(g,C,m,f,p[h+3],10,-1894986606),f=c(f,g,C,m,p[h+10],15,-1051523),m=c(m,f,g,C,p[h+1],21,-2054922799),C=c(C,m,f,g,p[h+8],6,1873313359),g=c(g,C,m,f,p[h+15],10,-30611744),f=c(f,g,C,m,p[h+6],15,-1560198380),m=c(m,f,g,C,p[h+13],21,1309151649),C=c(C,m,f,g,p[h+4],6,-145523070),g=c(g,C,m,f,p[h+11],10,-1120210379),f=c(f,g,C,m,p[h+2],15,718787259),m=c(m,f,g,C,p[h+9],21,-343485551),C=i(C,Q),m=i(m,O3),f=i(f,l2),g=i(g,h2);return t(C)+t(m)+t(f)+t(g)}function Kt(n,e){if(!n.file_path.startsWith("theme/sections/"))return!1;if(n.file_path.endsWith(".liquid")){if(!e.get(n.file_path.replace(/\.liquid$/,".json")))return!0}else if(n.file_path.endsWith(".json"))return!0;return!1}async function G5(n,e){let t=[];for(let i of n.values())if(Kt(i,n)){let r=await e(i);r&&t.push({...r,id:i.name.split(".").pop()??"",...r&&{presets:zt(r)}})}return t}function zt(n){return Array.isArray(n?.presets)?n.presets.map(e=>({label:e.label,settings:{...n.fields?.reduce((t,i)=>(i.id&&i.default!==void 0&&(t[i.id]=i.default),t),{}),...e.settings||void 0},blocks:e.blocks?.map(t=>{let i=n.blocks?.find(r=>r.type===t.type);return i?{...t,settings:{...i.fields.reduce((r,a)=>(a.id&&a.default!==void 0&&(r[a.id]=a.default),r),{}),...t.settings||void 0}}:t})})):[]}async function V5(n,e){let t=Array.from(n.values()),i=t.filter(o=>o.file_path.startsWith("theme/sections/")&&o.file_path.endsWith(".json")&&!n.has(o.file_path.replace(/\.json$/,".liquid"))),r=async o=>{let s=t.find(c=>{if(!c.file_path.endsWith(`/${o}.json`)&&!c.file_path.endsWith(`/${o}.liquid`))return!1;if(c.file_path.endsWith(".liquid")){if(!n.get(c.file_path.replace(/\.liquid$/,".json")))return!0}else if(c.file_path.endsWith(".json"))return!0;return!1});return s?{...await e(s),id:s.name.split(".").pop()}:void 0},a=[];for(let o of i){let s;try{s=JSON.parse(o.file_data),s?.name&&(s.label=s.name,delete s.name)}catch{}if(s?.type){let l=await s4(s,r);a.push({...s,id:o.name.split(".").pop(),sectionConfigs:l})}}return a}async function s4(n,e){let t=n?.order instanceof Array?n.order:Object.keys(n?.sections||{}),i=[];for(let r of t){let a=n.sections[r];if(!a)continue;let o=await e(a.type)||{id:a.type,label:a.type,tag:"div",class:"",fields:[],blocks:[]},s=n.id?`page__${n.id}__${r}`:o.id,c=(a.block_order instanceof Array?a.block_order:Object.keys(a.blocks||{})).map(h=>a.blocks?.[h]).filter(Boolean),u={section:{id:s,...a,blocks:c}};i.push({id:s,section:{id:s,...a},schema:o,settings:u,tag:o.tag||"div",class:o.class})}return i}function Wt(n){return String(n)==="[object Array]"}function I3(n){let e=typeof n;return n!==null&&(e==="object"||e==="function")}function Q5(n){let e=new TextEncoder().encode(n),t="";for(let i=0;i<e.length;i+=3){let r=Array.from(e.slice(i,i+3));t+=btoa(String.fromCharCode(...r))}return t}function I5(n,e="id"){return(0,O1.reduce)(n,(t,i)=>(t[i[e]]=i,t),{})}function Jt(n){let e=n.toUpperCase().split(/-|_/),t=e.shift(),i=e.pop(),r="";return i&&(r=i),i||(r=R4[t.toLowerCase()]||""),r.toLowerCase()}function X5(n,e){if(!(typeof n!="object"||n===null)){for(let t of Object.keys(n))if(Object.hasOwn(n,t)&&e(t,n)!==!1){let r=n[t];typeof r=="object"&&r!==null&&X5(r,e)}}}function Yt(n){let e=new Set;return X5(n,(t,i)=>{if(typeof i=="object"&&i!==null){if(e.has(i))return!1;e.add(i)}}),Array.from(e)}function Qt(n){let e=new WeakSet;return n&&JSON.parse(JSON.stringify(n,(t,i)=>{if(typeof i=="object"&&i!==null){if(e.has(i))return JSON.parse(JSON.stringify(i));e.add(i)}return i}))}function U1(n){if(typeof n!="object"||n===null)return n;for(let e in n)e==="_swell"?n[e]=void 0:U1(n[e])}function G1(n){if(n!==void 0)return n instanceof A?"SwellStorefrontCollection":n instanceof _?"SwellStorefrontRecord":n instanceof y?"ShopifyResource":n instanceof T?"StorefrontResource":"promise"}async function Y(n,e=!0,t=!1){let i=n,r=e;try{if(D(n)&&(r=!1,i=await n),n instanceof T&&(r=!1,i=await Y(n.resolve(),e,t)),i instanceof Array){if(i=await Promise.all(i.map(a=>Y(a,e,t))),i.filter(a=>a!==void 0).length===0)return e?[]:void 0}else if(typeof i=="object"&&i!==null&&!i._swell){let a={};for(let[o]of Object.entries(i)){if(!e&&(D(i[o])||i[o]instanceof T||i[o]instanceof y)){a[o]={_type:G1(i[o]),...t?{value:await Y(i[o],r,t)}:{}};continue}if(i[o]instanceof T&&t){a[o]={_type:G1(i[o]),value:await Y(i[o],r,t)};continue}a[o]=await Y(i[o],r,t)}return!e&&Object.keys(a).length===0?void 0:a}}catch(a){return console.error(a),n}return i}function q(n){return V1.default.stringify({...n,sections:void 0,section_id:void 0},{encodeValuesOnly:!0,arrayFormat:"repeat"})}function O5(n,e){return n=Array.isArray(n)?n.join(" "):n,n.split("}").map(r=>{let[a,o]=r.split("{");return!a||!o?"":`${a.split(",").map(l=>`#${e} ${l.trim()}`).join(", ")} {${o}}`}).join(" ")}function f3(n,e){return Object.entries(e).reduce((t,[i,r])=>{let a=n[i]?.value,o=a!=null;return t[i]=o?a:r,t},{})}var F3="ContentSections";function o3(n){return`SectionGroup_${n}`}var $1="https://api.schema.io",K1=new Map,z1=new Map,e2=class n{url;headers;swellHeaders;queryParams;workerEnv;config;shopifyCompatibilityConfig;backend;storefront;storefrontContext;instanceId="";isPreview=!1;isEditor=!1;sentResponse=!1;storefront_url;constructor(e){let{url:t,config:i,shopifyCompatibilityConfig:r,headers:a,swellHeaders:o,serverHeaders:s,queryParams:l,workerEnv:c,...u}=e;if(this.url=t instanceof URL?t:new URL(t||""),this.config=i,this.shopifyCompatibilityConfig=r,this.queryParams=n.formatQueryParams(l||this.url.searchParams),this.workerEnv=c,s){let{headers:h,swellHeaders:p}=n.formatHeaders(s);this.headers=h,this.swellHeaders=p,this.backend=new L4({storeId:p["store-id"],accessToken:p["access-token"],apiHost:p["api-host"]}),this.storefront=this.getStorefrontInstance({...e,headers:h,swellHeaders:p}),this.instanceId=["store-id","environment-id","deployment-mode","theme-id","theme-branch-id"].map(C=>p[C]||"0").join(":"),this.isEditor=u.isEditor??p["deployment-mode"]==="editor",this.isPreview=this.isEditor||p["deployment-mode"]==="preview"}else if(a&&o)Object.assign(this,u),this.headers=a,this.swellHeaders=o,this.storefront=this.getStorefrontInstance(e);else throw new Error("Swell client requires `serverHeaders` when initialized on the server-side, or `headers` and `swellHeaders` when initialized on the client-side.");this.storefrontContext=this.initStorefrontContext()}static formatHeaders(e){let t={},i={};e instanceof Headers?e.forEach((r,a)=>{t[a]=r}):e&&(t=e);for(let[r,a]of Object.entries(t))r.startsWith("swell-")&&a&&(i[r.replace("swell-","")]=a);return{headers:t,swellHeaders:i}}static formatQueryParams(e){let t={};return e instanceof URLSearchParams?t=Y1.default.parse(e.toString()):e&&(t=e),t}async getCachedResource(e,t,i){let r=this.swellHeaders["request-id"],a=W1(e,[r,t]);return this.getResourceCache().fetch(a,i)}async updateCacheModified(e){if(e){let t="_cache-modified";await this.getResourceCache().get(t)!==e&&(await this.getRequestCache().flushAll(),await this.getResourceCache().set(t,e,1e3*60*60*24*90))}}async getAppSettings(){return await this.get("/:storefronts/{id}/configs/settings/values",{id:this.swellHeaders["storefront-id"]})||{}}async getStorefrontSettings(e=!1){try{let{settings:t,menus:i,payments:r,subscriptions:a,session:o}=await this.storefront.request("get","/settings/all",void 0,void 0,{force:e}),s=this.storefront.settings;s.localizedState={},s.set({value:t}),s.set({model:"menus",value:i}),s.set({model:"payments",value:r}),s.set({model:"subscriptions",value:a}),s.set({model:"session",value:o})}catch(t){t instanceof Error&&(t.message=`Swell: unable to load settings (${t.message})`),console.error(t)}return this.storefront.settings.get()}getStorefrontMenus(){let e=this.storefront.settings.getState("/settings/menus","menuState");return!e||D(e)?[]:e}async get(...e){return this.backend?.get(...e)}async put(...e){return this.backend?.put(...e)}async post(...e){return this.backend?.post(...e)}async delete(...e){return this.backend?.delete(...e)}getStorefrontInstance(e){let{swellHeaders:t,getCookie:i,setCookie:r,storefrontSettingStates:a}=e;if(!t)throw new Error("Swell headers are required");let o=t["store-id"],s=t["public-key"];if(!o||!s)throw new Error('Missing required headers: "swell-store-id" and "swell-public-key"');let l=J1.default.create(o,s,{url:t["admin-url"],vaultUrl:t["vault-url"],getCookie:i,setCookie:r&&((c,u,h)=>r(c,u,h,this)),headers:{"Swell-Store-id":o,"Swell-Storefront-Id":t["storefront-id"]}});return a&&Object.assign(l.settings,a),l.request=this.getCacheableStorefrontRequestHandler(l),l}initStorefrontContext(){let e={};if(this.swellHeaders?.["storefront-context"])try{e=JSON.parse(this.swellHeaders["storefront-context"])}catch{console.error("Failed to parse swell-storefront-context. Ignoring...")}return e}isStorefrontRequestCacheable(e,t,i){if(i?.force)return!1;if(e==="get")switch(t.split("/")[1]){case"products":case"categories":case"content":case"settings":return!0;default:return!1}return!1}getCacheableStorefrontRequestHandler(e){let t=e.request;return(i,r,a,o,s)=>{if(this.isStorefrontRequestCacheable(i,r,s))return this.getRequestCache().fetch(W1("request",[i,r,a,o,s]),()=>t(i,r,a,o,s));switch(i){case"delete":case"post":case"put":{let l=r.split("/")[1];delete this.storefrontContext[l];break}default:}return t(i,r,a,o,s)}}getResourceCache(){let e=K1.get(this.instanceId);return e||(e=new T3,K1.set(this.instanceId,e)),e}getRequestCache(){let e=z1.get(this.instanceId);return e||(e=new b3,z1.set(this.instanceId,e)),e}getCacheKey(e,t){let i=`${this.instanceId}:${e}`;return Array.isArray(t)&&t.length>0&&(i+=`_${JSON.stringify(t)}`),i.length>512&&(i=`${i.slice(0,480)}${A3(i)}`),i}};function W1(n,e){let t=n;return Array.isArray(e)&&e.length>0&&(t+=`_${JSON.stringify(e)}`),t.length>512&&(t=`${t.slice(0,480)}${A3(t)}`),t}var L4=class{apiHost=$1;apiAuth="";constructor({storeId:e,accessToken:t,apiHost:i}){this.apiHost=i||$1,this.apiAuth=Q5(`${e}:${t}`)}async makeRequest(e,t,i){let r={method:e,headers:{Authorization:`Basic ${this.apiAuth}`,"User-Agent":"swell-functions/1.0","Content-Type":"application/json"}},a="";if(i)try{e==="GET"?a=`?${this.stringifyQuery(i)}`:(r.body=JSON.stringify(i),r.headers["Content-Length"]=String(r.body.length))}catch{throw new Error(`Error serializing data: ${i}`)}let o=String(t).startsWith("/")?t.substring(1):t,s=`${this.apiHost}/${o}${a}`,l=await fetch(s,r),c=await l.text(),u;try{u=JSON.parse(c)}catch{u=String(c||"").trim()}if(l.status>299)throw new q3(u,{status:l.status,method:e,endpointUrl:o});if(e!=="GET"&&u?.errors)throw new q3(u.errors,{status:400,method:e,endpointUrl:o});return u}stringifyQuery(e,t){let i=[];for(let[r,a]of Object.entries(e)){let o=t?`${t}[${r}]`:r,l=a!==null&&typeof a=="object"?this.stringifyQuery(a,o):`${encodeURIComponent(o)}=${a===null?"":encodeURIComponent(a)}`;i.push(l)}return i.join("&")}async get(e,t){return this.makeRequest("GET",e,t)}async put(e,t){return this.makeRequest("PUT",e,t)}async post(e,t){return this.makeRequest("POST",e,t)}async delete(e,t){return this.makeRequest("DELETE",e,t)}},q3=class extends Error{status=200;constructor(e,t={}){let i;typeof e=="string"?i=e:i=JSON.stringify(e,null,2),t.method&&t.endpointUrl&&(i=`${t.method} /${t.endpointUrl}
|
|
944
|
+
${i}`),super(i),this.name="SwellError",this.status=t.status||500}};function t2(n,e){return new A(n,"products",e)}function Xt(n,e,t){return new _(n,"products",e,t)}function e6(n,{search:e,filter:t,sort:i}){return new A(n,"products",{search:e,filter:t,sort:i})}function t6(n,e){return new A(n,"categories",e)}function Q1(n,e,t){return new _(n,"categories",e,t)}async function i6(n,e,t){let i=Q1(n,e,t),r=await i.id;return i.products=t2(n,{category:r}),i}function n6(n,e){return n.getCachedResource(`content-model-${e}`,[],()=>n.get("/:content/{name}",{name:e,public:!0,"storefront.enabled":!0}))}async function X1(n,e,t){return new A(n,`content/${e}`,t)}async function i2(n,e,t,i){return new _(n,`content/${e}`,t,i)}async function r6(n,e,t){return i2(n,"pages",e,t)}async function a6(n,e){return X1(n,"blogs",e)}async function o6(n,e,t){return i2(n,"blogs",e,t)}var V=require("lodash-es");async function ee(n,e){let t=[];for(let i of e)if(l6(i,e)){let r=await r2(n,i);r&&t.push({...r,id:i.name.split(".").pop()})}return t}async function n2(n,e,t=s6){let i=e.order instanceof Array?e.order:Object.keys(e.sections||{}),r=[];for(let a of i){let o=e.sections[a],s=await t(n,o.type);if(!s)continue;let l=e.id?`page__${e.id}__${a}`:s.id,u=(o.block_order instanceof Array?o.block_order:Object.keys(o.blocks||{})).map(p=>o.blocks?.[p]).filter(Boolean),h={section:{id:l,...o,blocks:u}};r.push({id:l,settings:h,section:{id:l,...o},tag:s.tag||"div",class:s.class,schema:s})}return r}async function te(n,e){let t=e.filter(a=>h6(a,e)),i=async(a,o)=>{let s=e.find(c=>d6(c,e,o)),l=await r2(a,s);if(l)return{...l,id:s?.name.split(".").pop()}},r=[];for(let a of t){let o;try{o=JSON.parse(a.file_data),o?.name&&(o.label=o.name,delete o.name)}catch{}if(o?.type){let s=await n2(n,o,i);r.push({...o,id:a.name.split(".").pop(),sectionConfigs:s})}}return r}async function s6(n,e){let t=await n.getThemeTemplateConfigByType("sections",e);return r2(n,t)}async function r2(n,e){let t;if(e?.file_path?.endsWith(".liquid")){if(n.shopifyCompatibility){n.liquidSwell.lastSchema=void 0,await n.renderTemplate(e);let i=n.liquidSwell.lastSchema||{};i&&(t=n.shopifyCompatibility.getSectionConfigSchema(i))}}else if(e?.file_data)try{t=JSON.parse(e?.file_data)||void 0}catch{}return t}function l6(n,e){return n.file_path.startsWith("theme/sections/")?ie(n,e):!1}function h6(n,e){if(!n.file_path.startsWith("theme/sections/")||!n.file_path.endsWith(".json"))return!1;let t=n.file_path.replace(/\.json$/,".liquid");return!e.find(i=>i.file_path===t)}function d6(n,e,t){return!n.file_path.endsWith(`/${t}.json`)&&!n.file_path.endsWith(`/${t}.liquid`)?!1:ie(n,e)}function ie(n,e){if(n.file_path.endsWith(".liquid")){let t=n.file_path.replace(/\.liquid$/,".json");if(!e.find(r=>r.file_path===t))return!0}else if(n.file_path.endsWith(".json"))return!0;return!1}function G3(n){let e={description:n.description,defaultValue:n.default!==void 0?n.default:null,isLabelHidden:!0,layout:"column",params:n},t;switch(n?.type){case"text":case"short_text":t={type:"swell_short_text"};break;case"paragraph":t={type:"swell_paragraph"};break;case"textarea":case"long_text":case"liquid":t={type:"swell_long_text"};break;case"basic_html":case"rich_text":case"rich_html":case"markdown":t={type:"swell_editor"};break;case"number":t={type:"swell_number"};break;case"select":t={type:"swell_select"};break;case"radio":t={type:"swell_radio"};break;case"checkbox":t={type:"swell_boolean"};break;case"color":t={type:"swell_color"};break;case"color_scheme":t={type:"swell_color_scheme"};break;case"color_scheme_group":t={type:"swell_color_scheme_group"};break;case"font":t={type:"swell_font"};break;case"header":t={type:"swell_header"};break;case"icon":t={type:"swell_menu"};break;case"menu":t={type:"swell_menu"};break;case"url":t={type:"swell_url"};break;case"lookup":case"generic_lookup":case"product_lookup":case"category_lookup":case"customer_lookup":t={type:"swell_lookup"};break;case"image":t={type:"swell_image",defaultValue:""};break;case"asset":case"document":case"video":t={type:"swell_file"};break;default:t={type:"swell_short_text"};break}return{...e,...t}}function N(n,e,t){if(t===void 0)return null;switch(n?.find(r=>r.id===e)?.type){default:return t}}function ne(n,e){return e?.reduce((t,i)=>{for(let r of i.fields||[])r?.id&&(t[r.id]=n[r.id]);return t},{})}function re(n,e){return e?{settings:e.fields?.reduce((t,i)=>(i?.id&&(t[i.id]=n[i.id]),t),{}),id:e.id,blocks:n.Blocks?.filter(t=>t.props.compiled?._component).map(t=>{let i=t.props.compiled.props,r=t.props.compiled._component.split("__")[2],a=e.blocks?.find(o=>o.type===r);return{type:r,settings:a?.fields?.reduce((o,s)=>(s?.id&&(o[s.id]=i[s.id]),o),{})}})}:{}}async function c6(n,e,t){let i=await oe(n,t),r=await ee(n,e),a=await n2(n,i),o=await te(n,e);return{pageTemplate:i,allSections:r,pageSections:a,layoutSectionGroups:o}}async function oe(n,e){let t=null;if(t=await n.getThemeTemplateConfigByType("templates",e),t)return JSON.parse(t.file_data)}function u6(n,e){return n.reduce((t,i)=>(i.enabled_on?A4(i.enabled_on,"groups",e)&&t.push(String(i.id)):i.disabled_on?A4(i.disabled_on,"groups",e)||t.push(String(i.id)):i.id===e&&t.push(String(i.id)),t),[])}function C6(n,e){return e.map(t=>({prop:o3(t.id),type:"component-collection",label:t.label,required:!0,accepts:u6(n,t.type)}))}function A4(n,e,t){return!!(n.templates==="*"||n[e]?.includes(t))}function m6(n,e,t){return n.reduce((i,r)=>(r.enabled_on?A4(r.enabled_on,"templates",t)&&i.push(String(r.id)):r.disabled_on?A4(r.disabled_on,"templates",t)||i.push(String(r.id)):e.some(({type:a})=>a===r.id)||i.push(String(r.id)),i),[])}function p6(n){return(n?.configs?.editor?.settings??[]).reduce((e,t)=>{for(let i of t.fields||[])e.push({prop:i.id,label:i.label,optional:!0,group:t.label,...G3(i)});return e},[])}function f6(n){let e=[];for(let t of n){let i=Array.isArray(t.blocks)&&t.blocks.length>0;e.push({id:`${t.id}`,label:t.label,schema:[...(t.fields||[]).reduce((r,a)=>(a.id&&a.type&&r.push({prop:a.id,label:a.label,optional:!0,...G3(a)}),r),[]),...i?[{prop:"Blocks",type:"component-collection",required:!0,accepts:(t.blocks||[]).map(r=>`Block__${t.id}__${r.type}`),defaultValue:t.presets?.[0]?.blocks?.reduce((r,a)=>{let o=t.blocks?.find(({type:s})=>s===a.type);return o&&r.push({_component:`Block__${t.id}__${a.type}`,...(0,V.reduce)(o.fields,(s,l)=>(l.id&&(s[l.id]=N(o.fields,l.id,l.default)),s),{})}),r},[]),placeholderAppearance:{height:50,label:"Add block",aspectRatio:1}}]:[],{prop:"custom_css",type:"swell_css",label:"Custom CSS",description:"Add custom CSS for this section",layout:"column",isLabelHidden:!0,params:{rows:5,placeholder:"Enter custom CSS..."}}],styles:()=>({styled:{Root:{}}})}),i&&e.push(...(t.blocks||[]).map(r=>({id:`Block__${t.id}__${r.type}`,label:r.label,schema:(r.fields||[]).reduce((a,o)=>(o.id&&o.type&&a.push({prop:o.id,label:o.label,optional:!0,...G3(o)}),a),[]),styles:()=>({styled:{Root:{}}})})))}return e}function g6(n){return n?.configs?.editor?.settings?.reduce((e,t)=>{for(let i of t.fields||[])i?.id&&(e[i.id]=N(t.fields,i.id,n?.configs?.theme?.[i.id]));return e},{})}function w6(n){return n.reduce((e,t)=>(e[o3(t.id)]=t.sectionConfigs.map(({section:i,settings:r,schema:a})=>({_id:`SectionGroup__${i.type}_${ae()}`,_component:`${i.type}`,...(0,V.reduce)(r?.section.settings,(o,s,l)=>(o[l]=N(a?.fields,l,s),o),{}),custom_css:r?.section.custom_css||"",...r?.section.blocks?{Blocks:r.section.blocks.map(o=>({_id:`Block__${i.type}__${o.type}_${ae()}`,_component:`Block__${i.type}__${o.type}`,...(0,V.reduce)(o.settings,(s,l,c)=>(s[c]=N(a?.blocks?.find(({type:u})=>u===o.type)?.fields,c,l),s),{})}))}:void 0})),e),{})}function y6(n){return(n||"").replaceAll("/","_")}function S6(n){let e=[];for(let t of n)t.presets&&e.push(...t.presets.map((i,r)=>({id:`${t.id}__preset_${r}`,entry:{_id:`${t.id}__preset_${r}`,_component:t.id,custom_css:i.settings?.custom_css||"",...(0,V.reduce)(t.fields,(a,o)=>(a[o.id]=N(t.fields,o.id,i.settings?.[o.id]),a),{}),Blocks:i.blocks?.reduce((a,o)=>{let s=t.blocks?.find(({type:l})=>l===o.type);return s&&a.push({_id:`Block__${t.id}__${o.type}__preset_${r}`,_component:`Block__${t.id}__${o.type}`,...(0,V.reduce)(s.fields,(l,c)=>(c.id&&(l[c.id]=N(s.fields,c.id,o.settings?.[c.id])),l),{})}),a},[])}}))),t.blocks&&e.push(...t.blocks.map(i=>({id:`Block__${t.id}__${i.type}`,entry:{_id:`Block__${t.id}__${i.type}`,_component:`Block__${t.id}__${i.type}`,...(0,V.reduce)(i.fields,(r,a)=>(a.id&&a.default!==void 0&&(r[a.id]=N(i.fields,a.id,a.default)),r),{})}})));return e.filter(t=>Object.keys(t.entry).some(i=>i!=="_id"&&i!=="_component"))}function k6(n,e,t,i,r){let a={id:"swell_global",label:"Theme settings",schema:[{prop:"swell_page",type:"component",required:!0,accepts:["swell_page"],isNonChangable:!0,noInline:!0},...p6(n)],groups:(n?.configs?.editor?.settings??[]).map(u=>({key:u.label,label:u.label,collapsable:!0,collapsed:!0})),styles:()=>({styled:{Root:{}}})},o={id:"swell_page",label:"Page settings",schema:[{prop:F3,type:"component-collection",required:!0,accepts:m6(e,i,r),placeholderAppearance:{height:250,label:"Add section",aspectRatio:1}},...C6(e,i)],allowSave:!0,styles:()=>({styled:{Root:{}}})},s=[a,o,...f6(e)],l=a.schema.find(u=>u.prop==="color_schemes");if(l){let{params:u}=l;s.push({id:"swell_color_scheme_group",label:"Swell color scheme",schema:u.fields.map(h=>({prop:h.id,label:h.label,optional:!0,...G3({...h,type:h.id==="background_gradient"?"text":h.type})})),styles(){return{styled:{Root:{}}}}})}let c=[{id:"swell_global",entry:{_id:"swell_global",_component:"swell_global",...g6(n),swell_page:[{_id:"swell_page",_component:"swell_page",ContentSections:t.map(({section:u,settings:h,schema:p})=>({_id:y6(u.id),_component:`${u.type}`,custom_css:h?.section?.custom_css||"",disabled:h?.section?.disabled||!1,...(0,V.reduce)(p?.fields,(C,m)=>m?.id?{...C,[m.id]:N(p?.fields,m.id,h?.section?.settings?.[m.id])}:C,{}),...u?.blocks?{Blocks:Object.keys(u.blocks).map(C=>{if(!u.blocks)return;let m=u.blocks[C];return{_id:`Block__${C}__${m.type}_${Math.random()}`,_component:`Block__${u.type}__${m.type}`,disabled:m.disabled||!1,...(0,V.reduce)(m.settings,(f,g,Q)=>({...f,[Q]:N(p?.blocks?.find(({type:O3})=>O3===m.type)?.fields,Q,g)}),{})}})}:{}})),...w6(i)}]}},{id:"swell_page",entry:{_id:"swell_page",_component:"swell_page"}},...S6(e)];return{easyblocksConfig:{components:s,templates:c,backend:se(),hideCloseButton:!0,allowSave:!0,readOnly:!1,locales:[{code:"en-US",isDefault:!0}],types:{swell_css:{type:"inline",widget:{id:"SwellCSS"}},swell_boolean:{type:"inline",widget:{id:"SwellBoolean"}},swell_color:{type:"inline",widget:{id:"SwellColor"}},swell_color_scheme:{type:"inline",widget:{id:"SwellColorScheme"}},swell_color_scheme_group:{type:"inline",widget:{id:"SwellColorSchemeGroup"}},swell_font:{type:"inline",widget:{id:"SwellFont"}},swell_header:{type:"inline",widget:{id:"SwellHeader"}},swell_icon:{type:"inline",widget:{id:"SwellIcon"}},swell_lookup:{type:"inline",widget:{id:"SwellLookup"}},swell_menu:{type:"inline",widget:{id:"SwellMenu"}},swell_url:{type:"inline",widget:{id:"SwellUrl"}},swell_number:{type:"inline",widget:{id:"SwellNumber"}},swell_select:{type:"inline",widget:{id:"SwellSelect"}},swell_short_text:{type:"inline",widget:{id:"SwellText"}},swell_long_text:{type:"inline",widget:{id:"SwellTextarea"}},swell_paragraph:{type:"inline",widget:{id:"SwellParagraph"}},swell_editor:{type:"inline",widget:{id:"SwellEditor"}},swell_file:{type:"inline",widget:{id:"SwellFile"}},swell_image:{type:"inline",widget:{id:"SwellImage"}}},tokens:{colors:[],fonts:[]}}}}function L6(n,e,t){let i=n.reduce((o,s)=>(o[`${s.id}`]=t("pageSection",s),o),{}),r=e.reduce((o,s)=>(o[o3(s.id)]=t("layoutSectionGroup",s),o),{}),a=n.reduce((o,s)=>{if(s.blocks)for(let l of s.blocks){let c=`Block__${s.id}__${l.type}`;o[c]=t("block",{section:s,block:l})}return o},{});return{...i,...r,...a,swell_page:t("root"),swell_global:t("global")}}function se(){return{documents:{get:async({id:e})=>(console.log("Easyblocks backend documents.get()",e),{id:e,version:1,entry:{_id:"page",_component:"swell_page"}}),create:async e=>(console.log("Easyblocks backend documents.create()",e),{}),update:async e=>(console.log("Easyblocks backend documents.update()",e),{})},templates:{get:async e=>(console.log("Easyblocks backend templates.get()",e),{}),getAll:async()=>(console.log("Easyblocks backend get templates.getAll()"),[]),create:async e=>(console.log("Easyblocks backend get templates.create()",e),{}),update:async e=>(console.log("Easyblocks backend get templates.update()",e),{}),delete:async e=>{console.log("Easyblocks backend get templates.delete()",e)}}}}function ae(){return(Math.random()+1).toString(36).substring(7)}function b4(n,e){let i=n?.storefront?.options?.getCookie;return typeof i=="function"&&i(e)||""}var a2=class extends _{constructor(e,t,i={}){super(e,"",t,i,async function(){let r=await le(e,this._resourceName,t,i);return V3(this._resourceName,r,e,"",t,i)})}},o2=class extends J{constructor(e,t,i={}){super(e,"",async function(){let r=await le(e,this._resourceName,t,i);return V3(this._resourceName,r,e,"",t,i)})}};async function le(n,e,t,i){let r=new URLSearchParams({...t&&{slug:t},...i&&{query:JSON.stringify(i)}}),a=r.size>0?`?${r}`:"",o=b4(n,"swell-session"),s=b4(n,"swell-data")||{};return(await fetch(`${n.storefront_url}/resources/${e}.json/${a}`,{headers:{"X-Session":o,"Swell-Data":JSON.stringify(s)}})).json()}function V3(n,e,t,i="",r,a){let o={};for(let[s,l]of Object.entries(e)){let c=i+`${i===""?"":"/"}${s}`,u;switch(l?._type){case"SwellStorefrontCollection":u=T6;break;case"SwellStorefrontRecord":u=b6;break;case"createStorefrontResource":u=A6;break;default:break}o[s]=u?u(n,t,c,r,a):l}return o}function A6(n,e,t,i,r){return new T(async function(){let a=await s2(e,n,t,i,r);return V3(n,a,e,t,i,r)})}function b6(n,e,t,i,r){let a=he(i,r);return new _(e,n,t,a,async function(){let o=await s2(e,n,t,i,r);return V3(n,o,e,t,i,r)})}function T6(n,e,t,i,r){let a=he(i,r);return new A(e,n,a,async function(){let o=await s2(e,n,t,i,r);return V3(n,o,e,t,i,r)})}async function s2(n,e,t,i,r){let a=new URLSearchParams({path:t,...i&&{slug:i},...r&&{query:JSON.stringify(r)}}),o=a.size>0?`?${a}`:"",s=b4(n,"swell-session"),l=b4(n,"swell-data")||{};return(await fetch(`${n.storefront_url}/resources/${e}.json${o}`,{headers:{"X-Session":s,"Swell-Data":JSON.stringify(l)}})).json()}function he(n,e){return{...n&&{slug:n},...e}}0&&(module.exports={DEFAULT_QUERY_PAGE_LIMIT,DeferredShopifyResource,FILE_DATA_INCLUDE_QUERY,GEO_DATA,LANG_TO_COUNTRY_CODES,LiquidSwell,MAX_QUERY_PAGE_LIMIT,MockRecordResource,MockRecordSingleton,PageError,PageNotFound,SECTION_GROUP_CONTENT,ShopifyArticle,ShopifyBlog,ShopifyCart,ShopifyCollection,ShopifyCollections,ShopifyCompatibility,ShopifyCustomer,ShopifyFont,ShopifyForm,ShopifyLink,ShopifyLocalization,ShopifyOrder,ShopifyPage,ShopifyPaginate,ShopifyPredictiveSearch,ShopifyProduct,ShopifyRecommendations,ShopifyResource,ShopifySearch,ShopifyVariant,StorefrontResource,Swell,SwellBackendAPI,SwellError,SwellStorefrontCollection,SwellStorefrontPagination,SwellStorefrontRecord,SwellStorefrontResource,SwellStorefrontSingleton,SwellTheme,ThemeColor,ThemeFont,ThemeForm,ThemeFormErrors,adaptShopifyFontData,adaptShopifyFormData,adaptShopifyMenuData,arrayToObject,brightness,deferMenuItemUrlAndResource,dehydrateSwellRefsInStorefrontResources,diff,extractSettingsFromForm,findCircularReferences,findEditorSetting,findThemeSettingsByType,fontMap,forEachKeyDeep,getAllSections,getBlog,getBlogs,getCategories,getCategory,getCategoryWithProducts,getContentEntry,getContentList,getContentModel,getCountryCodeFromLocale,getEasyblocksBackend,getEasyblocksComponentDefinitions,getEasyblocksPagePropsWithConfigs,getEasyblocksPageTemplate,getEasyblocksPropsFromThemeConfigs,getLayoutSectionGroups,getMenuItemStorefrontUrl,getMenuItemUrlAndResource,getMenuItemValueId,getPage,getPageSections,getProduct,getProducts,getProductsFiltered,getSectionGroupProp,getSectionSettingsFromProps,getThemeSettingsFromProps,isArray,isObject,md5,mix,removeCircularReferences,resolveAsyncResources,resolveLookupCollection,resolveMenuItemUrlAndResource,resolveMenuItems,resolveMenuSettings,resolveSectionSettings,resolveThemeSettings,scopeCustomCSS,stringifyQueryParams,systemFonts,toBase64});
|
|
961
945
|
//# sourceMappingURL=index.cjs.map
|