1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2300],{44301:function(e,t,n){n.d(t,{T:function(){return i}});let r=document.createElement("i");function i(e){let t="&"+e+";";r.innerHTML=t;let n=r.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}},75364:function(e,t,n){n.d(t,{jv:function(){return r},H$:function(){return i},n9:function(){return o},Av:function(){return l},pY:function(){return c},AF:function(){return u},sR:function(){return s},Ch:function(){return a},z3:function(){return f},xz:function(){return d},Xh:function(){return h},B8:function(){return x}});let r=p(/[A-Za-z]/),i=p(/[\dA-Za-z]/),o=p(/[#-'*+\--9=?A-Z^-~]/);function l(e){return null!==e&&(e<32||127===e)}let c=p(/\d/),u=p(/[\dA-Fa-f]/),s=p(/[!-/:-@[-`{-~]/);function a(e){return null!==e&&e<-2}function f(e){return null!==e&&(e<0||32===e)}function d(e){return -2===e||-1===e||32===e}let h=p(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),x=p(/\s/);function p(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}},80889:function(e,t,n){n.d(t,{o:function(){return r}});function r(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCharCode(n)}},56199:function(e,t,n){n.d(t,{c:function(){return i}});let r={'"':"quot","&":"amp","<":"lt",">":"gt"};function i(e){return e.replace(/["&<>]/g,function(e){return"&"+r[e]+";"})}},11098:function(e,t,n){n.d(t,{d:function(){return r}});function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},82425:function(e,t,n){n.d(t,{F:function(){return l},K:function(){return o}});var r=n(75364),i=n(56199);function o(e,t){let n=(0,i.c)(l(e||""));if(!t)return n;let r=n.indexOf(":"),o=n.indexOf("?"),c=n.indexOf("#"),u=n.indexOf("/");return r<0||u>-1&&r>u||o>-1&&r>o||c>-1&&r>c||t.test(n.slice(0,r))?n:""}function l(e){let t=[],n=-1,i=0,o=0;for(;++n<e.length;){let l=e.charCodeAt(n),c="";if(37===l&&(0,r.H$)(e.charCodeAt(n+1))&&(0,r.H$)(e.charCodeAt(n+2)))o=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(c=String.fromCharCode(l));else if(l>55295&&l<57344){let t=e.charCodeAt(n+1);l<56320&&t>56319&&t<57344?(c=String.fromCharCode(l,t),o=1):c="�"}else c=String.fromCharCode(l);c&&(t.push(e.slice(i,n),encodeURIComponent(c)),i=n+o+1,c=""),o&&(n+=o,o=0)}return t.join("")+e.slice(i)}},66051:function(e,t,n){n.d(t,{uf:function(){return y},cD:function(){return f},rZ:function(){return C},vg:function(){return x},jg:function(){return m},Xw:function(){return F}});var r={Header:{blockHeaderBgColor:"#FFFFFF",blockHeaderTextColor:"#000000",blockHeaderBtnContrast:"#FFFFFF"},Footer:{blockFooterBgColor:"#F9FAFB",blockFooterTextColor:"#1F2937",blockFooterLinkTextColor:"#1F2937",blockFooterBtnContrast:"#FFFFFF",blockFooterSocialNetworkBgColor:"#1F2937",blockFooterSocialNetworkIconColor:"#FFFFFF"},VideoEmbedContent:{blockVideoBgColor:"#F9FAFB",blockVideoTitleTextColor:"#111928",blockVideoSubtitleTextColor:"#6B7280"},CategoriesGrid:{blockCategoriesGridBgColor:"#FFFFFF",blockCategoriesGridTitleTextColor:"#111928",blockCategoriesGridSubtitleTextColor:"#6B7280"},StoresCarousel:{blockStoresCarouselBgColor:"#FFFFFF",blockStoresCarouselTitleTextColor:"#111928",blockStoresCarouselSubtitleTextColor:"#6B7280"},Menu:{blockMenuCategoriesListBgColor:"#FFFFFF",blockMenuCategoriesListTextColor:"#374151",blockMenuCategoriesListDividerColor:"#f3f4f6",blockMenuCategoriesListPrimaryColor:"#374151",blockMenuBgColor:"#FFFFFF",blockMenuTextColor:"#374151",blockMenuCardProductBgColor:"#FFFFFF",blockMenuCardProductPrimaryTextColor:"#374151",blockMenuCardProductSecondaryTextColor:"#6B7280",blockMenuCardProductBadgeTextColor:"#d1d5db",blockMenuCardProductBadgeBgColor:"#374151",blockMenuCardProductPriceBadgeBgColor:"#FFFFFF",blockMenuCardProductPriceBadgeTextColor:"#374151",blockMenuCardProductTagsBgColor:"#e5e7eb",blockMenuCardProductTagsTextColor:"#374151"},Iframe:{blockIframeBgColor:"#FFFFFF",blockIframeTitleTextColor:"#111928",blockIframeSubtitleTextColor:"#6B7280"},Banners:{blockBannersBgColor:"#FFFFFF"},Hero:{blockHeroBgColor:"#FFFFFF",blockHeroTitleTextColor:"#111928",blockHeroSubtitleTextColor:"#6B7280"},RichText:{blockRichTextBgColor:"#FFFFFF",blockRichTextTextColor:"#374151"}},i=e=>{if("string"!=typeof e)return null;let t=e.trim().replace(/^#/,"").toLowerCase();return/^[0-9a-f]{3}$/.test(t)?"#".concat(t[0]).concat(t[0]).concat(t[1]).concat(t[1]).concat(t[2]).concat(t[2]):/^[0-9a-f]{6}$/.test(t)?"#".concat(t):null},o=e=>{let t=e.replace(/^#/,""),n=e=>parseInt(t.slice(2*e,2*e+2),16);return"".concat(n(0),", ").concat(n(1),", ").concat(n(2))},l=e=>{var t,n,r;let i=e.replace(/^#/,""),o=[0,1,2].map(e=>{let t=parseInt(i.slice(2*e,2*e+2),16)/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4});return .2126*(null!=(t=o[0])?t:0)+.7152*(null!=(n=o[1])?n:0)+.0722*(null!=(r=o[2])?r:0)},c=(e,t)=>{let n=l(e),r=l(t),[i,o]=n>=r?[n,r]:[r,n];return(i+.05)/(o+.05)},u=e=>c(e,"#ffffff")>
1=c(e,"#000000")?"#ffffff":"#000000",s=(e,t,n)=>{let r=e.replace(/^#/,""),i=t.replace(/^#/,""),o=e=>{let t=parseInt(r.slice(2*e,2*e+2),16),o=parseInt(i.slice(2*e,2*e+2),16);return Math.round(t*(1-n)+o*n).toString(16).padStart(2,"0")};return"#".concat(o(0)).concat(o(1)).concat(o(2))},a=(e,t)=>{var n,r;let i=null!=(r=null==(n=null==e?void 0:e.ROOT)?void 0:n.nodes)?r:[],o=i.find(n=>{var r,i;return(null==(i=null==(r=null==e?void 0:e[n])?void 0:r.type)?void 0:i.resolvedName)===t});return o?null==e?void 0:e[o]:null},f=(e,t)=>e.reduce((e,n)=>null!=e?e:a(n,t),null),d=[{prop:"blockFooterBgColor",cssVar:"--v2-footer-bg"},{prop:"blockFooterTextColor",cssVar:"--v2-footer-text"},{prop:"blockFooterLinkTextColor",cssVar:"--v2-footer-link"}],h=d.filter(e=>{let{prop:t}=e;return"blockFooterBgColor"!==t}),x=e=>{var t,n;let l=null!=e?e:{},s=null!=(t=r.Footer)?t:{},a={},f=d.some(e=>{let{prop:t}=e,n=i(l[t]);if(!n)return!1;let r=i(s[t]);return!r||n!==r}),x=null!=(n=i(l.blockFooterBgColor))?n:i(s.blockFooterBgColor);f&&(d.forEach(e=>{var t;let{prop:n,cssVar:r}=e,c=null!=(t=i(l[n]))?t:i(s[n]);c&&(a[r]=o(c))}),x&&h.forEach(e=>{let{prop:t,cssVar:n}=e;if(i(l[t]))return;let r=i(s[t]);r&&4.5>c(r,x)&&(a[n]=o(u(x)))}));let p=i(l.blockFooterSocialNetworkBgColor),m=i(l.blockFooterSocialNetworkIconColor),g=null!=p?p:i(s.blockFooterSocialNetworkBgColor),v=null!=m?m:i(s.blockFooterSocialNetworkIconColor);if(g){a["--v2-footer-social-bg"]=g,a["--v2-footer-social-icon"]=null!=v?v:u(g);let e=x&&3>c(g,x)?u(x):g;a["--v2-footer-accent"]=o(e)}return a},p=[{prop:"blockHeaderBgColor",cssVar:"--v2-header-bg"},{prop:"blockHeaderTextColor",cssVar:"--v2-header-text"}],m=e=>{var t;let n=null!=e?e:{},l=null!=(t=r.Header)?t:{},c={},u=p.some(e=>{let{prop:t}=e,r=i(n[t]);if(!r)return!1;let o=i(l[t]);return!o||r!==o});return u&&p.forEach(e=>{var t;let{prop:r,cssVar:u}=e,s=null!=(t=i(n[r]))?t:i(l[r]);s&&(c[u]=o(s))}),c},g=[{prop:"blockMenuCardProductBgColor",cssVar:"--v2-card-bg"},{prop:"blockMenuCardProductPrimaryTextColor",cssVar:"--v2-card-text"},{prop:"blockMenuCardProductSecondaryTextColor",cssVar:"--v2-card-text-muted"},{prop:"blockMenuCardProductPriceBadgeTextColor",cssVar:"--v2-card-price"},{prop:"blockMenuBgColor",cssVar:"--v2-page-bg"},{prop:"blockMenuTextColor",cssVar:"--v2-page-text"},{prop:"blockMenuCategoriesListBgColor",cssVar:"--v2-catbar-bg"},{prop:"blockMenuCategoriesListTextColor",cssVar:"--v2-catbar-text"},{prop:"blockMenuCategoriesListPrimaryColor",cssVar:"--v2-catbar-active"}],v=[{prop:"blockHeaderBgColor",cssVar:"--v2-header-bg"},{prop:"blockHeaderTextColor",cssVar:"--v2-header-text"}],b=(e,t,n)=>n.some(n=>{let{prop:r}=n,o=i(e[r]);if(!o)return!1;let l=i(t[r]);return!l||o!==l}),k=e=>"string"==typeof e&&/^https:\/\/[^"'\s\\)<>{}]+$/.test(e),C=e=>{var t,n;return null!=(n=null==(t=e.flatMap(e=>{var t,n;return(null!=(n=null==(t=null==e?void 0:e.ROOT)?void 0:t.nodes)?n:[]).map(t=>null==e?void 0:e[t])}).find(e=>{var t,n;return(null==(t=null==e?void 0:e.type)?void 0:t.resolvedName)==="Menu"&&k(null==(n=null==e?void 0:e.props)?void 0:n.backgroundImgSrc)}))?void 0:t.props)?n:null},F=function(e,t,n){var l,c,a,f,d,h,x;let p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,m=null!=e?e:{},C=null!=t?t:{},F=null!=p?p:{},y=null!=(l=r.Menu)?l:{},j=null!=(c=r.Header)?c:{},w={};b(m,y,g)&&g.forEach(e=>{var t;let{prop:n,cssVar:r}=e,o=null!=(t=i(m[n]))?t:i(y[n]);o&&(w[r]=o)});let S=null,z=null;if(b(C,j,v)&&(S=null!=(a=i(C.blockHeaderBgColor))?a:i(j.blockHeaderBgColor),z=null!=(f=i(C.blockHeaderTextColor))?f:i(j.blockHeaderTextColor)),S||z){let e=null!=S?S:"#ffffff",t=null!=z?z:"#374151";w["--v2-menuheader-bg"]=e,w["--v2-menuheader-text"]=t,w["--v2-menuheader-text-secondary"]=s(t,e,.15),w["--v2-menuheader-text-muted"]=s(t,e,.3),w["--v2-menuheader-chip-bg"]=s(e,t,.08),w["--v2-menuheader-chip-text"]=s(t,e,.15),w["--v2-menuheader-control-bg"]=s(e,t,.05)}if(w["--v2-catbar-bg"]||w["--v2-catbar-text"]){let e=null!=(d=w["--v2-catbar-bg"])?d:"#ffffff",t=null!=(h=w["--v2-catbar-text"])?h:"#4b5563";w["--v2-catbar-chip-bg"]=s(e,t,.12),w["--v2-catbar-chip-text"]=t}let _=null!=(x=w["--v2-catbar-active"])?x:i(n);_&&!w["--v2-catbar-active-text"]&&(w["--v2-catbar-active-text"]=u(_));let E=Object.fromEntries(Object.entries(w).map(e=>{let[t,n]=e;return[t,o(n)]}));return"boolean"==typeof m.shouldRoundBorders&&(E["--v2-card-radius"]=m.shouldRoundBorders?"0.75rem":"0px"),k(F.backgroundImgSrc)&&(E["--v2-page-bg-image"]='url("'.concat(F.backgroundImgSrc,'")')),E},y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:":root:root:root",n=Object.entries(e).map(e=>{let[t,n]=e;return"".concat(t,":").concat(n,";")}).join("");return n?"".concat(t,"{").concat(n,"}"):""}},48227:function(e,t,n){n.d(t,{t8:function(){return eS},hk:function(){return eW},Sl:function(){return eQ},cO:function(){return ej},zR:function(){return ey},D_:function(){return eE},Ii:function(){return eA},he:function(){return eL},aT:function(){return eH}});var r={};n.r(r),n.d(r,{attentionMarkers:function(){return eb},contentInitial:function(){return eh},disable:function(){return ek},document:function(){return ed},flow:function(){return ep},flowInitial:function(){return ex},insideSpan:function(){return ev},string:function(){return em},text:function(){return eg}});var i=n(85893),o=n(67294),l=n(67166),c=n(44301);function u(e,t,n,r){let i;let o=e.length,l=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);l<r.length;)(i=r.slice(l,l+1e4)).unshift(t,0),e.splice(...i),l+=1e4,t+=1e4}function s(e,t){return e.length>0?(u(e,e.length,0,t),e):t}let a={}.hasOwnProperty;var f=n(80889),d=n(56199),h=n(11098),x=n(82425);let p={}.hasOwnProperty,m=/^(https?|ircs?|mailto|xmpp)$/i,g=/^https?$/i;var v=n(75364);function b(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){return(0,v.xz)(r)?(e.enter(n),function r(l){return(0,v.xz)(l)&&o++<i?(e.consume(l),r):(e.exit(n),t(l))}(r)):t(r)}}let k={tokenize:function(e){let t;let n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),b(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,v.Ch)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},C={tokenize:function(e){let t,n,r;let i=this,o=[],l=0;return c;function c(t){if(l<o.length){let n=o[l];return i.containerState=n[1],e.attempt(n[0].continuation,s,a)(t)}return a(t)}function s(e){if(l++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&b();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}g(l);let c=r;for(;c<i.events.length;)i.events[c][1].end=Object.assign({},n),c++;return u(i.events,o+1,0,i.events.slice(r)),i.events.length=c,a(e)}return c(e)}function a(n){if(l===o.length){if(!t)return h(n);if(t.currentConstruct&&t.currentConstruct.concrete)return p(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(F,f,d)(n)}function f(e){return t&&b(),g(l),h(e)}function d(e){return i.parser.lazy[i.now().line]=l!==o.length,r=i.now().offset,p(e)}function h(t){return i.containerState={},e.attempt(F,x,p)(t)}function x(e){return l++,o.push([i.currentConstruct,i.containerState]),h(e)}function p(r){if(null===r){t&&b(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{contentType:"flow",previous:n,_tokenizer:t}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return(0,v.Ch)(n)?(e.consume(n),m(e.exit("chunkFlow")),l=0,i.interrupt=void 0,c):(e.consume(n),t)}(r)}function m(e,o){let c=i.sliceStream(e);
1if(o&&c.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(c),i.parser.lazy[e.start.line]){let e,n,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][1].end.offset>r))return;let c=i.events.length,s=c;for(;s--;)if("exit"===i.events[s][0]&&"chunkFlow"===i.events[s][1].type){if(e){n=i.events[s][1].end;break}e=!0}for(g(l),o=c;o<i.events.length;)i.events[o][1].end=Object.assign({},n),o++;u(i.events,s+1,0,i.events.slice(c)),i.events.length=o}}function g(t){let n=o.length;for(;n-- >t;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function b(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},F={tokenize:function(e,t,n){return b(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},y={tokenize:function(e,t,n){return function(t){return(0,v.xz)(t)?b(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||(0,v.Ch)(e)?t(e):n(e)}},partial:!0};function j(e){let t,n,r,i,o,l,c;let s={},a=-1;for(;++a<e.length;){for(;(a in s);)a=s[a];if(t=e[a],a&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[a-1][1].type&&((r=0)<(l=t[1]._tokenizer.events).length&&"lineEndingBlank"===l[r][1].type&&(r+=2),r<l.length&&"content"===l[r][1].type))for(;++r<l.length&&"content"!==l[r][1].type;)"chunkText"===l[r][1].type&&(l[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(s,function(e,t){let n,r;let i=e[t][1],o=e[t][2],l=t-1,c=[],s=i._tokenizer||o.parser[i.contentType](i.start),a=s.events,f=[],d={},h=-1,x=i,p=0,m=0,g=[m];for(;x;){for(;e[++l][1]!==x;);c.push(l),!x._tokenizer&&(n=o.sliceStream(x),x.next||n.push(null),r&&s.defineSkip(x.start),x._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(n),x._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),r=x,x=x.next}for(x=i;++h<a.length;)"exit"===a[h][0]&&"enter"===a[h-1][0]&&a[h][1].type===a[h-1][1].type&&a[h][1].start.line!==a[h][1].end.line&&(m=h+1,g.push(m),x._tokenizer=void 0,x.previous=void 0,x=x.next);for(s.events=[],x?(x._tokenizer=void 0,x.previous=void 0):g.pop(),h=g.length;h--;){let t=a.slice(g[h],g[h+1]),n=c.pop();f.unshift([n,n+t.length-1]),u(e,n,2,t)}for(h=-1;++h<f.length;)d[p+f[h][0]]=p+f[h][1],p+=f[h][1]-f[h][0]-1;return d}(e,a)),a=s[a],c=!0);else if(t[1]._container){for(r=a,n=void 0;r--;)if("lineEnding"===(i=e[r])[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(e[n][1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else break;n&&(t[1].end=Object.assign({},e[n][1].start),(o=e.slice(n,a)).unshift(t),u(e,n,a-n+1,o))}}return!c}let w={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,v.Ch)(t)?e.check(S,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return j(e),e}},S={tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),b(e,i,"linePrefix")};function i(i){if(null===i||(0,v.Ch)(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0},z={tokenize:function(e){let t=this,n=e.attempt(y,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,b(e,e.attempt(this.parser.constructs.flow,r,e.attempt(w,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},_={resolveAll:B()},E=A("string"),T=A("text");function A(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,l);return o;function o(e){return u(e)?i(e):l(e)}function l(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),c}function c(e){return u(e)?(t.exit("data"),i(e)):(t.consume(e),c)}function u(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:B("text"===e?N:void 0)}}function B(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function N(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r;let i=e[n-1][1],o=t.sliceStream(i),l=o.length,c=-1,u=0;for(;l--;){let e=o[l];if("string"==typeof e){for(c=e.length;32===e.charCodeAt(c-1);)u++,c--;if(c)break;c=-1}else if(-2===e)r=!0,u++;else if(-1===e);else{l++;break}}if(u){let o={type:n===e.length||r||u<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-u,offset:i.end.offset-u,_index:i.start._index+l,_bufferIndex:l?c:i.start._bufferIndex+c},end:Object.assign({},i.end)};i.end=Object.assign({},o.start),i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}function L(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}let I={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){return e.enter("thematicBreak"),r=o,function o(l){return l===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,v.xz)(n)?b(e,o,"whitespace")(n):o(n))}(l)):i>=3&&(null===l||(0,v.Ch)(l))?(e.exit("thematicBreak"),t(l)):n(l)}(o)}}},M={name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,l=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,v.pY)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(I,n,c)(t):c(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,v.pY)(i)&&++l<10?(e.consume(i),t):(!r.interrupt||l<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),c(i)):n(i)}(t)}return n(t)};function c(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(y,r.interrupt?n:u,e.attempt(D,a,s))}
1function u(e){return r.containerState.initialBlankLine=!0,o++,a(e)}function s(t){return(0,v.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),a):n(t)}function a(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(y,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,b(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,v.xz)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(P,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,b(e,e.attempt(M,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},D={tokenize:function(e,t,n){let r=this;return b(e,function(e){let i=r.events[r.events.length-1];return!(0,v.xz)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},P={tokenize:function(e,t,n){let r=this;return b(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},H={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return(0,v.xz)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,v.xz)(t)?b(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(H,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function O(e,t,n,r,i,o,l,c,u){let s=u||Number.POSITIVE_INFINITY,a=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),f):null===t||32===t||41===t||(0,v.Av)(t)?n(t):(e.enter(r),e.enter(l),e.enter(c),e.enter("chunkString",{contentType:"string"}),x(t))};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(c),f(t)):null===t||60===t||(0,v.Ch)(t)?n(t):(e.consume(t),92===t?h:d)}function h(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function x(i){return!a&&(null===i||41===i||(0,v.z3)(i))?(e.exit("chunkString"),e.exit(c),e.exit(l),e.exit(r),t(i)):a<s&&40===i?(e.consume(i),a++,x):41===i?(e.consume(i),a--,x):null===i||32===i||40===i||(0,v.Av)(i)?n(i):(e.consume(i),92===i?p:x)}function p(t){return 40===t||41===t||92===t?(e.consume(t),x):x(t)}}function R(e,t,n,r,i,o){let l;let c=this,u=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),s};function s(f){return u>999||null===f||91===f||93===f&&!l||94===f&&!u&&"_hiddenFootnoteSupport"in c.parser.constructs?n(f):93===f?(e.exit(o),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):(0,v.Ch)(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),a(f))}function a(t){return null===t||91===t||93===t||(0,v.Ch)(t)||u++>999?(e.exit("chunkString"),s(t)):(e.consume(t),l||(l=!(0,v.xz)(t)),92===t?f:a)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,a):a(t)}}function V(e,t,n,r,i,o){let l;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),l=40===t?41:t,c):n(t)};function c(n){return n===l?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),u(n))}function u(t){return t===l?(e.exit(o),c(l)):null===t?n(t):(0,v.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),b(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===l||null===t||(0,v.Ch)(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?a:s)}function a(t){return t===l||92===t?(e.consume(t),s):s(t)}}function q(e,t){let n;return function r(i){return(0,v.Ch)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,v.xz)(i)?b(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}let W={tokenize:function(e,t,n){return function(t){return(0,v.z3)(t)?q(e,r)(t):n(t)};function r(t){return V(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,v.xz)(t)?b(e,o,"whitespace")(t):o(t)}function o(e){return null===e||(0,v.Ch)(e)?t(e):n(e)}},partial:!0},$={name:"codeIndented",tokenize:function(e,t,n){let r=this;
1return function(t){return e.enter("codeIndented"),b(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):(0,v.Ch)(n)?e.attempt(Q,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,v.Ch)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},Q={tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,v.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):b(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):(0,v.Ch)(e)?i(e):n(e)}},partial:!0},U={name:"setextUnderline",tokenize:function(e,t,n){let r;let i=this;return function(t){let l,c=i.events.length;for(;c--;)if("lineEnding"!==i.events[c][1].type&&"linePrefix"!==i.events[c][1].type&&"content"!==i.events[c][1].type){l="paragraph"===i.events[c][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||l)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,v.xz)(n)?b(e,o,"lineSuffix")(n):o(n))}(t)):n(t)};function o(r){return null===r||(0,v.Ch)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let l={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",l,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=l,e.push(["exit",l,t]),e}},Z=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Y=["pre","script","style","textarea"],K={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(y,t,n)}},partial:!0},G={tokenize:function(e,t,n){let r=this;return function(t){return(0,v.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},X={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},J={name:"codeFenced",tokenize:function(e,t,n){let r;let i=this,o={tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l};function l(t){return e.enter("codeFencedFence"),(0,v.xz)(t)?b(e,u,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=c?(e.exit("codeFencedFenceSequence"),(0,v.xz)(i)?b(e,s,"whitespace")(i):s(i)):n(i)}(t)):n(t)}function s(r){return null===r||(0,v.Ch)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},l=0,c=0;return function(t){return function(t){let o=i.events[i.events.length-1];return l=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(c++,e.consume(i),t):c<3?n(i):(e.exit("codeFencedFenceSequence"),(0,v.xz)(i)?b(e,u,"whitespace")(i):u(i))}(t)}(t)};function u(o){return null===o||(0,v.Ch)(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(X,a,x)(o)):(e.enter("co
1deFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,v.Ch)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(i)):(0,v.xz)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),b(e,s,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function s(t){return null===t||(0,v.Ch)(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,v.Ch)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function a(t){return e.attempt(o,x,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d}function d(t){return l>0&&(0,v.xz)(t)?b(e,h,"linePrefix",l+1)(t):h(t)}function h(t){return null===t||(0,v.Ch)(t)?e.check(X,a,x)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,v.Ch)(n)?(e.exit("codeFlowValue"),h(n)):(e.consume(n),t)}(t))}function x(n){return e.exit("codeFenced"),t(n)}},concrete:!0},ee={name:"characterReference",tokenize:function(e,t,n){let r,i;let o=this,l=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),u};function u(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,i=v.H$,a(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=v.AF,a):(e.enter("characterReferenceValue"),r=7,i=v.pY,a(t))}function a(u){if(59===u&&l){let r=e.exit("characterReferenceValue");return i!==v.H$||(0,c.T)(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(u),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(u)}return i(u)&&l++<r?(e.consume(u),a):n(u)}}},et={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,v.sR)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},en={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),b(e,t,"linePrefix")}}},er={name:"labelEnd",tokenize:function(e,t,n){let r,i;let o=this,l=o.events.length;for(;l--;)if(("labelImage"===o.events[l][1].type||"labelLink"===o.events[l][1].type)&&!o.events[l][1]._balanced){r=o.events[l][1];break}return function(t){return r?r._inactive?a(t):(i=o.parser.defined.includes((0,h.d)(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),c):n(t)};function c(t){return 40===t?e.attempt(ei,s,i?s:a)(t):91===t?e.attempt(eo,s,i?u:a)(t):i?s(t):a(t)}function u(t){return e.attempt(el,s,a)(t)}function s(e){return t(e)}function a(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,i,o,l=e.length,c=0;for(;l--;)if(n=e[l][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[l][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[l][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=l,"labelLink"!==n.type)){c=2;break}}else"labelEnd"===n.type&&(i=l);let a={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},f={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},d={type:"labelText",start:Object.assign({},e[r+c+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=s(o=[["enter",a,t],["enter",f,t]],e.slice(r+1,r+c+3)),o=s(o,[["enter",d,t]]),o=s(o,L(t.parser.constructs.insideSpan.null,e.slice(r+c+4,i-3),t)),o=s(o,[["exit",d,t],e[i-2],e[i-1],["exit",f,t]]),o=s(o,e.slice(i+1)),o=s(o,[["exit",a,t]]),u(e,r,e.length,o),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){let n=e[t][1];("labelImage"===n.type||"labelLink"===n.type||"labelEnd"===n.type)&&(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},ei={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,v.z3)(t)?q(e,i)(t):i(t)}function i(t){return 41===t?s(t):O(e,o,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return(0,v.z3)(t)?q(e,c)(t):s(t)}function l(e){return n(e)}function c(t){return 34===t||39===t||40===t?V(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):s(t)}function u(t){return(0,v.z3)(t)?q(e,s)(t):s(t)}function s(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},eo={tokenize:function(e,t,n){let r=this;return function(t){return R.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes((0,h.d)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},el={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},ec={name:"labelStartImage",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:er.resolveAll};function eu(e){return null===e||(0,v.z3)(e)||(0,v.B8)(e)?1:(0,v.Xh)(e)?2:void 0}let es={name:"attention",tokenize:function(e,t){let n;let r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=eu(i);return function(l){return n=l,e.enter("attentionSequence"),function l(c){if(c===n)return e.consume(c),l;let u=e.exit("attentionSequence"),s=eu(c),a=!s||2===s&&o||r.includes(c),f=!o||2===o&&s||r.includes(i);return u._open=!!(42===n?a:a&&(o||!f)),u._close=!!(42===n?f:f&&(s||!a)),t(c)}(l)}},resolveAll:function(e,t){let n,r,i,o,l,c,a,f,d=-1;for(;++d<e.length;)if("enter"===e[d][0]&&"attentionSequence"===e[d][1].type&&e[d][1]._close){for(n=d;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
1n][1]).charCodeAt(0)===t.sliceSerialize(e[d][1]).charCodeAt(0)){if((e[n][1]._close||e[d][1]._open)&&(e[d][1].end.offset-e[d][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[d][1].end.offset-e[d][1].start.offset)%3))continue;c=e[n][1].end.offset-e[n][1].start.offset>1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;let h=Object.assign({},e[n][1].end),x=Object.assign({},e[d][1].start);ea(h,-c),ea(x,c),o={type:c>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[n][1].end)},l={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[d][1].start),end:x},i={type:c>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[d][1].start)},r={type:c>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},l.end)},e[n][1].end=Object.assign({},o.start),e[d][1].start=Object.assign({},l.end),a=[],e[n][1].end.offset-e[n][1].start.offset&&(a=s(a,[["enter",e[n][1],t],["exit",e[n][1],t]])),a=s(a,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),a=s(a,L(t.parser.constructs.insideSpan.null,e.slice(n+1,d),t)),a=s(a,[["exit",i,t],["enter",l,t],["exit",l,t],["exit",r,t]]),e[d][1].end.offset-e[d][1].start.offset?(f=2,a=s(a,[["enter",e[d][1],t],["exit",e[d][1],t]])):f=0,u(e,n-1,d-n+3,a),d=n+a.length-f-2;break}}for(d=-1;++d<e.length;)"attentionSequence"===e[d][1].type&&(e[d][1].type="data");return e}};function ea(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let ef={name:"labelStartLink",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:er.resolveAll},ed={42:M,43:M,45:M,48:M,49:M,50:M,51:M,52:M,53:M,54:M,55:M,56:M,57:M,62:H},eh={91:{name:"definition",tokenize:function(e,t,n){let r;let i=this;return function(t){return e.enter("definition"),R.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return(r=(0,h.d)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l):n(t)}function l(t){return(0,v.z3)(t)?q(e,c)(t):c(t)}function c(t){return O(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(W,s,s)(t)}function s(t){return(0,v.xz)(t)?b(e,a,"whitespace")(t):a(t)}function a(o){return null===o||(0,v.Ch)(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},ex={[-2]:$,[-1]:$,32:$},ep={35:{name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(i){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||(0,v.z3)(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,v.Ch)(r)?(e.exit("atxHeading"),t(r)):(0,v.xz)(r)?b(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,v.z3)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(i)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},u(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:I,45:[U,I],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,i,o,l,c;let u=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),s};function s(l){return 33===l?(e.consume(l),a):47===l?(e.consume(l),i=!0,h):63===l?(e.consume(l),r=3,u.interrupt?t:N):(0,v.jv)(l)?(e.consume(l),o=String.fromCharCode(l),x):n(l)}function a(i){return 45===i?(e.consume(i),r=2,f):91===i?(e.consume(i),r=5,l=0,d):(0,v.jv)(i)?(e.consume(i),r=4,u.interrupt?t:N):n(i)}function f(r){return 45===r?(e.consume(r),u.interrupt?t:N):n(r)}function d(r){let i="CDATA[";return r===i.charCodeAt(l++)?(e.consume(r),l===i.length)?u.interrupt?t:w:d:n(r)}function h(t){return(0,v.jv)(t)?(e.consume(t),o=String.fromCharCode(t),x):n(t)}function x(l){if(null===l||47===l||62===l||(0,v.z3)(l)){let c=47===l,s=o.toLowerCase();return!c&&!i&&Y.includes(s)?(r=1,u.interrupt?t(l):w(l)):Z.includes(o.toLowerCase())?(r=6,c)?(e.consume(l),p):u.interrupt?t(l):w(l):(r=7,u.interrupt&&!u.parser.lazy[u.now().line]?n(l):i?function t(n){return(0,v.xz)(n)?(e.consume(n),t):y(n)}(l):m(l))}return 45===l||(0,v.H$)(l)?(e.consume(l),o+=String.fromCharCode(l),x):n(l)}function p(r){return 62===r?(e.consume(r),u.interrupt?t:w):n(r)}function m(t){return 47===t?(e.consume(t),y):58===t||95===t||(0,v.jv)(t)?(e.consume(t),g):(0,v.xz)(t)?(e.consume(t),m):y(t)}function g(t){return 45===t||46===t||58===t||95===t||(0,v.H$)(t)?(e.consume(t),g):b(t)}function b(t){return 61===t?(e.consume(t),k):(0,v.xz)(t)?(e.consume(t),b):m(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),c=t,C):(0,v.xz)(t)?(e.consume(t),k):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,v.z3)(n)?b(n):(e.consume(n),t)}(t)}function C(t){return t===c?(e.consume(t),c=null,F):null===t||(0,v.Ch)(t)?n(t):(e.consume(t),C)}function F(e){return 47===e||62===e||(0,v.xz)(e)?m(e):n(e)}function y(t){return 62===t?(e.consume(t),j):n(t)}function j(t){return null===t||(0,v.Ch)(t)?w(t):(0,v.xz)(t)?(e.consume(t),j):n(t)}function w(t){return 45===t&&2===r?(e.consume(t),E):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),L):63===t&&3===r?(e.consume(t),N):93===t&&5===r?(e.consume(t),B):(0,v.Ch)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(K,I,S)(t)):null===t||(0,v.Ch)(t)?(e.exit("htmlFlowData"),S(t)):(e.consume(t),w)}function S(t){return e.check(G,z,I)(t)}function z(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),_}function _(t){return null===t||(0,v.Ch)(t)?S(t):(e.enter("htmlFlowData"),w(t))}function E(t){return 45===t?(e.consume(t),N):w(t)}function T(t){return 47===t?(e.consume(t),o="",A):w(t)}function A(t){if(62===t){let n=o.toLowerCase();return Y.includes(n)?(e.consume(t),L):w(t)}return(0,v.jv)(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),A):w(t)}function B(t){return 93===t?(e.consume(t),N):w(t)}function N(t){return 62===t?(e.consume(t),L):45===t&&2===r?(e.consume(t),N):w(t)}function L(t){return null===t||(0,v.Ch)(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),L)}function I(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:U,95:I,96:J,126:J},em={38:ee,92:et},eg={[-5]:en,[-4]:en,[-3]:en,33:ec,38:ee,42:es,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,v.jv)(t)?(e.consume(t),o):c(t)}function o(t){return 43===t||45===t||46===t||(0,v.H$)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,l):(43===n||45===n||46===n||(0,v.H$)(n))&&r++<32?(e.consume(n),t):(r=0,c(n))}(t)):c(t)}function l(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,v.Av)(r)?n(r):(e.consume(r),l)}function c(t){return 64===t?(e.consume(t),u):(0,v.n9)(t)?(e.consume(t),c):n(t)}function u(i){return(0,v.H$)(i)?function i(o){return 46===o?(e.consume(o),r=0,u):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||(0,v.H$)(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o;let l=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),c};function c(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),F):63===t?(e.consume(t),k):(0,v.jv)(t)?(e.consume(t),j):n(t)}function u(t){return 45===t?(e.consume(t),s):91===t?(e.consume(t),i=0,h):(0,v.jv)(t)?(e.consume(t),g):n(t)}function s(t){return 45===t?(e.consume(t),d):n(t)}function a(t){return null===t?n(t):45===t?(e.consume(t),f):(0,v.Ch)(t)?(o=a,B(t)):(e.consume(t),a)}function f(t){return 45===t?(e.consume(t),d):a(t)}function d(e){return 62===e?A(e):45===e?f(e):a(e)}function h(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?x:h):n(t)}function x(t){return null===t?n(t):93===t?(e.consume(t),p):(0,v.Ch)(t)?(o=x,B(t)):(e.consume(t),x)}function p(t){return 93===t?(e.consume(t),m):x(t)}function m(t){return 62===t?A(t):93===t?(e.consume(t),m):x(t)}function g(t){return null===t||62===t?A(t):(0,v.Ch)(t)?(o=g,B(t)):(e.consume(t),g)}function k(t){return null===t?n(t):63===t?(e.consume(t),C):(0,v.Ch)(t)?(o=k,B(t)):(e.consume(t),k)}function C(e){return 62===e?A(e):k(e)}function F(t){return(0,v.jv)(t)?(e.consume(t),y):n(t)}function y(t){return 45===t||(0,v.H$)(t)?(e.consume(t),y):function t(n){return(0,v.Ch)(n)?(o=t,B(n)):(0,v.xz)(n)?(e.consume(n),t):A(n)}(t)}function j(t){return 45===t||(0,v.H$)(t)?(e.consume(t),j):47===t||62===t||(0,v.z3)(t)?w(t):n(t)}function w(t){return 47===t?(e.consume(t),A):58===t||95===t||(0,v.jv)(t)?(e.consume(t),S):(0,v.Ch)(t)?(o=w,B(t)):(0,v.xz)(t)?(e.consume(t),w):A(t)}function S(t){return 45===t||46===t||58===t||95===t||(0,v.H$)(t)?(e.consume(t),S):function t(n){return 61===n?(e.consume(n),z):(0,v.Ch)(n)?(o=t,B(n)):(0,v.xz)(n)?(e.consume(n),t):w(n)}(t)}function z(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,_):(0,v.Ch)(t)?(o=z,B(t)):(0,v.xz)(t)?(e.consume(t),z):(e.consume(t),E)}function _(t){return t===r?(e.consume(t),r=void 0,T):null===t?n(t):(0,v.Ch)(t)?(o=_,B(t)):(e.consume(t),_)}function E(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,v.z3)(t)?w(t):(e.consume(t),E)}function T(e){return 47===e||62===e||(0,v.z3)(e)?w(e):n(e)}function A(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function B(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return(0,v.xz)(t)?b(e,L,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):L(t)}function L(t){return e.enter("htmlTextData"),o(t)}}}],91:ef,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,v.Ch)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},et],93:er,95:es,96:{name:"codeText",tokenize:function(e,t,n){let r,i,o=0;
1return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),l(n))}(t)};function l(u){return null===u?n(u):32===u?(e.enter("space"),e.consume(u),e.exit("space"),l):96===u?(i=e.enter("codeTextSequence"),r=0,function n(l){return 96===l?(e.consume(l),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(l)):(i.type="codeTextData",c(l))}(u)):(0,v.Ch)(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(u))}function c(t){return null===t||32===t||96===t||(0,v.Ch)(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),c)}},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},ev={null:[es,_]},eb={null:[42,95]},ek={null:[]},eC=/[\0\t\n\r]/g;var eF=n(54479);function ey(e){let{bgColor:t,className:n,children:r}=e;return(0,i.jsx)("section",{className:["mx-[calc(50%-50vw)]",n].filter(Boolean).join(" "),style:t?{backgroundColor:t}:void 0,children:r})}function ej(e){let{title:t,subtitle:n,colors:r,children:o}=e,l=(null!=r?r:"").split(";").reduce((e,t)=>{let[n="",...r]=t.split(":"),i=n.trim(),o=r.join(":").trim();return o?i.includes("subtitle-text")?{...e,subtitle:o}:i.includes("title-text")?{...e,title:o}:i.endsWith("-bg")?{...e,background:o}:e:e},{});return(0,i.jsx)(ey,{bgColor:l.background,className:"py-12 sm:py-16",children:(0,i.jsxs)("div",{className:"max-w-app mx-auto w-full px-4",children:[(t||n)&&(0,i.jsxs)("div",{className:"mx-auto mb-8 max-w-2xl text-center",children:[t&&(0,i.jsx)("h2",{className:"font-title text-page-text text-2xl font-bold tracking-tight sm:text-3xl",style:l.title?{color:l.title}:void 0,children:t}),n&&(0,i.jsx)("p",{className:"font-subtitle text-page-text/70 mt-2 text-base",style:l.subtitle?{color:l.subtitle}:void 0,children:n})]}),o]})})}var ew=e=>!/^\s*(?:javascript|data|vbscript):/i.test(e);function eS(e){let{banners:t,loading:n=!1,autoplay:r=!0}=e,l=function(){let[e,t]=(0,o.useState)(void 0);return(0,o.useEffect)(()=>{let e=window.matchMedia("(max-width: 640px)");t(e.matches);let n=e=>t(e.matches);return e.addEventListener("change",n),()=>e.removeEventListener("change",n)},[]),e}(),[c,u]=(0,o.useState)(0),s=(0,o.useRef)(),a=l?"web_responsive":"web",f=(t||[]).filter(e=>"Banner"===e.type&&e.pictures.length>0),d=f.filter(e=>e.category===a),h=d.length>0?d:f,x=h.length,p=x>0?c%x:0,m=(0,o.useCallback)(e=>{u((e%x+x)%x)},[x]);if((0,o.useEffect)(()=>{if(r&&!(x<=1))return s.current=setInterval(()=>{u(e=>(e+1)%x)},4e3),()=>clearInterval(s.current)},[r,x]),n&&0===x)return(0,i.jsx)("div",{className:"px-4 pt-2",children:(0,i.jsx)("div",{"data-testid":"banner-skeleton",className:"h-36 w-full animate-pulse rounded-lg bg-black/10 sm:h-48"})});if(void 0===l||0===x)return null;let g=l?"aspect-[71/50]":"aspect-[24/7]";return(0,i.jsxs)("div",{className:"relative overflow-hidden",role:"region","aria-label":"Banners promocionales",children:[(0,i.jsx)("div",{className:"flex transition-transform duration-300 ease-out",style:{transform:"translateX(-".concat(100*p,"%)")},children:h.map((e,t)=>{var n,r;let o=e.pictures[0],c=e.url,u=c&&ew(c)?()=>{window.location.href=c}:void 0,s=l?null==(n=null==o?void 0:o.cropperUrl)?void 0:n.mobile:null==(r=null==o?void 0:o.cropperUrl)?void 0:r.desktop,a=s||(null==o?void 0:o.url)||"";return(0,i.jsx)("div",{className:"w-full shrink-0",children:(0,i.jsx)("button",{type:"button",onClick:u,disabled:!u,className:"relative block w-full overflow-hidden ".concat(g),children:(0,i.jsx)("img",{src:a,alt:e.name||"Banner ".concat(t+1),className:"h-full w-full object-cover"})})},e.id)})}),x>1&&(0,i.jsx)("div",{className:"absolute inset-x-0 bottom-0 flex justify-center gap-0.5",children:h.map((e,t)=>(0,i.jsx)("button",{type:"button",onClick:()=>m(t),className:"flex h-11 w-6 items-end justify-center pb-2","aria-label":"Banner ".concat(t+1),children:(0,i.jsx)("span",{className:"block h-2 rounded-full transition-all ".concat(t===p?"!bg-surface w-6":"!bg-surface/50 w-2")})},e.id))})]})}Array.from({length:6},(e,t)=>({name:"Product ".concat(t+1),price:"$9.990"}));var ez=e=>!!(e&&e.title&&e.callToActionText&&e.callToActionHref),e_=e=>"string"==typeof e&&e?e:void 0;
1function eE(e){let{controlProps:t}=e;if(!ez(t))return null;let{title:n,description:r,callToActionText:o,callToActionHref:l,imgSrc:c}=t,u=e_(t.blockHeroBgColor),s=e_(t.blockHeroTitleTextColor),a=e_(t.blockHeroSubtitleTextColor),f=!c&&!u;return(0,i.jsxs)(ey,{bgColor:u,className:"relative".concat(f?" !bg-secondary":""),children:[f&&(0,i.jsx)("div",{className:"from-overlay/25 to-overlay/5 absolute inset-0 bg-gradient-to-t"}),(0,i.jsxs)("div",{className:"max-w-app relative mx-auto flex min-h-[56vh] w-full items-center justify-center overflow-hidden px-4 py-16 text-center sm:min-h-[460px] sm:py-24",children:[c&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("img",{src:c,alt:"",className:"absolute inset-0 h-full w-full object-cover"}),(0,i.jsx)("div",{className:"via-overlay/45 from-overlay/80 to-overlay/30 absolute inset-0 bg-gradient-to-t"})]}),(0,i.jsxs)("div",{className:"relative z-10 mx-auto max-w-3xl",children:[(0,i.jsx)("h1",{className:"font-title text-4xl font-bold leading-[1.05] tracking-tight sm:text-5xl".concat(s?"":" text-content-inverse"),style:s?{color:s}:void 0,children:n}),r&&(0,i.jsx)("p",{className:"mx-auto mt-4 max-w-xl text-lg sm:text-xl".concat(a?"":" text-content-inverse/85"),style:a?{color:a}:void 0,children:r}),(0,i.jsx)("div",{className:"mt-9",children:(0,i.jsx)("a",{href:l,className:"inline-flex items-center justify-center rounded-xl !bg-primary px-7 py-4 text-base font-semibold text-content-inverse shadow-lg shadow-overlay/20 transition-all hover:opacity-90 hover:-translate-y-0.5 active:translate-y-0 active:opacity-80",children:o})})]})]})]})}var eT=[/^https:\/\/www\.google\.com\/maps\/(?:d(?:\/u\/\d+)?\/)?embed/,/^https:\/\/docs\.google\.com\/forms/,/^https:\/\/open\.spotify\.com\/embed\/playlist\//];function eA(e){let{controlProps:t,colors:n,invalidEmbedLabel:r}=e,{title:o,subtitle:c,iFrameCode:u}=null!=t?t:{},s=null==u?void 0:u.replace(/(style="[^"]*")/,""),a=s?(0,l.N1)(s):null,f="string"==typeof(null==a?void 0:a.src)?a.src:"",d=eT.some(e=>e.test(f));return(0,i.jsx)(ej,{title:o,subtitle:c,colors:n,children:(0,i.jsx)("div",{className:"mx-auto flex max-w-lg items-center justify-center overflow-hidden rounded-2xl",children:d&&a?(0,i.jsx)("iframe",{loading:"lazy",...a}):(0,i.jsx)("p",{className:"text-content-muted py-8 text-sm",children:r})})})}var eB=e=>"string"==typeof e&&e?e:void 0,eN=e=>!!e&&!!e.content;function eL(e){var t,n,o;let l,b,F,y,{controlProps:w,backToHomeLabel:S}=e;if(!eN(w))return null;let{content:_}=w,A=eB(w.blockRichTextBgColor),B=eB(w.blockRichTextTextColor);return(0,i.jsx)(ey,{bgColor:A,children:(0,i.jsxs)("div",{className:"mx-auto w-full max-w-3xl px-4 py-12 sm:py-16",children:[(0,i.jsxs)("a",{href:"/",className:"text-page-text/80 mb-5 inline-flex items-center gap-2 text-sm font-semibold transition-opacity hover:opacity-100",children:[(0,i.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:"h-5 w-5","aria-hidden":"true",children:[(0,i.jsx)("path",{d:"M19 12H5"}),(0,i.jsx)("path",{d:"M12 19l-7-7 7-7"})]}),S]}),(0,i.jsx)("div",{className:"rounded-2xl p-6 sm:p-10".concat(A?"":" bg-surface text-content ring-line/60 shadow-sm ring-1"),children:(0,i.jsx)("div",{className:B?"text-[0.95rem] leading-7 [&_h1]:mb-4 [&_h1]:pt-6 [&_h1]:font-title [&_h1]:text-2xl [&_h1]:font-bold [&_h1]:first:pt-0 [&_h2]:mb-4 [&_h2]:pb-2 [&_h2]:pt-6 [&_h2]:font-title [&_h2]:text-xl [&_h2]:font-semibold [&_h2]:first:pt-0 [&_h3]:mb-3 [&_h3]:border-b [&_h3]:border-line [&_h3]:pb-2 [&_h3]:pt-5 [&_h3]:text-base [&_h3]:font-semibold [&_p]:mb-4 [&_a]:font-medium [&_a]:text-primary [&_a]:underline [&_ul]:mb-4 [&_ul]:list-disc [&_ul]:pl-6 [&_ol]:mb-4 [&_ol]:list-decimal [&_ol]:pl-6 [&_li]:mb-1.5 [&_strong]:font-semibold [&_blockquote]:border-l-2 [&_blockquote]:border-line [&_blockquote]:pl-4":"text-[0.95rem] leading-7 text-content-secondary [&_h1]:mb-4 [&_h1]:pt-6 [&_h1]:font-title [&_h1]:text-2xl [&_h1]:font-bold [&_h1]:text-content [&_h1]:first:pt-0 [&_h2]:mb-4 [&_h2]:pb-2 [&_h2]:pt-6 [&_h2]:font-title [&_h2]:text-xl [&_h2]:font-semibold [&_h2]:text-content [&_h2]:first:pt-0 [&_h3]:mb-3 [&_h3]:border-b [&_h3]:border-line [&_h3]:pb-2 [&_h3]:pt-5 [&_h3]:text-base [&_h3]:font-semibold [&_h3]:text-content [&_p]:mb-4 [&_a]:font-medium [&_a]:text-primary [&_a]:underline [&_ul]:mb-4 [&_ul]:list-disc [&_ul]:pl-6 [&_ol]:mb-4 [&_ol]:list-decimal [&_ol]:pl-6 [&_li]:mb-1.5 [&_strong]:font-semibold [&_strong]:text-content [&_blockquote]:border-l-2 [&_blockquote]:border-line [&_blockquote]:pl-4 [&_blockquote]:text-content-muted",style:B?{color:B}:void 0,dangerouslySetInnerHTML:{__html:(t=_.replaceAll(/\s{2,}/g,"\n"),"string"!=typeof n&&(o=n,n=void 0),(function(e){let t=e||{},n=!0,r={},i=[[]],o=[],l=[],u=function(e){let t={},n=-1;for(;++n<e.length;)(function(e,t){let n;for(n in t){let r;let i=a.call(e,n)?e[n]:void 0,o=i||(e[n]={}),l=t[n];if(l)for(r in l)o[r]=l[r]}})(t,e[n]);return t}
1([{enter:{blockQuote:function(){l.push(!1),S(),y("<blockquote>")},codeFenced:function(){S(),y("<pre><code"),v.fencesCount=0},codeFencedFenceInfo:C,codeFencedFenceMeta:C,codeIndented:function(){S(),y("<pre><code>")},codeText:function(){v.inCodeText=!0,y("<code>")},content:function(){v.slurpAllLineEndings=!0},definition:function(){C(),o.push({})},definitionDestinationString:function(){C(),v.ignoreEncode=!0},definitionLabelString:C,definitionTitleString:C,emphasis:function(){y("<em>")},htmlFlow:function(){S(),L()},htmlText:L,image:function(){o.push({image:!0}),n=void 0},label:C,link:function(){o.push({})},listItemMarker:function(){v.expectFirstItem?y(">"):_(),S(),y("<li>"),v.expectFirstItem=void 0,v.lastWasTag=void 0},listItemValue:function(e){if(v.expectFirstItem){let t=Number.parseInt(this.sliceSerialize(e),10);1!==t&&y(' start="'+z(String(t))+'"')}},listOrdered:function(e){l.push(!e._loose),S(),y("<ol"),v.expectFirstItem=!0},listUnordered:function(e){l.push(!e._loose),S(),y("<ul"),v.expectFirstItem=!0},paragraph:function(){l[l.length-1]||(S(),y("<p>")),v.slurpAllLineEndings=void 0},reference:C,resource:function(){C(),o[o.length-1].destination=""},resourceDestinationString:function(){C(),v.ignoreEncode=!0},resourceTitleString:C,setextHeading:function(){C(),v.slurpAllLineEndings=void 0},strong:function(){y("<strong>")}},exit:{atxHeading:function(){y("</h"+v.headingRank+">"),v.headingRank=void 0},atxHeadingSequence:function(e){if(!v.headingRank){var t;t=this.sliceSerialize(e).length,v.headingRank=t,S(),y("<h"+v.headingRank+">")}},autolinkEmail:function(e){let t=this.sliceSerialize(e);y('<a href="'+(0,x.K)("mailto:"+t)+'">'),j(z(t)),y("</a>")},autolinkProtocol:function(e){let n=this.sliceSerialize(e);y('<a href="'+(0,x.K)(n,t.allowDangerousProtocol?void 0:m)+'">'),j(z(n)),y("</a>")},blockQuote:function(){l.pop(),S(),y("</blockquote>"),v.slurpAllLineEndings=void 0},characterEscapeValue:A,characterReferenceMarkerHexadecimal:I,characterReferenceMarkerNumeric:I,characterReferenceValue:function(e){let t=this.sliceSerialize(e);j(z(t=v.characterReferenceType?(0,f.o)(t,"characterReferenceMarkerNumeric"===v.characterReferenceType?10:16):(0,c.T)(t))),v.characterReferenceType=void 0},codeFenced:E,codeFencedFence:function(){let e=v.fencesCount||0;e||(y(">"),v.slurpOneLineEnding=!0),v.fencesCount=e+1},codeFencedFenceInfo:function(){let e=F();y(' class="language-'+e+'"')},codeFencedFenceMeta:F,codeFlowValue:function(e){j(z(this.sliceSerialize(e))),v.flowCodeSeenData=!0},codeIndented:E,codeText:function(){v.inCodeText=void 0,y("</code>")},codeTextData:A,data:A,definition:function(){let e=o[o.length-1],t=(0,h.d)(e.labelId);F(),p.call(r,t)||(r[t]=o[o.length-1]),o.pop()},definitionDestinationString:function(){o[o.length-1].destination=F(),v.ignoreEncode=void 0},definitionLabelString:function(e){F(),o[o.length-1].labelId=this.sliceSerialize(e)},definitionTitleString:function(){o[o.length-1].title=F()},emphasis:function(){y("</em>")},hardBreakEscape:B,hardBreakTrailing:B,htmlFlow:N,htmlFlowData:A,htmlText:N,htmlTextData:A,image:T,label:function(){o[o.length-1].label=F()},labelText:function(e){o[o.length-1].labelId=this.sliceSerialize(e)},lineEnding:function(e){if(!v.slurpAllLineEndings){if(v.slurpOneLineEnding){v.slurpOneLineEnding=void 0;return}if(v.inCodeText){j(" ");return}j(z(this.sliceSerialize(e)))}},link:T,listOrdered:function(){_(),l.pop(),w(),y("</ol>")},listUnordered:function(){_(),l.pop(),w(),y("</ul>")},paragraph:function(){l[l.length-1]?v.slurpAllLineEndings=!0:y("</p>")},reference:F,referenceString:function(e){o[o.length-1].referenceId=this.sliceSerialize(e)},resource:F,resourceDestinationString:function(){o[o.length-1].destination=F(),v.ignoreEncode=void 0},resourceTitleString:function(){o[o.length-1].title=F()},setextHeading:function(){let e=F();S(),y("<h"+v.headingRank+">"),j(e),y("</h"+v.headingRank+">"),v.slurpAllLineEndings=void 0,v.headingRank=void 0},setextHeadingLineSequence:function(e){var t;t=61===this.sliceSerialize(e).charCodeAt(0)?1:2,v.headingRank=t},setextHeadingText:function(){v.slurpAllLineEndings=!0},strong:function(){y("</strong>")},thematicBreak:function(){S(),y("<hr />")}}}].concat(t.htmlExtensions||[])),v={tightStack:l,definitions:r},b={lineEndingIfNeeded:S,options:t,encode:z,raw:j,tag:y,buffer:C,resume:F,setData:function(e,t){v[e]=t},getData:function(e){return v[e]}},k=t.defaultLineEnding;return function(e){let t=-1,n=0,r=[],o=[],l=[];for(;++t<e.length;)k||"lineEnding"!==e[t][1].type&&"lineEndingBlank"!==e[t][1].type||(k=e[t][2].sliceSerialize(e[t][1])),("listOrdered"===e[t][1].type||"listUnordered"===e[t][1].type)&&("enter"===e[t][0]?r.pu
1sh(t):function(e){let t;let n=e.length,r=0,i=0,o=!1;for(;++r<n;){let n=e[r];if(n[1]._container)t=void 0,"enter"===n[0]?i++:i--;else switch(n[1].type){case"listItemPrefix":"exit"===n[0]&&(t=!0);break;case"linePrefix":break;case"lineEndingBlank":"enter"!==n[0]||i||(t?t=void 0:o=!0);break;default:t=void 0}}e[0][1]._loose=o}(e.slice(r.pop(),t))),"definition"===e[t][1].type&&("enter"===e[t][0]?(l=s(l,e.slice(n,t)),n=t):(o=s(o,e.slice(n,t+1)),n=t+1));o=s(o,l),o=s(o,e.slice(n)),t=-1;let c=o;for(u.enter.null&&u.enter.null.call(b);++t<e.length;){let e=u[c[t][0]],n=c[t][1].type,r=e[n];p.call(e,n)&&r&&r.call(Object.assign({sliceSerialize:c[t][2].sliceSerialize},b),c[t][1])}return u.exit.null&&u.exit.null.call(b),i[0].join("")};function C(){i.push([])}function F(){let e=i.pop();return e.join("")}function y(e){n&&(v.lastWasTag=!0,i[i.length-1].push(e))}function j(e){v.lastWasTag=void 0,i[i.length-1].push(e)}function w(){j(k||"\n")}function S(){let e=i[i.length-1],t=e[e.length-1],n=t?t.charCodeAt(t.length-1):null;10!==n&&13!==n&&null!==n&&w()}function z(e){return v.ignoreEncode?e:(0,d.c)(e)}function _(){v.lastWasTag&&!v.slurpAllLineEndings&&S(),y("</li>"),v.slurpAllLineEndings=void 0}function E(){let e=v.fencesCount;void 0!==e&&e<2&&v.tightStack.length>0&&!v.lastWasTag&&w(),v.flowCodeSeenData&&S(),y("</code></pre>"),void 0!==e&&e<2&&S(),v.flowCodeSeenData=void 0,v.fencesCount=void 0,v.slurpOneLineEnding=void 0}function T(){let e=o.length-1,i=o[e],l=i.referenceId||i.labelId,c=void 0===i.destination?r[(0,h.d)(l)]:i;for(n=!0;e--;)if(o[e].image){n=void 0;break}i.image?(y('<img src="'+(0,x.K)(c.destination,t.allowDangerousProtocol?void 0:g)+'" alt="'),j(i.label),y('"')):y('<a href="'+(0,x.K)(c.destination,t.allowDangerousProtocol?void 0:m)+'"'),y(c.title?' title="'+c.title+'"':""),i.image?y(" />"):(y(">"),j(i.label),y("</a>")),o.pop()}function A(e){j(z(this.sliceSerialize(e)))}function B(){y("<br />")}function N(){v.ignoreEncode=void 0}function L(){t.allowDangerousHtml&&(v.ignoreEncode=!0)}function I(e){var t;t=e.type,v.characterReferenceType=t}})(o)(function(e){for(;!j(e););return e}((function(e){let t=function(e){let t={},n=-1;for(;++n<e.length;)(function(e,t){let n;for(n in t){let r;let i=a.call(e,n)?e[n]:void 0,o=i||(e[n]={}),l=t[n];if(l)for(r in l){a.call(o,r)||(o[r]=[]);let e=l[r];(function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);u(e,0,0,r)})(o[r],Array.isArray(e)?e:e?[e]:[])}}})(t,e[n]);return t}([r,...(e||{}).extensions||[]]),n={defined:[],lazy:{},constructs:t,content:i(k),document:i(C),flow:i(z),string:i(E),text:i(T)};return n;function i(e){return function(t){return function(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},o=[],l=[],c=[],a={consume:function(e){(0,v.Ch)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),f.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=x(),f.events.push(["enter",n,f]),c.push(n),n},exit:function(e){let t=c.pop();return t.end=x(),f.events.push(["exit",t,f]),t},attempt:m(function(e,t){g(e,t.from)}),check:m(p),interrupt:m(p,{interrupt:!0})},f={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:h,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o;let l=e[r];if("string"==typeof l)o=l;else switch(l){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":" ";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(l)}n=-2===l,i.push(o)}return i.join("")}(h(e),t)},now:x,defineSkip:function(e){i[e.line]=e.column,b()},write:function(e){return(l=s(l,e),function(){let e;for(;r._index<l.length;){var t;let n=l[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;)d=d(n.charCodeAt(r._bufferIndex));else d=d(n)}}(),null!==l[l.length-1])?[]:(g(t,0),f.events=L(o,f.events,f),f.events)}},d=t.tokenize.call(f,a);return t.resolveAll&&o.push(t),f;function h(e){return function(e,t){let n;let r=t.start._index,i=t.start._bufferIndex,o=t.end._index,l=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,l)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}l>0&&n.push(e[o].slice(0,l))}return n}(l,e)}function x(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}
1function p(e,t){t.restore()}function m(e,t){return function(n,i,o){let l,u,s,d;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null,i=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]];return h(i)(e)};function h(e){return(l=e,u=0,0===e.length)?o:p(e[u])}function p(e){return function(n){return(d=function(){let e=x(),t=f.previous,n=f.currentConstruct,i=f.events.length,o=Array.from(c);return{restore:function(){r=e,f.previous=t,f.currentConstruct=n,f.events.length=i,c=o,b()},from:i}}(),s=e,e.partial||(f.currentConstruct=e),e.name&&f.parser.constructs.disable.null.includes(e.name))?g(n):e.tokenize.call(t?Object.assign(Object.create(f),t):f,a,m,g)(n)}}function m(t){return e(s,d),i}function g(e){return(d.restore(),++u<l.length)?p(l[u]):o}}}function g(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&u(f.events,t,f.events.length-t,e.resolve(f.events.slice(t),f)),e.resolveTo&&(f.events=e.resolveTo(f.events,f))}function b(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(n,e,t)}}})(o).document().write((b=1,F="",y=!0,function(e,t,n){let r,i,o,c,u;let s=[];for(e=F+e.toString(t),o=0,F="",y&&(65279===e.charCodeAt(0)&&o++,y=void 0);o<e.length;){if(eC.lastIndex=o,c=(r=eC.exec(e))&&void 0!==r.index?r.index:e.length,u=e.charCodeAt(c),!r){F=e.slice(o);break}if(10===u&&o===c&&l)s.push(-3),l=void 0;else switch(l&&(s.push(-5),l=void 0),o<c&&(s.push(e.slice(o,c)),b+=c-o),u){case 0:s.push(65533),b++;break;case 9:for(i=4*Math.ceil(b/4),s.push(-2);b++<i;)s.push(-1);break;case 10:s.push(-4),b=1;break;default:l=!0,b=1}o=c+1}return n&&(l&&s.push(-5),F&&s.push(F),s.push(null)),s})(t,n,!0)))))}})})]})})}var eI=e=>e&&e.videoSrc,eM=/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|watch\?v=))([A-Za-z0-9_-]{11})(\S*)$/,eD=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.match(eM);return t?"https://www.youtube.com/embed/".concat(t[1]):""},eP=e=>{let{videoSrc:t,autoplay:n=!1,loop:r=!1,mute:i=!1}=e;try{let e=new URL(t),o=t.split("/").slice(-1).toString();return r&&(e.searchParams.append("playlist",o),e.searchParams.append("loop","1")),n&&e.searchParams.append("autoplay","1"),i&&e.searchParams.append("mute","1"),e.href}catch(e){return null}};function eH(e){let{controlProps:t,colors:n}=e;if(!eI(t))return null;let{videoSrc:r,title:o,subtitle:l,loop:c,autoplay:u,mute:s}=t,a=eD(r);if(!a)return null;let f=eP({videoSrc:a,autoplay:u,loop:c,mute:s});return f?(0,i.jsx)(ej,{title:o,subtitle:l,colors:n,children:(0,i.jsx)("div",{className:"flex items-center justify-center",children:(0,i.jsx)("iframe",{src:f,title:o,className:"aspect-video w-full max-w-4xl overflow-hidden rounded-2xl",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})})}):null}var eO=e=>e.length>20?"".concat(e.slice(0,20),"â¦"):e,eR=(e,t)=>{let n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n},eV={instagram:(0,i.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,i.jsx)("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5"}),(0,i.jsx)("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),(0,i.jsx)("line",{x1:"17.5",y1:"6.5",x2:"17.51",y2:"6.5"})]}),facebook:(0,i.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,i.jsx)("path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"})}),tiktok:(0,i.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)("path",{d:"M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-2.88 2.5 2.89 2.89 0 0 1 0-5.78c.27 0 .54.04.79.1v-3.5a6.37 6.37 0 0 0-.79-.05A6.34 6.34 0 0 0 3.15 15.2a6.34 6.34 0 0 0 6.34 6.34 6.34 6.34 0 0 0 6.34-6.34V8.88a8.3 8.3 0 0 0 3.76.96V6.69z"})}),twitter:(0,i.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,i.jsx)("path",{d:"M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"})}),youtube:(0,i.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,i.jsx)("path",{d:"M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19.1c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.43z"}),(0,i.jsx)("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"})]}),tripadvisor:(0,i.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"
1currentColor",children:(0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm4 0a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm2.5-7.5L12 6l-4.5 3.5"})})},eq={appStore:(0,i.jsx)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.8-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"})}),playStore:(0,i.jsx)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"currentColor",children:(0,i.jsx)("path",{d:"M3.18 23.75c-.36-.17-.68-.52-.68-1.22V1.47c0-.7.32-1.05.68-1.22l11.5 11.75L3.18 23.75z"})})};function eW(e){let{commerceName:t,socialEntries:n,contact:r,footerPages:o,appLinks:l,colorVars:c,labels:u,termsHref:s,privacyHref:a,poweredByHref:f,onOpenChat:d}=e,h=!!(r.address||r.phone||r.email||r.whatsapp||r.hasIntercom||r.hasMessenger);return(0,i.jsx)("footer",{className:"!bg-footer-bg text-footer-text pb-20 lg:pb-0",style:c,children:(0,i.jsxs)("div",{className:"max-w-app mx-auto px-6 py-10 sm:py-12",children:[(0,i.jsxs)("div",{className:"grid gap-10 lg:grid-cols-3 lg:gap-12",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("span",{className:"font-title text-footer-text text-2xl tracking-[0.3em]",children:t}),n.length>0&&(0,i.jsx)("div",{className:"mt-6 flex items-center gap-3",children:n.map(e=>{let[t,n]=e;return(0,i.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferrer","aria-label":t,className:"border-footer-text/20 flex h-10 w-10 items-center justify-center rounded-full border transition-colors [background-color:var(--v2-footer-social-bg,transparent)] [color:var(--v2-footer-social-icon,rgba(var(--v2-footer-text),0.8))] hover:opacity-80",children:eV[t]},t)})})]}),h&&(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:"text-footer-text mb-5 text-xs font-semibold uppercase tracking-[0.2em]",children:u.contactLabel}),(0,i.jsxs)("ul",{className:"text-footer-text/80 flex flex-col gap-4 text-sm",children:[r.address&&(0,i.jsxs)("li",{className:"flex items-start gap-3",children:[(0,i.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-footer-accent mt-0.5 h-5 w-5 shrink-0",children:[(0,i.jsx)("path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"}),(0,i.jsx)("circle",{cx:"12",cy:"10",r:"3"})]}),(0,i.jsx)("span",{children:r.address})]}),r.phone&&(0,i.jsxs)("li",{className:"flex items-center gap-3",children:[(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-footer-accent h-5 w-5 shrink-0",children:(0,i.jsx)("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"})}),(0,i.jsx)("a",{href:"tel:".concat(r.phone),className:"hover:text-footer-text transition-colors",children:r.phone})]}),r.email&&(0,i.jsxs)("li",{className:"flex items-center gap-3",children:[(0,i.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-footer-accent h-5 w-5 shrink-0",children:[(0,i.jsx)("rect",{width:"20",height:"16",x:"2",y:"4",rx:"2"}),(0,i.jsx)("path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"})]}),(0,i.jsx)("a",{href:"mailto:".concat(r.email),className:"hover:text-footer-text transition-colors",children:r.email})]}),r.whatsapp&&(0,i.jsxs)("li",{className:"flex items-center gap-3",children:[(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"
1currentColor",className:"text-footer-accent h-5 w-5 shrink-0",children:(0,i.jsx)("path",{d:"M17.47 14.38c-.3-.15-1.74-.86-2.01-.96-.27-.1-.47-.15-.66.15-.2.3-.76.96-.93 1.16-.17.2-.34.22-.64.07-.3-.15-1.25-.46-2.38-1.47-.88-.78-1.47-1.75-1.64-2.05-.17-.3-.02-.46.13-.61.13-.13.3-.34.45-.51.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.66-1.59-.9-2.18-.24-.57-.48-.5-.66-.5-.17 0-.37-.03-.56-.03s-.52.07-.79.37c-.27.3-1.04 1.02-1.04 2.48s1.06 2.88 1.21 3.08c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.69.62.71.23 1.36.2 1.87.12.57-.08 1.74-.71 1.99-1.4.24-.69.24-1.28.17-1.4-.07-.12-.27-.2-.56-.35zM12.04 21.5h-.01a9.45 9.45 0 0 1-4.82-1.32l-.35-.21-3.58.94.96-3.49-.23-.36a9.46 9.46 0 0 1-1.45-5.04c0-5.23 4.26-9.48 9.49-9.48 2.53 0 4.91.99 6.7 2.78a9.42 9.42 0 0 1 2.78 6.71c0 5.23-4.26 9.48-9.49 9.48z"})}),(0,i.jsx)("a",{href:"https://wa.me/".concat(r.whatsapp),target:"_blank",rel:"noopener noreferrer",className:"hover:text-footer-text transition-colors",children:u.whatsappLabel})]}),r.hasIntercom&&(0,i.jsxs)("li",{className:"flex items-center gap-3",children:[(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-footer-accent h-5 w-5 shrink-0",children:(0,i.jsx)("path",{d:"M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"})}),(0,i.jsx)("button",{type:"button",onClick:()=>d("intercom"),className:"hover:text-footer-text transition-colors",children:u.chatLabel})]}),r.hasMessenger&&(0,i.jsxs)("li",{className:"flex items-center gap-3",children:[(0,i.jsx)("svg",{viewBox:"0 0 36 36",fill:"currentColor",className:"text-footer-accent h-5 w-5 shrink-0",children:(0,i.jsx)("path",{d:"M1 17.99C1 8.51488 8.42339 1.5 18 1.5C27.5766 1.5 35 8.51488 35 17.99C35 27.4651 27.5766 34.48 18 34.48C16.2799 34.48 14.6296 34.2528 13.079 33.8264C12.7776 33.7435 12.4571 33.767 12.171 33.8933L8.79679 35.3828C7.91415 35.7724 6.91779 35.1446 6.88821 34.1803L6.79564 31.156C6.78425 30.7836 6.61663 30.4352 6.33893 30.1868C3.03116 27.2287 1 22.9461 1 17.99ZM12.7854 14.8897L7.79161 22.8124C7.31238 23.5727 8.24695 24.4295 8.96291 23.8862L14.327 19.8152C14.6899 19.5398 15.1913 19.5384 15.5557 19.8116L19.5276 22.7905C20.7193 23.6845 22.4204 23.3706 23.2148 22.1103L28.2085 14.1875C28.6877 13.4272 27.7531 12.5704 27.0371 13.1137L21.673 17.1847C21.3102 17.4601 20.8088 17.4616 20.4444 17.1882L16.4726 14.2094C15.2807 13.3155 13.5797 13.6293 12.7854 14.8897Z"})}),(0,i.jsx)("button",{type:"button",onClick:()=>d("messenger"),className:"hover:text-footer-text transition-colors",children:u.messengerLabel})]})]})]}),l.length>0&&(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:"text-footer-text mb-5 text-xs font-semibold uppercase tracking-[0.2em]",children:u.downloadAppLabel}),(0,i.jsx)("div",{className:"flex flex-col gap-3",children:l.map(e=>{let{key:t,label:n,url:r}=e;return(0,i.jsxs)("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"border-footer-text/20 text-footer-text hover:bg-surface/5 flex items-center gap-3 rounded-xl border px-4 py-3 transition-colors",children:[eq[t],(0,i.jsxs)("div",{className:"flex flex-col leading-tight",children:[(0,i.jsx)("span",{className:"text-footer-text/60 text-[10px] uppercase tracking-widest",children:u.availableOn}),(0,i.jsx)("span",{className:"text-base font-semibold",children:n})]})]},t)})})]})]}),o.length>0&&(0,i.jsx)("nav",{"aria-label":"P\xe1ginas",className:"mt-10 flex flex-wrap gap-x-12 gap-y-6",children:eR(o,5).map(e=>(0,i.jsx)("div",{className:"flex flex-col gap-2",children:e.map(e=>(0,i.jsx)("a",{href:e.url,title:e.name,className:"text-footer-link/70 hover:text-footer-link text-sm transition-colors",children:eO(e.name)},e.url))},e.map(e=>e.url).join("|")))}),(0,i.jsxs)("div",{className:"border-footer-text/10 mt-10 border-t pt-6",children:[(0,i.jsxs)("div",{className:"flex flex-col items-center gap-4 text-center lg:flex-row lg:items-start lg:justify-between lg:gap-6 lg:text-left",children:[(0,i.jsxs)("p",{className:"text-footer-text/60 text-xs",children:["\xa9 ",new Date().getFullYear()," ",t," \xb7 ",u.rightsReserved]}),(0,i.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-4 text-sm lg:justify-end lg:gap-5",children:[(0,i.jsx)("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:"text-footer-link/70 hover:text-footer-link transition-colors",children:u.termsLink}),(0,i.jsx)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"text-footer-link/70 hover:text-footer-link transition-colors",children:u.privacyLink})]})]}),(0,i.jsx)("div",{className:"mt-4 flex justify-center",children:(0,i.jsx)(eF.CQ,{poweredByText:u.poweredByLabel,href:f,containerClassNane:"!bg-transparent !tw-h-auto !tw-gap-2 !tw-py-0 !tw-px-0 [&>a]:!tw-h-5 [&>a]:!tw-w-auto [&_svg]:!tw-h-4 [&_svg]:!tw-w-auto",textClassName:"text-footer-text/70 font-body text-xs",logoClassName:"fill-footer-text"})})]})]})})}var e$=e=>e.length>20?"".concat(e.slice(0,20),"â¦"):e;
1function eQ(e){let{commerceName:t,logoSrc:n,homeHref:r,navItems:l,isLoggedIn:c,initials:u,itemCount:s,secondaryHeader:a,colorVars:f,chat:d,labels:h,dispatchBar:x,onCartClick:p,onProfileClick:m,onRequestLogin:g,onSignOut:v,onOpenChat:b}=e,[k,C]=(0,o.useState)(!1),[F,y]=(0,o.useState)(!1),j=(0,o.useRef)(null),w=(0,o.useRef)(null),[S,z]=(0,o.useState)(!1),_=!!d.whatsapp,E=!!d.hasIntercom,T=!!d.hasMessenger,A=_||E||T,B=e=>{b(e),C(!1)};(0,o.useEffect)(()=>{z(!0)},[]);let N=S?s:0;return(0,o.useEffect)(()=>{if(!k)return;let e=e=>{j.current&&!j.current.contains(e.target)&&C(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[k]),(0,o.useEffect)(()=>{if(!F)return;let e=e=>{w.current&&!w.current.contains(e.target)&&y(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[F]),(0,o.useEffect)(()=>{!c&&F&&y(!1)},[c,F]),(0,i.jsxs)("header",{className:"z-header sticky top-0 shadow-sm ".concat(a?"!bg-primary":"bg-header-bg"),style:f,children:[(0,i.jsxs)("div",{className:"max-w-app mx-auto flex items-center justify-between px-4 py-3",children:[(0,i.jsxs)("div",{className:"flex items-center gap-3",children:[(l.length>0||A)&&(0,i.jsxs)("div",{ref:j,className:"relative lg:hidden",children:[(0,i.jsx)("button",{type:"button",onClick:()=>C(e=>!e),className:"rounded-lg p-[11px] transition-colors ".concat(a?"text-content-inverse hover:bg-surface/20":"text-header-text hover:bg-header-text/10"),"aria-label":"Men\xfa de navegaci\xf3n","aria-haspopup":"menu","aria-expanded":k,children:(0,i.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,i.jsx)("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),(0,i.jsx)("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),(0,i.jsx)("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})}),k&&(0,i.jsxs)("div",{role:"menu",className:"border-line bg-surface absolute left-0 top-full z-50 mt-1 w-64 rounded-xl border py-1 shadow-lg",children:[l.map(e=>(0,i.jsx)("a",{href:e.url,role:"menuitem",title:e.name,onClick:()=>C(!1),className:"text-content-secondary hover:bg-surface-subtle flex w-full items-center px-4 py-3 text-left text-sm transition-colors",children:e$(e.name)},e.url)),A&&(0,i.jsxs)("div",{className:l.length>0?"border-line mt-1 border-t pt-1":"",children:[_&&(0,i.jsxs)("a",{href:"https://wa.me/".concat(d.whatsapp),target:"_blank",rel:"noopener noreferrer",role:"menuitem",onClick:()=>C(!1),className:"text-content-secondary hover:bg-surface-subtle flex w-full items-center gap-3 px-4 py-3 text-left text-sm transition-colors",children:[(0,i.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"#25D366",className:"shrink-0",children:(0,i.jsx)("path",{d:"M17.47 14.38c-.3-.15-1.74-.86-2.01-.96-.27-.1-.47-.15-.66.15-.2.3-.76.96-.93 1.16-.17.2-.34.22-.64.07-.3-.15-1.25-.46-2.38-1.47-.88-.78-1.47-1.75-1.64-2.05-.17-.3-.02-.46.13-.61.13-.13.3-.34.45-.51.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.66-1.59-.9-2.18-.24-.57-.48-.5-.66-.5-.17 0-.37-.03-.56-.03s-.52.07-.79.37c-.27.3-1.04 1.02-1.04 2.48s1.06 2.88 1.21 3.08c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.69.62.71.23 1.36.2
11.87.12.57-.08 1.74-.71 1.99-1.4.24-.69.24-1.28.17-1.4-.07-.12-.27-.2-.56-.35zM12.04 21.5h-.01a9.45 9.45 0 0 1-4.82-1.32l-.35-.21-3.58.94.96-3.49-.23-.36a9.46 9.46 0 0 1-1.45-5.04c0-5.23 4.26-9.48 9.49-9.48 2.53 0 4.91.99 6.7 2.78a9.42 9.42 0 0 1 2.78 6.71c0 5.23-4.26 9.48-9.49 9.48zm8.07-17.55A11.36 11.36 0 0 0 12.04.5C5.76.5.65 5.61.65 11.89c0 2.01.53 3.97 1.52 5.71L.56 23.5l6.05-1.59a11.34 11.34 0 0 0 5.42 1.38h.01c6.28 0 11.39-5.11 11.39-11.39 0-3.04-1.18-5.9-3.33-8.05z"})}),(0,i.jsx)("span",{children:h.whatsappCta})]}),E&&(0,i.jsxs)("button",{type:"button",role:"menuitem",onClick:()=>B("intercom"),className:"text-content-secondary hover:bg-surface-subtle flex w-full items-center gap-3 px-4 py-3 text-left text-sm transition-colors",children:[(0,i.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-secondary shrink-0",children:(0,i.jsx)("path",{d:"M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"})}),(0,i.jsx)("span",{children:h.chatCta})]}),T&&(0,i.jsxs)("button",{type:"button",role:"menuitem",onClick:()=>B("messenger"),className:"text-content-secondary hover:bg-surface-subtle flex w-full items-center gap-3 px-4 py-3 text-left text-sm transition-colors",children:[(0,i.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 36 36",fill:"#0a7cff",className:"shrink-0",children:(0,i.jsx)("path",{d:"M1 17.99C1 8.51488 8.42339 1.5 18 1.5C27.5766 1.5 35 8.51488 35 17.99C35 27.4651 27.5766 34.48 18 34.48C16.2799 34.48 14.6296 34.2528 13.079 33.8264C12.7776 33.7435 12.4571 33.767 12.171 33.8933L8.79679 35.3828C7.91415 35.7724 6.91779 35.1446 6.88821 34.1803L6.79564 31.156C6.78425 30.7836 6.61663 30.4352 6.33893 30.1868C3.03116 27.2287 1 22.9461 1 17.99ZM12.7854 14.8897L7.79161 22.8124C7.31238 23.5727 8.24695 24.4295 8.96291 23.8862L14.327 19.8152C14.6899 19.5398 15.1913 19.5384 15.5557 19.8116L19.5276 22.7905C20.7193 23.6845 22.4204 23.3706 23.2148 22.1103L28.2085 14.1875C28.6877 13.4272 27.7531 12.5704 27.0371 13.1137L21.673 17.1847C21.3102 17.4601 20.8088 17.4616 20.4444 17.1882L16.4726 14.2094C15.2807 13.3155 13.5797 13.6293 12.7854 14.8897Z"})}),(0,i.jsx)("span",{children:h.messengerCta})]})]})]})]}),(0,i.jsx)("a",{href:r,"aria-label":"Ir al inicio",className:"shrink-0",children:n?(0,i.jsx)("img",{src:n,alt:t||"",className:"h-8 w-auto object-contain"}):(0,i.jsx)("span",{className:"font-title text-header-text text-lg font-bold",children:t})}),l.length>0&&(0,i.jsx)("nav",{"aria-label":"Navegaci\xf3n",className:"ml-2 hidden items-center gap-1 lg:flex",children:l.slice(0,5).map(e=>(0,i.jsx)("a",{href:e.url,title:e.name,className:"rounded-lg px-3 py-2 text-sm font-medium transition-colors ".concat(a?"text-content-inverse hover:bg-surface/20":"text-header-text hover:bg-header-text/10"),children:e$(e.name)},e.url))})]}),(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsxs)("button",{type:"button","data-testid":"header-cart-button",onClick:p,className:"group relative rounded-full p-[11px] transition-colors ".concat(a?"text-content-inverse hover:bg-surface/20":"text-header-text hover:!bg-header-text/10"),"aria-label":"Carrito",children:[(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,i.jsx)("path",{d:"M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z"}),(0,i.jsx)("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),(0,i.jsx)("path",{d:"M16 10a4 4 0 0 1-8 0"})]}),(0,i.jsx)("span",{className:"bg-primary text-content-inverse group-hover:!bg-secondary group-active:!bg-secondary absolute -right-0.5 -top-0.5 flex h-5 w-5 items-center justify-center rounded-full text-[11px] font-bold transition-[opacity,background-color,color] group-hover:text-[color:var(--brand-secondary-text)] group-active:text-[color:var(--brand-secondary-text)] ".concat(N>0?"opacity-100":"opacity-0"),children:N||0})]}),(0,i.jsxs)("div",{ref:w,className:"relative",children:[(0,i.jsx)("button",{type:"button",onClick:()=>
1{if(m){m();return}c?y(e=>!e):g()},className:"rounded-full p-[11px] transition-colors ".concat(a?"text-content-inverse hover:bg-surface/20":"text-header-text hover:!bg-header-text/10"),"aria-label":"Perfil","aria-haspopup":c&&!m?"menu":void 0,"aria-expanded":c&&!m?F:void 0,children:u?(0,i.jsx)("span",{"aria-hidden":"true",className:"bg-primary text-content-inverse flex h-[22px] w-[22px] items-center justify-center rounded-full text-[11px] font-bold",children:u}):(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,i.jsx)("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),(0,i.jsx)("circle",{cx:"12",cy:"7",r:"4"})]})}),c&&F&&(0,i.jsxs)("div",{role:"menu",className:"border-line bg-surface absolute right-0 top-full z-50 mt-1 w-56 rounded-xl border py-1 shadow-lg",children:[(0,i.jsx)("a",{href:"/profile",role:"menuitem",onClick:()=>y(!1),className:"text-content-secondary hover:bg-surface-subtle flex w-full items-center px-4 py-3 text-left text-sm transition-colors",children:h.profile}),(0,i.jsx)("a",{href:"/orders",role:"menuitem",onClick:()=>y(!1),className:"text-content-secondary hover:bg-surface-subtle flex w-full items-center px-4 py-3 text-left text-sm transition-colors",children:h.orders}),(0,i.jsx)("div",{"aria-hidden":"true",className:"border-line-subtle my-1 border-t"}),(0,i.jsx)("button",{type:"button",role:"menuitem",onClick:()=>{v(),y(!1)},className:"text-error-strong hover:bg-surface-subtle flex w-full items-center px-4 py-3 text-left text-sm transition-colors",children:h.closeSession})]})]})]})]}),x&&(0,i.jsx)("div",{className:"bg-menuheader-bg",children:(0,i.jsx)("div",{className:"max-w-app mx-auto px-4 py-3",children:x})})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.