cloudcommerce 2.13.1 → 2.14.0
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/CHANGELOG.md +20 -0
- package/ecomplus-stores/barradoce/conf/firebase.json +1 -0
- package/ecomplus-stores/barradoce/functions/many/package.json +3 -3
- package/ecomplus-stores/barradoce/functions/ssr/content/extra-pages/promocoes.md +1 -1
- package/ecomplus-stores/barradoce/functions/ssr/package.json +6 -6
- package/ecomplus-stores/barradoce/functions/ssr/src/components/AccountMenu.vue +18 -15
- package/ecomplus-stores/barradoce/functions/ssr/src/components/AccountPage.vue +5 -5
- package/ecomplus-stores/barradoce/functions/ssr/src/components/LoginForm.vue +16 -10
- package/ecomplus-stores/barradoce/functions/ssr/src/components/ShopFooter.vue +1 -1
- package/ecomplus-stores/barradoce/functions/ssr/src/pages/sitemap-[index].xml.astro +75 -0
- package/ecomplus-stores/barradoce/functions/with-apps/package.json +3 -3
- package/ecomplus-stores/barradoce/package.json +2 -2
- package/package.json +2 -2
- package/packages/api/package.json +1 -1
- package/packages/apps/affiliate-program/package.json +1 -1
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-payment/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/datafrete/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/emails/package.json +1 -1
- package/packages/apps/fb-conversions/package.json +1 -1
- package/packages/apps/flash-courier/package.json +1 -1
- package/packages/apps/frenet/package.json +1 -1
- package/packages/apps/galaxpay/package.json +1 -1
- package/packages/apps/google-analytics/package.json +1 -1
- package/packages/apps/jadlog/package.json +1 -1
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/mandae/package.json +1 -1
- package/packages/apps/melhor-envio/package.json +1 -1
- package/packages/apps/mercadopago/package.json +1 -1
- package/packages/apps/pagaleve/package.json +1 -1
- package/packages/apps/pagarme/package.json +1 -1
- package/packages/apps/pagarme-v5/package.json +1 -1
- package/packages/apps/paghiper/package.json +1 -1
- package/packages/apps/pix/package.json +1 -1
- package/packages/apps/tiny-erp/package.json +1 -1
- package/packages/apps/webhooks/package.json +1 -1
- package/packages/cli/ci/bunny-config-base.sh +4 -6
- package/packages/cli/config/firebase.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +1 -1
- package/packages/eslint/package.json +1 -1
- package/packages/events/package.json +1 -1
- package/packages/feeds/lib/firebase/render-catalog.js +272 -0
- package/packages/feeds/lib/firebase/render-catalog.js.map +1 -0
- package/packages/feeds/lib/firebase/render-sitemap.js +42 -0
- package/packages/feeds/lib/firebase/render-sitemap.js.map +1 -0
- package/packages/feeds/lib/firebase/serve-feeds.js +22 -270
- package/packages/feeds/lib/firebase/serve-feeds.js.map +1 -1
- package/packages/feeds/package.json +1 -1
- package/packages/feeds/src/firebase/render-catalog.ts +286 -0
- package/packages/feeds/src/firebase/render-sitemap.ts +46 -0
- package/packages/feeds/src/firebase/serve-feeds.ts +22 -283
- package/packages/firebase/package.json +1 -1
- package/packages/i18n/package.json +1 -1
- package/packages/modules/package.json +1 -1
- package/packages/passport/package.json +1 -1
- package/packages/ssr/package.json +1 -1
- package/packages/storefront/dist/client/_astro/{AccountPage.Cf0WE6GF.js → AccountPage.CKu0oakN.js} +1 -1
- package/packages/storefront/dist/client/_astro/{CartSidebar.DAvJKL2c.js → CartSidebar.Bxz7ZD9N.js} +1 -1
- package/packages/storefront/dist/client/_astro/{ProductDetails.BpZtnS8j.js → ProductDetails.PkZr50hA.js} +1 -1
- package/packages/storefront/dist/client/_astro/{ProductShelf.C0TU_sRb.js → ProductShelf.BKz6WXbp.js} +1 -1
- package/packages/storefront/dist/client/_astro/{SearchModal.DWNSfxML.js → SearchModal.BIrixnFb.js} +1 -1
- package/packages/storefront/dist/client/_astro/SearchShowcase.YMZqG8rj.js +1 -0
- package/packages/storefront/dist/client/_astro/ShopHeader.BOLegIRO.js +7 -0
- package/packages/storefront/dist/client/_astro/{_slug_.HhgCFKHv.css → _slug_.oAbCb631.css} +1 -1
- package/packages/storefront/dist/client/_astro/customer-session.B9MvrBAQ.js +7 -0
- package/packages/storefront/dist/client/_astro/ecom-icon.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_12falx.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_15pqnO.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_t3guw.png +0 -0
- package/packages/storefront/dist/client/_astro/{firebase-app.CmI1zl7o.js → firebase-app.DPioxxma.js} +1 -1
- package/packages/storefront/dist/client/_astro/headphone.webp +0 -0
- package/packages/storefront/dist/client/_astro/headphone_T2Jjc.avif +0 -0
- package/packages/storefront/dist/client/_astro/headphone_Z1CG18r.webp +0 -0
- package/packages/storefront/dist/client/_astro/{hoisted.BeKMioW4.js → hoisted.8Sq2YuJM.js} +1 -1
- package/packages/storefront/dist/client/_astro/{hoisted.Bf1gCkSN.js → hoisted.BzVcl7We.js} +1 -1
- package/packages/storefront/dist/client/_astro/{hoisted.-C0vLMXT.js → hoisted.CPcG9RpX.js} +1 -1
- package/packages/storefront/dist/client/_astro/{index-a8cf6c8f.k99a-gIB.js → index-219c3cac.78peI8kt.js} +3 -3
- package/packages/storefront/dist/client/_astro/logo.png +0 -0
- package/packages/storefront/dist/client/_astro/logo_1UBsBq.webp +0 -0
- package/packages/storefront/dist/client/_astro/logo_Z1K5PE9.png +0 -0
- package/packages/storefront/dist/client/_astro/logo_Z1KIIl1.avif +0 -0
- package/packages/storefront/dist/client/_astro/passion.webp +0 -0
- package/packages/storefront/dist/client/_astro/passion_LHbe9.webp +0 -0
- package/packages/storefront/dist/client/_astro/passion_Z23MeUb.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect8589.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_1TtOHY.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_1f5opX.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_IUskt.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Uxfdf.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z15uApA.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z1Ap1Im.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z1JT1HB.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_ZY9mtN.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_tMFW0.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_1TgQXS.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_2Nm1z.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_DIqwR.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_Z1IKDb2.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_Z29FI4V.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect859_Z2kFHGk.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_ZkpPFI.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect859_jXzBi.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_x1l16.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect89.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect89_1TSfW7.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect89_Z1re32x.webp +0 -0
- package/packages/storefront/dist/client/_astro/{shopping-cart.Cqc6p5UR.js → shopping-cart.D8fbm2Dv.js} +1 -1
- package/packages/storefront/dist/client/_astro/{use-analytics.bP3a5cR0.js → use-analytics.D_peWG3X.js} +1 -1
- package/packages/storefront/dist/client/_astro/{use-product-card.Cj9Q-Y1A.js → use-product-card.BCGHZKB5.js} +1 -1
- package/packages/storefront/dist/client/_astro/{use-text-value.DT0v9Yj_.js → use-text-value.BFLvKnYE.js} +1 -1
- package/packages/storefront/dist/client/assets/cvv.png +0 -0
- package/packages/storefront/dist/client/assets/payments.png +0 -0
- package/packages/storefront/dist/client/robots.txt +2 -0
- package/packages/storefront/dist/client/~fallback.html +112 -0
- package/packages/storefront/dist/client/~index.html +137 -0
- package/packages/storefront/dist/server/_astro-internal_middleware.mjs +2 -2
- package/packages/storefront/dist/server/chunks/404_BUZm2bP1.mjs +5 -0
- package/packages/storefront/dist/server/chunks/{CartSidebar_tmly-0ip.mjs → CartSidebar_kQSDOTj2.mjs} +2 -2
- package/packages/storefront/dist/server/chunks/{SearchModal_CGNQss2j.mjs → SearchModal_O1xTrm-9.mjs} +2 -2
- package/packages/storefront/dist/server/chunks/{_.._Bt6Uzpk2.mjs → _.._6Bd7O3FD.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/{_astro-internal_middleware_CqUpziyW.mjs → _astro-internal_middleware_BnKXd-Ev.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/{_page__Dz-iZHMh.mjs → _page__CXnal5Rn.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/{account_tfs9KFTy.mjs → account_C6XTKIP9.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/astro/{assets-service_DSoC_W52.mjs → assets-service_146xb0vN.mjs} +11 -67
- package/packages/storefront/dist/server/chunks/{astro_Cu3MZ9xv.mjs → astro_DIU6qHCh.mjs} +34 -79
- package/packages/storefront/dist/server/chunks/{index_CGzMgZTN.mjs → index_EbDDnIXs.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/{index_BKS_40rA.mjs → index_STpvD2cy.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/{node_lZaNT3E1.mjs → node_DHQVZgH_.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/pages/{404_CMwuVMu1.mjs → 404_n3mvoSWv.mjs} +94 -1140
- package/packages/storefront/dist/server/chunks/pages/{__Dz53F-0T.mjs → __C9Nd4c7_.mjs} +11 -42
- package/packages/storefront/dist/server/chunks/pages/{_page__C1x19nYF.mjs → _page__BnXBvVvn.mjs} +4 -20
- package/packages/storefront/dist/server/chunks/pages/account_Dk-8R3rY.mjs +22 -0
- package/packages/storefront/dist/server/chunks/pages/{index_CqvjdvSg.mjs → index_us3QX6kE.mjs} +5 -22
- package/packages/storefront/dist/server/chunks/pages/node_BGdGQ52C.mjs +1864 -0
- package/packages/storefront/dist/server/chunks/pages/sitemap-_index__rcX10oKd.mjs +32 -0
- package/packages/storefront/dist/server/chunks/pages/~fallback_BNfV6ECv.mjs +22 -0
- package/packages/storefront/dist/server/chunks/sitemap-_index__e6mToVZH.mjs +5 -0
- package/packages/storefront/dist/server/chunks/{~fallback_CrFe__-f.mjs → ~fallback_Cg1Pbe1d.mjs} +1 -1
- package/packages/storefront/dist/server/entry.mjs +18 -17
- package/packages/storefront/dist/server/images.dist.csv +37 -0
- package/packages/storefront/dist/server/images.src.csv +13 -0
- package/packages/storefront/dist/server/manifest_xBcEm6Np.mjs +206 -0
- package/packages/storefront/dist/server/middleware.mjs +2 -2
- package/packages/storefront/dist/server/renderers.mjs +1 -1
- package/packages/storefront/dist/server/static-builds.csv +80 -0
- package/packages/storefront/package.json +1 -1
- package/packages/storefront/scripts/build-prod.sh +17 -0
- package/packages/storefront/src/lib/components/AccountLink.vue +16 -11
- package/packages/storefront/src/lib/components/globals/Skeleton.vue +6 -4
- package/packages/storefront/src/lib/composables/use-login-form.ts +6 -1
- package/packages/storefront/src/lib/scripts/vbeta-app.ts +11 -2
- package/packages/storefront/src/lib/state/customer-session.ts +8 -1
- package/packages/test-base/package.json +1 -1
- package/packages/types/package.json +1 -1
- package/packages/storefront/dist/client/_astro/SearchShowcase.CUkbXIRk.js +0 -1
- package/packages/storefront/dist/client/_astro/ShopHeader.D7qqQxFD.js +0 -7
- package/packages/storefront/dist/client/_astro/customer-session.Cctko5_9.js +0 -7
- package/packages/storefront/dist/client/assets/.gitkeep +0 -2
- package/packages/storefront/dist/server/chunks/404_BcY_5eJJ.mjs +0 -5
- package/packages/storefront/dist/server/chunks/pages/account_B5Z6wDBy.mjs +0 -32
- package/packages/storefront/dist/server/chunks/pages/node_mvX6Tssv.mjs +0 -879
- package/packages/storefront/dist/server/chunks/pages/~fallback_D2ugBVgc.mjs +0 -32
- package/packages/storefront/dist/server/manifest_D4v8KX-D.mjs +0 -206
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
function __vite__mapDeps(indexes) {
|
|
2
|
+
if (!__vite__mapDeps.viteFileDeps) {
|
|
3
|
+
__vite__mapDeps.viteFileDeps = ["_astro/firebase-app.DPioxxma.js","_astro/index-219c3cac.78peI8kt.js"]
|
|
4
|
+
}
|
|
5
|
+
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
6
|
+
}
|
|
7
|
+
import{r as C,c as E,b as L}from"./sf-utils.C9ygvYIB.js";import{h as U}from"./index.BCNoXz_Z.js";const x=e=>{if(e){if(e.display_name)return e.display_name;if(e.name&&e.name.given_name)return e.name.given_name}return""},K="modulepreload",z=function(e){return"/"+e},I={},G=function(a,t,i){let c=Promise.resolve();if(t&&t.length>0){const o=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),n=s?.nonce||s?.getAttribute("nonce");c=Promise.all(t.map(r=>{if(r=z(r),r in I)return;I[r]=!0;const m=r.endsWith(".css"),b=m?'[rel="stylesheet"]':"";if(!!i)for(let g=o.length-1;g>=0;g--){const w=o[g];if(w.href===r&&(!m||w.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${b}`))return;const f=document.createElement("link");if(f.rel=m?"stylesheet":K,m||(f.as="script",f.crossOrigin=""),f.href=r,n&&f.setAttribute("nonce",n),document.head.appendChild(f),m)return new Promise((g,w)=>{f.addEventListener("load",g),f.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${r}`)))})}))}return c.then(()=>a()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})},J=(e,a,t=globalThis.localStorage,i=!0)=>{if(!t)return C(a);const c=()=>{const r=t.getItem(e);if(r)try{return JSON.parse(r)}catch{return t.removeItem(e),null}},o=c(),s=C(o||a);let n;return i&&globalThis.BroadcastChannel&&(n=new BroadcastChannel(e),n.onmessage=r=>{r.data==="set"&&Object.assign(s,c())}),U(s,()=>{t.setItem(e,JSON.stringify(s)),n&&n.postMessage("set")},{debounce:50}),s};globalThis.__apiCache||(globalThis.__apiCache={});const y=typeof process=="object"&&process?.env||globalThis;class S extends Error{constructor({config:a,url:t,response:i,msg:c,isTimeout:o=!1}){i?(super(i.statusText),this.data=i.data,this.statusCode=i.status):super(c||"Request error"),this.url=t,this.config=a,this.response=i,this.isTimeout=o}}const V={middleware(e){const a={...e.headers};if(!e.isNoAuth)if(e.accessToken)a.Authorization=`Bearer ${e.accessToken}`;else{const o=e.authenticationId||y.ECOM_AUTHENTICATION_ID,s=e.apiKey||y.ECOM_API_KEY;if(o&&s){const n=`${o}:${s}`,r=typeof Buffer=="function"?Buffer.from(n).toString("base64"):btoa(n);a.Authorization=`Basic ${r}`}}let t=e.baseUrl||y.API_BASE_URL||"https://ecomplus.io/v2";const{endpoint:i,params:c}=e;if(i!=="login"&&i!=="authenticate"&&i!=="ask-auth-callback"&&i!=="check-username"){const o=e.storeId||y.ECOM_STORE_ID;if(!o)throw new Error("`storeId` must be set in config or `ECOM_STORE_ID` env var");t+=`/:${o}`;const s=e.lang||y.ECOM_LANG;s&&(t+=`,lang:${s}`)}if(t+=`/${i}`,typeof c=="string")t+=`?${c}`;else{const o=c||{};if(["fields","sort"].forEach(s=>{const n=e[s];n&&!o[s]&&(o[s]=n.join(","))}),["limit","offset","count","buckets","concise","verbose"].forEach(s=>{const n=e[s];n&&!o[s]&&(o[s]=n)}),Object.keys(o).length){const s=new URLSearchParams;Object.keys(o).forEach(n=>{const r=o[n];Array.isArray(r)?r.forEach(m=>{s.append(n,m)}):r!==void 0&&s.append(n,r)}),t+=`?${s.toString()}`}}return{url:t,headers:a}}},u=async(e,a=0)=>{const t=globalThis.$apiMergeConfig?{...globalThis.$apiMergeConfig,...e}:e,{url:i,headers:c}=V.middleware(t),o=t.method?.toUpperCase()||"GET",{timeout:s=2e4,maxRetries:n=3,cacheMaxAge:r=Number(y.API_CACHE_MAX_AGE)||12e4}=t,m=o==="GET"&&t.canCache;let b;if(m){b=`${i}${JSON.stringify(c)}`;const d=globalThis.__apiCache[b];if(d&&Date.now()-d.timestamp<=r)return{...d.res,config:t}}const T=t.body||t.data;let f;T&&(f=JSON.stringify(T),c["Content-Type"]="application/json");const g=new AbortController;let w=!1;const M=setTimeout(()=>{g.abort(),w=!0},s);let h;try{h=await(t.fetch||fetch)(i,{method:o,headers:c,body:f,signal:g.signal})}catch(d){let p=d.message;throw d.cause&&(p+=` - ${d.cause}`),new S({config:t,url:i,response:h,msg:p,isTimeout:w})}if(clearTimeout(M),h){if(h.ok){const p=h;return p.data=h.status!==204?await h.json():null,m&&b&&(globalThis.__apiCache[b]={timestamp:Date.now(),res:p}),p.config=t,p}const{status:d}=h;if(n<a&&(d===429||d>=500)){const p=h.headers.get("retry-after");return new Promise((B,D)=>{setTimeout(()=>{u(e,a+1).then(B).catch(D)},p&&parseInt(p,10)*1e3||5e3)})}}try{h.data=await h?.json()}catch{}throw new S({config:t,url:i,response:h})},F=(e,a)=>u({...a,endpoint:e}),q=(e,a,t)=>u({...t,method:"post",endpoint:e,body:a}),H=(e,a,t)=>u({...t,method:"put",endpoint:e,body:a}),Y=(e,a,t)=>u({...t,method:"patch",endpoint:e,body:a}),k=(e,a)=>u({...a,method:"delete",endpoint:e});u.get=F;u.post=q;u.put=H;u.patch=Y;u.del=k;u.delete=k;const X="emailForSignIn",N="ecomSession",v={customer:{display_name:"",main_email:""},auth:null},l=J(N,v),A=E(()=>{const{auth:e}=l;return e&&new Date(e.expires).getTime()-Date.now()>1e3*10}),P=E(()=>l.customer),Q=E(()=>x(P.value)),O=E({get(){return P.value.main_email},set(e){l.customer.main_email=e}});let _;const se=E(()=>A.value||!!_?.currentUser?.emailVerified),ae=()=>{_.signOut().then(()=>{l.auth=v.auth,l.customer=v.customer,localStorage.removeItem(N)})},R=(e="Not authenticated")=>{const a=new Error(e);throw a.isNoAuth=!0,a},j=async()=>{const e=await _.currentUser?.getIdToken();if(!e){R("Can't get Firebase user ID token");return}const{domain:a}=globalThis.$storefront.settings;try{const t=await fetch(`https://${a}/_api/passport/token`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${e}`}});l.auth=await t.json()}catch(t){console.error(t)}},W=async()=>(A.value||await j(),l.auth?l.auth.access_token:R()),Z=async()=>{const e=await W(),a=l.auth,{data:t}=await u.get(`customers/${a.customer_id}`,{accessToken:e});return l.customer=t,t};let $=!1;const oe=e=>{if($)return;e===void 0&&(e=!window.location.pathname.startsWith("/app/")),$=!0;const a=()=>G(()=>import("./firebase-app.DPioxxma.js"),__vite__mapDeps([0,1])).then(({getAuth:t,onAuthStateChanged:i,isSignInWithEmailLink:c,signInWithEmailLink:o})=>{if(_=t(),i(_,async s=>{if(s&&(s.displayName&&!Q.value&&(l.customer.display_name=s.displayName),s.email&&(!O.value||s.emailVerified)&&(l.customer.main_email=s.email),s.emailVerified)){const n=s.email!==O.value;(n||!A.value)&&await j(),(n||!l.customer.doc_number)&&await Z()}}),c(_,window.location.href)){const n=new URLSearchParams(window.location.search).get("email");n&&o(_,n,window.location.href).then(()=>window.localStorage.removeItem(X)).catch(console.error)}}).catch(console.error);e?L(a):a()};export{X as E,G as _,Q as a,u as b,P as c,se as d,oe as e,O as f,A as i,ae as l,l as s,J as u};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/packages/storefront/dist/client/_astro/{firebase-app.CmI1zl7o.js → firebase-app.DPioxxma.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as i,i as a}from"./index-
|
|
1
|
+
import{r as i,i as a}from"./index-219c3cac.78peI8kt.js";import{g as p,a as f,o as g,s as m}from"./index-219c3cac.78peI8kt.js";var e="firebase",s="10.11.0";/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2020 Google LLC
|
|
4
4
|
*
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as w}from"./index.DlxZwqDP.js";import{u as h,w as S,e as P,a as q,t as l,b as E}from"./use-analytics.
|
|
1
|
+
import{p as w}from"./index.DlxZwqDP.js";import{u as h,w as S,e as P,a as q,t as l,b as E}from"./use-analytics.D_peWG3X.js";import{a as V}from"./afetch.DPLba2tr.js";import{e as C}from"./index.BCNoXz_Z.js";import"./customer-session.B9MvrBAQ.js";import"./sf-utils.C9ygvYIB.js";import"./shopping-cart.D8fbm2Dv.js";import"./price.CHiL6Z1J.js";import"./name.Dll7Wwmg.js";import"./i18n.DPcLqMFO.js";window.$prefetch=w;const c={waiting:Promise.resolve(),params:{content_ids:[],content_name:""}},y=(t,a="BRL",r=!1)=>{const e={currency:a,content_category:t.item_category,content_name:t.item_name,value:t.price,content_type:"product"};return r?(e.contents=[{id:t.item_id,quantity:t.quantity}],Number(t.quantity)<0&&(e.value=0)):e.content_ids=[t.item_id],e},T=async({event:t})=>{if(t.name==="page_view")return c.waiting=new Promise(e=>{setTimeout(e,110)}),c.params.content_name=t.params.page_title,[{name:"PageView"}];const{items:a,currency:r}=t.params;if(t.name==="view_item"&&a){const e=a[0];if(e)return e.item_list_id==="product-page"?[{name:"ViewContent",params:y(e,r)}]:(a.forEach(({item_id:n})=>{c.params.content_ids.push(n)}),c.params.content_ids.length>a.length?[{name:null}]:(await c.waiting,[{name:"ViewContent",params:{...c.params,content_type:"product"}}]))}if((t.name==="add_to_cart"||t.name==="remove_from_cart")&&a){const e=t.name==="add_to_cart";return a.map(n=>({name:"AddToCart",params:y({...n,quantity:e?n.quantity||1:-(n.quantity||1)},r,!0)}))}return[{name:null}]},p={waiting:Promise.resolve(),params:{description:"",contents:[]}},d=(t,a=!1)=>{const r={content_id:t.item_id,content_name:t.item_name,price:t.price,content_category:t.item_category,brand:t.item_brand};return a&&(r.quantity=t.quantity),r},v=async({event:t})=>{if(t.name==="page_view")return p.waiting=new Promise(e=>{setTimeout(e,110)}),p.params.description=t.params.page_title,[{name:"PageView"}];const{items:a,currency:r}=t.params;if(t.name==="view_item"&&a){const e=a[0];if(e)return e.item_list_id==="product-page"?[{name:"ViewContent",params:{contents:[d(e)],content_type:"product",currency:r,value:e.price}}]:(a.forEach(n=>{p.params.contents.push(d(n))}),p.params.contents.length>a.length?[{name:null}]:(await p.waiting,[{name:"ViewContent",params:{...p.params,content_type:"product",currency:r}}]))}if((t.name==="add_to_cart"||t.name==="remove_from_cart")&&a){const e=t.name==="add_to_cart";return a.map(n=>{const o=n.quantity||1,{price:s}=n;return{name:"AddToCart",params:{contents:[d({...n,quantity:e?o:-o},!0)],content_type:"product",currency:r,value:e&&typeof s=="number"?o*s:0}}})}return[{name:null}]},A={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1,SITE:"https://demo.ecomplus.app",ASSETS_PREFIX:void 0}.DEPLOY_RAND||"_";let _=[];const b=C(t=>{V("/_analytics",{method:"POST",body:{exp_variant_string:t?.expVariantString,...E(),events:_}}),_=[]},200);if(!window.location.search.includes(`__isrV=${A}`)){const t=h(),a=n=>{_.push(n),b(t)};S(async n=>{const{name:o,params:s}=n.event;a({type:"gtag",name:o,params:s});const{gtag:f,dataLayer:m,fbq:g,ttq:u}=window;typeof f=="function"&&f("event",o,s),m&&typeof m.push=="function"&&m.push(["event",o,s]),(await T(n)).forEach(i=>{i.name&&(a({type:"fbq",...i}),typeof g=="function"&&g("track",i.name,i.params))}),(await v(n)).forEach(i=>{i.name&&(a({type:"ttk",...i}),typeof u?.page=="function"&&(i.name==="PageView"?u.page():u.track(i.name,i.params)))})});let r="";const e=()=>{const n=window.location.toString();n!==r&&(P("page_view",{...q(),client_id:l.g_client_id||l.client_id}),r=n)};e(),window.addEventListener("storefront:apiContext",()=>{try{window.dataLayer.push(function(){this.reset(),e()})}catch{e()}})}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as y,s as b,c as d,a as N}from"./customer-session.
|
|
1
|
+
import{i as y,s as b,c as d,a as N}from"./customer-session.B9MvrBAQ.js";import{s as _}from"./shopping-cart.D8fbm2Dv.js";import{g as v,e as I}from"./use-analytics.D_peWG3X.js";import{u as T}from"./afetch.DPLba2tr.js";import"./index.BCNoXz_Z.js";import{w as O}from"./sf-utils.C9ygvYIB.js";import"./hoisted.8Sq2YuJM.js";import"./price.CHiL6Z1J.js";import"./name.Dll7Wwmg.js";import"./i18n.DPcLqMFO.js";import"./index.DlxZwqDP.js";const R=e=>{let r="";if(typeof e=="object"&&e!==null){let s=Array.isArray(e.phones)?e.phones[0]:e;s&&s.number&&(s.country_code&&(r=`+${s.country_code} `),r+=s.number)}return r},L=()=>{const e=window.storefrontApp?.router;if(e){const r=()=>sessionStorage.getItem("st_discount_coupon")||void 0,s=o=>Math.round(o*100)/100,a=[],u=(o,t)=>{a.includes(o)||(a.push(o),t||(t={value:s(_.subtotal||0),items:_.items.map(v)}),o!=="view_cart"&&(t.coupon=r(),a.includes("begin_checkout")||u("begin_checkout")),I(o,t))};let S=!1;const h=(o,t)=>{if(!S){if(localStorage.getItem("gtag.orderIdSent")!==o){let c;if(t)try{c=JSON.parse(t)}catch{}const{amount:l}=c||window.storefrontApp,C={transaction_id:o,value:s(l?.total||_.subtotal||0),items:_.items.map(v),coupon:c?c.extra_discount?.discount_coupon:r()};l&&(l.freight!==void 0&&(C.shipping=s(l.freight)),l.tax!==void 0&&(C.tax=s(l.tax)));let A=1;const{dataLayer:E,__sendGTMExtraPurchaseData:P}=window;if(E&&P){const n={};let i;if(d){n.customerDisplayName=N.value;let p=d.value.name;if(!p?.given_name)try{const f=sessionStorage.getItem("ecomCustomerAccount");if(f){const w=JSON.parse(f);typeof w=="object"&&w&&(p=w.name)}}catch{}p&&(n.customerGivenName=p.given_name,n.customerFamilyName=p.family_name),n.customerEmail=d.value.main_email,n.customerPhone=R(d.value),i=d.value.addresses?.[0]}try{const p=sessionStorage.getItem("ecomCustomerAddress");if(p){const f=JSON.parse(p);typeof i=="object"&&i?Object.assign(i,f):i=f}}catch{}i&&i.zip&&(n.shippingAddrZip=i.zip,n.shippingAddrStreet=i.street,n.shippingAddrNumber=i.number,i.street&&i.number&&(n.shippingAddrStreet+=`, ${i.number}`),n.shippingAddrCity=i.city,n.shippingAddrProvinceCode=i.province_code),E.push({event:"purchaseExtraData",...n}),A=100}setTimeout(()=>I("purchase",C),A),localStorage.setItem("gtag.orderIdSent",o)}S=!0}};let m;const g=({name:o,params:t})=>{switch(o){case"cart":u("view_cart");break;case"checkout":t.step?Number(t.step)===1?u("add_shipping_info"):Number(t.step)===2&&u("add_payment_info"):u("begin_checkout");break;case"confirmation":clearTimeout(m),t.json?h(t.id,decodeURIComponent(t.json)):m=setTimeout(()=>{h(t.id)},1500);break}};e.currentRoute&&g(e.currentRoute),e.afterEach(g)}};{const{location:e,ECOM_STORE_ID:r}=window;Object.keys(T).length&&sessionStorage.setItem("ecomUtm",JSON.stringify(T));let s=e.search;!s&&e.hash&&(s="?"+e.hash.split("?")[1]);const a=new URLSearchParams(s);a.get("product_id")&&a.get("quantity")==="1"&&(localStorage.setItem("ecomShoppingCart__tmp",JSON.stringify({items:[{product_id:a.get("product_id"),variation_id:a.get("variation_id")||void 0,quantity:1}]})),window.ECOM_CART_STORAGE_KEY="ecomShoppingCart__tmp");const{domain:u}=globalThis.$storefront.settings,h=["localhost","127.0.0.1"].includes(e.hostname)&&Number(e.port)!==5e3?`https://${u}/_api/`:"/_api/",m="https://ecomplus.io/v2/";window.ECOMCLIENT_API_STORE=m,window.ECOMCLIENT_API_STORE_CACHE=`${m}:${r}/`,window.ECOMCLIENT_API_PASSPORT=`${m}:`,window.ECOMCLIENT_API_PASSPORT_IDENTITY=`${h}passport/`,window.ECOMCLIENT_API_SEARCH=`${m}search/_els/`,window.ECOMCLIENT_API_MODULES=`${h}modules/`;const g=()=>{const{ecomPassport:t}=window;O(y,async()=>{y.value?t.setSession({auth:{...b.auth,id:b.auth?.customer_id,level:3},customer:d.value}):t.checkLogin()&&t.logout()},{immediate:!0}),O(d,c=>{(c.display_name||c.main_email)&&t.setCustomer(c)},{immediate:!0}),setTimeout(L,400)},o=document.createElement("script");o.src="https://cdn.jsdelivr.net/npm/@ecomplus/storefront-app@2.0.0-beta.198/dist/lib/js/app.js",o.onload=g,document.body.appendChild(o)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as L}from"./_commonjsHelpers.Cpj98o6Y.js";import{a as R}from"./afetch.DPLba2tr.js";import{i as $}from"./i18n.DPcLqMFO.js";import{a as D,s as T,w as P}from"./sf-utils.C9ygvYIB.js";import{e as U}from"./index.BCNoXz_Z.js";import"./hoisted.
|
|
1
|
+
import{g as L}from"./_commonjsHelpers.Cpj98o6Y.js";import{a as R}from"./afetch.DPLba2tr.js";import{i as $}from"./i18n.DPcLqMFO.js";import{a as D,s as T,w as P}from"./sf-utils.C9ygvYIB.js";import{e as U}from"./index.BCNoXz_Z.js";import"./hoisted.8Sq2YuJM.js";import"./index.DlxZwqDP.js";import"./use-analytics.D_peWG3X.js";import"./customer-session.B9MvrBAQ.js";import"./shopping-cart.D8fbm2Dv.js";import"./price.CHiL6Z1J.js";import"./name.Dll7Wwmg.js";var I={exports:{}};const q=Object.getPrototypeOf({});function E(t){function d(e){return e!=="constructor"&&e!=="prototype"&&e!=="__proto__"}function a(e){let n=0;const s=e.length,i=new Array(s);for(n=0;n<s;++n)i[n]=h(e[n]);return i}function o(e){const n={};if(b&&Object.getPrototypeOf(e)!==q)return b(e);const s=m(e);let i,c,u;for(i=0,c=s.length;i<c;++i)d(u=s[i])&&(n[u]=h(e[u]));return n}function r(e,n){const s=e.length,i=n.length;let c=0;const u=new Array(s+i);for(c=0;c<s;++c)u[c]=h(e[c]);for(c=0;c<i;++c)u[c+s]=h(n[c]);return u}const l=Object.prototype.propertyIsEnumerable;function g(e){const n=Object.keys(e),s=Object.getOwnPropertySymbols(e);for(let i=0,c=s.length;i<c;++i)l.call(e,s[i])&&n.push(s[i]);return n}const m=t&&t.symbols?g:Object.keys,b=typeof t?.cloneProtoObject=="function"?t.cloneProtoObject:void 0;function w(e){return typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Date)}function p(e){return typeof e!="object"||e===null}const _=typeof Buffer<"u"?e=>typeof e!="object"||e===null||e instanceof RegExp||e instanceof Date||e instanceof Buffer:e=>typeof e!="object"||e===null||e instanceof RegExp||e instanceof Date,S=t&&typeof t.mergeArray=="function"?t.mergeArray({clone:h,deepmerge:C,getKeys:m,isMergeableObject:w}):r;function h(e){return w(e)?Array.isArray(e)?a(e):o(e):e}function A(e,n){const s={},i=m(e),c=m(n);let u,O,k;for(u=0,O=i.length;u<O;++u)d(k=i[u])&&c.indexOf(k)===-1&&(s[k]=h(e[k]));for(u=0,O=c.length;u<O;++u)d(k=c[u])&&(k in e&&(i.indexOf(k)!==-1&&(s[k]=C(e[k],n[k])),!0)||(s[k]=h(n[k])));return s}function C(e,n){const s=Array.isArray(n),i=Array.isArray(e);return p(n)?n:_(e)?h(n):s&&i?S(e,n):s!==i?h(n):A(e,n)}function y(){switch(arguments.length){case 0:return{};case 1:return h(arguments[0]);case 2:return C(arguments[0],arguments[1])}let e;for(let n=0,s=arguments.length;n<s;++n)e=C(e,arguments[n]);return e}return t&&t.all?y:C}I.exports=E;I.exports.default=E;I.exports.deepmerge=E;var N=I.exports;const x=L(N),W=()=>{const{CMS_REPO_BASE_DIR:t,CMS_LANG:d,CMS_MAX_FILE_SIZE:a,CMS:o}=window;if(!o)throw Error("Missing global CMS");const{domain:r}=window.$storefront?.settings||{},l=t||"functions/ssr/",g=d||"pt",m=_=>$(_,g),b=x();o.registerLocale(g,b(o.getLocale(g),{editor:{editorWidgets:{image:{chooseDifferent:m({en:"Change image",pt:"Mudar imagem"}),remove:m({en:"Remove",pt:"Remover"})}}}}));const w=Math.max(a||0,1e6);return{locale:g,load_config_file:!1,publish_mode:"editorial_workflow",media_folder:`${l}public/img/uploads`,public_folder:"/img/uploads",site_url:`https://${r}/~preview`,display_url:`https://${r}`,logo_url:"https://ecom.nyc3.digitaloceanspaces.com/storefront/cms.png",show_preview_links:!0,search:!1,slug:{encoding:"ascii",clean_accents:!0,sanitize_replacement:"-"},collections:m([{name:"config",label:{en:"Settings",pt:"Configurações"},description:{en:"General settings for site identity and metadata",pt:"Configurações gerais para identidade e metadados do site"},delete:!1,editor:{preview:!1},files:[{name:"settings",label:{en:"General config",pt:"Configurações gerais"},file:`${l}content/settings.json`,editor:{preview:!0},fields:[{label:"e-com.plus Store ID",name:"storeId",widget:"hidden"},{label:"Repository",name:"repository",widget:"hidden"},{label:{en:"Domain name",pt:"Domínio"},name:"domain",widget:"string"},{label:{en:"Store name",pt:"Nome da loja"},name:"name",widget:"string"},{label:{en:"Short description",pt:"Descrição curta"},name:"description",widget:"text"},{label:{en:"Logo",pt:"Logomarca"},name:"logo",widget:"image",media_library:{config:{max_file_size:w}}},{label:{en:"Icon",pt:"Ícone"},name:"icon",widget:"image",media_library:{config:{max_file_size:w}}},{label:{en:"Primary color",pt:"Cor primária"},name:"primaryColor",widget:"color"},{label:{en:"Secondary color",pt:"Cor secundária"},name:"secondaryColor",widget:"color",required:!1},{label:{en:"Contact email",pt:"E-mail de contato"},name:"email",widget:"string",required:!1},{label:{en:"Service telephone",pt:"Telefone de atendimento"},name:"phone",widget:"string",required:!1},{label:{en:"Store address",pt:"Endereço da loja"},name:"address",widget:"string",required:!1},{label:{en:"Corporate name",pt:"Razão social da empresa"},name:"corporateName",widget:"string"},{label:{en:"Store document number",pt:"CNPJ"},name:"docNumber",widget:"string"},{label:{en:"Service links",pt:"Links de atendimento"},name:"serviceLinks",widget:"list",summary:"{{fields.title}}",fields:[{label:{en:"Title",pt:"Título"},name:"title",widget:"string"},{label:"Link",name:"href",widget:"string"}]},{label:{en:"Payment methods",pt:"Formas de pagamento"},name:"paymentMethods",widget:"select",multiple:!0,options:["pix","visa","mastercard","elo","amex","hipercard","boleto","diners","discover"]},{label:"WhatsApp",name:"whatsapp",widget:"string",required:!1},{label:"Instagram",name:"instagram",widget:"string",required:!1},{label:"Facebook",name:"facebook",widget:"string",required:!1},{label:"X / Twitter",name:"twitter",widget:"string",required:!1},{label:"YouTube",name:"youtube",widget:"string",required:!1},{label:"TikTok",name:"tiktok",widget:"string",required:!1},{label:"Pinterest",name:"pinterest",widget:"string",required:!1},{label:"Threads",name:"threads",widget:"string",required:!1},{label:{en:"Default locale",pt:"Língua padrão"},name:"lang",widget:"select",options:[{label:"Português",value:"pt_br"},{label:"Inglês",value:"en_us"}],default:"pt_br"},{label:{en:"Currency code",pt:"Código da moeda"},name:"currency",widget:"hidden",default:"BRL"},{label:{en:"Currency symbol",pt:"Símbolo da moeda"},name:"currencySymbol",widget:"hidden",default:"R$"},{label:{en:"Country code",pt:"Código do país"},name:"countryCode",widget:"hidden",default:"BR"},{name:"modules",widget:"hidden"},{name:"cartUrl",widget:"hidden"},{name:"checkoutUrl",widget:"hidden"},{name:"accountUrl",widget:"hidden"},{name:"ordersUrl",widget:"hidden"},{name:"favoritesUrl",widget:"hidden"},{name:"metafields",widget:"hidden"}]}]}])}},v=(t,d,a,o)=>{const r=o?t[a]?.[o]:t[a],l=o?d[a]?.[o]:d[a];if(typeof r!=typeof l)return!1;if(typeof r=="object"&&r&&l){const g=Object.keys(r);return g.length!==Object.keys(l).length?!1:g.every(m=>v(r,l,m))}return r===l},B=(t,d)=>{const a=[];return Object.keys(t).forEach(o=>{if(typeof t[o]=="object"&&t[o]){Object.keys(t[o]).forEach(r=>{Array.isArray(t[o])&&(r=Number(r)),v(t,d,o,r)||a.push([o,r])});return}v(t,d,o)||a.push([o])}),a},F=({createClass:t,h:d})=>{const{host:a}=window.location,o=a.includes("localhost")||a.includes("127.0.0.1"),r=D(null),l=T({}),g=U((b,w)=>{r.value=new URL(`http${o?"":"s"}://${a}/~preview/${b}`),w.forEach(({filename:p,data:_})=>{r.value.searchParams.append(`content:${p}`,JSON.stringify(_))})},100),m="pagePreview";return t({render(){const b=this.props.entry;l.value=b.toJS().data;const w=`
|
|
2
2
|
<iframe
|
|
3
3
|
id="${m}"
|
|
4
4
|
border="0"
|
|
@@ -193,7 +193,7 @@ var lt={};/**
|
|
|
193
193
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
194
194
|
* See the License for the specific language governing permissions and
|
|
195
195
|
* limitations under the License.
|
|
196
|
-
*/class Ir{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map(t=>{if(yr(t)){const r=t.getImmediate();return`${r.library}/${r.version}`}else return null}).filter(t=>t).join(" ")}}function yr(n){const e=n.getComponent();return e?.type==="VERSION"}const He="@firebase/app",pt="0.10.
|
|
196
|
+
*/class Ir{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map(t=>{if(yr(t)){const r=t.getImmediate();return`${r.library}/${r.version}`}else return null}).filter(t=>t).join(" ")}}function yr(n){const e=n.getComponent();return e?.type==="VERSION"}const He="@firebase/app",pt="0.10.1";/**
|
|
197
197
|
* @license
|
|
198
198
|
* Copyright 2019 Google LLC
|
|
199
199
|
*
|
|
@@ -208,7 +208,7 @@ var lt={};/**
|
|
|
208
208
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
209
209
|
* See the License for the specific language governing permissions and
|
|
210
210
|
* limitations under the License.
|
|
211
|
-
*/const B=new jt("@firebase/app"),Er="@firebase/app-compat",wr="@firebase/analytics-compat",br="@firebase/analytics",Tr="@firebase/app-check-compat",Sr="@firebase/app-check",Ar="@firebase/auth",Cr="@firebase/auth-compat",kr="@firebase/database",Rr="@firebase/database-compat",Pr="@firebase/functions",Or="@firebase/functions-compat",Nr="@firebase/installations",Dr="@firebase/installations-compat",Lr="@firebase/messaging",Mr="@firebase/messaging-compat",Ur="@firebase/performance",Fr="@firebase/performance-compat",Br="@firebase/remote-config",xr="@firebase/remote-config-compat",Vr="@firebase/storage",Hr="@firebase/storage-compat",$r="@firebase/firestore",Wr="@firebase/firestore-compat",jr="firebase",zr="10.
|
|
211
|
+
*/const B=new jt("@firebase/app"),Er="@firebase/app-compat",wr="@firebase/analytics-compat",br="@firebase/analytics",Tr="@firebase/app-check-compat",Sr="@firebase/app-check",Ar="@firebase/auth",Cr="@firebase/auth-compat",kr="@firebase/database",Rr="@firebase/database-compat",Pr="@firebase/functions",Or="@firebase/functions-compat",Nr="@firebase/installations",Dr="@firebase/installations-compat",Lr="@firebase/messaging",Mr="@firebase/messaging-compat",Ur="@firebase/performance",Fr="@firebase/performance-compat",Br="@firebase/remote-config",xr="@firebase/remote-config-compat",Vr="@firebase/storage",Hr="@firebase/storage-compat",$r="@firebase/firestore",Wr="@firebase/firestore-compat",jr="firebase",zr="10.11.0";/**
|
|
212
212
|
* @license
|
|
213
213
|
* Copyright 2019 Google LLC
|
|
214
214
|
*
|
|
@@ -1423,7 +1423,7 @@ var lt={};/**
|
|
|
1423
1423
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1424
1424
|
* See the License for the specific language governing permissions and
|
|
1425
1425
|
* limitations under the License.
|
|
1426
|
-
*/const Be="webStorageSupport";class uo{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=bn,this._completeRedirectFn=Ls,this._overrideRedirectResult=Os}async _openPopup(e,t,r,i){var s;S((s=this.eventManagers[e._key()])===null||s===void 0?void 0:s.manager,"_initialize() not called before _openPopup()");const o=await Lt(e,t,r,_e(),i);return io(e,o,tt())}async _openRedirect(e,t,r,i){await this._originValidation(e);const s=await Lt(e,t,r,_e(),i);return fs(s),new Promise(()=>{})}_initialize(e){const t=e._key();if(this.eventManagers[t]){const{manager:i,promise:s}=this.eventManagers[t];return i?Promise.resolve(i):(S(s,"If manager is not set, promise should be"),s)}const r=this.initAndGetManager(e);return this.eventManagers[t]={promise:r},r.catch(()=>{delete this.eventManagers[t]}),r}async initAndGetManager(e){const t=await Qs(e),r=new Us(e);return t.register("authEvent",i=>(d(i?.authEvent,e,"invalid-auth-event"),{status:r.onEvent(i.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[e._key()]={manager:r},this.iframes[e._key()]=t,r}_isIframeWebStorageSupported(e,t){this.iframes[e._key()].send(Be,{type:Be},i=>{var s;const o=(s=i?.[0])===null||s===void 0?void 0:s[Be];o!==void 0&&t(!!o),m(e,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(e){const t=e._key();return this.originValidationPromises[t]||(this.originValidationPromises[t]=Hs(e)),this.originValidationPromises[t]}get _shouldInitProactively(){return hn()||Ze()||be()}}const ho=uo;var Mt="@firebase/auth",Ut="1.7.
|
|
1426
|
+
*/const Be="webStorageSupport";class uo{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=bn,this._completeRedirectFn=Ls,this._overrideRedirectResult=Os}async _openPopup(e,t,r,i){var s;S((s=this.eventManagers[e._key()])===null||s===void 0?void 0:s.manager,"_initialize() not called before _openPopup()");const o=await Lt(e,t,r,_e(),i);return io(e,o,tt())}async _openRedirect(e,t,r,i){await this._originValidation(e);const s=await Lt(e,t,r,_e(),i);return fs(s),new Promise(()=>{})}_initialize(e){const t=e._key();if(this.eventManagers[t]){const{manager:i,promise:s}=this.eventManagers[t];return i?Promise.resolve(i):(S(s,"If manager is not set, promise should be"),s)}const r=this.initAndGetManager(e);return this.eventManagers[t]={promise:r},r.catch(()=>{delete this.eventManagers[t]}),r}async initAndGetManager(e){const t=await Qs(e),r=new Us(e);return t.register("authEvent",i=>(d(i?.authEvent,e,"invalid-auth-event"),{status:r.onEvent(i.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[e._key()]={manager:r},this.iframes[e._key()]=t,r}_isIframeWebStorageSupported(e,t){this.iframes[e._key()].send(Be,{type:Be},i=>{var s;const o=(s=i?.[0])===null||s===void 0?void 0:s[Be];o!==void 0&&t(!!o),m(e,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(e){const t=e._key();return this.originValidationPromises[t]||(this.originValidationPromises[t]=Hs(e)),this.originValidationPromises[t]}get _shouldInitProactively(){return hn()||Ze()||be()}}const ho=uo;var Mt="@firebase/auth",Ut="1.7.1";/**
|
|
1427
1427
|
* @license
|
|
1428
1428
|
* Copyright 2020 Google LLC
|
|
1429
1429
|
*
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as _}from"./customer-session.
|
|
1
|
+
import{u as _}from"./customer-session.B9MvrBAQ.js";import{e as l}from"./index.BCNoXz_Z.js";import{p as y}from"./price.CHiL6Z1J.js";import{c as m,w as q}from"./sf-utils.C9ygvYIB.js";const g=()=>{let i=Math.floor(Math.random()*1e6).toString()+Date.now();for(;i.length<24;)i+="0";return i};function h(i){return{all:i=i||new Map,on:function(t,r){var n=i.get(t);n?n.push(r):i.set(t,[r])},off:function(t,r){var n=i.get(t);n&&(r?n.splice(n.indexOf(r)>>>0,1):i.set(t,[]))},emit:function(t,r){var n=i.get(t);n&&n.slice().map(function(o){o(r)}),(n=i.get("*"))&&n.slice().map(function(o){o(t,r)})}}}const b=(i,{flags:t})=>!i.flags&&!t?!0:!i.flags||!t||i.flags.length!==t.length?!1:i.flags.every(r=>t.includes(r)),v=(i,t)=>{if(typeof t.product_id!="string"||typeof t.quantity!="number"||!(t.quantity>=0)||typeof t.price!="number"||!(t.price>=0))return null;const{items:r}=i;if(!t.kit_product)for(let o=0;o<r.length;o++){const a=r[o];if(!a.kit_product&&a.product_id===t.product_id&&a.variation_id===t.variation_id&&(!a.customizations||!a.customizations.length)&&b(a,t))return a.quantity+=t.quantity,t.price&&(a.price=t.price),t.final_price&&(a.final_price=t.final_price),a}const n={...t};if((!t._id||t._id===t.variation_id||r.find(({_id:o})=>o===t._id))&&(n._id=g()),t.customizations){const o=[];t.customizations.forEach((a,c)=>{o[c]={...a}}),n.customizations=o}return r.push(n),n},C=(i,t,r)=>{(typeof r!="number"||Number.isNaN(r))&&(r=i.min_quantity||1);const n=i.min_quantity||0,o=t&&i.variations?i.variations.find(({_id:c})=>c===t):void 0,a={product_id:i._id,variation_id:t,sku:o?.sku||i.sku,name:o?.name||i.name,slug:i.slug,production_time:o?.production_time||i.production_time,currency_id:i.currency_id,currency_symbol:i.currency_symbol,base_price:o?.base_price||i.base_price,max_quantity:i.quantity,quantity:n>0?Math.max(n,r):r,price:y(i)};return o?.picture_id&&i.pictures&&(a.picture=i.pictures.find(c=>c._id===o.picture_id)),!a.picture&&i.pictures&&([a.picture]=i.pictures),a},k="ecomShoppingCart",E={subtotal:0,items:[]},s=_(k,E),S=m(()=>s.items.reduce((i,t)=>i+t.quantity,0)),x=i=>{v(s,i)},T=i=>{for(let t=0;t<s.items.length;t++)if(s.items[t]._id===i){s.items.splice(t,1);break}},j=(i,t,r)=>x(C(i,t,r)),f=h(),p=()=>s.items.map(i=>({...i}));let u=p();const z=l(i=>{["addCartItem","removeCartItem"].forEach(t=>{const r=t==="addCartItem",n=r?i:u,o=r?u:i;n.forEach(a=>{if(!a.quantity)return;const e=o.find(({_id:d})=>d===a._id)?.quantity||0;a.quantity>e&&f.emit(t,{...a,quantity:a.quantity-e})})}),u=p()},200);q(s.items,i=>{i.forEach(t=>{let r=t.kit_product?.price&&t.kit_product.pack_quantity?t.kit_product.price/t.kit_product.pack_quantity:t.price;Array.isArray(t.customizations)&&t.customizations.forEach(a=>{if(a.add_to_price){const{type:c,addition:e}=a.add_to_price;r+=c==="fixed"?e:t.price*(e/100)}}),t.final_price=r;const n=t.min_quantity||1,o=t.max_quantity;typeof t.quantity!="number"||Number.isNaN(t.quantity)||t.quantity<n?setTimeout(()=>{t.quantity=n},9):o&&t.quantity>o&&setTimeout(()=>{t.quantity=o},9)}),s.subtotal=i.reduce((t,r)=>t+r.quantity*(r.final_price||r.price),0),z(i)});const D={on:f.on,off:f.off};export{j as a,D as c,C as p,T as r,s,S as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as $,b as P,d as y,c as C}from"./customer-session.
|
|
1
|
+
import{u as $,b as P,d as y,c as C}from"./customer-session.B9MvrBAQ.js";import{c as R}from"./shopping-cart.D8fbm2Dv.js";import{a as m,r as T,c as b,Y as I,w as E}from"./sf-utils.C9ygvYIB.js";import{e as x}from"./index.BCNoXz_Z.js";import{u as G}from"./afetch.DPLba2tr.js";import{n as N}from"./name.Dll7Wwmg.js";import{p as A}from"./price.CHiL6Z1J.js";const M="ecomSeachHistory",l=$(M,[]);for(let e=0;e<l.length;e++)typeof l[e]!="string"&&(l.splice(e,1),e-=1);const L=async({term:e,params:s,fields:o,url:t="search/v1"})=>{if(typeof e=="string"&&(e=e.trim(),e.length<2))return{data:{result:[],meta:null}};const a=await P.get(t,{fields:o,params:e?{...s,term:e}:s});if(e&&a.data.result.length){const r=e,n=l.findIndex(h=>h.includes(r)&&!h.replace(r,"").includes(" "));if(n>-1){const h=l[n];l.splice(n,1),l.unshift(h)}else{const h=l.findIndex(d=>r.startsWith(d));h>-1&&l.splice(h,1),l.unshift(e)}for(;l.length>20;)l.pop()}return a};class O{fields;term=m(null);isWithCount=m(!0);isWithBuckets=m(!0);params=T({});pageSize=m(24);pageNumber=m(1);#i=[];#s=m(!1);isFetching=b(()=>this.#s.value);#e=m(!1);wasFetched=b(()=>this.#e.value);#a=m(null);#t;fetching=b(()=>this.#a.value);#n=m(null);fetchError=b(()=>this.#n.value);products=I([]);meta=I({offset:0,limit:0,fields:[],sort:[],query:{}});#o;constructor({fields:s,debounce:o=150}={}){this.fields=s,this.#o=x(t=>(this.#s.value=!0,L(t)),o),E([this.term,this.params,this.pageSize],()=>{this.wasFetched.value&&(this.pageNumber.value=1,this.#e.value=!1)}),E(this.pageNumber,()=>{this.#e.value=!1})}async fetch(s){s!==void 0&&s!==this.term.value&&(this.term.value=s,this.pageNumber.value=1);const o=this.pageSize.value,t=o*(this.pageNumber.value-1);this.#a.value||(this.#a.value=new Promise(n=>{this.#t=n}));let a;const r={term:this.term.value,params:{...this.params,limit:o,offset:t,count:this.isWithCount.value||void 0,buckets:this.isWithBuckets.value||void 0},fields:this.fields};try{for(let n=0;n<this.#i.length;n++)this.#i[n](r);a=await this.#o(r)}catch(n){throw this.#t&&(this.#n.value=n,this.#t()),n}if(a){this.#s.value=!1,this.#e.value=!0;const{data:n}=a;n.meta&&this.setResult(n),this.#t&&this.#t()}}addMiddleware(s){this.#i.push(s)}setResult(s){s.meta&&Object.assign(this.meta,s.meta),s.result&&(this.products.splice(0),s.result.forEach(o=>this.products.push(o))),s.meta&&s.result&&setTimeout(()=>{this.#e.value=!0},9)}}const c={},f={},W=()=>{f.resolve||(f.waiting=new Promise(e=>{f.resolve=e}))};W();const F=()=>{let e="";return window.location.pathname.startsWith("/~")&&(e=new URLSearchParams(window.location.search).get("url")||""),e||(e=window.location.toString()),{page_location:e,language:globalThis.$storefront.settings.lang||"pt_br",page_title:document.title,user_agent:navigator.userAgent}},V=()=>({...f.params||F(),...c,user_id:C.value._id,utm:G}),S="GtagEvent";let _={},g="";const p=async(e,s)=>{const o=s;if(e==="page_view"){_={};const{apiContext:t}=window.$storefront;if(g="",t){const{name:a}=t.doc;switch(t.resource){case"categories":g=`Category: ${a}`;break;case"brands":g=`Brand: ${a}`;break;case"collections":g=`Collection: ${a}`;break}}else{const{pathname:a}=window.location;a==="/"?g="Home":(/^\/s\/?/.test(a)||a==="/search"||a==="/busca")&&(g="Search results")}f.resolve&&(f.params=s,f.resolve(),f.resolve=null)}else f.waiting&&await f.waiting,e==="view_item"&&o.items?.forEach(t=>{if(t.index!==void 0)return;if(!t.item_list_id&&!t.item_list_name){const{apiContext:r}=window.$storefront;r?.doc._id===t.object_id&&(t.item_list_id="product-page",t.item_list_name="Product page")}const a=t.item_list_id||t.item_list_name||g;a&&(_[a]?_[a]+=1:_[a]=1,t.index=_[a],!t.item_list_id&&!t.item_list_name&&(t.item_list_name=a))}),typeof o.value=="number"&&!o.currency&&(o.currency=window.ECOM_CURRENCY||"BRL");try{const t={type:S,...V(),event:{name:e,params:o}};window.postMessage(t,window.origin)}catch(t){console.error(t)}},Y=e=>{window.addEventListener("message",({data:s})=>{s.type===S&&e(s)})},q=e=>{const[s,...o]=N(e).split(" / "),t={item_name:s,item_id:e.sku,price:Math.round(A(e)*100)/100,object_id:e._id};o&&o.length?t.item_variant=o.join(" / "):e.variation_id&&(t.item_name=s.replace(window.__customGTMVariantRegex||/\s[^\s]+$/,""),t.item_variant=s.replace(t.item_name,"").trim()),(e.quantity===0||e.quantity&&e.product_id)&&(t.quantity=e.quantity);const{brands:a,categories:r}=e;if(a?.length&&(t.item_brand=a[0].name),r?.length)for(let n=0;n<r.length;n++){const{name:h}=r[n];if(n===0)t.item_category=h;else if(t[`item_category${n+1}`]=h,n===4)break}return t},Q=({experimentId:e=window.AB_EXPERIMENT_ID}={})=>{const{gtag:s,GTAG_TAG_ID:o,GA_TRACKING_ID:t,GIT_BRANCH:a}=window,r=o||t,n=a&&e?`${e}-${a}`:a?.startsWith("main-")&&a||null;typeof s=="function"&&(r&&["client_id","session_id","gclid"].forEach(i=>{s("get",r,i,u=>{c[i==="gclid"?i:`g_${i}`]=u})}),n&&s("event","experience_impression",{exp_variant_string:n}));const h=new URL(window.location.toString());["gclid","fbclid","ttclid"].forEach(i=>{const u=c[i]||h.searchParams.get(i);u?(c[i]=u,sessionStorage.setItem(`analytics_${i}`,u)):c[i]=sessionStorage.getItem(`analytics_${i}`)||void 0});const d=["_fbp"];return c.fbclid||d.push("_fbc"),c.g_client_id||d.push("_ga"),d.forEach(i=>{document.cookie.split(";").forEach(u=>{const[w,v]=u.split("=");if(w.trim()===i&&v)switch(i){case"_fbp":c.fbp=v;break;case"_fbc":c.fbclid=v;break;case"_ga":c.g_client_id=v.substring(6);break}})}),["client_id","session_id"].forEach(i=>{const u=i==="client_id"?localStorage:sessionStorage,w=u.getItem(`analytics_${i}`);w?c[i]=w:c[i]=c[`g_${i}`]||`${Math.ceil(Math.random()*1e6)}.${Math.ceil(Math.random()*1e6)}`,u.setItem(`analytics_${i}`,c[i])}),y.value?p("login",{}):E(y,()=>p("login",{}),{once:!0}),R.on("*",(i,u)=>{p(i==="addCartItem"?"add_to_cart":"remove_from_cart",{items:[q(u)]})}),E(l,()=>{const i=l[0];i&&p("search",{search_term:i})}),window.location.pathname.startsWith("/s")&&setTimeout(()=>{let i=new URLSearchParams(window.location.search).get("q");i||(i=decodeURIComponent(window.location.pathname.split("/")[2])),i&&typeof i=="string"&&p("view_search_results",{search_term:i})},300),{expVariantString:n}};export{O as S,F as a,V as b,p as e,q as g,l as s,c as t,Q as u,Y as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b}from"./customer-session.
|
|
1
|
+
import{b}from"./customer-session.B9MvrBAQ.js";import{a as f,Y as P,c as a,a6 as w}from"./sf-utils.C9ygvYIB.js";import{e as I,g as k}from"./use-analytics.D_peWG3X.js";import{p as g,o as q}from"./price.CHiL6Z1J.js";import{n as E}from"./name.Dll7Wwmg.js";import{i as N}from"./img.Be85e5da.js";import"./index.BCNoXz_Z.js";const $=t=>t&&t.min_quantity||1,G=t=>!t.hasOwnProperty("quantity")||t.quantity>=$(t),F=t=>{const n=f(!1);let s=null;const o=f(null),{productId:r}=t,e=P({...t.product,_id:t.product?._id||r,price:g(t.product||{})});!t.product&&r&&(n.value=!0,s=(async()=>{try{const{data:i}=await b.get(`products/${r}`);Object.assign(e,i)}catch(i){console.error(i),o.value=i}n.value=!1})());const d=a(()=>E(e)),v=a(()=>{const{slug:i}=e;return typeof i=="string"?`/${i}`:null}),h=a(()=>{const{pictures:i}=e,l=[];return i&&i.forEach(p=>{const m=N(p);m&&l.push(m)}),l}),c=a(()=>G(e)),u=a(()=>c.value&&e.available&&e.visible),_=a(()=>{if(q(e)){const i=e.base_price;return Math.round((i-g(e))*100/i)}return 0}),y=a(()=>e.has_variations?!0:!!e.variations?.length);return I("view_item",{value:u.value?e.price:0,items:[{...k(e),item_list_name:t.listName,item_list_id:t.listId||t.listName&&w(t.listName)}]}),{isFetching:n,fetching:s,fetchError:o,product:e,title:d,link:v,images:h,isInStock:c,isActive:u,discountPercentage:_,hasVariations:y}};export{G as i,F as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{_ as Z,w as J,v as Q}from"./_plugin-vue_export-helper.6K9uDcVo.js";import{d as H,ak as ee,al as te,a as h,w as P,c as b,U as B,j as ne,k as g,$ as A,i as D,l as re,e as F,n as T,ac as le,f as W,Z as _,p as y,ar as oe,h as ae,ag as U,af as N,o as ie,at as se,B as ue,F as ce,ad as de}from"./sf-utils.C9ygvYIB.js";const fe=H({__name:"Drawer",props:ee({isHidden:{type:Boolean,default:!1},placement:{default:"start"},position:{default:"fixed"},animation:{default:"slide"},hasCloseButton:{type:Boolean,default:!0},anchorEl:{},backdropTarget:{default:"#teleported-top"},canLockScroll:{type:Boolean,default:!0},maxWidth:{},class:{}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:n}){n();const t=e,r=te(e,"modelValue"),o=()=>{r.value=!1},l=h(null),a=s=>{if(!l.value?.contains(s.target)){if(t.anchorEl?.contains(s.target))return;o()}},i=s=>{s.key==="Escape"&&o()},f=h(0);P(r,async s=>{s?(t.canLockScroll&&(f.value=window.innerWidth-document.documentElement.clientWidth,document.body.style.overflow="hidden",document.body.style.paddingRight=`${f.value}px`),setTimeout(()=>{document.addEventListener("click",a,{passive:!0}),document.addEventListener("keydown",i,{passive:!0})},500)):(t.canLockScroll&&(document.body.style.overflow="",document.body.style.paddingRight=""),document.removeEventListener("click",a),document.removeEventListener("keydown",i))});const u=b(()=>{if(t.animation!=="slide")return null;switch(t.placement){case"start":return"left";case"end":return"right";case"top":return"down";default:return"up"}}),c=h(null);t.animation==="scale"&&P(r,s=>{s?B(()=>{setTimeout(()=>{c.value="transition",setTimeout(()=>{r.value&&(c.value="")},300)},50)}):c.value="transition scale-90"},{immediate:!0});const v=b(()=>Array.isArray(t.class)?t.class:[t.class]),p=b(()=>t.position==="fixed"),m=b(()=>t.placement==="start"||t.placement==="end"),d={props:t,model:r,close:o,drawer:l,outsideClickListener:a,escClickListener:i,scrollbarWidth:f,slideTo:u,animationClassName:c,customClassList:v,isFixed:p,isPlacementX:m};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),me=["open","data-drawer"],ve={class:"relative h-full"},pe=W("i",{class:"m-0 text-3xl text-base-400 i-close hover:text-base-600"},null,-1),he={key:0,class:"size-screen fixed left-0 top-0 z-30 bg-black/50","data-drawer-backdrop":""};function we(e,n,t,r,o,l){const a=ne("Fade");return g(),A(a,{slide:r.slideTo,speed:"slow","is-floating":""},{default:D(()=>[r.model?re((g(),F("dialog",{key:0,ref:"drawer",class:T(["z-40 w-screen p-0",[t.position,r.isPlacementX?"m-0":"mx-auto",r.isPlacementX&&!t.maxWidth?"max-w-sm":null,r.isFixed?`top-0 ${r.isPlacementX?"h-screen":"max-h-screen"}`:null,r.isFixed&&t.placement!=="end"?"left-0":null,r.isFixed&&t.placement==="end"?"left-auto right-0":null,r.animationClassName,...r.customClassList]]),style:le({maxWidth:t.maxWidth?`min(${t.maxWidth}, calc(100vw - ${r.scrollbarWidth}px))`:r.isPlacementX?void 0:`calc(100vw - ${r.scrollbarWidth}px)`}),open:r.model,"data-drawer":t.placement},[W("div",ve,[t.hasCloseButton?(g(),F("button",{key:0,type:"button","aria-label":"Fechar",onClick:J(r.close,["prevent"]),class:T(["absolute top-2 z-30 rounded",t.placement==="end"?"left-2":"right-2"]),"data-drawer-close":""},[_(e.$slots,"close",{},()=>[pe])],2)):y("",!0),_(e.$slots,"default")]),t.backdropTarget?(g(),A(oe,{key:0,to:t.backdropTarget},[ae(a,null,{default:D(()=>[r.model&&!t.isHidden?(g(),F("div",he)):y("",!0)]),_:1})],8,["to"])):y("",!0)],14,me)),[[Q,!t.isHidden]]):y("",!0)]),_:3},8,["slide"])}const qe=Z(fe,[["render",we]]);let ge=Symbol("headlessui.useid"),be=0;function Ye(){return U(ge,()=>`${++be}`)()}function w(e){var n;if(e==null||e.value==null)return null;let t=(n=e.value.$el)!=null?n:e.value;return t instanceof Node?t:null}function L(e,n,...t){if(e in n){let o=n[e];return typeof o=="function"?o(...t):o}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,L),r}var ye=Object.defineProperty,Ee=(e,n,t)=>n in e?ye(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,j=(e,n,t)=>(Ee(e,typeof n!="symbol"?n+"":n,t),t);let xe=class{constructor(){j(this,"current",this.detect()),j(this,"currentId",0)}set(n){this.current!==n&&(this.currentId=0,this.current=n)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},O=new xe;function R(e){if(O.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let n=w(e);if(n)return n.ownerDocument}return document}let k=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Fe=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Fe||{}),Se=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Se||{}),ke=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(ke||{});function V(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(k)).sort((n,t)=>Math.sign((n.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var X=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(X||{});function z(e,n=0){var t;return e===((t=R(e))==null?void 0:t.body)?!1:L(n,{0(){return e.matches(k)},1(){let r=e;for(;r!==null;){if(r.matches(k))return!0;r=r.parentElement}return!1}})}function Je(e){let n=R(e);B(()=>{n&&!z(n.activeElement,0)&&Le(e)})}var Ne=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Ne||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Le(e){e?.focus({preventScroll:!0})}let Oe=["textarea","input"].join(",");function Pe(e){var n,t;return(t=(n=e?.matches)==null?void 0:n.call(e,Oe))!=null?t:!1}function Ae(e,n=t=>t){return e.slice().sort((t,r)=>{let o=n(t),l=n(r);if(o===null||l===null)return 0;let a=o.compareDocumentPosition(l);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Qe(e,n){return De(V(),n,{relativeTo:e})}function De(e,n,{sorted:t=!0,relativeTo:r=null,skipElements:o=[]}={}){var l;let a=(l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)!=null?l:document,i=Array.isArray(e)?t?Ae(e):e:V(e);o.length>0&&i.length>1&&(i=i.filter(d=>!o.includes(d))),r=r??a.activeElement;let f=(()=>{if(n&5)return 1;if(n&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(n&1)return 0;if(n&2)return Math.max(0,i.indexOf(r))-1;if(n&4)return Math.max(0,i.indexOf(r))+1;if(n&8)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=n&32?{preventScroll:!0}:{},v=0,p=i.length,m;do{if(v>=p||v+p<=0)return 0;let d=u+v;if(n&16)d=(d+p)%p;else{if(d<0)return 3;if(d>=p)return 1}m=i[d],m?.focus(c),v+=f}while(m!==a.activeElement);return n&6&&Pe(m)&&m.select(),2}function Te(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function _e(){return/Android/gi.test(window.navigator.userAgent)}function je(){return Te()||_e()}function E(e,n,t){O.isServer||N(r=>{document.addEventListener(e,n,t),r(()=>document.removeEventListener(e,n,t))})}function Ce(e,n,t){O.isServer||N(r=>{window.addEventListener(e,n,t),r(()=>window.removeEventListener(e,n,t))})}function et(e,n,t=b(()=>!0)){function r(l,a){if(!t.value||l.defaultPrevented)return;let i=a(l);if(i===null||!i.getRootNode().contains(i))return;let f=function u(c){return typeof c=="function"?u(c()):Array.isArray(c)||c instanceof Set?c:[c]}(e);for(let u of f){if(u===null)continue;let c=u instanceof HTMLElement?u:w(u);if(c!=null&&c.contains(i)||l.composed&&l.composedPath().includes(c))return}return!z(i,X.Loose)&&i.tabIndex!==-1&&l.preventDefault(),n(l,i)}let o=h(null);E("pointerdown",l=>{var a,i;t.value&&(o.value=((i=(a=l.composedPath)==null?void 0:a.call(l))==null?void 0:i[0])||l.target)},!0),E("mousedown",l=>{var a,i;t.value&&(o.value=((i=(a=l.composedPath)==null?void 0:a.call(l))==null?void 0:i[0])||l.target)},!0),E("click",l=>{je()||o.value&&(r(l,()=>o.value),o.value=null)},!0),E("touchend",l=>r(l,()=>l.target instanceof HTMLElement?l.target:null),!0),Ce("blur",l=>r(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function C(e,n){if(e)return e;let t=n??"button";if(typeof t=="string"&&t.toLowerCase()==="button")return"button"}function tt(e,n){let t=h(C(e.value.type,e.value.as));return ie(()=>{t.value=C(e.value.type,e.value.as)}),N(()=>{var r;t.value||w(n)&&w(n)instanceof HTMLButtonElement&&!((r=w(n))!=null&&r.hasAttribute("type"))&&(t.value="button")}),t}function M(e){return[e.screenX,e.screenY]}function nt(){let e=h([-1,-1]);return{wasMoved(n){let t=M(n);return e.value[0]===t[0]&&e.value[1]===t[1]?!1:(e.value=t,!0)},update(n){e.value=M(n)}}}var Me=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Me||{}),Ie=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Ie||{});function $e({visible:e=!0,features:n=0,ourProps:t,theirProps:r,...o}){var l;let a=G(r,t),i=Object.assign(o,{props:a});if(e||n&2&&a.static)return S(i);if(n&1){let f=(l=a.unmount)==null||l?0:1;return L(f,{0(){return null},1(){return S({...o,props:{...a,hidden:!0,style:{display:"none"}}})}})}return S(i)}function S({props:e,attrs:n,slots:t,slot:r,name:o}){var l,a;let{as:i,...f}=He(e,["unmount","static"]),u=(l=t.default)==null?void 0:l.call(t,r),c={};if(r){let v=!1,p=[];for(let[m,d]of Object.entries(r))typeof d=="boolean"&&(v=!0),d===!0&&p.push(m);v&&(c["data-headlessui-state"]=p.join(" "))}if(i==="template"){if(u=K(u??[]),Object.keys(f).length>0||Object.keys(n).length>0){let[v,...p]=u??[];if(!Be(v)||p.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${o} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(f).concat(Object.keys(n)).map(s=>s.trim()).filter((s,x,Y)=>Y.indexOf(s)===x).sort((s,x)=>s.localeCompare(x)).map(s=>` - ${s}`).join(`
|
|
2
2
|
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(s=>` - ${s}`).join(`
|
|
3
3
|
`)].join(`
|
|
4
|
-
`));let m=G((a=v.props)!=null?a:{},f,c),d=se(v,m,!0);for(let s in m)s.startsWith("on")&&(d.props||(d.props={}),d.props[s]=m[s]);return d}return Array.isArray(u)&&u.length===1?u[0]:u}return ue(i,Object.assign({},f,c),{default:()=>u})}function K(e){return e.flatMap(n=>n.type===ce?K(n.children):[n])}function G(...e){if(e.length===0)return{};if(e.length===1)return e[0];let n={},t={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(t[o]!=null||(t[o]=[]),t[o].push(r[o])):n[o]=r[o];if(n.disabled||n["aria-disabled"])return Object.assign(n,Object.fromEntries(Object.keys(t).map(r=>[r,void 0])));for(let r in t)Object.assign(n,{[r](o,...l){let a=t[r];for(let i of a){if(o instanceof Event&&o.defaultPrevented)return;i(o,...l)}}});return n}function rt(e){let n=Object.assign({},e);for(let t in n)n[t]===void 0&&delete n[t];return n}function He(e,n=[]){let t=Object.assign({},e);for(let r of n)r in t&&delete t[r];return t}function Be(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var We=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(We||{});let lt=H({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:n,attrs:t}){return()=>{var r;let{features:o,...l}=e,a={"aria-hidden":(o&2)===2?!0:(r=l["aria-hidden"])!=null?r:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(o&4)===4&&(o&2)!==2&&{display:"none"}}};return $e({ourProps:a,theirProps:l,slot:{},attrs:t,slots:n,name:"Hidden"})}}}),q=Symbol("Context");var Ue=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Ue||{});function ot(){return U(q,null)}function at(e){de(q,e)}var Re=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Re||{});function Ve(e){throw new Error("Unexpected object: "+e)}var Xe=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Xe||{});function it(e,n){let t=n.resolveItems();if(t.length<=0)return null;let r=n.resolveActiveIndex(),o=r??-1;switch(e.focus){case 0:{for(let l=0;l<t.length;++l)if(!n.resolveDisabled(t[l],l,t))return l;return r}case 1:{o===-1&&(o=t.length);for(let l=o-1;l>=0;--l)if(!n.resolveDisabled(t[l],l,t))return l;return r}case 2:{for(let l=o+1;l<t.length;++l)if(!n.resolveDisabled(t[l],l,t))return l;return r}case 3:{for(let l=t.length-1;l>=0;--l)if(!n.resolveDisabled(t[l],l,t))return l;return r}case 4:{for(let l=0;l<t.length;++l)if(n.resolveId(t[l],l,t)===e.id)return l;return r}case 5:return null;default:Ve(e)}}let I=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function $(e){var n,t;let r=(n=e.innerText)!=null?n:"",o=e.cloneNode(!0);if(!(o instanceof HTMLElement))return r;let l=!1;for(let i of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))i.remove(),l=!0;let a=l?(t=o.innerText)!=null?t:"":r;return I.test(a)&&(a=a.replace(I,"")),a}function ze(e){let n=e.getAttribute("aria-label");if(typeof n=="string")return n.trim();let t=e.getAttribute("aria-labelledby");if(t){let r=t.split(" ").map(o=>{let l=document.getElementById(o);if(l){let a=l.getAttribute("aria-label");return typeof a=="string"?a.trim():$(l).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return $(e).trim()}function st(e){let n=h(""),t=h("");return()=>{let r=w(e);if(!r)return"";let o=r.innerText;if(n.value===o)return t.value;let l=ze(r).trim().toLowerCase();return n.value=o,t.value=l,l}}export{$e as A,qe as D,rt as E,Ye as I,Me as N,Ae as O,De as P,He as T,Je as _,z as a,lt as b,Xe as c,
|
|
4
|
+
`));let m=G((a=v.props)!=null?a:{},f,c),d=se(v,m,!0);for(let s in m)s.startsWith("on")&&(d.props||(d.props={}),d.props[s]=m[s]);return d}return Array.isArray(u)&&u.length===1?u[0]:u}return ue(i,Object.assign({},f,c),{default:()=>u})}function K(e){return e.flatMap(n=>n.type===ce?K(n.children):[n])}function G(...e){if(e.length===0)return{};if(e.length===1)return e[0];let n={},t={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(t[o]!=null||(t[o]=[]),t[o].push(r[o])):n[o]=r[o];if(n.disabled||n["aria-disabled"])return Object.assign(n,Object.fromEntries(Object.keys(t).map(r=>[r,void 0])));for(let r in t)Object.assign(n,{[r](o,...l){let a=t[r];for(let i of a){if(o instanceof Event&&o.defaultPrevented)return;i(o,...l)}}});return n}function rt(e){let n=Object.assign({},e);for(let t in n)n[t]===void 0&&delete n[t];return n}function He(e,n=[]){let t=Object.assign({},e);for(let r of n)r in t&&delete t[r];return t}function Be(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var We=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(We||{});let lt=H({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:n,attrs:t}){return()=>{var r;let{features:o,...l}=e,a={"aria-hidden":(o&2)===2?!0:(r=l["aria-hidden"])!=null?r:void 0,hidden:(o&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(o&4)===4&&(o&2)!==2&&{display:"none"}}};return $e({ourProps:a,theirProps:l,slot:{},attrs:t,slots:n,name:"Hidden"})}}}),q=Symbol("Context");var Ue=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Ue||{});function ot(){return U(q,null)}function at(e){de(q,e)}var Re=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Re||{});function Ve(e){throw new Error("Unexpected object: "+e)}var Xe=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Xe||{});function it(e,n){let t=n.resolveItems();if(t.length<=0)return null;let r=n.resolveActiveIndex(),o=r??-1;switch(e.focus){case 0:{for(let l=0;l<t.length;++l)if(!n.resolveDisabled(t[l],l,t))return l;return r}case 1:{o===-1&&(o=t.length);for(let l=o-1;l>=0;--l)if(!n.resolveDisabled(t[l],l,t))return l;return r}case 2:{for(let l=o+1;l<t.length;++l)if(!n.resolveDisabled(t[l],l,t))return l;return r}case 3:{for(let l=t.length-1;l>=0;--l)if(!n.resolveDisabled(t[l],l,t))return l;return r}case 4:{for(let l=0;l<t.length;++l)if(n.resolveId(t[l],l,t)===e.id)return l;return r}case 5:return null;default:Ve(e)}}let I=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function $(e){var n,t;let r=(n=e.innerText)!=null?n:"",o=e.cloneNode(!0);if(!(o instanceof HTMLElement))return r;let l=!1;for(let i of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))i.remove(),l=!0;let a=l?(t=o.innerText)!=null?t:"":r;return I.test(a)&&(a=a.replace(I,"")),a}function ze(e){let n=e.getAttribute("aria-label");if(typeof n=="string")return n.trim();let t=e.getAttribute("aria-labelledby");if(t){let r=t.split(" ").map(o=>{let l=document.getElementById(o);if(l){let a=l.getAttribute("aria-label");return typeof a=="string"?a.trim():$(l).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return $(e).trim()}function st(e){let n=h(""),t=h("");return()=>{let r=w(e);if(!r)return"";let o=r.innerText;if(n.value===o)return t.value;let l=ze(r).trim().toLowerCase();return n.value=o,t.value=l,l}}export{$e as A,qe as D,rt as E,Ye as I,Me as N,Ae as O,De as P,He as T,Je as _,z as a,lt as b,Xe as c,We as d,nt as e,it as f,Re as g,X as h,Ue as i,R as j,O as k,ot as l,Ce as m,Fe as n,w as o,st as p,V as q,Se as r,tt as s,at as t,L as u,Qe as v,et as w};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="pt-br">
|
|
3
|
+
<head data-capo=""><meta charset="UTF-8"><meta name="viewport" content="width=device-width"><title>Erro | e-com.plus demoStore</title><script>
|
|
4
|
+
window._emitApiContext = (id = null) => {
|
|
5
|
+
$storefront.url = new URL(window.location.toString());
|
|
6
|
+
$storefront.getSession = (/* sid */) => ({
|
|
7
|
+
url: $storefront.url,
|
|
8
|
+
apiContext: $storefront.apiContext,
|
|
9
|
+
});
|
|
10
|
+
console.debug('[ctx] emit ' + id);
|
|
11
|
+
window.dispatchEvent(new Event('storefront:apiContext'));
|
|
12
|
+
window._emitedContextId = id;
|
|
13
|
+
window.__sfIds = {};
|
|
14
|
+
};
|
|
15
|
+
window.ECOM_STORE_ID = 1011;
|
|
16
|
+
window.ECOM_LANG = 'pt_br';
|
|
17
|
+
window.ECOM_CURRENCY = 'BRL';
|
|
18
|
+
window.ECOM_CURRENCY_SYMBOL = 'R$';
|
|
19
|
+
window.ECOM_COUNTRY_CODE = 'BR';
|
|
20
|
+
window.GIT_BRANCH = 'main-b';
|
|
21
|
+
window.$storefront = {"settings":{"domain":"demo.ecomplus.app","name":"e-com.plus demoStore","description":"e-com.plus é a plataforma de e-commerce API-first desenhada para modelos de negócio e experiências de compra únicas. Flexibilidade do código aberto com facilidade de SaaS para que você comece rápido, venda do seu jeito e escale sem limitações.","logo":"/img/uploads/logo.png","icon":"/img/uploads/ecom-icon.png","primaryColor":"#37003c","email":"","phone":"","address":"","corporateName":"","docNumber":"","lang":"pt_br","currency":"BRL","currencySymbol":"R$","countryCode":"BR","whatsapp":"(31) 9 8272-1558","instagram":"https://www.instagram.com/ecomclub/","facebook":"https://www.facebook.com/ecom.clubpage/","twitter":"","youtube":"https://www.youtube.com/channel/UCBlIxK5JAub0E1EX_qHdzmA","tiktok":"","pinterest":"","threads":"","serviceLinks":[{"title":"Fale conosco","href":"/p/contato"},{"title":"Privacidade e termos","href":"/p/terms"}],"paymentMethods":["pix","visa","mastercard","elo","amex","hipercard","boleto"],"modules":{"list_payments":{"installments_option":{"max_number":null,"monthly_interest":null,"min_installment":null},"discount_option":{"label":null,"apply_at":null,"type":null,"value":null},"loyalty_points_program":{"id":null,"name":null,"ratio":null,"earn_percentage":null}},"calculate_shipping":{"free_shipping_from_value":200}}},"data":{}};
|
|
22
|
+
window._firstLoadContextId = null;</script><script>
|
|
23
|
+
$storefront.apiContext = null;
|
|
24
|
+
delete $storefront.apiContext;
|
|
25
|
+
delete $storefront.context;
|
|
26
|
+
_emitApiContext();</script><script>
|
|
27
|
+
window.$firebaseConfig = {
|
|
28
|
+
apiKey: "AIzaSyCnvm7QrPKzSBrUi09Z3zTgjDST0t4Yikg",
|
|
29
|
+
authDomain: "ecom2-demo.firebaseapp.com",
|
|
30
|
+
projectId: "ecom2-demo",
|
|
31
|
+
storageBucket: "ecom2-demo.appspot.com",
|
|
32
|
+
messagingSenderId: "70369627313",
|
|
33
|
+
appId: "1:70369627313:web:06634033b9c6208fe7e690",
|
|
34
|
+
};
|
|
35
|
+
</script><link rel="stylesheet" href="/_astro/_slug_.HhgCFKHv.css"><script type="module" src="/_astro/hoisted.8Sq2YuJM.js"></script><script type="module" src="/_astro/page.FdSlRisw.js"></script><meta name="theme-color" content="#37003c"><link rel="icon" type="image/png" href="/_image?f=png&w=32&h=32&href=%2Fimg%2Fuploads%2Fecom-icon.png&V=_" sizes="32x32"><link rel="icon" type="image/png" href="/_image?f=png&w=192&h=192&href=%2Fimg%2Fuploads%2Fecom-icon.png&V=_" sizes="192x192"><meta name="description" content="e-com.plus é a plataforma de e-commerce API-first desenhada para modelos de negócio e experiências de compra únicas. Flexibilidade do código aberto com facilidade de SaaS para que você comece rápido, venda do seu jeito e escale sem limitações."><meta name="author" content="e-com.plus demoStore"><meta name="generator" content="e-com.plus @cloudcommerce/storefront, Astro v4.5.10"><link rel="canonical" href="https://demo.ecomplus.app/~fallback/"><link rel="apple-touch-icon" href="/_image?f=png&w=192&h=192&href=%2Fimg%2Fuploads%2Fecom-icon.png&V=_"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta property="og:site_name" content="e-com.plus demoStore"><meta property="og:url" content="https://demo.ecomplus.app/~fallback/"><meta property="og:title" content=""><meta property="og:description" content="e-com.plus é a plataforma de e-commerce API-first desenhada para modelos de negócio e experiências de compra únicas. Flexibilidade do código aberto com facilidade de SaaS para que você comece rápido, venda do seu jeito e escale sem limitações."><meta property="og:type" content="website"><meta property="og:locale" content="ptBR"><meta name="twitter:card" content="summary"><meta name="ecom-store-id" content="1011"><script type="application/ld+json">{"@context":"http://schema.org","@type":"Organization","name":"e-com.plus demoStore","url":"https://demo.ecomplus.app/","logo":"https://demo.ecomplus.app/img/uploads/logo.png"}</script></head>
|
|
36
|
+
<body style="visibility:hidden" class="!visible"> <!-- Prevent FOUC -->
|
|
37
|
+
<div id="teleported-overlap" class="relative z-[59]"></div>
|
|
38
|
+
<div id="teleported-top" class="relative z-[19]"></div>
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<style>astro-island,astro-slot,astro-static-slot{display:contents}</style><script>(()=>{var v=i=>new Promise(n=>{let r={},t=new IntersectionObserver(o=>{for(let c of o)if(c.isIntersecting){t.disconnect(),n();break}},r);for(let o of i.children)t.observe(o)}),l=new Promise(i=>{let n=new AbortController;["keydown","mousemove","pointerdown","touchstart","scroll"].forEach(r=>{document.addEventListener(r,()=>{i(),n.abort(),window.dispatchEvent(new Event("firstInteraction"))},{once:!0,passive:!0,signal:n.signal})})});window.$firstInteraction=l;var w=(i,n,r)=>{let t=(Array.isArray(n.value)?n.value:[n.value]).reduce((e,s)=>(typeof s=="string"&&s.split(",").forEach(u=>{e.push(u)}),e),[]),o=!t.length||t.includes("lazy"),c=!o&&t.includes("eager"),d=async()=>{t.includes("interaction")&&await l,await(await i())()},a=async()=>{for(let e=0;e<t.length;e++)if(typeof t[e]=="string"&&t[e].startsWith("data:")){let s=t[e].substring(5);if(!window.$storefront?.data?.[s]){window.addEventListener(`storefront:data:${s}`,a,{once:!0});return}}if(o&&await v(r),o||t.includes("idle")){if(typeof window.requestIdleCallback=="function"){window.requestIdleCallback(d);return}setTimeout(d,100);return}d()};if(c){a();return}let f=window.$storefront?.apiContext?.doc._id||null;if(window._firstLoadContextId===f&&window._emitedContextId===f){a();return}window.addEventListener("storefront:apiContext",a,{once:!0})};(self.Astro||(self.Astro={})).sf=w;window.dispatchEvent(new Event("astro:sf"));})();
|
|
47
|
+
;(()=>{var v=Object.defineProperty;var A=(c,s,a)=>s in c?v(c,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):c[s]=a;var d=(c,s,a)=>(A(c,typeof s!="symbol"?s+"":s,a),a);var u;{let c={0:t=>m(t),1:t=>a(t),2:t=>new RegExp(t),3:t=>new Date(t),4:t=>new Map(a(t)),5:t=>new Set(a(t)),6:t=>BigInt(t),7:t=>new URL(t),8:t=>new Uint8Array(t),9:t=>new Uint16Array(t),10:t=>new Uint32Array(t)},s=t=>{let[e,n]=t;return e in c?c[e](n):void 0},a=t=>t.map(s),m=t=>typeof t!="object"||t===null?t:Object.fromEntries(Object.entries(t).map(([e,n])=>[e,s(n)]));customElements.get("astro-island")||customElements.define("astro-island",(u=class extends HTMLElement{constructor(){super(...arguments);d(this,"Component");d(this,"hydrator");d(this,"hydrate",async()=>{var f;if(!this.hydrator||!this.isConnected)return;let e=(f=this.parentElement)==null?void 0:f.closest("astro-island[ssr]");if(e){e.addEventListener("astro:hydrate",this.hydrate,{once:!0});return}let n=this.querySelectorAll("astro-slot"),r={},l=this.querySelectorAll("template[data-astro-template]");for(let o of l){let i=o.closest(this.tagName);i!=null&&i.isSameNode(this)&&(r[o.getAttribute("data-astro-template")||"default"]=o.innerHTML,o.remove())}for(let o of n){let i=o.closest(this.tagName);i!=null&&i.isSameNode(this)&&(r[o.getAttribute("name")||"default"]=o.innerHTML)}let h;try{h=this.hasAttribute("props")?m(JSON.parse(this.getAttribute("props"))):{}}catch(o){let i=this.getAttribute("component-url")||"<unknown>",b=this.getAttribute("component-export");throw b&&(i+=` (export ${b})`),console.error(`[hydrate] Error parsing props for component ${i}`,this.getAttribute("props"),o),o}let p;await this.hydrator(this)(this.Component,h,r,{client:this.getAttribute("client")}),this.removeAttribute("ssr"),this.dispatchEvent(new CustomEvent("astro:hydrate"))});d(this,"unmount",()=>{this.isConnected||this.dispatchEvent(new CustomEvent("astro:unmount"))})}disconnectedCallback(){document.removeEventListener("astro:after-swap",this.unmount),document.addEventListener("astro:after-swap",this.unmount,{once:!0})}connectedCallback(){if(!this.hasAttribute("await-children")||document.readyState==="interactive"||document.readyState==="complete")this.childrenConnectedCallback();else{let e=()=>{document.removeEventListener("DOMContentLoaded",e),n.disconnect(),this.childrenConnectedCallback()},n=new MutationObserver(()=>{var r;((r=this.lastChild)==null?void 0:r.nodeType)===Node.COMMENT_NODE&&this.lastChild.nodeValue==="astro:end"&&(this.lastChild.remove(),e())});n.observe(this,{childList:!0}),document.addEventListener("DOMContentLoaded",e)}}async childrenConnectedCallback(){let e=this.getAttribute("before-hydration-url");e&&await import(e),this.start()}async start(){let e=JSON.parse(this.getAttribute("opts")),n=this.getAttribute("client");if(Astro[n]===void 0){window.addEventListener(`astro:${n}`,()=>this.start(),{once:!0});return}try{await Astro[n](async()=>{let r=this.getAttribute("renderer-url"),[l,{default:h}]=await Promise.all([import(this.getAttribute("component-url")),r?import(r):()=>()=>{}]),p=this.getAttribute("component-export")||"default";if(!p.includes("."))this.Component=l[p];else{this.Component=l;for(let y of p.split("."))this.Component=this.Component[y]}return this.hydrator=h,this.hydrate},e,this)}catch(r){console.error(`[astro-island] Error hydrating ${this.getAttribute("component-url")}`,r)}}attributeChangedCallback(){this.hydrate()}},d(u,"observedAttributes",["props"]),u))}})();</script><astro-island uid="2c4lhG" component-url="/_astro/PitchBar.CEGsee2q.js" component-export="default" renderer-url="/_astro/client.D_V8TfA5.js" props="{"slides":[1,[[0,{"href":[0,"/promotion"],"html":[0,"Aproveite nossos descontos de até 50%!"]}],[0,{"href":[0,""],"html":[0,"<b>Frete grátis</b> <d-md>para todo Brasil</d-md> a partir de {free_shipping_from_value}"]}]]]}" ssr="" client="sf" opts="{"name":"PitchBar","value":"lazy"}" await-children=""><div class="bg-base-100 relative z-20"><div class="container mx-auto px-3 py-1 md:w-2/3"><div class="relative" data-carousel><ul class="m-0 flex snap-mandatory list-none scroll-smooth p-0 [&>*]:snap-start [&>*]:outline-none snap-x overflow-y-hidden overflow-x-scroll" style="scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;" data-carousel-wrapper><!--[--><!--[--><li class="h-full shrink-0 basis-full text-center"><a href="/promotion" class="inline-block px-8 hover:underline"><!--[--><span class="text-base-800 prose text-sm">Aproveite nossos descontos de até 50%!</span><!--]--></a></li><li class="h-full shrink-0 basis-full text-center"><span href class="inline-block px-8"><!--[--><span class="text-base-800 prose text-sm"><b>Frete grátis</b> <d-md>para todo Brasil</d-md> a partir de R$ 200,00</span><!--]--></span></li><!--]--><!--]--></ul><!--[--><div style="" class="text-base-400 text-xl leading-none"><button type="button" aria-label="Anterior" class="group absolute z-[11] left-0 top-0 bg-base-100 hover:text-base-700 pr-2" data-carousel-control="previous"><!--[--><i class="rotate-180 group-active:-translate-x-1 m-0 i-chevron-right"></i><!--]--></button><button type="button" aria-label="Próximo" class="group absolute z-[11] right-0 top-0 bg-base-100 hover:text-base-700 pl-2" data-carousel-control="next"><!--[--><i class="group-active:translate-x-1 m-0 i-chevron-right"></i><!--]--></button></div><!--]--></div></div></div><!--astro:end--></astro-island>
|
|
48
|
+
|
|
49
|
+
<script async>
|
|
50
|
+
window.$storefront.data['categories'] = [{"_id":"5c6ffa18c626be23430d4f4e","name":"Monitores","slug":"monitores","icon":{"url":"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007322374-rect836.png"}},{"_id":"5c6ffa2ac626be23430d4f50","name":"Monitores Gamer","parent":{"slug":"monitores"},"slug":"monitores-gamer","pictures":[]},{"_id":"5c6ffa45c626be23430d4f52","name":"Monitores Convencionais","parent":{"slug":"monitores"},"slug":"monitores-convencionais"},{"_id":"5c6ffa5bc626be23430d4f54","name":"Monitores TV","parent":{"slug":"monitores"},"slug":"monitores-tv"},{"_id":"5c6ffa6ec626be23430d4f56","name":"Notebooks","slug":"notebooks","icon":{"url":"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007351112-comp.png"}},{"_id":"5c6ffa8cc626be23430d4f58","name":"Notebooks gamers","parent":{"slug":"notebooks"},"slug":"notebooks-gamers"},{"_id":"5c6ffab6c626be23430d4f5c","name":"MacBook","parent":{"slug":"ultrabook"},"slug":"macbook","icon":{"url":"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1566932713325-macbook.jfif","size":"233x216"},"pictures":[{}]},{"_id":"5c7009bec626be23430d4f80","name":"Periféricos","slug":"perifericos","icon":{"url":"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007328003-keyb.png"},"pictures":[],"parent":{"slug":"fisicos"}},{"_id":"5c7009fdc626be23430d4f82","name":"Teclados","parent":{"slug":"perifericos"},"slug":"teclados"},{"_id":"5c700a11c626be23430d4f84","name":"Mouses","parent":{"slug":"perifericos"},"slug":"mouses"},{"_id":"5c700a37c626be23430d4f86","name":"Caixas de Som","parent":{"slug":"perifericos"},"slug":"caixas-de-som"},{"_id":"5c700a53c626be23430d4f88","name":"Headset","parent":{"slug":"perifericos"},"slug":"headset"},{"_id":"5c700a6bc626be23430d4f8a","name":"Cadeira Gamer","parent":{"slug":"perifericos"},"slug":"cadeira-gamer"},{"_id":"5c700a9cc626be23430d4f8c","name":"Smartphones","slug":"smartphones","icon":{"url":"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007321218-smartphone.png"}},{"_id":"5c701c9ec626be23430d4fe7","name":"Jogo","slug":"jogos/","icon":{"url":"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007332353-game.png"},"pictures":[]},{"_id":"5c701cb1c626be23430d4fe9","name":"Físicos","parent":{"slug":"jogos/"},"slug":"fisicos"},{"_id":"5c701cc6c626be23430d4feb","name":"Digitais","parent":{"slug":"jogos/"},"slug":"digitais"},{"_id":"5c701ce2c626be23430d4fed","name":"Usados","parent":{"slug":"jogos/"},"slug":"usados"},{"_id":"5ceecb3f887ef430f1f70c88","name":"Promoções","slug":"promocoes","icon":{"url":"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007326827-mony.png"},"pictures":[{}]},{"_id":"5d5714045753286eadbbdc77","name":"Ultrabook","parent":{"slug":"notebooks"},"slug":"ultrabook"},{"_id":"5f70f1417430f92180f5ba66","name":"Brasileiro"},{"_id":"5fb2b13b69274c73fcd6a051","name":"smartwatch"},{"_id":"60199592d6981740b4a030f4","name":"São Paulo","slug":"sao-paulo"},{"_id":"61de099d0c7c72722502397b","name":"MacBook Pro"},{"_id":"61de12450c7c727225025299","name":"Mac Stop"},{"_id":"6227a90a7963422eee367aaa","name":"capinhas"}];
|
|
51
|
+
window.dispatchEvent(new Event('storefront:data:categories'));</script>
|
|
52
|
+
<astro-island uid="Z2uloeb" component-url="/_astro/ShopHeader.BOLegIRO.js" component-export="default" renderer-url="/_astro/client.D_V8TfA5.js" props="{"menuCategorySlugs":[1,[]],"menuRandomCategories":[0,7],"isAlphabeticalSortSubmenu":[0,false]}" ssr="" client="sf" opts="{"name":"ShopHeader","value":"data:categories"}" await-children=""><header class="relative top-0 z-50 transition-colors bg-white py-3 sm:py-4 md:py-5"><div class="mx-auto flex w-screen grid-flow-col grid-cols-3 items-center justify-between px-1 sm:pl-2 sm:pr-2.5 md:grid lg:w-[calc(100vw-1rem)] lg:auto-cols-max lg:grid-cols-none lg:px-1 xl:max-w-[82rem] 2xl:max-w-[85rem]"><div class="basis-1/4 lg:hidden"><button class="my-1 px-2" aria-label="Abrir/fechar menu"><i class="i-bars-3-bottom-left text-base-400 animate-pulse text-3xl transition-colors"></i></button></div><!--[--><astro-slot name="logo">
|
|
53
|
+
<a href="/">
|
|
54
|
+
<h2>
|
|
55
|
+
<picture>
|
|
56
|
+
<source type="image/avif" srcset="/_astro/logo_Z1KIIl1.avif 300w" sizes="150px"><source type="image/webp" srcset="/_astro/logo_1UBsBq.webp 300w" sizes="150px"><source type="image/png" srcset="/_astro/logo_Z1K5PE9.png 300w" sizes="150px">
|
|
57
|
+
<img src="/_astro/logo_Z1K5PE9.png" alt="e-com.plus demoStore" loading="eager" decoding="async" fetchpriority="high" class="mx-auto max-w-[150px] hover:drop-shadow-sm" width="300" height="71">
|
|
58
|
+
</picture>
|
|
59
|
+
</h2>
|
|
60
|
+
</a>
|
|
61
|
+
</astro-slot><!--]--><nav class="hidden lg:block"><ul class="text-base flex gap-4 text-base-700 xl:gap-5"><!--[--><li><!--[--><!--[--><div data-headlessui-state><a href="/monitores" role="button"><!--[--><button class="outline-none" id="PopB5c6ffa18c626be23430d4f4e" type="button" aria-expanded="false" data-headlessui-state><!--[--><span class="group hover:text-primary"><h3 class="inline group-hover:underline decoration-2">Monitores</h3><i class="ml-1 text-base-400 transition-transform i-chevron-right group-hover:text-primary-subtle rotate-90"></i></span><!--]--></button><!----><!--]--></a><div class="relative"><!----></div></div><!--]--><div hidden style="position:fixed;top:1;left:1;width:1;height:0;padding:0;margin:-1;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;display:none;"></div><!--]--></li><li><!--[--><!--[--><div data-headlessui-state><a href="/notebooks" role="button"><!--[--><button class="outline-none" id="PopB5c6ffa6ec626be23430d4f56" type="button" aria-expanded="false" data-headlessui-state><!--[--><span class="group hover:text-primary"><h3 class="inline group-hover:underline decoration-2">Notebooks</h3><i class="ml-1 text-base-400 transition-transform i-chevron-right group-hover:text-primary-subtle rotate-90"></i></span><!--]--></button><!----><!--]--></a><div class="relative"><!----></div></div><!--]--><div hidden style="position:fixed;top:1;left:1;width:1;height:0;padding:0;margin:-1;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;display:none;"></div><!--]--></li><li><a href="/smartphones" class="hover:text-primary hover:underline decoration-2"><!--[--><h3 class="inline">Smartphones</h3><!--]--></a></li><li><!--[--><!--[--><div data-headlessui-state><a href="/jogos/" role="button"><!--[--><button class="outline-none" id="PopB5c701c9ec626be23430d4fe7" type="button" aria-expanded="false" data-headlessui-state><!--[--><span class="group hover:text-primary"><h3 class="inline group-hover:underline decoration-2">Jogo</h3><i class="ml-1 text-base-400 transition-transform i-chevron-right group-hover:text-primary-subtle rotate-90"></i></span><!--]--></button><!----><!--]--></a><div class="relative"><!----></div></div><!--]--><div hidden style="position:fixed;top:1;left:1;width:1;height:0;padding:0;margin:-1;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;display:none;"></div><!--]--></li><li><a href="/promocoes" class="hover:text-primary hover:underline decoration-2"><!--[--><h3 class="inline">Promoções</h3><!--]--></a></li><li><a href="/sao-paulo" class="hover:text-primary hover:underline decoration-2"><!--[--><h3 class="inline">São Paulo</h3><!--]--></a></li><!--]--></ul></nav><div class="text-base-800 flex basis-1/4 items-center justify-end gap-3 px-2 lg:gap-4"><form action="/s" method="get" class="relative"><label for="HeaderSearch" class="sr-only">Buscar produtos</label><div style="display:none;" class="absolute -right-0.5 -top-2.5 flex items-stretch"><div class="hidden w-12 bg-gradient-to-r from-transparent to-white sm:block"></div><input type="search" id="HeaderSearch" name="q" value="" class="border-1 border-primary/20 to-primary-50 w-72 max-w-md bg-gradient-to-r from-white py-3 pl-5 pr-12 text-base ring-0 md:w-screen" placeholder="Buscar produtos ..."></div><button type="submit" aria-label="Buscar produtos"><i class="i-magnifying-glass hover:text-primary size-7 hover:scale-110 active:scale-125"></i></button></form><div data-headlessui-state class="text-base-800 relative text-center text-sm hidden sm:block"><!----><a href="/app/account?" role="button"><!--[--><button id="AccountBtn" type="button" aria-haspopup="menu" aria-expanded="false" data-headlessui-state class="outline-none" aria-label="Minha conta"><!--[--><i class="i-user-circle hover:text-primary size-7 hover:scale-110 active:scale-125"></i><!--]--></button><!--]--></a><!----></div><a href="/app/" aria-label="Abrir carrinho" class="group relative" role="button"><i class="i-shopping-bag group-hover:text-primary size-7 group-hover:scale-110 group-active:scale-125"></i><!----></a></div></div><!----><!----><!----></header><!--astro:end--></astro-island>
|
|
62
|
+
<main>
|
|
63
|
+
<article class="mx-auto px-8 pb-32 pt-20 prose">
|
|
64
|
+
<h1>Erro :/</h1>
|
|
65
|
+
<p class="hidden text-xl" id="errorMsg">
|
|
66
|
+
Ocorreu um erro, tente novamente ou entre em contato conosco.
|
|
67
|
+
</p>
|
|
68
|
+
<p class="hidden text-xl" id="404Msg">
|
|
69
|
+
Não encontrado (404)
|
|
70
|
+
</p>
|
|
71
|
+
|
|
72
|
+
<p class="text-xl" id="loadingMsg">
|
|
73
|
+
... ... ...
|
|
74
|
+
</p>
|
|
75
|
+
|
|
76
|
+
<a href="/" class="text-2xl">
|
|
77
|
+
<i class="mr-1 rotate-180 i-arrow-right"></i>
|
|
78
|
+
Início
|
|
79
|
+
</a>
|
|
80
|
+
</article>
|
|
81
|
+
|
|
82
|
+
<script>
|
|
83
|
+
const msgId = window.location.search.includes('status=404')
|
|
84
|
+
? '404Msg' : '5xxMsg';
|
|
85
|
+
document.getElementById(msgId)!.style.display = 'block';
|
|
86
|
+
document.getElementById('loadingMsg')!.style.display = 'none';
|
|
87
|
+
</script>
|
|
88
|
+
|
|
89
|
+
</main>
|
|
90
|
+
<footer class="mt-auto w-screen border-t border-base-100 bg-base-50 py-2"><div class="ui-section"><div class="flex flex-wrap justify-between gap-y-5 border-b border-base-200 pb-7 sm:gap-x-10 lg:flex-nowrap"><div class="shrink"><!--[-->
|
|
91
|
+
<a href="/">
|
|
92
|
+
<h4>
|
|
93
|
+
<picture>
|
|
94
|
+
<source type="image/avif" srcset="/_astro/logo_Z1KIIl1.avif 300w" sizes="150px"><source type="image/webp" srcset="/_astro/logo_1UBsBq.webp 300w" sizes="150px"><source type="image/png" srcset="/_astro/logo_Z1K5PE9.png 300w" sizes="150px">
|
|
95
|
+
<img src="/_astro/logo_Z1K5PE9.png" alt="e-com.plus demoStore" loading="lazy" decoding="async" class="max-w-[150px]" width="300" height="71">
|
|
96
|
+
</picture>
|
|
97
|
+
</h4>
|
|
98
|
+
</a>
|
|
99
|
+
<!--]--><div class="prose"><p>e-com.plus é a plataforma de e-commerce API-first desenhada para modelos de negócio e experiências de compra únicas. Flexibilidade do código aberto com facilidade de SaaS para que você comece rápido, venda do seu jeito e escale sem limitações.</p></div><div class="flex gap-2 text-base-500"><!--[--><!--]--></div><!----></div><div class="basis-1/2 pr-2 sm:basis-auto sm:pr-0"><div class="mb-2.5 text-lg font-medium">Categorias</div><ul class="space-y-1.5 text-sm"><!--[--><li><a href="/monitores" class="block text-base-600 ui-link md:truncate">Monitores</a></li><li><a href="/notebooks" class="block text-base-600 ui-link md:truncate">Notebooks</a></li><li><a href="/smartphones" class="block text-base-600 ui-link md:truncate">Smartphones</a></li><li><a href="/jogos/" class="block text-base-600 ui-link md:truncate">Jogo</a></li><li><a href="/promocoes" class="block text-base-600 ui-link md:truncate">Promoções</a></li><li><a href="/sao-paulo" class="block text-base-600 ui-link md:truncate">São Paulo</a></li><!--]--><li><a href="/s" class="text-base-900 ui-link">Todos os produtos</a></li></ul></div><div class="basis-1/2 pl-2 sm:basis-auto sm:pl-0"><div class="mb-2.5 text-lg font-medium">Institucional</div><ul class="space-y-1.5 text-sm"><!--[--><li><a href="/p/contato" class="block ui-link md:truncate text-base-600"><!--[-->Contato<!--]--></a></li><li><a href="/p/terms" class="block ui-link md:truncate text-base-600"><!--[-->Privacidade e termos de serviço<!--]--></a></li><li><a href="/p/trocas" class="block ui-link md:truncate text-base-600"><!--[-->Trocas e devoluções<!--]--></a></li><li><a href="/blog/1/" class="block ui-link md:truncate text-base-900 font-semibold"><!--[-->Blog<!--]--></a></li><!--]--></ul></div></div></div><div class="ui-section"><div class="flex flex-wrap items-start justify-between gap-5 lg:flex-nowrap"><ul class="mx-auto flex items-center gap-x-6 gap-y-3 overflow-x-auto md:mx-0 md:flex-wrap md:overflow-hidden lg:gap-x-8"><!--[--><li><a href="/p/trocas"><!--[--><!--[--><!--]--><span class="flex items-center"><span class="[&>*]:from-success-200 [&>*]:to-success-700 mr-2 text-4xl [&>*]:bg-gradient-to-br"><i class="i-arrow-path-rounded-square"></i></span><span class="text-base-600 max-w-[140px] text-sm font-medium">Troca garantida <!----></span></span><!--]--></a></li><li><a href="https://transparencyreport.google.com/safe-browsing/search?url=demo.ecomplus.app&ref=demo.ecomplus.app" target="_blank" rel="noopener"><!--[--><!--[--><!--]--><span class="flex items-center"><span class="[&>*]:from-success-200 [&>*]:to-success-700 mr-2 text-4xl [&>*]:bg-gradient-to-br"><i class="i-check-badge"></i></span><span class="text-base-600 max-w-[140px] text-sm font-medium">Google Navegação Segura <i class="bg-base-400 i-arrow-top-right-on-square ml-0.5"></i></span></span><!--]--></a></li><li><span href><!--[--><!--[--><!--]--><span class="flex items-center"><span class="[&>*]:from-success-200 [&>*]:to-success-700 mr-2 text-4xl [&>*]:bg-gradient-to-br"><i class="i-lock-closed"></i></span><span class="text-base-600 max-w-[140px] text-sm font-medium">Conexão SSL <!----></span></span><!--]--></span></li><!--]--></ul><div class="mx-auto flex flex-wrap items-center justify-end gap-4 overflow-x-auto text-2xl md:mx-0 md:flex-nowrap md:overflow-hidden"><!--[--><i class="i-pix text-[#77B6A8]"></i><i class="i-visa"></i><i class="i-mastercard"></i><i class="i-elo"></i><i class="i-amex"></i><i class="i-hipercard"></i><b class="mb-1 text-[57%] leading-none tracking-tighter text-black">boleto</b><!--]--></div></div><div class="mt-7 justify-between gap-4 text-center text-xs md:flex md:text-left"><div class="mb-3 md:mb-0"> @ 2024 / </div><a href="https://www.ecomplus.io/?ref=demo.ecomplus.app" target="_blank" rel="noopener" class="italic text-[#37003c]"><!--[--> powered by <b>e-com.plus</b><!--]--></a></div></div></footer>
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
<div id="teleported-bottom" class="relative z-[19]"></div>
|
|
107
|
+
<picture data-alt="Icon" class="absolute hidden" style="bottom: -1000px">
|
|
108
|
+
<source type="image/png" srcset="/_astro/ecom-icon_t3guw.png 32w,/_astro/ecom-icon_12falx.png 192w,/_astro/ecom-icon_15pqnO.png 512w" sizes="32px">
|
|
109
|
+
|
|
110
|
+
</picture>
|
|
111
|
+
</body>
|
|
112
|
+
</html>
|