cloudcommerce 0.0.132 → 0.0.133

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.
Files changed (44) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +1 -1
  3. package/packages/api/package.json +1 -1
  4. package/packages/apps/correios/package.json +1 -1
  5. package/packages/apps/custom-shipping/package.json +1 -1
  6. package/packages/apps/discounts/package.json +1 -1
  7. package/packages/apps/emails/package.json +1 -1
  8. package/packages/apps/frenet/package.json +1 -1
  9. package/packages/apps/infinitepay/package.json +1 -1
  10. package/packages/apps/mercadopago/package.json +1 -1
  11. package/packages/apps/pagarme/package.json +1 -1
  12. package/packages/apps/pix/package.json +1 -1
  13. package/packages/apps/tiny-erp/package.json +1 -1
  14. package/packages/cli/package.json +1 -1
  15. package/packages/config/package.json +1 -1
  16. package/packages/emails/package.json +1 -1
  17. package/packages/events/package.json +1 -1
  18. package/packages/firebase/package.json +1 -1
  19. package/packages/i18n/package.json +1 -1
  20. package/packages/modules/package.json +1 -1
  21. package/packages/passport/package.json +1 -1
  22. package/packages/ssr/package.json +1 -1
  23. package/packages/storefront/.eslintrc.cjs +0 -15
  24. package/packages/storefront/astro.config.mjs +0 -27
  25. package/packages/storefront/dist/client/{HeaderButtons.94982284.js → HeaderButtons.1968a9ac.js} +1 -1
  26. package/packages/storefront/dist/client/Price.c4aab3ea.js +1 -0
  27. package/packages/storefront/dist/client/chunks/{HeaderButtons.e59228e7.js → HeaderButtons.5a0e371e.js} +1 -1
  28. package/packages/storefront/dist/client/chunks/{LoginForm.a9f55240.js → LoginForm.83fec3a1.js} +1 -1
  29. package/packages/storefront/dist/client/sw.js +1 -1
  30. package/packages/storefront/dist/server/entry.mjs +12 -13
  31. package/packages/storefront/package.json +1 -3
  32. package/packages/storefront/src/lib/components/Price/PriceCashback.vue +1 -0
  33. package/packages/storefront/src/lib/components/Price/PriceCompare.vue +1 -0
  34. package/packages/storefront/src/lib/components/Price/PriceDiscountLabel.vue +1 -0
  35. package/packages/storefront/src/lib/components/Price/PriceInstallments.vue +1 -0
  36. package/packages/storefront/src/lib/components/Price/PriceSale.vue +1 -0
  37. package/packages/storefront/src/lib/components/Price/PriceWithDiscount.vue +1 -0
  38. package/packages/storefront/src/lib/components/Price.vue +2 -0
  39. package/packages/storefront/src/vue-globals.d.ts +2 -6
  40. package/packages/types/package.json +1 -1
  41. package/packages/storefront/.eslintrc-auto-import.json +0 -261
  42. package/packages/storefront/dist/client/Price.80648526.js +0 -1
  43. package/packages/storefront/src/auto-imports.d.ts +0 -261
  44. package/packages/storefront/src/components.d.ts +0 -27
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.0.133](https://github.com/ecomplus/cloud-commerce/compare/v0.0.132...v0.0.133) (2022-12-12)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **storefront:** Problems with Vite auto imports and Astro SSR, removing ([e0dea76](https://github.com/ecomplus/cloud-commerce/commit/e0dea7644158ce1ffea15607629d86e0ebded727))
11
+
5
12
  ### [0.0.132](https://github.com/ecomplus/cloud-commerce/compare/v0.0.131...v0.0.132) (2022-12-12)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloudcommerce",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "Open fair-code headless commerce platform: API-first, microservices based, event driven and cloud native",
6
6
  "main": "packages/api/lib/index.js",
7
7
  "author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-correios",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce app for Correios shipping calculation",
6
6
  "main": "lib/correios.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-custom-shipping",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce app for custom shipping methods",
6
6
  "main": "lib/custom-shipping.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-discounts",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce app for complex discount rules",
6
6
  "main": "lib/discounts.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-emails",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce default transactional email app",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-frenet",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce app for Frenet shipping calculation",
6
6
  "main": "lib/frenet.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-infinitepay",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate InfinitePay",
6
6
  "main": "lib/infinitepay.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-mercadopago",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Mercado Pago",
6
6
  "main": "lib/mercadopago.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pagarme",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pagar.me",
6
6
  "main": "lib/pagarme.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pix",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pix API (Bacen)",
6
6
  "main": "lib/pix.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-tiny-erp",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce app for Tiny ERP",
6
6
  "main": "lib/tiny-erp.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce CLI tools",
6
6
  "bin": {
7
7
  "cloudcommerce": "./bin/run.mjs"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/config",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce base config",
6
6
  "main": "lib/config.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/emails",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/events",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce app events",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/firebase",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce on Firebase",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/i18n",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce i18n",
6
6
  "main": "lib/all.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/modules",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce modules API",
6
6
  "main": "lib/index.cjs",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/passport",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce customers authentication (passport) API",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/ssr",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce storefront SSR",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -10,19 +10,4 @@ module.exports = {
10
10
  ignores: ['Price'],
11
11
  }],
12
12
  },
13
- ignorePatterns: [
14
- 'auto-imports.d.ts',
15
- 'components.d.ts',
16
- ],
17
- overrides: [{
18
- files: [
19
- 'src/**/*.vue',
20
- 'src/**/*.astro',
21
- ],
22
- extends: './.eslintrc-auto-import.json',
23
- globals: {
24
- Ref: true,
25
- ComputedRef: true,
26
- },
27
- }],
28
13
  };
@@ -8,14 +8,7 @@ import image from '@astrojs/image';
8
8
  import partytown from '@astrojs/partytown';
9
9
  import prefetch from '@astrojs/prefetch';
10
10
  import UnoCSS from 'unocss/astro';
11
- import AutoImport from 'unplugin-auto-import/astro';
12
11
  import { VitePWA } from 'vite-plugin-pwa';
