"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[3],{7:function(e,t,s){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getFastImage=t.getFastSrcSet=t.setConfig=void 0;const p=o(s(157)),l=s(158);let a=[...p.default];function i(e,t=NaN,s=""){const o=(0,l.getSizeFromShopify)(e);e=o.url;let p=NaN;isNaN(t)&&(t=o.width,p=o.height);const i=s?`,c_pad,ar_${s},g_north`:"";if(a.some((t=>{let{template:s,folder:o}=t;if(s=s.replace(/^https?:/,""),~(e=e.replace("downloads.ctfassets.net","images.ctfassets.net")).indexOf(s))return e=e.replace(/^https?:/,"").replace(s,`/fast-image/${o}/`),!0})),~e.indexOf("/fast-image")){const s=/\/fast-image(\/[^/]*(c_scale|c_limit|fl_progressive)[^/]*)*/,o=e.replace(s,""),l=function(e,t,s){return isNaN(e)&&isNaN(t)?"fl_progressive:steep":`c_limit${isNaN(e)?"":`,w_${e}`}${isNaN(t)?"":`,h_${t}`},fl_progressive:steep${s}`}(t,p,i);e=`/fast-image/${l}${o}`}return e}t.setConfig=function(e){a=e},t.getFastSrcSet=function(e){return e.split(",").map((e=>e.trim().split(/\s+/m).map(((e,t)=>0===t?i(e):e)).join(" "))).join(",")},t.getFastImage=i},158:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getSizeFromShopify=void 0;const s="\\.[a-zA-Z][a-zA-Z0-9]{1,4}\\b",o="cdn.shopify.com/",p="\\?v=\\d+$",l=new RegExp(`(${o}.*)_(?\\d+)x(?\\d*)(${s}${p})`),a=new RegExp(`(${o}.*)_(?\\w+)(${s}${p})`),i=new RegExp(`(${o}.+\\.(png|jpg))\\.(pjpg|jpg)(${p})`),f=new RegExp(`(${o}.+).progressive(${s})`),r={pico:16,icon:32,thumb:50,small:100,compact:160,medium:240,large:480,grande:600};t.getSizeFromShopify=function(e){e=c(e);const t=(e=m(e)).match(l);if(t){const s=t.groups?.width??"",o=t.groups?.height??"",p=parseInt(s),a=parseInt(o);return{url:e=e.replace(l,"$1$4"),width:p,height:a}}const s=e.match(a)?.groups?.size,o=r[s??""];return o?{url:e=e.replace(a,"$1$3"),width:o,height:o}:{url:e,width:NaN,height:NaN}};const c=e=>e.replace(i,"$1$4"),m=e=>e.replace(f,"$1$2")},157:e=>{e.exports=JSON.parse('[{"folder":"stamped","template":"https://cdn.stamped.io/uploads/photos/"},{"folder":"comfrt","template":"https://cdn.shopify.com/s/files/1/0569/4029/8284/"},{"folder":"curvy","template":"https://cdn.shopify.com/s/files/1/0039/2563/9241/"},{"folder":"yyj8vo","template":"https://images.ctfassets.net/yyj8vo2ohzcp/"},{"folder":"bigblanket","template":"https://cdn.shopify.com/s/files/1/0113/9323/7056/"},{"folder":"o4orp","template":"https://images.ctfassets.net/o4orprtuopiz/"},{"folder":"blendjet-ctf","template":"https://images.ctfassets.net/strhx3d94c40/"},{"folder":"310","template":"https://cdn.shopify.com/s/files/1/1381/2647/"},{"folder":"ugc","template":"https://cdn-yotpo-images-production.yotpo.com/instagram/"},{"folder":"epny-ctf-2","template":"https://images.ctfassets.net/mbe5d1grczzm/"},{"folder":"greene-ctf-2","template":"https://images.ctfassets.net/3hcj4vlsj83r/"},{"folder":"zero-three","template":"https://images.ctfassets.net/lr3wp0ceon7d/"},{"folder":"skull-shaver","template":"https://cdn.shopify.com/s/files/1/0255/0156/4962/"},{"folder":"muslin-comfort-ctf","template":"https://images.ctfassets.net/ok2y2hsw9p9b/"},{"folder":"muslin-comfort","template":"https://cdn.shopify.com/s/files/1/0011/9236/2101/"},{"folder":"secrets-shhh-dev","template":"https://cdn.shopify.com/s/files/1/0549/2011/8446/"},{"folder":"b-draddy-ctf","template":"https://images.ctfassets.net/z7nyby0gqdrp/"},{"folder":"b-draddy","template":"https://cdn.shopify.com/s/files/1/0031/4920/"},{"folder":"epny-ctf","template":"https://images.ctfassets.net/ym2n8tuxujbm/"},{"folder":"epny","template":"https://cdn.shopify.com/s/files/1/2603/1578/"},{"folder":"greene-ctf","template":"https://images.ctfassets.net/884kd2egrbfn/"},{"folder":"greene-shopify","template":"https://cdn.shopify.com/s/files/1/0012/9954/"},{"folder":"rbx-ctf","template":"https://images.ctfassets.net/ajgn17op1zyt/"},{"folder":"ilashlab","template":"https://cdn.shopify.com/s/files/1/2152/0371/"},{"folder":"zero-two","template":"https://images.ctfassets.net/45porj0j5yct/"},{"folder":"zerorestriction","template":"https://cdn.shopify.com/s/files/1/0028/2922/"},{"folder":"rbx","template":"https://cdn.shopify.com/s/files/1/1115/2394/"},{"folder":"arfa-demo","template":"https://images.ctfassets.net/mw70lsrbphkr/"},{"folder":"threads","template":"https://cdn.shopify.com/s/files/1/1567/9455/"},{"folder":"loox","template":"https://images.loox.io/uploads/"},{"folder":"shopify","template":"https://cdn.shopify.com/s/files/"},{"folder":"hush-ca","template":"https://cdn.shopify.com/s/files/1/0023/1269/9959/"},{"folder":"a-n-a","template":"https://cdn.shopify.com/s/files/1/0269/9558/9223/"},{"folder":"3bn","template":"https://cdn.shopify.com/s/files/1/0179/2309/"},{"folder":"blendjet-in","template":"https://cdn.shopify.com/s/files/1/0779/3721/3739/"},{"folder":"blendjet-au","template":"https://cdn.shopify.com/s/files/1/0634/9937/0684/"}]')}}]);