1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="e91da34e-e978-b9c2-8640-b3ed63926d41")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,296847,t=>{"use strict";var e=t.i(191788);let a=e.forwardRef(function({title:t,titleId:a,...o},r){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},o),t?e.createElement("title",{id:a},t):null,e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9"}))});t.s(["ArrowRightStartOnRectangleIcon",0,a],296847)},358987,t=>{"use strict";var e=t.i(191788);let a=e.forwardRef(function({title:t,titleId:a,...o},r){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},o),t?e.createElement("title",{id:a},t):null,e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 12a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm0 0c0 1.657 1.007 3 2.25 3S21 13.657 21 12a9 9 0 1 0-2.636 6.364M16.5 12V8.25"}))});t.s(["AtSymbolIcon",0,a],358987)},455357,t=>{"use strict";var e=t.i(191788);let a=e.forwardRef(function({title:t,titleId:a,...o},r){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},o),t?e.createElement("title",{id:a},t):null,e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 14.15v4.25c0 1.094-.787 2.036-1.872 2.18-2.087.277-4.216.42-6.378.42s-4.291-.143-6.378-.42c-1.085-.144-1.872-1.086-1.872-2.18v-4.25m16.5 0a2.18 2.18 0 0 0 .75-1.661V8.706c0-1.081-.768-2.015-1.837-2.175a48.114 48.114 0 0 0-3.413-.387m4.5 8.006c-.194.165-.42.295-.673.38A23.978 23.978 0 0 1 12 15.75c-2.648 0-5.195-.429-7.577-1.22a2.016 2.016 0 0 1-.673-.38m0 0A2.18 2.18 0 0 1 3 12.489V8.706c0-1.081.768-2.015 1.837-2.175a48.111 48.111 0 0 1 3.413-.387m7.5 0V5.25A2.25 2.25 0 0 0 13.5 3h-3a2.25 2.25 0 0 0-2.25 2.25v.894m7.5 0a48.667 48.667 0 0 0-7.5 0M12 12.75h.008v.008H12v-.008Z"}))});t.s(["BriefcaseIcon",0,a],455357)},942248,t=>{"use strict";var e=t.i(191788);let a=e.forwardRef(function({title:t,titleId:a,...o},r){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},o),t?e.createElement("title",{id:a},t):null,e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))});t.s(["MagnifyingGlassIcon",0,a],942248)},557748,t=>{"use strict";var e=t.i(191788);let a=e.forwardRef(function({title:t,titleId:a,...o},r){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},o),t?e.createElement("title",{id:a},t):null,e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"}))});t.s(["SparklesIcon",0,a],557748)},165998,t=>{"use strict";var e=t.i(191788);let a=e.forwardRef(function({title:t,titleId:a,...o},r){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},o),t?e.createElement("title",{id:a},t):null,e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 6v.75m0 3v.75m0 3v.75m0 3V18m-9-5.25h5.25M7.5 15h3M3.375 5.25c-.621 0-1.125.504-1.125 1.125v3.026a2.999 2.999 0 0 1 0 5.198v3.026c0 .621.504 1.125 1.125 1.125h17.25c.621 0 1.125-.504 1.125-1.125v-3.026a2.999 2.999 0 0 1 0-5.198V6.375c0-.621-.504-1.125-1.125-1.125H3.375Z"}))});t.s(["TicketIcon",0,a],165998)},477473,t=>{"use strict";var e=t.i(191788);let a=e.forwardRef(function({title:t,titleId:a,...o},r){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},o),t?e.createElement("title",{id:a},t):null,e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 18.72a9.094 9.094 0 0 0 3.741-.479 3 3 0 0 0-4.682-2.72m.94 3.198.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0 1 12 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 0 1 6 18.719m12 0a5.971 5.971 0 0 0-.941-3.197m0 0A5.995 5.995 0 0 0 12 12.75a5.995 5.995 0 0 0-5.058 2.772m0 0a3 3 0 0 0-4.681 2.72 8.986 8.986 0 0 0 3.74.477m.94-3.197a5.971 5.971 0 0 0-.94 3.197M15 6.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm6 3a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Zm-13.5 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Z"}))});t.s(["UserGroupIcon",0,a],477473)},589504,t=>{"use strict";var e=t.i(191788);let a=e.forwardRef(function({title:t,titleId:a,...o},r){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},o),t?e.createElement("title",{id:a},t):null,e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a2.25 2.25 0 0 0-2.25-2.25H15a3 3 0 1 1-6 0H5.25A2.25 2.25 0 0 0 3 12m18 0v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6m18 0V9M3 12V9m18 0a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 9m18 0V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v3"}))});t.s(["WalletIcon",0,a],589504)},384893,t=>{"use strict";var e=t.i(191788);let a=e.forwardRef(function({title:t,titleId:a,...o},r){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
2currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},o),t?e.createElement("title",{id:a},t):null,e.createElement("path",{fillRule:"evenodd",d:"M1.5 6.375c0-1.036.84-1.875 1.875-1.875h17.25c1.035 0 1.875.84 1.875 1.875v3.026a.75.75 0 0 1-.375.65 2.249 2.249 0 0 0 0 3.898.75.75 0 0 1 .375.65v3.026c0 1.035-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 0 1 1.5 17.625v-3.026a.75.75 0 0 1 .374-.65 2.249 2.249 0 0 0 0-3.898.75.75 0 0 1-.374-.65V6.375Zm15-1.125a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-1.5 0V6a.75.75 0 0 1 .75-.75Zm.75 4.5a.75.75 0 0 0-1.5 0v.75a.75.75 0 0 0 1.5 0v-.75Zm-.75 3a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-1.5 0v-.75a.75.75 0 0 1 .75-.75Zm.75 4.5a.75.75 0 0 0-1.5 0V18a.75.75 0 0 0 1.5 0v-.75ZM6 12a.75.75 0 0 1 .75-.75H12a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 12Zm.75 2.25a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z",clipRule:"evenodd"}))});t.s(["TicketIcon",0,a],384893)},133222,t=>{"use strict";var e=t.i(391398),a=t.i(102797),o=t.i(97011);t.s(["Dropdown",0,{Root:t=>(0,e.jsx)(a.Root,{...t}),Trigger:({children:t,className:o})=>(0,e.jsx)(a.Trigger,{className:o,children:t}),Content:({children:t,className:r})=>(0,e.jsx)(a.Portal,{children:(0,e.jsxs)(a.Content,{className:(0,o.twMerge)("min-w-40 rounded-md bg-white",r),children:[t,(0,e.jsx)(a.Arrow,{className:"fill-white"})]})}),Item:({children:t,className:r,...s})=>(0,e.jsx)(a.Item,{className:(0,o.twMerge)(`text-text-600 data-highlighted:bg-primary/20 flex cursor-pointer items-center gap-1 3 border-t border-gray-200 px-4 py-[0.60rem] first:border-t-0`,r),...s,children:t}),Separator:()=>(0,e.jsx)(a.Separator,{className:"h-px w-full bg-gray-200"})}])},429939,381056,t=>{"use strict";var e=t.i(391398),a=t.i(191788),o=t.i(97011);let r=a.forwardRef(function({title:t,titleId:e,...o},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":e},o),t?a.createElement("title",{id:e},t):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"}))});t.s(["ExclamationCircleIcon",0,r],381056);var s=t.i(877072);let i=({error:t,errorTestId:a,label:s,help:i,leftContent:n,rightContent:l,disabled:c,showRequired:d,containerClassName:f,className:m,children:u})=>(0,e.jsxs)("div",{className:(0,o.twMerge)("flex flex-col",t?"text-red-400":"text-text-0 light:text-text-900",c?"cursor-not-allowed":"",m),children:[(0,e.jsxs)("span",{className:"mb-1 flex gap-1",children:[s," ",d&&(0,e.jsx)("span",{className:"text-red-400",children:"*"})]}),(0,e.jsxs)("div",{className:(0,o.twMerge)(`bg-custom-600/50 light:bg-custom-0 flex w-full items-center gap-1 rounded-md border 4 transition duration-200 focus-within:border-white/60`,t?"border-red-400":"border-custom-400 light:border-custom-200",c?"bg-custom-700 light:bg-custom-300/50":"",f),children:[n&&n(),u,l&&l()]}),t&&(0,e.jsxs)("div",{className:"flex items-center gap-1","data-testid":a,children:[(0,e.jsx)(r,{className:"h-4 w-4 text-red-400"}),(0,e.jsx)("span",{className:"font-medium text-red-400",children:t})]}),i&&(0,e.jsx)("div",{className:"text-text-0 light:text-text-900 font-normal",children:i()})]}),n=(0,a.forwardRef)(({mask:t,inputClassName:r,containerClassName:n,error:l,errorTestId:c,label:d,help:f,leftContent:m,rightContent:u,disabled:p,showRequired:h,className:y,...g},x)=>{let v=(0,a.useCallback)(e=>{switch(t){case"currency":let a,o;o=Number((a=e.currentTarget.value).replace(/[^0-9-]+/g,""))/100,a=(0,s.formatPrice)(o),e.currentTarget.value=a;break;case"cpf":let r;r=(r=e.currentTarget.value).replace(/\D/g,"").replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4"),e.currentTarget.value=r}},[t]);return(0,e.jsx)(i,{error:l,errorTestId:c,label:d,help:f,leftContent:m,rightContent:u,disabled:p,showRequired:h,className:y,containerClassName:(0,o.twMerge)("max-h-10",n),children:(0,e.jsx)("input",{...g,ref:x,onKeyUp:v,disabled:p,className:(0,o.twMerge)(`text-text-200 placeholder-text-500 light:text-text-800 light:placeholder-text-600 light:scheme-light flex 5 flex-1 bg-transparent p-2 font-normal scheme-dark placeholder:italic focus:outline-hidden`,r)})})});n.displayName="Input",t.s(["Input",0,n,"InputWrapper",0,i],429939)},759653,56206,t=>{"use strict";var e=t.i(391398),a=t.i(191788);let o=function(){for(var t,e,a=0,o="",r=arguments.length;a<r;a++)(t=arguments[a])&&(e=function t(e){var a,o,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(a=0;a<s;
5a++)e[a]&&(o=t(e[a]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}(t))&&(o&&(o+=" "),o+=e);return o};t.s(["default",0,o],56206);var r=t=>"number"==typeof t&&!isNaN(t),s=t=>"string"==typeof t||"function"==typeof t?t:null,i=t=>(0,a.isValidElement)(t)||"string"==typeof t||"function"==typeof t||r(t);function n({enter:t,exit:e,appendPosition:o=!1,collapse:r=!0,collapseDuration:s=300}){return function({children:i,position:n,preventExitTransition:l,done:c,nodeRef:d,isIn:f,playToast:m}){let u=o?`${t}--${n}`:t,p=o?`${e}--${n}`:e,h=(0,a.useRef)(0);return(0,a.useLayoutEffect)(()=>{let t=d.current,e=u.split(" "),a=o=>{o.target===d.current&&(m(),t.removeEventListener("animationend",a),t.removeEventListener("animationcancel",a),0===h.current&&"animationcancel"!==o.type&&t.classList.remove(...e))};t.classList.add(...e),t.addEventListener("animationend",a),t.addEventListener("animationcancel",a)},[]),(0,a.useEffect)(()=>{let t=d.current,e=()=>{t.removeEventListener("animationend",e),r?function(t,e,a=300){let{scrollHeight:o,style:r}=t;requestAnimationFrame(()=>{r.minHeight="initial",r.height=o+"px",r.transition=`all ${a}ms`,requestAnimationFrame(()=>{r.height="0",r.padding="0",r.margin="0",setTimeout(e,a)})})}(t,c,s):c()};f||(l?e():(h.current=1,t.className+=` ${p}`,t.addEventListener("animationend",e)))},[f]),a.default.createElement(a.default.Fragment,null,i)}}function l(t,e){return{content:c(t.content,t.props),containerId:t.props.containerId,id:t.props.toastId,theme:t.props.theme,type:t.props.type,data:t.props.data||{},isLoading:t.props.isLoading,icon:t.props.icon,reason:t.removalReason,status:e}}function c(t,e,o=!1){return(0,a.isValidElement)(t)&&"string"!=typeof t.type?(0,a.cloneElement)(t,{closeToast:e.closeToast,toastProps:e,data:e.data,isPaused:o}):"function"==typeof t?t({closeToast:e.closeToast,toastProps:e,data:e.data,isPaused:o}):t}function d({delay:t,isRunning:e,closeToast:r,type:s="default",hide:i,className:n,controlledProgress:l,progress:c,rtl:f,isIn:m,theme:u}){let p=i||l&&0===c,h={animationDuration:`${t}ms`,animationPlayState:e?"running":"paused"};l&&(h.transform=`scaleX(${c})`);let y=o("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${u}`,`Toastify__progress-bar--${s}`,{"Toastify__progress-bar--rtl":f}),g="function"==typeof n?n({rtl:f,type:s,defaultClassName:y}):o(y,n);return a.default.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":p},a.default.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${u} Toastify__progress-bar--${s}`}),a.default.createElement("div",{role:"progressbar","aria-hidden":p?"true":"false","aria-label":"notification timer","aria-valuenow":l?Math.round(100*c):void 0,"aria-valuemin":0,"aria-valuemax":100,className:g,style:h,...{[l&&c>=1?"onTransitionEnd":"onAnimationEnd"]:l&&c<1?null:()=>{m&&r()}}}))}var f=1,m=()=>`${f++}`,u=new Map,p=[],h=new Set,y=t=>h.forEach(e=>e(t));function g(t,e){var a;if(e)return!!(null!=(a=u.get(e))&&a.isToastActive(t));let o=!1;return u.forEach(e=>{e.isToastActive(t)&&(o=!0)}),o}function x(t,e){i(t)&&(u.size>0||p.push({content:t,options:e}),u.forEach(a=>{a.buildToast(t,e)}))}function v(t,e){u.forEach(a=>{null!=e&&null!=e&&e.containerId&&(null==e?void 0:e.containerId)!==a.id||a.toggle(t,null==e?void 0:e.id)})}function b(t,e){return x(t,e),e.toastId}function _(t,e){var a;return{...e,type:e&&e.type||t,toastId:(a=e)&&("string"==typeof a.toastId||r(a.toastId))?a.toastId:m()}}function T(t){return(e,a)=>b(e,_(t,a))}function w(t,e){return b(t,_("default",e))}w.loading=(t,e)=>b(t,_("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...e})),w.promise=function(t,{pending:e,error:a,success:o},r){let s;e&&(s="string"==typeof e?w.loading(e,r):w.loading(e.render,{...r,...e}));let i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},n=(t,e,a)=>{if(null==e)return void w.dismiss(s);let o={type:t,...i,...r,data:a},n="string"==typeof e?{render:e}:e;return s?w.update(s,{...o,...n}):w(n.render,{...o,...n}),a},l="function"==typeof t?t():t;return l.then(t=>n("success",o,t)).catch(t=>n("error",a,t)),l},w.success=T("success"),w.info=T("info"),w.error=T("error"),w.warning=T("warning"),w.warn=w.warning,w.dark=(t,e)=>
5b(t,_("default",{theme:"dark",...e})),w.dismiss=function(t){!function(t){let e;if(!(u.size>0)){p=p.filter(e=>null!=t&&e.options.toastId!==t);return}if(null==t||"string"==typeof(e=t)||r(e))u.forEach(e=>{e.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){let e=u.get(t.containerId);e?e.removeToast(t.id):u.forEach(e=>{e.removeToast(t.id)})}}(t)},w.clearWaitingQueue=(t={})=>{u.forEach(e=>{e.props.limit&&(!t.containerId||e.id===t.containerId)&&e.clearQueue()})},w.isActive=g,w.update=(t,e={})=>{let a=((t,{containerId:e})=>{var a;return null==(a=u.get(e||1))?void 0:a.toasts.get(t)})(t,e);if(a){let{props:o,content:r}=a,s={delay:100,...o,...e,toastId:e.toastId||t,updateId:m()};s.toastId!==t&&(s.staleId=t);let i=s.render||r;delete s.render,b(i,s)}},w.done=t=>{w.update(t,{progress:1})},w.onChange=function(t){return h.add(t),()=>{h.delete(t)}},w.play=t=>v(!0,t),w.pause=t=>v(!1,t);var j="u">typeof window?a.useLayoutEffect:a.useEffect,k=({theme:t,type:e,isLoading:o,...r})=>a.default.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${e})`,...r}),N={info:function(t){return a.default.createElement(k,{...t},a.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return a.default.createElement(k,{...t},a.default.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return a.default.createElement(k,{...t},a.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return a.default.createElement(k,{...t},a.default.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return a.default.createElement("div",{className:"Toastify__spinner"})}},E=t=>{let{isRunning:e,preventExitTransition:r,toastRef:s,eventHandlers:i,playToast:n}=function(t){var e,o;let[r,s]=(0,a.useState)(!1),[i,n]=(0,a.useState)(!1),l=(0,a.useRef)(null),c=(0,a.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:d,pauseOnHover:f,closeToast:m,onClick:p,closeOnClick:h}=t;function y(){s(!0)}function g(){s(!1)}function x(e){let a=l.current;if(c.canDrag&&a){c.didMove=!0,r&&g(),"x"===t.draggableDirection?c.delta=e.clientX-c.start:c.delta=e.clientY-c.start,c.start!==e.clientX&&(c.canCloseOnClick=!1);let o="x"===t.draggableDirection?`${c.delta}px, var(--y)`:`0, calc(${c.delta}px + var(--y))`;a.style.transform=`translate3d(${o},0)`,a.style.opacity=`${1-Math.abs(c.delta/c.removalDistance)}`}}function v(){document.removeEventListener("pointermove",x),document.removeEventListener("pointerup",v);let e=l.current;if(c.canDrag&&c.didMove&&e){if(c.canDrag=!1,Math.abs(c.delta)>c.removalDistance){n(!0),t.closeToast(!0),t.collapseAll();return}e.style.transition="transform 0.2s, opacity 0.2s",e.style.removeProperty("transform"),e.style.removeProperty("opacity")}}e={id:t.toastId,containerId:t.containerId,fn:s},null==(o=u.get(e.containerId||1))||o.setToggle(e.id,e.fn),(0,a.useEffect)(()=>
5{if(t.pauseOnFocusLoss)return document.hasFocus()||g(),window.addEventListener("focus",y),window.addEventListener("blur",g),()=>{window.removeEventListener("focus",y),window.removeEventListener("blur",g)}},[t.pauseOnFocusLoss]);let b={onPointerDown:function(e){if(!0===t.draggable||t.draggable===e.pointerType){c.didMove=!1,document.addEventListener("pointermove",x),document.addEventListener("pointerup",v);let a=l.current;c.canCloseOnClick=!0,c.canDrag=!0,a.style.transition="none","x"===t.draggableDirection?(c.start=e.clientX,c.removalDistance=a.offsetWidth*(t.draggablePercent/100)):(c.start=e.clientY,c.removalDistance=a.offsetHeight*(80===t.draggablePercent?1.5*t.draggablePercent:t.draggablePercent)/100)}},onPointerUp:function(e){let{top:a,bottom:o,left:r,right:s}=l.current.getBoundingClientRect();"mouse"===e.pointerType&&t.pauseOnHover&&e.clientX>=r&&e.clientX<=s&&e.clientY>=a&&e.clientY<=o?g():y()}};return d&&f&&(b.onMouseEnter=g,t.stacked||(b.onMouseLeave=y)),h&&(b.onClick=t=>{p&&p(t),c.canCloseOnClick&&m(!0)}),{playToast:y,pauseToast:g,isRunning:r,preventExitTransition:i,toastRef:l,eventHandlers:b}}(t),{closeButton:l,children:f,autoClose:m,onClick:p,type:h,hideProgressBar:y,closeToast:g,transition:x,position:v,className:b,style:_,progressClassName:T,updateId:w,role:j,progress:k,rtl:E,toastId:I,deleteToast:C,isIn:M,isLoading:L,closeOnClick:A,theme:R,ariaLabel:O}=t,P=o("Toastify__toast",`Toastify__toast-theme--${R}`,`Toastify__toast--${h}`,{"Toastify__toast--rtl":E},{"Toastify__toast--close-on-click":A}),B="function"==typeof b?b({rtl:E,position:v,type:h,defaultClassName:P}):o(P,b),D=function({theme:t,type:e,isLoading:o,icon:r}){let s=null,i={theme:t,type:e};return!1===r||("function"==typeof r?s=r({...i,isLoading:o}):(0,a.isValidElement)(r)?s=(0,a.cloneElement)(r,i):o?s=N.spinner():e in N&&(s=N[e](i))),s}(t),z=!!k||!m,$={closeToast:g,type:h,theme:R},S=null;return!1===l||(S="function"==typeof l?l($):(0,a.isValidElement)(l)?(0,a.cloneElement)(l,$):function({closeToast:t,theme:e,ariaLabel:o="close"}){return a.default.createElement("button",{className:`Toastify__close-button Toastify__close-button--${e}`,type:"button",onClick:e=>{e.stopPropagation(),t(!0)},"aria-label":o},a.default.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},a.default.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}($)),a.default.createElement(x,{isIn:M,done:C,position:v,preventExitTransition:r,nodeRef:s,playToast:n},a.default.createElement("div",{id:I,tabIndex:0,onClick:p,"data-in":M,className:B,...i,style:_,ref:s,...M&&{role:j,"aria-label":O}},null!=D&&a.default.createElement("div",{className:o("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!L})},D),c(f,t,!e),S,!t.customProgressBar&&a.default.createElement(d,{...w&&!z?{key:`p-${w}`}:{},rtl:E,theme:R,delay:m,isRunning:e,isIn:M,closeToast:g,hide:y,type:h,className:T,controlledProgress:z,progress:k||0})))},I=(t,e=!1)=>({enter:`Toastify--animate Toastify__${t}-enter`,exit:`Toastify--animate Toastify__${t}-exit`,appendPosition:e}),C=n(I("bounce",!0));n(I("slide",!0)),n(I("zoom")),n(I("flip"));var M={position:"top-right",transition:C,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:t=>t.altKey&&"KeyT"===t.code};function L(t){let e={...M,...t},n=t.stacked,[c,d]=(0,a.useState)(!0),f=(0,a.useRef)(null),{getToastToRender:m,isToastActive:h,count:v}=function(t){var e;let o,{subscribe:n,getSnapshot:c,setProps:d}=(0,a.useRef)((o=t.containerId||1,{subscribe(e){let a,n,c,d,f,m,h,g,v,b,_,T=(a=1,n=0,c=[],d=[],f=t,m=new Map,h=new Set,g=()=>{d=Array.from(m.values()),h.forEach(t=>t())},v=t=>{var e,a;t.isActive&&(null==(a=null==(e=t.props)?void 0:e.onClose)||a.call(e,t.removalReason),t.isActive=!1,y(l(t,"removed")))},b=t=>{if(null==t)m.forEach(v);else{let e=m.get(t);e&&v(e)}g()},_=t=>{var e,a;let{toastId:o,updateId:r}=t.props,s=null==r;t.staleId&&m.delete(t.staleId),t.isActive=!0,m.set(o,t),g(),y(l(t,s?"added":"updated")),s&&(null==(a=(e=t.props).onOpen)||a.call(e))},{id:o,props:f,observe:t=>(h.add(t),()=>h.delete(t)),toggle:(t,e)=>{m.forEach(a=>{var o;(null==e||e===a.props.toastId)&&(null==(o=a.toggle)||o.call(a,t))})},removeToast:b,toasts:m,clearQueue:()=>{n-=c.length,c=[]},buildToast:(t,e)=>{let l,d;if((({containerId:t,toastId:e,updateId:a})=>{let r=m.has(e)&&null==a;return(t?t!==o:1!==o)||r})(e))return;let{toastId:u,updateId:p,data:h,staleId:y,delay:x}=e,v=null==p;v&&n++;let T={...f,style:f.toastStyle,key:a++,...Object.fromEntries(Object.entries(e).filter(([t,e])=>null!=e)),toastId:u,updateId:p,data:h,isIn:!1,className:s(e.className||f.toastClassName),progressClassName:s(e.progressClassName||f.progressClassName),autoClose:!e.isLoading&&(l=e.autoClose,d=f.autoClose,!1===l||r(l)&&l>0?l:d),closeToast(t){let e=m.get(u);e&&(e.removalReason=t,b(u))},deleteToast(){if(null!=m.get(u)){if(m.delete(u),--n<0&&(n=0),c.length>0)return void _(c.shift());g()}}};T.closeButton=f.closeButton,!1===e.closeButton||i(e.closeButton)?T.closeButton=e.closeButton:!0===e.closeButton&&(T.closeButton=!i(f.closeButton)||f.closeButton);let w={content:t,props:T,staleId:y};f.limit&&f.limit>0&&n>f.limit&&v?c.push(w):r(x)?setTimeout(()=>{_(w)},x):_(w)},setProps(t){f=t},setToggle:(t,e)=>{let a=m.get(t);a&&(a.toggle=e)},isToastActive:t=>{var e;return null==(e=m.get(t))?void 0:e.isActive},getSnapshot:()=>d});u.set(o,T);let w=T.observe(e);return p.forEach(t=>x(t.content,t.options)),p=[],()=>{w(),u.delete(o)}},setProps(t){var e;null==(e=u.get(o))||e.setProps(t)},getSnapshot(){var t;return null==(t=u.get(o))?void 0:t.getSnapshot()}})).current;d(t);let f=null==(e=(0,a.useSyncExternalStore)(n,c,c))?void 0:e.slice();return{getToastToRender:function(e){if(!f)return[];let a=new Map;return t.newestOnTop&&f.reverse(),f.forEach(t=>{let{position:e}=t.props;a.has(e)||a.set(e,[]),a.get(e).push(t)}),Array.from(a,t=>e(t[0],t[1]))},isToastActive:g,count:null==f?void 0:f.length}}(e),{className:b,style:_,rtl:T,containerId:k,hotKeys:N}=e;function I(){n&&(d(!0),w.play())}return j(()=>{var t;if(n){let a=f.current.querySelectorAll('[data-in="true"]'),o=null==(t=e.position)?void 0:t.includes("top"),r=0,s=0;
5Array.from(a).reverse().forEach((t,e)=>{t.classList.add("Toastify__toast--stacked"),e>0&&(t.dataset.collapsed=`${c}`),t.dataset.pos||(t.dataset.pos=o?"top":"bot");let a=r*(c?.2:1)+(c?0:12*e),i=Math.max(.5,1-(c?s:0));t.style.setProperty("--y",`${o?a:-1*a}px`),t.style.setProperty("--g","12"),t.style.setProperty("--s",`${i}`),r+=t.offsetHeight,s+=.025})}},[c,v,n]),(0,a.useEffect)(()=>{function t(t){var e;let a=f.current;N(t)&&(null==(e=null==a?void 0:a.querySelector('[tabIndex="0"]'))||e.focus(),d(!1),w.pause()),"Escape"===t.key&&(document.activeElement===a||null!=a&&a.contains(document.activeElement))&&(d(!0),w.play())}return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[N]),a.default.createElement("section",{ref:f,className:"Toastify",id:k,onMouseEnter:()=>{n&&(d(!1),w.pause())},onMouseLeave:I,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":e["aria-label"]},m((t,e)=>{var r;let i,l=e.length?{..._}:{..._,pointerEvents:"none"};return a.default.createElement("div",{tabIndex:-1,className:(r=t,i=o("Toastify__toast-container",`Toastify__toast-container--${r}`,{"Toastify__toast-container--rtl":T}),"function"==typeof b?b({position:r,rtl:T,defaultClassName:i}):o(i,s(b))),"data-stacked":n,style:l,key:`c-${t}`},e.map(({content:t,props:e})=>a.default.createElement(E,{...e,stacked:n,collapseAll:I,isIn:h(e.toastId,e.containerId),key:`t-${e.key}`},t)))}))}var A
vendor: 17,403 bytes, lines 5-811
5=`:root { 6 --toastify-color-light: #fff; 7 --toastify-color-dark: #121212; 8 --toastify-color-info: #3498db; 9 --toastify-color-success: #07bc0c; 10 --toastify-color-warning: #f1c40f; 11 --toastify-color-error: hsl(6, 78%, 57%); 12 --toastify-color-transparent: rgba(255, 255, 255, 0.7); 13 14 --toastify-icon-color-info: var(--toastify-color-info); 15 --toastify-icon-color-success: var(--toastify-color-success); 16 --toastify-icon-color-warning: var(--toastify-color-warning); 17 --toastify-icon-color-error: var(--toastify-color-error); 18 19 --toastify-container-width: fit-content; 20 --toastify-toast-width: 320px; 21 --toastify-toast-offset: 16px; 22 --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top)); 23 --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right)); 24 --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left)); 25 --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom)); 26 --toastify-toast-background: #fff; 27 --toastify-toast-padding: 14px; 28 --toastify-toast-min-height: 64px; 29 --toastify-toast-max-height: 800px; 30 --toastify-toast-bd-radius: 6px; 31 --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); 32 --toastify-font-family: sans-serif; 33 --toastify-z-index: 9999; 34 --toastify-text-color-light: #757575; 35 --toastify-text-color-dark: #fff; 36 37 /* Used only for colored theme */ 38 --toastify-text-color-info: #fff; 39 --toastify-text-color-success: #fff; 40 --toastify-text-color-warning: #fff; 41 --toastify-text-color-error: #fff; 42 43 --toastify-spinner-color: #616161; 44 --toastify-spinner-color-empty-area: #e0e0e0; 45 --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55); 46 --toastify-color-progress-dark: #bb86fc; 47 --toastify-color-progress-info: var(--toastify-color-info); 48 --toastify-color-progress-success: var(--toastify-color-success); 49 --toastify-color-progress-warning: var(--toastify-color-warning); 50 --toastify-color-progress-error: var(--toastify-color-error); 51 /* used to control the opacity of the progress trail */ 52 --toastify-color-progress-bgo: 0.2; 53} 54 55.Toastify__toast-container { 56 z-index: var(--toastify-z-index); 57 -webkit-transform: translate3d(0, 0, var(--toastify-z-index)); 58 position: fixed; 59 width: var(--toastify-container-width); 60 box-sizing: border-box; 61 color: #fff; 62 display: flex; 63 flex-direction: column; 64} 65 66.Toastify__toast-container--top-left { 67 top: var(--toastify-toast-top); 68 left: var(--toastify-toast-left); 69} 70.Toastify__toast-container--top-center { 71 top: var(--toastify-toast-top); 72 left: 50%; 73 transform: translateX(-50%); 74 align-items: center; 75} 76.Toastify__toast-container--top-right { 77 top: var(--toastify-toast-top); 78 right: var(--toastify-toast-right); 79 align-items: end; 80} 81.Toastify__toast-container--bottom-left { 82 bottom: var(--toastify-toast-bottom); 83 left: var(--toastify-toast-left); 84} 85.Toastify__toast-container--bottom-center { 86 bottom: var(--toastify-toast-bottom); 87 left: 50%; 88 transform: translateX(-50%); 89 align-items: center; 90} 91.Toastify__toast-container--bottom-right { 92 bottom: var(--toastify-toast-bottom); 93 right: var(--toastify-toast-right); 94 align-items: end; 95} 96 97.Toastify__toast { 98 --y: 0px; 99 position: relative; 100 touch-action: none; 101 width: var(--toastify-toast-width); 102 min-height: var(--toastify-toast-min-height); 103 box-sizing: border-box; 104 margin-bottom: 1rem; 105 padding: var(--toastify-toast-padding); 106 border-radius: var(--toastify-toast-bd-radius); 107 box-shadow: var(--toastify-toast-shadow); 108 max-height: var(--toastify-toast-max-height); 109 font-family: var(--toastify-font-family); 110 /* webkit only issue #791 */ 111 z-index: 0; 112 /* inner swag */ 113 display: flex; 114 flex: 1 auto; 115 align-items: center; 116 word-break: break-word; 117} 118 119@media only screen and (max-width: 480px) { 120 .Toastify__toast-container { 121 width: 100vw; 122 left: env(safe-area-inset-left); 123 margin: 0; 124 } 125 .Toastify__toast-container--top-left, 126 .Toastify__toast-container--top-center, 127 .Toastify__toast-container--top-right { 128 top: env(safe-area-inset-top); 129 transform: translateX(0); 130 } 131 .Toastify__toast-container--bottom-left, 132 .Toastify__toast-container--bottom-center, 133 .Toastify__toast-container--bottom-right { 134 bottom: env(safe-area-inset-bottom); 135 transform: translateX(0); 136 } 137 .Toastify__toast-container--rtl { 138 right: env(safe-area-inset-right); 139 left: initial; 140 } 141 .Toastify__toast { 142 --toastify-toast-width: 100%; 143 margin-bottom: 0; 144 border-radius: 0; 145 } 146} 147 148.Toastify__toast-container[data-stacked='true'] { 149 width: var(--toastify-toast-width); 150} 151 152@media only screen and (max-width: 480px) { 153 .Toastify__toast-container[data-stacked='true'] { 154 width: 100vw; 155 } 156} 157 158.Toastify__toast--stacked { 159 position: absolute; 160 width: 100%; 161 transform: translate3d(0, var(--y), 0) scale(var(--s)); 162 transition: transform 0.3s; 163} 164 165.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body, 166.Toastify__toast--stacked[data-collapsed] .Toastify__close-button { 167 transition: opacity 0.1s; 168} 169 170.Toastify__toast--stacked[data-collapsed='false'] { 171 overflow: visible; 172} 173 174.Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * { 175 opacity: 0; 176} 177 178.Toastify__toast--stacked:after { 179 content: ''; 180 position: absolute; 181 left: 0; 182 right: 0; 183 height: calc(var(--g) * 1px); 184 bottom: 100%; 185} 186 187.Toastify__toast--stacked[data-pos='top'] { 188 top: 0; 189} 190 191.Toastify__toast--stacked[data-pos='bot'] { 192 bottom: 0; 193} 194 195.Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before { 196 transform-origin: top; 197} 198 199.Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before { 200 transform-origin: bottom; 201} 202 203.Toastify__toast--stacked:before { 204 content: ''; 205 position: absolute; 206 left: 0; 207 right: 0; 208 bottom: 0; 209 height: 100%; 210 transform: scaleY(3); 211 z-index: -1; 212} 213 214.Toastify__toast--rtl { 215 direction: rtl; 216} 217 218.Toastify__toast--close-on-click { 219 cursor: pointer; 220} 221 222.Toastify__toast-icon { 223 margin-inline-end: 10px; 224 width: 22px; 225 flex-shrink: 0; 226 display: flex; 227} 228 229.Toastify--animate { 230 animation-fill-mode: both; 231 animation-duration: 0.5s; 232} 233 234.Toastify--animate-icon { 235 animation-fill-mode: both; 236 animation-duration: 0.3s; 237} 238 239.Toastify__toast-theme--dark { 240 background: var(--toastify-color-dark); 241 color: var(--toastify-text-color-dark); 242} 243 244.Toastify__toast-theme--light { 245 background: var(--toastify-color-light); 246 color: var(--toastify-text-color-light); 247} 248 249.Toastify__toast-theme--colored.Toastify__toast--default { 250 background: var(--toastify-color-light); 251 color: var(--toastify-text-color-light); 252} 253 254.Toastify__toast-theme--colored.Toastify__toast--info { 255 color: var(--toastify-text-color-info); 256 background: var(--toastify-color-info); 257} 258 259.Toastify__toast-theme--colored.Toastify__toast--success { 260 color: var(--toastify-text-color-success); 261 background: var(--toastify-color-success); 262} 263 264.Toastify__toast-theme--colored.Toastify__toast--warning { 265 color: var(--toastify-text-color-warning); 266 background: var(--toastify-color-warning); 267} 268 269.Toastify__toast-theme--colored.Toastify__toast--error { 270 color: var(--toastify-text-color-error); 271 background: var(--toastify-color-error); 272} 273 274.Toastify__progress-bar-theme--light { 275 background: var(--toastify-color-progress-light); 276} 277 278.Toastify__progress-bar-theme--dark { 279 background: var(--toastify-color-progress-dark); 280} 281 282.Toastify__progress-bar--info { 283 background: var(--toastify-color-progress-info); 284} 285 286.Toastify__progress-bar--success { 287 background: var(--toastify-color-progress-success); 288} 289 290.Toastify__progress-bar--warning { 291 background: var(--toastify-color-progress-warning); 292} 293 294.Toastify__progress-bar--error { 295 background: var(--toastify-color-progress-error); 296} 297 298.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info, 299.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success, 300.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning, 301.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error { 302 background: var(--toastify-color-transparent); 303} 304 305.Toastify__close-button { 306 color: #fff; 307 position: absolute; 308 top: 6px; 309 right: 6px; 310 background: transparent; 311 outline: none; 312 border: none; 313 padding: 0; 314 cursor: pointer; 315 opacity: 0.7; 316 transition: 0.3s ease; 317 z-index: 1; 318} 319 320.Toastify__toast--rtl .Toastify__close-button { 321 left: 6px; 322 right: unset; 323} 324 325.Toastify__close-button--light { 326 color: #000; 327 opacity: 0.3; 328} 329 330.Toastify__close-button > svg { 331 fill: currentColor; 332 height: 16px; 333 width: 14px; 334} 335 336.Toastify__close-button:hover, 337.Toastify__close-button:focus { 338 opacity: 1; 339} 340 341@keyframes Toastify__trackProgress { 342 0% { 343 transform: scaleX(1); 344 } 345 100% { 346 transform: scaleX(0); 347 } 348} 349 350.Toastify__progress-bar { 351 position: absolute; 352 bottom: 0; 353 left: 0; 354 width: 100%; 355 height: 100%; 356 z-index: 1; 357 opacity: 0.7; 358 transform-origin: left; 359} 360 361.Toastify__progress-bar--animated { 362 animation: Toastify__trackProgress linear 1 forwards; 363} 364 365.Toastify__progress-bar--controlled { 366 transition: transform 0.2s; 367} 368 369.Toastify__progress-bar--rtl { 370 right: 0; 371 left: initial; 372 transform-origin: right; 373 border-bottom-left-radius: initial; 374} 375 376.Toastify__progress-bar--wrp { 377 position: absolute; 378 overflow: hidden; 379 bottom: 0; 380 left: 0; 381 width: 100%; 382 height: 5px; 383 border-bottom-left-radius: var(--toastify-toast-bd-radius); 384 border-bottom-right-radius: var(--toastify-toast-bd-radius); 385} 386 387.Toastify__progress-bar--wrp[data-hidden='true'] { 388 opacity: 0; 389} 390 391.Toastify__progress-bar--bg { 392 opacity: var(--toastify-color-progress-bgo); 393 width: 100%; 394 height: 100%; 395} 396 397.Toastify__spinner { 398 width: 20px; 399 height: 20px; 400 box-sizing: border-box; 401 border: 2px solid; 402 border-radius: 100%; 403 border-color: var(--toastify-spinner-color-empty-area); 404 border-right-color: var(--toastify-spinner-color); 405 animation: Toastify__spin 0.65s linear infinite; 406} 407 408@keyframes Toastify__bounceInRight { 409 from, 410 60%, 411 75%, 412 90%, 413 to { 414 animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); 415 } 416 from { 417 opacity: 0; 418 transform: translate3d(3000px, 0, 0); 419 } 420 60% { 421 opacity: 1; 422 transform: translate3d(-25px, 0, 0); 423 } 424 75% { 425 transform: translate3d(10px, 0, 0); 426 } 427 90% { 428 transform: translate3d(-5px, 0, 0); 429 } 430 to { 431 transform: none; 432 } 433} 434 435@keyframes Toastify__bounceOutRight { 436 20% { 437 opacity: 1; 438 transform: translate3d(-20px, var(--y), 0); 439 } 440 to { 441 opacity: 0; 442 transform: translate3d(2000px, var(--y), 0); 443 } 444} 445 446@keyframes Toastify__bounceInLeft { 447 from, 448 60%, 449 75%, 450 90%, 451 to { 452 animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); 453 } 454 0% { 455 opacity: 0; 456 transform: translate3d(-3000px, 0, 0); 457 } 458 60% { 459 opacity: 1; 460 transform: translate3d(25px, 0, 0); 461 } 462 75% { 463 transform: translate3d(-10px, 0, 0); 464 } 465 90% { 466 transform: translate3d(5px, 0, 0); 467 } 468 to { 469 transform: none; 470 } 471} 472 473@keyframes Toastify__bounceOutLeft { 474 20% { 475 opacity: 1; 476 transform: translate3d(20px, var(--y), 0); 477 } 478 to { 479 opacity: 0; 480 transform: translate3d(-2000px, var(--y), 0); 481 } 482} 483 484@keyframes Toastify__bounceInUp { 485 from, 486 60%, 487 75%, 488 90%, 489 to { 490 animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); 491 } 492 from { 493 opacity: 0; 494 transform: translate3d(0, 3000px, 0); 495 } 496 60% { 497 opacity: 1; 498 transform: translate3d(0, -20px, 0); 499 } 500 75% { 501 transform: translate3d(0, 10px, 0); 502 } 503 90% { 504 transform: translate3d(0, -5px, 0); 505 } 506 to { 507 transform: translate3d(0, 0, 0); 508 } 509} 510 511@keyframes Toastify__bounceOutUp { 512 20% { 513 transform: translate3d(0, calc(var(--y) - 10px), 0); 514 } 515 40%, 516 45% { 517 opacity: 1; 518 transform: translate3d(0, calc(var(--y) + 20px), 0); 519 } 520 to { 521 opacity: 0; 522 transform: translate3d(0, -2000px, 0); 523 } 524} 525 526@keyframes Toastify__bounceInDown { 527 from, 528 60%, 529 75%, 530 90%, 531 to { 532 animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); 533 } 534 0% { 535 opacity: 0; 536 transform: translate3d(0, -3000px, 0); 537 } 538 60% { 539 opacity: 1; 540 transform: translate3d(0, 25px, 0); 541 } 542 75% { 543 transform: translate3d(0, -10px, 0); 544 } 545 90% { 546 transform: translate3d(0, 5px, 0); 547 } 548 to { 549 transform: none; 550 } 551} 552 553@keyframes Toastify__bounceOutDown { 554 20% { 555 transform: translate3d(0, calc(var(--y) - 10px), 0); 556 } 557 40%, 558 45% { 559 opacity: 1; 560 transform: translate3d(0, calc(var(--y) + 20px), 0); 561 } 562 to { 563 opacity: 0; 564 transform: translate3d(0, 2000px, 0); 565 } 566} 567 568.Toastify__bounce-enter--top-left, 569.Toastify__bounce-enter--bottom-left { 570 animation-name: Toastify__bounceInLeft; 571} 572 573.Toastify__bounce-enter--top-right, 574.Toastify__bounce-enter--bottom-right { 575 animation-name: Toastify__bounceInRight; 576} 577 578.Toastify__bounce-enter--top-center { 579 animation-name: Toastify__bounceInDown; 580} 581 582.Toastify__bounce-enter--bottom-center { 583 animation-name: Toastify__bounceInUp; 584} 585 586.Toastify__bounce-exit--top-left, 587.Toastify__bounce-exit--bottom-left { 588 animation-name: Toastify__bounceOutLeft; 589} 590 591.Toastify__bounce-exit--top-right, 592.Toastify__bounce-exit--bottom-right { 593 animation-name: Toastify__bounceOutRight; 594} 595 596.Toastify__bounce-exit--top-center { 597 animation-name: Toastify__bounceOutUp; 598} 599 600.Toastify__bounce-exit--bottom-center { 601 animation-name: Toastify__bounceOutDown; 602} 603 604@keyframes Toastify__zoomIn { 605 from { 606 opacity: 0; 607 transform: scale3d(0.3, 0.3, 0.3); 608 } 609 50% { 610 opacity: 1; 611 } 612} 613 614@keyframes Toastify__zoomOut { 615 from { 616 opacity: 1; 617 } 618 50% { 619 opacity: 0; 620 transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3); 621 } 622 to { 623 opacity: 0; 624 } 625} 626 627.Toastify__zoom-enter { 628 animation-name: Toastify__zoomIn; 629} 630 631.Toastify__zoom-exit { 632 animation-name: Toastify__zoomOut; 633} 634 635@keyframes Toastify__flipIn { 636 from { 637 transform: perspective(400px) rotate3d(1, 0, 0, 90deg); 638 animation-timing-function: ease-in; 639 opacity: 0; 640 } 641 40% { 642 transform: perspective(400px) rotate3d(1, 0, 0, -20deg); 643 animation-timing-function: ease-in; 644 } 645 60% { 646 transform: perspective(400px) rotate3d(1, 0, 0, 10deg); 647 opacity: 1; 648 } 649 80% { 650 transform: perspective(400px) rotate3d(1, 0, 0, -5deg); 651 } 652 to { 653 transform: perspective(400px); 654 } 655} 656 657@keyframes Toastify__flipOut { 658 from { 659 transform: translate3d(0, var(--y), 0) perspective(400px); 660 } 661 30% { 662 transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg); 663 opacity: 1; 664 } 665 to { 666 transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg); 667 opacity: 0; 668 } 669} 670 671.Toastify__flip-enter { 672 animation-name: Toastify__flipIn; 673} 674 675.Toastify__flip-exit { 676 animation-name: Toastify__flipOut; 677} 678 679@keyframes Toastify__slideInRight { 680 from { 681 transform: translate3d(110%, 0, 0); 682 visibility: visible; 683 } 684 to { 685 transform: translate3d(0, var(--y), 0); 686 } 687} 688 689@keyframes Toastify__slideInLeft { 690 from { 691 transform: translate3d(-110%, 0, 0); 692 visibility: visible; 693 } 694 to { 695 transform: translate3d(0, var(--y), 0); 696 } 697} 698 699@keyframes Toastify__slideInUp { 700 from { 701 transform: translate3d(0, 110%, 0); 702 visibility: visible; 703 } 704 to { 705 transform: translate3d(0, var(--y), 0); 706 } 707} 708 709@keyframes Toastify__slideInDown { 710 from { 711 transform: translate3d(0, -110%, 0); 712 visibility: visible; 713 } 714 to { 715 transform: translate3d(0, var(--y), 0); 716 } 717} 718 719@keyframes Toastify__slideOutRight { 720 from { 721 transform: translate3d(0, var(--y), 0); 722 } 723 to { 724 visibility: hidden; 725 transform: translate3d(110%, var(--y), 0); 726 } 727} 728 729@keyframes Toastify__slideOutLeft { 730 from { 731 transform: translate3d(0, var(--y), 0); 732 } 733 to { 734 visibility: hidden; 735 transform: translate3d(-110%, var(--y), 0); 736 } 737} 738 739@keyframes Toastify__slideOutDown { 740 from { 741 transform: translate3d(0, var(--y), 0); 742 } 743 to { 744 visibility: hidden; 745 transform: translate3d(0, 500px, 0); 746 } 747} 748 749@keyframes Toastify__slideOutUp { 750 from { 751 transform: translate3d(0, var(--y), 0); 752 } 753 to { 754 visibility: hidden; 755 transform: translate3d(0, -500px, 0); 756 } 757} 758 759.Toastify__slide-enter--top-left, 760.Toastify__slide-enter--bottom-left { 761 animation-name: Toastify__slideInLeft; 762} 763 764.Toastify__slide-enter--top-right, 765.Toastify__slide-enter--bottom-right { 766 animation-name: Toastify__slideInRight; 767} 768 769.Toastify__slide-enter--top-center { 770 animation-name: Toastify__slideInDown; 771} 772 773.Toastify__slide-enter--bottom-center { 774 animation-name: Toastify__slideInUp; 775} 776 777.Toastify__slide-exit--top-left, 778.Toastify__slide-exit--bottom-left { 779 animation-name: Toastify__slideOutLeft; 780 animation-timing-function: ease-in; 781 animation-duration: 0.3s; 782} 783 784.Toastify__slide-exit--top-right, 785.Toastify__slide-exit--bottom-right { 786 animation-name: Toastify__slideOutRight; 787 animation-timing-function: ease-in; 788 animation-duration: 0.3s; 789} 790 791.Toastify__slide-exit--top-center { 792 animation-name: Toastify__slideOutUp; 793 animation-timing-function: ease-in; 794 animation-duration: 0.3s; 795} 796 797.Toastify__slide-exit--bottom-center { 798 animation-name: Toastify__slideOutDown; 799 animation-timing-function: ease-in; 800 animation-duration: 0.3s; 801} 802 803@keyframes Toastify__spin { 804 from { 805 transform: rotate(0deg); 806 } 807 to { 808 transform: rotate(360deg); 809 } 810} 811`
811,R=new Map;function O(t){var e;return j(()=>{if(!A||"u"<typeof document)return;let t=document,a=R.get(t);if(a){e&&a.setAttribute("nonce",e);return}let o=t.createElement("style");o.textContent=A,e&&o.setAttribute("nonce",e),t.head.appendChild(o),R.set(t,o)},[e=t.nonce]),a.default.createElement(L,{...t})}let P=(0,a.createContext)({});t.s(["ToastProvider",0,({children:t})=>{let o=(0,a.useCallback)(({type:t="info",title:e})=>{w[t](e)},[]);return(0,e.jsxs)(P.Provider,{value:{addToast:o},children:[(0,e.jsx)(O,{theme:"dark",position:"top-center"}),t]})},"useToast",0,function(){let t=(0,a.useContext)(P);if(!t)throw Error("useToast must be used within a ToastProvider");return t}],759653)},835619,t=>{"use strict";var e=t.i(391398),a=t.i(217837),o=t.i(97011),r=t.i(41158),s=t.i(126019),i=t.i(203828),n=t.i(191788);let l=n.forwardRef(function({title:t,titleId:e,...a},o){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":e},a),t?n.createElement("title",{id:e},t):null,n.createElement("path",{fillRule:"evenodd",d:"M8.25 3.75H19.5a.75.75 0 0 1 .75.75v11.25a.75.75 0 0 1-1.5 0V6.31L5.03 20.03a.75.75 0 0 1-1.06-1.06L17.69 5.25H8.25a.75.75 0 0 1 0-1.5Z",clipRule:"evenodd"}))});var c=t.i(649326),d=t.i(231287),f=t.i(469285),m=t.i(138187),u=t.i(296847),p=t.i(589504);let h=n.forwardRef(function({title:t,titleId:e,...a},o){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":e},a),t?n.createElement("title",{id:e},t):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12a7.5 7.5 0 0 0 15 0m-15 0a7.5 7.5 0 1 1 15 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077 1.41-.513m14.095-5.13 1.41-.513M5.106 17.785l1.15-.964m11.49-9.642 1.149-.964M7.501 19.795l.75-1.3m7.5-12.99.75-1.3m-6.063 16.658.26-1.477m2.605-14.772.26-1.477m0 17.726-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205 12 12m6.894 5.785-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"}))});var y=t.i(477473),g=t.i(133222);let x=()=>(0,e.jsx)(g.Dropdown.Separator,{}),v=({children:t,icon:a,onClick:o})=>(0,e.jsx)(g.Dropdown.Item,{onClick:o,className:"data-highlighted:bg-primary/20 cursor-pointer\n px-8 py-3 outline-hidden",children:(0,e.jsxs)("div",{className:"text-text-600 flex items-center gap-3 text-base font-semibold",children:[a,t]})});function b(){let{user:t,signOut:a}=(0,c.useAuth)();return(0,e.jsxs)(g.Dropdown.Root,{children:[(0,e.jsx)(g.Dropdown.Trigger,{children:(0,e.jsxs)("div",{className:"flex items-center gap-2 duration-200 hover:opacity-80",children:[(0,e.jsx)("div",{className:"h-8 w-8 rounded-full",children:(0,e.jsx)("img",{className:(0,o.twMerge)("h-full w-full rounded-full object-cover","ADMIN"===t.role&&"border border-dashed border-red-500","MODERATOR"===t.role&&"border border-dashed border-green-500"),src:t?.avatar?t.avatar.url:"/images/profile.jpg",alt:"Meus ingressos"})}),(0,e.jsxs)("div",{className:"flex flex-col truncate md:max-w-[150px] lg:max-w-[200px]",children:[(0,e.jsx)("p",{className:"text-text-500 light:text-text-800 flex justify-start text-sm",children:"Meu Perfil"}),(0,e.jsx)("p",{className:(0,o.twMerge)("text-text-0 light:text-text-800 flex justify-start truncate","ADMIN"===t.role&&"text-red-500","MODERATOR"===t.role&&"text-green-500"),children:t.name})]}),(0,e.jsx)(m.ChevronDownIcon,{className:"text-text-0 light:text-text-800 h-4 w-4"})]})}),(0,e.jsxs)(g.Dropdown.Content,{className:"flex w-[16rem] flex-col items-end md:items-center",children:[(0,e.jsx)("div",{className:"border-custom-0 mr-6 h-0 w-0 border-x-8 border-b-8 border-x-transparent md:mr-0"}),(0,e.jsxs)("div",{className:"bg-custom-0 w-full max-w-xs rounded-md pt-4",children:[(0,e.jsxs)("div",{className:"data-highlighted:bg-tertiary/20 mb-4 flex\n items-center gap-3 px-4 outline-hidden",children:[(0,e.jsx)("div",{className:" h-8 min-h-[32px] w-8 min-w-[32px]",children:(0,e.jsx)("img",{className:"h-full w-full rounded-full object-cover",src:t?.avatar?t.avatar.url:"/images/profile.jpg",alt:"User profile picture"})}),(0,e.jsx)("h4",{className:"text-custom-700 text-lg font-bold",children:t.name})]}),(0,e.jsx)(r.default,{href:"/profile/me",children:(0,e.jsx)(v,{icon:(0,e.jsx)(p.WalletIcon,{className:"text-text-600 h-5 w-5"}),children:"Minha Conta"})}),(0,e.jsx)(x,{}),(0,e.jsx)(r.default,{href:"/profile/me/edit",children:(0,e.jsx)(v,{icon:(0,e.jsx)(f.PencilSquareIcon,{className:"text-text-600 h-5 w-5"}),children:"Editar Perfil"})}),(0,e.jsx)(x,{}),(0,e.jsx)(r.default,{href:"/promoters/coupons",children:(0,e.jsx)(v,{icon:(0,e.jsx)(y.UserGroupIcon,{className:"text-text-600 h-5 w-5"}),children:"Ãrea do Promotor"})}),["ADMIN","MODERATOR"].includes(t.role)&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(x,{}),(0,e.jsx)(r.default,{href:"/admin",children:(0,e.jsx)(v,{icon:(0,e.jsx)(h,{className:"text-text-600 h-5 w-5"}),children:"Painel de Controle"})})]}),(0,e.jsx)(x,{}),(0,e.jsx)(v,{onClick:a,icon:(0,e.jsx)(u.ArrowRightStartOnRectangleIcon,{className:"text-text-600 h-5 w-5"}),children:"Sair"})]})]})]})}var _=t.i(834666),T=t.i(135598),w=t.i(769434),j=t.i(602994),k=t.i(506302),N=t.i(189327),E=t.i(165998),I=t.i(455357),C=t.i(358987),M=t.i(948898);let L=({children:t,href:a,icon:o,onClick:s})=>(0,e.jsxs)("li",{className:"text-text-0 light:text-text-800 flex items-center gap-2 pb-2 text-base",onClick:s,children:[o,a?(0,e.jsx)(r.default,{href:a,children:t}):t]}),A=()=>
811{let t=(0,a.useSearchParams)(),[l,d]=(0,n.useState)(!1),f=(0,i.useRouter)(),{user:m,signOut:u}=(0,c.useAuth)(),p=t.get("theme")??"dark",g=(0,n.useCallback)(()=>{i.default.push("/"),u()},[u]);return(0,n.useEffect)(()=>{d(!1)},[f]),(0,e.jsxs)(T.Root,{open:l,children:[(0,e.jsx)(T.Trigger,{asChild:!0,children:(0,e.jsx)("button",{className:"flex md:hidden",type:"button",onClick:()=>d(t=>!t),children:l?(0,e.jsx)(k.XMarkIcon,{className:"text-text-0 light:text-text-800 h-7 w-7"}):(0,e.jsx)(w.Bars3Icon,{className:"text-text-0 light:text-text-800 h-7 w-7"})})}),(0,e.jsxs)(T.Portal,{children:[(0,e.jsx)(T.Overlay,{className:"bg-custom-500 fixed inset-0 opacity-50",onClick:()=>d(!1)}),(0,e.jsx)(T.Content,{className:(0,o.twMerge)("bg-custom-600 fixed top-0 left-0 z-50 h-full w-full max-w-[65%] px-4 md:hidden","light"===p&&"bg-custom-0",p),children:(0,e.jsxs)("div",{className:"h-full ",children:[(0,e.jsx)("div",{className:"flex h-16 items-center",children:(0,e.jsx)(r.default,{href:"/",children:(0,e.jsx)(s.default,{width:100,height:100,priority:!0,className:"block h-8 w-auto",src:"/images/logo.png",alt:"Meaple"})})}),(0,e.jsxs)("section",{className:"flex h-[90%] flex-col gap-6",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,e.jsx)("h1",{className:"text-primary text-2xl font-bold",children:"Perfil"}),m?.id?(0,e.jsx)(r.default,{href:"/profile/me",children:(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(M.Asset,{type:"image",src:m?.avatar?m.avatar.url:"/images/profile.jpg",alt:"Avatar do usuário",className:"h-8 w-8 rounded-full object-cover"}),(0,e.jsx)("span",{className:"text-text-0 light:text-text-800 truncate",children:m.name})]})}):(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)(r.default,{href:"/auth/sign-up",passHref:!0,children:(0,e.jsx)(_.Button,{variant:"secondary",className:"w-full",children:"Criar Conta"})}),(0,e.jsx)(r.default,{href:"/auth/sign-in",passHref:!0,children:(0,e.jsx)(_.Button,{className:"light:text-text-800 light:bg-custom-0 w-full",children:"Entrar"})})]})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,e.jsx)("h1",{className:"text-primary text-2xl font-bold",children:"Menu"}),(0,e.jsxs)("ul",{className:"flex flex-col gap-3",children:[(0,e.jsx)(L,{icon:(0,e.jsx)(C.AtSymbolIcon,{className:"h-6 w-6"}),href:"/about",children:"Sobre Nós"}),m&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(L,{icon:(0,e.jsx)(E.TicketIcon,{className:"h-6 w-6"}),href:"/profile/me",children:"Meus Ingressos"}),(0,e.jsx)(L,{icon:(0,e.jsx)(j.PencilSquareIcon,{className:"h-6 w-6"}),href:"/profile/me/edit",children:"Editar Perfil"}),(0,e.jsx)(L,{icon:(0,e.jsx)(y.UserGroupIcon,{className:"h-6 w-6"}),href:"/promoters/coupons",children:"Ãrea do Promotor"}),["ADMIN","MODERATOR"].includes(m.role)&&(0,e.jsx)(L,{icon:(0,e.jsx)(h,{className:"h-6 w-6"}),onClick:()=>i.default.push("/admin"),children:"Painel de Controle"})]})]})]}),m&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,e.jsx)("h1",{className:"text-tertiary text-2xl font-bold",children:"Produtor"}),(0,e.jsx)("ul",{className:"flex flex-col gap-3",children:(0,e.jsx)(L,{onClick:()=>i.default.push("/channels"),icon:(0,e.jsx)(I.BriefcaseIcon,{className:"text-text-0 light:text-text-800 h-6 w-6"}),children:"Ãrea do Produtor"})})]}),(0,e.jsx)("div",{className:"mt-auto flex flex-col gap-4",children:(0,e.jsx)(L,{onClick:g,icon:(0,e.jsx)(N.ArrowLeftOnRectangleIcon,{className:"h-6 w-6"}),href:"/profile/me",children:"Sair"})})]})]})]})})]})]})};var R=t.i(157817);let O=[{name:"InÃcio",href:"/"},{name:"Buscar",href:"/events"},{name:"Sobre",href:"/about"}],P=()=>{let{user:t}=(0,c.useAuth)(),{asPath:a}=(0,i.useRouter)(),o=(0,d.useModal)();return(0,e.jsx)("nav",{className:"bg-custom-800 light:bg-custom-0 light:border-b light:border-custom-100",children:(0,e.jsx)("div",{className:"container mx-auto px-2 sm:px-6 lg:px-8",children:(0,e.jsx)("div",{className:"relative flex h-16 items-center justify-between",children:(0,e.jsxs)("div",{className:"flex flex-1 items-center justify-between sm:items-stretch",children:[t?(0,e.jsx)(M.Asset,{type:"image",src:t?.avatar?t.avatar.url:"/images/profile.jpg",alt:"Avatar do usuário",className:"h-10 w-10 cursor-pointer rounded-full object-cover md:hidden",onClick:function(){o.open(" ",{content:()=>(0,e.jsx)(R.MyChannelsModal,{onClose:o.close})})}}):(0,e.jsx)("div",{className:"h-10 w-10 md:hidden"}),(0,e.jsxs)("div",{className:"flex items-center",children:[(0,e.jsx)("div",{className:"flex shrink-0 items-center",children:(0,e.jsx)(r.default,{href:"/",children:(0,e.jsx)(s.default,{width:100,height:100,className:"block h-8 w-auto",src:"/images/logo.png",alt:"Meaple"})})}),(0,e.jsx)("div",{className:"hidden sm:ml-6 md:block",children:(0,e.jsx)("div",{className:"flex space-x-4",children:O.map(t=>{let o=a===t.href;return(0,e.jsx)(r.default,{href:t.href,className:`${o?"text-primary font-bold":"light:text-text-800 light:hover:text-text-800 font-medium text-gray-300 hover:text-white"} rounded-md px-3 py-2 text-sm`,"aria-current":o?"page":void 0,children:t.name}
811,t.name)})})})]}),(0,e.jsxs)("div",{className:"flex items-center justify-end pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0",children:[(0,e.jsx)(A,{}),(0,e.jsx)("div",{className:"hidden md:flex md:flex-col",children:t?.name?(0,e.jsxs)("div",{className:"flex items-center gap-7",children:[(0,e.jsxs)(r.default,{href:"/channels",className:`light:text-text-800 light:hover:text-text-800 flex items-start gap-2 text-sm text-gray-300 hover:text-white ${a.includes("/channels")?"text-tertiary":"light:text-text-800 text-gray-300"}`,children:["Ãrea do Produtor",(0,e.jsx)(l,{className:"h-3 w-3"})]}),(0,e.jsx)("div",{className:"light:bg-gray-400 h-2 w-px bg-white"}),(0,e.jsx)("div",{className:"flex items-center gap-2",children:(0,e.jsx)(b,{})})]}):(0,e.jsxs)("div",{className:"flex gap-2",children:[(0,e.jsx)(r.default,{passHref:!0,href:"/auth/sign-in",children:(0,e.jsx)(_.Button,{variant:"quaternary",className:"light:text-text-800",children:"Entrar"})}),(0,e.jsx)(r.default,{passHref:!0,href:"/auth/sign-up",children:(0,e.jsx)(_.Button,{variant:"secondary",children:"Criar Conta"})})]})})]})]})})})})};var B=t.i(209091),D=t.i(557748),z=t.i(942248);let $=n.forwardRef(function({title:t,titleId:e,...a},o){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":e},a),t?n.createElement("title",{id:e},t):null,n.createElement("path",{fillRule:"evenodd",d:"M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.
811036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z",clipRule:"evenodd"}))});var S=t.i(384893);let H=({InactiveIcon:t,ActiveIcon:a,title:o,active:r,onClick:s})=>(0,e.jsxs)("button",{onClick:s,className:`flex h-[60px] w-[65px] flex-col items-center justify-center gap-0.5 px-4 py-3 ${r?"text-primary":"text-text-0"} sm:hidden`,children:[(0,e.jsx)("div",{className:"h-5 w-5",children:r?a:t}),(0,e.jsx)("span",{className:"text-sm",children:o})]}),Z=()=>{let t=(0,i.useRouter)(),a=(0,n.useCallback)(e=>{let a=t.asPath;return("/"!==e||"/"===a)&&!!a.startsWith(e)},[t.asPath]);return(0,e.jsx)("div",{className:"bg-custom-400 fixed right-0 bottom-0 left-0 z-20 h-[60px] px-2 sm:hidden",children:(0,e.jsxs)("div",{className:"flex items-center justify-around gap-2",children:[(0,e.jsx)(H,{ActiveIcon:(0,e.jsx)($,{className:"h-5 w-5"}),InactiveIcon:(0,e.jsx)(D.SparklesIcon,{className:"h-5 w-5"}),title:"Menu",active:a("/"),onClick:()=>t.push("/")}),(0,e.jsx)(H,{ActiveIcon:(0,e.jsx)(z.MagnifyingGlassIcon,{className:"h-5 w-5"}),InactiveIcon:(0,e.jsx)(z.MagnifyingGlassIcon,{className:"h-5 w-5"}),title:"Buscar",active:a("/events"),onClick:()=>t.push("/events")}),(0,e.jsx)(H,{ActiveIcon:(0,e.jsx)(S.TicketIcon,{className:"h-5 w-5"}),InactiveIcon:(0,e.jsx)(E.TicketIcon,{className:"h-5 w-5"}),title:"Ingressos",active:a("/profile/me"),onClick:()=>t.push("/profile/me")})]})})};t.s(["BaseLayout",0,({children:t,showFooter:r=!0,showNavbar:s=!0,showMobileFooter:i=!0,fullWidth:n=!1,bgTransparent:l=!1})=>{let c=(0,a.useSearchParams)(),d=c?.get("header")!=="false",f=c?.get("footer")!=="false",m=c?.get("theme")??"dark";return(0,e.jsxs)("div",{className:(0,o.twMerge)(m,"bg-custom-600 light:bg-[#E8EBF2] flex min-h-screen flex-col",l&&"bg-transparent"),children:[s&&d&&(0,e.jsx)(P,{}),(0,e.jsx)("main",{className:(0,o.twMerge)("bg-custom-600 light:bg-[#E8EBF2] flex flex-1",!n&&"container mx-auto",l&&"bg-transparent"),children:t}),r&&(0,e.jsx)(B.Footer,{}),i&&f&&(0,e.jsx)(Z,{})]})}],835619)},877072,t=>{"use strict";t.s(["formatPrice",0,t=>t.toLocaleString("pt-BR",{style:"currency",currency:"BRL"})])}]); 812 813//# debugId=e91da34e-e978-b9c2-8640-b3ed63926d41
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.