13
- import Components from 'unplugin-vue-components/vite';
14
- import {
15
- HeadlessUiResolver,
16
- VueUseComponentsResolver,
17
- VueUseDirectiveResolver,
18
- } from 'unplugin-vue-components/resolvers';
19
12
  import dictionaryDir from '@cloudcommerce/i18n/lib/dirname';
20
13
  import getConfig from './storefront.config.mjs';
21
14
 
@@ -165,17 +158,6 @@ const genAstroConfig = ({
165
158
  injectReset: false,
166
159
  injectEntry: false,
167
160
  }),
168
- AutoImport({
169
- include: [/\.vue$/, /\.vue\?vue/],
170
- imports: [
171
- 'vue',
172
- '@vueuse/core',
173
- ],
174
- dts: 'src/auto-imports.d.ts',
175
- eslintrc: {
176
- enabled: true,
177
- },
178
- }),
179
161
  ],
180
162
  site,
181
163
  vite: {
@@ -199,15 +181,6 @@ const genAstroConfig = ({
199
181
  });
200
182
  },
201
183
  },
202
- Components({
203
- dts: 'src/components.d.ts',
204
- dirs: [localComponentsDir, libComponentsDir],
205
- resolvers: [
206
- HeadlessUiResolver(),
207
- VueUseComponentsResolver(),
208
- VueUseDirectiveResolver(),
209
- ],
210
- }),
211
184
  ],
