cloudcommerce 0.4.1 → 0.6.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.
Files changed (110) hide show
  1. package/.github/renovate.json +1 -1
  2. package/CHANGELOG.md +52 -0
  3. package/action.yml +1 -2
  4. package/package.json +7 -7
  5. package/packages/api/package.json +1 -1
  6. package/packages/apps/correios/package.json +1 -1
  7. package/packages/apps/custom-payment/package.json +1 -1
  8. package/packages/apps/custom-shipping/package.json +1 -1
  9. package/packages/apps/datafrete/package.json +1 -1
  10. package/packages/apps/discounts/package.json +1 -1
  11. package/packages/apps/emails/package.json +1 -1
  12. package/packages/apps/fb-conversions/package.json +1 -1
  13. package/packages/apps/frenet/package.json +1 -1
  14. package/packages/apps/galaxpay/package.json +1 -1
  15. package/packages/apps/google-analytics/package.json +1 -1
  16. package/packages/apps/infinitepay/package.json +1 -1
  17. package/packages/apps/jadlog/package.json +1 -1
  18. package/packages/apps/loyalty-points/package.json +1 -1
  19. package/packages/apps/melhor-envio/package.json +1 -1
  20. package/packages/apps/mercadopago/package.json +1 -1
  21. package/packages/apps/pagarme/package.json +2 -2
  22. package/packages/apps/paghiper/package.json +1 -1
  23. package/packages/apps/pix/package.json +1 -1
  24. package/packages/apps/tiny-erp/package.json +1 -1
  25. package/packages/apps/webhooks/package.json +3 -3
  26. package/packages/cli/package.json +1 -1
  27. package/packages/config/package.json +1 -1
  28. package/packages/emails/package.json +1 -1
  29. package/packages/events/package.json +1 -1
  30. package/packages/firebase/package.json +1 -1
  31. package/packages/i18n/package.json +1 -1
  32. package/packages/modules/lib/firebase/checkout.js +4 -1
  33. package/packages/modules/lib/firebase/checkout.js.map +1 -1
  34. package/packages/modules/package.json +1 -1
  35. package/packages/modules/src/firebase/checkout.ts +4 -1
  36. package/packages/passport/package.json +1 -1
  37. package/packages/ssr/package.json +3 -3
  38. package/packages/storefront/client.d.ts +23 -3
  39. package/packages/storefront/config/storefront.cms.cjs +31 -5
  40. package/packages/storefront/config/storefront.cms.mjs +31 -5
  41. package/packages/storefront/dist/client/_astro/PitchBar.457658a3.js +1 -0
  42. package/packages/storefront/dist/client/_astro/Prices.a1302bf9.js +1 -0
  43. package/packages/storefront/dist/client/_astro/ProductCard.1a45764a.js +1 -0
  44. package/packages/storefront/dist/client/_astro/ShopHeader.0a6766ac.js +1 -0
  45. package/packages/storefront/dist/client/_astro/_...slug_.6721f699.css +1 -0
  46. package/packages/storefront/dist/client/_astro/_plugin-vue_export-helper.6da04e63.js +1 -0
  47. package/packages/storefront/dist/client/_astro/client.b854166f.js +1 -0
  48. package/packages/storefront/dist/client/_astro/firebase-app.7ce2ebb1.js +1426 -0
  49. package/packages/storefront/dist/client/_astro/format-money.6f464cee.js +1 -0
  50. package/packages/storefront/dist/client/_astro/hoisted.721ad75d.js +1 -0
  51. package/packages/storefront/dist/client/_astro/idle-callback.889bf0ea.js +1 -0
  52. package/packages/storefront/dist/client/_astro/index.a500792d.js +1 -0
  53. package/packages/storefront/dist/client/_astro/modules-info.80ae4e30.js +1 -0
  54. package/packages/storefront/dist/client/_astro/preload-helper.101896b7.js +1 -0
  55. package/packages/storefront/dist/client/_astro/runtime-dom.esm-bundler.acde10ec.js +1 -0
  56. package/packages/storefront/dist/client/fallback/index.html +8 -8
  57. package/packages/storefront/dist/client/sw.js +1 -1
  58. package/packages/storefront/dist/server/chunks/{astro.0f5b754a.mjs → astro.7d9d5f6e.mjs} +100 -38
  59. package/packages/storefront/dist/server/chunks/pages/{all.671e6bc1.mjs → all.e0f284c9.mjs} +980 -660
  60. package/packages/storefront/dist/server/chunks/{prerender.fd8cdc24.mjs → prerender.9f6cbb00.mjs} +0 -0
  61. package/packages/storefront/dist/server/entry.mjs +100 -48
  62. package/packages/storefront/package.json +8 -8
  63. package/packages/storefront/server.d.ts +34 -0
  64. package/packages/storefront/src/env.d.ts +1 -0
  65. package/packages/storefront/src/helpers/afetch.ts +3 -1
  66. package/packages/storefront/src/helpers/idle-callback.ts +9 -0
  67. package/packages/storefront/src/lib/assets/base.css +6 -0
  68. package/packages/storefront/src/lib/browser-env.ts +22 -0
  69. package/packages/storefront/src/lib/cms.d.ts +25 -0
  70. package/packages/storefront/src/lib/components/Drawer.vue +1 -1
  71. package/packages/storefront/src/lib/components/LoginForm.vue +13 -9
  72. package/packages/storefront/src/lib/components/SocialNetworkIcon.vue +29 -0
  73. package/packages/storefront/src/lib/components/SocialNetworkLink.vue +37 -0
  74. package/packages/storefront/src/lib/components/globals/ALink.vue +2 -2
  75. package/packages/storefront/src/lib/composables/use-shop-header.ts +79 -0
  76. package/packages/storefront/src/lib/layouts/Base.astro +4 -5
  77. package/packages/storefront/src/lib/layouts/BaseHead.astro +7 -7
  78. package/packages/storefront/src/lib/layouts/BaseStateJson.astro +1 -1
  79. package/packages/storefront/src/lib/layouts/PagesHeader.astro +5 -23
  80. package/packages/storefront/src/lib/scripts/firebase-app.ts +16 -3
  81. package/packages/storefront/src/lib/server-data.ts +25 -0
  82. package/packages/storefront/src/lib/ssr-context.ts +11 -10
  83. package/packages/storefront/src/lib/state/customer-session.ts +51 -30
  84. package/packages/storefront/src/lib/state/modules-info.ts +3 -6
  85. package/packages/storefront/tailwind.config.cjs +1 -4
  86. package/packages/types/index.ts +7 -0
  87. package/packages/types/package.json +1 -1
  88. package/pnpm-workspace.yaml +3 -3
  89. package/packages/storefront/dist/client/_astro/PitchBar.004b6ea4.js +0 -1
  90. package/packages/storefront/dist/client/_astro/Prices.f311909a.js +0 -1
  91. package/packages/storefront/dist/client/_astro/Prices.vue_vue_type_script_setup_true_lang.ef47de70.js +0 -1
  92. package/packages/storefront/dist/client/_astro/ProductCard.34de5097.js +0 -1
  93. package/packages/storefront/dist/client/_astro/ShopHeader.cbfee289.js +0 -1
  94. package/packages/storefront/dist/client/_astro/_...slug_.bcc33d9d.css +0 -1
  95. package/packages/storefront/dist/client/_astro/client.56d86c9b.js +0 -1
  96. package/packages/storefront/dist/client/_astro/ecom-utils.92f137f6.js +0 -1
  97. package/packages/storefront/dist/client/_astro/hoisted.6edd7364.js +0 -1
  98. package/packages/storefront/dist/client/_astro/index.2d12be6c.js +0 -1
  99. package/packages/storefront/dist/client/_astro/modules-info.0debb0b0.js +0 -1
  100. package/packages/storefront/dist/client/_astro/runtime-core.esm-bundler.a0432a8e.js +0 -1
  101. package/packages/storefront/dist/client/_astro/runtime-dom.esm-bundler.0e5774ce.js +0 -1
  102. package/packages/storefront/src/lib/components/ADrawer.vue +0 -110
  103. package/packages/storefront/src/lib/components/LoginDrawer.vue +0 -82
  104. package/packages/storefront/src/lib/components/ShopHeader.vue +0 -111
  105. package/packages/storefront/src/lib/components/ShopSidenav.vue +0 -26
  106. package/packages/storefront/src/lib/types/cms-code.d.ts +0 -5
  107. package/packages/storefront/src/lib/types/cms-contacts.d.ts +0 -5
  108. package/packages/storefront/src/lib/types/cms-header.d.ts +0 -5
  109. package/packages/storefront/src/lib/types/cms-settings.d.ts +0 -8
  110. package/packages/storefront/src/lib/types/cms-social.d.ts +0 -5
