1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,43794,(e,t,r)=>{!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var n=typeof o;if("string"===n||"number"===n)e.push(o);else if(Array.isArray(o)){if(o.length){var i=a.apply(null,o);i&&e.push(i)}}else if("object"===n){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){e.push(o.toString());continue}for(var s in o)r.call(o,s)&&o[s]&&e.push(s)}}}return e.join(" ")}if(t.exports)a.default=a,t.exports=a;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd)void 0!==a&&e.v(a);else window.classNames=a}()},29132,91745,25618,84095,e=>{"use strict";e.s([],29132);var t=e.i(71645);e.s(["useEventListener",()=>a],25618);let r="u">typeof window?t.useLayoutEffect:t.useEffect;e.s(["useIsomorphicLayoutEffect",0,r],91745);let a=function(e,a,o,n){let i=(0,t.useRef)(a);r(()=>{i.current=a},[a]),(0,t.useEffect)(()=>{var t;let r=null!=(t=null==o?void 0:o.current)?t:window;if(!(r&&r.addEventListener))return;let a=e=>i.current(e);return r.addEventListener(e,a,n),()=>{r.removeEventListener(e,a,n)}},[e,o,n])};e.s(["default",()=>o],84095);let o=function(){let[e,o]=(0,t.useState)({width:0,height:0}),n=()=>{o({width:window.innerWidth,height:window.innerHeight})};return a("resize",n),r(()=>{n()},[]),e}},16015,(e,t,r)=>{},98547,(e,t,r)=>{var a=e.i(47167);e.r(16015);var o=e.r(71645),n=o&&"object"==typeof o&&"default"in o?o:{default:o},i=void 0!==a.default&&a.default.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,r=t.name,a=void 0===r?"stylesheet":r,o=t.optimizeForSpeed,n=void 0===o?i:o;c(s(a),"`name` must be a string"),this._name=a,this._deletedRulePlaceholder="#"+a+"-deleted-rule____{}",c("boolean"==typeof n,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=n,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(i||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(c(s(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return i||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var a=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,a))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var r="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(a){i||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}
1}else{var a=this._tags[e];c(a,"old rule at index `"+e+"` not found"),a.textContent=t}return e},r.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,"u">typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},r.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&c(s(t),"makeStyleTag accepts only strings as second parameter");var a=document.createElement("style");this._nonce&&a.setAttribute("nonce",this._nonce),a.type="text/css",a.setAttribute("data-"+e,""),t&&a.appendChild(document.createTextNode(t));var o=document.head||document.getElementsByTagName("head")[0];return r?o.insertBefore(a,r):o.appendChild(a),a},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}(e.prototype,t),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},u={};function h(e,t){if(!t)return"jsx-"+e;var r=String(t),a=e+r;return u[a]||(u[a]="jsx-"+d(e+"-"+r)),u[a]}function m(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;return u[r]||(u[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[r]}var g=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,a=void 0===r?null:r,o=t.optimizeForSpeed,n=void 0!==o&&o;this._sheet=a||new l({name:"styled-jsx",optimizeForSpeed:n}),this._sheet.inject(),a&&"boolean"==typeof n&&(this._sheet.setOptimizeForSpeed(n),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),a=r.styleId,o=r.rules;if(a in this._instancesCounts){this._instancesCounts[a]+=1;return}var n=o.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[a]=n,this._instancesCounts[a]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var a=this._fromServer&&this._fromServer[r];a?(a.parentNode.removeChild(a),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],a=e[1];return n.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:a}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,a=e.id;if(r){var o=h(a,r);return{styleId:o,rules:Array.isArray(t)?t.map(function(e){return m(o,e)}):[m(o,t)]}}return{styleId:h(a),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),f=o.createContext(null);function p(){return new g}function b(){return o.useContext(f)}f.displayName="StyleSheetContext";var y=n.default.useInsertionEffect||n.default.useLayoutEffect,x="u">typeof window?p():void 0;function v(e){var t=x||b();return t&&("u"<typeof window?t.add(e):y(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}v.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},r.StyleRegistry=function(e){var t=e.registry,r=e.children,a=o.useContext(f),i=o.useState(function(){return a||t||p()})[0];return n.default.createElement(f.Provider,{value:i},r)},r.createStyleRegistry=p,r.style=v,r.useStyleRegistry=b},21373,(e,t,r)=>{t.exports=e.r(98547).style},76326,e=>{"use strict";e.s(["resetScroll",0,()=>{setTimeout(()=>{window.scrollTo(0,-5e3)},0)}])},84297,(e,t,r)=>{t.exports={id:"google-analytics",description:"Install a Google Analytics tag on your website",website:"https://analytics.google.com/analytics/web/",scripts:[{url:"https://www.googletagmanager.com/gtag/js",params:["id"],strategy:"worker",location:"head",action:"append"},{code:"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag('js',new Date());gtag('config','${args.id}')",strategy:"worker",location:"head",action:"append"}]}},92135,(e,t,r)=>{"use strict";function a(e,t,r=!1){return t?Object.keys(e).filter(e=>r?!t.includes(e):t.includes(e)).reduce((t,r)=>(t[r]=e[r],t),{}):{}}function o(e,t,r,a){let o=a&&Object.keys(a).length>0?new URL(Object.values(a)[0],e):new URL(e);
1return t&&r&&t.forEach(e=>{r[e]&&o.searchParams.set(e,r[e])}),o.toString()}function n(e,t,r,a,n){var i;if(!t)return`<${e}></${e}>`;let s=(null==(i=t.src)?void 0:i.url)?Object.assign(Object.assign({},t),{src:o(t.src.url,t.src.params,a,n)}):t,l=Object.keys(Object.assign(Object.assign({},s),r)).reduce((e,t)=>{let a=null==r?void 0:r[t],o=s[t],n=null!=a?a:o,i=!0===n?t:`${t}="${n}"`;return n?e+` ${i}`:e},"");return`<${e}${l}></${e}>`}Object.defineProperty(r,"__esModule",{value:!0}),r.formatData=r.createHtml=r.formatUrl=void 0,r.formatUrl=o,r.createHtml=n,r.formatData=function(e,t){var r,i,s,l,c;let d=a(t,null==(r=e.scripts)?void 0:r.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),u=a(t,null==(s=null==(i=e.html)?void 0:i.attributes.src)?void 0:s.params),h=a(t,[null==(c=null==(l=e.html)?void 0:l.attributes.src)?void 0:c.slugParam]),m=a(t,[...Object.keys(d),...Object.keys(u),...Object.keys(h)],!0);return Object.assign(Object.assign({},e),{html:e.html?n(e.html.element,e.html.attributes,m,u,h):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:o(e.url,e.params,d)})):null})}},44602,(e,t,r)=>{"use strict";var a=e.e&&e.e.__rest||function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},o=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAnalytics=void 0;let n=o(e.r(84297)),i=e.r(92135);r.GoogleAnalytics=e=>{var t=a(e,[]);return(0,i.formatData)(n.default,t)}},60262,(e,t,r)=>{t.exports={id:"google-maps-embed",description:"Embed a Google Maps embed on your webpage",website:"https://developers.google.com/maps/documentation/embed/get-started",html:{element:"iframe",attributes:{loading:"lazy",src:{url:"https://www.google.com/maps/embed/v1/place",slugParam:"mode",params:["key","q","center","zoom","maptype","language","region"]},referrerpolicy:"no-referrer-when-downgrade",frameborder:"0",style:"border:0",allowfullscreen:!0,width:null,height:null}}}},77813,(e,t,r)=>{"use strict";var a=e.e&&e.e.__rest||function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},o=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleMapsEmbed=void 0;let n=o(e.r(60262)),i=e.r(92135);r.GoogleMapsEmbed=e=>{var t=a(e,[]);return(0,i.formatData)(n.default,t)}},40674,(e,t,r)=>{t.exports={id:"youtube-embed",description:"Embed a YouTube embed on your webpage.",website:"https://github.com/paulirish/lite-youtube-embed",html:{element:"lite-youtube",attributes:{videoid:null,playlabel:null}},stylesheets:["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],scripts:[{url:"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js",strategy:"idle",location:"head",action:"append"}]}},15465,(e,t,r)=>{"use strict";var a=e.e&&e.e.__rest||function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},o=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.YouTubeEmbed=void 0;let n=o(e.r(40674)),i=e.r(92135);r.YouTubeEmbed=e=>{var t=a(e,[]);return(0,i.formatData)(n.default,t)}},81498,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.YouTubeEmbed=r.GoogleMapsEmbed=r.GoogleAnalytics=void 0;var a=e.r(44602);Object.defineProperty(r,"GoogleAnalytics",{enumerable:!0,get:function(){return a.GoogleAnalytics}});var o=e.r(77813);Object.defineProperty(r,"GoogleMapsEmbed",{enumerable:!0,get:function(){return o.GoogleMapsEmbed}});var n=e.r(15465);Object.defineProperty(r,"YouTubeEmbed",{enumerable:!0,get:function(){return n.YouTubeEmbed}})},67345,(e,t,r)=>{"use strict";
1var a=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){let{apiKey:t,...r}=e,a={...r,key:t},{html:s}=(0,n.GoogleMapsEmbed)(a);return(0,o.jsx)(i.default,{height:a.height||null,width:a.width||null,html:s,dataNtpc:"GoogleMapsEmbed"})};let o=e.r(43476),n=e.r(81498),i=a(e.r(61316))},21783,(e,t,r)=>{"use strict";var a=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){let{html:t,scripts:r,stylesheets:a}=(0,i.YouTubeEmbed)(e);return(0,o.jsx)(s.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==r?void 0:r.map(e=>(0,o.jsx)(n.default,{src:e.url,strategy:l[e.strategy],stylesheets:a},e.url))})};let o=e.r(43476),n=a(e.r(3303)),i=e.r(81498),s=a(e.r(61316)),l={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"}},87644,(e,t,r)=>{"use strict";var a=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sendGAEvent=r.GoogleAnalytics=r.sendGTMEvent=r.GoogleTagManager=r.YouTubeEmbed=r.GoogleMapsEmbed=void 0;var o=e.r(67345);Object.defineProperty(r,"GoogleMapsEmbed",{enumerable:!0,get:function(){return a(o).default}});var n=e.r(21783);Object.defineProperty(r,"YouTubeEmbed",{enumerable:!0,get:function(){return a(n).default}});var i=e.r(19598);Object.defineProperty(r,"GoogleTagManager",{enumerable:!0,get:function(){return i.GoogleTagManager}}),Object.defineProperty(r,"sendGTMEvent",{enumerable:!0,get:function(){return i.sendGTMEvent}});var s=e.r(54576);Object.defineProperty(r,"GoogleAnalytics",{enumerable:!0,get:function(){return s.GoogleAnalytics}}),Object.defineProperty(r,"sendGAEvent",{enumerable:!0,get:function(){return s.sendGAEvent}})},95574,e=>{"use strict";var t=e.i(87644);let r=e=>{(0,t.sendGTMEvent)(e)};e.s(["trackEnteredAmount",0,()=>r({event:"entered_amount"}),"trackEnteredVoucherCode",0,()=>r({event:"entered_voucher_code"}),"trackEnteredWalletAddress",0,()=>r({event:"entered_wallet_address"}),"trackInvalidVoucherCode",0,()=>r({event:"invalid_voucher_code"}),"trackInvalidWalletAddress",0,()=>r({event:"invalid_wallet_address"}),"trackPaymentError",0,()=>r({event:"payment_error"}),"trackPaymentSuccessful",0,()=>r({event:"payment_successful"}),"trackRatingClick",0,e=>r({event:`rating_star${e}`}),"trackRedeemedOnChain",0,()=>r({event:"redeemed_onchain"}),"trackReturnedFromPayment",0,()=>r({event:"returned_from_payment"}),"trackShownLightningQRCode",0,()=>r({event:"shown_lightning_qrcode"}),"trackShownOnChainCode",0,()=>r({event:"shown_onchain_code"}),"trackSubmittedEmail",0,()=>r({event:"submitted_email"})])},47780,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(7594),o=e.i(32133),n=e.i(42971),i=e.i(71948),s=e.i(38155),l=e.i(94819),c=e.i(52180),d=e.i(58852),u=e.i(12120),h=e.i(21373),m=e.i(80950),g=e.i(80293),f=e.i(1765),p=e.i(18566);let b="^(bc1|tb1|[123]|ln)[a-zA-HJ-NP-Z0-9]{25,}$",y=new RegExp(b),x=new String(`.jsx-7005ef5a43450b06{-webkit-tap-highlight-color:transparent;color:var(--black);--bg-color-active:#f6dbff;--bg-color-passive:#edb6ff;--bg-color-textarea:#fffdee;--text-color:#000;--placeholder-color:#00000080}@keyframes fadeOut{0%{opacity:1;transform:translate(0)}99%{opacity:0;transform:translate(24px)}to{opacity:0;display:none;transform:translate(100vw)}}.jsx-7005ef5a43450b06:host{display:block}.container.jsx-7005ef5a43450b06{padding:${m.AztecoYMUtils.rem(24)} ${m.AztecoYMUtils.rem(16)};border-radius:${m.AztecoYMUtils.rem(16)};background:var(--bg-color-passive);box-sizing:border-box;width:fit-content;max-width:${m.AztecoYMUtils.rem(230)};flex-direction:column;transition:transform .5s cubic-bezier(.87,0,.13,1);display:flex;transform:translateY(0)}.container.alignRight.jsx-7005ef5a43450b06{margin-left:auto}.container.active.jsx-7005ef5a43450b06{background:var(--bg-color-active);max-width:calc(100% - ${m.AztecoYMUtils.rem(24)})}.container.jsx-7005ef5a43450b06>*+*{margin-top:${m.AztecoYMUtils.rem(18)}}.container.jsx-7005ef5a43450b06 azteco-dialog-toggle{display:none}.container.active.jsx-7005ef5a43450b06 azteco-dialog-toggle{display:block}form.jsx-7005ef5a43450b06{width:${m.AztecoYMUtils.rem(280)};box-sizing:border-box;height:fit-content;position:relative}textarea.jsx-7005ef5a43450b06{background:var(--bg-color-textarea);border-radius:${m.AztecoYMUtils.rem(16)};width:100%;padding:${m.AztecoYMUtils.rem(16)};box-sizing:border-box;height:${m.AztecoYMUtils.rem(90)};font-size:${m.AztecoYMUtils.rem(20)};color:var(--text-color);resize:none;border:1px solid #0000;outline:none;font-family:inherit;line-height:1.2}textarea.error.jsx-7005ef5a43450b06{border:1px solid red}
1textarea.jsx-7005ef5a43450b06::placeholder{color:var(--placeholder-color)}.walletReadonly.jsx-7005ef5a43450b06{font-size:${m.AztecoYMUtils.rem(20)};color:var(--text-color);word-break:break-all;margin:0;line-height:1.2}.container.fadeIn.jsx-7005ef5a43450b06{transform:translateY(${m.AztecoYMUtils.rem(16)})}.transitionOnly.jsx-7005ef5a43450b06{z-index:10;width:100%;position:absolute;top:0;left:0}.transitionOnly.alignRight.jsx-7005ef5a43450b06{right:0;left:unset}.fadeOut.jsx-7005ef5a43450b06{animation:.3s linear forwards fadeOut}span[hidden].jsx-7005ef5a43450b06{display:none}@media (width>=1024px){.container.jsx-7005ef5a43450b06{padding:${m.AztecoYMUtils.rem(24)} ${m.AztecoYMUtils.rem(40)};max-width:${m.AztecoYMUtils.rem(312)};min-width:${m.AztecoYMUtils.rem(312)}}.container.active.jsx-7005ef5a43450b06{width:fit-content;max-width:74.5%}.container.jsx-7005ef5a43450b06>*+*{margin-top:${m.AztecoYMUtils.rem(18)}}form.jsx-7005ef5a43450b06{width:${m.AztecoYMUtils.rem(569)}}textarea.jsx-7005ef5a43450b06{font-size:${m.AztecoYMUtils.rem(18)};height:${m.AztecoYMUtils.rem(80)};line-height:1.2}.walletReadonly.jsx-7005ef5a43450b06{font-size:${m.AztecoYMUtils.rem(24)};line-height:1.2}}`);x.__hash="7005ef5a43450b06";let v=({alignment:e="left",blockkey:a="",hasdialog:o,eventName:n,expirationDate:i})=>{let s,l=(0,r.useRef)(null),[c,d]=(0,r.useState)(!0),[u,m]=(0,r.useState)(""),v=l.current?.dataset.placeholder??"",j=(0,p.usePathname)();return(0,g.useClassicEffect)(()=>{((e,t,r,a,o)=>{if(e){let e,n,i;(e=t.querySelector("#input-wallet")).addEventListener("blur",r=>{let a=r.target.value;if(!y.test(a)){e.setCustomValidity("Invalid wallet address"),e.reportValidity(),e.classList.add("error");return}e.setCustomValidity("");let o=t.querySelector("#form");o?.dispatchEvent(new Event("submit",{cancelable:!0,bubbles:!0}))}),(n=t.querySelector("#input-wallet")).addEventListener("keyup",e=>{let r;if((r=e.target).value=r.value.replace(/[\r\n\v]+/g,""),"Enter"!==e.key)return;e.preventDefault();let a=e.target.value;if(!y.test(a)){n.setCustomValidity("Invalid wallet address"),n.reportValidity(),n.classList.add("error");return}n.setCustomValidity("");let o=t.querySelector("#form");o?.dispatchEvent(new Event("submit",{cancelable:!0,bubbles:!0}))}),i=t.querySelector("#form"),i?.addEventListener("submit",e=>{e.preventDefault();let t=e.target?.elements?.["input-wallet"]?.value;window.dispatchEvent(new CustomEvent(r,{detail:{wallet:t}})),o(t),a(!1)})}})(c,l.current,n,d,m)},[]),(0,r.useEffect)(()=>{setTimeout(()=>{c||l.current?.querySelector("#original")?.classList?.remove("fadeIn"),c||l.current?.querySelector("#transitionOnly")?.classList?.add("fadeOut")},200)},[c]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{ref:l,"data-blockkey":a,"data-hasdialog":o,className:`jsx-${x.__hash}`,children:[c?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)("div",{id:"transitionOnly",role:"presentational","aria-hidden":"true",className:`jsx-${x.__hash} container transitionOnly active${"right"===e?" alignRight":""}`,children:[(0,t.jsx)("form",{id:"form",className:`jsx-${x.__hash}`,children:(0,t.jsx)("textarea",{id:"input-wallet",name:"input-wallet",pattern:`${b}`,placeholder:`${v}`,className:`jsx-${x.__hash}`})}),(0,t.jsx)("azteco-dialog-toggle",{"data-controls":`${a}-dialog`,id:`${a}-toggle`,className:`jsx-${x.__hash}`,children:(0,t.jsx)("span",{slot:"dialogToggle",className:`jsx-${x.__hash}`,children:(0,t.jsx)("slot",{name:"Content_NoteTitle",className:`jsx-${x.__hash}`})})})]}),(0,t.jsxs)("div",{id:"original",className:`jsx-${x.__hash} container ${c?" active":" fadeIn"}${"right"===e?" alignRight":""}`,children:[c?(0,t.jsx)("form",{id:"form",className:`jsx-${x.__hash}`,children:(0,t.jsx)("textarea",{id:"input-wallet",name:"input-wallet",pattern:`${b}`,placeholder:`${v}`,className:`jsx-${x.__hash}`})}):(0,t.jsx)("p",{"aria-label":"Wallet address",className:`jsx-${x.__hash} walletReadonly`,children:u}),(0,t.jsxs)("span",{hidden:!c,className:`jsx-${x.__hash}`,children:[(0,t.jsx)("slot",{name:"Content_Description",className:`jsx-${x.__hash}`})," ",i&&j&&(s=(0,f.getLocale)(j),new Date(i).toLocaleDateString(s,{year:"numeric",month:"long",day:"numeric"}))]}),(0,t.jsx)("azteco-dialog-toggle",{"data-controls":`${a}-dialog`,id:`${a}-toggle`,hidden:!c,className:`jsx-${x.__hash}`,children:(0,t.jsx)("span",{slot:"dialogToggle",className:`jsx-${x.__hash}`,children:(0,t.jsx)("slot",{name:"Content_NoteTitle",className:`jsx-${x.__hash}`})})})]})]}),(0,t.jsx)(h.default,{id:x.__hash,children:x})]})};var j=e.i(35126),w=e.i(52626);e.i(29132);var _=e.i(25618),k=e.i(43794);let z=new String(`.jsx-1718a95b4c789dd0{-webkit-tap-highlight-color:transparent;color:var(--black);--text-color:#000;display:block}.wrapper.jsx-1718a95b4c789dd0{font-size:${m.AztecoYMUtils.rem(20)};background:var(--bg-color);color:var(--text-color);padding:${m.AztecoYMUtils.rem(4)};border-radius:${m.AztecoYMUtils.rem(19)};box-sizing:border-box;width:fit-content;max-width:calc(100% - ${m.AztecoYMUtils.rem(12)});-webkit-user-select:none;user-select:none;margin:0;line-height:1.2}.dropdown-label.jsx-1718a95b4c789dd0{font-style:italic;font-size:${m.AztecoYMUtils.rem(16)};opacity:.5;text-wrap:nowrap}div.alignRight.jsx-1718a95b4c789dd0{margin-left:auto}div.sunset.jsx-1718a95b4c789dd0{background:#ffcc16}div.mauve.jsx-1718a95b4c789dd0{background:#edb6ff}.dropdown-menu.jsx-1718a95b4c789dd0{border-radius:${m.AztecoYMUtils.rem(19)};row-gap:${m.AztecoYMUtils.rem(2)};opacity:0;pointer-events:none;background-color:#f2cbff;flex-direction:column;width:100%;max-height:0;padding:0;transition:opacity .3s,max-height .3s,padding .3s;display:flex;overflow:hidden}.dropdown-menu.open.jsx-1718a95b4c789dd0{opacity:1;max-height:1000px;padding:${m.AztecoYMUtils.rem(4)};pointer-events:auto}.dropdown-item.jsx-1718a95b4c789dd0{border-radius:${m.AztecoYMUtils.rem(19)};padding:${m.AztecoYMUtils.rem(10)} ${m.AztecoYMUtils.rem(16)};text-align:left;background-color:#f7deff}.dropdown-trigger.jsx-1718a95b4c789dd0{width:100%;padding:${m.AztecoYMUtils.rem(10)} ${m.AztecoYMUtils.rem(8)} ${m.AztecoYMUtils.rem(4)} ${m.AztecoYMUtils.rem(18)};justify-content:space-between;align-items:center;gap:${m.AztecoYMUtils.rem(6)};display:flex}.dropdown-selected.jsx-1718a95b4c789dd0{padding:${m.AztecoYMUtils.rem(8)} ${m.AztecoYMUtils.rem(4)}}.hidden.jsx-1718a95b4c789dd0{display:none}.icon.jsx-1718a95b4c789dd0{border-radius:${m.AztecoYMUtils.rem(90)};min-width:${m.AztecoYMUtils.rem(30)};min-height:${m.AztecoYMUtils.rem(30)};background-color:#d185ea;justify-content:center;align-items:center;transition:transform .3s;display:flex}.icon.rotated.jsx-1718a95b4c789dd0{transform:rotate(180deg)}@media (width>=1024px){.wrapper.jsx-1718a95b4c789dd0{font-size:${m.AztecoYMUtils.rem(24)};padding:${m.AztecoYMUtils.rem(8)} ${m.AztecoYMUtils.rem(20)};line-height:1.08}.dropdown-label.jsx-1718a95b4c789dd0{font-size:${m.AztecoYMUtils.rem(20)}}.dropdown-menu.open.jsx-1718a95b4c789dd0{padding:${m.AztecoYMUtils.rem(10)}}.dropdown-trigger.jsx-1718a95b4c789dd0{padding:${m.AztecoYMUtils.rem(10)} ${m.AztecoYMUtils.rem(4)} ${m.AztecoYMUtils.rem(8)} ${m.AztecoYMUtils.rem(4)}}}`);z.__hash="1718a95b4c789dd0";let A=({blockkey:e,options:a,selectOption:o,selectedOption:n,displayOption:i})=>{let s=(0,r.useRef)(null),[l,c]=(0,r.useState)(!1);return(0,_.useEventListener)("mousedown",e=>{s.current&&!s.current.contains(e.target)&&c(!1)}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{"data-blockkey":e,className:`jsx-${z.__hash} `+((0,k.default)("wrapper","mauve","alignRight",{hidden:!1})||""),children:[(0,t.jsx)("span",{className:`jsx-${z.__hash} `+((0,k.default)("dropdown-selected",!n&&"hidden")||""),children:i?.(n)||n}),(0,t.jsxs)("div",{ref:s,className:`jsx-${z.__hash} `+((0,k.default)("dropdown",n&&"hidden")||""),children:[(0,t.jsxs)("button",{type:"button",onClick:()=>c(e=>!e),className:`jsx-${z.__hash} dropdown-trigger`,children:[(0,t.jsx)("slot",{name:"Content_Label",className:`jsx-${z.__hash} dropdown-label`}),(0,t.jsx)("span",{className:`jsx-${z.__hash} `+((0,k.default)("icon",l&&"rotated")||""),children:(0,t.jsx)("svg",{width:m.AztecoYMUtils.rem(24),height:m.AztecoYMUtils.rem(24),viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:`jsx-${z.__hash}`,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.29289 8.29289C4.68342 7.90237 5.31658 7.90237 5.70711 8.29289L12 14.5858L18.2929 8.29289C18.6834 7.90237 19.3166 7.90237 19.7071 8.29289C20.0976 8.68342 20.0976 9.31658 19.7071 9.70711L12.7071 16.7071C12.3166 17.0976 11.6834 17.0976 11.2929 16.7071L4.29289 9.70711C3.90237 9.31658 3.90237 8.68342 4.29289 8.29289Z",fill:"#000000",className:`jsx-${z.__hash}`})})})]}),(0,t.jsx)("div",{className:`jsx-${z.__hash} `+((0,k.default)("dropdown-menu",l&&"open")||""),children:a.map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>{o(e),c(!1)},className:`jsx-${z.__hash} dropdown-item`,children:i?.(e)||e},e))})]})]}),(0,t.jsx)(h.default,{id:z.__hash,children:z})]})};e.s(["default",0,({initialCode:e,csrfToken:h,isRewardsProgramEnabled:m})=>{let g,{code:b,codeCheckError:y,voucherData:x,isLoading:_,isError:k,isSuccessLightning:z,isSuccessOnchain:S,isSuccessPartner:E,qrCodeData:$,expandableData:O,amountReceivedData:T,email:R,redeemPartners:F,selectedRedeemPartner:M,setSelectedRedeemPartner:Y}=(0,a.useStage1)({initialCode:e,csrfToken:h}),{dispatchVoucher:C,dispatchPartnerVoucher:U,successCard:N,dispatchPartnerVoucherError:P}=(0,o.useStage2)({voucherData:x,redeemPartner:M&&w.RedeemPartnerEnum[M],isSuccessOnchain:S,email:R,csrfToken:h}),I=(g=(0,p.usePathname)(),(0,f.getLocaleOpt)(g)),L=(0,r.useRef)(null),[D,G]=(0,r.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s.AztecoFlowContainer,{ref:L,reveal:D,children:[(0,t.jsx)(j.AztecoFlowHeading,{blockkey:"redeem-heading"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"text-1"}),(0,t.jsx)(u.AztecoFlowCode,{alignment:"right",blockkey:"redeem-code",hasdialog:!0,eventname:"aztecoCodeEvent1",active:!b,code:b,prefilledCode:e}),(0,t.jsx)(d.AztecoStage,{id:"azteco-stage1-loading",reveal:_,children:(0,t.jsx)("azteco-flow-loading-indicator",{"data-blockkey":"redeem-voucher-loading"})}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-stage1-error",reveal:"NETWORK"!==y&&"TIMEOUT"!==y&&"LIGHTNING_REF"!==y&&"HIGH_FEES"!==y&&k,children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!1,alignment:"right",blockkey:"redeem-code-validity"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-voucher-already-redeemed",hidden:"ALREADY_REDEEMED"!==y}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-voucher-expired",hidden:"EXPIRED"!==y}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-try-new-voucher-text"}),(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-enter-voucher-again-action"})]}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-stage1-high-fees-error",reveal:"HIGH_FEES"===y,children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!0,alignment:"right",blockkey:"redeem-code-validity"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-high-fees-error-text"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-try-new-voucher-text"}),(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-enter-voucher-again-action"})]}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-stage1-lightning-ref-error",reveal:"LIGHTNING_REF"===y,children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!1,alignment:"right",blockkey:"redeem-code-validity"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-lightning-ref-error"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-lightning-ref-error-scan"}),(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-lightning-ref-error-action"})]}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-stage1-onchain-success",reveal:S,children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!0,alignment:"right",blockkey:"redeem-code-validity"}),(0,t.jsx)("azteco-flow-spacer",{}),(0,t.jsx)("azteco-flow-amount-received",{"data-blockkey":"redeem-amount-received","data-content":T}),(0,t.jsx)("azteco-flow-expandable",{"data-blockkey":"redeem-expandable","data-content":O}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"text-2"}),(0,t.jsx)(v,{alignment:"right",blockkey:"redeem-on-chain-wallet",hasdialog:!0,eventName:"aztecoCodeEvent2",expirationDate:x.data?.detail.expiration_date})]}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-stage1-lightning-success",reveal:z,scrollTo:"all",children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!0,alignment:"right",blockkey:"redeem-code-validity"}),(0,t.jsx)("azteco-flow-spacer",{}),(0,t.jsx)("azteco-flow-amount-received",{"data-blockkey":"redeem-amount-received","data-content":T}),(0,t.jsx)("azteco-flow-expandable",{"data-blockkey":"redeem-expandable","data-content":O}),(0,t.jsx)("azteco-flow-spacer",{}),(0,t.jsx)("azteco-flow-qr",{"data-alignment":"right","data-blockkey":"redeem-qr","data-hasdialog":"true",...$}),!m&&(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-feedback-action"}),m&&(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-rewards-action","data-actionlink":`/${I}/rewards?voucher_code=${b}`})]}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-stage1-partner-success-selection",reveal:F.length>1,scrollTo:"all",children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!0,alignment:"right",blockkey:"redeem-code-validity"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-select-text"}),(0,t.jsx)(A,{blockkey:"redeem-partner-select",options:F,selectOption:Y,selectedOption:M,displayOption:w.displayRedeemPartner})]}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-stage1-partner-success",reveal:!!M,scrollTo:"all",children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!0,alignment:"right",blockkey:"redeem-code-validity",hidden:F.length>1}),(0,t.jsx)("azteco-flow-spacer",{}),(0,t.jsx)("azteco-flow-amount-received",{"data-blockkey":"redeem-amount-received","data-content":T}),(0,t.jsx)("azteco-flow-expandable",{"data-blockkey":"redeem-expandable","data-content":O}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-info-text",variables:{partner:M&&w.RedeemPartnerEnum[M]}}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-first-redemption-text"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-email-text"}),(0,t.jsx)("azteco-flow-spacer",{}),(0,t.jsx)("azteco-flow-email",{"data-alignment":"right","data-blockkey":"redeem-email",eventname:"aztecoEmailEvent1",active:"true"})]}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-stage2-partner-success",reveal:E&&!!R,scrollTo:"all",children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!0,alignment:"right",blockkey:"redeem-email-validity"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-tax-id-text"}),(0,t.jsx)("azteco-flow-spacer",{}),(0,t.jsx)("azteco-flow-single-text-input",{"data-alignment":"right","data-blockkey":"redeem-partner-tax-id-input",eventname:"aztecoPartnerIdEvent1",active:"true"})]}),(0,t.jsx)(d.AztecoStage,{id:"azteco-stage2-partner-loading",reveal:U.isPending,children:(0,t.jsx)("azteco-flow-loading-indicator",{"data-blockkey":"redeem-voucher-dispat
1ch-pending"})}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-stage2-partner-success",reveal:U.isSuccess&&"success"===U.data.status,scrollTo:"2",children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!0,alignment:"right",blockkey:"redeem-partner-validity"}),(0,t.jsx)("azteco-flow-spacer",{"data-size":"58","data-desktop-size":"105"}),(0,t.jsx)(n.AztecoFlowSuccessCard,{blockkey:"redeem-on-chain-success-card",...N,code:void 0}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-account",variables:{partner:M&&w.RedeemPartnerEnum[M]}}),!m&&(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-feedback-action"}),m&&(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-rewards-action","data-actionlink":`/${I}/rewards?voucher_code=${b}`})]}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-stage2-partner-success",reveal:U.isSuccess&&"pending"===U.data.status,scrollTo:"2",children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!0,alignment:"right",blockkey:"redeem-partner-validity"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-redemption-already-pending-text"}),!m&&(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-feedback-action"}),m&&(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-rewards-action","data-actionlink":`/${I}/rewards?voucher_code=${b}`})]}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-stage2-partner-error",reveal:U.isError,scrollTo:"3",children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!1,alignment:"right",blockkey:"redeem-partner-validity"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-text"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-key-invalid-text",hidden:"KEY_INVALID"!==P}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-redemption-already-pending-text",hidden:"REDEMPTION_ALREADY_PENDING"!==P}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-already-redeemed-text",hidden:"ALREADY_REDEEMED"!==P}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-transaction-not-found-text",hidden:"TRANSACTION_NOT_FOUND"!==P}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-invalid-email-text",hidden:"INVALID_EMAIL"!==P}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-invalid-cpf-text",hidden:"INVALID_CPF"!==P}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-registration-data-text",hidden:"REGISTRATION_DATA_ERROR"!==P}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-another-taxid-same-email-text",hidden:"ANOTHER_TAXID_SAME_EMAIL"!==P}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-another-email-same-taxid-text",hidden:"ANOTHER_EMAIL_SAME_TAXID"!==P}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-internal-text",hidden:"INTERNAL_ERROR"!==P}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-account-blocked",hidden:"ACCOUNT_BLOCKED"!==P,variables:{partner:M&&w.RedeemPartnerEnum[M]}}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-error-user-not-found",hidden:"USER_NOT_FOUND"!==P,variables:{partner:M&&w.RedeemPartnerEnum[M]}}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-partner-try-again-text",hidden:!!P,variables:{partner:M&&w.RedeemPartnerEnum[M]}}),(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-enter-voucher-again-action","data-actionlink":`/${I}/redeem?code=${b}`})]}),(0,t.jsx)(d.AztecoStage,{id:"azteco-stage2-loading",reveal:C.isPending,children:(0,t.jsx)("azteco-flow-loading-indicator",{"data-blockkey":"redeem-voucher-dispatch-pending"})}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-stage2-success",reveal:C.isSuccess,scrollTo:"2",children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!0,alignment:"right",blockkey:"redeem-address-validity"}),(0,t.jsx)("azteco-flow-spacer",{"data-size":"58","data-desktop-size":"105"}),(0,t.jsx)(n.AztecoFlowSuccessCard,{blockkey:"redeem-on-chain-success-card",...N,code:void 0}),!m&&(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-feedback-action"}),m&&(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-rewards-action","data-actionlink":`/${I}/rewards?voucher_code=${b}`})]}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-stage2-error",reveal:C.isError,children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!1,alignment:"right",blockkey:"redeem-address-validity"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-try-new-address-text"}),(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-enter-address-again-action","data-actionlink":`/${I}/redeem?code=${b}`})]}),(0,t.jsxs)(d.AztecoStage,{id:"azteco-network-error",reveal:"NETWORK"===y||"TIMEOUT"===y,children:[(0,t.jsx)(c.AztecoFlowValidity,{success:!1,alignment:"right",blockkey:"redeem-network-error"}),(0,t.jsx)(l.AztecoFlowText,{blockkey:"redeem-try-again-text"}),(0,t.jsx)("azteco-flow-action",{"data-alignment":"right","data-blockkey":"redeem-enter-voucher-again-action"})]}),(0,t.jsx)("azteco-dialog",{"data-blockkey":"redeem-code-dialog","data-toggleid":"redeem-code-toggle"}),(0,t.jsx)("azteco-dialog",{"data-blockkey":"redeem-on-chain-wallet-dialog","data-toggleid":"redeem-on-chain-wallet-toggle"}),(0,t.jsx)("azteco-dialog",{"data-blockkey":"redeem-qr-dialog","data-toggleid":"redeem-qr-toggle"}),(0,t.jsx)("azteco-dialog",{"data-blockkey":"redeem-email-dialog","data-toggleid":"redeem-email-toggle"})]}),(0,t.jsx)(i.AztecoFlow,{containerRef:L,containerReveal:D,setContainerReveal:G}),(0,t.jsx)("azteco-navigation",{pathname:"/redeem"})]})}],47780)},42057,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(71948),o=e.i(38155),n=e.i(94819),i=e.i(35126);e.s(["default",0,()=>{let e=(0,r.useRef)(null),[s,l]=(0,r.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o.AztecoFlowContainer,{ref:e,reveal:s,children:[(0,t.jsx)(i.AztecoFlowHeading,{blockkey:"redeem-heading"}),(0,t.jsx)(n.AztecoFlowText,{blockkey:"redeem-unavailable"})]}),(0,t.jsx)(a.AztecoFlow,{containerRef:e,containerReveal:s,setContainerReveal:l}),(0,t.jsx)("azteco-navigation",{pathname:"/redeem"})]})}])}]);
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.