212
185
  resolve: {
213
186
  preserveSymlinks: lstatSync(localComponentsDir).isSymbolicLink(),
@@ -1 +1 @@
1
- import{_ as a}from"./chunks/HeaderButtons.e59228e7.js";import"./chunks/preload-helper.1de719f8.js";import"./chunks/runtime-dom.esm-bundler.7a999c6c.js";import"./chunks/runtime-core.esm-bundler.4dae6bc1.js";/* empty css */export{a as default};
1
+ import{_ as a}from"./chunks/HeaderButtons.5a0e371e.js";import"./chunks/preload-helper.1de719f8.js";import"./chunks/runtime-dom.esm-bundler.7a999c6c.js";import"./chunks/runtime-core.esm-bundler.4dae6bc1.js";/* empty css */export{a as default};
@@ -0,0 +1 @@
1
+ import{u as d}from"./chunks/session-utm.2de8b604.js";import{r as S,d as g,o as b,c as v,t as f,u as x,g as I,a as h,b as D,e as O,f as P}from"./chunks/runtime-core.esm-bundler.4dae6bc1.js";import{g as w}from"./chunks/price.130e6005.js";import"./chunks/ecom-utils.b0a26608.js";const C=(i,o,a=1e4)=>{let c,l;a&&(c=new AbortController,l=setTimeout(()=>{c.abort()},a)),o?.body&&typeof o.body=="object"&&(o.body=JSON.stringify(o.body),o.headers={...o.headers,"Content-Type":"application/json","Content-Length":o.body.length.toString()});const p=fetch(i,{...o,signal:c?.signal});return p.finally(()=>{l&&clearTimeout(l)}),p},N={list_payments:{},calculate_shipping:{},apply_discount:{}},y=S(N);{const i="MODULES_INFO",o=sessionStorage.getItem(i);let a;if(o)try{a=JSON.parse(o),a.__timestamp<Date.now()-1e3*60*5&&(a=null,sessionStorage.removeItem(i)),delete a.__timestamp}catch{sessionStorage.removeItem(i)}if(a?.list_payments)Object.assign(y,a);else{const c=[{modName:"list_payments"},{modName:"calculate_shipping"}];Object.keys(d).length&&c.push({modName:"apply_discount",reqOptions:{method:"post",body:{utm:d}}}),c.forEach(({modName:l,reqOptions:p})=>{C(`/api/modules/${l}`,p).then(async n=>{if(n.ok){const t={};y[l]=t;const{result:m}=await n.json();Array.isArray(m)&&m.forEach(({error:u,response:r})=>{if(!u){let e,s;switch(l){case"calculate_shipping":e="free_shipping_from_value",s=r[e],typeof s=="number"&&(t[e]===void 0||s<t[e])&&(t[e]=s);break;case"list_payments":e="installments_option",s=r[e],s&&(!t[e]||s.monthly_interest<t[e].monthly_interest||s.max_number>t[e].max_number)&&(t[e]=s),e="discount_option",s=r[e],s&&(!t[e]||s.value>t[e].value)&&r.payment_gateways.forEach(({discount:_})=>{_&&_.apply_at!=="freight"&&_.value===s.value&&(t[e]={apply_at:_.apply_at,...s})}),e="loyalty_points_programs",s=r[e],s&&(t[e]={...t[e],...s});break;default:e="available_extra_discount",s=r[e],s&&(!t[e]||s.value>t[e].value)&&(t[e]=s)}}}),sessionStorage.setItem(i,JSON.stringify({...y,__timestamp:Date.now()}))}}).catch(console.error)})}}const k={class:"price-sale"},j=g({__name:"PriceSale",setup(i){const a=I().parent.exposed.salePrice;return(c,l)=>(b(),v("div",k,f(x(a)),1))}}),E={class:"price"},L=g({__name:"Price",props:{product:null,price:null,basePrice:null},setup(i,{expose:o}){const a=i,c=(n,t)=>{const{type:m,value:u}=t;let r;return u?(m==="percentage"?r=n*((100-u)/100):r=n-u,r>0?r:0):n},l=h(()=>y.apply_discount.available_extra_discount),p=h(()=>{const n=a.price||w(a.product),t=l.value;return t&&(!t.min_amount||n>t.min_amount)?c(n,t):n});return o({salePrice:p}),(n,t)=>(b(),v("div",E,[D(f("De")+" "+f("Por".toLowerCase())+" "+f(i.price)+" ",1),O(n.$slots,"default",{},()=>[P(j)])]))}});export{L as default};
@@ -1 +1 @@
1
- import{_ as x}from"./preload-helper.1de719f8.js";import{T as D,w as M,u as P}from"./runtime-dom.esm-bundler.7a999c6c.js";import{d as L,h as k,w as T,i as B,a as O,o as i,c,f,j as p,n as R,k as n,u as d,e as l,l as A,m as j,p as $,q as V,F as y,t as C,s as H}from"./runtime-core.esm-bundler.4dae6bc1.js";/* empty css */const me="Acessar minha conta",I="Fechar",fe="Criar uma conta",pe="Entrar com senha",he="Ol\xE1",ve="Esqueci minha senha",N="Minha conta",S="Minha conta e pedidos",q="Meus pedidos",z="Abrir carrinho",_e="Senha",ge="Enviar c\xF3digo de acesso por e-mail",ke="Cadastrar",ye="Visitante",W=["open"],G=["aria-label","onClick"],J=L({__name:"ADrawer",props:{modelValue:{type:Boolean,default:!1},placement:{default:"end"}},emits:["update:modelValue"],setup(e,{emit:o}){const s=e;P(t=>({"23c6d983":d(m)}));const r=()=>o("update:modelValue",!1),u=k(null),_=k(null),h=t=>{_.value?.contains(t.target)||r()},g=t=>{t.key==="Escape"&&r()};T(B(s,"modelValue"),async t=>{const a=u.value.closest('[class*="backdrop-"]');t?(document.body.style.overflow="hidden",a&&(a.style.backdropFilter="none"),setTimeout(()=>{document.addEventListener("click",h,{passive:!0}),document.addEventListener("keydown",g,{passive:!0})},500)):(document.body.style.overflow=null,a&&setTimeout(()=>{a.style.backdropFilter=null},500),document.removeEventListener("click",h),document.removeEventListener("keydown",g))});const m=O(()=>s.placement==="end"?"100%":"-100%");return(t,a)=>(i(),c("div",{ref_key:"container",ref:u},[f(D,null,{default:p(()=>[e.modelValue?(i(),c("dialog",{key:0,class:R(["drawer p-0",e.placement==="end"?"justify-end":"justify-start"]),open:e.modelValue},[n("article",{ref_key:"article",ref:_,class:"card rounded-none h-full max-h-screen m-0"},[n("a",{href:"#close","aria-label":d(I),class:"close","data-target":"modal-example",onClick:M(r,["prevent"])},null,8,G),l(t.$slots,"default",{},void 0,!0)],512)],10,W)):A("",!0)]),_:3})],512))}}),E=(e,o)=>{const s=e.__vccOpts||e;for(const[r,u]of o)s[r]=u;return s},K=E(J,[["__scopeId","data-v-30d58250"]]),Q={class:"login-drawer"},X={class:"w-80"},Y=n("hr",null,null,-1),Z=["href"],ee=["href"],te=["href","target","rel","innerHTML"],ne=L({__name:"LoginDrawer",props:{accountUrl:{default:"/app/account"},additionalLinks:{default:()=>[]}},setup(e){const o=k(!1);let s,r;const u=new Promise((t,a)=>{s=t,r=a}),_=j(()=>u);let h=!1;const g=t=>{h||(h=!0,x(()=>import("./LoginForm.a9f55240.js"),["chunks/LoginForm.a9f55240.js","chunks/runtime-dom.esm-bundler.7a999c6c.js","chunks/runtime-core.esm-bundler.4dae6bc1.js","chunks/ecom-utils.b0a26608.js","chunks/preload-helper.1de719f8.js"]).then(s).catch(r)),o.value=!o.value,t.preventDefault()},m=k(!1);return(t,a)=>(i(),c("div",Q,[n("div",{onClick:g},[l(t.$slots,"toggle",$(V({isVisible:o.value})))]),f(K,{modelValue:o.value,"onUpdate:modelValue":a[2]||(a[2]=v=>o.value=v)},{default:p(()=>[l(t.$slots,"form",{},()=>[n("div",X,[f(d(_),{onLogin:a[0]||(a[0]=v=>m.value=!0),onLogout:a[1]||(a[1]=v=>m.value=!1)},{"button-content":p(()=>[l(t.$slots,"form-button-content")]),_:3})])]),l(t.$slots,"nav",$(V({isLogged:m.value})),()=>[Y,n("aside",null,[n("nav",null,[n("ul",null,[m.value?(i(),c(y,{key:0},[n("li",null,[n("a",{href:`${e.accountUrl}/#/orders`},C(d(q)),9,Z)]),n("li",null,[n("a",{href:e.accountUrl},C(d(N)),9,ee)])],64)):A("",!0),(i(!0),c(y,null,H(e.additionalLinks,({href:v,isBlank:w,innerHTML:F},U)=>(i(),c("li",{key:U},[n("a",{href:v,target:w?"_blank":null,rel:w?"noopener":null,innerHTML:F},null,8,te)]))),128))])])])])]),_:3},8,["modelValue"])]))}}),oe={},ae={class:"text-2xl text-gray-accent hover:text-primary no-underline ml-2"};function se(e,o){return i(),c("a",ae,[l(e.$slots,"default")])}const b=E(oe,[["render",se]]),le=n("div",{class:"i-user-circle"},null,-1),re=n("div",{class:"i-shopping-cart"},null,-1),Le=L({__name:"HeaderButtons",props:{accountUrl:{default:"/app/account"},cartUrl:{default:"/app/#/cart"},loginDrawerAdditionalLinks:null},setup(e){return(o,s)=>(i(),c(y,null,[l(o.$slots,"account",{},()=>[f(ne,{"account-url":e.accountUrl,"additional-links":e.loginDrawerAdditionalLinks},{toggle:p(()=>[f(b,{href:e.accountUrl,title:d(S)},{default:p(()=>[le]),_:1},8,["href","title"])]),_:1},8,["account-url","additional-links"])]),l(o.$slots,"default"),l(o.$slots,"cart",{},()=>[f(b,{href:e.cartUrl,title:d(z)},{default:p(()=>[re]),_:1},8,["href","title"])])],64))}});export{Le as _,ye as a,ge as b,_e as c,pe as d,ve as e,ke as f,me as g,fe as h,he as i};
1
+ import{_ as x}from"./preload-helper.1de719f8.js";import{T as D,w as M,u as P}from"./runtime-dom.esm-bundler.7a999c6c.js";import{d as L,h as k,w as T,i as B,a as O,o as i,c,f,j as p,n as R,k as n,u as d,e as l,l as A,m as j,p as $,q as V,F as y,t as C,s as H}from"./runtime-core.esm-bundler.4dae6bc1.js";/* empty css */const me="Acessar minha conta",I="Fechar",fe="Criar uma conta",pe="Entrar com senha",he="Ol\xE1",ve="Esqueci minha senha",N="Minha conta",S="Minha conta e pedidos",q="Meus pedidos",z="Abrir carrinho",_e="Senha",ge="Enviar c\xF3digo de acesso por e-mail",ke="Cadastrar",ye="Visitante",W=["open"],G=["aria-label","onClick"],J=L({__name:"ADrawer",props:{modelValue:{type:Boolean,default:!1},placement:{default:"end"}},emits:["update:modelValue"],setup(e,{emit:o}){const s=e;P(t=>({"23c6d983":d(m)}));const r=()=>o("update:modelValue",!1),u=k(null),_=k(null),h=t=>{_.value?.contains(t.target)||r()},g=t=>{t.key==="Escape"&&r()};T(B(s,"modelValue"),async t=>{const a=u.value.closest('[class*="backdrop-"]');t?(document.body.style.overflow="hidden",a&&(a.style.backdropFilter="none"),setTimeout(()=>{document.addEventListener("click",h,{passive:!0}),document.addEventListener("keydown",g,{passive:!0})},500)):(document.body.style.overflow=null,a&&setTimeout(()=>{a.style.backdropFilter=null},500),document.removeEventListener("click",h),document.removeEventListener("keydown",g))});const m=O(()=>s.placement==="end"?"100%":"-100%");return(t,a)=>(i(),c("div",{ref_key:"container",ref:u},[f(D,null,{default:p(()=>[e.modelValue?(i(),c("dialog",{key:0,class:R(["drawer p-0",e.placement==="end"?"justify-end":"justify-start"]),open:e.modelValue},[n("article",{ref_key:"article",ref:_,class:"card rounded-none h-full max-h-screen m-0"},[n("a",{href:"#close","aria-label":d(I),class:"close","data-target":"modal-example",onClick:M(r,["prevent"])},null,8,G),l(t.$slots,"default",{},void 0,!0)],512)],10,W)):A("",!0)]),_:3})],512))}}),E=(e,o)=>{const s=e.__vccOpts||e;for(const[r,u]of o)s[r]=u;return s},K=E(J,[["__scopeId","data-v-30d58250"]]),Q={class:"login-drawer"},X={class:"w-80"},Y=n("hr",null,null,-1),Z=["href"],ee=["href"],te=["href","target","rel","innerHTML"],ne=L({__name:"LoginDrawer",props:{accountUrl:{default:"/app/account"},additionalLinks:{default:()=>[]}},setup(e){const o=k(!1);let s,r;const u=new Promise((t,a)=>{s=t,r=a}),_=j(()=>u);let h=!1;const g=t=>{h||(h=!0,x(()=>import("./LoginForm.83fec3a1.js"),["chunks/LoginForm.83fec3a1.js","chunks/runtime-dom.esm-bundler.7a999c6c.js","chunks/runtime-core.esm-bundler.4dae6bc1.js","chunks/ecom-utils.b0a26608.js","chunks/preload-helper.1de719f8.js"]).then(s).catch(r)),o.value=!o.value,t.preventDefault()},m=k(!1);return(t,a)=>(i(),c("div",Q,[n("div",{onClick:g},[l(t.$slots,"toggle",$(V({isVisible:o.value})))]),f(K,{modelValue:o.value,"onUpdate:modelValue":a[2]||(a[2]=v=>o.value=v)},{default:p(()=>[l(t.$slots,"form",{},()=>[n("div",X,[f(d(_),{onLogin:a[0]||(a[0]=v=>m.value=!0),onLogout:a[1]||(a[1]=v=>m.value=!1)},{"button-content":p(()=>[l(t.$slots,"form-button-content")]),_:3})])]),l(t.$slots,"nav",$(V({isLogged:m.value})),()=>[Y,n("aside",null,[n("nav",null,[n("ul",null,[m.value?(i(),c(y,{key:0},[n("li",null,[n("a",{href:`${e.accountUrl}/#/orders`},C(d(q)),9,Z)]),n("li",null,[n("a",{href:e.accountUrl},C(d(N)),9,ee)])],64)):A("",!0),(i(!0),c(y,null,H(e.additionalLinks,({href:v,isBlank:w,innerHTML:F},U)=>(i(),c("li",{key:U},[n("a",{href:v,target:w?"_blank":null,rel:w?"noopener":null,innerHTML:F},null,8,te)]))),128))])])])])]),_:3},8,["modelValue"])]))}}),oe={},ae={class:"text-2xl text-gray-accent hover:text-primary no-underline ml-2"};function se(e,o){return i(),c("a",ae,[l(e.$slots,"default")])}const b=E(oe,[["render",se]]),le=n("div",{class:"i-user-circle"},null,-1),re=n("div",{class:"i-shopping-cart"},null,-1),Le=L({__name:"HeaderButtons",props:{accountUrl:{default:"/app/account"},cartUrl:{default:"/app/#/cart"},loginDrawerAdditionalLinks:null},setup(e){return(o,s)=>(i(),c(y,null,[l(o.$slots,"account",{},()=>[f(ne,{"account-url":e.accountUrl,"additional-links":e.loginDrawerAdditionalLinks},{toggle:p(()=>[f(b,{href:e.accountUrl,title:d(S)},{default:p(()=>[le]),_:1},8,["href","title"])]),_:1},8,["account-url","additional-links"])]),l(o.$slots,"default"),l(o.$slots,"cart",{},()=>[f(b,{href:e.cartUrl,title:d(z)},{default:p(()=>[re]),_:1},8,["href","title"])])],64))}});export{Le as _,ye as a,ge as b,_e as c,pe as d,ve as e,ke as f,me as g,fe as h,he as i};
@@ -1,4 +1,4 @@
1
- import{v as bt,b as Jn,w as $e}from"./runtime-dom.esm-bundler.7a999c6c.js";import{i as Yn,a as Xn,b as Qn,c as Zn,d as er,e as tr,f as nr,g as wt,h as rr}from"./HeaderButtons.e59228e7.js";import{r as ir,w as Qe,a as de,d as sr,h as He,o as Ve,c as je,e as Et,k as $,t as ne,u as v,p as Tt,q as St,l as kt,U as We,V as or,b as ar,F as cr}from"./runtime-core.esm-bundler.4dae6bc1.js";import"./ecom-utils.b0a26608.js";import"./preload-helper.1de719f8.js";/* empty css */const lr=n=>{if(n){if(n.display_name)return n.display_name;if(n.name&&n.name.given_name)return n.name.given_name}return""},ur=lr;/**
1
+ import{v as bt,b as Jn,w as $e}from"./runtime-dom.esm-bundler.7a999c6c.js";import{i as Yn,a as Xn,b as Qn,c as Zn,d as er,e as tr,f as nr,g as wt,h as rr}from"./HeaderButtons.5a0e371e.js";import{r as ir,w as Qe,a as de,d as sr,h as He,o as Ve,c as je,e as Et,k as $,t as ne,u as v,p as Tt,q as St,l as kt,U as We,V as or,b as ar,F as cr}from"./runtime-core.esm-bundler.4dae6bc1.js";import"./ecom-utils.b0a26608.js";import"./preload-helper.1de719f8.js";/* empty css */const lr=n=>{if(n){if(n.display_name)return n.display_name;if(n.name&&n.name.given_name)return n.name.given_name}return""},ur=lr;/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  *
@@ -1 +1 @@
1
- if(!self.define){let e,s={};const n=(n,r)=>(n=new URL(n+".js",r).href,s[n]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=s,document.head.appendChild(e)}else e=n,importScripts(n),s()})).then((()=>{let e=s[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(r,i)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let u={};const l=e=>n(e,o),a={module:{uri:o},exports:u,require:l};s[o]=Promise.all(r.map((e=>a[e]||l(e)))).then((e=>(i(...e),u)))}}define(["./workbox-abdc68aa"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"chunks/ecom-utils.b0a26608.js",revision:null},{url:"chunks/HeaderButtons.e59228e7.js",revision:null},{url:"chunks/LoginForm.a9f55240.js",revision:null},{url:"chunks/preload-helper.1de719f8.js",revision:null},{url:"chunks/price.130e6005.js",revision:null},{url:"chunks/runtime-core.esm-bundler.4dae6bc1.js",revision:null},{url:"chunks/runtime-dom.esm-bundler.7a999c6c.js",revision:null},{url:"chunks/session-utm.2de8b604.js",revision:null},{url:"chunks/workbox-window.prod.es5.10f2e5ac.js",revision:null},{url:"client.79a40b9d.js",revision:null},{url:"HeaderButtons.94982284.js",revision:null},{url:"hoisted.cce93d56.js",revision:null},{url:"page.5a6f3db5.js",revision:null},{url:"Price.80648526.js",revision:null},{url:"img/uploads/large-icon.png",revision:"0b35db516cfa7475b1c2f8c081e8d54d"},{url:"manifest.webmanifest",revision:"6a858866b0560997f368e27ab5418e15"}],{ignoreURLParametersMatching:[/.*/]}),e.cleanupOutdatedCaches(),e.registerRoute(/^\/$/,new e.NetworkFirst,"GET"),e.registerRoute(/\/((?!(?:admin|assets|img)(\/|$))[^.]+)(\.(?!js|css|xml|txt|png|jpg|jpeg|webp|avif|svg|gif)[^.]+)*$/,new e.NetworkFirst({cacheName:"pages",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/assets\//,new e.StaleWhileRevalidate({cacheName:"assets",plugins:[]}),"GET"),e.registerRoute(/^\/_image$/,new e.StaleWhileRevalidate({cacheName:"sharp-images",plugins:[new e.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/img\/uploads\/.*\.(?:png|jpg|jpeg|webp|avif|svg|gif)$/,new e.StaleWhileRevalidate({cacheName:"cms-images",plugins:[new e.ExpirationPlugin({maxEntries:20,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/ecomplus\.io/,new e.NetworkFirst({cacheName:"store-api",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/normal\//,new e.CacheFirst({cacheName:"product-thumbnails",plugins:[new e.ExpirationPlugin({maxEntries:100,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/big\//,new e.CacheFirst({cacheName:"product-pictures",plugins:[new e.ExpirationPlugin({maxEntries:10,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET")}));
1
+ if(!self.define){let e,s={};const n=(n,r)=>(n=new URL(n+".js",r).href,s[n]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=s,document.head.appendChild(e)}else e=n,importScripts(n),s()})).then((()=>{let e=s[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(r,i)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let u={};const a=e=>n(e,o),l={module:{uri:o},exports:u,require:a};s[o]=Promise.all(r.map((e=>l[e]||a(e)))).then((e=>(i(...e),u)))}}define(["./workbox-abdc68aa"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"chunks/ecom-utils.b0a26608.js",revision:null},{url:"chunks/HeaderButtons.5a0e371e.js",revision:null},{url:"chunks/LoginForm.83fec3a1.js",revision:null},{url:"chunks/preload-helper.1de719f8.js",revision:null},{url:"chunks/price.130e6005.js",revision:null},{url:"chunks/runtime-core.esm-bundler.4dae6bc1.js",revision:null},{url:"chunks/runtime-dom.esm-bundler.7a999c6c.js",revision:null},{url:"chunks/session-utm.2de8b604.js",revision:null},{url:"chunks/workbox-window.prod.es5.10f2e5ac.js",revision:null},{url:"client.79a40b9d.js",revision:null},{url:"HeaderButtons.1968a9ac.js",revision:null},{url:"hoisted.cce93d56.js",revision:null},{url:"page.5a6f3db5.js",revision:null},{url:"Price.c4aab3ea.js",revision:null},{url:"img/uploads/large-icon.png",revision:"0b35db516cfa7475b1c2f8c081e8d54d"},{url:"manifest.webmanifest",revision:"6a858866b0560997f368e27ab5418e15"}],{ignoreURLParametersMatching:[/.*/]}),e.cleanupOutdatedCaches(),e.registerRoute(/^\/$/,new e.NetworkFirst,"GET"),e.registerRoute(/\/((?!(?:admin|assets|img)(\/|$))[^.]+)(\.(?!js|css|xml|txt|png|jpg|jpeg|webp|avif|svg|gif)[^.]+)*$/,new e.NetworkFirst({cacheName:"pages",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/assets\//,new e.StaleWhileRevalidate({cacheName:"assets",plugins:[]}),"GET"),e.registerRoute(/^\/_image$/,new e.StaleWhileRevalidate({cacheName:"sharp-images",plugins:[new e.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/img\/uploads\/.*\.(?:png|jpg|jpeg|webp|avif|svg|gif)$/,new e.StaleWhileRevalidate({cacheName:"cms-images",plugins:[new e.ExpirationPlugin({maxEntries:20,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/ecomplus\.io/,new e.NetworkFirst({cacheName:"store-api",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/normal\//,new e.CacheFirst({cacheName:"product-thumbnails",plugins:[new e.ExpirationPlugin({maxEntries:100,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/big\//,new e.CacheFirst({cacheName:"product-pictures",plugins:[new e.ExpirationPlugin({maxEntries:10,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET")}));
@@ -16,7 +16,7 @@ import { fileURLToPath } from 'url';
16
16
  import http from 'http';
17
17
  import https from 'https';
18
18
  import send from 'send';
19
- import { defineComponent, h as h$2, createSSRApp, mergeProps, createVNode as createVNode$1, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, useSSRContext, toRefs, unref, ref, watch, toRef, computed, defineAsyncComponent, renderSlot as renderSlot$1, openBlock, createBlock, Fragment as Fragment$1, createCommentVNode, renderList, getCurrentInstance, reactive } from 'vue';
19
+ import { defineComponent, h as h$2, createSSRApp, mergeProps, createVNode as createVNode$1, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, useSSRContext, toRefs, unref, ref, watch, toRef, computed, defineAsyncComponent, renderSlot as renderSlot$1, openBlock, createBlock, Fragment as Fragment$1, createCommentVNode, renderList, reactive, getCurrentInstance } from 'vue';
20
20
  import { renderToString as renderToString$1, ssrRenderAttrs, ssrRenderSlot, ssrRenderVNode, ssrInterpolate, ssrRenderList, ssrRenderAttr, ssrRenderComponent, ssrRenderClass, ssrIncludeBooleanAttr } from 'vue/server-renderer';
21
21
  import { i18n, formatMoney, img, price } from '@ecomplus/utils';
22
22
  import sizeOf from 'image-size';
@@ -11902,7 +11902,7 @@ const _export_sfc = (sfc, props) => {
11902
11902
  return target;
11903
11903
  };
11904
11904
 
11905
- /* unplugin-vue-components disabled */const _sfc_main$7 = {};
11905
+ const _sfc_main$7 = {};
11906
11906
 
11907
11907
  function _sfc_ssrRender$1(_ctx, _push, _parent, _attrs) {
11908
11908
  _push(`<a${ssrRenderAttrs(mergeProps({ class: "text-gray-accent hover:text-primary no-underline" }, _attrs))}>`);
@@ -12138,7 +12138,7 @@ _sfc_main$4.setup = (props, ctx) => {
12138
12138
  return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
12139
12139
  };
12140
12140
 
12141
- /* unplugin-vue-components disabled */const _sfc_main$3 = {};
12141
+ const _sfc_main$3 = {};
12142
12142
 
12143
12143
  function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
12144
12144
  _push(`<a${ssrRenderAttrs(mergeProps({ class: "text-2xl text-gray-accent hover:text-primary no-underline ml-2" }, _attrs))}>`);
@@ -12325,6 +12325,13 @@ const $$Pages = createComponent(async ($$result, $$props, $$slots) => {
12325
12325
  `)}${renderSlot($$result, $$slots["default"])}` })}`;
12326
12326
  }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/layouts/Pages.astro");
12327
12327
 
12328
+ const emptyInfo = {
12329
+ list_payments: {},
12330
+ calculate_shipping: {},
12331
+ apply_discount: {}
12332
+ };
12333
+ const modulesInfo = reactive(emptyInfo);
12334
+
12328
12335
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
12329
12336
  __name: "PriceSale",
12330
12337
  __ssrInlineRender: true,
@@ -12344,13 +12351,6 @@ _sfc_main$1.setup = (props, ctx) => {
12344
12351
  return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
12345
12352
  };
12346
12353
 
12347
- const emptyInfo = {
12348
- list_payments: {},
12349
- calculate_shipping: {},
12350
- apply_discount: {}
12351
- };
12352
- const modulesInfo = reactive(emptyInfo);
12353
-
12354
12354
  const _sfc_main = /* @__PURE__ */ defineComponent({
12355
12355
  __name: "Price",
12356
12356
  __ssrInlineRender: true,
@@ -12387,10 +12387,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12387
12387
  });
12388
12388
  expose({ salePrice });
12389
12389
  return (_ctx, _push, _parent, _attrs) => {
12390
- const _component_PriceSale = _sfc_main$1;
12391
12390
  _push(`<div${ssrRenderAttrs(mergeProps({ class: "price" }, _attrs))}>${ssrInterpolate("De")} ${ssrInterpolate("Por".toLowerCase())} ${ssrInterpolate(__props.price)} `);
12392
12391
  ssrRenderSlot(_ctx.$slots, "default", {}, () => {
12393
- _push(ssrRenderComponent(_component_PriceSale, null, null, _parent));
12392
+ _push(ssrRenderComponent(_sfc_main$1, null, null, _parent));
12394
12393
  }, _push, _parent);
12395
12394
  _push(`</div>`);
12396
12395
  };
@@ -12615,7 +12614,7 @@ const _page5 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
12615
12614
  const pageMap = new Map([['../../node_modules/.pnpm/@astrojs+image@0.12.1/node_modules/@astrojs/image/dist/endpoint.js', _page0],['src/pages/index.astro', _page1],['src/pages/fallback.astro', _page2],['src/pages/app/index.astro', _page3],['src/pages/app/account.astro', _page4],['src/pages/[...slug].astro', _page5],]);
12616
12615
  const renderers = [Object.assign({"name":"astro:jsx","serverEntrypoint":"astro/jsx/server.js","jsxImportSource":"astro"}, { ssr: server_default }),Object.assign({"name":"@astrojs/vue","clientEntrypoint":"@astrojs/vue/client.js","serverEntrypoint":"@astrojs/vue/server.js"}, { ssr: _renderer1 }),];
12617
12616
 
12618
- const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[{"type":"external","value":"page.5a6f3db5.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.7.1 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.7.1\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"type":"endpoint","route":"/_image","pattern":"^\\/_image$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"../../node_modules/.pnpm/@astrojs+image@0.12.1/node_modules/@astrojs/image/dist/endpoint.js","pathname":"/_image","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...slug_.580c5aa4.css"],"scripts":[{"type":"external","value":"hoisted.cce93d56.js"},{"type":"external","value":"page.5a6f3db5.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.7.1 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.7.1\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/","type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...slug_.580c5aa4.css"],"scripts":[{"type":"external","value":"hoisted.cce93d56.js"},{"type":"external","value":"page.5a6f3db5.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.7.1 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.7.1\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/fallback","type":"page","pattern":"^\\/fallback\\/?$","segments":[[{"content":"fallback","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/fallback.astro","pathname":"/fallback","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"page.5a6f3db5.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.7.1 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.7.1\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/app","type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"page.5a6f3db5.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.7.1 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.7.1\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/app/account","type":"page","pattern":"^\\/app\\/account\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}],[{"content":"account","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/account.astro","pathname":"/app/account","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...slug_.580c5aa4.css"],"scripts":[{"type":"external","value":"hoisted.cce93d56.js"},{"type":"external","value":"page.5a6f3db5.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.7.1 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.7.1\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/[...slug]","type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","_meta":{"trailingSlash":"ignore"}}}],"site":"https://ecom2-002.web.app/","base":"/","markdown":{"drafts":false,"syntaxHighlight":"shiki","shikiConfig":{"langs":[],"theme":"github-dark","wrap":false},"remarkPlugins":[],"rehypePlugins":[],"remarkRehype":{},"extendDefaultPlugins":false,"isAstroFlavoredMd":false},"pageMap":null,"renderers":[],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"entry.mjs","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/node_modules/@astrojs/image/dist/vendor/squoosh/image-pool.js":"chunks/image-pool.abfa6f7b.mjs","@@sf/components/Price.vue":"Price.80648526.js","@astrojs/vue/client.js":"client.79a40b9d.js","/astro/hoisted.js?q=0":"hoisted.cce93d56.js","astro:scripts/page.js":"page.5a6f3db5.js","@@components/header/HeaderButtons.vue":"HeaderButtons.94982284.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/LoginForm.vue":"chunks/LoginForm.a9f55240.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/workbox-window/build/workbox-window.prod.es5.mjs":"chunks/workbox-window.prod.es5.10f2e5ac.js","astro:scripts/before-hydration.js":""},"assets":["/assets/_...slug_.580c5aa4.css","/manifest.webmanifest","/registerSW.js","/HeaderButtons.94982284.js","/Price.80648526.js","/client.79a40b9d.js","/hoisted.cce93d56.js","/page.5a6f3db5.js","/robots.txt","/sw.js","/workbox-abdc68aa.js","/admin/config.json","/assets/cms-preview.css","/assets/cms.css","/assets/cvv.png","/assets/img-placeholder.png","/assets/payments.png","/assets/ssl-safe.png","/chunks/HeaderButtons.e59228e7.js","/chunks/LoginForm.a9f55240.js","/chunks/ecom-utils.b0a26608.js","/chunks/preload-helper.1de719f8.js","/chunks/price.130e6005.js","/chunks/runtime-core.esm-bundler.4dae6bc1.js","/chunks/runtime-dom.esm-bundler.7a999c6c.js","/chunks/session-utm.2de8b604.js","/chunks/workbox-window.prod.es5.10f2e5ac.js","/img/icon.png","/img/large-icon.png","/img/uploads/banner1.png","/img/uploads/banner2.png","/img/uploads/banner2.webp","/img/uploads/favicon.png","/img/uploads/headless.png","/img/uploads/headphone.png","/img/uploads/headphone.webp","/img/uploads/icon.png","/img/uploads/large-icon.png","/img/uploads/logo.png","/img/uploads/logo.webp","/img/uploads/og-image.png","/img/uploads/passion.png","/img/uploads/passion.webp","/img/uploads/pwa-reliable.png","/img/uploads/rect8589.png","/img/uploads/rect859.png","/img/uploads/rect89.png","/img/uploads/rect89.webp","/img/uploads/ssl-safe.png","/assets/icons/bootstrap-icons/font/storefront-icons.woff2","/assets/icons/feather-icons/font/storefront-icons.woff2","/assets/icons/font-awesome/font/storefront-icons.woff2","/assets/icons/line-awesome/font/storefront-icons.woff2","/assets/icons/tabler-icons/font/storefront-icons.woff2","/page.5a6f3db5.js","/~partytown/partytown-atomics.js","/~partytown/partytown-media.js","/~partytown/partytown-sw.js","/~partytown/partytown.js"]}), {
12617
+ const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[{"type":"external","value":"page.5a6f3db5.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.7.1 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.7.1\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"type":"endpoint","route":"/_image","pattern":"^\\/_image$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"../../node_modules/.pnpm/@astrojs+image@0.12.1/node_modules/@astrojs/image/dist/endpoint.js","pathname":"/_image","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...slug_.580c5aa4.css"],"scripts":[{"type":"external","value":"hoisted.cce93d56.js"},{"type":"external","value":"page.5a6f3db5.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.7.1 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.7.1\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/","type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...slug_.580c5aa4.css"],"scripts":[{"type":"external","value":"hoisted.cce93d56.js"},{"type":"external","value":"page.5a6f3db5.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.7.1 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.7.1\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/fallback","type":"page","pattern":"^\\/fallback\\/?$","segments":[[{"content":"fallback","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/fallback.astro","pathname":"/fallback","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"page.5a6f3db5.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.7.1 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.7.1\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/app","type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"page.5a6f3db5.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.7.1 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.7.1\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/app/account","type":"page","pattern":"^\\/app\\/account\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}],[{"content":"account","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/account.astro","pathname":"/app/account","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...slug_.580c5aa4.css"],"scripts":[{"type":"external","value":"hoisted.cce93d56.js"},{"type":"external","value":"page.5a6f3db5.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.7.1 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.7.1\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/[...slug]","type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","_meta":{"trailingSlash":"ignore"}}}],"site":"https://ecom2-002.web.app/","base":"/","markdown":{"drafts":false,"syntaxHighlight":"shiki","shikiConfig":{"langs":[],"theme":"github-dark","wrap":false},"remarkPlugins":[],"rehypePlugins":[],"remarkRehype":{},"extendDefaultPlugins":false,"isAstroFlavoredMd":false},"pageMap":null,"renderers":[],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"entry.mjs","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/node_modules/@astrojs/image/dist/vendor/squoosh/image-pool.js":"chunks/image-pool.abfa6f7b.mjs","@@sf/components/Price.vue":"Price.c4aab3ea.js","@astrojs/vue/client.js":"client.79a40b9d.js","/astro/hoisted.js?q=0":"hoisted.cce93d56.js","astro:scripts/page.js":"page.5a6f3db5.js","@@components/header/HeaderButtons.vue":"HeaderButtons.1968a9ac.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/LoginForm.vue":"chunks/LoginForm.83fec3a1.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/workbox-window/build/workbox-window.prod.es5.mjs":"chunks/workbox-window.prod.es5.10f2e5ac.js","astro:scripts/before-hydration.js":""},"assets":["/assets/_...slug_.580c5aa4.css","/manifest.webmanifest","/registerSW.js","/HeaderButtons.1968a9ac.js","/Price.c4aab3ea.js","/client.79a40b9d.js","/hoisted.cce93d56.js","/page.5a6f3db5.js","/robots.txt","/sw.js","/workbox-abdc68aa.js","/admin/config.json","/assets/cms-preview.css","/assets/cms.css","/assets/cvv.png","/assets/img-placeholder.png","/assets/payments.png","/assets/ssl-safe.png","/chunks/HeaderButtons.5a0e371e.js","/chunks/LoginForm.83fec3a1.js","/chunks/ecom-utils.b0a26608.js","/chunks/preload-helper.1de719f8.js","/chunks/price.130e6005.js","/chunks/runtime-core.esm-bundler.4dae6bc1.js","/chunks/runtime-dom.esm-bundler.7a999c6c.js","/chunks/session-utm.2de8b604.js","/chunks/workbox-window.prod.es5.10f2e5ac.js","/img/icon.png","/img/large-icon.png","/img/uploads/banner1.png","/img/uploads/banner2.png","/img/uploads/banner2.webp","/img/uploads/favicon.png","/img/uploads/headless.png","/img/uploads/headphone.png","/img/uploads/headphone.webp","/img/uploads/icon.png","/img/uploads/large-icon.png","/img/uploads/logo.png","/img/uploads/logo.webp","/img/uploads/og-image.png","/img/uploads/passion.png","/img/uploads/passion.webp","/img/uploads/pwa-reliable.png","/img/uploads/rect8589.png","/img/uploads/rect859.png","/img/uploads/rect89.png","/img/uploads/rect89.webp","/img/uploads/ssl-safe.png","/assets/icons/feather-icons/font/storefront-icons.woff2","/assets/icons/bootstrap-icons/font/storefront-icons.woff2","/assets/icons/font-awesome/font/storefront-icons.woff2","/assets/icons/line-awesome/font/storefront-icons.woff2","/assets/icons/tabler-icons/font/storefront-icons.woff2","/page.5a6f3db5.js","/~partytown/partytown-atomics.js","/~partytown/partytown-media.js","/~partytown/partytown-sw.js","/~partytown/partytown.js"]}), {
12619
12618
  pageMap: pageMap,
12620
12619
  renderers: renderers
12621
12620
  });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/storefront",
3
3
  "type": "module",
4
- "version": "0.0.132",
4
+ "version": "0.0.133",
5
5
  "description": "E-Com Plus Cloud Commerce storefront with Astro",
6
6
  "main": "src/index.js",
7
7
  "repository": {
@@ -48,8 +48,6 @@
48
48
  "image-size": "^1.0.2",
49
49
  "tailwindcss": "^3.2.4",
50
50
  "unocss": "^0.47.5",
51
- "unplugin-auto-import": "^0.12.0",
52
- "unplugin-vue-components": "^0.22.11",
53
51
  "vite": "^3.2.5",
54
52
  "vite-plugin-pwa": "^0.13.3",
55
53
  "vue": "^3.2.45",
@@ -1,5 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import type { Exposed } from '../Price.vue';
3
+ import { getCurrentInstance } from 'vue';
3
4
 
4
5
  const instance = getCurrentInstance();
5
6
  const price = (instance.parent.exposed as Exposed).salePrice;
@@ -1,5 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import type { Exposed } from '../Price.vue';
3
+ import { getCurrentInstance } from 'vue';
3
4
 
4
5
  const instance = getCurrentInstance();
5
6
  const price = (instance.parent.exposed as Exposed).salePrice;
@@ -1,5 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import type { Exposed } from '../Price.vue';
3
+ import { getCurrentInstance } from 'vue';
3
4
 
4
5
  const instance = getCurrentInstance();
5
6
  const price = (instance.parent.exposed as Exposed).salePrice;
@@ -1,5 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import type { Exposed } from '../Price.vue';
3
+ import { getCurrentInstance } from 'vue';
3
4
 
4
5
  const instance = getCurrentInstance();
5
6
  const price = (instance.parent.exposed as Exposed).salePrice;
@@ -1,5 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import type { Exposed } from '../Price.vue';
3
+ import { getCurrentInstance } from 'vue';
3
4
 
4
5
  const instance = getCurrentInstance();
5
6
  const price = (instance.parent.exposed as Exposed).salePrice;
@@ -1,5 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import type { Exposed } from '../Price.vue';
3
+ import { getCurrentInstance } from 'vue';
3
4
 
4
5
  const instance = getCurrentInstance();
5
6
  const price = (instance.parent.exposed as Exposed).salePrice;