@@ -0,0 +1 @@
1
+ import{i as n}from"./_plugin-vue_export-helper.6da04e63.js";const f=e=>{if(typeof e!="object"||e===null)return console.error(new Error("`product` must be an object")),!1;let r=e.price_effective_date;if(r){let t=new Date;if(r.start&&new Date(r.start)>t||r.end&&new Date(r.end)<t)return!1}return e.base_price>e.price},s=f,c=e=>s(e)?e.price:e?typeof e.final_price=="number"?e.final_price:Math.max(e.base_price||0,e.price||0):0,a=c,m=(e,r=n.get("currency"),t=n.get("lang"))=>{if(typeof e=="object"?e!==null&&(e=a(e)):typeof e=="string"&&(e=parseFloat(e)),r)try{return e.toLocaleString(t.replace("_","-"),{style:"currency",currency:r})}catch(i){console.error(i)}const o=(r||n.get("currency_symbol"))+" ";return typeof e=="number"?o+e:""},l=m;export{s as c,l as f,a as g};
@@ -0,0 +1 @@
1
+ import"./session-utm.72684b84.js";import{_ as u}from"./preload-helper.101896b7.js";function v(d={}){const{immediate:l=!1,onNeedRefresh:g,onOfflineReady:t,onRegistered:r,onRegisteredSW:o,onRegisterError:s}=d;let i,n;const c=async(a=!0)=>{await n};async function f(){if("serviceWorker"in navigator){const{Workbox:a}=await u(()=>import("./workbox-window.prod.es5.295a6886.js"),[]);i=new a("/sw.js",{scope:"/",type:"classic"}),i.addEventListener("activated",e=>{(e.isUpdate||e.isExternal)&&window.location.reload()}),i.addEventListener("installed",e=>{e.isUpdate||t?.()}),i.register({immediate:l}).then(e=>{o?o("/sw.js",e):r?.(e)}).catch(e=>{s?.(e)})}}return n=f(),c}v({immediate:!0});
@@ -0,0 +1 @@
1
+ const t=(e,l=300)=>{typeof window.requestIdleCallback=="function"?window.requestIdleCallback(e):setTimeout(e,l)};export{t as i};
@@ -0,0 +1 @@
1
+ import{$ as U,c as E,j as b,a0 as G,a1 as X,a2 as q,h as D,q as K}from"./_plugin-vue_export-helper.6da04e63.js";var H;const L=typeof window<"u",M=e=>typeof e=="string",y=()=>{};L&&((H=window?.navigator)!=null&&H.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function _(e){return typeof e=="function"?e():U(e)}function R(e,n){function t(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>n.apply(this,r),{fn:n,thisArg:this,args:r})).then(o).catch(s)})}return t}function Y(e,n={}){let t,r,o=y;const s=u=>{clearTimeout(u),o(),o=y};return u=>{const f=_(e),i=_(n.maxWait);return t&&s(t),f<=0||i!==void 0&&i<=0?(r&&(s(r),r=null),Promise.resolve(u())):new Promise((a,d)=>{o=n.rejectOnCancel?d:a,i&&!r&&(r=setTimeout(()=>{t&&s(t),r=null,a(u())},i)),t=setTimeout(()=>{r&&s(r),r=null,a(u())},f)})}}function z(e,n=!0,t=!0,r=!1){let o=0,s,l=!0,u=y,f;const i=()=>{s&&(clearTimeout(s),s=void 0,u(),u=y)};return d=>{const p=_(e),w=Date.now()-o,T=()=>f=d();if(i(),p<=0)return o=Date.now(),T();if(w>p&&(t||!l))o=Date.now(),T();else if(n)return new Promise((O,m)=>{u=r?m:O,s=setTimeout(()=>{o=Date.now(),l=!0,O(T()),i()},p-w)});return!t&&!s&&(s=setTimeout(()=>l=!0,p)),l=!1,f}}function de(e,n=!1,t="Timeout"){return new Promise((r,o)=>{setTimeout(n?()=>o(t):r,e)})}function J(e){return e}function V(e){return X()?(q(e),!0):!1}function Z(e,n=200,t={}){return R(Y(n,t),e)}function k(e,n=200,t=!1,r=!0,o=!1){return R(z(n,t,r,o),e)}function ee(e,n,t={}){const{immediate:r=!0}=t,o=b(!1);let s=null;function l(){s&&(clearTimeout(s),s=null)}function u(){o.value=!1,l()}function f(...i){l(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...i)},_(n))}return r&&(o.value=!0,L&&f()),V(u),{isPending:G(o),start:f,stop:u}}var te=Object.defineProperty,Q=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,j=(e,n,t)=>n in e?te(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,oe=(e,n)=>{for(var t in n||(n={}))ne.call(n,t)&&j(e,t,n[t]);if(Q)for(var t of Q(n))re.call(n,t)&&j(e,t,n[t]);return e};function me(e=1e3,n={}){const{controls:t=!1,callback:r}=n,o=ee(r??y,e,n),s=E(()=>!o.isPending.value);return t?oe({ready:s},o):s}function se(e){var n;const t=_(e);return(n=t?.$el)!=null?n:t}const ae=L?window:void 0;function I(...e){let n,t,r,o;if(M(e[0])||Array.isArray(e[0])?([t,r,o]=e,n=ae):[n,t,r,o]=e,!n)return y;Array.isArray(t)||(t=[t]),Array.isArray(r)||(r=[r]);const s=[],l=()=>{s.forEach(a=>a()),s.length=0},u=(a,d,p)=>(a.addEventListener(d,p,o),()=>a.removeEventListener(d,p,o)),f=K(()=>se(n),a=>{l(),a&&s.push(...t.flatMap(d=>r.map(p=>u(a,d,p))))},{immediate:!0,flush:"post"}),i=()=>{f(),l()};return V(i),i}const S=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},A="__vueuse_ssr_handlers__";S[A]=S[A]||{};S[A];function ve(e){const n=b(!1);return I(e,"mouseenter",()=>n.value=!0),I(e,"mouseleave",()=>n.value=!1),n}const F=1;function _e(e,n={}){const{throttle:t=0,idle:r=200,onStop:o=y,onScroll:s=y,offset:l={left:0,right:0,top:0,bottom:0},eventListenerOptions:u={capture:!1,passive:!0},behavior:f="auto"}=n,i=b(0),a=b(0),d=E({get(){return i.value},set(c){w(c,void 0)}}),p=E({get(){return a.value},set(c){w(void 0,c)}});function w(c,g){var h,v,C;const P=_(e);P&&((C=P instanceof Document?document.body:P)==null||C.scrollTo({top:(h=_(g))!=null?h:p.value,left:(v=_(c))!=null?v:d.value,behavior:_(f)}))}const T=b(!1),O=D({left:!0,right:!1,top:!0,bottom:!1}),m=D({left:!1,right:!1,top:!1,bottom:!1}),B=Z(c=>{T.value=!1,m.left=!1,m.right=!1,m.top=!1,m.bottom=!1,o(c)},t+r),x=c=>{const g=c.target===document?c.target.documentElement:c.target,h=g.scrollLeft;m.left=h<i.value,m.right=h>a.value,O.left=h<=0+(l.left||0),O.right=h+g.clientWidth>=g.scrollWidth-(l.right||0)-F,i.value=h;let v=g.scrollTop;c.target===document&&!v&&(v=document.body.scrollTop),m.top=v<a.value,m.bottom=v>a.value,O.top=v<=0+(l.top||0),O.bottom=v+g.clientHeight>=g.scrollHeight-(l.bottom||0)-F,a.value=v,T.value=!0,B(c),s(c)};return I(e,"scroll",t?k(x,t,!0,!1):x,u),{x:d,y:p,isScrolling:T,arrivedState:O,directions:m}}var N;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(N||(N={}));var le=Object.defineProperty,W=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,$=(e,n,t)=>n in e?le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ce=(e,n)=>{for(var t in n||(n={}))ue.call(n,t)&&$(e,t,n[t]);if(W)for(var t of W(n))ie.call(n,t)&&$(e,t,n[t]);return e};const fe={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};ce({linear:J},fe);export{ve as a,Z as b,me as c,de as p,_e as u};
@@ -0,0 +1 @@
1
+ import{l as y,u as _}from"./session-utm.72684b84.js";import{i as g}from"./idle-callback.889bf0ea.js";import{h as b,c as d}from"./_plugin-vue_export-helper.6da04e63.js";import{f as v}from"./format-money.6f464cee.js";const I=(o,a,l=1e4)=>{let n,r;l&&(n=new AbortController,r=setTimeout(()=>{n.abort()},l)),a?.body&&typeof a.body=="object"&&(a.body=JSON.stringify(a.body),a.headers={...a.headers,"Content-Type":"application/json","Content-Length":a.body.length.toString()});const i=fetch(o,{...a,signal:n?.signal});return i.finally(()=>{r&&clearTimeout(r)}),i},O={list_payments:{},calculate_shipping:{},apply_discount:{}},p=b(O);y.then(o=>{Object.assign(p,o)});{const o="MODULES_INFO",a=sessionStorage.getItem(o);if(a)try{const n=JSON.parse(a);n.__timestamp>=Date.now()-1e3*60*5?(delete n.__timestamp,Object.assign(p,n)):sessionStorage.removeItem(o)}catch{sessionStorage.removeItem(o)}g(()=>{const n=[];["list_payments","calculate_shipping"].forEach(r=>{Object.keys(p[r]).length||n.push({modName:r})}),Object.keys(_).length&&n.push({modName:"apply_discount",reqOptions:{method:"post",body:{utm:_}}}),n.forEach(({modName:r,reqOptions:i})=>{I(`/api/modules/${r}`,i).then(async f=>{if(f.ok){const s={};p[r]=s;const{result:u}=await f.json();Array.isArray(u)&&u.forEach(({error:h,response:c})=>{if(!h){let e,t;switch(r){case"calculate_shipping":e="free_shipping_from_value",t=c[e],typeof t=="number"&&(s[e]===void 0||t<s[e])&&(s[e]=t);break;case"list_payments":e="installments_option",t=c[e],t&&(!s[e]||t.monthly_interest<s[e].monthly_interest||t.max_number>s[e].max_number)&&(s[e]=t),e="discount_option",t=c[e],t&&(!s[e]||t.value>s[e].value)&&c.payment_gateways.forEach(({discount:m})=>{m&&m.apply_at!=="freight"&&m.value===t.value&&(s[e]={apply_at:m.apply_at,...t})}),e="loyalty_points_programs",t=c[e],t&&(s[e]={...s[e],...t});break;default:e="available_extra_discount",t=c[e],t&&(!s[e]||t.value>s[e].value)&&(s[e]=t)}}}),sessionStorage.setItem(o,JSON.stringify({...p,__timestamp:Date.now()}))}}).catch(console.error)})})}const S=(o,a,l,n=v)=>d(()=>{const r=`{${l}}`,i=o.indexOf(r);if(i>-1){const f=p[a][l];if(f){const s=n(f);return o.substring(0,i)+s+o.substring(i+r.length)}return""}return o}),C=o=>S(o,"calculate_shipping","free_shipping_from_value");export{p as m,C as p};
@@ -0,0 +1 @@
1
+ const h="modulepreload",m=function(l){return"/"+l},a={},k=function(o,i,u){if(!i||i.length===0)return o();const c=document.getElementsByTagName("link");return Promise.all(i.map(e=>{if(e=m(e),e in a)return;a[e]=!0;const n=e.endsWith(".css"),f=n?'[rel="stylesheet"]':"";if(!!u)for(let r=c.length-1;r>=0;r--){const s=c[r];if(s.href===e&&(!n||s.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${f}`))return;const t=document.createElement("link");if(t.rel=n?"stylesheet":h,n||(t.as="script",t.crossOrigin=""),t.href=e,document.head.appendChild(t),n)return new Promise((r,s)=>{t.addEventListener("load",r),t.addEventListener("error",()=>s(new Error(`Unable to preload CSS for ${e}`)))})})).then(()=>o())};export{k as _};
@@ -0,0 +1 @@
1
+ import{D as nt,E as _,G as ht,H as st,I as x,J as bt,K as Ct,L as St,M as w,N as vt,O as Et,u as Tt,P as At,Q as Nt,F as Lt,S as _t,R as wt,T as yt,U as rt,V as Mt,W as Pt,X as Dt,Y as it,Z as It}from"./_plugin-vue_export-helper.6da04e63.js";const Ot="http://www.w3.org/2000/svg",v=typeof document<"u"?document:null,U=v&&v.createElement("template"),$t={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const r=e?v.createElementNS(Ot,t):v.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:t=>v.createTextNode(t),createComment:t=>v.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>v.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,r,i){const a=n?n.previousSibling:e.lastChild;if(r&&(r===i||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{U.innerHTML=s?`<svg>${t}</svg>`:t;const f=U.content;if(s){const c=f.firstChild;for(;c.firstChild;)f.appendChild(c.firstChild);f.removeChild(c)}e.insertBefore(f,n)}return[a?a.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function xt(t,e,n){const s=t._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function Bt(t,e,n){const s=t.style,r=_(n);if(n&&!r){if(e&&!_(e))for(const i in e)n[i]==null&&I(s,i,"");for(const i in n)I(s,i,n[i])}else{const i=s.display;r?e!==n&&(s.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(s.display=i)}}const j=/\s*!important$/;function I(t,e,n){if(w(n))n.forEach(s=>I(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=Rt(t,e);j.test(n)?t.setProperty(rt(s),n.replace(j,""),"important"):t[s]=n}}const G=["Webkit","Moz","ms"],M={};function Rt(t,e){const n=M[e];if(n)return n;let s=Mt(e);if(s!=="filter"&&s in t)return M[e]=s;s=Pt(s);for(let r=0;r<G.length;r++){const i=G[r]+s;if(i in t)return M[e]=i}return e}const X="http://www.w3.org/1999/xlink";function Ft(t,e,n,s,r){if(s&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(X,e.slice(6,e.length)):t.setAttributeNS(X,e,n);else{const i=Dt(e);n==null||i&&!it(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}function Ht(t,e,n,s,r,i,a){if(e==="innerHTML"||e==="textContent"){s&&a(s,r,i),t[e]=n??"";return}if(e==="value"&&t.tagName!=="PROGRESS"&&!t.tagName.includes("-")){t._value=n;const c=n??"";(t.value!==c||t.tagName==="OPTION")&&(t.value=c),n==null&&t.removeAttribute(e);return}let f=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=it(n):n==null&&c==="string"?(n="",f=!0):c==="number"&&(n=0,f=!0)}try{t[e]=n}catch{}f&&t.removeAttribute(e)}function zt(t,e,n,s){t.addEventListener(e,n,s)}function qt(t,e,n,s){t.removeEventListener(e,n,s)}function Kt(t,e,n,s,r=null){const i=t._vei||(t._vei={}),a=i[e];if(s&&a)a.value=s;else{const[f,c]=Wt(e);if(s){const p=i[e]=Gt(s,r);zt(t,f,p,c)}else a&&(qt(t,f,a,c),i[e]=void 0)}}const J=/(?:Once|Passive|Capture)$/;function Wt(t){let e;if(J.test(t)){e={};let s;for(;s=t.match(J);)t=t.slice(0,t.length-s[0].length),e[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):rt(t.slice(2)),e]}let P=0;const Ut=Promise.resolve(),jt=()=>P||(Ut.then(()=>P=0),P=Date.now());function Gt(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;It(Xt(s,n.value),e,5,[s])};return n.value=t,n.attached=jt(),n}function Xt(t,e){if(w(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>r=>!r._stopped&&s&&s(r))}else return e}const Q=/^on[a-z]/,Jt=(t,e,n,s,r=!1,i,a,f,c)=>{e==="class"?xt(t,s,r):e==="style"?Bt(t,n,s):wt(e)?yt(e)||Kt(t,e,n,s,a):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Qt(t,e,s,r))?Ht(t,e,s,i,a,f,c):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),Ft(t,e,s,r))};function Qt(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&Q.test(e)&&nt(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Q.test(e)&&_(n)?!1:e in t}function oe(t){const e=Nt();if(!e)return;const n=e.ut=(r=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(i=>$(i,r))},s=()=>{const r=t(e.proxy);O(e.subTree,r),n(r)};Et(s),Tt(()=>{const r=new MutationObserver(s);r.observe(e.subTree.el.parentNode,{childList:!0}),At(()=>r.disconnect())})}function O(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{O(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)$(t.el,e);else if(t.type===Lt)t.children.forEach(n=>O(n,e));else if(t.type===_t){let{el:n,anchor:s}=t;for(;n&&($(n,e),n!==s);)n=n.nextSibling}}function $(t,e){if(t.nodeType===1){const n=t.style;for(const s in e)n.setProperty(`--${s}`,e[s])}}const g="transition",A="animation",ot=(t,{slots:e})=>ht(st,Yt(t),e);ot.displayName="Transition";const at={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};ot.props=x({},st.props,at);const C=(t,e=[])=>{w(t)?t.forEach(n=>n(...e)):t&&t(...e)},Y=t=>t?w(t)?t.some(e=>e.length>1):t.length>1:!1;function Yt(t){const e={};for(const o in t)o in at||(e[o]=t[o]);if(t.css===!1)return e;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:f=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:p=a,appearToClass:l=f,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:E=`${n}-leave-to`}=t,T=Zt(r),lt=T&&T[0],ut=T&&T[1],{onBeforeEnter:B,onEnter:R,onEnterCancelled:F,onLeave:H,onLeaveCancelled:pt,onBeforeAppear:dt=B,onAppear:mt=R,onAppearCancelled:gt=F}=e,y=(o,u,b)=>{S(o,u?l:f),S(o,u?p:a),b&&b()},z=(o,u)=>{o._isLeaving=!1,S(o,d),S(o,E),S(o,m),u&&u()},q=o=>(u,b)=>{const K=o?mt:R,W=()=>y(u,o,b);C(K,[u,W]),Z(()=>{S(u,o?c:i),h(u,o?l:f),Y(K)||V(u,s,lt,W)})};return x(e,{onBeforeEnter(o){C(B,[o]),h(o,i),h(o,a)},onBeforeAppear(o){C(dt,[o]),h(o,c),h(o,p)},onEnter:q(!1),onAppear:q(!0),onLeave(o,u){o._isLeaving=!0;const b=()=>z(o,u);h(o,d),te(),h(o,m),Z(()=>{o._isLeaving&&(S(o,d),h(o,E),Y(H)||V(o,s,ut,b))}),C(H,[o,b])},onEnterCancelled(o){y(o,!1),C(F,[o])},onAppearCancelled(o){y(o,!0),C(gt,[o])},onLeaveCancelled(o){z(o),C(pt,[o])}})}function Zt(t){if(t==null)return null;if(bt(t))return[D(t.enter),D(t.leave)];{const e=D(t);return[e,e]}}function D(t){return vt(t)}function h(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function S(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function Z(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Vt=0;function V(t,e,n,s){const r=t._endId=++Vt,i=()=>{r===t._endId&&s()};if(n)return setTimeout(i,n);const{type:a,timeout:f,propCount:c}=kt(t,e);if(!a)return s();const p=a+"end";let l=0;const d=()=>{t.removeEventListener(p,m),i()},m=E=>{E.target===t&&++l>=c&&d()};setTimeout(()=>{l<c&&d()},f+1),t.addEventListener(p,m)}function kt(t,e){const n=window.getComputedStyle(t),s=T=>(n[T]||"").split(", "),r=s(`${g}Delay`),i=s(`${g}Duration`),a=k(r,i),f=s(`${A}Delay`),c=s(`${A}Duration`),p=k(f,c);let l=null,d=0,m=0;e===g?a>0&&(l=g,d=a,m=i.length):e===A?p>0&&(l=A,d=p,m=c.length):(d=Math.max(a,p),l=d>0?a>p?g:A:null,m=l?l===g?i.length:c.length:0);const E=l===g&&/\b(transform|all)(,|$)/.test(s(`${g}Property`).toString());return{type:l,timeout:d,propCount:m,hasTransform:E}}function k(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,s)=>tt(n)+tt(t[s])))}function tt(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function te(){return document.body.offsetHeight}const ee=["ctrl","shift","alt","meta"],ne={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>ee.some(n=>t[`${n}Key`]&&!e.includes(n))},ae=(t,e)=>(n,...s)=>{for(let r=0;r<e.length;r++){const i=ne[e[r]];if(i&&i(n,e))return}return t(n,...s)},ce={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):N(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),N(t,!0),s.enter(t)):s.leave(t,()=>{N(t,!1)}):N(t,e))},beforeUnmount(t,{value:e}){N(t,e)}};function N(t,e){t.style.display=e?t._vod:"none"}const ct=x({patchProp:Jt},$t);let L,et=!1;function se(){return L||(L=Ct(ct))}function re(){return L=et?L:St(ct),et=!0,L}const fe=(...t)=>{const e=se().createApp(...t),{mount:n}=e;return e.mount=s=>{const r=ft(s);if(!r)return;const i=e._component;!nt(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},e},le=(...t)=>{const e=re().createApp(...t),{mount:n}=e;return e.mount=s=>{const r=ft(s);if(r)return n(r,!0,r instanceof SVGElement)},e};function ft(t){return _(t)?document.querySelector(t):t}export{ot as T,le as a,fe as c,oe as u,ce as v,ae as w};
@@ -8,7 +8,7 @@
8
8
  <title>My Shop</title>
9
9
  <meta name="description" content="My PWA Shop">
10
10
  <meta name="author" content="My Shop">
11
- <meta name="generator" content="Astro v2.0.6">
11
+ <meta name="generator" content="Astro v2.0.10">
12
12
  <link rel="canonical" href="https://ecom2-002.web.app/fallback/">
13
13
  <link rel="apple-touch-icon" href="/img/uploads/large-icon.png">
14
14
  <meta name="apple-mobile-web-app-capable" content="yes">
@@ -24,7 +24,7 @@
24
24
  <meta name="twitter:card" content="summary">
25
25
 
26
26
  <meta name="ecom-store-id" content="1011">
27
- <link rel="manifest" href="/manifest.webmanifest">
27
+
28
28
 
29
29
  <script>
30
30
  window.ECOM_STORE_ID = 1011;
@@ -32,7 +32,7 @@ window.ECOM_LANG = 'pt_br';
32
32
  window.ECOM_CURRENCY = 'BRL';
33
33
  window.ECOM_CURRENCY_SYMBOL = 'R$';
34
34
  window.ECOM_COUNTRY_CODE = 'R$';
35
- window.storefront = {"settings":{"domain":"ecom2-002.web.app","name":"My Shop","description":"My PWA Shop","logo":"/img/uploads/logo.webp","icon":"/img/uploads/large-icon.png","primary_color":"#137c5c","email":"","phone":"","address":"","corporate_name":"","doc_number":"","lang":"pt_br","currency":"BRL","currency_symbol":"R$","country_code":"BR","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":150}}}};</script>
35
+ window.storefront = {"settings":{"domain":"ecom2-002.web.app","name":"My Shop","description":"My PWA Shop","logo":"/img/uploads/logo.webp","icon":"/img/uploads/large-icon.png","primary_color":"#137c5c","email":"","phone":"","address":"","corporate_name":"","doc_number":"","lang":"pt_br","currency":"BRL","currency_symbol":"R$","country_code":"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":"","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":150}}}};</script>
36
36
  <script type="application/ld+json">{"@context":"http://schema.org","@type":"Organization","name":"My Shop","url":"https://ecom2-002.web.app/","logo":"https://ecom2-002.web.app/img/uploads/logo.webp"}</script>
37
37
 
38
38
 
@@ -48,23 +48,23 @@ window.storefront = {"settings":{"domain":"ecom2-002.web.app","name":"My Shop","
48
48
  measurementId: 'G-SC592CE0GB',
49
49
  };
50
50
  </script>
51
- <link rel="stylesheet" href="/_astro/_...slug_.bcc33d9d.css" /><script type="module" src="/_astro/hoisted.6edd7364.js"></script></head>
51
+ <link rel="stylesheet" href="/_astro/_...slug_.6721f699.css" /><script type="module" src="/_astro/hoisted.721ad75d.js"></script></head>
52
52
  <body>
53
53
  <div id="teleported-overlap" class="relative z-50"></div>
54
54
  <div id="teleported-top" class="relative z-0"></div>
55
55
  <style>astro-island,astro-slot{display:contents}</style><script>(self.Astro=self.Astro||{}).idle=t=>{const e=async()=>{await(await t())()};"requestIdleCallback"in window?window.requestIdleCallback(e):setTimeout(e,200)},window.dispatchEvent(new Event("astro:idle"));var l;{const c={0:t=>t,1:t=>JSON.parse(t,o),2:t=>new RegExp(t),3:t=>new Date(t),4:t=>new Map(JSON.parse(t,o)),5:t=>new Set(JSON.parse(t,o)),6:t=>BigInt(t),7:t=>new URL(t),8:t=>new Uint8Array(JSON.parse(t)),9:t=>new Uint16Array(JSON.parse(t)),10:t=>new Uint32Array(JSON.parse(t))},o=(t,s)=>{if(t===""||!Array.isArray(s))return s;const[e,n]=s;return e in c?c[e](n):void 0};customElements.get("astro-island")||customElements.define("astro-island",(l=class extends HTMLElement{constructor(){super(...arguments);this.hydrate=()=>{if(!this.hydrator||this.parentElement&&this.parentElement.closest("astro-island[ssr]"))return;const s=this.querySelectorAll("astro-slot"),e={},n=this.querySelectorAll("template[data-astro-template]");for(const r of n){const i=r.closest(this.tagName);!i||!i.isSameNode(this)||(e[r.getAttribute("data-astro-template")||"default"]=r.innerHTML,r.remove())}for(const r of s){const i=r.closest(this.tagName);!i||!i.isSameNode(this)||(e[r.getAttribute("name")||"default"]=r.innerHTML)}const a=this.hasAttribute("props")?JSON.parse(this.getAttribute("props"),o):{};this.hydrator(this)(this.Component,a,e,{client:this.getAttribute("client")}),this.removeAttribute("ssr"),window.removeEventListener("astro:hydrate",this.hydrate),window.dispatchEvent(new CustomEvent("astro:hydrate"))}}connectedCallback(){!this.hasAttribute("await-children")||this.firstChild?this.childrenConnectedCallback():new MutationObserver((s,e)=>{e.disconnect(),this.childrenConnectedCallback()}).observe(this,{childList:!0})}async childrenConnectedCallback(){window.addEventListener("astro:hydrate",this.hydrate);let s=this.getAttribute("before-hydration-url");s&&await import(s),this.start()}start(){const s=JSON.parse(this.getAttribute("opts")),e=this.getAttribute("client");if(Astro[e]===void 0){window.addEventListener(`astro:${e}`,()=>this.start(),{once:!0});return}Astro[e](async()=>{const n=this.getAttribute("renderer-url"),[a,{default:r}]=await Promise.all([import(this.getAttribute("component-url")),n?import(n):()=>()=>{}]),i=this.getAttribute("component-export")||"default";if(!i.includes("."))this.Component=a[i];else{this.Component=a;for(const d of i.split("."))this.Component=this.Component[d]}return this.hydrator=r,this.hydrate},s,this)}attributeChangedCallback(){this.hydrator&&this.hydrate()}},l.observedAttributes=["props"],l))}</script><script>(self.Astro=self.Astro||{}).load=a=>{(async()=>await(await a())())()},window.dispatchEvent(new Event("astro:load"));</script>
56
56
 
57
- <astro-island uid="1QT8mA" component-url="/_astro/PitchBar.004b6ea4.js" component-export="default" renderer-url="/_astro/client.56d86c9b.js" props="{&quot;slides&quot;:[1,&quot;[[0,{\&quot;href\&quot;:[0,\&quot;/promotion\&quot;],\&quot;html\&quot;:[0,\&quot;Aproveite nossos descontos de até 50%!\&quot;]}],[0,{\&quot;href\&quot;:[0,\&quot;\&quot;],\&quot;html\&quot;:[0,\&quot;&lt;b&gt;Frete grátis&lt;/b&gt; &lt;d-md&gt;para todo Brasil&lt;/d-md&gt; a partir de {{free_shipping_from_value}}\&quot;]}]]&quot;]}" ssr="" client="idle" opts="{&quot;name&quot;:&quot;PitchBar&quot;,&quot;value&quot;:true}" await-children=""><div class="bg-base-100 relative z-1"><div class="container md:w-2/3 mx-auto px-3 py-1"><div data-carousel><ul data-carousel-wrapper><!--[--><!--[--><li><a href="/promotion" class="inline-block px-8 hover:underline"><!--[--><span class="prose text-sm text-base-800">Aproveite nossos descontos de até 50%!</span><!--]--></a></li><li><span href class="inline-block px-8"><span class="prose text-sm text-base-800"><b>Frete grátis</b> <d-md>para todo Brasil</d-md> a partir de R$ 150,00</span></span></li><!--]--><!--]--></ul><!--[--><div style="" class="text-xl leading-none text-base-400"><button type="button" aria-label="Anterior" data-carousel-control="previous" class="pr-2 bg-base-100 hover:text-base-700"><!--[--><i class="i-chevron-left m-0"></i><!--]--></button><button type="button" aria-label="Próximo" data-carousel-control="next" class="pl-2 bg-base-100 hover:text-base-700"><!--[--><i class="i-chevron-right m-0"></i><!--]--></button></div><!--]--></div></div></div></astro-island>
57
+ <astro-island uid="27Suhl" component-url="/_astro/PitchBar.457658a3.js" component-export="default" renderer-url="/_astro/client.b854166f.js" props="{&quot;slides&quot;:[1,&quot;[[0,{\&quot;href\&quot;:[0,\&quot;/promotion\&quot;],\&quot;html\&quot;:[0,\&quot;Aproveite nossos descontos de até 50%!\&quot;]}],[0,{\&quot;href\&quot;:[0,\&quot;\&quot;],\&quot;html\&quot;:[0,\&quot;&lt;b&gt;Frete grátis&lt;/b&gt; &lt;d-md&gt;para todo Brasil&lt;/d-md&gt; a partir de {free_shipping_from_value}\&quot;]}]]&quot;]}" ssr="" client="idle" opts="{&quot;name&quot;:&quot;PitchBar&quot;,&quot;value&quot;:true}" await-children=""><div class="bg-base-100 relative z-1"><div class="container md:w-2/3 mx-auto px-3 py-1"><div data-carousel><ul data-carousel-wrapper><!--[--><!--[--><li><a href="/promotion" target="_blank" rel="noopener" class="inline-block px-8 hover:underline"><!--[--><span class="prose text-sm text-base-800">Aproveite nossos descontos de até 50%!</span><!--]--></a></li><li><span href class="inline-block px-8"><span class="prose text-sm text-base-800"><b>Frete grátis</b> <d-md>para todo Brasil</d-md> a partir de R$ 150,00</span></span></li><!--]--><!--]--></ul><!--[--><div style="" class="text-xl leading-none text-base-400"><button type="button" aria-label="Anterior" data-carousel-control="previous" class="pr-2 bg-base-100 hover:text-base-700"><!--[--><i class="i-chevron-left m-0"></i><!--]--></button><button type="button" aria-label="Próximo" data-carousel-control="next" class="pl-2 bg-base-100 hover:text-base-700"><!--[--><i class="i-chevron-right m-0"></i><!--]--></button></div><!--]--></div></div></div></astro-island>
58
58
 
59
59
 
60
- <astro-island uid="Zordto" component-url="/_astro/ShopHeader.cbfee289.js" component-export="default" renderer-url="/_astro/client.56d86c9b.js" props="{&quot;categories&quot;:[1,&quot;[[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa18c626be23430d4f4e\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores\&quot;],\&quot;slug\&quot;:[0,\&quot;monitores\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007322374-rect836.png\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2019-08-28T15:51:06.863Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-08-28T15:51:06.863Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa2ac626be23430d4f50\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores Gamer\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa18c626be23430d4f4e\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores\&quot;],\&quot;slug\&quot;:[0,\&quot;monitores\&quot;]}],\&quot;slug\&quot;:[0,\&quot;monitores-gamer\&quot;],\&quot;updated_at\&quot;:[0,\&quot;2021-07-15T23:29:10.192Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa45c626be23430d4f52\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores Convencionais\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa18c626be23430d4f4e\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores\&quot;],\&quot;slug\&quot;:[0,\&quot;monitores\&quot;]}],\&quot;slug\&quot;:[0,\&quot;monitores-convencionais\&quot;],\&quot;updated_at\&quot;:[0,\&quot;2021-08-17T18:42:54.920Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa5bc626be23430d4f54\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores TV\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa18c626be23430d4f4e\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores\&quot;],\&quot;slug\&quot;:[0,\&quot;monitores\&quot;]}],\&quot;slug\&quot;:[0,\&quot;monitores-tv\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T13:34:19.659Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa6ec626be23430d4f56\&quot;],\&quot;name\&quot;:[0,\&quot;Notebooks\&quot;],\&quot;slug\&quot;:[0,\&quot;notebooks\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007351112-comp.png\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2019-08-28T15:51:51.039Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-08-28T15:51:51.039Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa8cc626be23430d4f58\&quot;],\&quot;name\&quot;:[0,\&quot;Notebooks gamers\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa6ec626be23430d4f56\&quot;],\&quot;name\&quot;:[0,\&quot;Notebooks\&quot;],\&quot;slug\&quot;:[0,\&quot;notebooks\&quot;]}],\&quot;slug\&quot;:[0,\&quot;notebooks-gamers\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T13:35:08.093Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffab6c626be23430d4f5c\&quot;],\&quot;name\&quot;:[0,\&quot;MacBook\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5d5714045753286eadbbdc77\&quot;],\&quot;name\&quot;:[0,\&quot;Ultrabook\&quot;],\&quot;slug\&quot;:[0,\&quot;ultrabook\&quot;]}],\&quot;slug\&quot;:[0,\&quot;macbook\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1566932713325-macbook.jfif\&quot;],\&quot;size\&quot;:[0,\&quot;233x216\&quot;],\&quot;alt\&quot;:[0,\&quot;macbook\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2019-08-27T19:07:35.157Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-08-27T19:07:35.157Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c7009bec626be23430d4f80\&quot;],\&quot;name\&quot;:[0,\&quot;Periféricos\&quot;],\&quot;slug\&quot;:[0,\&quot;perifericos\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007328003-keyb.png\&quot;]}],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c701cb1c626be23430d4fe9\&quot;],\&quot;name\&quot;:[0,\&quot;Físicos\&quot;],\&quot;slug\&quot;:[0,\&quot;fisicos\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2020-09-04T21:48:44.261Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2020-09-04T21:48:44.261Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c7009fdc626be23430d4f82\&quot;],\&quot;name\&quot;:[0,\&quot;Teclados\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c7009bec626be23430d4f80\&quot;],\&quot;name\&quot;:[0,\&quot;Periféricos\&quot;],\&quot;slug\&quot;:[0,\&quot;perifericos\&quot;]}],\&quot;slug\&quot;:[0,\&quot;teclados\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T14:41:01.323Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c700a11c626be23430d4f84\&quot;],\&quot;name\&quot;:[0,\&quot;Mouses\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c7009bec626be23430d4f80\&quot;],\&quot;name\&quot;:[0,\&quot;Periféricos\&quot;],\&quot;slug\&quot;:[0,\&quot;perifericos\&quot;]}],\&quot;slug\&quot;:[0,\&quot;mouses\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T14:41:21.566Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c700a37c626be23430d4f86\&quot;],\&quot;name\&quot;:[0,\&quot;Caixas de Som\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c7009bec626be23430d4f80\&quot;],\&quot;name\&quot;:[0,\&quot;Periféricos\&quot;],\&quot;slug\&quot;:[0,\&quot;perifericos\&quot;]}],\&quot;slug\&quot;:[0,\&quot;caixas-de-som\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T14:41:59.607Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c700a53c626be23430d4f88\&quot;],\&quot;name\&quot;:[0,\&quot;Headset\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c7009bec626be23430d4f80\&quot;],\&quot;name\&quot;:[0,\&quot;Periféricos\&quot;],\&quot;slug\&quot;:[0,\&quot;perifericos\&quot;]}],\&quot;slug\&quot;:[0,\&quot;headset\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T14:42:27.608Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c700a6bc626be23430d4f8a\&quot;],\&quot;name\&quot;:[0,\&quot;Cadeira Gamer\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c7009bec626be23430d4f80\&quot;],\&quot;name\&quot;:[0,\&quot;Periféricos\&quot;],\&quot;slug\&quot;:[0,\&quot;perifericos\&quot;]}],\&quot;slug\&quot;:[0,\&quot;cadeira-gamer\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T14:42:51.330Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c700a9cc626be23430d4f8c\&quot;],\&quot;name\&quot;:[0,\&quot;Smartphones\&quot;],\&quot;slug\&quot;:[0,\&quot;smartphones\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007321218-smartphone.png\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2019-08-28T15:52:17.995Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-08-28T15:52:17.995Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c701c9ec626be23430d4fe7\&quot;],\&quot;name\&quot;:[0,\&quot;Jogo\&quot;],\&quot;slug\&quot;:[0,\&quot;jogos/\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007332353-game.png\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2020-07-24T19:14:01.592Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2020-07-24T19:14:01.592Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c701cb1c626be23430d4fe9\&quot;],\&quot;name\&quot;:[0,\&quot;Físicos\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c701c9ec626be23430d4fe7\&quot;],\&quot;name\&quot;:[0,\&quot;Jogo\&quot;],\&quot;slug\&quot;:[0,\&quot;jogos/\&quot;]}],\&quot;slug\&quot;:[0,\&quot;fisicos\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T16:00:49.671Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c701cc6c626be23430d4feb\&quot;],\&quot;name\&quot;:[0,\&quot;Digitais\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c701c9ec626be23430d4fe7\&quot;],\&quot;name\&quot;:[0,\&quot;Jogo\&quot;],\&quot;slug\&quot;:[0,\&quot;jogos/\&quot;]}],\&quot;slug\&quot;:[0,\&quot;digitais\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T16:01:10.358Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c701ce2c626be23430d4fed\&quot;],\&quot;name\&quot;:[0,\&quot;Usados\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c701c9ec626be23430d4fe7\&quot;],\&quot;name\&quot;:[0,\&quot;Jogo\&quot;],\&quot;slug\&quot;:[0,\&quot;jogos/\&quot;]}],\&quot;slug\&quot;:[0,\&quot;usados\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T16:01:38.850Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5ceecb3f887ef430f1f70c88\&quot;],\&quot;name\&quot;:[0,\&quot;Promoções\&quot;],\&quot;slug\&quot;:[0,\&quot;promocoes\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007326827-mony.png\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2019-08-28T15:52:41.385Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-08-28T15:52:41.385Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5d5714045753286eadbbdc77\&quot;],\&quot;name\&quot;:[0,\&quot;Ultrabook\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa6ec626be23430d4f56\&quot;],\&quot;name\&quot;:[0,\&quot;Notebooks\&quot;],\&quot;slug\&quot;:[0,\&quot;notebooks\&quot;]}],\&quot;slug\&quot;:[0,\&quot;ultrabook\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-08-16T20:37:24.811Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5f70f1417430f92180f5ba66\&quot;],\&quot;name\&quot;:[0,\&quot;Brasileiro\&quot;],\&quot;created_at\&quot;:[0,\&quot;2020-09-27T20:08:33.202Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5fb2b13b69274c73fcd6a051\&quot;],\&quot;name\&quot;:[0,\&quot;smartwatch\&quot;],\&quot;created_at\&quot;:[0,\&quot;2020-11-16T17:04:59.320Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;60199592d6981740b4a030f4\&quot;],\&quot;name\&quot;:[0,\&quot;São Paulo\&quot;],\&quot;slug\&quot;:[0,\&quot;sao-paulo\&quot;],\&quot;updated_at\&quot;:[0,\&quot;2021-08-17T18:43:10.174Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;61de099d0c7c72722502397b\&quot;],\&quot;name\&quot;:[0,\&quot;MacBook Pro\&quot;],\&quot;created_at\&quot;:[0,\&quot;2022-01-11T22:50:05.070Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;61de12450c7c727225025299\&quot;],\&quot;name\&quot;:[0,\&quot;Mac Stop\&quot;],\&quot;created_at\&quot;:[0,\&quot;2022-01-11T23:27:01.790Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;6227a90a7963422eee367aaa\&quot;],\&quot;name\&quot;:[0,\&quot;capinhas\&quot;],\&quot;created_at\&quot;:[0,\&quot;2022-03-08T19:05:46.688Z\&quot;]}]]&quot;]}" ssr="" client="load" opts="{&quot;name&quot;:&quot;ShopHeader&quot;,&quot;value&quot;:true}" await-children=""><header class="top-0 z-50 transition-colors bg-white py-3 sm:py-4 md:py-5"><div class="container lg:max-w-7xl mx-auto px-1 lg:pl-3 grid grid-flow-col grid-cols-3 justify-between items-center md:grid-cols-none md:auto-cols-max"><!--[--><div class="md:hidden" data-sidenav-toggle><button class="px-2 my-1" aria-label="Abrir/fechar menu"><!--[--><i class="i-menu text-base-500 text-3xl"></i><!--]--></button></div><!--]--><!--[--><astro-slot name="logo">
60
+ <astro-island uid="1nUgFU" component-url="/_astro/ShopHeader.0a6766ac.js" component-export="default" renderer-url="/_astro/client.b854166f.js" props="{&quot;categories&quot;:[1,&quot;[[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa18c626be23430d4f4e\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores\&quot;],\&quot;slug\&quot;:[0,\&quot;monitores\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007322374-rect836.png\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2019-08-28T15:51:06.863Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-08-28T15:51:06.863Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa2ac626be23430d4f50\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores Gamer\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa18c626be23430d4f4e\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores\&quot;],\&quot;slug\&quot;:[0,\&quot;monitores\&quot;]}],\&quot;slug\&quot;:[0,\&quot;monitores-gamer\&quot;],\&quot;updated_at\&quot;:[0,\&quot;2021-07-15T23:29:10.192Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa45c626be23430d4f52\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores Convencionais\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa18c626be23430d4f4e\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores\&quot;],\&quot;slug\&quot;:[0,\&quot;monitores\&quot;]}],\&quot;slug\&quot;:[0,\&quot;monitores-convencionais\&quot;],\&quot;updated_at\&quot;:[0,\&quot;2021-08-17T18:42:54.920Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa5bc626be23430d4f54\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores TV\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa18c626be23430d4f4e\&quot;],\&quot;name\&quot;:[0,\&quot;Monitores\&quot;],\&quot;slug\&quot;:[0,\&quot;monitores\&quot;]}],\&quot;slug\&quot;:[0,\&quot;monitores-tv\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T13:34:19.659Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa6ec626be23430d4f56\&quot;],\&quot;name\&quot;:[0,\&quot;Notebooks\&quot;],\&quot;slug\&quot;:[0,\&quot;notebooks\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007351112-comp.png\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2019-08-28T15:51:51.039Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-08-28T15:51:51.039Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa8cc626be23430d4f58\&quot;],\&quot;name\&quot;:[0,\&quot;Notebooks gamers\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa6ec626be23430d4f56\&quot;],\&quot;name\&quot;:[0,\&quot;Notebooks\&quot;],\&quot;slug\&quot;:[0,\&quot;notebooks\&quot;]}],\&quot;slug\&quot;:[0,\&quot;notebooks-gamers\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T13:35:08.093Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffab6c626be23430d4f5c\&quot;],\&quot;name\&quot;:[0,\&quot;MacBook\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5d5714045753286eadbbdc77\&quot;],\&quot;name\&quot;:[0,\&quot;Ultrabook\&quot;],\&quot;slug\&quot;:[0,\&quot;ultrabook\&quot;]}],\&quot;slug\&quot;:[0,\&quot;macbook\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1566932713325-macbook.jfif\&quot;],\&quot;size\&quot;:[0,\&quot;233x216\&quot;],\&quot;alt\&quot;:[0,\&quot;macbook\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2019-08-27T19:07:35.157Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-08-27T19:07:35.157Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c7009bec626be23430d4f80\&quot;],\&quot;name\&quot;:[0,\&quot;Periféricos\&quot;],\&quot;slug\&quot;:[0,\&quot;perifericos\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007328003-keyb.png\&quot;]}],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c701cb1c626be23430d4fe9\&quot;],\&quot;name\&quot;:[0,\&quot;Físicos\&quot;],\&quot;slug\&quot;:[0,\&quot;fisicos\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2020-09-04T21:48:44.261Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2020-09-04T21:48:44.261Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c7009fdc626be23430d4f82\&quot;],\&quot;name\&quot;:[0,\&quot;Teclados\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c7009bec626be23430d4f80\&quot;],\&quot;name\&quot;:[0,\&quot;Periféricos\&quot;],\&quot;slug\&quot;:[0,\&quot;perifericos\&quot;]}],\&quot;slug\&quot;:[0,\&quot;teclados\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T14:41:01.323Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c700a11c626be23430d4f84\&quot;],\&quot;name\&quot;:[0,\&quot;Mouses\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c7009bec626be23430d4f80\&quot;],\&quot;name\&quot;:[0,\&quot;Periféricos\&quot;],\&quot;slug\&quot;:[0,\&quot;perifericos\&quot;]}],\&quot;slug\&quot;:[0,\&quot;mouses\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T14:41:21.566Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c700a37c626be23430d4f86\&quot;],\&quot;name\&quot;:[0,\&quot;Caixas de Som\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c7009bec626be23430d4f80\&quot;],\&quot;name\&quot;:[0,\&quot;Periféricos\&quot;],\&quot;slug\&quot;:[0,\&quot;perifericos\&quot;]}],\&quot;slug\&quot;:[0,\&quot;caixas-de-som\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T14:41:59.607Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c700a53c626be23430d4f88\&quot;],\&quot;name\&quot;:[0,\&quot;Headset\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c7009bec626be23430d4f80\&quot;],\&quot;name\&quot;:[0,\&quot;Periféricos\&quot;],\&quot;slug\&quot;:[0,\&quot;perifericos\&quot;]}],\&quot;slug\&quot;:[0,\&quot;headset\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T14:42:27.608Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c700a6bc626be23430d4f8a\&quot;],\&quot;name\&quot;:[0,\&quot;Cadeira Gamer\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c7009bec626be23430d4f80\&quot;],\&quot;name\&quot;:[0,\&quot;Periféricos\&quot;],\&quot;slug\&quot;:[0,\&quot;perifericos\&quot;]}],\&quot;slug\&quot;:[0,\&quot;cadeira-gamer\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T14:42:51.330Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c700a9cc626be23430d4f8c\&quot;],\&quot;name\&quot;:[0,\&quot;Smartphones\&quot;],\&quot;slug\&quot;:[0,\&quot;smartphones\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007321218-smartphone.png\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2019-08-28T15:52:17.995Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-08-28T15:52:17.995Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c701c9ec626be23430d4fe7\&quot;],\&quot;name\&quot;:[0,\&quot;Jogo\&quot;],\&quot;slug\&quot;:[0,\&quot;jogos/\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007332353-game.png\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2020-07-24T19:14:01.592Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2020-07-24T19:14:01.592Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c701cb1c626be23430d4fe9\&quot;],\&quot;name\&quot;:[0,\&quot;Físicos\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c701c9ec626be23430d4fe7\&quot;],\&quot;name\&quot;:[0,\&quot;Jogo\&quot;],\&quot;slug\&quot;:[0,\&quot;jogos/\&quot;]}],\&quot;slug\&quot;:[0,\&quot;fisicos\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T16:00:49.671Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c701cc6c626be23430d4feb\&quot;],\&quot;name\&quot;:[0,\&quot;Digitais\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c701c9ec626be23430d4fe7\&quot;],\&quot;name\&quot;:[0,\&quot;Jogo\&quot;],\&quot;slug\&quot;:[0,\&quot;jogos/\&quot;]}],\&quot;slug\&quot;:[0,\&quot;digitais\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T16:01:10.358Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5c701ce2c626be23430d4fed\&quot;],\&quot;name\&quot;:[0,\&quot;Usados\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c701c9ec626be23430d4fe7\&quot;],\&quot;name\&quot;:[0,\&quot;Jogo\&quot;],\&quot;slug\&quot;:[0,\&quot;jogos/\&quot;]}],\&quot;slug\&quot;:[0,\&quot;usados\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-02-22T16:01:38.850Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5ceecb3f887ef430f1f70c88\&quot;],\&quot;name\&quot;:[0,\&quot;Promoções\&quot;],\&quot;slug\&quot;:[0,\&quot;promocoes\&quot;],\&quot;icon\&quot;:[0,{\&quot;url\&quot;:[0,\&quot;https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007326827-mony.png\&quot;]}],\&quot;updated_at\&quot;:[0,\&quot;2019-08-28T15:52:41.385Z\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-08-28T15:52:41.385Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5d5714045753286eadbbdc77\&quot;],\&quot;name\&quot;:[0,\&quot;Ultrabook\&quot;],\&quot;parent\&quot;:[0,{\&quot;_id\&quot;:[0,\&quot;5c6ffa6ec626be23430d4f56\&quot;],\&quot;name\&quot;:[0,\&quot;Notebooks\&quot;],\&quot;slug\&quot;:[0,\&quot;notebooks\&quot;]}],\&quot;slug\&quot;:[0,\&quot;ultrabook\&quot;],\&quot;created_at\&quot;:[0,\&quot;2019-08-16T20:37:24.811Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5f70f1417430f92180f5ba66\&quot;],\&quot;name\&quot;:[0,\&quot;Brasileiro\&quot;],\&quot;created_at\&quot;:[0,\&quot;2020-09-27T20:08:33.202Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;5fb2b13b69274c73fcd6a051\&quot;],\&quot;name\&quot;:[0,\&quot;smartwatch\&quot;],\&quot;created_at\&quot;:[0,\&quot;2020-11-16T17:04:59.320Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;60199592d6981740b4a030f4\&quot;],\&quot;name\&quot;:[0,\&quot;São Paulo\&quot;],\&quot;slug\&quot;:[0,\&quot;sao-paulo\&quot;],\&quot;updated_at\&quot;:[0,\&quot;2021-08-17T18:43:10.174Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;61de099d0c7c72722502397b\&quot;],\&quot;name\&quot;:[0,\&quot;MacBook Pro\&quot;],\&quot;created_at\&quot;:[0,\&quot;2022-01-11T22:50:05.070Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;61de12450c7c727225025299\&quot;],\&quot;name\&quot;:[0,\&quot;Mac Stop\&quot;],\&quot;created_at\&quot;:[0,\&quot;2022-01-11T23:27:01.790Z\&quot;]}],[0,{\&quot;_id\&quot;:[0,\&quot;6227a90a7963422eee367aaa\&quot;],\&quot;name\&quot;:[0,\&quot;capinhas\&quot;],\&quot;created_at\&quot;:[0,\&quot;2022-03-08T19:05:46.688Z\&quot;]}]]&quot;]}" ssr="" client="load" opts="{&quot;name&quot;:&quot;ShopHeader&quot;,&quot;value&quot;:true}" await-children=""><header class="top-0 z-50 transition-colors bg-white py-3 sm:py-4 md:py-5"><div class="container lg:max-w-7xl mx-auto px-1 lg:pl-3 grid grid-flow-col grid-cols-3 justify-between items-center md:grid-cols-none md:auto-cols-max"><div class="md:hidden"><button class="px-2 my-1" aria-label="Abrir/fechar menu"><i class="i-menu text-base-500 text-3xl"></i></button></div><!--[--><astro-slot name="logo">
61
61
  <a href="/">
62
62
  <h2><picture>
63
63
  <source type="image/avif" srcset="/_image?f=avif&#38;w=300&#38;h=117&#38;ar=2.570281124497992&#38;href=%2Fimg%2Fuploads%2Flogo.webp 300w" sizes="150px"><source type="image/webp" srcset="/_image?f=webp&#38;w=300&#38;h=117&#38;ar=2.570281124497992&#38;href=%2Fimg%2Fuploads%2Flogo.webp 300w" sizes="150px">
64
- <img alt="My Shop" src="/_image?f=webp&#38;w=300&#38;h=117&#38;ar=2.570281124497992&#38;href=%2Fimg%2Fuploads%2Flogo.webp" loading="lazy" decoding="async" alt="My Shop" slot="logo-picture" fetchpriority="high" class="hover:drop-shadow-sm">
64
+ <img alt="My Shop" src="/_image?f=webp&#38;w=300&#38;h=117&#38;ar=2.570281124497992&#38;href=%2Fimg%2Fuploads%2Flogo.webp" loading="lazy" decoding="async" slot="logo-picture" fetchpriority="high" class="hover:drop-shadow-sm">
65
65
  </picture></h2>
66
66
  </a>
67
- </astro-slot><!--]--><!--[--><!--]--><!--[--><div class="px-2 flex justify-end items-center gap-3 lg:gap-4 text-base-800" data-header-buttons><!--[--><!--[--><button class="" aria-label="Buscar produtos" data-header-button="search"><!--[--><i class="i-search hover:text-primary w-7 h-7 hover:scale-110 active:scale-125"></i><!--]--></button><!--]--><!--[--><button class="hidden sm:block" aria-label="Minha conta" data-header-button="account"><!--[--><i class="i-account hover:text-primary w-7 h-7 hover:scale-110 active:scale-125"></i><!--]--></button><!--]--><!--[--><button class="" aria-label="Abrir carrinho" data-header-button="cart"><!--[--><i class="i-shopping-cart hover:text-primary w-7 h-7 hover:scale-110 active:scale-125"></i><!--]--></button><!--]--><!--]--></div><!--]--></div><!----></header></astro-island>
67
+ </astro-slot><!--]--><nav class="hidden md:block"></nav><div class="px-2 flex justify-end items-center gap-3 lg:gap-4 text-base-800"><button aria-label="Buscar produtos"><i class="i-search w-7 h-7 hover:text-primary hover:scale-110 active:scale-125"></i></button><button class="hidden sm:block" aria-label="Minha conta"><i class="i-account w-7 h-7 hover:text-primary hover:scale-110 active:scale-125"></i></button><button aria-label="Abrir carrinho"><i class="i-shopping-cart w-7 h-7 hover:text-primary hover:scale-110 active:scale-125"></i></button></div></div><!----></header></astro-island>
68
68
 
69
69
  <main>
70
70
  <h1>Error :/</h1>
@@ -1 +1 @@
1
- if(!self.define){let e,s={};const r=(r,n)=>(r=new URL(r+".js",n).href,s[r]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=r,e.onload=s,document.head.appendChild(e)}else e=r,importScripts(r),s()})).then((()=>{let e=s[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e})));self.define=(n,i)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let l={};const t=e=>r(e,o),u={module:{uri:o},exports:l,require:t};s[o]=Promise.all(n.map((e=>u[e]||t(e)))).then((e=>(i(...e),l)))}}define(["./workbox-e2ee76b5"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"_astro/_...slug_.bcc33d9d.css",revision:null},{url:"_astro/client.56d86c9b.js",revision:null},{url:"_astro/ecom-utils.92f137f6.js",revision:null},{url:"_astro/hoisted.6edd7364.js",revision:null},{url:"_astro/index.0c833781.css",revision:null},{url:"_astro/index.2d12be6c.js",revision:null},{url:"_astro/modules-info.0debb0b0.js",revision:null},{url:"_astro/PitchBar.004b6ea4.js",revision:null},{url:"_astro/Prices.f311909a.js",revision:null},{url:"_astro/Prices.vue_vue_type_script_setup_true_lang.ef47de70.js",revision:null},{url:"_astro/ProductCard.34de5097.js",revision:null},{url:"_astro/runtime-core.esm-bundler.a0432a8e.js",revision:null},{url:"_astro/runtime-dom.esm-bundler.0e5774ce.js",revision:null},{url:"_astro/server.60de185d.css",revision:null},{url:"_astro/session-utm.72684b84.js",revision:null},{url:"_astro/ShopHeader.cbfee289.js",revision:null},{url:"_astro/workbox-window.prod.es5.295a6886.js",revision:null},{url:"img/uploads/large-icon.png",revision:"0b35db516cfa7475b1c2f8c081e8d54d"},{url:"manifest.webmanifest",revision:"6a858866b0560997f368e27ab5418e15"}],{ignoreURLParametersMatching:[/.*/]}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/404"))),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 r=(r,n)=>(r=new URL(r+".js",n).href,s[r]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=r,e.onload=s,document.head.appendChild(e)}else e=r,importScripts(r),s()})).then((()=>{let e=s[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e})));self.define=(n,i)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let a={};const l=e=>r(e,o),u={module:{uri:o},exports:a,require:l};s[o]=Promise.all(n.map((e=>u[e]||l(e)))).then((e=>(i(...e),a)))}}define(["./workbox-e2ee76b5"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"_astro/_...slug_.6721f699.css",revision:null},{url:"_astro/_plugin-vue_export-helper.6da04e63.js",revision:null},{url:"_astro/client.b854166f.js",revision:null},{url:"_astro/firebase-app.7ce2ebb1.js",revision:null},{url:"_astro/format-money.6f464cee.js",revision:null},{url:"_astro/hoisted.721ad75d.js",revision:null},{url:"_astro/idle-callback.889bf0ea.js",revision:null},{url:"_astro/index.0c833781.css",revision:null},{url:"_astro/index.a500792d.js",revision:null},{url:"_astro/modules-info.80ae4e30.js",revision:null},{url:"_astro/PitchBar.457658a3.js",revision:null},{url:"_astro/preload-helper.101896b7.js",revision:null},{url:"_astro/Prices.a1302bf9.js",revision:null},{url:"_astro/ProductCard.1a45764a.js",revision:null},{url:"_astro/runtime-dom.esm-bundler.acde10ec.js",revision:null},{url:"_astro/server.60de185d.css",revision:null},{url:"_astro/session-utm.72684b84.js",revision:null},{url:"_astro/ShopHeader.0a6766ac.js",revision:null},{url:"_astro/workbox-window.prod.es5.295a6886.js",revision:null},{url:"img/uploads/large-icon.png",revision:"0b35db516cfa7475b1c2f8c081e8d54d"},{url:"manifest.webmanifest",revision:"6a858866b0560997f368e27ab5418e15"}],{ignoreURLParametersMatching:[/.*/]}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/404"))),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")}));
@@ -52,9 +52,11 @@ function deserializeManifest(serializedManifest) {
52
52
  route.routeData = deserializeRouteData(serializedRoute.routeData);
53
53
  }
54
54
  const assets = new Set(serializedManifest.assets);
55
+ const propagation = new Map(serializedManifest.propagation);
55
56
  return {
56
57
  ...serializedManifest,
57
58
  assets,
59
+ propagation,
58
60
  routes
59
61
  };
60
62
  }
@@ -376,6 +378,12 @@ Expected \`true\` value but got \`${suffix}\`.`;
376
378
  message: (name) => `Invalid arguments passed to${name ? ` <${name}>` : ""} component.`,
377
379
  hint: "Astro components cannot be rendered directly via function call, such as `Component()` or `{items.map(Component)}`."
378
380
  },
381
+ PageNumberParamNotFound: {
382
+ title: "Page number param not found.",
383
+ code: 3021,
384
+ message: (paramName) => `[paginate()] page number param \`${paramName}\` not found in your filepath.`,
385
+ hint: "Rename your file to `[page].astro` or `[...page].astro`."
386
+ },
379
387
  UnknownViteError: {
380
388
  title: "Unknown Vite Error.",
381
389
  code: 4e3
@@ -608,7 +616,7 @@ function createComponent(arg1, moduleId) {
608
616
  }
609
617
  }
610
618
 
611
- const ASTRO_VERSION = "2.0.6";
619
+ const ASTRO_VERSION = "2.0.10";
612
620
 
613
621
  function createAstroGlobFn() {
614
622
  const globHandler = (importMetaGlobResult, globValue) => {
@@ -1007,11 +1015,6 @@ function renderElement$1(name, { props: _props, children = "" }, shouldEscape =
1007
1015
  }
1008
1016
  return `<${name}${internalSpreadAttributes(props, shouldEscape)}>${children}</${name}>`;
1009
1017
  }
1010
- const ScopeFlags = {
1011
- Astro: 1 << 0,
1012
- JSX: 1 << 1,
1013
- Slot: 1 << 2
1014
- };
1015
1018
 
1016
1019
  const uniqueElements = (item, index, all) => {
1017
1020
  const props = JSON.stringify(item.props);
@@ -1041,12 +1044,33 @@ function* maybeRenderHead(result) {
1041
1044
  if (result._metadata.hasRenderedHead) {
1042
1045
  return;
1043
1046
  }
1044
- switch (result.scope) {
1045
- case ScopeFlags.JSX | ScopeFlags.Slot | ScopeFlags.Astro: {
1046
- return;
1047
+ yield { type: "maybe-head", result, scope: result.scope };
1048
+ }
1049
+
1050
+ const ScopeFlags = {
1051
+ Astro: 1 << 0,
1052
+ JSX: 1 << 1,
1053
+ Slot: 1 << 2,
1054
+ HeadBuffer: 1 << 3,
1055
+ RenderSlot: 1 << 4
1056
+ };
1057
+ function addScopeFlag(result, flag) {
1058
+ result.scope |= flag;
1059
+ }
1060
+ function hasScopeFlag(result, flag) {
1061
+ return (result.scope & flag) === flag;
1062
+ }
1063
+ function createScopedResult(result, flag) {
1064
+ const scopedResult = Object.create(result, {
1065
+ scope: {
1066
+ writable: true,
1067
+ value: result.scope
1047
1068
  }
1069
+ });
1070
+ if (flag != null) {
1071
+ addScopeFlag(scopedResult, flag);
1048
1072
  }
1049
- yield { type: "head", result };
1073
+ return scopedResult;
1050
1074
  }
1051
1075
 
1052
1076
  const headAndContentSym = Symbol.for("astro.headAndContent");
@@ -1112,8 +1136,8 @@ function isAstroComponentFactory(obj) {
1112
1136
  return obj == null ? false : obj.isAstroComponentFactory === true;
1113
1137
  }
1114
1138
  async function renderToString(result, componentFactory, props, children) {
1115
- result.scope |= ScopeFlags.Astro;
1116
- const factoryResult = await componentFactory(result, props, children);
1139
+ const scoped = createScopedResult(result, ScopeFlags.Astro);
1140
+ const factoryResult = await componentFactory(scoped, props, children);
1117
1141
  if (factoryResult instanceof Response) {
1118
1142
  const response = factoryResult;
1119
1143
  throw response;
@@ -1344,17 +1368,19 @@ class AstroComponentInstance {
1344
1368
  this.props = props;
1345
1369
  this.factory = factory;
1346
1370
  this.slotValues = {};
1371
+ const scoped = createScopedResult(result, ScopeFlags.Slot);
1347
1372
  for (const name in slots) {
1348
- this.slotValues[name] = slots[name]();
1373
+ const value = slots[name](scoped);
1374
+ this.slotValues[name] = () => value;
1349
1375
  }
1350
1376
  }
1351
- async init() {
1352
- this.returnValue = this.factory(this.result, this.props, this.slotValues);
1377
+ async init(result) {
1378
+ this.returnValue = this.factory(result, this.props, this.slotValues);
1353
1379
  return this.returnValue;
1354
1380
  }
1355
1381
  async *render() {
1356
1382
  if (this.returnValue === void 0) {
1357
- await this.init();
1383
+ await this.init(this.result);
1358
1384
  }
1359
1385
  let value = this.returnValue;
1360
1386
  if (isPromise(value)) {
@@ -1434,8 +1460,8 @@ function isSlotString(str) {
1434
1460
  }
1435
1461
  async function renderSlot(result, slotted, fallback) {
1436
1462
  if (slotted) {
1437
- result.scope |= ScopeFlags.Slot;
1438
- let iterator = renderChild(slotted);
1463
+ const scoped = createScopedResult(result, ScopeFlags.Slot);
1464
+ let iterator = renderChild(typeof slotted === "function" ? slotted(scoped) : slotted);
1439
1465
  let content = "";
1440
1466
  let instructions = null;
1441
1467
  for await (const chunk of iterator) {
@@ -1448,10 +1474,12 @@ async function renderSlot(result, slotted, fallback) {
1448
1474
  content += chunk;
1449
1475
  }
1450
1476
  }
1451
- result.scope &= ~ScopeFlags.Slot;
1452
1477
  return markHTMLString(new SlotString(content, instructions));
1453
1478
  }
1454
- return fallback;
1479
+ if (fallback) {
1480
+ return renderSlot(result, fallback);
1481
+ }
1482
+ return "";
1455
1483
  }
1456
1484
  async function renderSlots(result, slots = {}) {
1457
1485
  let slotInstructions = null;
@@ -1500,6 +1528,37 @@ function stringifyChunk(result, chunk) {
1500
1528
  }
1501
1529
  return renderAllHeadContent(result);
1502
1530
  }
1531
+ case "maybe-head": {
1532
+ if (result._metadata.hasRenderedHead) {
1533
+ return "";
1534
+ }
1535
+ const scope = instruction.scope;
1536
+ switch (scope) {
1537
+ case ScopeFlags.JSX | ScopeFlags.Slot | ScopeFlags.Astro:
1538
+ case ScopeFlags.JSX | ScopeFlags.Astro | ScopeFlags.HeadBuffer:
1539
+ case ScopeFlags.JSX | ScopeFlags.Slot | ScopeFlags.Astro | ScopeFlags.HeadBuffer: {
1540
+ return "";
1541
+ }
1542
+ case ScopeFlags.JSX | ScopeFlags.Astro: {
1543
+ if (hasScopeFlag(result, ScopeFlags.JSX)) {
1544
+ return "";
1545
+ }
1546
+ break;
1547
+ }
1548
+ case ScopeFlags.Slot: {
1549
+ if (hasScopeFlag(result, ScopeFlags.RenderSlot)) {
1550
+ return "";
1551
+ }
1552
+ break;
1553
+ }
1554
+ case ScopeFlags.RenderSlot | ScopeFlags.Astro:
1555
+ case ScopeFlags.RenderSlot | ScopeFlags.Astro | ScopeFlags.JSX:
1556
+ case ScopeFlags.RenderSlot | ScopeFlags.Astro | ScopeFlags.JSX | ScopeFlags.HeadBuffer: {
1557
+ return "";
1558
+ }
1559
+ }
1560
+ return renderAllHeadContent(result);
1561
+ }
1503
1562
  }
1504
1563
  } else {
1505
1564
  if (isSlotString(chunk)) {
@@ -1610,8 +1669,9 @@ Did you forget to import the component or is it possible there is a typo?`);
1610
1669
  props[key] = value;
1611
1670
  }
1612
1671
  }
1613
- result.scope |= ScopeFlags.JSX;
1614
- return markHTMLString(await renderToString(result, vnode.type, props, slots));
1672
+ const scoped = createScopedResult(result, ScopeFlags.JSX);
1673
+ const html = markHTMLString(await renderToString(scoped, vnode.type, props, slots));
1674
+ return html;
1615
1675
  }
1616
1676
  case (!vnode.type && vnode.type !== 0):
1617
1677
  return "";
@@ -1848,7 +1908,8 @@ function guessRenderers(componentUrl) {
1848
1908
  "@astrojs/preact",
1849
1909
  "@astrojs/solid-js",
1850
1910
  "@astrojs/vue",
1851
- "@astrojs/svelte"
1911
+ "@astrojs/svelte",
1912
+ "@astrojs/lit"
1852
1913
  ];
1853
1914
  }
1854
1915
  }
@@ -2216,12 +2277,13 @@ async function iterableToHTMLBytes(result, iterable, onDocTypeInjection) {
2216
2277
  }
2217
2278
  async function bufferHeadContent(result) {
2218
2279
  const iterator = result.propagators.values();
2280
+ const scoped = createScopedResult(result, ScopeFlags.HeadBuffer);
2219
2281
  while (true) {
2220
2282
  const { value, done } = iterator.next();
2221
2283
  if (done) {
2222
2284
  break;
2223
2285
  }
2224
- const returnValue = await value.init();
2286
+ const returnValue = await value.init(scoped);
2225
2287
  if (isHeadAndContent(returnValue)) {
2226
2288
  result.extraHead.push(returnValue.head);
2227
2289
  }
@@ -2557,6 +2619,7 @@ class Slots {
2557
2619
  async render(name, args = []) {
2558
2620
  if (!__privateGet$1(this, _slots) || !this.has(name))
2559
2621
  return;
2622
+ const scoped = createScopedResult(__privateGet$1(this, _result), ScopeFlags.RenderSlot);
2560
2623
  if (!Array.isArray(args)) {
2561
2624
  warn(
2562
2625
  __privateGet$1(this, _loggingOpts),
@@ -2565,22 +2628,20 @@ class Slots {
2565
2628
  );
2566
2629
  } else if (args.length > 0) {
2567
2630
  const slotValue = __privateGet$1(this, _slots)[name];
2568
- const component = typeof slotValue === "function" ? await slotValue() : await slotValue;
2631
+ const component = typeof slotValue === "function" ? await slotValue(scoped) : await slotValue;
2569
2632
  const expression = getFunctionExpression(component);
2570
2633
  if (expression) {
2571
- const slot = expression(...args);
2572
- return await renderSlot(__privateGet$1(this, _result), slot).then(
2573
- (res) => res != null ? String(res) : res
2574
- );
2634
+ const slot = () => expression(...args);
2635
+ return await renderSlot(scoped, slot).then((res) => res != null ? String(res) : res);
2575
2636
  }
2576
2637
  if (typeof component === "function") {
2577
- return await renderJSX(__privateGet$1(this, _result), component(...args)).then(
2638
+ return await renderJSX(scoped, component(...args)).then(
2578
2639
  (res) => res != null ? String(res) : res
2579
2640
  );
2580
2641
  }
2581
2642
  }
2582
- const content = await renderSlot(__privateGet$1(this, _result), __privateGet$1(this, _slots)[name]);
2583
- const outHTML = stringifyChunk(__privateGet$1(this, _result), content);
2643
+ const content = await renderSlot(scoped, __privateGet$1(this, _slots)[name]);
2644
+ const outHTML = stringifyChunk(scoped, content);
2584
2645
  return outHTML;
2585
2646
  }
2586
2647
  }
@@ -2697,10 +2758,10 @@ function generatePaginateFunction(routeMatch) {
2697
2758
  } else if (routeMatch.params.includes(`${paramName}`)) {
2698
2759
  includesFirstPageNumber = true;
2699
2760
  } else {
2700
- throw new Error(
2701
- `[paginate()] page number param \`${paramName}\` not found in your filepath.
2702
- Rename your file to \`[...page].astro\` or customize the param name via the \`paginate([], {param: '...'}\` option.`
2703
- );
2761
+ throw new AstroError({
2762
+ ...AstroErrorData.PageNumberParamNotFound,
2763
+ message: AstroErrorData.PageNumberParamNotFound.message(paramName)
2764
+ });
2704
2765
  }
2705
2766
  const lastPage = Math.max(1, Math.ceil(data.length / pageSize));
2706
2767
  const result = [...Array(lastPage).keys()].map((num) => {
@@ -2728,7 +2789,7 @@ Rename your file to \`[...page].astro\` or customize the param name via the \`pa
2728
2789
  next: pageNum === lastPage ? void 0 : routeMatch.generate({ ...params, page: String(pageNum + 1) }),
2729
2790
  prev: pageNum === 1 ? void 0 : routeMatch.generate({
2730
2791
  ...params,
2731
- page: !includesFirstPageNumber && pageNum - 1 === 1 ? void 0 : String(pageNum - 1)
2792
+ page: !includesFirstPageNumber && pageNum - 1 === 1 ? "" : String(pageNum - 1)
2732
2793
  })
2733
2794
  }
2734
2795
  }
@@ -3282,6 +3343,7 @@ renderPage_fn = async function(request, routeData, mod, status = 200) {
3282
3343
  request,
3283
3344
  origin: url.origin,
3284
3345
  pathname,
3346
+ propagation: __privateGet(this, _manifest).propagation,
3285
3347
  scripts,
3286
3348
  links,
3287
3349
  route: routeData,
@@ -3420,4 +3482,4 @@ var server_default = {
3420
3482
  renderToStaticMarkup
3421
3483
  };
3422
3484
 
3423
- export { Fragment as F, NodeApp as N, createComponent as a, addAttribute as b, createAstro as c, renderComponent as d, renderSlot as e, renderHead as f, server_default as g, deserializeManifest as h, maybeRenderHead as m, renderTemplate as r, spreadAttributes as s, unescapeHTML as u };
3485
+ export { Fragment as F, NodeApp as N, createComponent as a, addAttribute as b, createAstro as c, renderSlot as d, renderComponent as e, renderHead as f, server_default as g, deserializeManifest as h, maybeRenderHead as m, renderTemplate as r, spreadAttributes as s, unescapeHTML as u };