1import{L as x}from"./_vite_ArtFileUploader_BzwGPiR8.js";import{d as S}from"./_vite_index_DlbDXCSJ.js";import{P}from"./_vite_pagination_CZkdI7cL.js";import{a as E,S as I}from"./_vite_swiper-vue_IrkK7c8P.js";import{u as V}from"./vite_section.build_DZ4sHI_S.js";import{E as D}from"./_vite_index_BOGmAplE.js";import{d as F,w as T,C as B,o as r,D as p,c as C,a as b,X as j,R as m,i as _,F as z,at as N,e as c}from"./_vite_runtime-core.esm-bundler_BD1FGUA9.js";import{r as y,ak as O,u as e,n as h}from"./_vite_reactivity.esm-bundler_BPc4qUhj.js";import{_ as L}from"./_vite__plugin-vue_export-helper_AxROvgWa.js";import"./_vite_runtime-dom.esm-bundler_C5zu4q2U.js";import"./_vite__commonjsHelpers.cLkZ-J7w_zgb6hKXo.js";import"./_vite_ArtDialog.vue_vue_type_script_setup_true_lang.CuHeq8Kq_DarFyjPL.js";import"./_vite_index_BxljrHT8.js";import"./_vite__MapCache_DV0EoT-I.js";import"./_vite_index_BKKHAMMA.js";import"./_vite_icon_Caef22TS.js";import"./_vite_index_BV9GfKxZ.js";import"./_vite_event_DMRLoJfp.js";import"./_vite__plugin-vue_export-helper.CHgC5LLL_Ddocnn6s.js";import"./_vite_use-form-common-props_d2xoZSSs.js";import"./_vite_index_CWMh2Sv_.js";import"./_vite__arrayPush_qS2cr0hY.js";import"./_vite_popper_gGiT_RTn.js";import"./_vite_cloneDeep_HbhLsBVR.js";import"./_vite__baseClone_4tZYMNrX.js";import"./_vite__Uint8Array_CyRv5MLN.js";import"./_vite__overArg_lSCKgBVz.js";import"./_vite__getPrototype_DvlnZh05.js";import"./_vite_isEqual_DhvLyoZh.js";import"./_vite_swiper-core_B9GQRO1R.js";import"./_vite_index_yoP7MCHp.js";import"./_vite_pinia_D-hKPUj_.js";import"./_vite_index_8DlFaaJG.js";import"./_vite_index_BlTLLVZP.js";import"./_vite__commonjsHelpers_Cq7dRtGp.js";import"./_vite__sentry-release-injection-file_BFY1NBm6.js";import"./_vite_artlogo-apps_CsaR-kpn.js";import"./_vite_preload-helper_BwDkN6RQ.js";import"./_vite_access-check_BzvqpBfp.js";import"./_vite_index_DmuHcPRU.js";import"./_vite_shopify_DmHxksp5.js";import"./_vite_string_BSaGRqr4.js";import"./_vite_index_D8n6GN1B.js";import"./_vite_index_vxp0Hmhe.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new i.Error().stack;t&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[t]="5a080ba6-1221-4b8a-8a4b-11688b2bb732",i._sentryDebugIdIdentifier="sentry-dbid-5a080ba6-1221-4b8a-8a4b-11688b2bb732")}catch{}})();{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};l._sentryModuleMetadata=l._sentryModuleMetadata||{},l._sentryModuleMetadata[new l.Error().stack]=Object.assign({},l._sentryModuleMetadata[new l.Error().stack],{"_sentryBundlerPluginAppKey:artlogo-shopify-theme":!0})}const U=["placeholder"],A={key:2},H=["src","alt"],R={key:0,class:"carousel-pagination mt-2 mb-7 mx-auto !translate-x-0"},J={key:0,class:"flex items-center w-full justify-center"},K=["src"],Q=F({__name:"FileUploaderOption",props:{option:{}},setup(i){const t=i,a=S("(min-width: 768px)"),f=y(null),d=V(),s=y(!1);function v(){s.value=!s.value}T(a,o=>{o&&f.value&&f.value.slideTo(1)});const k=["https://cdn.shopify.com/s/files/1/0594/4639/5086/files/image-181.webp?v=1738084529","https://cdn.shopify.com/s/files/1/0594/4639/5086/files/Fernanda_Diaz.webp?v=1739367652","https://cdn.shopify.com/s/files/1/0594/4639/5086/files/image-2727.webp?v=1739376277"],w=B(()=>{if(typeof t.option.file_uploader_slider_visible=="string")try{return JSON.parse(t.option.file_uploader_slider_visible)}catch{return["Show examples","Hide examples"]}return t.option.file_uploader_slider_visible||["Show examples","Hide examples"]});return(o,u)=>(r(),p("div",null,[o.option.show_examples?(r(),C(e(D),{key:0,style:{color:"#092E7F","font-size":"24px","font-family":"Lato","font-weight":"700","border-bottom":"3px solid #092E7F","border-radius":"0"},class:"mb-7",link:"",onClick:v},{default:b(()=>[j(O(s.value?w.value[1]:w.value[0]),1)]),_:1})):m("",!0),o.option.add_text_about?(r(),p("textarea",{key:1,placeholder:o.option.text_about_placeholder},null,8,U)):m("",!0),s.value?(r(),p("div",A,[_(e(I),{"allow-touch-move":!e(a),"centered-slides":"","slides-per-view":e(a)?3:1,"initial-slide":1,"space-between":"20",modules:[e(P)],pagination:e(a
1)?!1:{clickable:!0,el:".carousel-pagination"},onSwiper:u[0]||(u[0]=n=>f.value=n)},{default:b(()=>[(r(),p(z,null,N(k,(n,g)=>_(e(E),{key:g,class:"flex justify-center items-center w-full !h-60 md:!h-96"},{default:b(()=>[c("img",{src:n,alt:`Image ${g}`,class:"w-full h-full rounded-xl object-scale-down"},null,8,H)]),_:2},1024)),64))]),_:1},8,["allow-touch-move","slides-per-view","modules","pagination"]),e(a)?m("",!0):(r(),p("div",R))])):m("",!0),c("div",{class:h({"mt-8 md:mt-24":s.value,"mt-0":!s.value,"w-full":o.option.size==="large","max-w-xl m-auto":o.option.size==="small"})},[e(d).mainProduct.customParams[t.option.cart_label]?(r(),p("div",J,[c("img",{src:e(d).mainProduct.customParams[t.option.cart_label],alt:"Uploaded Image",class:"max-w-full max-h-96 object-cover mb-5 md:mb-0 rounded-lg"},null,8,K)])):m("",!0),c("div",{class:h(["fileuploader__wrapper",o.option.style_uploader==="dark"?"fileuploader__wrapper--dark":"fileuploader__wrapper--base"])},[_(e(x),{modelValue:e(d).mainProduct.customParams[t.option.cart_label],"onUpdate:modelValue":u[1]||(u[1]=n=>e(d).mainProduct.customParams[t.option.cart_label]=n),accept:o.option.accept,"show-icons":!0,"display-mode":e(a)?"advanced":"default",labels:{dragText:o.option.file_uploader_drag_text,chooseFileText:o.option.file_uploader_button_text},"image-editor":""},null,8,["modelValue","accept","display-mode","labels"])],2)],2)]))}}),He=L(Q,[["__scopeId","data-v-f1e6872c"]]);export{He as default}; 2//# sourceMappingURL=/cdn/shop/t/430/assets/_vite_FileUploaderOption_CxkO9CN1.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.