BetterSnap - Make Snapchat Web Better

Screenshot Freely, Save Media, Bypass Presence Detection and more! Previously known as Better Snapchat.

// ==UserScript==
// @name         BetterSnap - Make Snapchat Web Better
// @version      1.4.2
// @description  Screenshot Freely, Save Media, Bypass Presence Detection and more! Previously known as Better Snapchat.
// @author       [email protected]
// @match        https://*.snapchat.com/*
// @icon         https://better-snapchat.pages.dev/logo128.png
// @run-at       document-start
// @grant        GM_addElement
// @connect      better-snapchat.vasp.dev
// @license      MIT
// @namespace    https://better-snapchat.vasp.dev
// ==/UserScript==

GM_addElement('script', {
  type: 'text/javascript',
  textContent: "\"use strict\";(()=>{var Sy=Object.create;var lr=Object.defineProperty,Cy=Object.defineProperties,wy=Object.getOwnPropertyDescriptor,_y=Object.getOwnPropertyDescriptors,Fy=Object.getOwnPropertyNames,da=Object.getOwnPropertySymbols,Ry=Object.getPrototypeOf,fl=Object.prototype.hasOwnProperty,Cc=Object.prototype.propertyIsEnumerable;var Sc=(e,o,t)=>o in e?lr(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,u=(e,o)=>{for(var t in o||(o={}))fl.call(o,t)&&Sc(e,t,o[t]);if(da)for(var t of da(o))Cc.call(o,t)&&Sc(e,t,o[t]);return e},g=(e,o)=>Cy(e,_y(o));var C=(e,o)=>{var t={};for(var r in e)fl.call(e,r)&&o.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&da)for(var r of da(e))o.indexOf(r)<0&&Cc.call(e,r)&&(t[r]=e[r]);return t};var d=(e,o)=>()=>(e&&(o=e(e=0)),o);var Ct=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),Z=(e,o)=>{for(var t in o)lr(e,t,{get:o[t],enumerable:!0})},wc=(e,o,t,r)=>{if(o&&typeof o==\"object\"||typeof o==\"function\")for(let a of Fy(o))!fl.call(e,a)&&a!==t&&lr(e,a,{get:()=>o[a],enumerable:!(r=wy(o,a))||r.enumerable});return e};var v=(e,o,t)=>(t=e!=null?Sy(Ry(e)):{},wc(o||!e||!e.__esModule?lr(t,\"default\",{value:e,enumerable:!0}):t,e)),_c=e=>wc(lr({},\"__esModule\",{value:!0}),e);function il(){var o;if(ma!=null)return ma;let e=document.createElement(\"iframe\");return e.style.display=\"none\",((o=document.head)!=null?o:document.documentElement).appendChild(e),ma=e.contentWindow,ma}function Qo(...e){let{console:o}=il();o.log(`%c${sl}`,\"color: #3b5bdb\",...e)}function Fc(...e){let{console:o}=il();o.warn(sl,...e)}function Rc(...e){let{console:o}=il();o.error(sl,...e)}var sl,ma,pa=d(()=>{\"use strict\";sl=\"[Better-Snap]\",ma=null});var Ac=Ct(($_,Bc)=>{\"use strict\";Bc.exports=function e(o,t){if(o===t)return!0;if(o&&t&&typeof o==\"object\"&&typeof t==\"object\"){if(o.constructor!==t.constructor)return!1;var r,a,n;if(Array.isArray(o)){if(r=o.length,r!=t.length)return!1;for(a=r;a--!==0;)if(!e(o[a],t[a]))return!1;return!0}if(o.constructor===RegExp)return o.source===t.source&&o.flags===t.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===t.valueOf();if(o.toString!==Object.prototype.toString)return o.toString()===t.toString();if(n=Object.keys(o),r=n.length,r!==Object.keys(t).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[a]))return!1;for(a=r;a--!==0;){var l=n[a];if(!e(o[l],t[l]))return!1}return!0}return o!==o&&t!==t}});var Dc=Ct((q_,Tc)=>{var Mc=\"Expected a function\",Pc=NaN,By=\"[object Symbol]\",Ay=/^\\s+|\\s+$/g,Py=/^[-+]0x[0-9a-f]+$/i,Ey=/^0b[01]+$/i,My=/^0o[0-7]+$/i,Ty=parseInt,Dy=typeof global==\"object\"&&global&&global.Object===Object&&global,Ly=typeof self==\"object\"&&self&&self.Object===Object&&self,ky=Dy||Ly||Function(\"return this\")(),Oy=Object.prototype,Ny=Oy.toString,Hy=Math.max,zy=Math.min,cl=function(){return ky.Date.now()};function Wy(e,o,t){var r,a,n,l,f,s,i=0,m=!1,c=!1,x=!0;if(typeof e!=\"function\")throw new TypeError(Mc);o=Ec(o)||0,xa(t)&&(m=!!t.leading,c=\"maxWait\"in t,n=c?Hy(Ec(t.maxWait)||0,o):n,x=\"trailing\"in t?!!t.trailing:x);function I(O){var A=r,E=a;return r=a=void 0,i=O,l=e.apply(E,A),l}function h(O){return i=O,f=setTimeout(w,o),m?I(O):l}function b(O){var A=O-s,E=O-i,T=o-A;return c?zy(T,n-E):T}function S(O){var A=O-s,E=O-i;return s===void 0||A>=o||A<0||c&&E>=n}function w(){var O=cl();if(S(O))return F(O);f=setTimeout(w,b(O))}function F(O){return f=void 0,x&&r?I(O):(r=a=void 0,l)}function B(){f!==void 0&&clearTimeout(f),i=0,r=s=a=f=void 0}function P(){return f===void 0?l:F(cl())}function D(){var O=cl(),A=S(O);if(r=arguments,a=this,s=O,A){if(f===void 0)return h(s);if(c)return f=setTimeout(w,o),I(s)}return f===void 0&&(f=setTimeout(w,o)),l}return D.cancel=B,D.flush=P,D}function Uy(e,o,t){var r=!0,a=!0;if(typeof e!=\"function\")throw new TypeError(Mc);return xa(t)&&(r=\"leading\"in t?!!t.leading:r,a=\"trailing\"in t?!!t.trailing:a),Wy(e,o,{leading:r,maxWait:o,trailing:a})}function xa(e){var o=typeof e;return!!e&&(o==\"object\"||o==\"function\")}function Vy(e){return!!e&&typeof e==\"object\"}function Gy(e){return typeof e==\"symbol\"||Vy(e)&&Ny.call(e)==By}function Ec(e){if(typeof e==\"number\")return e;if(Gy(e))return Pc;if(xa(e)){var o=typeof e.valueOf==\"function\"?e.valueOf():e;e=xa(o)?o+\"\":o}if(typeof e!=\"string\")return e===0?e:+e;e=e.replace(Ay,\"\");var t=Ey.test(e);return t||My.test(e)?Ty(e.slice(2),t?2:8):Py.test(e)?Pc:+e}Tc.exports=Uy});var kc=Ct((j_,ul)=>{\"use strict\";var $y=Object.prototype.hasOwnProperty,ze=\"~\";function fr(){}Object.create&&(fr.prototype=Object.create(null),new fr().__proto__||(ze=!1));function qy(e,o,t){this.fn=e,this.context=o,this.once=t||!1}function Lc(e,o,t,r,a){if(typeof t!=\"function\")throw new TypeError(\"The listener must be a function\");var n=new qy(t,r||e,a),l=ze?ze+o:o;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],n]:e._events[l].push(n):(e._events[l]=n,e._eventsCount++),e}function Ia(e,o){--e._eventsCount===0?e._events=new fr:delete e._events[o]}function ke(){this._events=new fr,this._eventsCount=0}ke.prototype.eventNames=function(){var o=[],t,r;if(this._eventsCount===0)return o;for(r in t=this._events)$y.call(t,r)&&o.push(ze?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o};ke.prototype.listeners=function(o){var t=ze?ze+o:o,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,n=r.length,l=new Array(n);a<n;a++)l[a]=r[a].fn;return l};ke.prototype.listenerCount=function(o){var t=ze?ze+o:o,r=this._events[t];return r?r.fn?1:r.length:0};ke.prototype.emit=function(o,t,r,a,n,l){var f=ze?ze+o:o;if(!this._events[f])return!1;var s=this._events[f],i=arguments.length,m,c;if(s.fn){switch(s.once&&this.removeListener(o,s.fn,void 0,!0),i){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,t),!0;case 3:return s.fn.call(s.context,t,r),!0;case 4:return s.fn.call(s.context,t,r,a),!0;case 5:return s.fn.call(s.context,t,r,a,n),!0;case 6:return s.fn.call(s.context,t,r,a,n,l),!0}for(c=1,m=new Array(i-1);c<i;c++)m[c-1]=arguments[c];s.fn.apply(s.context,m)}else{var x=s.length,I;for(c=0;c<x;c++)switch(s[c].once&&this.removeListener(o,s[c].fn,void 0,!0),i){case 1:s[c].fn.call(s[c].context);break;case 2:s[c].fn.call(s[c].context,t);break;case 3:s[c].fn.call(s[c].context,t,r);break;case 4:s[c].fn.call(s[c].context,t,r,a);break;default:if(!m)for(I=1,m=new Array(i-1);I<i;I++)m[I-1]=arguments[I];s[c].fn.apply(s[c].context,m)}}return!0};ke.prototype.on=function(o,t,r){return Lc(this,o,t,r,!1)};ke.prototype.once=function(o,t,r){return Lc(this,o,t,r,!0)};ke.prototype.removeListener=function(o,t,r,a){var n=ze?ze+o:o;if(!this._events[n])return this;if(!t)return Ia(this,n),this;var l=this._events[n];if(l.fn)l.fn===t&&(!a||l.once)&&(!r||l.context===r)&&Ia(this,n);else{for(var f=0,s=[],i=l.length;f<i;f++)(l[f].fn!==t||a&&!l[f].once||r&&l[f].context!==r)&&s.push(l[f]);s.length?this._events[n]=s.length===1?s[0]:s:Ia(this,n)}return this};ke.prototype.removeAllListeners=function(o){var t;return o?(t=ze?ze+o:o,this._events[t]&&Ia(this,t)):(this._events=new fr,this._eventsCount=0),this};ke.prototype.off=ke.prototype.removeListener;ke.prototype.addListener=ke.prototype.on;ke.prefixed=ze;ke.EventEmitter=ke;typeof ul<\"u\"&&(ul.exports=ke)});var Oc,Nc,Hc=d(()=>{Oc=v(kc(),1),Nc=Oc.default});var ce,sr,dl,ha,co=d(()=>{\"use strict\";ce={BITMOJI_PRESENCE:\"BITMOJI_PRESENCE\",ALLOW_SCREENSHOT:\"ALLOW_SCREENSHOT\",SAVE_IMAGE:\"SAVE_IMAGE\",ALWAYS_PRESENT:\"ALWAYS_PRESENT\",SEND_UNSAVEABLE_MESSAGES:\"SEND_UNSAVEABLE_MESSAGES\",SNAP_AS_MOBILE:\"SNAP_AS_MOBILE\",PRIVATE_STORIES:\"PRIVATE_STORIES\",UPLOAD_SNAPS:\"UPLOAD_SNAPS\",PREVENT_TYPING_NOTIFICATION:\"PREVENT_TYPING_NOTIFICATION\",PREVENT_TYPING:\"PREVENT_TYPING\",HIDE_BITMOJI:\"HIDE_BITMOJI\",MOBILE_BITMOJI:\"MOBILE_BITMOJI\",AUTO_SAVE_CHATS:\"AUTO_SAVE_CHATS\",SHOW_STREAKS:\"SHOW_STREAKS\",PREVENT_CHAT_READ_RECEIPTS:\"PREVENT_CHAT_READ_RECEIPTS\",UNLIMITED_FILE_SIZE:\"UNLIMITED_FILE_SIZE\",ALLOW_CROSS_TAB:\"ALLOW_CROSS_TAB\",PREVENT_STORY_READ_RECEIPTS:\"PREVENT_STORY_READ_RECEIPTS\",HALF_SWIPE_NOTIFICATION:\"HALF_SWIPE_NOTIFICATION\",OPEN_CHAT_NOTIFICATION:\"OPEN_CHAT_NOTIFICATION\",CHAT_HANDLING:\"CHAT_HANDLING\",PRESENCE_LOGGING:\"PRESENCE_LOGGING\",SETTINGS_BUTTON_LAYOUT:\"SETTINGS_BUTTON_LAYOUT\"},sr={[ce.ALLOW_SCREENSHOT]:!0,[ce.SAVE_IMAGE]:!0,[ce.ALWAYS_PRESENT]:!0,[ce.SEND_UNSAVEABLE_MESSAGES]:!1,[ce.SNAP_AS_MOBILE]:!1,[ce.PRIVATE_STORIES]:!1,[ce.UPLOAD_SNAPS]:!1,[ce.PREVENT_TYPING_NOTIFICATION]:!1,[ce.PREVENT_TYPING]:!1,[ce.HIDE_BITMOJI]:!1,[ce.MOBILE_BITMOJI]:!1,[ce.AUTO_SAVE_CHATS]:!1,[ce.SHOW_STREAKS]:!0,[ce.PREVENT_CHAT_READ_RECEIPTS]:!1,[ce.UNLIMITED_FILE_SIZE]:!1,[ce.ALLOW_CROSS_TAB]:!0,[ce.PREVENT_STORY_READ_RECEIPTS]:!1,[ce.HALF_SWIPE_NOTIFICATION]:!1,[ce.OPEN_CHAT_NOTIFICATION]:!1,[ce.BITMOJI_PRESENCE]:\"DEFAULT\",[ce.CHAT_HANDLING]:\"DEFAULT\",[ce.PRESENCE_LOGGING]:!1,[ce.SETTINGS_BUTTON_LAYOUT]:\"RIGHT\"},dl={DISCORD:\"https://discord.gg/hpmjAJZR3H\",GITHUB:\"https://github.com/dclstn/better-snapchat\",GITHUB_DCLSTN:\"https://github.com/dclstn\",BUY_ME_A_COFFEE:\"https://www.buymeacoffee.com/dclstn\"},ha={TYPING:e=>`Typing in ${e}`,IDLE:e=>`Idle in ${e}`,PEEKING:e=>`Peeked at ${e}`}});var zc=Ct((ir,ga)=>{(function(e,o){\"use strict\";var t=function(a){if(typeof a.document!=\"object\")throw new Error(\"Cookies.js requires a `window` with a `document` object\");var n=function(l,f,s){return arguments.length===1?n.get(l):n.set(l,f,s)};return n._document=a.document,n._cacheKeyPrefix=\"cookey.\",n._maxExpireDate=new Date(\"Fri, 31 Dec 9999 23:59:59 UTC\"),n.defaults={path:\"/\",secure:!1},n.get=function(l){n._cachedDocumentCookie!==n._document.cookie&&n._renewCache();var f=n._cache[n._cacheKeyPrefix+l];return f===o?o:decodeURIComponent(f)},n.set=function(l,f,s){return s=n._getExtendedOptions(s),s.expires=n._getExpiresDate(f===o?-1:s.expires),n._document.cookie=n._generateCookieString(l,f,s),n},n.expire=function(l,f){return n.set(l,o,f)},n._getExtendedOptions=function(l){return{path:l&&l.path||n.defaults.path,domain:l&&l.domain||n.defaults.domain,expires:l&&l.expires||n.defaults.expires,secure:l&&l.secure!==o?l.secure:n.defaults.secure}},n._isValidDate=function(l){return Object.prototype.toString.call(l)===\"[object Date]\"&&!isNaN(l.getTime())},n._getExpiresDate=function(l,f){if(f=f||new Date,typeof l==\"number\"?l=l===1/0?n._maxExpireDate:new Date(f.getTime()+l*1e3):typeof l==\"string\"&&(l=new Date(l)),l&&!n._isValidDate(l))throw new Error(\"`expires` parameter cannot be converted to a valid Date instance\");return l},n._generateCookieString=function(l,f,s){l=l.replace(/[^#$&+\\^`|]/g,encodeURIComponent),l=l.replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\"),f=(f+\"\").replace(/[^!#$&-+\\--:<-\\[\\]-~]/g,encodeURIComponent),s=s||{};var i=l+\"=\"+f;return i+=s.path?\";path=\"+s.path:\"\",i+=s.domain?\";domain=\"+s.domain:\"\",i+=s.expires?\";expires=\"+s.expires.toUTCString():\"\",i+=s.secure?\";secure\":\"\",i},n._getCacheFromString=function(l){for(var f={},s=l?l.split(\"; \"):[],i=0;i<s.length;i++){var m=n._getKeyValuePairFromCookieString(s[i]);f[n._cacheKeyPrefix+m.key]===o&&(f[n._cacheKeyPrefix+m.key]=m.value)}return f},n._getKeyValuePairFromCookieString=function(l){var f=l.indexOf(\"=\");f=f<0?l.length:f;var s=l.substr(0,f),i;try{i=decodeURIComponent(s)}catch(m){console&&typeof console.error==\"function\"&&console.error('Could not decode cookie with key \"'+s+'\"',m)}return{key:i,value:l.substr(f+1)}},n._renewCache=function(){n._cache=n._getCacheFromString(n._document.cookie),n._cachedDocumentCookie=n._document.cookie},n._areEnabled=function(){var l=\"cookies.js\",f=n.set(l,1).get(l)===\"1\";return n.expire(l),f},n.enabled=n._areEnabled(),n},r=e&&typeof e.document==\"object\"?t(e):t;typeof define==\"function\"&&define.amd?define(function(){return r}):typeof ir==\"object\"?(typeof ga==\"object\"&&typeof ga.exports==\"object\"&&(ir=ga.exports=r),ir.Cookies=r):e.Cookies=r})(typeof window>\"u\"?ir:window)});var ml,Wc,pl,xl,Uc=d(()=>{\"use strict\";ml=v(zc()),Wc=\"bs_\",pl=class{constructor(){this.localStorageSupport=!0;try{window.localStorage.setItem(\"local_storage_test\",\"it works!\"),window.localStorage.removeItem(\"local_storage_test\")}catch(o){this.localStorageSupport=!1}}get(o,t=Wc){let r=o;t!=null&&(r=`${t}${r}`);try{let a=this.localStorageSupport?window.localStorage.getItem(r):ml.default.get(r);return a==null?null:JSON.parse(a)}catch(a){return null}}set(o,t,r=Wc){let a=o;r!=null&&(a=`${r}${a}`);let n=JSON.stringify(t);this.localStorageSupport?window.localStorage.setItem(a,n):ml.default.set(a,t,{expires:1/0})}},xl=new pl});var Il,N,Oe=d(()=>{\"use strict\";Hc();co();Uc();Il=class{constructor(){this.eventEmitter=new Nc;let o=xl.get(\"settings\");o!=null?this.settings=new Map(Object.entries(o)):this.settings=new Map}setSetting(o,t){this.settings.get(o)!==t&&(this.settings.set(o,t),xl.set(\"settings\",Object.fromEntries(this.settings)),this.eventEmitter.emit(`${o}.setting:update`,t),this.eventEmitter.emit(\"setting:update\",o,t))}getSetting(o){let t=this.settings.get(o);return t==null?(this.setSetting(o,sr[o]),sr[o]):t}getSettings(){return Object.fromEntries(this.settings)}setSettings(o){for(let[t,r]of Object.entries(o))this.setSetting(t,r)}on(o,t){this.eventEmitter.on(o,t)}off(o,t){this.eventEmitter.off(o,t)}},N=new Il});function Vc(e,o=0){return(Te[e[o+0]]+Te[e[o+1]]+Te[e[o+2]]+Te[e[o+3]]+\"-\"+Te[e[o+4]]+Te[e[o+5]]+\"-\"+Te[e[o+6]]+Te[e[o+7]]+\"-\"+Te[e[o+8]]+Te[e[o+9]]+\"-\"+Te[e[o+10]]+Te[e[o+11]]+Te[e[o+12]]+Te[e[o+13]]+Te[e[o+14]]+Te[e[o+15]]).toLowerCase()}var Te,Gc=d(()=>{Te=[];for(let e=0;e<256;++e)Te.push((e+256).toString(16).slice(1))});function gl(){if(!hl){if(typeof crypto>\"u\"||!crypto.getRandomValues)throw new Error(\"crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported\");hl=crypto.getRandomValues.bind(crypto)}return hl(jy)}var hl,jy,$c=d(()=>{jy=new Uint8Array(16)});var Xy,bl,qc=d(()=>{Xy=typeof crypto<\"u\"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),bl={randomUUID:Xy}});function Ky(e,o,t){var a,n,l;if(bl.randomUUID&&!o&&!e)return bl.randomUUID();e=e||{};let r=(l=(n=e.random)!=null?n:(a=e.rng)==null?void 0:a.call(e))!=null?l:gl();if(r.length<16)throw new Error(\"Random bytes length must be >= 16\");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,o){if(t=t||0,t<0||t+16>o.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let f=0;f<16;++f)o[t+f]=r[f];return o}return Vc(r)}var cr,jc=d(()=>{qc();$c();Gc();cr=Ky});var vl=d(()=>{jc()});function yl(){if(ba!=null)return ba;let e=cr().replace(/-/g,\"\");return window.webpackChunk_snapchat_web_calling_app.push([[e],{[e]:(o,t,r)=>{ba=r}},o=>o(e)]),ba}function Sl(e){let o=null;for(let t of window.webpackChunk_snapchat_web_calling_app){if(!Array.isArray(t))continue;let[,r]=t;for(let a of Object.keys(r)){let n=r[a],l=n==null?void 0:n.toString();if(!(l==null||!e(l,a))){o=a;break}}if(o!=null)break}return o}function Be(){if(va!=null)return va;let e=yl(),o=Sl(r=>r.includes(\"broadcastTypingActivity\"));if(e==null||o==null)return null;let t=e(o);return va=Object.values(t).find(r=>r.getState!=null&&r.setState!=null),va}function Xc(){if(ya!=null)return ya;let e=yl(),o=Sl(r=>r.includes(\"cof_targeting_query_attempt\"));if(e==null||o==null)return null;let t=e(o);return ya=Object.values(t).find(r=>r.getState!=null&&r.setState!=null),ya}function Cl(){let e=yl(),o=Sl(a=>a.includes(\"SNAPCHAT_WEB_APP\"));if(e==null||o==null)return null;let t=e(o);return Object.values(t).find(a=>a.SNAPCHAT_WEB_APP!=null&&a.SNAPCHAT_WEB_APP!=null)}async function Sa(e,o=!0){let{fetchPublicInfo:t,publicUsers:r}=Be().getState().user;if(t==null||r==null)return null;let a=r.entries().find(([{str:n}])=>n===e);if(a==null&&o){let n=Yy(e);return await t([n]),Sa(e,!1)}return a!=null?a[1]:null}function Yy(e){let o=e.replace(/-/g,\"\"),t=new Uint8Array(16);for(let r=0;r<16;r++)t[r]=parseInt(o.slice(r*2,r*2+2),16);return{id:t,str:e}}function Kc(e){let{conversations:o}=Be().getState().messaging;return o==null?null:o[e]}var ba,va,ya,ro=d(()=>{\"use strict\";vl();ba=null;va=null;ya=null});var te,je=d(()=>{\"use strict\";pa();te=class{constructor(o){this.name=o;try{this.load(),Qo(`Loaded: ${this.name}`)}catch(t){Rc(`Error loading module ${this.name}:`,t)}}load(){throw new Error(\"load() method must be implemented in subclass\")}}});var Fl={};Z(Fl,{default:()=>Jy});var Jc,eu,Qy,wl,ur,Yc,Zc,Qc,_l,Jy,ou=d(()=>{\"use strict\";Jc=v(Ac()),eu=v(Dc());Oe();co();ro();je();Qy=500,wl=Be(),ur=null,Yc=null,Zc=null,Qc=(0,eu.default)((e,o)=>{let{updateMessage:t}=wl.getState().messaging;t(e,o,3)},Qy,{leading:!1,trailing:!0}),_l=class extends te{constructor(){super(\"Auto Save Messages\"),N.on(\"CHAT_HANDLING.setting:update\",this.load.bind(this))}load(){let t=N.getSetting(\"CHAT_HANDLING\")===\"AUTO_SAVE\";!t&&ur!=null&&(ur(),ur=null),t&&ur==null&&(this.saveActiveConversationMessages(),ur=wl.subscribe(r=>r.messaging.conversations,this.saveActiveConversationMessages.bind(this)))}saveActiveConversationMessages(o){if(o=o!=null?o:wl.getState().messaging.conversations,o==null)return;let t=Object.entries(o).find(([,f])=>f.isActive);if(t==null)return;let[r,a]=t,n=Array.from(a.messages);if(r===Yc&&(0,Jc.default)(n,Zc))return;Yc=r,Zc=n;let{conversation:{conversationId:l}}=a;Qc.cancel();for(let[f,s]of n)if(!(s.metadata.savedBy.length>0))try{Qc(l,f)}catch(i){}}},Jy=new _l});var Al={};Z(Al,{default:()=>eS});var Rl,dr,Ca,Bl,eS,ru=d(()=>{\"use strict\";co();Oe();je();ro();Rl=Be(),dr=null,Ca=null,Bl=class extends te{constructor(){super(\"Bitmoji Hide\"),Rl.subscribe(o=>o.talk,this.load.bind(this)),N.on(\"BITMOJI_PRESENCE.setting:update\",()=>this.load())}load(o){if(o=o!=null?o:Rl.getState().talk,(o==null?void 0:o.client)==null)return;let r=N.getSetting(\"BITMOJI_PRESENCE\")===\"HIDE\",a={};r&&o.client.createPresenceSession!==Ca&&(dr=o.client.createPresenceSession,Ca=new Proxy(dr,{apply:function(n,l,f){let s=Reflect.apply(n,l,f);return s.activate=()=>{},s}}),a.createPresenceSession=Ca),!r&&dr!=null&&(a.createPresenceSession=dr,dr=null,Ca=null),Object.keys(a).length!==0&&Rl.setState({talk:g(u({},o),{client:u(u({},o.client),a)})})}},eS=new Bl});function au(e,o){for(let t=0;t<=e.length-o.length;t++){let r=!0;for(let a=0;a<o.length;a++)if(e[t+a]!==o[a]){r=!1;break}if(r)return!0}return!1}var nu=d(()=>{\"use strict\"});var El={};Z(El,{default:()=>rS});function tS(e){for(let o=0;o<e.length-1;o++)e[o]===64&&e[o+1]===2&&(e[o+1]=1);return e}var wt,oS,Pl,rS,lu=d(()=>{\"use strict\";co();Oe();nu();je();wt=null,oS=new Uint8Array([112,114,101,115,101,110,99,101]);Pl=class extends te{constructor(){super(\"Bitmoji Mobile\"),N.on(\"BITMOJI_PRESENCE.setting:update\",this.load)}load(){let t=N.getSetting(\"BITMOJI_PRESENCE\")===\"MOBILE\";t&&wt==null&&(wt=Uint8Array.prototype.slice,Uint8Array.prototype.slice=new Proxy(wt,{apply:function(r,a,n){return au(a,oS)&&(a=tS(a)),Reflect.apply(r,a,n)}})),!t&&wt!=null&&(Uint8Array.prototype.slice=wt,wt=null)}},rS=new Pl});var Dl={};Z(Dl,{default:()=>aS});var Ml,wa,fu,Tl,aS,su=d(()=>{\"use strict\";Oe();je();ro();Ml=Be(),wa=null,fu=()=>{},Tl=class extends te{constructor(){super(\"Bitmoji Typing Notification\"),Ml.subscribe(o=>o.messaging,this.load),N.on(\"PREVENT_TYPING_NOTIFICATION.setting:update\",()=>this.load())}load(o){if(o=o!=null?o:Ml.getState().messaging,o==null)return;let t=N.getSetting(\"PREVENT_TYPING_NOTIFICATION\"),r={};t&&o.sendTypingNotification!==fu&&(wa=o.sendTypingNotification,r.sendTypingNotification=fu),!t&&wa!=null&&(r.sendTypingNotification=wa,wa=null),Object.keys(r).length!==0&&Ml.setState({messaging:u(u({},o),r)})}},aS=new Tl});var Ol={};Z(Ol,{default:()=>nS});var Ll,mr,_a,kl,nS,iu=d(()=>{\"use strict\";Oe();je();ro();Ll=Xc(),mr=null,_a=null,kl=class extends te{constructor(){super(\"Condition Onset Flags\"),Ll.subscribe(({getClientCofValue:o})=>o,this.load.bind(this)),N.on(\"SNAP_AS_MOBILE.setting:update\",this.load.bind(this)),N.on(\"PRIVATE_STORIES.setting:update\",this.load.bind(this))}load(){let o=Ll.getState();if((o==null?void 0:o.getClientCofValue)==null)return;let t=N.getSetting(\"SNAP_AS_MOBILE\"),r=N.getSetting(\"PRIVATE_STORIES\"),a=t||r,n={};a&&o.getClientCofValue!==_a&&(mr=o.getClientCofValue,_a=new Proxy(mr,{apply(l,f,s){let i=Reflect.apply(l,f,s);if(s.length===0||s[0]==null)return i;let[m]=s;return N.getSetting(\"SNAP_AS_MOBILE\")&&m===\"DWEB_SNAP_SENDING_CONTEXT\"?!0:N.getSetting(\"PRIVATE_STORIES\")&&m===\"DWEB_PRIVATE_STORIES_VIEWING\"?{value:\"enabled\"}:i}}),n.getClientCofValue=_a),!a&&mr!=null&&(n.getClientCofValue=mr,mr=null,_a=null),Object.keys(n).length!==0&&Ll.setState(n)}},nS=new kl});var Hl={};Z(Hl,{default:()=>lS});var pr,Nl,lS,cu=d(()=>{\"use strict\";Oe();je();pr=null,Nl=class extends te{constructor(){super(\"Media Restrictions\"),N.on(\"UNLIMITED_FILE_SIZE.setting:update\",this.load)}load(){let o=N.getSetting(\"UNLIMITED_FILE_SIZE\");o&&pr==null&&(pr=window.File.prototype,Object.defineProperty(window.File.prototype,\"size\",{get:()=>500})),!o&&pr!=null&&(window.File.prototype=pr,pr=null)}},lS=new Nl});var uu,du=d(()=>{\"use strict\";uu=\"div>img{user-select:none;pointer-events:unset!important}div>img:hover{cursor:pointer}div video{user-select:none;pointer-events:unset!important}div video:hover{cursor:pointer}div:has(video):has(img)>img{pointer-events:none!important}\"});var Wl={};Z(Wl,{default:()=>fS});function mu(e){e.stopImmediatePropagation()}var Fa,Jo,zl,fS,pu=d(()=>{\"use strict\";Oe();je();du();Fa=!1;Jo=null,zl=class extends te{constructor(){super(\"Media Saving\"),N.on(\"SAVE_IMAGE.setting:update\",this.load)}load(){let o=N.getSetting(\"SAVE_IMAGE\");!Fa&&o&&(Fa=!0,window.addEventListener(\"contextmenu\",mu,!0)),Fa&&!o&&(Fa=!1,window.removeEventListener(\"contextmenu\",mu,!0)),Jo!=null&&!o&&(Jo.remove(),Jo=null),Jo==null&&o&&(Jo=document.createElement(\"style\"),Jo.textContent=uu,document.head.appendChild(Jo))}},fS=new zl});var Gl={};Z(Gl,{default:()=>cS});function sS(e){return e=e.slice(2),e[0]=90,e}function iS(e){return new Proxy(e,{get(o,t,r){return t!==\"sendMessageWithContent\"?Reflect.get(o,t,r):new Proxy(o[t],{apply(a,n,l){let[,f]=l;return N.getSetting(\"UPLOAD_SNAPS\")&&f.contentType===3&&(f.contentType=1,f.savePolicy=2,f.platformAnalytics.metricsMessageType=3,f.content=sS(f.content)),N.getSetting(\"SEND_UNSAVEABLE_MESSAGES\")&&(f.savePolicy=0),Reflect.apply(a,n,l)}})}})}var Ul,xr,Ra,Vl,cS,xu=d(()=>{\"use strict\";Oe();je();ro();Ul=Be();xr=null,Ra=null;Vl=class extends te{constructor(){super(\"Message Content\"),Ul.subscribe(o=>o.messaging,this.load.bind(this)),N.on(\"UPLOAD_SNAPS.setting:update\",()=>this.load()),N.on(\"SEND_UNSAVEABLE_MESSAGES.setting:update\",()=>this.load())}load(){let o=Ul.getState().messaging;if((o==null?void 0:o.client)==null)return;let t=N.getSetting(\"UPLOAD_SNAPS\"),r=N.getSetting(\"SEND_UNSAVEABLE_MESSAGES\"),a=t||r,n={};!a&&xr!=null&&(n.getConversationManager=xr,xr=null,Ra=null),a&&o.client.getConversationManager!==Ra&&(xr=o.client.getConversationManager,Ra=new Proxy(xr,{apply:(l,f,s)=>{let i=Reflect.apply(l,f,s);return iS(i)}}),n.getConversationManager=Ra),Object.keys(n).length!==0&&Ul.setState({messaging:g(u({},o),{client:u(u({},o.client),n)})})}},cS=new Vl});var jl={};Z(jl,{default:()=>uS});var Ba,Aa,Pa,Iu,hu,gu,$l,ql,uS,bu=d(()=>{\"use strict\";Oe();je();ro();Ba=null,Aa=null,Pa=null,Iu=()=>{},hu=()=>{},gu=()=>{},$l=Be(),ql=class extends te{constructor(){super(\"Presence Detection\"),$l.subscribe(o=>o.presence,this.load),N.on(\"ALWAYS_PRESENT.setting:update\",()=>this.load()),N.on(\"ALLOW_SCREENSHOT.setting:update\",()=>this.load()),N.on(\"PREVENT_TYPING.setting:update\",()=>this.load())}load(o){if(o=o!=null?o:$l.getState().presence,o==null)return;let t=N.getSetting(\"ALWAYS_PRESENT\"),r=N.getSetting(\"ALLOW_SCREENSHOT\"),a=N.getSetting(\"PREVENT_TYPING\"),n={};t&&o.setAwayState!==Iu&&(Ba=o.setAwayState,n.setAwayState=Iu,n.awayState=0),!t&&Ba!=null&&(n.setAwayState=Ba,Ba=null),r&&o.setScreenshotDetected!==hu&&(Aa=o.setScreenshotDetected,n.setScreenshotDetected=hu,n.screenshotDetected=!1),!r&&Aa!=null&&(n.setScreenshotDetected=Aa,Aa=null),a&&o.broadcastTypingActivity!==gu&&(Pa=o.broadcastTypingActivity,n.broadcastTypingActivity=gu),!a&&Pa!=null&&(n.broadcastTypingActivity=Pa,Pa=null),Object.keys(n).length!==0&&$l.setState({presence:u(u({},o),n)})}},uS=new ql});var Zl={};Z(Zl,{default:()=>pS});function dS({user:e,presenceState:o,conversation:t,conversationId:r}){var h;let{username:a,bitmoji_avatar_id:n,bitmoji_selfie_id:l,display_name:f}=e,s=(h=t==null?void 0:t.title)!=null?h:\"your Chat\",i=`/web/${r}`,m=ha[o](s),c;l!=null&&n!=null?c=`https://sdk.bitmoji.com/render/panel/${l}-${n}-v1.webp?transparent=1&trim=circle&scale=1`:n!=null&&(c=`https://sdk.bitmoji.com/render/panel/${n}-v1.webp?transparent=1&trim=circle&scale=1`);let x={body:m,icon:c,data:{url:i}},I=new Notification(f!=null?f:a,x);return I.addEventListener(\"click\",b=>{b.preventDefault(),window.focus(),window.history.pushState({},\"\",i),window.dispatchEvent(new PopStateEvent(\"popstate\")),I.close()},{once:!0}),I}async function mS(e){var r,a,n,l;let o=N.getSetting(\"HALF_SWIPE_NOTIFICATION\"),t=N.getSetting(\"PRESENCE_LOGGING\");for(let[f,{peekingParticipants:s,typingParticipants:i}]of e.entries()){let m=(r=Kc(f))==null?void 0:r.conversation,c=(a=m==null?void 0:m.title)!=null?a:\"your Chat\";for(let x of s){let I=await Sa(x),h=vu(x,f),b=hr.get(h);if(t){let S=ha.PEEKING(c);Qo(`${(n=I.display_name)!=null?n:I.username}:`,S)}b!==\"PEEKING\"&&(o&&dS({user:I,conversation:m,conversationId:f,presenceState:\"PEEKING\"}),hr.set(h,\"PEEKING\"))}for(let{userId:x,typingState:I}of i){let h=await Sa(x),b=I===1?\"TYPING\":\"IDLE\",S=vu(x,f),w=hr.get(S);if(t){let F=ha[b](c);Qo(`${(l=h.display_name)!=null?l:h.username}:`,F)}w!==b&&hr.set(S,b)}}}var Xl,Ir,Kl,hr,vu,Yl,pS,yu=d(()=>{\"use strict\";Oe();je();ro();pa();co();Xl=Be(),Ir=null,Kl=null;hr=new Map,vu=(e,o)=>`${e}:${o!=null?o:\"direct\"}`;Yl=class extends te{constructor(){super(\"Presence Logging\"),Xl.subscribe(o=>o.presence,this.load),N.on(\"PRESENCE_LOGGING.setting:update\",()=>this.load()),N.on(\"HALF_SWIPE_NOTIFICATION.setting:update\",()=>this.load())}load(o){if(o=o!=null?o:Xl.getState().presence,o==null)return;let t=N.getSetting(\"HALF_SWIPE_NOTIFICATION\"),r=N.getSetting(\"PRESENCE_LOGGING\"),a=t||r,n={};a&&o.onActiveConversationInfoUpdated!==Kl&&(Ir=o.onActiveConversationInfoUpdated,Kl=new Proxy(Ir,{apply(l,f,[s,...i]){return mS(s),Reflect.apply(l,f,[s,...i])}}),n.onActiveConversationInfoUpdated=Kl),!a&&Ir!=null&&(n.onActiveConversationInfoUpdated=Ir,Ir=null,hr.clear()),Object.keys(n).length!==0&&Xl.setState({presence:u(u({},o),n)})}},pS=new Yl});var Jl={};Z(Jl,{default:()=>xS});var _t,Ql,xS,Su=d(()=>{\"use strict\";Oe();je();ro();_t=null,Ql=class extends te{constructor(){super(\"Provenance Constants\"),N.on(\"SNAP_AS_MOBILE.setting:update\",this.load)}load(){let o=N.getSetting(\"SNAP_AS_MOBILE\");if(o&&_t==null){let t=Cl();_t=t.SNAPCHAT_WEB_APP,t.SNAPCHAT_WEB_APP=0,t[0]=\"SNAPCHAT_WEB_APP\"}if(!o&&_t!=null){let t=Cl();t.SNAPCHAT_WEB_APP=_t,t[_t]=\"SNAPCHAT_WEB_APP\",_t=null}}},xS=new Ql});var Wu={};Z(Wu,{Component:()=>br,Fragment:()=>we,cloneElement:()=>SS,createContext:()=>CS,createElement:()=>Ta,createRef:()=>hS,h:()=>Ta,hydrate:()=>zu,isValidElement:()=>Ru,options:()=>oe,render:()=>Da,toChildArray:()=>ku});function uo(e,o){for(var t in o)e[t]=o[t];return e}function af(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Ta(e,o,t){var r,a,n,l={};for(n in o)n==\"key\"?r=o[n]:n==\"ref\"?a=o[n]:l[n]=o[n];if(arguments.length>2&&(l.children=arguments.length>3?yr.call(arguments,2):t),typeof e==\"function\"&&e.defaultProps!=null)for(n in e.defaultProps)l[n]===void 0&&(l[n]=e.defaultProps[n]);return gr(e,l,r,a,null)}function gr(e,o,t,r,a){var n={type:e,props:o,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:a==null?++Fu:a,__i:-1,__u:0};return a==null&&oe.vnode!=null&&oe.vnode(n),n}function hS(){return{current:null}}function we(e){return e.children}function br(e,o){this.props=e,this.context=o}function Ft(e,o){if(o==null)return e.__?Ft(e.__,e.__i+1):null;for(var t;o<e.__k.length;o++)if((t=e.__k[o])!=null&&t.__e!=null)return t.__e;return typeof e.type==\"function\"?Ft(e):null}function Tu(e){var o,t;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,o=0;o<e.__k.length;o++)if((t=e.__k[o])!=null&&t.__e!=null){e.__e=e.__c.base=t.__e;break}return Tu(e)}}function tf(e){(!e.__d&&(e.__d=!0)&&et.push(e)&&!Ma.__r++||Cu!==oe.debounceRendering)&&((Cu=oe.debounceRendering)||Bu)(Ma)}function Ma(){for(var e,o,t,r,a,n,l,f=1;et.length;)et.length>f&&et.sort(Au),e=et.shift(),f=et.length,e.__d&&(t=void 0,a=(r=(o=e).__v).__e,n=[],l=[],o.__P&&((t=uo({},r)).__v=r.__v+1,oe.vnode&&oe.vnode(t),nf(o.__P,t,r,o.__n,o.__P.namespaceURI,32&r.__u?[a]:null,n,a==null?Ft(r):a,!!(32&r.__u),l),t.__v=r.__v,t.__.__k[t.__i]=t,Ou(n,t,l),t.__e!=a&&Tu(t)));Ma.__r=0}function Du(e,o,t,r,a,n,l,f,s,i,m){var c,x,I,h,b,S,w=r&&r.__k||Mu,F=o.length;for(s=gS(t,o,w,s,F),c=0;c<F;c++)(I=t.__k[c])!=null&&(x=I.__i===-1?vr:w[I.__i]||vr,I.__i=c,S=nf(e,I,x,a,n,l,f,s,i,m),h=I.__e,I.ref&&x.ref!=I.ref&&(x.ref&&lf(x.ref,null,I),m.push(I.ref,I.__c||h,I)),b==null&&h!=null&&(b=h),4&I.__u||x.__k===I.__k?s=Lu(I,s,e):typeof I.type==\"function\"&&S!==void 0?s=S:h&&(s=h.nextSibling),I.__u&=-7);return t.__e=b,s}function gS(e,o,t,r,a){var n,l,f,s,i,m=t.length,c=m,x=0;for(e.__k=new Array(a),n=0;n<a;n++)(l=o[n])!=null&&typeof l!=\"boolean\"&&typeof l!=\"function\"?(s=n+x,(l=e.__k[n]=typeof l==\"string\"||typeof l==\"number\"||typeof l==\"bigint\"||l.constructor==String?gr(null,l,null,null,null):Sr(l)?gr(we,{children:l},null,null,null):l.constructor===void 0&&l.__b>0?gr(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):l).__=e,l.__b=e.__b+1,f=null,(i=l.__i=bS(l,t,s,c))!==-1&&(c--,(f=t[i])&&(f.__u|=2)),f==null||f.__v===null?(i==-1&&(a>m?x--:a<m&&x++),typeof l.type!=\"function\"&&(l.__u|=4)):i!=s&&(i==s-1?x--:i==s+1?x++:(i>s?x--:x++,l.__u|=4))):e.__k[n]=null;if(c)for(n=0;n<m;n++)(f=t[n])!=null&&(2&f.__u)==0&&(f.__e==r&&(r=Ft(f)),Hu(f,f));return r}function Lu(e,o,t){var r,a;if(typeof e.type==\"function\"){for(r=e.__k,a=0;r&&a<r.length;a++)r[a]&&(r[a].__=e,o=Lu(r[a],o,t));return o}e.__e!=o&&(o&&e.type&&!t.contains(o)&&(o=Ft(e)),t.insertBefore(e.__e,o||null),o=e.__e);do o=o&&o.nextSibling;while(o!=null&&o.nodeType==8);return o}function ku(e,o){return o=o||[],e==null||typeof e==\"boolean\"||(Sr(e)?e.some(function(t){ku(t,o)}):o.push(e)),o}function bS(e,o,t,r){var a,n,l=e.key,f=e.type,s=o[t];if(s===null&&e.key==null||s&&l==s.key&&f===s.type&&(2&s.__u)==0)return t;if(r>(s!=null&&(2&s.__u)==0?1:0))for(a=t-1,n=t+1;a>=0||n<o.length;){if(a>=0){if((s=o[a])&&(2&s.__u)==0&&l==s.key&&f===s.type)return a;a--}if(n<o.length){if((s=o[n])&&(2&s.__u)==0&&l==s.key&&f===s.type)return n;n++}}return-1}function wu(e,o,t){o[0]==\"-\"?e.setProperty(o,t==null?\"\":t):e[o]=t==null?\"\":typeof t!=\"number\"||IS.test(o)?t:t+\"px\"}function Ea(e,o,t,r,a){var n;e:if(o==\"style\")if(typeof t==\"string\")e.style.cssText=t;else{if(typeof r==\"string\"&&(e.style.cssText=r=\"\"),r)for(o in r)t&&o in t||wu(e.style,o,\"\");if(t)for(o in t)r&&t[o]===r[o]||wu(e.style,o,t[o])}else if(o[0]==\"o\"&&o[1]==\"n\")n=o!=(o=o.replace(Pu,\"$1\")),o=o.toLowerCase()in e||o==\"onFocusOut\"||o==\"onFocusIn\"?o.toLowerCase().slice(2):o.slice(2),e.l||(e.l={}),e.l[o+n]=t,t?r?t.t=r.t:(t.t=rf,e.addEventListener(o,n?of:ef,n)):e.removeEventListener(o,n?of:ef,n);else{if(a==\"http://www.w3.org/2000/svg\")o=o.replace(/xlink(H|:h)/,\"h\").replace(/sName$/,\"s\");else if(o!=\"width\"&&o!=\"height\"&&o!=\"href\"&&o!=\"list\"&&o!=\"form\"&&o!=\"tabIndex\"&&o!=\"download\"&&o!=\"rowSpan\"&&o!=\"colSpan\"&&o!=\"role\"&&o!=\"popover\"&&o in e)try{e[o]=t==null?\"\":t;break e}catch(l){}typeof t==\"function\"||(t==null||t===!1&&o[4]!=\"-\"?e.removeAttribute(o):e.setAttribute(o,o==\"popover\"&&t==1?\"\":t))}}function _u(e){return function(o){if(this.l){var t=this.l[o.type+e];if(o.u==null)o.u=rf++;else if(o.u<t.t)return;return t(oe.event?oe.event(o):o)}}}function nf(e,o,t,r,a,n,l,f,s,i){var m,c,x,I,h,b,S,w,F,B,P,D,O,A,E,T,U,V=o.type;if(o.constructor!==void 0)return null;128&t.__u&&(s=!!(32&t.__u),n=[f=o.__e=t.__e]),(m=oe.__b)&&m(o);e:if(typeof V==\"function\")try{if(w=o.props,F=\"prototype\"in V&&V.prototype.render,B=(m=V.contextType)&&r[m.__c],P=m?B?B.props.value:m.__:r,t.__c?S=(c=o.__c=t.__c).__=c.__E:(F?o.__c=c=new V(w,P):(o.__c=c=new br(w,P),c.constructor=V,c.render=yS),B&&B.sub(c),c.props=w,c.state||(c.state={}),c.context=P,c.__n=r,x=c.__d=!0,c.__h=[],c._sb=[]),F&&c.__s==null&&(c.__s=c.state),F&&V.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=uo({},c.__s)),uo(c.__s,V.getDerivedStateFromProps(w,c.__s))),I=c.props,h=c.state,c.__v=o,x)F&&V.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),F&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(F&&V.getDerivedStateFromProps==null&&w!==I&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(w,P),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(w,c.__s,P)===!1||o.__v==t.__v)){for(o.__v!=t.__v&&(c.props=w,c.state=c.__s,c.__d=!1),o.__e=t.__e,o.__k=t.__k,o.__k.some(function($){$&&($.__=o)}),D=0;D<c._sb.length;D++)c.__h.push(c._sb[D]);c._sb=[],c.__h.length&&l.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(w,c.__s,P),F&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(I,h,b)})}if(c.context=P,c.props=w,c.__P=e,c.__e=!1,O=oe.__r,A=0,F){for(c.state=c.__s,c.__d=!1,O&&O(o),m=c.render(c.props,c.state,c.context),E=0;E<c._sb.length;E++)c.__h.push(c._sb[E]);c._sb=[]}else do c.__d=!1,O&&O(o),m=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++A<25);c.state=c.__s,c.getChildContext!=null&&(r=uo(uo({},r),c.getChildContext())),F&&!x&&c.getSnapshotBeforeUpdate!=null&&(b=c.getSnapshotBeforeUpdate(I,h)),T=m,m!=null&&m.type===we&&m.key==null&&(T=Nu(m.props.children)),f=Du(e,Sr(T)?T:[T],o,t,r,a,n,l,f,s,i),c.base=o.__e,o.__u&=-161,c.__h.length&&l.push(c),S&&(c.__E=c.__=null)}catch($){if(o.__v=null,s||n!=null)if($.then){for(o.__u|=s?160:128;f&&f.nodeType==8&&f.nextSibling;)f=f.nextSibling;n[n.indexOf(f)]=null,o.__e=f}else for(U=n.length;U--;)af(n[U]);else o.__e=t.__e,o.__k=t.__k;oe.__e($,o,t)}else n==null&&o.__v==t.__v?(o.__k=t.__k,o.__e=t.__e):f=o.__e=vS(t.__e,o,t,r,a,n,l,s,i);return(m=oe.diffed)&&m(o),128&o.__u?void 0:f}function Ou(e,o,t){for(var r=0;r<t.length;r++)lf(t[r],t[++r],t[++r]);oe.__c&&oe.__c(o,e),e.some(function(a){try{e=a.__h,a.__h=[],e.some(function(n){n.call(a)})}catch(n){oe.__e(n,a.__v)}})}function Nu(e){return typeof e!=\"object\"||e==null?e:Sr(e)?e.map(Nu):uo({},e)}function vS(e,o,t,r,a,n,l,f,s){var i,m,c,x,I,h,b,S=t.props,w=o.props,F=o.type;if(F==\"svg\"?a=\"http://www.w3.org/2000/svg\":F==\"math\"?a=\"http://www.w3.org/1998/Math/MathML\":a||(a=\"http://www.w3.org/1999/xhtml\"),n!=null){for(i=0;i<n.length;i++)if((I=n[i])&&\"setAttribute\"in I==!!F&&(F?I.localName==F:I.nodeType==3)){e=I,n[i]=null;break}}if(e==null){if(F==null)return document.createTextNode(w);e=document.createElementNS(a,F,w.is&&w),f&&(oe.__m&&oe.__m(o,n),f=!1),n=null}if(F===null)S===w||f&&e.data===w||(e.data=w);else{if(n=n&&yr.call(e.childNodes),S=t.props||vr,!f&&n!=null)for(S={},i=0;i<e.attributes.length;i++)S[(I=e.attributes[i]).name]=I.value;for(i in S)if(I=S[i],i!=\"children\"){if(i==\"dangerouslySetInnerHTML\")c=I;else if(!(i in w)){if(i==\"value\"&&\"defaultValue\"in w||i==\"checked\"&&\"defaultChecked\"in w)continue;Ea(e,i,null,I,a)}}for(i in w)I=w[i],i==\"children\"?x=I:i==\"dangerouslySetInnerHTML\"?m=I:i==\"value\"?h=I:i==\"checked\"?b=I:f&&typeof I!=\"function\"||S[i]===I||Ea(e,i,I,S[i],a);if(m)f||c&&(m.__html===c.__html||m.__html===e.innerHTML)||(e.innerHTML=m.__html),o.__k=[];else if(c&&(e.innerHTML=\"\"),Du(o.type===\"template\"?e.content:e,Sr(x)?x:[x],o,t,r,F==\"foreignObject\"?\"http://www.w3.org/1999/xhtml\":a,n,l,n?n[0]:t.__k&&Ft(t,0),f,s),n!=null)for(i=n.length;i--;)af(n[i]);f||(i=\"value\",F==\"progress\"&&h==null?e.removeAttribute(\"value\"):h!==void 0&&(h!==e[i]||F==\"progress\"&&!h||F==\"option\"&&h!==S[i])&&Ea(e,i,h,S[i],a),i=\"checked\",b!==void 0&&b!==e[i]&&Ea(e,i,b,S[i],a))}return e}function lf(e,o,t){try{if(typeof e==\"function\"){var r=typeof e.__u==\"function\";r&&e.__u(),r&&o==null||(e.__u=e(o))}else e.current=o}catch(a){oe.__e(a,t)}}function Hu(e,o,t){var r,a;if(oe.unmount&&oe.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||lf(r,null,o)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){oe.__e(n,o)}r.base=r.__P=null}if(r=e.__k)for(a=0;a<r.length;a++)r[a]&&Hu(r[a],o,t||typeof e.type!=\"function\");t||af(e.__e),e.__c=e.__=e.__e=void 0}function yS(e,o,t){return this.constructor(e,t)}function Da(e,o,t){var r,a,n,l;o==document&&(o=document.documentElement),oe.__&&oe.__(e,o),a=(r=typeof t==\"function\")?null:t&&t.__k||o.__k,n=[],l=[],nf(o,e=(!r&&t||o).__k=Ta(we,null,[e]),a||vr,vr,o.namespaceURI,!r&&t?[t]:a?null:o.firstChild?yr.call(o.childNodes):null,n,!r&&t?t:a?a.__e:o.firstChild,r,l),Ou(n,e,l)}function zu(e,o){Da(e,o,zu)}function SS(e,o,t){var r,a,n,l,f=uo({},e.props);for(n in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),o)n==\"key\"?r=o[n]:n==\"ref\"?a=o[n]:f[n]=o[n]===void 0&&l!==void 0?l[n]:o[n];return arguments.length>2&&(f.children=arguments.length>3?yr.call(arguments,2):t),gr(e.type,f,r||e.key,a||e.ref,null)}function CS(e){function o(t){var r,a;return this.getChildContext||(r=new Set,(a={})[o.__c]=this,this.getChildContext=function(){return a},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&r.forEach(function(l){l.__e=!0,tf(l)})},this.sub=function(n){r.add(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){r&&r.delete(n),l&&l.call(n)}}),t.children}return o.__c=\"__cC\"+Eu++,o.__=e,o.Provider=o.__l=(o.Consumer=function(t,r){return t.children(r)}).contextType=o,o}var yr,oe,Fu,Ru,et,Cu,Bu,Au,Pu,rf,ef,of,Eu,vr,Mu,IS,Sr,Rt=d(()=>{vr={},Mu=[],IS=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Sr=Array.isArray;yr=Mu.slice,oe={__e:function(e,o,t,r){for(var a,n,l;o=o.__;)if((a=o.__c)&&!a.__)try{if((n=a.constructor)&&n.getDerivedStateFromError!=null&&(a.setState(n.getDerivedStateFromError(e)),l=a.__d),a.componentDidCatch!=null&&(a.componentDidCatch(e,r||{}),l=a.__d),l)return a.__E=a}catch(f){e=f}throw e}},Fu=0,Ru=function(e){return e!=null&&e.constructor==null},br.prototype.setState=function(e,o){var t;t=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=uo({},this.state),typeof e==\"function\"&&(e=e(uo({},t),this.props)),e&&uo(t,e),e!=null&&this.__v&&(o&&this._sb.push(o),tf(this))},br.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),tf(this))},br.prototype.render=we,et=[],Bu=typeof Promise==\"function\"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Au=function(e,o){return e.__v.__b-o.__v.__b},Ma.__r=0,Pu=/(PointerCapture)$|Capture$/i,rf=0,ef=_u(!1),of=_u(!0),Eu=0});function Uu(){return`${String.fromCharCode(Math.floor(Math.random()*26)+97)}${cr()}`}var Vu=d(()=>{\"use strict\";vl()});var rd={};Z(rd,{useCallback:()=>RS,useContext:()=>BS,useDebugValue:()=>AS,useEffect:()=>wS,useErrorBoundary:()=>PS,useId:()=>ES,useImperativeHandle:()=>FS,useLayoutEffect:()=>od,useMemo:()=>cf,useReducer:()=>ed,useRef:()=>_S,useState:()=>Ju});function ot(e,o){pe.__h&&pe.__h(fe,e,Bt||o),Bt=0;var t=fe.__H||(fe.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function Ju(e){return Bt=1,ed(td,e)}function ed(e,o,t){var r=ot(wo++,2);if(r.t=e,!r.__c&&(r.__=[t?t(o):td(void 0,o),function(f){var s=r.__N?r.__N[0]:r.__[0],i=r.t(s,f);s!==i&&(r.__N=[i,r.__[1]],r.__c.setState({}))}],r.__c=fe,!fe.__f)){var a=function(f,s,i){if(!r.__c.__H)return!0;var m=r.__c.__H.__.filter(function(x){return!!x.__c});if(m.every(function(x){return!x.__N}))return!n||n.call(this,f,s,i);var c=r.__c.props!==f;return m.forEach(function(x){if(x.__N){var I=x.__[0];x.__=x.__N,x.__N=void 0,I!==x.__[0]&&(c=!0)}}),n&&n.call(this,f,s,i)||c};fe.__f=!0;var n=fe.shouldComponentUpdate,l=fe.componentWillUpdate;fe.componentWillUpdate=function(f,s,i){if(this.__e){var m=n;n=void 0,a(f,s,i),n=m}l&&l.call(this,f,s,i)},fe.shouldComponentUpdate=a}return r.__N||r.__}function wS(e,o){var t=ot(wo++,3);!pe.__s&&uf(t.__H,o)&&(t.__=e,t.u=o,fe.__H.__h.push(t))}function od(e,o){var t=ot(wo++,4);!pe.__s&&uf(t.__H,o)&&(t.__=e,t.u=o,fe.__h.push(t))}function _S(e){return Bt=5,cf(function(){return{current:e}},[])}function FS(e,o,t){Bt=6,od(function(){if(typeof e==\"function\"){var r=e(o());return function(){e(null),r&&typeof r==\"function\"&&r()}}if(e)return e.current=o(),function(){return e.current=null}},t==null?t:t.concat(e))}function cf(e,o){var t=ot(wo++,7);return uf(t.__H,o)&&(t.__=e(),t.__H=o,t.__h=e),t.__}function RS(e,o){return Bt=8,cf(function(){return e},o)}function BS(e){var o=fe.context[e.__c],t=ot(wo++,9);return t.c=e,o?(t.__==null&&(t.__=!0,o.sub(fe)),o.props.value):e.__}function AS(e,o){pe.useDebugValue&&pe.useDebugValue(o?o(e):e)}function PS(e){var o=ot(wo++,10),t=Ju();return o.__=e,fe.componentDidCatch||(fe.componentDidCatch=function(r,a){o.__&&o.__(r,a),t[1](r)}),[t[0],function(){t[1](void 0)}]}function ES(){var e=ot(wo++,11);if(!e.__){for(var o=fe.__v;o!==null&&!o.__m&&o.__!==null;)o=o.__;var t=o.__m||(o.__m=[0,0]);e.__=\"P\"+t[0]+\"-\"+t[1]++}return e.__}function MS(){for(var e;e=Qu.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(La),e.__H.__h.forEach(sf),e.__H.__h=[]}catch(o){e.__H.__h=[],pe.__e(o,e.__v)}}function TS(e){var o,t=function(){clearTimeout(r),Zu&&cancelAnimationFrame(o),setTimeout(e)},r=setTimeout(t,100);Zu&&(o=requestAnimationFrame(t))}function La(e){var o=fe,t=e.__c;typeof t==\"function\"&&(e.__c=void 0,t()),fe=o}function sf(e){var o=fe;e.__c=e.__(),fe=o}function uf(e,o){return!e||e.length!==o.length||o.some(function(t,r){return t!==e[r]})}function td(e,o){return typeof o==\"function\"?o(e):o}var wo,fe,ff,Gu,Bt,Qu,pe,$u,qu,ju,Xu,Ku,Yu,Zu,ad=d(()=>{Rt();Bt=0,Qu=[],pe=oe,$u=pe.__b,qu=pe.__r,ju=pe.diffed,Xu=pe.__c,Ku=pe.unmount,Yu=pe.__;pe.__b=function(e){fe=null,$u&&$u(e)},pe.__=function(e,o){e&&o.__k&&o.__k.__m&&(e.__m=o.__k.__m),Yu&&Yu(e,o)},pe.__r=function(e){qu&&qu(e),wo=0;var o=(fe=e.__c).__H;o&&(ff===fe?(o.__h=[],fe.__h=[],o.__.forEach(function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0})):(o.__h.forEach(La),o.__h.forEach(sf),o.__h=[],wo=0)),ff=fe},pe.diffed=function(e){ju&&ju(e);var o=e.__c;o&&o.__H&&(o.__H.__h.length&&(Qu.push(o)!==1&&Gu===pe.requestAnimationFrame||((Gu=pe.requestAnimationFrame)||TS)(MS)),o.__H.__.forEach(function(t){t.u&&(t.__H=t.u),t.u=void 0})),ff=fe=null},pe.__c=function(e,o){o.some(function(t){try{t.__h.forEach(La),t.__h=t.__h.filter(function(r){return!r.__||sf(r)})}catch(r){o.some(function(a){a.__h&&(a.__h=[])}),o=[],pe.__e(r,t.__v)}}),Xu&&Xu(e,o)},pe.unmount=function(e){Ku&&Ku(e);var o,t=e.__c;t&&t.__H&&(t.__H.__.forEach(function(r){try{La(r)}catch(a){o=a}}),t.__H=void 0,o&&pe.__e(o,t.__v))};Zu=typeof requestAnimationFrame==\"function\"});var y=Ct(K=>{var z=(Rt(),_c(Wu)),ne=(ad(),_c(rd));function md(e,o){for(var t in o)e[t]=o[t];return e}function mf(e,o){for(var t in e)if(t!==\"__source\"&&!(t in o))return!0;for(var r in o)if(r!==\"__source\"&&e[r]!==o[r])return!0;return!1}function pf(e,o){var t=o(),r=ne.useState({t:{__:t,u:o}}),a=r[0].t,n=r[1];return ne.useLayoutEffect(function(){a.__=t,a.u=o,df(a)&&n({t:a})},[e,t,o]),ne.useEffect(function(){return df(a)&&n({t:a}),e(function(){df(a)&&n({t:a})})},[e]),t}function df(e){var o,t,r=e.u,a=e.__;try{var n=r();return!((o=a)===(t=n)&&(o!==0||1/o==1/t)||o!=o&&t!=t)}catch(l){return!0}}function xf(e){e()}function If(e){return e}function hf(){return[!1,xf]}var gf=ne.useLayoutEffect;function ka(e,o){this.props=e,this.context=o}function pd(e,o){function t(a){var n=this.props.ref,l=n==a.ref;return!l&&n&&(n.call?n(null):n.current=null),o?!o(this.props,a)||!l:mf(this.props,a)}function r(a){return this.shouldComponentUpdate=t,z.createElement(e,a)}return r.displayName=\"Memo(\"+(e.displayName||e.name)+\")\",r.prototype.isReactComponent=!0,r.__f=!0,r}(ka.prototype=new z.Component).isPureReactComponent=!0,ka.prototype.shouldComponentUpdate=function(e,o){return mf(this.props,e)||mf(this.state,o)};var nd=z.options.__b;z.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),nd&&nd(e)};var DS=typeof Symbol<\"u\"&&Symbol.for&&Symbol.for(\"react.forward_ref\")||3911;function xd(e){function o(t){var r=md({},t);return delete r.ref,e(r,t.ref||null)}return o.$$typeof=DS,o.render=o,o.prototype.isReactComponent=o.__f=!0,o.displayName=\"ForwardRef(\"+(e.displayName||e.name)+\")\",o}var ld=function(e,o){return e==null?null:z.toChildArray(z.toChildArray(e).map(o))},Id={map:ld,forEach:ld,count:function(e){return e?z.toChildArray(e).length:0},only:function(e){var o=z.toChildArray(e);if(o.length!==1)throw\"Children.only\";return o[0]},toArray:z.toChildArray},LS=z.options.__e;z.options.__e=function(e,o,t,r){if(e.then){for(var a,n=o;n=n.__;)if((a=n.__c)&&a.__c)return o.__e==null&&(o.__e=t.__e,o.__k=t.__k),a.__c(e,o)}LS(e,o,t,r)};var fd=z.options.unmount;function hd(e,o,t){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c==\"function\"&&r.__c()}),e.__c.__H=null),(e=md({},e)).__c!=null&&(e.__c.__P===t&&(e.__c.__P=o),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return hd(r,o,t)})),e}function gd(e,o,t){return e&&t&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return gd(r,o,t)}),e.__c&&e.__c.__P===o&&(e.__e&&t.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=t)),e}function Cr(){this.__u=0,this.o=null,this.__b=null}function bd(e){var o=e.__.__c;return o&&o.__a&&o.__a(e)}function vd(e){var o,t,r;function a(n){if(o||(o=e()).then(function(l){t=l.default||l},function(l){r=l}),r)throw r;if(!t)throw o;return z.createElement(t,n)}return a.displayName=\"Lazy\",a.__f=!0,a}function At(){this.i=null,this.l=null}z.options.unmount=function(e){var o=e.__c;o&&o.__R&&o.__R(),o&&32&e.__u&&(e.type=null),fd&&fd(e)},(Cr.prototype=new z.Component).__c=function(e,o){var t=o.__c,r=this;r.o==null&&(r.o=[]),r.o.push(t);var a=bd(r.__v),n=!1,l=function(){n||(n=!0,t.__R=null,a?a(f):f())};t.__R=l;var f=function(){if(!--r.__u){if(r.state.__a){var s=r.state.__a;r.__v.__k[0]=gd(s,s.__c.__P,s.__c.__O)}var i;for(r.setState({__a:r.__b=null});i=r.o.pop();)i.forceUpdate()}};r.__u++||32&o.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(l,l)},Cr.prototype.componentWillUnmount=function(){this.o=[]},Cr.prototype.render=function(e,o){if(this.__b){if(this.__v.__k){var t=document.createElement(\"div\"),r=this.__v.__k[0].__c;this.__v.__k[0]=hd(this.__b,t,r.__O=r.__P)}this.__b=null}var a=o.__a&&z.createElement(z.Fragment,null,e.fallback);return a&&(a.__u&=-33),[z.createElement(z.Fragment,null,o.__a?null:e.children),a]};var sd=function(e,o,t){if(++t[1]===t[0]&&e.l.delete(o),e.props.revealOrder&&(e.props.revealOrder[0]!==\"t\"||!e.l.size))for(t=e.i;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;e.i=t=t[2]}};function kS(e){return this.getChildContext=function(){return e.context},e.children}function OS(e){var o=this,t=e.p;o.componentWillUnmount=function(){z.render(null,o.h),o.h=null,o.p=null},o.p&&o.p!==t&&o.componentWillUnmount(),o.h||(o.p=t,o.h={nodeType:1,parentNode:t,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),o.p.appendChild(r)},insertBefore:function(r,a){this.childNodes.push(r),o.p.insertBefore(r,a)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),o.p.removeChild(r)}}),z.render(z.createElement(kS,{context:o.context},e.__v),o.h)}function yd(e,o){var t=z.createElement(OS,{__v:e,p:o});return t.containerInfo=o,t}(At.prototype=new z.Component).__a=function(e){var o=this,t=bd(o.__v),r=o.l.get(e);return r[0]++,function(a){var n=function(){o.props.revealOrder?(r.push(a),sd(o,e,r)):a()};t?t(n):n()}},At.prototype.render=function(e){this.i=null,this.l=new Map;var o=z.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]===\"b\"&&o.reverse();for(var t=o.length;t--;)this.l.set(o[t],this.i=[1,0,this.i]);return e.children},At.prototype.componentDidUpdate=At.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(o,t){sd(e,t,o)})};var Sd=typeof Symbol<\"u\"&&Symbol.for&&Symbol.for(\"react.element\")||60103,NS=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,HS=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,zS=/[A-Z0-9]/g,WS=typeof document<\"u\",US=function(e){return(typeof Symbol<\"u\"&&typeof Symbol()==\"symbol\"?/fil|che|rad/:/fil|che|ra/).test(e)};function Cd(e,o,t){return o.__k==null&&(o.textContent=\"\"),z.render(e,o),typeof t==\"function\"&&t(),e?e.__c:null}function wd(e,o,t){return z.hydrate(e,o),typeof t==\"function\"&&t(),e?e.__c:null}z.Component.prototype.isReactComponent={},[\"componentWillMount\",\"componentWillReceiveProps\",\"componentWillUpdate\"].forEach(function(e){Object.defineProperty(z.Component.prototype,e,{configurable:!0,get:function(){return this[\"UNSAFE_\"+e]},set:function(o){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:o})}})});var id=z.options.event;function VS(){}function GS(){return this.cancelBubble}function $S(){return this.defaultPrevented}z.options.event=function(e){return id&&(e=id(e)),e.persist=VS,e.isPropagationStopped=GS,e.isDefaultPrevented=$S,e.nativeEvent=e};var bf,qS={enumerable:!1,configurable:!0,get:function(){return this.class}},cd=z.options.vnode;z.options.vnode=function(e){typeof e.type==\"string\"&&function(o){var t=o.props,r=o.type,a={},n=r.indexOf(\"-\")===-1;for(var l in t){var f=t[l];if(!(l===\"value\"&&\"defaultValue\"in t&&f==null||WS&&l===\"children\"&&r===\"noscript\"||l===\"class\"||l===\"className\")){var s=l.toLowerCase();l===\"defaultValue\"&&\"value\"in t&&t.value==null?l=\"value\":l===\"download\"&&f===!0?f=\"\":s===\"translate\"&&f===\"no\"?f=!1:s[0]===\"o\"&&s[1]===\"n\"?s===\"ondoubleclick\"?l=\"ondblclick\":s!==\"onchange\"||r!==\"input\"&&r!==\"textarea\"||US(t.type)?s===\"onfocus\"?l=\"onfocusin\":s===\"onblur\"?l=\"onfocusout\":HS.test(l)&&(l=s):s=l=\"oninput\":n&&NS.test(l)?l=l.replace(zS,\"-$&\").toLowerCase():f===null&&(f=void 0),s===\"oninput\"&&a[l=s]&&(l=\"oninputCapture\"),a[l]=f}}r==\"select\"&&a.multiple&&Array.isArray(a.value)&&(a.value=z.toChildArray(t.children).forEach(function(i){i.props.selected=a.value.indexOf(i.props.value)!=-1})),r==\"select\"&&a.defaultValue!=null&&(a.value=z.toChildArray(t.children).forEach(function(i){i.props.selected=a.multiple?a.defaultValue.indexOf(i.props.value)!=-1:a.defaultValue==i.props.value})),t.class&&!t.className?(a.class=t.class,Object.defineProperty(a,\"className\",qS)):(t.className&&!t.class||t.class&&t.className)&&(a.class=a.className=t.className),o.props=a}(e),e.$$typeof=Sd,cd&&cd(e)};var ud=z.options.__r;z.options.__r=function(e){ud&&ud(e),bf=e.__c};var dd=z.options.diffed;z.options.diffed=function(e){dd&&dd(e);var o=e.props,t=e.__e;t!=null&&e.type===\"textarea\"&&\"value\"in o&&o.value!==t.value&&(t.value=o.value==null?\"\":o.value),bf=null};var _d={ReactCurrentDispatcher:{current:{readContext:function(e){return bf.__n[e.__c].props.value},useCallback:ne.useCallback,useContext:ne.useContext,useDebugValue:ne.useDebugValue,useDeferredValue:If,useEffect:ne.useEffect,useId:ne.useId,useImperativeHandle:ne.useImperativeHandle,useInsertionEffect:gf,useLayoutEffect:ne.useLayoutEffect,useMemo:ne.useMemo,useReducer:ne.useReducer,useRef:ne.useRef,useState:ne.useState,useSyncExternalStore:pf,useTransition:hf}}};function Fd(e){return z.createElement.bind(null,e)}function wr(e){return!!e&&e.$$typeof===Sd}function Rd(e){return wr(e)&&e.type===z.Fragment}function Bd(e){return!!e&&!!e.displayName&&(typeof e.displayName==\"string\"||e.displayName instanceof String)&&e.displayName.startsWith(\"Memo(\")}function Ad(e){return wr(e)?z.cloneElement.apply(null,arguments):e}function Pd(e){return!!e.__k&&(z.render(null,e),!0)}function Ed(e){return e&&(e.base||e.nodeType===1&&e)||null}var Md=function(e,o){return e(o)},Td=function(e,o){return e(o)},Dd=z.Fragment,Ld=wr,jS={useState:ne.useState,useId:ne.useId,useReducer:ne.useReducer,useEffect:ne.useEffect,useLayoutEffect:ne.useLayoutEffect,useInsertionEffect:gf,useTransition:hf,useDeferredValue:If,useSyncExternalStore:pf,startTransition:xf,useRef:ne.useRef,useImperativeHandle:ne.useImperativeHandle,useMemo:ne.useMemo,useCallback:ne.useCallback,useContext:ne.useContext,useDebugValue:ne.useDebugValue,version:\"18.3.1\",Children:Id,render:Cd,hydrate:wd,unmountComponentAtNode:Pd,createPortal:yd,createElement:z.createElement,createContext:z.createContext,createFactory:Fd,cloneElement:Ad,createRef:z.createRef,Fragment:z.Fragment,isValidElement:wr,isElement:Ld,isFragment:Rd,isMemo:Bd,findDOMNode:Ed,Component:z.Component,PureComponent:ka,memo:pd,forwardRef:xd,flushSync:Td,unstable_batchedUpdates:Md,StrictMode:Dd,Suspense:Cr,SuspenseList:At,lazy:vd,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:_d};Object.defineProperty(K,\"Component\",{enumerable:!0,get:function(){return z.Component}}),Object.defineProperty(K,\"Fragment\",{enumerable:!0,get:function(){return z.Fragment}}),Object.defineProperty(K,\"createContext\",{enumerable:!0,get:function(){return z.createContext}}),Object.defineProperty(K,\"createElement\",{enumerable:!0,get:function(){return z.createElement}}),Object.defineProperty(K,\"createRef\",{enumerable:!0,get:function(){return z.createRef}}),K.Children=Id,K.PureComponent=ka,K.StrictMode=Dd,K.Suspense=Cr,K.SuspenseList=At,K.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_d,K.cloneElement=Ad,K.createFactory=Fd,K.createPortal=yd,K.default=jS,K.findDOMNode=Ed,K.flushSync=Td,K.forwardRef=xd,K.hydrate=wd,K.isElement=Ld,K.isFragment=Rd,K.isMemo=Bd,K.isValidElement=wr,K.lazy=vd,K.memo=pd,K.render=Cd,K.startTransition=xf,K.unmountComponentAtNode=Pd,K.unstable_batchedUpdates=Md,K.useDeferredValue=If,K.useInsertionEffect=gf,K.useSyncExternalStore=pf,K.useTransition=hf,K.version=\"18.3.1\",Object.keys(ne).forEach(function(e){e===\"default\"||K.hasOwnProperty(e)||Object.defineProperty(K,e,{enumerable:!0,get:function(){return ne[e]}})})});function Oa(e,o){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&o.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)o.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(t[r[a]]=e[r[a]]);return t}function kd(e,o,t){if(t||arguments.length===2)for(var r=0,a=o.length,n;r<a;r++)(n||!(r in o))&&(n||(n=Array.prototype.slice.call(o,0,r)),n[r]=o[r]);return e.concat(n||Array.prototype.slice.call(o))}var Xe,Pt=d(()=>{Xe=function(){return Xe=Object.assign||function(o){for(var t,r=1,a=arguments.length;r<a;r++){t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n])}return o},Xe.apply(this,arguments)}});var tt,rt,vf,yf,Na=d(()=>{tt=\"right-scroll-bar-position\",rt=\"width-before-scroll-bar\",vf=\"with-scroll-bars-hidden\",yf=\"--removed-body-scroll-bar-size\"});function Ha(e,o){return typeof e==\"function\"?e(o):e&&(e.current=o),e}var Od=d(()=>{});function Hd(e,o){var t=(0,Nd.useState)(function(){return{value:e,callback:o,facade:{get current(){return t.value},set current(r){var a=t.value;a!==r&&(t.value=r,t.callback(r,a))}}}})[0];return t.callback=o,t.facade}var Nd,zd=d(()=>{Nd=v(y())});function Sf(e,o){var t=Hd(o||null,function(r){return e.forEach(function(a){return Ha(a,r)})});return XS(function(){var r=Wd.get(t);if(r){var a=new Set(r),n=new Set(e),l=t.current;a.forEach(function(f){n.has(f)||Ha(f,null)}),n.forEach(function(f){a.has(f)||Ha(f,l)})}Wd.set(t,e)},[e]),t}var za,XS,Wd,Ud=d(()=>{za=v(y());Od();zd();XS=typeof window<\"u\"?za.useLayoutEffect:za.useEffect,Wd=new WeakMap});var Vd=d(()=>{Ud()});function KS(e){return e}function YS(e,o){o===void 0&&(o=KS);var t=[],r=!1,a={read:function(){if(r)throw new Error(\"Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.\");return t.length?t[t.length-1]:e},useMedium:function(n){var l=o(n,r);return t.push(l),function(){t=t.filter(function(f){return f!==l})}},assignSyncMedium:function(n){for(r=!0;t.length;){var l=t;t=[],l.forEach(n)}t={push:function(f){return n(f)},filter:function(){return t}}},assignMedium:function(n){r=!0;var l=[];if(t.length){var f=t;t=[],f.forEach(n),l=t}var s=function(){var m=l;l=[],m.forEach(n)},i=function(){return Promise.resolve().then(s)};i(),t={push:function(m){l.push(m),i()},filter:function(m){return l=l.filter(m),t}}}};return a}function Cf(e){e===void 0&&(e={});var o=YS(null);return o.options=Xe({async:!0,ssr:!1},e),o}var Gd=d(()=>{Pt()});function wf(e,o){return e.useMedium(o),qd}var $d,qd,jd=d(()=>{Pt();$d=v(y()),qd=function(e){var o=e.sideCar,t=Oa(e,[\"sideCar\"]);if(!o)throw new Error(\"Sidecar: please provide `sideCar` property to import the right car\");var r=o.read();if(!r)throw new Error(\"Sidecar medium not found\");return $d.createElement(r,Xe({},t))};qd.isSideCarExport=!0});var _f=d(()=>{Gd();jd()});var Wa,Ff=d(()=>{_f();Wa=Cf()});var Ne,Rf,_r,Xd=d(()=>{Pt();Ne=v(y());Na();Vd();Ff();Rf=function(){},_r=Ne.forwardRef(function(e,o){var t=Ne.useRef(null),r=Ne.useState({onScrollCapture:Rf,onWheelCapture:Rf,onTouchMoveCapture:Rf}),a=r[0],n=r[1],l=e.forwardProps,f=e.children,s=e.className,i=e.removeScrollBar,m=e.enabled,c=e.shards,x=e.sideCar,I=e.noIsolation,h=e.inert,b=e.allowPinchZoom,S=e.as,w=S===void 0?\"div\":S,F=e.gapMode,B=Oa(e,[\"forwardProps\",\"children\",\"className\",\"removeScrollBar\",\"enabled\",\"shards\",\"sideCar\",\"noIsolation\",\"inert\",\"allowPinchZoom\",\"as\",\"gapMode\"]),P=x,D=Sf([t,o]),O=Xe(Xe({},B),a);return Ne.createElement(Ne.Fragment,null,m&&Ne.createElement(P,{sideCar:Wa,removeScrollBar:i,shards:c,noIsolation:I,inert:h,setCallbacks:n,allowPinchZoom:!!b,lockRef:t,gapMode:F}),l?Ne.cloneElement(Ne.Children.only(f),Xe(Xe({},O),{ref:D})):Ne.createElement(w,Xe({},O,{className:s,ref:D}),f))});_r.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};_r.classNames={fullWidth:rt,zeroRight:tt}});var Kd,Yd,Zd=d(()=>{Yd=function(){if(Kd)return Kd;if(typeof __webpack_nonce__<\"u\")return __webpack_nonce__}});function ZS(){if(!document)return null;var e=document.createElement(\"style\");e.type=\"text/css\";var o=Yd();return o&&e.setAttribute(\"nonce\",o),e}function QS(e,o){e.styleSheet?e.styleSheet.cssText=o:e.appendChild(document.createTextNode(o))}function JS(e){var o=document.head||document.getElementsByTagName(\"head\")[0];o.appendChild(e)}var Bf,Af=d(()=>{Zd();Bf=function(){var e=0,o=null;return{add:function(t){e==0&&(o=ZS())&&(QS(o,t),JS(o)),e++},remove:function(){e--,!e&&o&&(o.parentNode&&o.parentNode.removeChild(o),o=null)}}}});var Qd,Pf,Ef=d(()=>{Qd=v(y());Af();Pf=function(){var e=Bf();return function(o,t){Qd.useEffect(function(){return e.add(o),function(){e.remove()}},[o&&t])}}});var Fr,Jd=d(()=>{Ef();Fr=function(){var e=Pf(),o=function(t){var r=t.styles,a=t.dynamic;return e(r,a),null};return o}});var Mf=d(()=>{Jd();Af();Ef()});var eC,Tf,oC,Df,Lf=d(()=>{eC={left:0,top:0,right:0,gap:0},Tf=function(e){return parseInt(e||\"\",10)||0},oC=function(e){var o=window.getComputedStyle(document.body),t=o[e===\"padding\"?\"paddingLeft\":\"marginLeft\"],r=o[e===\"padding\"?\"paddingTop\":\"marginTop\"],a=o[e===\"padding\"?\"paddingRight\":\"marginRight\"];return[Tf(t),Tf(r),Tf(a)]},Df=function(e){if(e===void 0&&(e=\"margin\"),typeof window>\"u\")return eC;var o=oC(e),t=document.documentElement.clientWidth,r=window.innerWidth;return{left:o[0],top:o[1],right:o[2],gap:Math.max(0,r-t+o[2]-o[0])}}});var Mt,tC,Et,rC,em,aC,kf,om=d(()=>{Mt=v(y());Mf();Na();Lf();tC=Fr(),Et=\"data-scroll-locked\",rC=function(e,o,t,r){var a=e.left,n=e.top,l=e.right,f=e.gap;return t===void 0&&(t=\"margin\"),`\n  .`.concat(vf,` {\n   overflow: hidden `).concat(r,`;\n   padding-right: `).concat(f,\"px \").concat(r,`;\n  }\n  body[`).concat(Et,`] {\n    overflow: hidden `).concat(r,`;\n    overscroll-behavior: contain;\n    `).concat([o&&\"position: relative \".concat(r,\";\"),t===\"margin\"&&`\n    padding-left: `.concat(a,`px;\n    padding-top: `).concat(n,`px;\n    padding-right: `).concat(l,`px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: `).concat(f,\"px \").concat(r,`;\n    `),t===\"padding\"&&\"padding-right: \".concat(f,\"px \").concat(r,\";\")].filter(Boolean).join(\"\"),`\n  }\n  \n  .`).concat(tt,` {\n    right: `).concat(f,\"px \").concat(r,`;\n  }\n  \n  .`).concat(rt,` {\n    margin-right: `).concat(f,\"px \").concat(r,`;\n  }\n  \n  .`).concat(tt,\" .\").concat(tt,` {\n    right: 0 `).concat(r,`;\n  }\n  \n  .`).concat(rt,\" .\").concat(rt,` {\n    margin-right: 0 `).concat(r,`;\n  }\n  \n  body[`).concat(Et,`] {\n    `).concat(yf,\": \").concat(f,`px;\n  }\n`)},em=function(){var e=parseInt(document.body.getAttribute(Et)||\"0\",10);return isFinite(e)?e:0},aC=function(){Mt.useEffect(function(){return document.body.setAttribute(Et,(em()+1).toString()),function(){var e=em()-1;e<=0?document.body.removeAttribute(Et):document.body.setAttribute(Et,e.toString())}},[])},kf=function(e){var o=e.noRelative,t=e.noImportant,r=e.gapMode,a=r===void 0?\"margin\":r;aC();var n=Mt.useMemo(function(){return Df(a)},[a]);return Mt.createElement(tC,{styles:rC(n,!o,a,t?\"\":\"!important\")})}});var tm=d(()=>{om();Na();Lf()});var Of,Rr,at,rm=d(()=>{Of=!1;if(typeof window<\"u\")try{Rr=Object.defineProperty({},\"passive\",{get:function(){return Of=!0,!0}}),window.addEventListener(\"test\",Rr,Rr),window.removeEventListener(\"test\",Rr,Rr)}catch(e){Of=!1}at=Of?{passive:!1}:!1});var nC,am,lC,fC,Nf,sC,iC,nm,lm,cC,fm,sm=d(()=>{nC=function(e){return e.tagName===\"TEXTAREA\"},am=function(e,o){if(!(e instanceof Element))return!1;var t=window.getComputedStyle(e);return t[o]!==\"hidden\"&&!(t.overflowY===t.overflowX&&!nC(e)&&t[o]===\"visible\")},lC=function(e){return am(e,\"overflowY\")},fC=function(e){return am(e,\"overflowX\")},Nf=function(e,o){var t=o.ownerDocument,r=o;do{typeof ShadowRoot<\"u\"&&r instanceof ShadowRoot&&(r=r.host);var a=nm(e,r);if(a){var n=lm(e,r),l=n[1],f=n[2];if(l>f)return!0}r=r.parentNode}while(r&&r!==t.body);return!1},sC=function(e){var o=e.scrollTop,t=e.scrollHeight,r=e.clientHeight;return[o,t,r]},iC=function(e){var o=e.scrollLeft,t=e.scrollWidth,r=e.clientWidth;return[o,t,r]},nm=function(e,o){return e===\"v\"?lC(o):fC(o)},lm=function(e,o){return e===\"v\"?sC(o):iC(o)},cC=function(e,o){return e===\"h\"&&o===\"rtl\"?-1:1},fm=function(e,o,t,r,a){var n=cC(e,window.getComputedStyle(o).direction),l=n*r,f=t.target,s=o.contains(f),i=!1,m=l>0,c=0,x=0;do{var I=lm(e,f),h=I[0],b=I[1],S=I[2],w=b-S-n*h;(h||w)&&nm(e,f)&&(c+=w,x+=h),f instanceof ShadowRoot?f=f.host:f=f.parentNode}while(!s&&f!==document.body||s&&(o.contains(f)||o===f));return(m&&(a&&Math.abs(c)<1||!a&&l>c)||!m&&(a&&Math.abs(x)<1||!a&&-l>x))&&(i=!0),i}});function um(e){var o=ue.useRef([]),t=ue.useRef([0,0]),r=ue.useRef(),a=ue.useState(mC++)[0],n=ue.useState(Fr)[0],l=ue.useRef(e);ue.useEffect(function(){l.current=e},[e]),ue.useEffect(function(){if(e.inert){document.body.classList.add(\"block-interactivity-\".concat(a));var b=kd([e.lockRef.current],(e.shards||[]).map(cm),!0).filter(Boolean);return b.forEach(function(S){return S.classList.add(\"allow-interactivity-\".concat(a))}),function(){document.body.classList.remove(\"block-interactivity-\".concat(a)),b.forEach(function(S){return S.classList.remove(\"allow-interactivity-\".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var f=ue.useCallback(function(b,S){if(\"touches\"in b&&b.touches.length===2||b.type===\"wheel\"&&b.ctrlKey)return!l.current.allowPinchZoom;var w=Ua(b),F=t.current,B=\"deltaX\"in b?b.deltaX:F[0]-w[0],P=\"deltaY\"in b?b.deltaY:F[1]-w[1],D,O=b.target,A=Math.abs(B)>Math.abs(P)?\"h\":\"v\";if(\"touches\"in b&&A===\"h\"&&O.type===\"range\")return!1;var E=Nf(A,O);if(!E)return!0;if(E?D=A:(D=A===\"v\"?\"h\":\"v\",E=Nf(A,O)),!E)return!1;if(!r.current&&\"changedTouches\"in b&&(B||P)&&(r.current=D),!D)return!0;var T=r.current||D;return fm(T,S,b,T===\"h\"?B:P,!0)},[]),s=ue.useCallback(function(b){var S=b;if(!(!Tt.length||Tt[Tt.length-1]!==n)){var w=\"deltaY\"in S?im(S):Ua(S),F=o.current.filter(function(D){return D.name===S.type&&(D.target===S.target||S.target===D.shadowParent)&&uC(D.delta,w)})[0];if(F&&F.should){S.cancelable&&S.preventDefault();return}if(!F){var B=(l.current.shards||[]).map(cm).filter(Boolean).filter(function(D){return D.contains(S.target)}),P=B.length>0?f(S,B[0]):!l.current.noIsolation;P&&S.cancelable&&S.preventDefault()}}},[]),i=ue.useCallback(function(b,S,w,F){var B={name:b,delta:S,target:w,should:F,shadowParent:pC(w)};o.current.push(B),setTimeout(function(){o.current=o.current.filter(function(P){return P!==B})},1)},[]),m=ue.useCallback(function(b){t.current=Ua(b),r.current=void 0},[]),c=ue.useCallback(function(b){i(b.type,im(b),b.target,f(b,e.lockRef.current))},[]),x=ue.useCallback(function(b){i(b.type,Ua(b),b.target,f(b,e.lockRef.current))},[]);ue.useEffect(function(){return Tt.push(n),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:x}),document.addEventListener(\"wheel\",s,at),document.addEventListener(\"touchmove\",s,at),document.addEventListener(\"touchstart\",m,at),function(){Tt=Tt.filter(function(b){return b!==n}),document.removeEventListener(\"wheel\",s,at),document.removeEventListener(\"touchmove\",s,at),document.removeEventListener(\"touchstart\",m,at)}},[]);var I=e.removeScrollBar,h=e.inert;return ue.createElement(ue.Fragment,null,h?ue.createElement(n,{styles:dC(a)}):null,I?ue.createElement(kf,{gapMode:e.gapMode}):null)}function pC(e){for(var o=null;e!==null;)e instanceof ShadowRoot&&(o=e.host,e=e.host),e=e.parentNode;return o}var ue,Ua,im,cm,uC,dC,mC,Tt,dm=d(()=>{Pt();ue=v(y());tm();Mf();rm();sm();Ua=function(e){return\"changedTouches\"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},im=function(e){return[e.deltaX,e.deltaY]},cm=function(e){return e&&\"current\"in e?e.current:e},uC=function(e,o){return e[0]===o[0]&&e[1]===o[1]},dC=function(e){return`\n  .block-interactivity-`.concat(e,` {pointer-events: none;}\n  .allow-interactivity-`).concat(e,` {pointer-events: all;}\n`)},mC=0,Tt=[]});var mm,pm=d(()=>{_f();dm();Ff();mm=wf(Wa,um)});var Va,xm,Hf,Im=d(()=>{Pt();Va=v(y());Xd();pm();xm=Va.forwardRef(function(e,o){return Va.createElement(_r,Xe({},e,{ref:o,sideCar:mm}))});xm.classNames=_r.classNames;Hf=xm});var hm=d(()=>{Im()});function We(e){return Object.keys(e)}var Dt=d(()=>{\"use client\"});function zf(e){return e&&typeof e==\"object\"&&!Array.isArray(e)}function Br(e,o){let t=u({},e),r=o;return zf(e)&&zf(o)&&Object.keys(o).forEach(a=>{zf(r[a])&&a in e?t[a]=Br(t[a],r[a]):t[a]=r[a]}),t}var Wf=d(()=>{});function gm(e){return e.replace(/[A-Z]/g,o=>`-${o.toLowerCase()}`)}var bm=d(()=>{\"use client\"});function xC(e){var o;return typeof e!=\"string\"||!e.includes(\"var(--mantine-scale)\")?e:(o=e.match(/^calc\\((.*?)\\)$/))==null?void 0:o[1].split(\"*\")[0].trim()}function vm(e){let o=xC(e);return typeof o==\"number\"?o:typeof o==\"string\"?o.includes(\"calc\")||o.includes(\"var\")?o:o.includes(\"px\")?Number(o.replace(\"px\",\"\")):o.includes(\"rem\")?Number(o.replace(\"rem\",\"\"))*16:o.includes(\"em\")?Number(o.replace(\"em\",\"\"))*16:Number(o):NaN}var ym=d(()=>{});function Sm(e){return e===\"0rem\"?\"0rem\":`calc(${e} * var(--mantine-scale))`}function Cm(e,{shouldScale:o=!1}={}){function t(r){if(r===0||r===\"0\")return`0${e}`;if(typeof r==\"number\"){let a=`${r/16}${e}`;return o?Sm(a):a}if(typeof r==\"string\"){if(r===\"\"||r.startsWith(\"calc(\")||r.startsWith(\"clamp(\")||r.includes(\"rgba(\"))return r;if(r.includes(\",\"))return r.split(\",\").map(n=>t(n)).join(\",\");if(r.includes(\" \"))return r.split(\" \").map(n=>t(n)).join(\" \");let a=r.replace(\"px\",\"\");if(!Number.isNaN(Number(a))){let n=`${Number(a)/16}${e}`;return o?Sm(n):n}}return r}return t}var _,Uf,xe=d(()=>{_=Cm(\"rem\",{shouldScale:!0}),Uf=Cm(\"em\")});function Lt(e){return Object.keys(e).reduce((o,t)=>(e[t]!==void 0&&(o[t]=e[t]),o),{})}var Ga=d(()=>{\"use client\"});function $a(e){if(typeof e==\"number\")return!0;if(typeof e==\"string\"){if(e.startsWith(\"calc(\")||e.startsWith(\"var(\")||e.includes(\" \")&&e.trim()!==\"\")return!0;let o=/^[+-]?[0-9]+(\\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;return e.trim().split(/\\s+/).every(r=>o.test(r))}return!1}var Vf=d(()=>{\"use client\"});function _m(e){return Array.isArray(e)||e===null?!1:typeof e==\"object\"?e.type!==wm.Fragment:!1}var wm,Fm=d(()=>{\"use client\";wm=v(y(),1)});function p(e,o,t,r,a,n){o||(o={});var l,f,s=o;if(\"ref\"in s)for(f in s={},o)f==\"ref\"?l=o[f]:s[f]=o[f];var i={type:e,props:s,key:t,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--IC,__i:-1,__u:0,__source:a,__self:n};if(typeof e==\"function\"&&(l=e.defaultProps))for(f in l)s[f]===void 0&&(s[f]=l[f]);return oe.vnode&&oe.vnode(i),i}var IC,PB,Rm=d(()=>{Rt();Rt();IC=0,PB=Array.isArray});var R=d(()=>{Rm()});function Ho(e){let o=(0,qa.createContext)(null);return[({children:a,value:n})=>p(o.Provider,{value:n,children:a}),()=>{let a=(0,qa.useContext)(o);if(a===null)throw new Error(e);return a}]}var qa,Ar=d(()=>{\"use client\";R();qa=v(y(),1)});function mo(e=null){let o=(0,ja.createContext)(e);return[({children:a,value:n})=>p(o.Provider,{value:n,children:a}),()=>(0,ja.useContext)(o)]}var ja,kt=d(()=>{\"use client\";R();ja=v(y(),1)});function ao(e){return hC[e]}var hC,Ot=d(()=>{\"use client\";hC={app:100,modal:200,popover:300,overlay:400,max:9999}});function j(e,o=\"size\",t=!0){if(e!==void 0)return $a(e)?t?_(e):e:`var(--${o}-${e})`}function Xa(e){return j(e,\"mantine-spacing\")}function ie(e){return e===void 0?\"var(--mantine-radius-default)\":j(e,\"mantine-radius\")}function de(e){return j(e,\"mantine-font-size\")}function Bm(e){return j(e,\"mantine-line-height\",!1)}function Ka(e){if(e)return j(e,\"mantine-shadow\",!1)}var Ie=d(()=>{\"use client\";Vf();xe()});function Am(e=\"mantine-\"){return`${e}${Math.random().toString(36).slice(2,11)}`}var Pm=d(()=>{\"use client\"});function no(e){let o=(0,Nt.useRef)(e);return(0,Nt.useEffect)(()=>{o.current=e}),(0,Nt.useMemo)(()=>(...t)=>{var r;return(r=o.current)==null?void 0:r.call(o,...t)},[])}var Nt,Gf=d(()=>{\"use client\";Nt=v(y(),1)});function _o(e,o){let t=typeof o==\"number\"?o:o.delay,r=typeof o==\"number\"?!1:o.flushOnUnmount,a=typeof o==\"number\"?!1:o.leading,n=no(e),l=(0,zo.useRef)(0),f=(0,zo.useRef)(()=>{}),s=(0,zo.useRef)(a),i=Object.assign((0,zo.useCallback)((...m)=>{if(window.clearTimeout(l.current),a&&s.current){s.current=!1,n(...m);return}let c=()=>{l.current!==0&&(l.current=0,s.current=!0,n(...m))};f.current=c,i.flush=c,l.current=window.setTimeout(c,t),s.current=!1},[n,t,a]),{flush:f.current});return(0,zo.useEffect)(()=>()=>{window.clearTimeout(l.current),r&&i.flush()},[i,r]),i}var zo,Em=d(()=>{\"use client\";zo=v(y(),1);Gf()});function gC(e,o){try{return e.addEventListener(\"change\",o),()=>e.removeEventListener(\"change\",o)}catch(t){return e.addListener(o),()=>e.removeListener(o)}}function bC(e,o){return typeof window<\"u\"&&\"matchMedia\"in window?window.matchMedia(e).matches:!1}function Mm(e,o,{getInitialValueInEffect:t}={getInitialValueInEffect:!0}){let[r,a]=(0,Ht.useState)(t?o:bC(e)),n=(0,Ht.useRef)(null);return(0,Ht.useEffect)(()=>{if(\"matchMedia\"in window)return n.current=window.matchMedia(e),a(n.current.matches),gC(n.current,l=>a(l.matches))},[e]),r}var Ht,Tm=d(()=>{\"use client\";Ht=v(y(),1)});var Ya,lo,$f=d(()=>{\"use client\";Ya=v(y(),1),lo=typeof document<\"u\"?Ya.useLayoutEffect:Ya.useEffect});function Er(e,o){let t=(0,Pr.useRef)(!1);(0,Pr.useEffect)(()=>()=>{t.current=!1},[]),(0,Pr.useEffect)(()=>{if(t.current)return e();t.current=!0},o)}var Pr,qf=d(()=>{\"use client\";Pr=v(y(),1)});function jf({opened:e,shouldReturnFocus:o=!0}){let t=(0,Dm.useRef)(null),r=()=>{var a;t.current&&\"focus\"in t.current&&typeof t.current.focus==\"function\"&&((a=t.current)==null||a.focus({preventScroll:!0}))};return Er(()=>{let a=-1,n=l=>{l.key===\"Tab\"&&window.clearTimeout(a)};return document.addEventListener(\"keydown\",n),e?t.current=document.activeElement:o&&(a=window.setTimeout(r,10)),()=>{window.clearTimeout(a),document.removeEventListener(\"keydown\",n)}},[e,o]),r}var Dm,Lm=d(()=>{\"use client\";Dm=v(y(),1);qf()});function yC(e){return e.style.display===\"none\"}function SC(e){if(e.getAttribute(\"aria-hidden\")||e.getAttribute(\"hidden\")||e.getAttribute(\"type\")===\"hidden\")return!1;let t=e;for(;t&&!(t===document.body||t.nodeType===11);){if(yC(t))return!1;t=t.parentNode}return!0}function km(e){let o=e.getAttribute(\"tabindex\");return o===null&&(o=void 0),parseInt(o,10)}function Za(e){let o=e.nodeName.toLowerCase(),t=!Number.isNaN(km(e));return(vC.test(o)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||t)&&SC(e)}function Kf(e){let o=km(e);return(Number.isNaN(o)||o>=0)&&Za(e)}function Om(e){return Array.from(e.querySelectorAll(Xf)).filter(Kf)}var vC,Xf,Yf=d(()=>{\"use client\";vC=/input|select|textarea|button|object/,Xf=\"a, input, select, textarea, button, object, [tabindex]\"});function Nm(e,o){let t=Om(e);if(!t.length){o.preventDefault();return}let r=t[o.shiftKey?0:t.length-1],a=e.getRootNode(),n=r===a.activeElement||e===a.activeElement,l=a.activeElement;if(l.tagName===\"INPUT\"&&l.getAttribute(\"type\")===\"radio\"&&(n=t.filter(m=>m.getAttribute(\"type\")===\"radio\"&&m.getAttribute(\"name\")===l.getAttribute(\"name\")).includes(r)),!n)return;o.preventDefault();let s=t[o.shiftKey?t.length-1:0];s&&s.focus()}var Hm=d(()=>{\"use client\";Yf()});function Zf(e=!0){let o=(0,zt.useRef)(null),t=a=>{let n=a.querySelector(\"[data-autofocus]\");if(!n){let l=Array.from(a.querySelectorAll(Xf));n=l.find(Kf)||l.find(Za)||null,!n&&Za(a)&&(n=a)}n&&n.focus({preventScroll:!0})},r=(0,zt.useCallback)(a=>{e&&a!==null&&o.current!==a&&(a?(setTimeout(()=>{a.getRootNode()&&t(a)}),o.current=a):o.current=null)},[e]);return(0,zt.useEffect)(()=>{if(!e)return;o.current&&setTimeout(()=>t(o.current));let a=n=>{n.key===\"Tab\"&&o.current&&Nm(o.current,n)};return document.addEventListener(\"keydown\",a),()=>document.removeEventListener(\"keydown\",a)},[e]),r}var zt,zm=d(()=>{\"use client\";zt=v(y(),1);Hm();Yf()});function Um(){let e=CC();return e?`mantine-${e.replace(/:/g,\"\")}`:\"\"}var Wm,CC,Vm=d(()=>{\"use client\";Wm=v(y(),1),CC=Wm.default.useId||(()=>{})});function fo(e){let o=Um(),[t,r]=(0,Gm.useState)(o);return lo(()=>{r(Am())},[]),typeof e==\"string\"?e:typeof window>\"u\"?o:t}var Gm,$m=d(()=>{\"use client\";Gm=v(y(),1);$f();Pm();Vm()});function Qf(e,o,t){(0,qm.useEffect)(()=>(window.addEventListener(e,o,t),()=>window.removeEventListener(e,o,t)),[e,o])}var qm,jm=d(()=>{\"use client\";qm=v(y(),1)});function Mr(e,o){if(typeof e==\"function\")return e(o);typeof e==\"object\"&&e!==null&&\"current\"in e&&(e.current=o)}function Km(...e){let o=new Map;return t=>{if(e.forEach(r=>{let a=Mr(r,t);a&&o.set(r,a)}),o.size>0)return()=>{e.forEach(r=>{let a=o.get(r);a?a():Mr(r,null)}),o.clear()}}}function Ue(...e){return(0,Xm.useCallback)(Km(...e),e)}var Xm,Ym=d(()=>{\"use client\";Xm=v(y(),1)});function nt({value:e,defaultValue:o,finalValue:t,onChange:r=()=>{}}){let[a,n]=(0,Zm.useState)(o!==void 0?o:t),l=(f,...s)=>{n(f),r==null||r(f,...s)};return e!==void 0?[e,r,!0]:[a,l,!1]}var Zm,Qm=d(()=>{\"use client\";Zm=v(y(),1)});function Tr(e,o){return Mm(\"(prefers-reduced-motion: reduce)\",e,o)}var Jm=d(()=>{\"use client\";Tm()});function Jf(e=!1,o){let{onOpen:t,onClose:r}=o||{},[a,n]=(0,Wt.useState)(e),l=(0,Wt.useCallback)(()=>{n(i=>i||(t==null||t(),!0))},[t]),f=(0,Wt.useCallback)(()=>{n(i=>i&&(r==null||r(),!1))},[r]),s=(0,Wt.useCallback)(()=>{a?f():l()},[f,l,a]);return[a,{open:l,close:f,toggle:s}]}var Wt,ep=d(()=>{\"use client\";Wt=v(y(),1)});var he=d(()=>{Gf();Em();Lm();qf();zm();$m();$f();Ym();Jm();Qm();jm();ep()});function op(e){var o,t,r=\"\";if(typeof e==\"string\"||typeof e==\"number\")r+=e;else if(typeof e==\"object\")if(Array.isArray(e)){var a=e.length;for(o=0;o<a;o++)e[o]&&(t=op(e[o]))&&(r&&(r+=\" \"),r+=t)}else for(t in e)e[t]&&(r&&(r+=\" \"),r+=t);return r}function wC(){for(var e,o,t=0,r=\"\",a=arguments.length;t<a;t++)(e=arguments[t])&&(o=op(e))&&(r&&(r+=\" \"),r+=o);return r}var se,k=d(()=>{se=wC});function FC(e){let o={};return e.forEach(t=>{Object.entries(t).forEach(([r,a])=>{o[r]?o[r]=se(o[r],a):o[r]=a})}),o}function Wo({theme:e,classNames:o,props:t,stylesCtx:r}){let n=(Array.isArray(o)?o:[o]).map(l=>typeof l==\"function\"?l(e,t,r):l||_C);return FC(n)}var _C,Dr=d(()=>{\"use client\";k();_C={}});function lt({theme:e,styles:o,props:t,stylesCtx:r}){return(Array.isArray(o)?o:[o]).reduce((n,l)=>typeof l==\"function\"?u(u({},n),l(e,t,r)):u(u({},n),l),{})}var Qa=d(()=>{\"use client\"});function Uo(){let e=(0,Ja.useContext)(en);if(!e)throw new Error(\"[@mantine/core] MantineProvider was not found in tree\");return e}function tp(){return Uo().cssVariablesResolver}function rp(){return Uo().classNamesPrefix}function Ut(){return Uo().getStyleNonce}function ap(){return Uo().withStaticClasses}function np(){return Uo().headless}function lp(){var e;return(e=Uo().stylesTransform)==null?void 0:e.sx}function fp(){var e;return(e=Uo().stylesTransform)==null?void 0:e.styles}function on(){return Uo().env||\"default\"}var Ja,en,po=d(()=>{\"use client\";Ja=v(y(),1),en=(0,Ja.createContext)(null)});function RC(e){return/^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e)}function BC(e){let o=e.replace(\"#\",\"\");if(o.length===3){let l=o.split(\"\");o=[l[0],l[0],l[1],l[1],l[2],l[2]].join(\"\")}if(o.length===8){let l=parseInt(o.slice(6,8),16)/255;return{r:parseInt(o.slice(0,2),16),g:parseInt(o.slice(2,4),16),b:parseInt(o.slice(4,6),16),a:l}}let t=parseInt(o,16),r=t>>16&255,a=t>>8&255,n=t&255;return{r,g:a,b:n,a:1}}function AC(e){let[o,t,r,a]=e.replace(/[^0-9,./]/g,\"\").split(/[/,]/).map(Number);return{r:o,g:t,b:r,a:a||1}}function PC(e){let o=/^hsla?\\(\\s*(\\d+)\\s*,\\s*(\\d+%)\\s*,\\s*(\\d+%)\\s*(,\\s*(0?\\.\\d+|\\d+(\\.\\d+)?))?\\s*\\)$/i,t=e.match(o);if(!t)return{r:0,g:0,b:0,a:1};let r=parseInt(t[1],10),a=parseInt(t[2],10)/100,n=parseInt(t[3],10)/100,l=t[5]?parseFloat(t[5]):void 0,f=(1-Math.abs(2*n-1))*a,s=r/60,i=f*(1-Math.abs(s%2-1)),m=n-f/2,c,x,I;return s>=0&&s<1?(c=f,x=i,I=0):s>=1&&s<2?(c=i,x=f,I=0):s>=2&&s<3?(c=0,x=f,I=i):s>=3&&s<4?(c=0,x=i,I=f):s>=4&&s<5?(c=i,x=0,I=f):(c=f,x=0,I=i),{r:Math.round((c+m)*255),g:Math.round((x+m)*255),b:Math.round((I+m)*255),a:l||1}}function Vt(e){return RC(e)?BC(e):e.startsWith(\"rgb\")?AC(e):e.startsWith(\"hsl\")?PC(e):{r:0,g:0,b:0,a:1}}var tn=d(()=>{});function Lr(e,o){if(e.startsWith(\"var(\"))return`color-mix(in srgb, ${e}, black ${o*100}%)`;let{r:t,g:r,b:a,a:n}=Vt(e),l=1-o,f=s=>Math.round(s*l);return`rgba(${f(t)}, ${f(r)}, ${f(a)}, ${n})`}var sp=d(()=>{tn()});function Fo(e,o){return typeof e.primaryShade==\"number\"?e.primaryShade:o===\"dark\"?e.primaryShade.dark:e.primaryShade.light}var kr=d(()=>{\"use client\"});function es(e){return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}function EC(e){let o=e.match(/oklch\\((.*?)%\\s/);return o?parseFloat(o[1]):null}function MC(e){if(e.startsWith(\"oklch(\"))return(EC(e)||0)/100;let{r:o,g:t,b:r}=Vt(e),a=o/255,n=t/255,l=r/255,f=es(a),s=es(n),i=es(l);return .2126*f+.7152*s+.0722*i}function Gt(e,o=.179){return e.startsWith(\"var(\")?!1:MC(e)>o}var ip=d(()=>{tn()});function Ye({color:e,theme:o,colorScheme:t}){if(typeof e!=\"string\")throw new Error(`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof e}`);if(e===\"bright\")return{color:e,value:t===\"dark\"?o.white:o.black,shade:void 0,isThemeColor:!1,isLight:Gt(t===\"dark\"?o.white:o.black,o.luminanceThreshold),variable:\"--mantine-color-bright\"};if(e===\"dimmed\")return{color:e,value:t===\"dark\"?o.colors.dark[2]:o.colors.gray[7],shade:void 0,isThemeColor:!1,isLight:Gt(t===\"dark\"?o.colors.dark[2]:o.colors.gray[6],o.luminanceThreshold),variable:\"--mantine-color-dimmed\"};if(e===\"white\"||e===\"black\")return{color:e,value:e===\"white\"?o.white:o.black,shade:void 0,isThemeColor:!1,isLight:Gt(e===\"white\"?o.white:o.black,o.luminanceThreshold),variable:`--mantine-color-${e}`};let[r,a]=e.split(\".\"),n=a?Number(a):void 0,l=r in o.colors;if(l){let f=n!==void 0?o.colors[r][n]:o.colors[r][Fo(o,t||\"light\")];return{color:r,value:f,shade:n,isThemeColor:l,isLight:Gt(f,o.luminanceThreshold),variable:a?`--mantine-color-${r}-${n}`:`--mantine-color-${r}-filled`}}return{color:e,value:e,isThemeColor:l,isLight:Gt(e,o.luminanceThreshold),shade:n,variable:void 0}}var ft=d(()=>{\"use client\";kr();ip()});function Ve(e,o){let t=Ye({color:e||o.primaryColor,theme:o});return t.variable?`var(${t.variable})`:e}var st=d(()=>{\"use client\";ft()});function Or(e,o){var n,l;let t={from:(e==null?void 0:e.from)||o.defaultGradient.from,to:(e==null?void 0:e.to)||o.defaultGradient.to,deg:(l=(n=e==null?void 0:e.deg)!=null?n:o.defaultGradient.deg)!=null?l:0},r=Ve(t.from,o),a=Ve(t.to,o);return`linear-gradient(${t.deg}deg, ${r} 0%, ${a} 100%)`}var os=d(()=>{\"use client\";st()});function eo(e,o){if(typeof e!=\"string\"||o>1||o<0)return\"rgba(0, 0, 0, 1)\";if(e.startsWith(\"var(\")){let n=(1-o)*100;return`color-mix(in srgb, ${e}, transparent ${n}%)`}if(e.startsWith(\"oklch\"))return e.includes(\"/\")?e.replace(/\\/\\s*[\\d.]+\\s*\\)/,`/ ${o})`):e.replace(\")\",` / ${o})`);let{r:t,g:r,b:a}=Vt(e);return`rgba(${t}, ${r}, ${a}, ${o})`}var it,rn=d(()=>{tn();it=eo});var YA,cp,up=d(()=>{\"use client\";xe();YA=v(y(),1);R();sp();os();ft();rn();cp=({color:e,theme:o,variant:t,gradient:r,autoContrast:a})=>{let n=Ye({color:e,theme:o}),l=typeof a==\"boolean\"?a:o.autoContrast;if(t===\"none\")return{background:\"transparent\",hover:\"transparent\",color:\"inherit\",border:\"none\"};if(t===\"filled\"){let f=l&&n.isLight?\"var(--mantine-color-black)\":\"var(--mantine-color-white)\";return n.isThemeColor?n.shade===void 0?{background:`var(--mantine-color-${e}-filled)`,hover:`var(--mantine-color-${e}-filled-hover)`,color:f,border:`${_(1)} solid transparent`}:{background:`var(--mantine-color-${n.color}-${n.shade})`,hover:`var(--mantine-color-${n.color}-${n.shade===9?8:n.shade+1})`,color:f,border:`${_(1)} solid transparent`}:{background:e,hover:Lr(e,.1),color:f,border:`${_(1)} solid transparent`}}if(t===\"light\"){if(n.isThemeColor){if(n.shade===void 0)return{background:`var(--mantine-color-${e}-light)`,hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${_(1)} solid transparent`};let f=o.colors[n.color][n.shade];return{background:eo(f,.1),hover:eo(f,.12),color:`var(--mantine-color-${n.color}-${Math.min(n.shade,6)})`,border:`${_(1)} solid transparent`}}return{background:eo(e,.1),hover:eo(e,.12),color:e,border:`${_(1)} solid transparent`}}if(t===\"outline\")return n.isThemeColor?n.shade===void 0?{background:\"transparent\",hover:`var(--mantine-color-${e}-outline-hover)`,color:`var(--mantine-color-${e}-outline)`,border:`${_(1)} solid var(--mantine-color-${e}-outline)`}:{background:\"transparent\",hover:eo(o.colors[n.color][n.shade],.05),color:`var(--mantine-color-${n.color}-${n.shade})`,border:`${_(1)} solid var(--mantine-color-${n.color}-${n.shade})`}:{background:\"transparent\",hover:eo(e,.05),color:e,border:`${_(1)} solid ${e}`};if(t===\"subtle\"){if(n.isThemeColor){if(n.shade===void 0)return{background:\"transparent\",hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${_(1)} solid transparent`};let f=o.colors[n.color][n.shade];return{background:\"transparent\",hover:eo(f,.12),color:`var(--mantine-color-${n.color}-${Math.min(n.shade,6)})`,border:`${_(1)} solid transparent`}}return{background:\"transparent\",hover:eo(e,.12),color:e,border:`${_(1)} solid transparent`}}return t===\"transparent\"?n.isThemeColor?n.shade===void 0?{background:\"transparent\",hover:\"transparent\",color:`var(--mantine-color-${e}-light-color)`,border:`${_(1)} solid transparent`}:{background:\"transparent\",hover:\"transparent\",color:`var(--mantine-color-${n.color}-${Math.min(n.shade,6)})`,border:`${_(1)} solid transparent`}:{background:\"transparent\",hover:\"transparent\",color:e,border:`${_(1)} solid transparent`}:t===\"white\"?n.isThemeColor?n.shade===void 0?{background:\"var(--mantine-color-white)\",hover:Lr(o.white,.01),color:`var(--mantine-color-${e}-filled)`,border:`${_(1)} solid transparent`}:{background:\"var(--mantine-color-white)\",hover:Lr(o.white,.01),color:`var(--mantine-color-${n.color}-${n.shade})`,border:`${_(1)} solid transparent`}:{background:\"var(--mantine-color-white)\",hover:Lr(o.white,.01),color:e,border:`${_(1)} solid transparent`}:t===\"gradient\"?{background:Or(r,o),hover:Or(r,o),color:\"var(--mantine-color-white)\",border:\"none\"}:t===\"default\"?{background:\"var(--mantine-color-default)\",hover:\"var(--mantine-color-default-hover)\",color:\"var(--mantine-color-default-color)\",border:`${_(1)} solid var(--mantine-color-default-border)`}:{}}});var dp,mp=d(()=>{dp={dark:[\"#C9C9C9\",\"#b8b8b8\",\"#828282\",\"#696969\",\"#424242\",\"#3b3b3b\",\"#2e2e2e\",\"#242424\",\"#1f1f1f\",\"#141414\"],gray:[\"#f8f9fa\",\"#f1f3f5\",\"#e9ecef\",\"#dee2e6\",\"#ced4da\",\"#adb5bd\",\"#868e96\",\"#495057\",\"#343a40\",\"#212529\"],red:[\"#fff5f5\",\"#ffe3e3\",\"#ffc9c9\",\"#ffa8a8\",\"#ff8787\",\"#ff6b6b\",\"#fa5252\",\"#f03e3e\",\"#e03131\",\"#c92a2a\"],pink:[\"#fff0f6\",\"#ffdeeb\",\"#fcc2d7\",\"#faa2c1\",\"#f783ac\",\"#f06595\",\"#e64980\",\"#d6336c\",\"#c2255c\",\"#a61e4d\"],grape:[\"#f8f0fc\",\"#f3d9fa\",\"#eebefa\",\"#e599f7\",\"#da77f2\",\"#cc5de8\",\"#be4bdb\",\"#ae3ec9\",\"#9c36b5\",\"#862e9c\"],violet:[\"#f3f0ff\",\"#e5dbff\",\"#d0bfff\",\"#b197fc\",\"#9775fa\",\"#845ef7\",\"#7950f2\",\"#7048e8\",\"#6741d9\",\"#5f3dc4\"],indigo:[\"#edf2ff\",\"#dbe4ff\",\"#bac8ff\",\"#91a7ff\",\"#748ffc\",\"#5c7cfa\",\"#4c6ef5\",\"#4263eb\",\"#3b5bdb\",\"#364fc7\"],blue:[\"#e7f5ff\",\"#d0ebff\",\"#a5d8ff\",\"#74c0fc\",\"#4dabf7\",\"#339af0\",\"#228be6\",\"#1c7ed6\",\"#1971c2\",\"#1864ab\"],cyan:[\"#e3fafc\",\"#c5f6fa\",\"#99e9f2\",\"#66d9e8\",\"#3bc9db\",\"#22b8cf\",\"#15aabf\",\"#1098ad\",\"#0c8599\",\"#0b7285\"],teal:[\"#e6fcf5\",\"#c3fae8\",\"#96f2d7\",\"#63e6be\",\"#38d9a9\",\"#20c997\",\"#12b886\",\"#0ca678\",\"#099268\",\"#087f5b\"],green:[\"#ebfbee\",\"#d3f9d8\",\"#b2f2bb\",\"#8ce99a\",\"#69db7c\",\"#51cf66\",\"#40c057\",\"#37b24d\",\"#2f9e44\",\"#2b8a3e\"],lime:[\"#f4fce3\",\"#e9fac8\",\"#d8f5a2\",\"#c0eb75\",\"#a9e34b\",\"#94d82d\",\"#82c91e\",\"#74b816\",\"#66a80f\",\"#5c940d\"],yellow:[\"#fff9db\",\"#fff3bf\",\"#ffec99\",\"#ffe066\",\"#ffd43b\",\"#fcc419\",\"#fab005\",\"#f59f00\",\"#f08c00\",\"#e67700\"],orange:[\"#fff4e6\",\"#ffe8cc\",\"#ffd8a8\",\"#ffc078\",\"#ffa94d\",\"#ff922b\",\"#fd7e14\",\"#f76707\",\"#e8590c\",\"#d9480f\"]}});var nP,pp,Nr,ts=d(()=>{xe();nP=v(y(),1);R();up();mp();pp=\"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\",Nr={scale:1,fontSmoothing:!0,focusRing:\"auto\",white:\"#fff\",black:\"#000\",colors:dp,primaryShade:{light:6,dark:8},primaryColor:\"blue\",variantColorResolver:cp,autoContrast:!1,luminanceThreshold:.3,fontFamily:pp,fontFamilyMonospace:\"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace\",respectReducedMotion:!1,cursorType:\"default\",defaultGradient:{from:\"blue\",to:\"cyan\",deg:45},defaultRadius:\"sm\",activeClassName:\"mantine-active\",focusClassName:\"\",headings:{fontFamily:pp,fontWeight:\"700\",textWrap:\"wrap\",sizes:{h1:{fontSize:_(34),lineHeight:\"1.3\"},h2:{fontSize:_(26),lineHeight:\"1.35\"},h3:{fontSize:_(22),lineHeight:\"1.4\"},h4:{fontSize:_(18),lineHeight:\"1.45\"},h5:{fontSize:_(16),lineHeight:\"1.5\"},h6:{fontSize:_(14),lineHeight:\"1.5\"}}},fontSizes:{xs:_(12),sm:_(14),md:_(16),lg:_(18),xl:_(20)},lineHeights:{xs:\"1.4\",sm:\"1.45\",md:\"1.55\",lg:\"1.6\",xl:\"1.65\"},radius:{xs:_(2),sm:_(4),md:_(8),lg:_(16),xl:_(32)},spacing:{xs:_(10),sm:_(12),md:_(16),lg:_(20),xl:_(32)},breakpoints:{xs:\"36em\",sm:\"48em\",md:\"62em\",lg:\"75em\",xl:\"88em\"},shadows:{xs:`0 ${_(1)} ${_(3)} rgba(0, 0, 0, 0.05), 0 ${_(1)} ${_(2)} rgba(0, 0, 0, 0.1)`,sm:`0 ${_(1)} ${_(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${_(10)} ${_(15)} ${_(-5)}, rgba(0, 0, 0, 0.04) 0 ${_(7)} ${_(7)} ${_(-5)}`,md:`0 ${_(1)} ${_(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${_(20)} ${_(25)} ${_(-5)}, rgba(0, 0, 0, 0.04) 0 ${_(10)} ${_(10)} ${_(-5)}`,lg:`0 ${_(1)} ${_(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${_(28)} ${_(23)} ${_(-7)}, rgba(0, 0, 0, 0.04) 0 ${_(12)} ${_(12)} ${_(-7)}`,xl:`0 ${_(1)} ${_(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${_(36)} ${_(28)} ${_(-7)}, rgba(0, 0, 0, 0.04) 0 ${_(17)} ${_(17)} ${_(-7)}`},other:{},components:{}}});function rs(e){return e===\"auto\"||e===\"dark\"||e===\"light\"}var xp=d(()=>{\"use client\"});function Ip({key:e=\"mantine-color-scheme-value\"}={}){let o;return{get:t=>{if(typeof window>\"u\")return t;try{let r=window.localStorage.getItem(e);return rs(r)?r:t}catch(r){return t}},set:t=>{try{window.localStorage.setItem(e,t)}catch(r){console.warn(\"[@mantine/core] Local storage color scheme manager was unable to save color scheme.\",r)}},subscribe:t=>{o=r=>{r.storageArea===window.localStorage&&r.key===e&&rs(r.newValue)&&t(r.newValue)},window.addEventListener(\"storage\",o)},unsubscribe:()=>{window.removeEventListener(\"storage\",o)},clear:()=>{window.localStorage.removeItem(e)}}}var hp=d(()=>{\"use client\";xp()});function as(e){return e<0||e>9?!1:parseInt(e.toString(),10)===e}function bp(e){if(!(e.primaryColor in e.colors))throw new Error(TC);if(typeof e.primaryShade==\"object\"&&(!as(e.primaryShade.dark)||!as(e.primaryShade.light)))throw new Error(gp);if(typeof e.primaryShade==\"number\"&&!as(e.primaryShade))throw new Error(gp)}function vp(e,o){var r;if(!o)return bp(e),e;let t=Br(e,o);return o.fontFamily&&!((r=o.headings)!=null&&r.fontFamily)&&(t.headings.fontFamily=o.fontFamily),bp(t),t}var pP,TC,gp,yp=d(()=>{Wf();pP=v(y(),1);R();TC=\"[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more \\u2013 https://mantine.dev/theming/colors/#primary-color\",gp=\"[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }\"});function He(){let e=(0,ct.useContext)(ns);if(!e)throw new Error(\"@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app\");return e}function an({theme:e,children:o,inherit:t=!0}){let r=DC(),a=(0,ct.useMemo)(()=>vp(t?r:Nr,e),[e,r,t]);return p(ns.Provider,{value:a,children:o})}var ct,ns,DC,xo=d(()=>{\"use client\";R();ct=v(y(),1);ts();yp();ns=(0,ct.createContext)(null),DC=()=>(0,ct.useContext)(ns)||Nr;an.displayName=\"@mantine/core/MantineThemeProvider\"});function Sp(){let e=He(),o=Ut(),t=We(e.breakpoints).reduce((r,a)=>{let n=e.breakpoints[a].includes(\"px\"),l=vm(e.breakpoints[a]),f=n?`${l-.1}px`:Uf(l-.1),s=n?`${l}px`:Uf(l);return`${r}@media (max-width: ${f}) {.mantine-visible-from-${a} {display: none !important;}}@media (min-width: ${s}) {.mantine-hidden-from-${a} {display: none !important;}}`},\"\");return p(\"style\",{\"data-mantine-styles\":\"classes\",nonce:o==null?void 0:o(),dangerouslySetInnerHTML:{__html:t}})}var _P,Cp=d(()=>{\"use client\";R();Dt();ym();xe();_P=v(y(),1);po();xo()});function nn(e){return Object.entries(e).map(([o,t])=>`${o}: ${t};`).join(\"\")}var wp=d(()=>{\"use client\"});function $t(e,o){return(Array.isArray(e)?e:[e]).reduce((r,a)=>`${a}{${r}}`,o)}var _p=d(()=>{\"use client\"});function Fp(e,o){let t=nn(e.variables),r=t?$t(o,t):\"\",a=nn(e.dark),n=nn(e.light),l=a?o===\":host\"?$t(`${o}([data-mantine-color-scheme=\"dark\"])`,a):$t(`${o}[data-mantine-color-scheme=\"dark\"]`,a):\"\",f=n?o===\":host\"?$t(`${o}([data-mantine-color-scheme=\"light\"])`,n):$t(`${o}[data-mantine-color-scheme=\"light\"]`,n):\"\";return`${r}${l}${f}`}var Rp=d(()=>{\"use client\";wp();_p()});function Hr({color:e,theme:o,autoContrast:t}){return(typeof t==\"boolean\"?t:o.autoContrast)&&Ye({color:e||o.primaryColor,theme:o}).isLight?\"var(--mantine-color-black)\":\"var(--mantine-color-white)\"}function ls(e,o){return Hr({color:e.colors[e.primaryColor][Fo(e,o)],theme:e,autoContrast:null})}var ln=d(()=>{\"use client\";kr();ft()});function zr({theme:e,color:o,colorScheme:t,name:r=o,withColorValues:a=!0}){if(!e.colors[o])return{};if(t===\"light\"){let f=Fo(e,\"light\"),s={[`--mantine-color-${r}-text`]:`var(--mantine-color-${r}-filled)`,[`--mantine-color-${r}-filled`]:`var(--mantine-color-${r}-${f})`,[`--mantine-color-${r}-filled-hover`]:`var(--mantine-color-${r}-${f===9?8:f+1})`,[`--mantine-color-${r}-light`]:it(e.colors[o][f],.1),[`--mantine-color-${r}-light-hover`]:it(e.colors[o][f],.12),[`--mantine-color-${r}-light-color`]:`var(--mantine-color-${r}-${f})`,[`--mantine-color-${r}-outline`]:`var(--mantine-color-${r}-${f})`,[`--mantine-color-${r}-outline-hover`]:it(e.colors[o][f],.05)};return a?u({[`--mantine-color-${r}-0`]:e.colors[o][0],[`--mantine-color-${r}-1`]:e.colors[o][1],[`--mantine-color-${r}-2`]:e.colors[o][2],[`--mantine-color-${r}-3`]:e.colors[o][3],[`--mantine-color-${r}-4`]:e.colors[o][4],[`--mantine-color-${r}-5`]:e.colors[o][5],[`--mantine-color-${r}-6`]:e.colors[o][6],[`--mantine-color-${r}-7`]:e.colors[o][7],[`--mantine-color-${r}-8`]:e.colors[o][8],[`--mantine-color-${r}-9`]:e.colors[o][9]},s):s}let n=Fo(e,\"dark\"),l={[`--mantine-color-${r}-text`]:`var(--mantine-color-${r}-4)`,[`--mantine-color-${r}-filled`]:`var(--mantine-color-${r}-${n})`,[`--mantine-color-${r}-filled-hover`]:`var(--mantine-color-${r}-${n===9?8:n+1})`,[`--mantine-color-${r}-light`]:it(e.colors[o][Math.max(0,n-2)],.15),[`--mantine-color-${r}-light-hover`]:it(e.colors[o][Math.max(0,n-2)],.2),[`--mantine-color-${r}-light-color`]:`var(--mantine-color-${r}-${Math.max(n-5,0)})`,[`--mantine-color-${r}-outline`]:`var(--mantine-color-${r}-${Math.max(n-4,0)})`,[`--mantine-color-${r}-outline-hover`]:it(e.colors[o][Math.max(n-4,0)],.05)};return a?u({[`--mantine-color-${r}-0`]:e.colors[o][0],[`--mantine-color-${r}-1`]:e.colors[o][1],[`--mantine-color-${r}-2`]:e.colors[o][2],[`--mantine-color-${r}-3`]:e.colors[o][3],[`--mantine-color-${r}-4`]:e.colors[o][4],[`--mantine-color-${r}-5`]:e.colors[o][5],[`--mantine-color-${r}-6`]:e.colors[o][6],[`--mantine-color-${r}-7`]:e.colors[o][7],[`--mantine-color-${r}-8`]:e.colors[o][8],[`--mantine-color-${r}-9`]:e.colors[o][9]},l):l}var NP,Bp=d(()=>{\"use client\";kr();NP=v(y(),1);R();rn()});function Ap(e){return!!e&&typeof e==\"object\"&&\"mantine-virtual-color\"in e}var VP,Pp=d(()=>{VP=v(y(),1);R()});function qt(e,o,t){We(o).forEach(r=>Object.assign(e,{[`--mantine-${t}-${r}`]:o[r]}))}var XP,fn,fs=d(()=>{\"use client\";Dt();xe();XP=v(y(),1);R();kr();ln();Bp();Pp();fn=e=>{let o=Fo(e,\"light\"),t=e.defaultRadius in e.radius?e.radius[e.defaultRadius]:_(e.defaultRadius),r={variables:{\"--mantine-scale\":e.scale.toString(),\"--mantine-cursor-type\":e.cursorType,\"--mantine-color-scheme\":\"light dark\",\"--mantine-webkit-font-smoothing\":e.fontSmoothing?\"antialiased\":\"unset\",\"--mantine-moz-font-smoothing\":e.fontSmoothing?\"grayscale\":\"unset\",\"--mantine-color-white\":e.white,\"--mantine-color-black\":e.black,\"--mantine-line-height\":e.lineHeights.md,\"--mantine-font-family\":e.fontFamily,\"--mantine-font-family-monospace\":e.fontFamilyMonospace,\"--mantine-font-family-headings\":e.headings.fontFamily,\"--mantine-heading-font-weight\":e.headings.fontWeight,\"--mantine-heading-text-wrap\":e.headings.textWrap,\"--mantine-radius-default\":t,\"--mantine-primary-color-filled\":`var(--mantine-color-${e.primaryColor}-filled)`,\"--mantine-primary-color-filled-hover\":`var(--mantine-color-${e.primaryColor}-filled-hover)`,\"--mantine-primary-color-light\":`var(--mantine-color-${e.primaryColor}-light)`,\"--mantine-primary-color-light-hover\":`var(--mantine-color-${e.primaryColor}-light-hover)`,\"--mantine-primary-color-light-color\":`var(--mantine-color-${e.primaryColor}-light-color)`},light:{\"--mantine-primary-color-contrast\":ls(e,\"light\"),\"--mantine-color-bright\":\"var(--mantine-color-black)\",\"--mantine-color-text\":e.black,\"--mantine-color-body\":e.white,\"--mantine-color-error\":\"var(--mantine-color-red-6)\",\"--mantine-color-placeholder\":\"var(--mantine-color-gray-5)\",\"--mantine-color-anchor\":`var(--mantine-color-${e.primaryColor}-${o})`,\"--mantine-color-default\":\"var(--mantine-color-white)\",\"--mantine-color-default-hover\":\"var(--mantine-color-gray-0)\",\"--mantine-color-default-color\":\"var(--mantine-color-black)\",\"--mantine-color-default-border\":\"var(--mantine-color-gray-4)\",\"--mantine-color-dimmed\":\"var(--mantine-color-gray-6)\",\"--mantine-color-disabled\":\"var(--mantine-color-gray-2)\",\"--mantine-color-disabled-color\":\"var(--mantine-color-gray-5)\",\"--mantine-color-disabled-border\":\"var(--mantine-color-gray-3)\"},dark:{\"--mantine-primary-color-contrast\":ls(e,\"dark\"),\"--mantine-color-bright\":\"var(--mantine-color-white)\",\"--mantine-color-text\":\"var(--mantine-color-dark-0)\",\"--mantine-color-body\":\"var(--mantine-color-dark-7)\",\"--mantine-color-error\":\"var(--mantine-color-red-8)\",\"--mantine-color-placeholder\":\"var(--mantine-color-dark-3)\",\"--mantine-color-anchor\":`var(--mantine-color-${e.primaryColor}-4)`,\"--mantine-color-default\":\"var(--mantine-color-dark-6)\",\"--mantine-color-default-hover\":\"var(--mantine-color-dark-5)\",\"--mantine-color-default-color\":\"var(--mantine-color-white)\",\"--mantine-color-default-border\":\"var(--mantine-color-dark-4)\",\"--mantine-color-dimmed\":\"var(--mantine-color-dark-2)\",\"--mantine-color-disabled\":\"var(--mantine-color-dark-6)\",\"--mantine-color-disabled-color\":\"var(--mantine-color-dark-3)\",\"--mantine-color-disabled-border\":\"var(--mantine-color-gray-6)\"}};qt(r.variables,e.breakpoints,\"breakpoint\"),qt(r.variables,e.spacing,\"spacing\"),qt(r.variables,e.fontSizes,\"font-size\"),qt(r.variables,e.lineHeights,\"line-height\"),qt(r.variables,e.shadows,\"shadow\"),qt(r.variables,e.radius,\"radius\"),e.colors[e.primaryColor].forEach((n,l)=>{r.variables[`--mantine-primary-color-${l}`]=`var(--mantine-color-${e.primaryColor}-${l})`}),We(e.colors).forEach(n=>{let l=e.colors[n];if(Ap(l)){Object.assign(r.light,zr({theme:e,name:l.name,color:l.light,colorScheme:\"light\",withColorValues:!0})),Object.assign(r.dark,zr({theme:e,name:l.name,color:l.dark,colorScheme:\"dark\",withColorValues:!0}));return}l.forEach((f,s)=>{r.variables[`--mantine-color-${n}-${s}`]=f}),Object.assign(r.light,zr({theme:e,color:n,colorScheme:\"light\",withColorValues:!1})),Object.assign(r.dark,zr({theme:e,color:n,colorScheme:\"dark\",withColorValues:!1}))});let a=e.headings.sizes;return We(a).forEach(n=>{r.variables[`--mantine-${n}-font-size`]=a[n].fontSize,r.variables[`--mantine-${n}-line-height`]=a[n].lineHeight,r.variables[`--mantine-${n}-font-weight`]=a[n].fontWeight||e.headings.fontWeight}),r}});function Ep({theme:e,generator:o}){let t=fn(e),r=o==null?void 0:o(e);return r?Br(t,r):t}var tE,Mp=d(()=>{\"use client\";Wf();tE=v(y(),1);R();fs()});function Tp(e){let o={variables:{},light:{},dark:{}};return We(e.variables).forEach(t=>{ss.variables[t]!==e.variables[t]&&(o.variables[t]=e.variables[t])}),We(e.light).forEach(t=>{ss.light[t]!==e.light[t]&&(o.light[t]=e.light[t])}),We(e.dark).forEach(t=>{ss.dark[t]!==e.dark[t]&&(o.dark[t]=e.dark[t])}),o}var fE,ss,Dp=d(()=>{\"use client\";Dt();fE=v(y(),1);R();ts();fs();ss=fn(Nr)});function LC(e){return`\n  ${e}[data-mantine-color-scheme=\"dark\"] { --mantine-color-scheme: dark; }\n  ${e}[data-mantine-color-scheme=\"light\"] { --mantine-color-scheme: light; }\n`}function is({cssVariablesSelector:e,deduplicateCssVariables:o}){let t=He(),r=Ut(),a=tp(),n=Ep({theme:t,generator:a}),l=e===\":root\"&&o,f=l?Tp(n):n,s=Fp(f,e);return s?p(\"style\",{\"data-mantine-styles\":!0,nonce:r==null?void 0:r(),dangerouslySetInnerHTML:{__html:`${s}${l?\"\":LC(e)}`}}):null}var Lp=d(()=>{\"use client\";R();Rp();po();xo();Mp();Dp();is.displayName=\"@mantine/CssVariables\"});function jt(e,o){var a,n;let t=typeof window<\"u\"&&\"matchMedia\"in window&&((a=window.matchMedia(\"(prefers-color-scheme: dark)\"))==null?void 0:a.matches),r=e!==\"auto\"?e:t?\"dark\":\"light\";(n=o())==null||n.setAttribute(\"data-mantine-color-scheme\",r)}function kp({manager:e,defaultColorScheme:o,getRootElement:t,forceColorScheme:r}){let a=(0,Io.useRef)(null),[n,l]=(0,Io.useState)(()=>e.get(o)),f=r||n,s=(0,Io.useCallback)(m=>{r||(jt(m,t),l(m),e.set(m))},[e.set,f,r]),i=(0,Io.useCallback)(()=>{l(o),jt(o,t),e.clear()},[e.clear,o]);return(0,Io.useEffect)(()=>(e.subscribe(s),e.unsubscribe),[e.subscribe,e.unsubscribe]),lo(()=>{jt(e.get(o),t)},[]),(0,Io.useEffect)(()=>{var c;if(r)return jt(r,t),()=>{};r===void 0&&jt(n,t),typeof window<\"u\"&&\"matchMedia\"in window&&(a.current=window.matchMedia(\"(prefers-color-scheme: dark)\"));let m=x=>{n===\"auto\"&&jt(x.matches?\"dark\":\"light\",t)};return(c=a.current)==null||c.addEventListener(\"change\",m),()=>{var x;return(x=a.current)==null?void 0:x.removeEventListener(\"change\",m)}},[n,r]),{colorScheme:f,setColorScheme:s,clearColorScheme:i}}var Io,Op=d(()=>{\"use client\";Io=v(y(),1);he()});function Np({respectReducedMotion:e,getRootElement:o}){lo(()=>{var t;e&&((t=o())==null||t.setAttribute(\"data-respect-reduced-motion\",\"true\"))},[e])}var Hp=d(()=>{\"use client\";he()});function sn({theme:e,children:o,getStyleNonce:t,withStaticClasses:r=!0,withGlobalClasses:a=!0,deduplicateCssVariables:n=!0,withCssVariables:l=!0,cssVariablesSelector:f=\":root\",classNamesPrefix:s=\"mantine\",colorSchemeManager:i=Ip(),defaultColorScheme:m=\"light\",getRootElement:c=()=>document.documentElement,cssVariablesResolver:x,forceColorScheme:I,stylesTransform:h,env:b}){let{colorScheme:S,setColorScheme:w,clearColorScheme:F}=kp({defaultColorScheme:m,forceColorScheme:I,manager:i,getRootElement:c});return Np({respectReducedMotion:(e==null?void 0:e.respectReducedMotion)||!1,getRootElement:c}),p(en.Provider,{value:{colorScheme:S,setColorScheme:w,clearColorScheme:F,getRootElement:c,classNamesPrefix:s,getStyleNonce:t,cssVariablesResolver:x,cssVariablesSelector:f,withStaticClasses:r,stylesTransform:h,env:b},children:p(an,{theme:e,children:[l&&p(is,{cssVariablesSelector:f,deduplicateCssVariables:n}),a&&p(Sp,{}),o]})})}function zp({children:e,theme:o}){return p(en.Provider,{value:{colorScheme:\"auto\",setColorScheme:()=>{},clearColorScheme:()=>{},getRootElement:()=>document.documentElement,classNamesPrefix:\"mantine\",cssVariablesSelector:\":root\",withStaticClasses:!1,headless:!0},children:p(an,{theme:o,children:e})})}var BE,Wp=d(()=>{\"use client\";R();hp();po();Cp();Lp();BE=v(y(),1);xo();Op();Hp();sn.displayName=\"@mantine/core/MantineProvider\";zp.displayName=\"@mantine/core/HeadlessMantineProvider\"});function Up({classNames:e,styles:o,props:t,stylesCtx:r}){let a=He();return{resolvedClassNames:Wo({theme:a,classNames:e,props:t,stylesCtx:r||void 0}),resolvedStyles:lt({theme:a,styles:o,props:t,stylesCtx:r||void 0})}}var TE,Vp=d(()=>{\"use client\";TE=v(y(),1);R();xo();Dr();Qa()});function Gp({theme:e,options:o,unstyled:t}){return se((o==null?void 0:o.focusable)&&!t&&(e.focusClassName||kC[e.focusRing]),(o==null?void 0:o.active)&&!t&&e.activeClassName)}var kC,$p=d(()=>{\"use client\";k();kC={always:\"mantine-focus-always\",auto:\"mantine-focus-auto\",never:\"mantine-focus-never\"}});function qp({selector:e,stylesCtx:o,options:t,props:r,theme:a}){return Wo({theme:a,classNames:t==null?void 0:t.classNames,props:(t==null?void 0:t.props)||r,stylesCtx:o})[e]}var jp=d(()=>{\"use client\";Dr()});function cs({selector:e,stylesCtx:o,theme:t,classNames:r,props:a}){return Wo({theme:t,classNames:r,props:a,stylesCtx:o})[e]}var Xp=d(()=>{\"use client\";Dr()});function Kp({rootSelector:e,selector:o,className:t}){return e===o?t:void 0}var Yp=d(()=>{\"use client\"});function Zp({selector:e,classes:o,unstyled:t}){return t?void 0:o[e]}var Qp=d(()=>{\"use client\"});function Jp({themeName:e,classNamesPrefix:o,selector:t,withStaticClass:r}){return r===!1?[]:e.map(a=>`${o}-${a}-${t}`)}var ex=d(()=>{\"use client\"});function ox({themeName:e,theme:o,selector:t,props:r,stylesCtx:a}){return e.map(n=>{var l,f;return(f=Wo({theme:o,classNames:(l=o.components[n])==null?void 0:l.classNames,props:r,stylesCtx:a}))==null?void 0:f[t]})}var tx=d(()=>{\"use client\";Dr()});function rx({options:e,classes:o,selector:t,unstyled:r}){return e!=null&&e.variant&&!r?o[`${t}--${e.variant}`]:void 0}var ax=d(()=>{\"use client\"});function nx({theme:e,options:o,themeName:t,selector:r,classNamesPrefix:a,classNames:n,classes:l,unstyled:f,className:s,rootSelector:i,props:m,stylesCtx:c,withStaticClasses:x,headless:I,transformedStyles:h}){return se(Gp({theme:e,options:o,unstyled:f||I}),ox({theme:e,themeName:t,selector:r,props:m,stylesCtx:c}),rx({options:o,classes:l,selector:r,unstyled:f}),cs({selector:r,stylesCtx:c,theme:e,classNames:n,props:m}),cs({selector:r,stylesCtx:c,theme:e,classNames:h,props:m}),qp({selector:r,stylesCtx:c,options:o,props:m,theme:e}),Kp({rootSelector:i,selector:r,className:s}),Zp({selector:r,classes:l,unstyled:f||I}),x&&!I&&Jp({themeName:t,classNamesPrefix:a,selector:r,withStaticClass:o==null?void 0:o.withStaticClass}),o==null?void 0:o.className)}var lx=d(()=>{\"use client\";k();$p();jp();Xp();Yp();Qp();ex();tx();ax()});function fx({theme:e,themeName:o,props:t,stylesCtx:r,selector:a}){return o.map(n=>{var l;return lt({theme:e,styles:(l=e.components[n])==null?void 0:l.styles,props:t,stylesCtx:r})[a]}).reduce((n,l)=>u(u({},n),l),{})}var sx=d(()=>{\"use client\";Qa()});function cn({style:e,theme:o}){return Array.isArray(e)?[...e].reduce((t,r)=>u(u({},t),cn({style:r,theme:o})),{}):typeof e==\"function\"?e(o):e==null?{}:e}var ix=d(()=>{\"use client\"});function cx(e){return e.reduce((o,t)=>(t&&Object.keys(t).forEach(r=>{o[r]=u(u({},o[r]),Lt(t[r]))}),o),{})}var mM,ux=d(()=>{\"use client\";Ga();mM=v(y(),1);R()});function dx({vars:e,varsResolver:o,theme:t,props:r,stylesCtx:a,selector:n,themeName:l,headless:f}){var s;return(s=cx([f?{}:o==null?void 0:o(t,r,a),...l.map(i=>{var m,c,x;return(x=(c=(m=t.components)==null?void 0:m[i])==null?void 0:c.vars)==null?void 0:x.call(c,t,r,a)}),e==null?void 0:e(t,r,a)]))==null?void 0:s[n]}var mx=d(()=>{\"use client\";ux()});function px({theme:e,themeName:o,selector:t,options:r,props:a,stylesCtx:n,rootSelector:l,styles:f,style:s,vars:i,varsResolver:m,headless:c,withStylesTransform:x}){return u(u(u(u(u(u({},!x&&fx({theme:e,themeName:o,props:a,stylesCtx:n,selector:t})),!x&&lt({theme:e,styles:f,props:a,stylesCtx:n})[t]),!x&&lt({theme:e,styles:r==null?void 0:r.styles,props:(r==null?void 0:r.props)||a,stylesCtx:n})[t]),dx({theme:e,props:a,stylesCtx:n,vars:i,varsResolver:m,selector:t,themeName:o,headless:c})),l===t?cn({style:s,theme:e}):null),cn({style:r==null?void 0:r.style,theme:e}))}var xx=d(()=>{\"use client\";sx();ix();Qa();mx()});function Ix({props:e,stylesCtx:o,themeName:t}){var l;let r=He(),a=(l=fp())==null?void 0:l();return{getTransformedStyles:f=>a?[...f.map(i=>a(i,{props:e,theme:r,ctx:o})),...t.map(i=>{var m;return a((m=r.components[i])==null?void 0:m.styles,{props:e,theme:r,ctx:o})})].filter(Boolean):[],withStylesTransform:!!a}}var _M,hx=d(()=>{\"use client\";_M=v(y(),1);R();po();xo()});function W({name:e,classes:o,props:t,stylesCtx:r,className:a,style:n,rootSelector:l=\"root\",unstyled:f,classNames:s,styles:i,vars:m,varsResolver:c}){let x=He(),I=rp(),h=ap(),b=np(),S=(Array.isArray(e)?e:[e]).filter(B=>B),{withStylesTransform:w,getTransformedStyles:F}=Ix({props:t,stylesCtx:r,themeName:S});return(B,P)=>({className:nx({theme:x,options:P,themeName:S,selector:B,classNamesPrefix:I,classNames:s,classes:o,unstyled:f,className:a,rootSelector:l,props:t,stylesCtx:r,withStaticClasses:h,headless:b,transformedStyles:F([P==null?void 0:P.styles,i])}),style:px({theme:x,themeName:S,selector:B,options:P,props:t,stylesCtx:r,rootSelector:l,styles:i,style:n,vars:m,varsResolver:c,headless:b,withStylesTransform:w})})}var PM,le=d(()=>{\"use client\";PM=v(y(),1);R();po();xo();lx();xx();hx()});function un(e,o){return typeof e==\"boolean\"?e:o.autoContrast}var us=d(()=>{\"use client\"});function M(e,o,t){var l;let r=He(),a=(l=r.components[e])==null?void 0:l.defaultProps,n=typeof a==\"function\"?a(r):a;return u(u(u({},o),n),Lt(t))}var zM,q=d(()=>{\"use client\";Ga();zM=v(y(),1);R();xo()});function dn(e){return We(e).reduce((o,t)=>e[t]!==void 0?`${o}${gm(t)}:${e[t]};`:o,\"\").trim()}var jM,gx=d(()=>{\"use client\";Dt();bm();jM=v(y(),1);R()});function bx({selector:e,styles:o,media:t,container:r}){let a=o?dn(o):\"\",n=Array.isArray(t)?t.map(f=>`@media${f.query}{${e}{${dn(f.styles)}}}`):[],l=Array.isArray(r)?r.map(f=>`@container ${f.query}{${e}{${dn(f.styles)}}}`):[];return`${a?`${e}{${a}}`:\"\"}${n.join(\"\")}${l.join(\"\")}`.trim()}var vx=d(()=>{\"use client\";gx()});function yx(e){let o=Ut();return p(\"style\",{\"data-mantine-styles\":\"inline\",nonce:o==null?void 0:o(),dangerouslySetInnerHTML:{__html:bx(e)}})}var JM,Sx=d(()=>{\"use client\";R();JM=v(y(),1);po();vx()});function Vo(e){let yc=e,{m:o,mx:t,my:r,mt:a,mb:n,ml:l,mr:f,me:s,ms:i,p:m,px:c,py:x,pt:I,pb:h,pl:b,pr:S,pe:w,ps:F,bd:B,bg:P,c:D,opacity:O,ff:A,fz:E,fw:T,lts:U,ta:V,lh:$,fs:me,tt:Y,td:ve,w:ae,miw:Se,maw:Le,h:Me,mih:be,mah:qe,bgsz:Yo,bgp:Ce,bgr:Oo,bga:Je,pos:No,top:Zo,left:St,bottom:ua,right:ll,inset:my,display:py,flex:xy,hiddenFrom:Iy,visibleFrom:hy,lightHidden:gy,darkHidden:by,sx:vy}=yc,yy=C(yc,[\"m\",\"mx\",\"my\",\"mt\",\"mb\",\"ml\",\"mr\",\"me\",\"ms\",\"p\",\"px\",\"py\",\"pt\",\"pb\",\"pl\",\"pr\",\"pe\",\"ps\",\"bd\",\"bg\",\"c\",\"opacity\",\"ff\",\"fz\",\"fw\",\"lts\",\"ta\",\"lh\",\"fs\",\"tt\",\"td\",\"w\",\"miw\",\"maw\",\"h\",\"mih\",\"mah\",\"bgsz\",\"bgp\",\"bgr\",\"bga\",\"pos\",\"top\",\"left\",\"bottom\",\"right\",\"inset\",\"display\",\"flex\",\"hiddenFrom\",\"visibleFrom\",\"lightHidden\",\"darkHidden\",\"sx\"]);return{styleProps:Lt({m:o,mx:t,my:r,mt:a,mb:n,ml:l,mr:f,me:s,ms:i,p:m,px:c,py:x,pt:I,pb:h,pl:b,pr:S,pe:w,ps:F,bd:B,bg:P,c:D,opacity:O,ff:A,fz:E,fw:T,lts:U,ta:V,lh:$,fs:me,tt:Y,td:ve,w:ae,miw:Se,maw:Le,h:Me,mih:be,mah:qe,bgsz:Yo,bgp:Ce,bgr:Oo,bga:Je,pos:No,top:Zo,left:St,bottom:ua,right:ll,inset:my,display:py,flex:xy,hiddenFrom:Iy,visibleFrom:hy,lightHidden:gy,darkHidden:by,sx:vy}),rest:yy}}var aT,Wr=d(()=>{\"use client\";Ga();aT=v(y(),1);R()});var Cx,wx=d(()=>{\"use client\";Cx={m:{type:\"spacing\",property:\"margin\"},mt:{type:\"spacing\",property:\"marginTop\"},mb:{type:\"spacing\",property:\"marginBottom\"},ml:{type:\"spacing\",property:\"marginLeft\"},mr:{type:\"spacing\",property:\"marginRight\"},ms:{type:\"spacing\",property:\"marginInlineStart\"},me:{type:\"spacing\",property:\"marginInlineEnd\"},mx:{type:\"spacing\",property:\"marginInline\"},my:{type:\"spacing\",property:\"marginBlock\"},p:{type:\"spacing\",property:\"padding\"},pt:{type:\"spacing\",property:\"paddingTop\"},pb:{type:\"spacing\",property:\"paddingBottom\"},pl:{type:\"spacing\",property:\"paddingLeft\"},pr:{type:\"spacing\",property:\"paddingRight\"},ps:{type:\"spacing\",property:\"paddingInlineStart\"},pe:{type:\"spacing\",property:\"paddingInlineEnd\"},px:{type:\"spacing\",property:\"paddingInline\"},py:{type:\"spacing\",property:\"paddingBlock\"},bd:{type:\"border\",property:\"border\"},bg:{type:\"color\",property:\"background\"},c:{type:\"textColor\",property:\"color\"},opacity:{type:\"identity\",property:\"opacity\"},ff:{type:\"fontFamily\",property:\"fontFamily\"},fz:{type:\"fontSize\",property:\"fontSize\"},fw:{type:\"identity\",property:\"fontWeight\"},lts:{type:\"size\",property:\"letterSpacing\"},ta:{type:\"identity\",property:\"textAlign\"},lh:{type:\"lineHeight\",property:\"lineHeight\"},fs:{type:\"identity\",property:\"fontStyle\"},tt:{type:\"identity\",property:\"textTransform\"},td:{type:\"identity\",property:\"textDecoration\"},w:{type:\"spacing\",property:\"width\"},miw:{type:\"spacing\",property:\"minWidth\"},maw:{type:\"spacing\",property:\"maxWidth\"},h:{type:\"spacing\",property:\"height\"},mih:{type:\"spacing\",property:\"minHeight\"},mah:{type:\"spacing\",property:\"maxHeight\"},bgsz:{type:\"size\",property:\"backgroundSize\"},bgp:{type:\"identity\",property:\"backgroundPosition\"},bgr:{type:\"identity\",property:\"backgroundRepeat\"},bga:{type:\"identity\",property:\"backgroundAttachment\"},pos:{type:\"identity\",property:\"position\"},top:{type:\"size\",property:\"top\"},left:{type:\"size\",property:\"left\"},bottom:{type:\"size\",property:\"bottom\"},right:{type:\"size\",property:\"right\"},inset:{type:\"size\",property:\"inset\"},display:{type:\"identity\",property:\"display\"},flex:{type:\"identity\",property:\"flex\"}}});function Ur(e,o){let t=Ye({color:e,theme:o});return t.color===\"dimmed\"?\"var(--mantine-color-dimmed)\":t.color===\"bright\"?\"var(--mantine-color-bright)\":t.variable?`var(${t.variable})`:t.color}function _x(e,o){let t=Ye({color:e,theme:o});return t.isThemeColor&&t.shade===void 0?`var(--mantine-color-${t.color}-text)`:Ur(e,o)}var cT,ds=d(()=>{\"use client\";ft();cT=v(y(),1);R()});function Fx(e,o){if(typeof e==\"number\")return _(e);if(typeof e==\"string\"){let[t,r,...a]=e.split(\" \").filter(l=>l.trim()!==\"\"),n=`${_(t)}`;return r&&(n+=` ${r}`),a.length>0&&(n+=` ${Ur(a.join(\" \"),o)}`),n.trim()}return e}var pT,Rx=d(()=>{\"use client\";xe();pT=v(y(),1);R();ds()});function Ax(e){return typeof e==\"string\"&&e in Bx?Bx[e]:e}var Bx,Px=d(()=>{\"use client\";Bx={text:\"var(--mantine-font-family)\",mono:\"var(--mantine-font-family-monospace)\",monospace:\"var(--mantine-font-family-monospace)\",heading:\"var(--mantine-font-family-headings)\",headings:\"var(--mantine-font-family-headings)\"}});function Ex(e,o){return typeof e==\"string\"&&e in o.fontSizes?`var(--mantine-font-size-${e})`:typeof e==\"string\"&&OC.includes(e)?`var(--mantine-${e}-font-size)`:typeof e==\"number\"?_(e):typeof e==\"string\"?_(e):e}var vT,OC,Mx=d(()=>{\"use client\";xe();vT=v(y(),1);R();OC=[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"]});function Tx(e){return e}var Dx=d(()=>{\"use client\"});function Lx(e,o){return typeof e==\"string\"&&e in o.lineHeights?`var(--mantine-line-height-${e})`:typeof e==\"string\"&&NC.includes(e)?`var(--mantine-${e}-line-height)`:e}var NC,kx=d(()=>{\"use client\";NC=[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"]});function Ox(e){return typeof e==\"number\"?_(e):e}var FT,Nx=d(()=>{\"use client\";xe();FT=v(y(),1);R()});function Hx(e,o){if(typeof e==\"number\")return _(e);if(typeof e==\"string\"){let t=e.replace(\"-\",\"\");if(!(t in o.spacing))return _(e);let r=`--mantine-spacing-${t}`;return e.startsWith(\"-\")?`calc(var(${r}) * -1)`:`var(${r})`}return e}var PT,zx=d(()=>{\"use client\";xe();PT=v(y(),1);R()});var mn,Wx=d(()=>{\"use client\";Rx();ds();Px();Mx();Dx();kx();Nx();zx();mn={color:Ur,textColor:_x,fontSize:Ex,spacing:Hx,identity:Tx,size:Ox,lineHeight:Lx,fontFamily:Ax,border:Fx}});function Ux(e){return e.replace(\"(min-width: \",\"\").replace(\"em)\",\"\")}function Vx(t){var r=t,{media:e}=r,o=C(r,[\"media\"]);let n=Object.keys(e).sort((l,f)=>Number(Ux(l))-Number(Ux(f))).map(l=>({query:l,styles:e[l]}));return g(u({},o),{media:n})}var Gx=d(()=>{\"use client\"});function HC(e){if(typeof e!=\"object\"||e===null)return!1;let o=Object.keys(e);return!(o.length===1&&o[0]===\"base\")}function zC(e){return typeof e==\"object\"&&e!==null?\"base\"in e?e.base:void 0:e}function WC(e){return typeof e==\"object\"&&e!==null?We(e).filter(o=>o!==\"base\"):[]}function UC(e,o){return typeof e==\"object\"&&e!==null&&o in e?e[o]:e}function $x({styleProps:e,data:o,theme:t}){return Vx(We(e).reduce((r,a)=>{if(a===\"hiddenFrom\"||a===\"visibleFrom\"||a===\"sx\")return r;let n=o[a],l=Array.isArray(n.property)?n.property:[n.property],f=zC(e[a]);if(!HC(e[a]))return l.forEach(i=>{r.inlineStyles[i]=mn[n.type](f,t)}),r;r.hasResponsiveStyles=!0;let s=WC(e[a]);return l.forEach(i=>{f&&(r.styles[i]=mn[n.type](f,t)),s.forEach(m=>{let c=`(min-width: ${t.breakpoints[m]})`;r.media[c]=g(u({},r.media[c]),{[i]:mn[n.type](UC(e[a],m),t)})})}),r},{hasResponsiveStyles:!1,styles:{},inlineStyles:{},media:{}}))}var $T,qx=d(()=>{\"use client\";Dt();$T=v(y(),1);R();Wx();Gx()});function Xx(){return`__m__-${(0,jx.useId)().replace(/:/g,\"\")}`}var jx,Kx=d(()=>{\"use client\";jx=v(y(),1)});function Yx(e){return e.startsWith(\"data-\")?e:`data-${e}`}function VC(e){return Object.keys(e).reduce((o,t)=>{let r=e[t];return r===void 0||r===\"\"||r===!1||r===null||(o[Yx(t)]=e[t]),o},{})}function ms(e){return e?typeof e==\"string\"?{[Yx(e)]:!0}:Array.isArray(e)?[...e].reduce((o,t)=>u(u({},o),ms(t)),{}):VC(e):null}var Zx=d(()=>{\"use client\"});function ps(e,o){return Array.isArray(e)?[...e].reduce((t,r)=>u(u({},t),ps(r,o)),{}):typeof e==\"function\"?e(o):e==null?{}:e}function Qx({theme:e,style:o,vars:t,styleProps:r}){let a=ps(o,e),n=ps(t,e);return u(u(u({},a),n),r)}var Jx=d(()=>{\"use client\"});var eI,oI,L,Q=d(()=>{\"use client\";R();eI=v(y(),1);k();Sx();Vf();po();xo();Zx();Jx();Wr();wx();qx();Kx();oI=(0,eI.forwardRef)((b,h)=>{var S=b,{component:e,style:o,__vars:t,className:r,variant:a,mod:n,size:l,hiddenFrom:f,visibleFrom:s,lightHidden:i,darkHidden:m,renderRoot:c,__size:x}=S,I=C(S,[\"component\",\"style\",\"__vars\",\"className\",\"variant\",\"mod\",\"size\",\"hiddenFrom\",\"visibleFrom\",\"lightHidden\",\"darkHidden\",\"renderRoot\",\"__size\"]);var U;let w=He(),F=e||\"div\",{styleProps:B,rest:P}=Vo(I),D=lp(),O=(U=D==null?void 0:D())==null?void 0:U(B.sx),A=Xx(),E=$x({styleProps:B,theme:w,data:Cx}),T=u(u({ref:h,style:Qx({theme:w,style:o,vars:t,styleProps:E.inlineStyles}),className:se(r,O,{[A]:E.hasResponsiveStyles,\"mantine-light-hidden\":i,\"mantine-dark-hidden\":m,[`mantine-hidden-from-${f}`]:f,[`mantine-visible-from-${s}`]:s}),\"data-variant\":a,\"data-size\":$a(l)?void 0:l||void 0,size:x},ms(n)),P);return p(we,{children:[E.hasResponsiveStyles&&p(yx,{selector:`.${A}`,styles:E.styles,media:E.media}),typeof c==\"function\"?c(T):p(F,u({},T))]})});oI.displayName=\"@mantine/core/Box\";L=oI});function Is(e){return e}function H(e){let o=(0,xs.forwardRef)(e);return o.extend=Is,o.withProps=t=>{let r=(0,xs.forwardRef)((a,n)=>p(o,g(u(u({},t),a),{ref:n})));return r.extend=o.extend,r.displayName=`WithProps(${o.displayName})`,r},o}var xs,ee=d(()=>{\"use client\";R();xs=v(y(),1)});function Ae(e){let o=(0,hs.forwardRef)(e);return o.withProps=t=>{let r=(0,hs.forwardRef)((a,n)=>p(o,g(u(u({},t),a),{ref:n})));return r.extend=o.extend,r.displayName=`WithProps(${o.displayName})`,r},o.extend=Is,o}var hs,ho=d(()=>{\"use client\";R();hs=v(y(),1);ee()});function pn(){return(0,Vr.useContext)(GC)}var Vr,GC,gs=d(()=>{\"use client\";R();Vr=v(y(),1),GC=(0,Vr.createContext)({dir:\"ltr\",toggleDirection:()=>{},setDirection:()=>{}})});function rI(e){return Ke.useMemo(()=>e.every(o=>o==null)?null:o=>{e.forEach(t=>{typeof t==\"function\"?t(o):t!=null&&(t.current=o)})},e)}var Ke,bs,tI,aI,F1,$C,qC,jC,XC,KC,YC,R1,B1,nI=d(()=>{Ke=v(y(),1),bs=v(y(),1),tI=v(y(),1);aI=u({},Ke),F1=aI.useInsertionEffect,$C=\"ArrowUp\",qC=\"ArrowDown\",jC=\"ArrowLeft\",XC=\"ArrowRight\",KC=[jC,XC],YC=[$C,qC],R1=[...KC,...YC],B1=aI.useId});var E1,lI,ge,Ze=d(()=>{\"use client\";E1=v(y(),1);Ar();R();k();[lI,ge]=Ho(\"ScrollArea.Root component was not found in tree\")});function Ro(e,o){let t=no(o);lo(()=>{let r=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(t)});return a.observe(e),()=>{window.cancelAnimationFrame(r),a.unobserve(e)}}},[e,t])}var xn=d(()=>{\"use client\";he()});var Xt,ZC,fI,sI=d(()=>{\"use client\";R();Xt=v(y(),1);Ze();xn();ZC=(0,Xt.forwardRef)((e,o)=>{let m=e,{style:t}=m,r=C(m,[\"style\"]),a=ge(),[n,l]=(0,Xt.useState)(0),[f,s]=(0,Xt.useState)(0),i=!!(n&&f);return Ro(a.scrollbarX,()=>{var x;let c=((x=a.scrollbarX)==null?void 0:x.offsetHeight)||0;a.onCornerHeightChange(c),s(c)}),Ro(a.scrollbarY,()=>{var x;let c=((x=a.scrollbarY)==null?void 0:x.offsetWidth)||0;a.onCornerWidthChange(c),l(c)}),i?p(\"div\",g(u({},r),{ref:o,style:g(u({},t),{width:n,height:f})})):null}),fI=(0,Xt.forwardRef)((e,o)=>{let t=ge(),r=!!(t.scrollbarX&&t.scrollbarY);return t.type!==\"scroll\"&&r?p(ZC,g(u({},e),{ref:o})):null})});var oo,QC,vs,iI=d(()=>{\"use client\";R();oo=v(y(),1);he();k();q();Q();Ze();QC={scrollHideDelay:1e3,type:\"hover\"},vs=(0,oo.forwardRef)((e,o)=>{let U=M(\"ScrollAreaRoot\",QC,e),{type:t,scrollHideDelay:r,scrollbars:a,getStyles:n}=U,l=C(U,[\"type\",\"scrollHideDelay\",\"scrollbars\",\"getStyles\"]),[f,s]=(0,oo.useState)(null),[i,m]=(0,oo.useState)(null),[c,x]=(0,oo.useState)(null),[I,h]=(0,oo.useState)(null),[b,S]=(0,oo.useState)(null),[w,F]=(0,oo.useState)(0),[B,P]=(0,oo.useState)(0),[D,O]=(0,oo.useState)(!1),[A,E]=(0,oo.useState)(!1),T=Ue(o,V=>s(V));return p(lI,{value:{type:t,scrollHideDelay:r,scrollArea:f,viewport:i,onViewportChange:m,content:c,onContentChange:x,scrollbarX:I,onScrollbarXChange:h,scrollbarXEnabled:D,onScrollbarXEnabledChange:O,scrollbarY:b,onScrollbarYChange:S,scrollbarYEnabled:A,onScrollbarYEnabledChange:E,onCornerWidthChange:F,onCornerHeightChange:P,getStyles:n},children:p(L,g(u({},l),{ref:T,__vars:{\"--sa-corner-width\":a!==\"xy\"?\"0px\":`${w}px`,\"--sa-corner-height\":a!==\"xy\"?\"0px\":`${B}px`}}))})});vs.displayName=\"@mantine/core/ScrollAreaRoot\"});function In(e,o){let t=e/o;return Number.isNaN(t)?0:t}var ys=d(()=>{\"use client\"});function Go(e){let o=In(e.viewport,e.content),t=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-t)*o;return Math.max(r,18)}var Gr=d(()=>{\"use client\";ys()});function hn(e,o){return t=>{if(e[0]===e[1]||o[0]===o[1])return o[0];let r=(o[1]-o[0])/(e[1]-e[0]);return o[0]+r*(t-e[0])}}var Ss=d(()=>{\"use client\"});function JC(e,[o,t]){return Math.min(t,Math.max(o,e))}function Cs(e,o,t=\"ltr\"){let r=Go(o),a=o.scrollbar.paddingStart+o.scrollbar.paddingEnd,n=o.scrollbar.size-a,l=o.content-o.viewport,f=n-r,s=t===\"ltr\"?[0,l]:[l*-1,0],i=JC(e,s);return hn([0,l],[0,f])(i)}var cI=d(()=>{\"use client\";Gr();Ss()});function uI(e,o,t,r=\"ltr\"){let a=Go(t),n=a/2,l=o||n,f=a-l,s=t.scrollbar.paddingStart+l,i=t.scrollbar.size-t.scrollbar.paddingEnd-f,m=t.content-t.viewport,c=r===\"ltr\"?[0,m]:[m*-1,0];return hn([s,i],c)(e)}var dI=d(()=>{\"use client\";Gr();Ss()});function gn(e,o){return e>0&&e<o}var ws=d(()=>{\"use client\"});function Kt(e){return e?parseInt(e,10):0}var _s=d(()=>{\"use client\"});function go(e,o,{checkForDefaultPrevented:t=!0}={}){return r=>{e==null||e(r),(t===!1||!r.defaultPrevented)&&(o==null||o(r))}}var bn=d(()=>{\"use client\"});var cD,mI,Fs,Rs=d(()=>{\"use client\";cD=v(y(),1);Ar();R();k();[mI,Fs]=Ho(\"ScrollAreaScrollbar was not found in tree\")});var bo,vn,Bs=d(()=>{\"use client\";R();bo=v(y(),1);he();Ze();xn();bn();Rs();vn=(0,bo.forwardRef)((e,o)=>{let E=e,{sizes:t,hasThumb:r,onThumbChange:a,onThumbPointerUp:n,onThumbPointerDown:l,onThumbPositionChange:f,onDragScroll:s,onWheelScroll:i,onResize:m}=E,c=C(E,[\"sizes\",\"hasThumb\",\"onThumbChange\",\"onThumbPointerUp\",\"onThumbPointerDown\",\"onThumbPositionChange\",\"onDragScroll\",\"onWheelScroll\",\"onResize\"]),x=ge(),[I,h]=(0,bo.useState)(null),b=Ue(o,T=>h(T)),S=(0,bo.useRef)(null),w=(0,bo.useRef)(\"\"),{viewport:F}=x,B=t.content-t.viewport,P=no(i),D=no(f),O=_o(m,10),A=T=>{if(S.current){let U=T.clientX-S.current.left,V=T.clientY-S.current.top;s({x:U,y:V})}};return(0,bo.useEffect)(()=>{let T=U=>{let V=U.target;(I==null?void 0:I.contains(V))&&P(U,B)};return document.addEventListener(\"wheel\",T,{passive:!1}),()=>document.removeEventListener(\"wheel\",T,{passive:!1})},[F,I,B,P]),(0,bo.useEffect)(D,[t,D]),Ro(I,O),Ro(x.content,O),p(mI,{value:{scrollbar:I,hasThumb:r,onThumbChange:no(a),onThumbPointerUp:no(n),onThumbPositionChange:D,onThumbPointerDown:no(l)},children:p(\"div\",g(u({},c),{ref:b,\"data-mantine-scrollbar\":!0,style:u({position:\"absolute\"},c.style),onPointerDown:go(e.onPointerDown,T=>{T.preventDefault(),T.button===0&&(T.target.setPointerCapture(T.pointerId),S.current=I.getBoundingClientRect(),w.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect=\"none\",A(T))}),onPointerMove:go(e.onPointerMove,A),onPointerUp:go(e.onPointerUp,T=>{let U=T.target;U.hasPointerCapture(T.pointerId)&&(T.preventDefault(),U.releasePointerCapture(T.pointerId))}),onLostPointerCapture:()=>{document.body.style.webkitUserSelect=w.current,S.current=null}}))})})});var $o,As,pI=d(()=>{\"use client\";R();$o=v(y(),1);he();Ze();ws();Gr();_s();Bs();As=(0,$o.forwardRef)((e,o)=>{let c=e,{sizes:t,onSizesChange:r,style:a}=c,n=C(c,[\"sizes\",\"onSizesChange\",\"style\"]),l=ge(),[f,s]=(0,$o.useState)(),i=(0,$o.useRef)(null),m=Ue(o,i,l.onScrollbarXChange);return(0,$o.useEffect)(()=>{i.current&&s(getComputedStyle(i.current))},[i]),p(vn,g(u({\"data-orientation\":\"horizontal\"},n),{ref:m,sizes:t,style:g(u({},a),{\"--sa-thumb-width\":`${Go(t)}px`}),onThumbPointerDown:x=>e.onThumbPointerDown(x.x),onDragScroll:x=>e.onDragScroll(x.x),onWheelScroll:(x,I)=>{if(l.viewport){let h=l.viewport.scrollLeft+x.deltaX;e.onWheelScroll(h),gn(h,I)&&x.preventDefault()}},onResize:()=>{i.current&&l.viewport&&f&&r({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:i.current.clientWidth,paddingStart:Kt(f.paddingLeft),paddingEnd:Kt(f.paddingRight)}})}}))});As.displayName=\"@mantine/core/ScrollAreaScrollbarX\"});var qo,Ps,xI=d(()=>{\"use client\";R();qo=v(y(),1);he();Ze();ws();Gr();_s();Bs();Ps=(0,qo.forwardRef)((e,o)=>{let c=e,{sizes:t,onSizesChange:r,style:a}=c,n=C(c,[\"sizes\",\"onSizesChange\",\"style\"]),l=ge(),[f,s]=(0,qo.useState)(),i=(0,qo.useRef)(null),m=Ue(o,i,l.onScrollbarYChange);return(0,qo.useEffect)(()=>{i.current&&s(window.getComputedStyle(i.current))},[]),p(vn,g(u({},n),{\"data-orientation\":\"vertical\",ref:m,sizes:t,style:u({\"--sa-thumb-height\":`${Go(t)}px`},a),onThumbPointerDown:x=>e.onThumbPointerDown(x.y),onDragScroll:x=>e.onDragScroll(x.y),onWheelScroll:(x,I)=>{if(l.viewport){let h=l.viewport.scrollTop+x.deltaY;e.onWheelScroll(h),gn(h,I)&&x.preventDefault()}},onResize:()=>{i.current&&l.viewport&&f&&r({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:i.current.clientHeight,paddingStart:Kt(f.paddingTop),paddingEnd:Kt(f.paddingBottom)}})}}))});Ps.displayName=\"@mantine/core/ScrollAreaScrollbarY\"});var ut,dt,yn=d(()=>{\"use client\";R();ut=v(y(),1);k();gs();Ze();ys();cI();dI();pI();xI();dt=(0,ut.forwardRef)((e,o)=>{let I=e,{orientation:t=\"vertical\"}=I,r=C(I,[\"orientation\"]),{dir:a}=pn(),n=ge(),l=(0,ut.useRef)(null),f=(0,ut.useRef)(0),[s,i]=(0,ut.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),m=In(s.viewport,s.content),c=g(u({},r),{sizes:s,onSizesChange:i,hasThumb:m>0&&m<1,onThumbChange:h=>{l.current=h},onThumbPointerUp:()=>{f.current=0},onThumbPointerDown:h=>{f.current=h}}),x=(h,b)=>uI(h,f.current,s,b);return t===\"horizontal\"?p(As,g(u({},c),{ref:o,onThumbPositionChange:()=>{if(n.viewport&&l.current){let h=n.viewport.scrollLeft,b=Cs(h,s,a);l.current.style.transform=`translate3d(${b}px, 0, 0)`}},onWheelScroll:h=>{n.viewport&&(n.viewport.scrollLeft=h)},onDragScroll:h=>{n.viewport&&(n.viewport.scrollLeft=x(h,a))}})):t===\"vertical\"?p(Ps,g(u({},c),{ref:o,onThumbPositionChange:()=>{if(n.viewport&&l.current){let h=n.viewport.scrollTop,b=Cs(h,s);s.scrollbar.size===0?l.current.style.setProperty(\"--thumb-opacity\",\"0\"):l.current.style.setProperty(\"--thumb-opacity\",\"1\"),l.current.style.transform=`translate3d(0, ${b}px, 0)`}},onWheelScroll:h=>{n.viewport&&(n.viewport.scrollTop=h)},onDragScroll:h=>{n.viewport&&(n.viewport.scrollTop=x(h))}})):null});dt.displayName=\"@mantine/core/ScrollAreaScrollbarVisible\"});var Sn,$r,Es=d(()=>{\"use client\";R();Sn=v(y(),1);he();Ze();xn();yn();$r=(0,Sn.forwardRef)((e,o)=>{let t=ge(),i=e,{forceMount:r}=i,a=C(i,[\"forceMount\"]),[n,l]=(0,Sn.useState)(!1),f=e.orientation===\"horizontal\",s=_o(()=>{if(t.viewport){let m=t.viewport.offsetWidth<t.viewport.scrollWidth,c=t.viewport.offsetHeight<t.viewport.scrollHeight;l(f?m:c)}},10);return Ro(t.viewport,s),Ro(t.content,s),r||n?p(dt,g(u({\"data-state\":n?\"visible\":\"hidden\"},a),{ref:o})):null});$r.displayName=\"@mantine/core/ScrollAreaScrollbarAuto\"});var Yt,Ms,II=d(()=>{\"use client\";R();Yt=v(y(),1);Ze();Es();Ms=(0,Yt.forwardRef)((e,o)=>{let f=e,{forceMount:t}=f,r=C(f,[\"forceMount\"]),a=ge(),[n,l]=(0,Yt.useState)(!1);return(0,Yt.useEffect)(()=>{let{scrollArea:s}=a,i=0;if(s){let m=()=>{window.clearTimeout(i),l(!0)},c=()=>{i=window.setTimeout(()=>l(!1),a.scrollHideDelay)};return s.addEventListener(\"pointerenter\",m),s.addEventListener(\"pointerleave\",c),()=>{window.clearTimeout(i),s.removeEventListener(\"pointerenter\",m),s.removeEventListener(\"pointerleave\",c)}}},[a.scrollArea,a.scrollHideDelay]),t||n?p($r,g(u({\"data-state\":n?\"visible\":\"hidden\"},r),{ref:o})):null});Ms.displayName=\"@mantine/core/ScrollAreaScrollbarHover\"});var mt,hI,gI=d(()=>{\"use client\";R();mt=v(y(),1);he();Ze();bn();yn();hI=(0,mt.forwardRef)((e,o)=>{let i=e,{forceMount:t}=i,r=C(i,[\"forceMount\"]),a=ge(),n=e.orientation===\"horizontal\",[l,f]=(0,mt.useState)(\"hidden\"),s=_o(()=>f(\"idle\"),100);return(0,mt.useEffect)(()=>{if(l===\"idle\"){let m=window.setTimeout(()=>f(\"hidden\"),a.scrollHideDelay);return()=>window.clearTimeout(m)}},[l,a.scrollHideDelay]),(0,mt.useEffect)(()=>{let{viewport:m}=a,c=n?\"scrollLeft\":\"scrollTop\";if(m){let x=m[c],I=()=>{let h=m[c];x!==h&&(f(\"scrolling\"),s()),x=h};return m.addEventListener(\"scroll\",I),()=>m.removeEventListener(\"scroll\",I)}},[a.viewport,n,s]),t||l!==\"hidden\"?p(dt,g(u({\"data-state\":l===\"hidden\"?\"hidden\":\"visible\"},r),{ref:o,onPointerEnter:go(e.onPointerEnter,()=>f(\"interacting\")),onPointerLeave:go(e.onPointerLeave,()=>f(\"idle\"))})):null})});var Cn,wn,bI=d(()=>{\"use client\";R();Cn=v(y(),1);Ze();Es();II();gI();yn();wn=(0,Cn.forwardRef)((e,o)=>{let s=e,{forceMount:t}=s,r=C(s,[\"forceMount\"]),a=ge(),{onScrollbarXEnabledChange:n,onScrollbarYEnabledChange:l}=a,f=e.orientation===\"horizontal\";return(0,Cn.useEffect)(()=>(f?n(!0):l(!0),()=>{f?n(!1):l(!1)}),[f,n,l]),a.type===\"hover\"?p(Ms,g(u({},r),{ref:o,forceMount:t})):a.type===\"scroll\"?p(hI,g(u({},r),{ref:o,forceMount:t})):a.type===\"auto\"?p($r,g(u({},r),{ref:o,forceMount:t})):a.type===\"always\"?p(dt,g(u({},r),{ref:o})):null});wn.displayName=\"@mantine/core/ScrollAreaScrollbar\"});function vI(e,o=()=>{}){let t={left:e.scrollLeft,top:e.scrollTop},r=0;return function a(){let n={left:e.scrollLeft,top:e.scrollTop},l=t.left!==n.left,f=t.top!==n.top;(l||f)&&o(),t=n,r=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(r)}var yI=d(()=>{\"use client\"});var pt,SI,_n,CI=d(()=>{\"use client\";R();pt=v(y(),1);he();Ze();Rs();bn();yI();SI=(0,pt.forwardRef)((e,o)=>{let m=e,{style:t}=m,r=C(m,[\"style\"]),a=ge(),n=Fs(),{onThumbPositionChange:l}=n,f=Ue(o,c=>n.onThumbChange(c)),s=(0,pt.useRef)(void 0),i=_o(()=>{s.current&&(s.current(),s.current=void 0)},100);return(0,pt.useEffect)(()=>{let{viewport:c}=a;if(c){let x=()=>{if(i(),!s.current){let I=vI(c,l);s.current=I,l()}};return l(),c.addEventListener(\"scroll\",x),()=>c.removeEventListener(\"scroll\",x)}},[a.viewport,i,l]),p(\"div\",g(u({\"data-state\":n.hasThumb?\"visible\":\"hidden\"},r),{ref:f,style:u({width:\"var(--sa-thumb-width)\",height:\"var(--sa-thumb-height)\"},t),onPointerDownCapture:go(e.onPointerDownCapture,c=>{let I=c.target.getBoundingClientRect(),h=c.clientX-I.left,b=c.clientY-I.top;n.onThumbPointerDown({x:h,y:b})}),onPointerUp:go(e.onPointerUp,n.onThumbPointerUp)}))});SI.displayName=\"@mantine/core/ScrollAreaThumb\";_n=(0,pt.forwardRef)((e,o)=>{let n=e,{forceMount:t}=n,r=C(n,[\"forceMount\"]),a=Fs();return t||a.hasThumb?p(SI,u({ref:o},r)):null});_n.displayName=\"@mantine/core/ScrollAreaThumb\"});var wI,Ts,_I=d(()=>{\"use client\";R();wI=v(y(),1);he();k();Q();Ze();Ts=(0,wI.forwardRef)((a,r)=>{var n=a,{children:e,style:o}=n,t=C(n,[\"children\",\"style\"]);let l=ge(),f=Ue(r,l.onViewportChange);return p(L,g(u({},t),{ref:f,style:u({overflowX:l.scrollbarXEnabled?\"scroll\":\"hidden\",overflowY:l.scrollbarYEnabled?\"scroll\":\"hidden\"},o),children:p(\"div\",g(u({},l.getStyles(\"content\")),{ref:l.onContentChange,children:e}))}))});Ts.displayName=\"@mantine/core/ScrollAreaViewport\"});var Fn,FI=d(()=>{\"use client\";Fn={root:\"m_d57069b5\",viewport:\"m_c0783ff9\",viewportInner:\"m_f8f631dd\",scrollbar:\"m_c44ba933\",thumb:\"m_d8b5e363\",corner:\"m_21657268\",content:\"m_b1336c6\"}});var jo,RI,e0,Zt,Ds,BI=d(()=>{\"use client\";R();jo=v(y(),1);nI();xe();k();q();le();Q();ee();sI();iI();bI();CI();_I();FI();RI={scrollHideDelay:1e3,type:\"hover\",scrollbars:\"xy\"},e0=(e,{scrollbarSize:o,overscrollBehavior:t})=>({root:{\"--scrollarea-scrollbar-size\":_(o),\"--scrollarea-over-scroll-behavior\":t}}),Zt=H((e,o)=>{let t=M(\"ScrollArea\",RI,e),ve=t,{classNames:r,className:a,style:n,styles:l,unstyled:f,scrollbarSize:s,vars:i,type:m,scrollHideDelay:c,viewportProps:x,viewportRef:I,onScrollPositionChange:h,children:b,offsetScrollbars:S,scrollbars:w,onBottomReached:F,onTopReached:B,overscrollBehavior:P}=ve,D=C(ve,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"scrollbarSize\",\"vars\",\"type\",\"scrollHideDelay\",\"viewportProps\",\"viewportRef\",\"onScrollPositionChange\",\"children\",\"offsetScrollbars\",\"scrollbars\",\"onBottomReached\",\"onTopReached\",\"overscrollBehavior\"]),[O,A]=(0,jo.useState)(!1),[E,T]=(0,jo.useState)(!1),[U,V]=(0,jo.useState)(!1),$=W({name:\"ScrollArea\",props:t,classes:Fn,className:a,style:n,classNames:r,styles:l,unstyled:f,vars:i,varsResolver:e0}),me=(0,jo.useRef)(null),Y=rI([I,me]);return(0,jo.useEffect)(()=>{if(!me.current||S!==\"present\")return;let ae=me.current,Se=new ResizeObserver(()=>{let{scrollHeight:Le,clientHeight:Me,scrollWidth:be,clientWidth:qe}=ae;T(Le>Me),V(be>qe)});return Se.observe(ae),()=>Se.disconnect()},[me,S]),p(vs,g(u(u({getStyles:$,type:m===\"never\"?\"always\":m,scrollHideDelay:c,ref:o,scrollbars:w},$(\"root\")),D),{children:[p(Ts,g(u(u({},x),$(\"viewport\",{style:x==null?void 0:x.style})),{ref:Y,\"data-offset-scrollbars\":S===!0?\"xy\":S||void 0,\"data-scrollbars\":w||void 0,\"data-horizontal-hidden\":S===\"present\"&&!U?\"true\":void 0,\"data-vertical-hidden\":S===\"present\"&&!E?\"true\":void 0,onScroll:ae=>{var be;(be=x==null?void 0:x.onScroll)==null||be.call(x,ae),h==null||h({x:ae.currentTarget.scrollLeft,y:ae.currentTarget.scrollTop});let{scrollTop:Se,scrollHeight:Le,clientHeight:Me}=ae.currentTarget;Se-(Le-Me)>=0&&(F==null||F()),Se===0&&(B==null||B())},children:b})),(w===\"xy\"||w===\"x\")&&p(wn,g(u({},$(\"scrollbar\")),{orientation:\"horizontal\",\"data-hidden\":m===\"never\"||S===\"present\"&&!U?!0:void 0,forceMount:!0,onMouseEnter:()=>A(!0),onMouseLeave:()=>A(!1),children:p(_n,u({},$(\"thumb\")))})),(w===\"xy\"||w===\"y\")&&p(wn,g(u({},$(\"scrollbar\")),{orientation:\"vertical\",\"data-hidden\":m===\"never\"||S===\"present\"&&!E?!0:void 0,forceMount:!0,onMouseEnter:()=>A(!0),onMouseLeave:()=>A(!1),children:p(_n,u({},$(\"thumb\")))})),p(fI,g(u({},$(\"corner\")),{\"data-hovered\":O||void 0,\"data-hidden\":m===\"never\"||void 0}))]}))});Zt.displayName=\"@mantine/core/ScrollArea\";Ds=H((e,o)=>{let D=M(\"ScrollAreaAutosize\",RI,e),{children:t,classNames:r,styles:a,scrollbarSize:n,scrollHideDelay:l,type:f,dir:s,offsetScrollbars:i,viewportRef:m,onScrollPositionChange:c,unstyled:x,variant:I,viewportProps:h,scrollbars:b,style:S,vars:w,onBottomReached:F,onTopReached:B}=D,P=C(D,[\"children\",\"classNames\",\"styles\",\"scrollbarSize\",\"scrollHideDelay\",\"type\",\"dir\",\"offsetScrollbars\",\"viewportRef\",\"onScrollPositionChange\",\"unstyled\",\"variant\",\"viewportProps\",\"scrollbars\",\"style\",\"vars\",\"onBottomReached\",\"onTopReached\"]);return p(L,g(u({},P),{ref:o,style:[{display:\"flex\",overflow:\"auto\"},S],children:p(L,{style:{display:\"flex\",flexDirection:\"column\",flex:1},children:p(Zt,{classNames:r,styles:a,scrollHideDelay:l,scrollbarSize:n,type:f,dir:s,offsetScrollbars:i,viewportRef:m,onScrollPositionChange:c,unstyled:x,variant:I,viewportProps:h,vars:w,scrollbars:b,onBottomReached:F,onTopReached:B,children:t})})}))});Zt.classes=Fn;Ds.displayName=\"@mantine/core/ScrollAreaAutosize\";Ds.classes=Fn;Zt.Autosize=Ds});var Ls,AI=d(()=>{\"use client\";Ls={root:\"m_87cf2631\"}});var lk,o0,vo,qr=d(()=>{\"use client\";R();lk=v(y(),1);k();q();le();Q();ho();AI();o0={__staticSelector:\"UnstyledButton\"},vo=Ae((e,o)=>{let t=M(\"UnstyledButton\",o0,e),x=t,{className:r,component:a=\"button\",__staticSelector:n,unstyled:l,classNames:f,styles:s,style:i}=x,m=C(x,[\"className\",\"component\",\"__staticSelector\",\"unstyled\",\"classNames\",\"styles\",\"style\"]),c=W({name:n,props:t,classes:Ls,className:r,style:i,classNames:f,styles:s,unstyled:l});return p(L,u(g(u({},c(\"root\",{focusable:!0})),{component:a,ref:o,type:a===\"button\"?\"button\":void 0}),m))});vo.classes=Ls;vo.displayName=\"@mantine/core/UnstyledButton\"});var ks,PI=d(()=>{\"use client\";ks={root:\"m_515a97f8\"}});var hk,t0,Rn,EI=d(()=>{\"use client\";R();hk=v(y(),1);k();q();le();Q();ee();PI();t0={},Rn=H((e,o)=>{let t=M(\"VisuallyHidden\",t0,e),c=t,{classNames:r,className:a,style:n,styles:l,unstyled:f,vars:s}=c,i=C(c,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"vars\"]),m=W({name:\"VisuallyHidden\",classes:ks,props:t,className:a,style:n,classNames:r,styles:l,unstyled:f});return p(L,u(u({component:\"span\",ref:o},m(\"root\")),i))});Rn.classes=ks;Rn.displayName=\"@mantine/core/VisuallyHidden\"});var Os,MI=d(()=>{\"use client\";Os={root:\"m_1b7284a3\"}});var Bk,r0,a0,Bn,TI=d(()=>{\"use client\";R();Bk=v(y(),1);Ie();k();q();le();Q();ho();MI();r0={},a0=(e,{radius:o,shadow:t})=>({root:{\"--paper-radius\":o===void 0?void 0:ie(o),\"--paper-shadow\":Ka(t)}}),Bn=Ae((e,o)=>{let t=M(\"Paper\",r0,e),S=t,{classNames:r,className:a,style:n,styles:l,unstyled:f,withBorder:s,vars:i,radius:m,shadow:c,variant:x,mod:I}=S,h=C(S,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"withBorder\",\"vars\",\"radius\",\"shadow\",\"variant\",\"mod\"]),b=W({name:\"Paper\",props:t,classes:Os,className:a,style:n,classNames:r,styles:l,unstyled:f,vars:i,varsResolver:a0});return p(L,u(g(u({ref:o,mod:[{\"data-with-border\":s},I]},b(\"root\")),{variant:x}),h))});Bn.classes=Os;Bn.displayName=\"@mantine/core/Paper\"});var Ns,DI=d(()=>{\"use client\";Ns={root:\"m_9814e45f\"}});var Wk,n0,l0,An,LI=d(()=>{\"use client\";R();xe();Wk=v(y(),1);Ot();Ie();k();rn();q();le();Q();ho();DI();n0={zIndex:ao(\"modal\")},l0=(e,{gradient:o,color:t,backgroundOpacity:r,blur:a,radius:n,zIndex:l})=>({root:{\"--overlay-bg\":o||(t!==void 0||r!==void 0)&&eo(t||\"#000\",r!=null?r:.6)||void 0,\"--overlay-filter\":a?`blur(${_(a)})`:void 0,\"--overlay-radius\":n===void 0?void 0:ie(n),\"--overlay-z-index\":l==null?void 0:l.toString()}}),An=Ae((e,o)=>{let t=M(\"Overlay\",n0,e),D=t,{classNames:r,className:a,style:n,styles:l,unstyled:f,vars:s,fixed:i,center:m,children:c,radius:x,zIndex:I,gradient:h,blur:b,color:S,backgroundOpacity:w,mod:F}=D,B=C(D,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"vars\",\"fixed\",\"center\",\"children\",\"radius\",\"zIndex\",\"gradient\",\"blur\",\"color\",\"backgroundOpacity\",\"mod\"]),P=W({name:\"Overlay\",props:t,classes:Ns,className:a,style:n,classNames:r,styles:l,unstyled:f,vars:s,varsResolver:l0});return p(L,g(u(g(u({ref:o},P(\"root\")),{mod:[{center:m,fixed:i},F]}),B),{children:c}))});An.classes=Ns;An.displayName=\"@mantine/core/Overlay\"});function Hs(e){let o=document.createElement(\"div\");return o.setAttribute(\"data-portal\",\"true\"),typeof e.className==\"string\"&&o.classList.add(...e.className.split(\" \").filter(Boolean)),typeof e.style==\"object\"&&Object.assign(o.style,e.style),typeof e.id==\"string\"&&o.setAttribute(\"id\",e.id),o}function f0(r){var a=r,{target:e,reuseTargetNode:o}=a,t=C(a,[\"target\",\"reuseTargetNode\"]);if(e)return typeof e==\"string\"?document.querySelector(e)||Hs(t):e;if(o){let n=document.querySelector(\"[data-mantine-shared-portal-node]\");if(n)return n;let l=Hs(t);return l.setAttribute(\"data-mantine-shared-portal-node\",\"true\"),document.body.appendChild(l),l}return Hs(t)}var Pn,kI,s0,zs,OI=d(()=>{\"use client\";R();Pn=v(y(),1),kI=v(y(),1);he();k();q();ee();s0={reuseTargetNode:!0},zs=H((e,o)=>{let i=M(\"Portal\",s0,e),{children:t,target:r,reuseTargetNode:a}=i,n=C(i,[\"children\",\"target\",\"reuseTargetNode\"]),[l,f]=(0,Pn.useState)(!1),s=(0,Pn.useRef)(null);return lo(()=>(f(!0),s.current=f0(u({target:r,reuseTargetNode:a},n)),Mr(o,s.current),!r&&!a&&s.current&&document.body.appendChild(s.current),()=>{!r&&!a&&s.current&&document.body.removeChild(s.current)}),[r]),!l||!s.current?null:(0,kI.createPortal)(p(we,{children:t}),s.current)});zs.displayName=\"@mantine/core/Portal\"});var fO,Ws,NI=d(()=>{\"use client\";R();fO=v(y(),1);k();po();ee();OI();Ws=H((a,r)=>{var n=a,{withinPortal:e=!0,children:o}=n,t=C(n,[\"withinPortal\",\"children\"]);return on()===\"test\"||!e?p(we,{children:o}):p(zs,g(u({ref:r},t),{children:o}))});Ws.displayName=\"@mantine/core/OptionalPortal\"});var jr,Xr,HI=d(()=>{\"use client\";jr=e=>({in:{opacity:1,transform:\"scale(1)\"},out:{opacity:0,transform:`scale(.9) translateY(${e===\"bottom\"?10:-10}px)`},transitionProperty:\"transform, opacity\"}),Xr={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:\"opacity\"},\"fade-up\":{in:{opacity:1,transform:\"translateY(0)\"},out:{opacity:0,transform:\"translateY(30px)\"},transitionProperty:\"opacity, transform\"},\"fade-down\":{in:{opacity:1,transform:\"translateY(0)\"},out:{opacity:0,transform:\"translateY(-30px)\"},transitionProperty:\"opacity, transform\"},\"fade-left\":{in:{opacity:1,transform:\"translateX(0)\"},out:{opacity:0,transform:\"translateX(30px)\"},transitionProperty:\"opacity, transform\"},\"fade-right\":{in:{opacity:1,transform:\"translateX(0)\"},out:{opacity:0,transform:\"translateX(-30px)\"},transitionProperty:\"opacity, transform\"},scale:{in:{opacity:1,transform:\"scale(1)\"},out:{opacity:0,transform:\"scale(0)\"},common:{transformOrigin:\"top\"},transitionProperty:\"transform, opacity\"},\"scale-y\":{in:{opacity:1,transform:\"scaleY(1)\"},out:{opacity:0,transform:\"scaleY(0)\"},common:{transformOrigin:\"top\"},transitionProperty:\"transform, opacity\"},\"scale-x\":{in:{opacity:1,transform:\"scaleX(1)\"},out:{opacity:0,transform:\"scaleX(0)\"},common:{transformOrigin:\"left\"},transitionProperty:\"transform, opacity\"},\"skew-up\":{in:{opacity:1,transform:\"translateY(0) skew(0deg, 0deg)\"},out:{opacity:0,transform:\"translateY(-20px) skew(-10deg, -5deg)\"},common:{transformOrigin:\"top\"},transitionProperty:\"transform, opacity\"},\"skew-down\":{in:{opacity:1,transform:\"translateY(0) skew(0deg, 0deg)\"},out:{opacity:0,transform:\"translateY(20px) skew(-10deg, -5deg)\"},common:{transformOrigin:\"bottom\"},transitionProperty:\"transform, opacity\"},\"rotate-left\":{in:{opacity:1,transform:\"translateY(0) rotate(0deg)\"},out:{opacity:0,transform:\"translateY(20px) rotate(-5deg)\"},common:{transformOrigin:\"bottom\"},transitionProperty:\"transform, opacity\"},\"rotate-right\":{in:{opacity:1,transform:\"translateY(0) rotate(0deg)\"},out:{opacity:0,transform:\"translateY(20px) rotate(5deg)\"},common:{transformOrigin:\"top\"},transitionProperty:\"transform, opacity\"},\"slide-down\":{in:{opacity:1,transform:\"translateY(0)\"},out:{opacity:0,transform:\"translateY(-100%)\"},common:{transformOrigin:\"top\"},transitionProperty:\"transform, opacity\"},\"slide-up\":{in:{opacity:1,transform:\"translateY(0)\"},out:{opacity:0,transform:\"translateY(100%)\"},common:{transformOrigin:\"bottom\"},transitionProperty:\"transform, opacity\"},\"slide-left\":{in:{opacity:1,transform:\"translateX(0)\"},out:{opacity:0,transform:\"translateX(100%)\"},common:{transformOrigin:\"left\"},transitionProperty:\"transform, opacity\"},\"slide-right\":{in:{opacity:1,transform:\"translateX(0)\"},out:{opacity:0,transform:\"translateX(-100%)\"},common:{transformOrigin:\"right\"},transitionProperty:\"transform, opacity\"},pop:g(u({},jr(\"bottom\")),{common:{transformOrigin:\"center center\"}}),\"pop-bottom-left\":g(u({},jr(\"bottom\")),{common:{transformOrigin:\"bottom left\"}}),\"pop-bottom-right\":g(u({},jr(\"bottom\")),{common:{transformOrigin:\"bottom right\"}}),\"pop-top-left\":g(u({},jr(\"top\")),{common:{transformOrigin:\"top left\"}}),\"pop-top-right\":g(u({},jr(\"top\")),{common:{transformOrigin:\"top right\"}})}});function WI({transition:e,state:o,duration:t,timingFunction:r}){let a={WebkitBackfaceVisibility:\"hidden\",willChange:\"transform, opacity\",transitionDuration:`${t}ms`,transitionTimingFunction:r};return typeof e==\"string\"?e in Xr?u(u(u({transitionProperty:Xr[e].transitionProperty},a),Xr[e].common),Xr[e][zI[o]]):{}:u(u(u({transitionProperty:e.transitionProperty},a),e.common),e[zI[o]])}var zI,UI=d(()=>{\"use client\";HI();zI={entering:\"in\",entered:\"in\",exiting:\"out\",exited:\"out\",\"pre-exiting\":\"out\",\"pre-entering\":\"out\"}});function GI({duration:e,exitDuration:o,timingFunction:t,mounted:r,onEnter:a,onExit:n,onEntered:l,onExited:f,enterDelay:s,exitDelay:i}){let m=He(),c=Tr(),x=m.respectReducedMotion?c:!1,[I,h]=(0,Bo.useState)(x?0:e),[b,S]=(0,Bo.useState)(r?\"entered\":\"exited\"),w=(0,Bo.useRef)(-1),F=(0,Bo.useRef)(-1),B=(0,Bo.useRef)(-1);function P(){window.clearTimeout(w.current),window.clearTimeout(F.current),cancelAnimationFrame(B.current)}let D=A=>{P();let E=A?a:n,T=A?l:f,U=x?0:A?e:o;h(U),U===0?(typeof E==\"function\"&&E(),typeof T==\"function\"&&T(),S(A?\"entered\":\"exited\")):B.current=requestAnimationFrame(()=>{VI.default.flushSync(()=>{S(A?\"pre-entering\":\"pre-exiting\")}),B.current=requestAnimationFrame(()=>{typeof E==\"function\"&&E(),S(A?\"entering\":\"exiting\"),w.current=window.setTimeout(()=>{typeof T==\"function\"&&T(),S(A?\"entered\":\"exited\")},U)})})},O=A=>{if(P(),typeof(A?s:i)!=\"number\"){D(A);return}F.current=window.setTimeout(()=>{D(A)},A?s:i)};return Er(()=>{O(r)},[r]),(0,Bo.useEffect)(()=>()=>{P()},[]),{transitionDuration:I,transitionStatus:b,transitionTimingFunction:t||\"ease\"}}var Bo,VI,$I=d(()=>{\"use client\";Bo=v(y(),1),VI=v(y(),1);he();R();k();xo()});function Ao({keepMounted:e,transition:o=\"fade\",duration:t=250,exitDuration:r=t,mounted:a,children:n,timingFunction:l=\"ease\",onExit:f,onEntered:s,onEnter:i,onExited:m,enterDelay:c,exitDelay:x}){let I=on(),{transitionDuration:h,transitionStatus:b,transitionTimingFunction:S}=GI({mounted:a,exitDuration:r,duration:t,timingFunction:l,onExit:f,onEntered:s,onEnter:i,onExited:m,enterDelay:c,exitDelay:x});return h===0||I===\"test\"?a?p(we,{children:n({})}):e?n({display:\"none\"}):null:b===\"exited\"?e?n({display:\"none\"}):null:p(we,{children:n(WI({transition:o,duration:h,state:b,timingFunction:S}))})}var _O,Kr=d(()=>{\"use client\";R();_O=v(y(),1);k();po();UI();$I();Ao.displayName=\"@mantine/core/Transition\"});function xt({children:e,active:o=!0,refProp:t=\"ref\",innerRef:r}){let a=Zf(o),n=Ue(a,r);return _m(e)?(0,qI.cloneElement)(e,{[t]:n}):e}function Us(e){return p(Rn,u({tabIndex:-1,\"data-autofocus\":!0},e))}var qI,Vs=d(()=>{\"use client\";R();qI=v(y(),1);he();Fm();k();EI();xt.displayName=\"@mantine/core/FocusTrap\";Us.displayName=\"@mantine/core/FocusTrapInitialFocus\";xt.InitialFocus=Us});var Ge,Yr=d(()=>{\"use client\";Ge={root:\"m_5ae2e3c\",barsLoader:\"m_7a2bd4cd\",bar:\"m_870bb79\",\"bars-loader-animation\":\"m_5d2b3b9d\",dotsLoader:\"m_4e3f22d7\",dot:\"m_870c4af\",\"loader-dots-animation\":\"m_aac34a1\",ovalLoader:\"m_b34414df\",\"oval-loader-animation\":\"m_f8e89c4b\"}});var jI,Gs,XI=d(()=>{\"use client\";R();jI=v(y(),1);k();Q();Yr();Gs=(0,jI.forwardRef)((r,t)=>{var a=r,{className:e}=a,o=C(a,[\"className\"]);return p(L,g(u({component:\"span\",className:se(Ge.barsLoader,e)},o),{ref:t,children:[p(\"span\",{className:Ge.bar}),p(\"span\",{className:Ge.bar}),p(\"span\",{className:Ge.bar})]}))});Gs.displayName=\"@mantine/core/Bars\"});var KI,$s,YI=d(()=>{\"use client\";R();KI=v(y(),1);k();Q();Yr();$s=(0,KI.forwardRef)((r,t)=>{var a=r,{className:e}=a,o=C(a,[\"className\"]);return p(L,g(u({component:\"span\",className:se(Ge.dotsLoader,e)},o),{ref:t,children:[p(\"span\",{className:Ge.dot}),p(\"span\",{className:Ge.dot}),p(\"span\",{className:Ge.dot})]}))});$s.displayName=\"@mantine/core/Dots\"});var ZI,qs,QI=d(()=>{\"use client\";R();ZI=v(y(),1);k();Q();Yr();qs=(0,ZI.forwardRef)((r,t)=>{var a=r,{className:e}=a,o=C(a,[\"className\"]);return p(L,g(u({component:\"span\",className:se(Ge.ovalLoader,e)},o),{ref:t}))});qs.displayName=\"@mantine/core/Oval\"});var aN,JI,i0,c0,It,js=d(()=>{\"use client\";R();aN=v(y(),1);Ie();k();st();q();le();Q();ee();XI();YI();QI();Yr();JI={bars:Gs,oval:qs,dots:$s},i0={loaders:JI,type:\"oval\"},c0=(e,{size:o,color:t})=>({root:{\"--loader-size\":j(o,\"loader-size\"),\"--loader-color\":t?Ve(t,e):void 0}}),It=H((e,o)=>{let t=M(\"Loader\",i0,e),w=t,{size:r,color:a,type:n,vars:l,className:f,style:s,classNames:i,styles:m,unstyled:c,loaders:x,variant:I,children:h}=w,b=C(w,[\"size\",\"color\",\"type\",\"vars\",\"className\",\"style\",\"classNames\",\"styles\",\"unstyled\",\"loaders\",\"variant\",\"children\"]),S=W({name:\"Loader\",props:t,classes:Ge,className:f,style:s,classNames:i,styles:m,unstyled:c,vars:l,varsResolver:c0});return h?p(L,g(u(g(u({},S(\"root\")),{ref:o}),b),{children:h})):p(L,u(g(u({},S(\"root\")),{ref:o,component:x[n],variant:I,size:r}),b))});It.defaultLoaders=JI;It.classes=Ge;It.displayName=\"@mantine/core/Loader\"});var Po,En=d(()=>{\"use client\";Po={root:\"m_8d3f4000\",icon:\"m_8d3afb97\",loader:\"m_302b9fb1\",group:\"m_1a0f1b21\",groupSection:\"m_437b6484\"}});var yN,eh,u0,Mn,oh=d(()=>{\"use client\";R();xe();yN=v(y(),1);k();q();le();Q();ee();En();eh={orientation:\"horizontal\"},u0=(e,{borderWidth:o})=>({group:{\"--ai-border-width\":_(o)}}),Mn=H((e,o)=>{let t=M(\"ActionIconGroup\",eh,e),b=M(\"ActionIconGroup\",eh,e),{className:r,style:a,classNames:n,styles:l,unstyled:f,orientation:s,vars:i,borderWidth:m,variant:c,mod:x}=b,I=C(b,[\"className\",\"style\",\"classNames\",\"styles\",\"unstyled\",\"orientation\",\"vars\",\"borderWidth\",\"variant\",\"mod\"]),h=W({name:\"ActionIconGroup\",props:t,classes:Po,className:r,style:a,classNames:n,styles:l,unstyled:f,vars:i,varsResolver:u0,rootSelector:\"group\"});return p(L,u(g(u({},h(\"group\")),{ref:o,variant:c,mod:[{\"data-orientation\":s},x],role:\"group\"}),I))});Mn.classes=Po;Mn.displayName=\"@mantine/core/ActionIconGroup\"});var EN,th,d0,Tn,rh=d(()=>{\"use client\";R();EN=v(y(),1);Ie();k();q();le();Q();ee();En();th={},d0=(e,{radius:o,color:t,gradient:r,variant:a,autoContrast:n,size:l})=>{let f=e.variantColorResolver({color:t||e.primaryColor,theme:e,gradient:r,variant:a||\"filled\",autoContrast:n});return{groupSection:{\"--section-height\":j(l,\"section-height\"),\"--section-padding-x\":j(l,\"section-padding-x\"),\"--section-fz\":de(l),\"--section-radius\":o===void 0?void 0:ie(o),\"--section-bg\":t||a?f.background:void 0,\"--section-color\":f.color,\"--section-bd\":t||a?f.border:void 0}}},Tn=H((e,o)=>{let t=M(\"ActionIconGroupSection\",th,e),b=M(\"ActionIconGroupSection\",th,e),{className:r,style:a,classNames:n,styles:l,unstyled:f,vars:s,variant:i,gradient:m,radius:c,autoContrast:x}=b,I=C(b,[\"className\",\"style\",\"classNames\",\"styles\",\"unstyled\",\"vars\",\"variant\",\"gradient\",\"radius\",\"autoContrast\"]),h=W({name:\"ActionIconGroupSection\",props:t,classes:Po,className:r,style:a,classNames:n,styles:l,unstyled:f,vars:s,varsResolver:d0,rootSelector:\"groupSection\"});return p(L,u(g(u({},h(\"groupSection\")),{ref:o,variant:i}),I))});Tn.classes=Po;Tn.displayName=\"@mantine/core/ActionIconGroupSection\"});var UN,m0,p0,Eo,ah=d(()=>{\"use client\";R();UN=v(y(),1);Ie();k();q();le();Q();ho();js();Kr();qr();oh();rh();En();m0={},p0=(e,{size:o,radius:t,variant:r,gradient:a,color:n,autoContrast:l})=>{let f=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:a,variant:r||\"filled\",autoContrast:l});return{root:{\"--ai-size\":j(o,\"ai-size\"),\"--ai-radius\":t===void 0?void 0:ie(t),\"--ai-bg\":n||r?f.background:void 0,\"--ai-hover\":n||r?f.hover:void 0,\"--ai-hover-color\":n||r?f.hoverColor:void 0,\"--ai-color\":f.color,\"--ai-bd\":n||r?f.border:void 0}}},Eo=Ae((e,o)=>{let t=M(\"ActionIcon\",m0,e),E=t,{className:r,unstyled:a,variant:n,classNames:l,styles:f,style:s,loading:i,loaderProps:m,size:c,color:x,radius:I,__staticSelector:h,gradient:b,vars:S,children:w,disabled:F,\"data-disabled\":B,autoContrast:P,mod:D}=E,O=C(E,[\"className\",\"unstyled\",\"variant\",\"classNames\",\"styles\",\"style\",\"loading\",\"loaderProps\",\"size\",\"color\",\"radius\",\"__staticSelector\",\"gradient\",\"vars\",\"children\",\"disabled\",\"data-disabled\",\"autoContrast\",\"mod\"]),A=W({name:[\"ActionIcon\",h],props:t,className:r,style:s,classes:Po,classNames:l,styles:f,unstyled:a,vars:S,varsResolver:p0});return p(vo,g(u(u({},A(\"root\",{active:!F&&!i&&!B})),O),{unstyled:a,variant:n,size:c,disabled:F||i,ref:o,mod:[{loading:i,disabled:F||B},D],children:[p(Ao,{mounted:!!i,transition:\"slide-down\",duration:150,children:T=>p(L,g(u({component:\"span\"},A(\"loader\",{style:T})),{\"aria-hidden\":!0,children:p(It,u({color:\"var(--ai-color)\",size:\"calc(var(--ai-size) * 0.55)\"},m))}))}),p(L,g(u({component:\"span\",mod:{loading:i}},A(\"icon\")),{children:w}))]}))});Eo.classes=Po;Eo.displayName=\"@mantine/core/ActionIcon\";Eo.Group=Mn;Eo.GroupSection=Tn});var nh,Xs,lh=d(()=>{\"use client\";R();nh=v(y(),1),Xs=(0,nh.forwardRef)((a,r)=>{var n=a,{size:e=\"var(--cb-icon-size, 70%)\",style:o}=n,t=C(n,[\"size\",\"style\"]);return p(\"svg\",g(u({viewBox:\"0 0 15 15\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:g(u({},o),{width:e,height:e}),ref:r},t),{children:p(\"path\",{d:\"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z\",fill:\"currentColor\",fillRule:\"evenodd\",clipRule:\"evenodd\"})}))});Xs.displayName=\"@mantine/core/CloseIcon\"});var Ks,fh=d(()=>{\"use client\";Ks={root:\"m_86a44da5\",\"root--subtle\":\"m_220c80f2\"}});var i2,x0,I0,Qt,Ys=d(()=>{\"use client\";R();xe();i2=v(y(),1);Ie();k();q();le();ho();qr();lh();fh();x0={variant:\"subtle\"},I0=(e,{size:o,radius:t,iconSize:r})=>({root:{\"--cb-size\":j(o,\"cb-size\"),\"--cb-radius\":t===void 0?void 0:ie(t),\"--cb-icon-size\":_(r)}}),Qt=Ae((e,o)=>{let t=M(\"CloseButton\",x0,e),P=t,{iconSize:r,children:a,vars:n,radius:l,className:f,classNames:s,style:i,styles:m,unstyled:c,\"data-disabled\":x,disabled:I,variant:h,icon:b,mod:S,__staticSelector:w}=P,F=C(P,[\"iconSize\",\"children\",\"vars\",\"radius\",\"className\",\"classNames\",\"style\",\"styles\",\"unstyled\",\"data-disabled\",\"disabled\",\"variant\",\"icon\",\"mod\",\"__staticSelector\"]),B=W({name:w||\"CloseButton\",props:t,className:f,style:i,classes:Ks,classNames:s,styles:m,unstyled:c,vars:n,varsResolver:I0});return p(vo,g(u(g(u({ref:o},F),{unstyled:c,variant:h,disabled:I,mod:[{disabled:I||x},S]}),B(\"root\",{variant:h,active:!I&&!x})),{children:[b||p(Xs,{}),a]}))});Qt.classes=Ks;Qt.displayName=\"@mantine/core/CloseButton\"});var v2,sh,Pe,so=d(()=>{\"use client\";v2=v(y(),1);Ar();R();k();[sh,Pe]=Ho(\"ModalBase component was not found in tree\")});function ih({opened:e,transitionDuration:o}){let[t,r]=(0,Jt.useState)(e),a=(0,Jt.useRef)(-1),l=Tr()?0:o;return(0,Jt.useEffect)(()=>(e?(r(!0),window.clearTimeout(a.current)):l===0?r(!1):a.current=window.setTimeout(()=>r(!1),l),()=>window.clearTimeout(a.current)),[e,l]),t}var Jt,ch=d(()=>{\"use client\";Jt=v(y(),1);he()});function uh({id:e,transitionProps:o,opened:t,trapFocus:r,closeOnEscape:a,onClose:n,returnFocus:l}){let f=fo(e),[s,i]=(0,Zs.useState)(!1),[m,c]=(0,Zs.useState)(!1),x=typeof(o==null?void 0:o.duration)==\"number\"?o==null?void 0:o.duration:200,I=ih({opened:t,transitionDuration:x});return Qf(\"keydown\",h=>{var b;h.key===\"Escape\"&&a&&!h.isComposing&&t&&((b=h.target)==null?void 0:b.getAttribute(\"data-mantine-stop-propagation\"))!==\"true\"&&n()},{capture:!0}),jf({opened:t,shouldReturnFocus:r&&l}),{_id:f,titleMounted:s,bodyMounted:m,shouldLockScroll:I,setTitleMounted:i,setBodyMounted:c}}var Zs,dh=d(()=>{\"use client\";Zs=v(y(),1);he();ch()});var mh,Qs,ph=d(()=>{\"use client\";R();mh=v(y(),1);hm();Ot();Ie();k();Q();NI();so();dh();Qs=(0,mh.forwardRef)((A,O)=>{var E=A,{keepMounted:e,opened:o,onClose:t,id:r,transitionProps:a,onExitTransitionEnd:n,onEnterTransitionEnd:l,trapFocus:f,closeOnEscape:s,returnFocus:i,closeOnClickOutside:m,withinPortal:c,portalProps:x,lockScroll:I,children:h,zIndex:b,shadow:S,padding:w,__vars:F,unstyled:B,removeScrollProps:P}=E,D=C(E,[\"keepMounted\",\"opened\",\"onClose\",\"id\",\"transitionProps\",\"onExitTransitionEnd\",\"onEnterTransitionEnd\",\"trapFocus\",\"closeOnEscape\",\"returnFocus\",\"closeOnClickOutside\",\"withinPortal\",\"portalProps\",\"lockScroll\",\"children\",\"zIndex\",\"shadow\",\"padding\",\"__vars\",\"unstyled\",\"removeScrollProps\"]);let{_id:T,titleMounted:U,bodyMounted:V,shouldLockScroll:$,setTitleMounted:me,setBodyMounted:Y}=uh({id:r,transitionProps:a,opened:o,trapFocus:f,closeOnEscape:s,onClose:t,returnFocus:i}),Se=P||{},{key:ve}=Se,ae=C(Se,[\"key\"]);return p(Ws,g(u({},x),{withinPortal:c,children:p(sh,{value:{opened:o,onClose:t,closeOnClickOutside:m,onExitTransitionEnd:n,onEnterTransitionEnd:l,transitionProps:g(u({},a),{keepMounted:e}),getTitleId:()=>`${T}-title`,getBodyId:()=>`${T}-body`,titleMounted:U,bodyMounted:V,setTitleMounted:me,setBodyMounted:Y,trapFocus:f,closeOnEscape:s,zIndex:b,unstyled:B},children:p(Hf,g(u({enabled:$&&I},ae),{children:p(L,g(u({ref:O},D),{__vars:g(u({},F),{\"--mb-z-index\":(b||ao(\"modal\")).toString(),\"--mb-shadow\":Ka(S),\"--mb-padding\":Xa(w)}),children:h}))}),ve)})}))});Qs.displayName=\"@mantine/core/ModalBase\"});function Ih(){let e=Pe();return(0,xh.useEffect)(()=>(e.setBodyMounted(!0),()=>e.setBodyMounted(!1)),[]),e.getBodyId()}var xh,hh=d(()=>{\"use client\";xh=v(y(),1);so()});var io,er=d(()=>{\"use client\";io={title:\"m_615af6c9\",header:\"m_b5489c3c\",inner:\"m_60c222c7\",content:\"m_fd1ab0aa\",close:\"m_606cb269\",body:\"m_5df29311\"}});var gh,Js,bh=d(()=>{\"use client\";R();gh=v(y(),1);k();Q();so();hh();er();Js=(0,gh.forwardRef)((r,t)=>{var a=r,{className:e}=a,o=C(a,[\"className\"]);let n=Ih(),l=Pe();return p(L,g(u({ref:t},o),{id:n,className:se({[io.body]:!l.unstyled},e)}))});Js.displayName=\"@mantine/core/ModalBaseBody\"});var vh,ei,yh=d(()=>{\"use client\";R();vh=v(y(),1);k();Ys();so();er();ei=(0,vh.forwardRef)((a,r)=>{var n=a,{className:e,onClick:o}=n,t=C(n,[\"className\",\"onClick\"]);let l=Pe();return p(Qt,g(u({ref:r},t),{onClick:f=>{l.onClose(),o==null||o(f)},className:se({[io.close]:!l.unstyled},e),unstyled:l.unstyled}))});ei.displayName=\"@mantine/core/ModalBaseCloseButton\"});var Sh,oi,Ch=d(()=>{\"use client\";R();Sh=v(y(),1);k();Vs();TI();Kr();so();er();oi=(0,Sh.forwardRef)((f,l)=>{var s=f,{transitionProps:e,className:o,innerProps:t,onKeyDown:r,style:a}=s,n=C(s,[\"transitionProps\",\"className\",\"innerProps\",\"onKeyDown\",\"style\"]);let i=Pe();return p(Ao,g(u(g(u({mounted:i.opened,transition:\"pop\"},i.transitionProps),{onExited:()=>{var m,c,x;(m=i.onExitTransitionEnd)==null||m.call(i),(x=(c=i.transitionProps)==null?void 0:c.onExited)==null||x.call(c)},onEntered:()=>{var m,c,x;(m=i.onEnterTransitionEnd)==null||m.call(i),(x=(c=i.transitionProps)==null?void 0:c.onEntered)==null||x.call(c)}}),e),{children:m=>p(\"div\",g(u({},t),{className:se({[io.inner]:!i.unstyled},t.className),children:p(xt,{active:i.opened&&i.trapFocus,innerRef:l,children:p(Bn,g(u({},n),{component:\"section\",role:\"dialog\",tabIndex:-1,\"aria-modal\":!0,\"aria-describedby\":i.bodyMounted?i.getBodyId():void 0,\"aria-labelledby\":i.titleMounted?i.getTitleId():void 0,style:[a,m],className:se({[io.content]:!i.unstyled},o),unstyled:i.unstyled,children:n.children}))})}))}))});oi.displayName=\"@mantine/core/ModalBaseContent\"});var wh,ti,_h=d(()=>{\"use client\";R();wh=v(y(),1);k();Q();so();er();ti=(0,wh.forwardRef)((r,t)=>{var a=r,{className:e}=a,o=C(a,[\"className\"]);let n=Pe();return p(L,u({component:\"header\",ref:t,className:se({[io.header]:!n.unstyled},e)},o))});ti.displayName=\"@mantine/core/ModalBaseHeader\"});function Fh(e){let o=Pe();return u(u(u({},h0),o.transitionProps),e)}var h0,Rh=d(()=>{\"use client\";so();h0={duration:200,timingFunction:\"ease\",transition:\"fade\"}});var Bh,ri,Ah=d(()=>{\"use client\";R();Bh=v(y(),1);LI();Kr();so();Rh();ri=(0,Bh.forwardRef)((l,n)=>{var f=l,{onClick:e,transitionProps:o,style:t,visible:r}=f,a=C(f,[\"onClick\",\"transitionProps\",\"style\",\"visible\"]);let s=Pe(),i=Fh(o);return p(Ao,g(u({mounted:r!==void 0?r:s.opened},i),{transition:\"fade\",children:m=>p(An,u({ref:n,fixed:!0,style:[t,m],zIndex:s.zIndex,unstyled:s.unstyled,onClick:c=>{e==null||e(c),s.closeOnClickOutside&&s.onClose()}},a))}))});ri.displayName=\"@mantine/core/ModalBaseOverlay\"});function Eh(){let e=Pe();return(0,Ph.useEffect)(()=>(e.setTitleMounted(!0),()=>e.setTitleMounted(!1)),[]),e.getTitleId()}var Ph,Mh=d(()=>{\"use client\";Ph=v(y(),1);so()});var Th,ai,Dh=d(()=>{\"use client\";R();Th=v(y(),1);k();Q();so();Mh();er();ai=(0,Th.forwardRef)((r,t)=>{var a=r,{className:e}=a,o=C(a,[\"className\"]);let n=Eh(),l=Pe();return p(L,g(u({component:\"h2\",ref:t,className:se({[io.title]:!l.unstyled},e)},o),{id:n}))});ai.displayName=\"@mantine/core/ModalBaseTitle\"});function Lh({children:e}){return p(we,{children:e})}var kh=d(()=>{\"use client\";R()});var VH,Oh,Nh,ni=d(()=>{\"use client\";VH=v(y(),1);R();kt();k();[Oh,Nh]=mo({size:\"sm\"})});var KH,g0,li,Hh=d(()=>{\"use client\";R();KH=v(y(),1);k();Vp();q();ee();Ys();ni();g0={},li=H((e,o)=>{let t=M(\"InputClearButton\",g0,e),x=t,{size:r,variant:a,vars:n,classNames:l,styles:f}=x,s=C(x,[\"size\",\"variant\",\"vars\",\"classNames\",\"styles\"]),i=Nh(),{resolvedClassNames:m,resolvedStyles:c}=Up({classNames:l,styles:f,props:t});return p(Qt,u({variant:a||\"transparent\",ref:o,size:r||(i==null?void 0:i.size)||\"sm\",classNames:m,styles:c,__staticSelector:\"InputClearButton\"},s))});li.displayName=\"@mantine/core/InputClearButton\"});var a3,zh,yo,ht=d(()=>{\"use client\";a3=v(y(),1);R();kt();k();[zh,yo]=mo({offsetBottom:!1,offsetTop:!1,describedBy:void 0,getStyles:null,inputId:void 0,labelId:void 0})});var Ee,gt=d(()=>{\"use client\";Ee={wrapper:\"m_6c018570\",input:\"m_8fb7ebe7\",section:\"m_82577fc2\",placeholder:\"m_88bacfd0\",root:\"m_46b77525\",label:\"m_8fdc1311\",required:\"m_78a94662\",error:\"m_8f816625\",description:\"m_fe47ce59\"}});var d3,Wh,b0,or,fi=d(()=>{\"use client\";R();xe();d3=v(y(),1);Ie();k();q();le();Q();ee();ht();gt();Wh={},b0=(e,{size:o})=>({description:{\"--input-description-size\":o===void 0?void 0:`calc(${de(o)} - ${_(2)})`}}),or=H((e,o)=>{let t=M(\"InputDescription\",Wh,e),w=M(\"InputDescription\",Wh,t),{classNames:r,className:a,style:n,styles:l,unstyled:f,vars:s,size:i,__staticSelector:m,__inheritStyles:c=!0,variant:x}=w,I=C(w,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"vars\",\"size\",\"__staticSelector\",\"__inheritStyles\",\"variant\"]),h=yo(),b=W({name:[\"InputWrapper\",m],props:t,classes:Ee,className:a,style:n,classNames:r,styles:l,unstyled:f,rootSelector:\"description\",vars:s,varsResolver:b0}),S=c&&(h==null?void 0:h.getStyles)||b;return p(L,u(u({component:\"p\",ref:o,variant:x,size:i},S(\"description\",h!=null&&h.getStyles?{className:a,style:n}:void 0)),I))});or.classes=Ee;or.displayName=\"@mantine/core/InputDescription\"});var _3,v0,y0,tr,si=d(()=>{\"use client\";R();xe();_3=v(y(),1);Ie();k();q();le();Q();ee();ht();gt();v0={},y0=(e,{size:o})=>({error:{\"--input-error-size\":o===void 0?void 0:`calc(${de(o)} - ${_(2)})`}}),tr=H((e,o)=>{let t=M(\"InputError\",v0,e),w=t,{classNames:r,className:a,style:n,styles:l,unstyled:f,vars:s,size:i,__staticSelector:m,__inheritStyles:c=!0,variant:x}=w,I=C(w,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"vars\",\"size\",\"__staticSelector\",\"__inheritStyles\",\"variant\"]),h=W({name:[\"InputWrapper\",m],props:t,classes:Ee,className:a,style:n,classNames:r,styles:l,unstyled:f,rootSelector:\"error\",vars:s,varsResolver:y0}),b=yo(),S=c&&(b==null?void 0:b.getStyles)||h;return p(L,u(u({component:\"p\",ref:o,variant:x,size:i},S(\"error\",b!=null&&b.getStyles?{className:a,style:n}:void 0)),I))});tr.classes=Ee;tr.displayName=\"@mantine/core/InputError\"});var O3,Uh,S0,rr,ii=d(()=>{\"use client\";R();O3=v(y(),1);Ie();k();q();le();Q();ee();ht();gt();Uh={labelElement:\"label\"},S0=(e,{size:o})=>({label:{\"--input-label-size\":de(o),\"--input-asterisk-color\":void 0}}),rr=H((e,o)=>{let t=M(\"InputLabel\",Uh,e),O=M(\"InputLabel\",Uh,t),{classNames:r,className:a,style:n,styles:l,unstyled:f,vars:s,labelElement:i,size:m,required:c,htmlFor:x,onMouseDown:I,children:h,__staticSelector:b,variant:S,mod:w}=O,F=C(O,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"vars\",\"labelElement\",\"size\",\"required\",\"htmlFor\",\"onMouseDown\",\"children\",\"__staticSelector\",\"variant\",\"mod\"]),B=W({name:[\"InputWrapper\",b],props:t,classes:Ee,className:a,style:n,classNames:r,styles:l,unstyled:f,rootSelector:\"label\",vars:s,varsResolver:S0}),P=yo(),D=(P==null?void 0:P.getStyles)||B;return p(L,g(u(g(u({},D(\"label\",P!=null&&P.getStyles?{className:a,style:n}:void 0)),{component:i,variant:S,size:m,ref:o,htmlFor:i===\"label\"?x:void 0,mod:[{required:c},w],onMouseDown:A=>{I==null||I(A),!A.defaultPrevented&&A.detail>1&&A.preventDefault()}}),F),{children:[h,c&&p(\"span\",g(u({},D(\"required\")),{\"aria-hidden\":!0,children:\" *\"}))]}))});rr.classes=Ee;rr.displayName=\"@mantine/core/InputLabel\"});var K3,Vh,Dn,Gh=d(()=>{\"use client\";R();K3=v(y(),1);k();q();le();Q();ee();gt();Vh={},Dn=H((e,o)=>{let t=M(\"InputPlaceholder\",Vh,e),b=M(\"InputPlaceholder\",Vh,t),{classNames:r,className:a,style:n,styles:l,unstyled:f,vars:s,__staticSelector:i,variant:m,error:c,mod:x}=b,I=C(b,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"vars\",\"__staticSelector\",\"variant\",\"error\",\"mod\"]),h=W({name:[\"InputPlaceholder\",i],props:t,classes:Ee,className:a,style:n,classNames:r,styles:l,unstyled:f,rootSelector:\"placeholder\"});return p(L,u(g(u({},h(\"placeholder\")),{mod:[{error:!!c},x],component:\"span\",variant:m,ref:o}),I))});Dn.classes=Ee;Dn.displayName=\"@mantine/core/InputPlaceholder\"});function $h(e,{hasDescription:o,hasError:t}){let r=e.findIndex(s=>s===\"input\"),a=e.slice(0,r),n=e.slice(r+1),l=o&&a.includes(\"description\")||t&&a.includes(\"error\");return{offsetBottom:o&&n.includes(\"description\")||t&&n.includes(\"error\"),offsetTop:l}}var qh=d(()=>{\"use client\"});var Ln,C0,w0,bt,ci=d(()=>{\"use client\";R();Ln=v(y(),1);he();xe();Ie();k();q();le();Q();ee();fi();si();ii();ht();qh();gt();C0={labelElement:\"label\",inputContainer:e=>e,inputWrapperOrder:[\"label\",\"description\",\"input\",\"error\"]},w0=(e,{size:o})=>({label:{\"--input-label-size\":de(o),\"--input-asterisk-color\":void 0},error:{\"--input-error-size\":o===void 0?void 0:`calc(${de(o)} - ${_(2)})`},description:{\"--input-description-size\":o===void 0?void 0:`calc(${de(o)} - ${_(2)})`}}),bt=H((e,o)=>{let t=M(\"InputWrapper\",C0,e),ua=t,{classNames:r,className:a,style:n,styles:l,unstyled:f,vars:s,size:i,variant:m,__staticSelector:c,inputContainer:x,inputWrapperOrder:I,label:h,error:b,description:S,labelProps:w,descriptionProps:F,errorProps:B,labelElement:P,children:D,withAsterisk:O,id:A,required:E,__stylesApiProps:T,mod:U}=ua,V=C(ua,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"vars\",\"size\",\"variant\",\"__staticSelector\",\"inputContainer\",\"inputWrapperOrder\",\"label\",\"error\",\"description\",\"labelProps\",\"descriptionProps\",\"errorProps\",\"labelElement\",\"children\",\"withAsterisk\",\"id\",\"required\",\"__stylesApiProps\",\"mod\"]),$=W({name:[\"InputWrapper\",c],props:T||t,classes:Ee,className:a,style:n,classNames:r,styles:l,unstyled:f,vars:s,varsResolver:w0}),me={size:i,variant:m,__staticSelector:c},Y=fo(A),ve=typeof O==\"boolean\"?O:E,ae=(B==null?void 0:B.id)||`${Y}-error`,Se=(F==null?void 0:F.id)||`${Y}-description`,Le=Y,Me=!!b&&typeof b!=\"boolean\",be=!!S,qe=`${Me?ae:\"\"} ${be?Se:\"\"}`,Yo=qe.trim().length>0?qe.trim():void 0,Ce=(w==null?void 0:w.id)||`${Y}-label`,Oo=h&&p(rr,g(u(u({labelElement:P,id:Ce,htmlFor:Le,required:ve},me),w),{children:h}),\"label\"),Je=be&&p(or,g(u(u({},F),me),{size:(F==null?void 0:F.size)||me.size,id:(F==null?void 0:F.id)||Se,children:S}),\"description\"),No=p(Ln.Fragment,{children:x(D)},\"input\"),Zo=Me&&(0,Ln.createElement)(tr,g(u(u({},B),me),{size:(B==null?void 0:B.size)||me.size,key:\"error\",id:(B==null?void 0:B.id)||ae}),b),St=I.map(ll=>{switch(ll){case\"label\":return Oo;case\"input\":return No;case\"description\":return Je;case\"error\":return Zo;default:return null}});return p(zh,{value:u({getStyles:$,describedBy:Yo,inputId:Le,labelId:Ce},$h(I,{hasDescription:be,hasError:Me})),children:p(L,g(u(u({ref:o,variant:m,size:i,mod:[{error:!!b},U]},$(\"root\")),V),{children:St}))})});bt.classes=Ee;bt.displayName=\"@mantine/core/InputWrapper\"});var w6,_0,F0,_e,Zr=d(()=>{\"use client\";R();xe();w6=v(y(),1);Ie();k();q();le();Wr();Q();ho();ni();Hh();fi();si();ii();Gh();ht();ci();gt();_0={variant:\"default\",leftSectionPointerEvents:\"none\",rightSectionPointerEvents:\"none\",withAria:!0,withErrorStyles:!0},F0=(e,o,t)=>({wrapper:{\"--input-margin-top\":t.offsetTop?\"calc(var(--mantine-spacing-xs) / 2)\":void 0,\"--input-margin-bottom\":t.offsetBottom?\"calc(var(--mantine-spacing-xs) / 2)\":void 0,\"--input-height\":j(o.size,\"input-height\"),\"--input-fz\":de(o.size),\"--input-radius\":o.radius===void 0?void 0:ie(o.radius),\"--input-left-section-width\":o.leftSectionWidth!==void 0?_(o.leftSectionWidth):void 0,\"--input-right-section-width\":o.rightSectionWidth!==void 0?_(o.rightSectionWidth):void 0,\"--input-padding-y\":o.multiline?j(o.size,\"input-padding-y\"):void 0,\"--input-left-section-pointer-events\":o.leftSectionPointerEvents,\"--input-right-section-pointer-events\":o.rightSectionPointerEvents}}),_e=Ae((e,o)=>{let t=M(\"Input\",_0,e),St=t,{classNames:r,className:a,style:n,styles:l,unstyled:f,required:s,__staticSelector:i,__stylesApiProps:m,size:c,wrapperProps:x,error:I,disabled:h,leftSection:b,leftSectionProps:S,leftSectionWidth:w,rightSection:F,rightSectionProps:B,rightSectionWidth:P,rightSectionPointerEvents:D,leftSectionPointerEvents:O,variant:A,vars:E,pointer:T,multiline:U,radius:V,id:$,withAria:me,withErrorStyles:Y,mod:ve,inputSize:ae,__clearSection:Se,__clearable:Le,__defaultRightSection:Me}=St,be=C(St,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"required\",\"__staticSelector\",\"__stylesApiProps\",\"size\",\"wrapperProps\",\"error\",\"disabled\",\"leftSection\",\"leftSectionProps\",\"leftSectionWidth\",\"rightSection\",\"rightSectionProps\",\"rightSectionWidth\",\"rightSectionPointerEvents\",\"leftSectionPointerEvents\",\"variant\",\"vars\",\"pointer\",\"multiline\",\"radius\",\"id\",\"withAria\",\"withErrorStyles\",\"mod\",\"inputSize\",\"__clearSection\",\"__clearable\",\"__defaultRightSection\"]),{styleProps:qe,rest:Yo}=Vo(be),Ce=yo(),Oo={offsetBottom:Ce==null?void 0:Ce.offsetBottom,offsetTop:Ce==null?void 0:Ce.offsetTop},Je=W({name:[\"Input\",i],props:m||t,classes:Ee,className:a,style:n,classNames:r,styles:l,unstyled:f,stylesCtx:Oo,rootSelector:\"wrapper\",vars:E,varsResolver:F0}),No=me?{required:s,disabled:h,\"aria-invalid\":!!I,\"aria-describedby\":Ce==null?void 0:Ce.describedBy,id:(Ce==null?void 0:Ce.inputId)||$}:{},Zo=F||Le&&Se||Me;return p(Oh,{value:{size:c||\"sm\"},children:p(L,g(u(u(u({},Je(\"wrapper\")),qe),x),{mod:[{error:!!I&&Y,pointer:T,disabled:h,multiline:U,\"data-with-right-section\":!!Zo,\"data-with-left-section\":!!b},ve],variant:A,size:c,children:[b&&p(\"div\",g(u(g(u({},S),{\"data-position\":\"left\"}),Je(\"section\",{className:S==null?void 0:S.className,style:S==null?void 0:S.style})),{children:b})),p(L,u(g(u(u({component:\"input\"},Yo),No),{ref:o,required:s,mod:{disabled:h,error:!!I&&Y},variant:A,__size:ae}),Je(\"input\"))),Zo&&p(\"div\",g(u(g(u({},B),{\"data-position\":\"right\"}),Je(\"section\",{className:B==null?void 0:B.className,style:B==null?void 0:B.style})),{children:Zo}))]}))})});_e.classes=Ee;_e.Wrapper=bt;_e.Label=rr;_e.Error=tr;_e.Description=or;_e.Placeholder=Dn;_e.ClearButton=li;_e.displayName=\"@mantine/core/Input\"});var ui,jh=d(()=>{\"use client\";ui={root:\"m_b6d8b162\"}});function R0(e){if(e===\"start\")return\"start\";if(e===\"end\"||e)return\"end\"}var $6,B0,A0,Xo,di=d(()=>{\"use client\";R();$6=v(y(),1);Ie();k();st();os();q();le();Q();ho();jh();B0={inherit:!1},A0=(e,{variant:o,lineClamp:t,gradient:r,size:a,color:n})=>({root:{\"--text-fz\":de(a),\"--text-lh\":Bm(a),\"--text-gradient\":o===\"gradient\"?Or(r,e):void 0,\"--text-line-clamp\":typeof t==\"number\"?t.toString():void 0,\"--text-color\":n?Ve(n,e):void 0}}),Xo=Ae((e,o)=>{let t=M(\"Text\",B0,e),D=t,{lineClamp:r,truncate:a,inline:n,inherit:l,gradient:f,span:s,__staticSelector:i,vars:m,className:c,style:x,classNames:I,styles:h,unstyled:b,variant:S,mod:w,size:F}=D,B=C(D,[\"lineClamp\",\"truncate\",\"inline\",\"inherit\",\"gradient\",\"span\",\"__staticSelector\",\"vars\",\"className\",\"style\",\"classNames\",\"styles\",\"unstyled\",\"variant\",\"mod\",\"size\"]),P=W({name:[\"Text\",i],props:t,classes:ui,className:c,style:x,classNames:I,styles:h,unstyled:b,vars:m,varsResolver:A0});return p(L,u(g(u({},P(\"root\",{focusable:!0})),{ref:o,component:s?\"span\":\"p\",variant:S,mod:[{\"data-truncate\":R0(a),\"data-line-clamp\":typeof r==\"number\",\"data-inline\":n,\"data-inherit\":l},w],size:F}),B))});Xo.classes=ui;Xo.displayName=\"@mantine/core/Text\"});var mi,Xh=d(()=>{\"use client\";mi={root:\"m_849cf0da\"}});var l5,P0,Qr,Kh=d(()=>{\"use client\";R();k();l5=v(y(),1);q();ho();di();Xh();P0={underline:\"hover\"},Qr=Ae((e,o)=>{let f=M(\"Anchor\",P0,e),{underline:t,className:r,unstyled:a,mod:n}=f,l=C(f,[\"underline\",\"className\",\"unstyled\",\"mod\"]);return p(Xo,g(u({component:\"a\",ref:o,className:se({[mi.root]:!a},r)},l),{mod:[{underline:t},n],__staticSelector:\"Anchor\",unstyled:a}))});Qr.classes=mi;Qr.displayName=\"@mantine/core/Anchor\"});var pi,Yh=d(()=>{\"use client\";pi={root:\"m_5f75b09e\",body:\"m_5f6e695e\",labelWrapper:\"m_d3ea56bb\",label:\"m_8ee546b8\",description:\"m_328f68c0\",error:\"m_8e8a99cc\"}});var Zh,Qh,Jr,xi=d(()=>{\"use client\";R();Zh=v(y(),1);Ie();k();le();Q();Zr();Yh();Qh=pi,Jr=(0,Zh.forwardRef)((O,D)=>{var A=O,{__staticSelector:e,__stylesApiProps:o,className:t,classNames:r,styles:a,unstyled:n,children:l,label:f,description:s,id:i,disabled:m,error:c,size:x,labelPosition:I=\"left\",bodyElement:h=\"div\",labelElement:b=\"label\",variant:S,style:w,vars:F,mod:B}=A,P=C(A,[\"__staticSelector\",\"__stylesApiProps\",\"className\",\"classNames\",\"styles\",\"unstyled\",\"children\",\"label\",\"description\",\"id\",\"disabled\",\"error\",\"size\",\"labelPosition\",\"bodyElement\",\"labelElement\",\"variant\",\"style\",\"vars\",\"mod\"]);let E=W({name:e,props:o,className:t,style:w,classes:pi,classNames:r,styles:a,unstyled:n});return p(L,g(u(g(u({},E(\"root\")),{ref:D,__vars:{\"--label-fz\":de(x),\"--label-lh\":j(x,\"label-lh\")},mod:[{\"label-position\":I},B],variant:S,size:x}),P),{children:p(L,g(u({component:h,htmlFor:h===\"label\"?i:void 0},E(\"body\")),{children:[l,p(\"div\",g(u({},E(\"labelWrapper\")),{\"data-disabled\":m||void 0,children:[f&&p(L,g(u({component:b,htmlFor:b===\"label\"?i:void 0},E(\"label\")),{\"data-disabled\":m||void 0,children:f})),s&&p(_e.Description,g(u({size:x,__inheritStyles:!1},E(\"description\")),{children:s})),c&&typeof c!=\"boolean\"&&p(_e.Error,g(u({size:x,__inheritStyles:!1},E(\"error\")),{children:c}))]}))]}))}))});Jr.displayName=\"@mantine/core/InlineInput\"});function kn({children:e,role:o}){let t=yo();return t?p(\"div\",{role:o,\"aria-labelledby\":t.labelId,\"aria-describedby\":t.describedBy,children:e}):p(we,{children:e})}var w5,Ii=d(()=>{\"use client\";R();w5=v(y(),1);k();ht()});var Mo,On=d(()=>{\"use client\";Mo={root:\"m_77c9d27d\",inner:\"m_80f1301b\",label:\"m_811560b9\",section:\"m_a74036a\",loader:\"m_a25b86ee\",group:\"m_80d6d844\",groupSection:\"m_70be2a01\"}});var E5,Jh,E0,Nn,eg=d(()=>{\"use client\";R();xe();E5=v(y(),1);k();q();le();Q();ee();On();Jh={orientation:\"horizontal\"},E0=(e,{borderWidth:o})=>({group:{\"--button-border-width\":_(o)}}),Nn=H((e,o)=>{let t=M(\"ButtonGroup\",Jh,e),b=M(\"ButtonGroup\",Jh,e),{className:r,style:a,classNames:n,styles:l,unstyled:f,orientation:s,vars:i,borderWidth:m,variant:c,mod:x}=b,I=C(b,[\"className\",\"style\",\"classNames\",\"styles\",\"unstyled\",\"orientation\",\"vars\",\"borderWidth\",\"variant\",\"mod\"]),h=W({name:\"ButtonGroup\",props:t,classes:Mo,className:r,style:a,classNames:n,styles:l,unstyled:f,vars:i,varsResolver:E0,rootSelector:\"group\"});return p(L,u(g(u({},h(\"group\")),{ref:o,variant:c,mod:[{\"data-orientation\":s},x],role:\"group\"}),I))});Nn.classes=Mo;Nn.displayName=\"@mantine/core/ButtonGroup\"});var W5,og,M0,Hn,tg=d(()=>{\"use client\";R();W5=v(y(),1);Ie();k();q();le();Q();ee();On();og={},M0=(e,{radius:o,color:t,gradient:r,variant:a,autoContrast:n,size:l})=>{let f=e.variantColorResolver({color:t||e.primaryColor,theme:e,gradient:r,variant:a||\"filled\",autoContrast:n});return{groupSection:{\"--section-height\":j(l,\"section-height\"),\"--section-padding-x\":j(l,\"section-padding-x\"),\"--section-fz\":l!=null&&l.includes(\"compact\")?de(l.replace(\"compact-\",\"\")):de(l),\"--section-radius\":o===void 0?void 0:ie(o),\"--section-bg\":t||a?f.background:void 0,\"--section-color\":f.color,\"--section-bd\":t||a?f.border:void 0}}},Hn=H((e,o)=>{let t=M(\"ButtonGroupSection\",og,e),b=M(\"ButtonGroupSection\",og,e),{className:r,style:a,classNames:n,styles:l,unstyled:f,vars:s,variant:i,gradient:m,radius:c,autoContrast:x}=b,I=C(b,[\"className\",\"style\",\"classNames\",\"styles\",\"unstyled\",\"vars\",\"variant\",\"gradient\",\"radius\",\"autoContrast\"]),h=W({name:\"ButtonGroupSection\",props:t,classes:Mo,className:r,style:a,classNames:n,styles:l,unstyled:f,vars:s,varsResolver:M0,rootSelector:\"groupSection\"});return p(L,u(g(u({},h(\"groupSection\")),{ref:o,variant:i}),I))});Hn.classes=Mo;Hn.displayName=\"@mantine/core/ButtonGroupSection\"});var J5,T0,D0,L0,vt,rg=d(()=>{\"use client\";R();xe();J5=v(y(),1);Ie();k();q();le();Q();ho();js();Kr();qr();eg();tg();On();T0={in:{opacity:1,transform:`translate(-50%, calc(-50% + ${_(1)}))`},out:{opacity:0,transform:\"translate(-50%, -200%)\"},common:{transformOrigin:\"center\"},transitionProperty:\"transform, opacity\"},D0={},L0=(e,{radius:o,color:t,gradient:r,variant:a,size:n,justify:l,autoContrast:f})=>{let s=e.variantColorResolver({color:t||e.primaryColor,theme:e,gradient:r,variant:a||\"filled\",autoContrast:f});return{root:{\"--button-justify\":l,\"--button-height\":j(n,\"button-height\"),\"--button-padding-x\":j(n,\"button-padding-x\"),\"--button-fz\":n!=null&&n.includes(\"compact\")?de(n.replace(\"compact-\",\"\")):de(n),\"--button-radius\":o===void 0?void 0:ie(o),\"--button-bg\":t||a?s.background:void 0,\"--button-hover\":t||a?s.hover:void 0,\"--button-color\":s.color,\"--button-bd\":t||a?s.border:void 0,\"--button-hover-color\":t||a?s.hoverColor:void 0}}},vt=Ae((e,o)=>{let t=M(\"Button\",D0,e),V=t,{style:r,vars:a,className:n,color:l,disabled:f,children:s,leftSection:i,rightSection:m,fullWidth:c,variant:x,radius:I,loading:h,loaderProps:b,gradient:S,classNames:w,styles:F,unstyled:B,\"data-disabled\":P,autoContrast:D,mod:O}=V,A=C(V,[\"style\",\"vars\",\"className\",\"color\",\"disabled\",\"children\",\"leftSection\",\"rightSection\",\"fullWidth\",\"variant\",\"radius\",\"loading\",\"loaderProps\",\"gradient\",\"classNames\",\"styles\",\"unstyled\",\"data-disabled\",\"autoContrast\",\"mod\"]),E=W({name:\"Button\",props:t,classes:Mo,className:n,style:r,classNames:w,styles:F,unstyled:B,vars:a,varsResolver:L0}),T=!!i,U=!!m;return p(vo,g(u(g(u({ref:o},E(\"root\",{active:!f&&!h&&!P})),{unstyled:B,variant:x,disabled:f||h,mod:[{disabled:f||P,loading:h,block:c,\"with-left-section\":T,\"with-right-section\":U},O]}),A),{children:[p(Ao,{mounted:!!h,transition:T0,duration:150,children:$=>p(L,g(u({component:\"span\"},E(\"loader\",{style:$})),{\"aria-hidden\":!0,children:p(It,u({color:\"var(--button-color)\",size:\"calc(var(--button-height) / 1.8)\"},b))}))}),p(\"span\",g(u({},E(\"inner\")),{children:[i&&p(L,g(u({component:\"span\"},E(\"section\")),{mod:{position:\"left\"},children:i})),p(L,g(u({component:\"span\",mod:{loading:h}},E(\"label\")),{children:s})),m&&p(L,g(u({component:\"span\"},E(\"section\")),{mod:{position:\"right\"},children:m}))]}))]}))});vt.classes=Mo;vt.displayName=\"@mantine/core/Button\";vt.Group=Nn;vt.GroupSection=Hn});var p9,ag,to,Ko=d(()=>{\"use client\";p9=v(y(),1);Ar();R();k();[ag,to]=Ho(\"Modal component was not found in tree\")});var De,To=d(()=>{\"use client\";De={root:\"m_9df02822\",content:\"m_54c44539\",inner:\"m_1f958f16\",header:\"m_d0e2b9cd\"}});var y9,k0,ea,ng=d(()=>{\"use client\";R();y9=v(y(),1);k();q();ee();bh();Ko();To();k0={},ea=H((e,o)=>{let m=M(\"ModalBody\",k0,e),{classNames:r,className:a,style:n,styles:l,vars:f}=m,s=C(m,[\"classNames\",\"className\",\"style\",\"styles\",\"vars\"]),i=to();return p(Js,u(u({ref:o},i.getStyles(\"body\",{classNames:r,style:n,styles:l,className:a})),s))});ea.classes=De;ea.displayName=\"@mantine/core/ModalBody\"});var E9,O0,oa,lg=d(()=>{\"use client\";R();E9=v(y(),1);k();q();ee();yh();Ko();To();O0={},oa=H((e,o)=>{let m=M(\"ModalCloseButton\",O0,e),{classNames:r,className:a,style:n,styles:l,vars:f}=m,s=C(m,[\"classNames\",\"className\",\"style\",\"styles\",\"vars\"]),i=to();return p(ei,u(u({ref:o},i.getStyles(\"close\",{classNames:r,style:n,styles:l,className:a})),s))});oa.classes=De;oa.displayName=\"@mantine/core/ModalCloseButton\"});var U9,N0,ta,fg=d(()=>{\"use client\";R();xe();U9=v(y(),1);k();q();ee();Ch();kh();Ko();To();N0={},ta=H((e,o)=>{let I=M(\"ModalContent\",N0,e),{classNames:r,className:a,style:n,styles:l,vars:f,children:s,__hidden:i}=I,m=C(I,[\"classNames\",\"className\",\"style\",\"styles\",\"vars\",\"children\",\"__hidden\"]),c=to(),x=c.scrollAreaComponent||Lh;return p(oi,g(u(g(u({},c.getStyles(\"content\",{className:a,style:n,styles:l,classNames:r})),{innerProps:c.getStyles(\"inner\",{className:a,style:n,styles:l,classNames:r}),\"data-full-screen\":c.fullScreen||void 0,\"data-modal-content\":!0,\"data-hidden\":i||void 0,ref:o}),m),{children:p(x,{style:{maxHeight:c.fullScreen?\"100dvh\":`calc(100dvh - (${_(c.yOffset)} * 2))`},children:s})}))});ta.classes=De;ta.displayName=\"@mantine/core/ModalContent\"});var J9,H0,ra,sg=d(()=>{\"use client\";R();J9=v(y(),1);k();q();ee();_h();Ko();To();H0={},ra=H((e,o)=>{let m=M(\"ModalHeader\",H0,e),{classNames:r,className:a,style:n,styles:l,vars:f}=m,s=C(m,[\"classNames\",\"className\",\"style\",\"styles\",\"vars\"]),i=to();return p(ti,u(u({ref:o},i.getStyles(\"header\",{classNames:r,style:n,styles:l,className:a})),s))});ra.classes=De;ra.displayName=\"@mantine/core/ModalHeader\"});var i8,z0,aa,ig=d(()=>{\"use client\";R();i8=v(y(),1);k();q();ee();Ah();Ko();To();z0={},aa=H((e,o)=>{let m=M(\"ModalOverlay\",z0,e),{classNames:r,className:a,style:n,styles:l,vars:f}=m,s=C(m,[\"classNames\",\"className\",\"style\",\"styles\",\"vars\"]),i=to();return p(ri,u(u({ref:o},i.getStyles(\"overlay\",{classNames:r,style:n,styles:l,className:a})),s))});aa.classes=De;aa.displayName=\"@mantine/core/ModalOverlay\"});var v8,W0,U0,na,cg=d(()=>{\"use client\";R();xe();v8=v(y(),1);Ot();Ie();k();q();le();ee();ph();BI();Ko();To();W0={__staticSelector:\"Modal\",closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:ao(\"modal\"),transitionProps:{duration:200,transition:\"fade-down\"},yOffset:\"5dvh\"},U0=(e,{radius:o,size:t,yOffset:r,xOffset:a})=>({root:{\"--modal-radius\":o===void 0?void 0:ie(o),\"--modal-size\":j(t,\"modal-size\"),\"--modal-y-offset\":_(r),\"--modal-x-offset\":_(a)}}),na=H((e,o)=>{let t=M(\"ModalRoot\",W0,e),F=t,{classNames:r,className:a,style:n,styles:l,unstyled:f,vars:s,yOffset:i,scrollAreaComponent:m,radius:c,fullScreen:x,centered:I,xOffset:h,__staticSelector:b}=F,S=C(F,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"vars\",\"yOffset\",\"scrollAreaComponent\",\"radius\",\"fullScreen\",\"centered\",\"xOffset\",\"__staticSelector\"]),w=W({name:b,classes:De,props:t,className:a,style:n,classNames:r,styles:l,unstyled:f,vars:s,varsResolver:U0});return p(ag,{value:{yOffset:i,scrollAreaComponent:m,getStyles:w,fullScreen:x},children:p(Qs,u(g(u({ref:o},w(\"root\")),{\"data-full-screen\":x||void 0,\"data-centered\":I||void 0,\"data-offset-scrollbars\":m===Zt.Autosize||void 0,unstyled:f}),S))})});na.classes=De;na.displayName=\"@mantine/core/ModalRoot\"});function gi({children:e}){let[o,t]=(0,hi.useState)([]),[r,a]=(0,hi.useState)(ao(\"modal\"));return p(V0,{value:{stack:o,addModal:(n,l)=>{t(f=>[...new Set([...f,n])]),a(f=>typeof l==\"number\"&&typeof f==\"number\"?Math.max(f,l):f)},removeModal:n=>t(l=>l.filter(f=>f!==n)),getZIndex:n=>`calc(${r} + ${o.indexOf(n)} + 1)`,currentId:o[o.length-1],maxZIndex:r},children:e})}var hi,V0,ug,dg=d(()=>{\"use client\";R();hi=v(y(),1);kt();Ot();k();[V0,ug]=mo();gi.displayName=\"@mantine/core/ModalStack\"});var H8,G0,la,mg=d(()=>{\"use client\";R();H8=v(y(),1);k();q();ee();Dh();Ko();To();G0={},la=H((e,o)=>{let m=M(\"ModalTitle\",G0,e),{classNames:r,className:a,style:n,styles:l,vars:f}=m,s=C(m,[\"classNames\",\"className\",\"style\",\"styles\",\"vars\"]),i=to();return p(ai,u(u({ref:o},i.getStyles(\"title\",{classNames:r,style:n,styles:l,className:a})),s))});la.classes=De;la.displayName=\"@mantine/core/ModalTitle\"});var pg,$0,$e,xg=d(()=>{\"use client\";R();pg=v(y(),1);Ot();k();q();ee();ng();lg();fg();sg();ig();cg();dg();mg();To();$0={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:ao(\"modal\"),transitionProps:{duration:200,transition:\"fade-down\"},withOverlay:!0,withCloseButton:!0},$e=H((e,o)=>{let w=M(\"Modal\",$0,e),{title:t,withOverlay:r,overlayProps:a,withCloseButton:n,closeButtonProps:l,children:f,radius:s,opened:i,stackId:m,zIndex:c}=w,x=C(w,[\"title\",\"withOverlay\",\"overlayProps\",\"withCloseButton\",\"closeButtonProps\",\"children\",\"radius\",\"opened\",\"stackId\",\"zIndex\"]),I=ug(),h=!!t||n,b=I&&m?{closeOnEscape:I.currentId===m,trapFocus:I.currentId===m,zIndex:I.getZIndex(m)}:{},S=r===!1?!1:m&&I?I.currentId===m:i;return(0,pg.useEffect)(()=>{I&&m&&(i?I.addModal(m,c||ao(\"modal\")):I.removeModal(m))},[i,m,c]),p(na,g(u(u({ref:o,radius:s,opened:i,zIndex:I&&m?I.getZIndex(m):c},x),b),{children:[r&&p(aa,u({visible:S,transitionProps:I&&m?{duration:0}:void 0},a)),p(ta,{radius:s,__hidden:I&&m&&i?m!==I.currentId:!1,children:[h&&p(ra,{children:[t&&p(la,{children:t}),n&&p(oa,u({},l))]}),p(ea,{children:f})]})]}))});$e.classes=De;$e.displayName=\"@mantine/core/Modal\";$e.Root=na;$e.Overlay=aa;$e.Content=ta;$e.Body=ea;$e.Header=ra;$e.Title=la;$e.CloseButton=oa;$e.Stack=gi});var c7,Ig,zn,Wn=d(()=>{\"use client\";c7=v(y(),1);R();kt();k();[Ig,zn]=mo()});var x7,hg,gg,bi=d(()=>{\"use client\";x7=v(y(),1);R();kt();k();[hg,gg]=mo()});var vi,bg=d(()=>{\"use client\";vi={card:\"m_9dc8ae12\"}});var S7,q0,j0,Un,vg=d(()=>{\"use client\";R();S7=v(y(),1);Ie();k();q();le();ee();gs();qr();Wn();bi();bg();q0={withBorder:!0},j0=(e,{radius:o})=>({card:{\"--card-radius\":ie(o)}}),Un=H((e,o)=>{let t=M(\"RadioCard\",q0,e),A=t,{classNames:r,className:a,style:n,styles:l,unstyled:f,vars:s,checked:i,mod:m,withBorder:c,value:x,onClick:I,name:h,onKeyDown:b}=A,S=C(A,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"vars\",\"checked\",\"mod\",\"withBorder\",\"value\",\"onClick\",\"name\",\"onKeyDown\"]),w=W({name:\"RadioCard\",classes:vi,props:t,className:a,style:n,classNames:r,styles:l,unstyled:f,vars:s,varsResolver:j0,rootSelector:\"card\"}),{dir:F}=pn(),B=zn(),P=typeof i==\"boolean\"?i:(B==null?void 0:B.value)===x||!1,D=h||(B==null?void 0:B.name),O=E=>{if(b==null||b(E),[\"ArrowDown\",\"ArrowUp\",\"ArrowLeft\",\"ArrowRight\"].includes(E.nativeEvent.code)){E.preventDefault();let T=Array.from(document.querySelectorAll(`[role=\"radio\"][name=\"${D||\"__mantine\"}\"]`)),U=T.findIndex(me=>me===E.target),V=U+1>=T.length?0:U+1,$=U-1<0?T.length-1:U-1;E.nativeEvent.code===\"ArrowDown\"&&(T[V].focus(),T[V].click()),E.nativeEvent.code===\"ArrowUp\"&&(T[$].focus(),T[$].click()),E.nativeEvent.code===\"ArrowLeft\"&&(T[F===\"ltr\"?$:V].focus(),T[F===\"ltr\"?$:V].click()),E.nativeEvent.code===\"ArrowRight\"&&(T[F===\"ltr\"?V:$].focus(),T[F===\"ltr\"?V:$].click())}};return p(hg,{value:{checked:P},children:p(vo,g(u(u({ref:o,mod:[{\"with-border\":c,checked:P},m]},w(\"card\")),S),{role:\"radio\",\"aria-checked\":P,name:D,onClick:E=>{I==null||I(E),B==null||B.onChange(x||\"\")},onKeyDown:O}))})});Un.displayName=\"@mantine/core/RadioCard\";Un.classes=vi});var O7,X0,Vn,yg=d(()=>{\"use client\";R();he();O7=v(y(),1);k();q();ee();Zr();Ii();Wn();X0={},Vn=H((e,o)=>{let b=M(\"RadioGroup\",X0,e),{value:t,defaultValue:r,onChange:a,size:n,wrapperProps:l,children:f,name:s,readOnly:i}=b,m=C(b,[\"value\",\"defaultValue\",\"onChange\",\"size\",\"wrapperProps\",\"children\",\"name\",\"readOnly\"]),c=fo(s),[x,I]=nt({value:t,defaultValue:r,finalValue:\"\",onChange:a});return p(Ig,{value:{value:x,onChange:S=>!i&&I(typeof S==\"string\"?S:S.currentTarget.value),size:n,name:c},children:p(_e.Wrapper,g(u(u({size:n,ref:o},l),m),{labelElement:\"div\",__staticSelector:\"RadioGroup\",children:p(kn,{role:\"radiogroup\",children:f})}))})});Vn.classes=_e.Wrapper.classes;Vn.displayName=\"@mantine/core/RadioGroup\"});function Gn(r){var a=r,{size:e,style:o}=a,t=C(a,[\"size\",\"style\"]);return p(\"svg\",g(u({xmlns:\"http://www.w3.org/2000/svg\",fill:\"none\",viewBox:\"0 0 5 5\",style:u({width:_(e),height:_(e)},o),\"aria-hidden\":!0},t),{children:p(\"circle\",{cx:\"2.5\",cy:\"2.5\",r:\"2.5\",fill:\"currentColor\"})}))}var X7,yi=d(()=>{\"use client\";R();xe();X7=v(y(),1);k()});var Si,Sg=d(()=>{\"use client\";Si={indicator:\"m_717d7ff6\",icon:\"m_3e4da632\",\"indicator--outline\":\"m_2980836c\"}});var e4,K0,Y0,$n,Cg=d(()=>{\"use client\";R();e4=v(y(),1);Ie();k();ft();st();ln();us();q();le();Q();ee();bi();yi();Sg();K0={icon:Gn},Y0=(e,{radius:o,color:t,size:r,iconColor:a,variant:n,autoContrast:l})=>{let f=Ye({color:t||e.primaryColor,theme:e}),s=f.isThemeColor&&f.shade===void 0?`var(--mantine-color-${f.color}-outline)`:f.color;return{indicator:{\"--radio-size\":j(r,\"radio-size\"),\"--radio-radius\":o===void 0?void 0:ie(o),\"--radio-color\":n===\"outline\"?s:Ve(t,e),\"--radio-icon-size\":j(r,\"radio-icon-size\"),\"--radio-icon-color\":a?Ve(a,e):un(l,e)?Hr({color:t,theme:e,autoContrast:l}):void 0}}},$n=H((e,o)=>{let t=M(\"RadioIndicator\",K0,e),A=t,{classNames:r,className:a,style:n,styles:l,unstyled:f,vars:s,icon:i,radius:m,color:c,iconColor:x,autoContrast:I,checked:h,mod:b,variant:S,disabled:w}=A,F=C(A,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"vars\",\"icon\",\"radius\",\"color\",\"iconColor\",\"autoContrast\",\"checked\",\"mod\",\"variant\",\"disabled\"]),B=i,P=W({name:\"RadioIndicator\",classes:Si,props:t,className:a,style:n,classNames:r,styles:l,unstyled:f,vars:s,varsResolver:Y0,rootSelector:\"indicator\"}),D=gg(),O=typeof h==\"boolean\"?h:(D==null?void 0:D.checked)||!1;return p(L,g(u(g(u({ref:o},P(\"indicator\",{variant:S})),{variant:S,mod:[{checked:O,disabled:w},b]}),F),{children:p(B,u({},P(\"icon\")))}))});$n.displayName=\"@mantine/core/RadioIndicator\";$n.classes=Si});var Ci,wg=d(()=>{\"use client\";Ci={root:\"m_f3f1af94\",inner:\"m_89c4f5e4\",icon:\"m_f3ed6b2b\",radio:\"m_8a3dbb89\",\"radio--outline\":\"m_1bfe9d39\"}});var b4,Z0,Q0,ye,_g=d(()=>{\"use client\";R();he();b4=v(y(),1);Ie();k();ft();st();ln();us();q();le();Wr();Q();ee();xi();vg();Wn();yg();yi();Cg();wg();Z0={labelPosition:\"right\"},Q0=(e,{size:o,radius:t,color:r,iconColor:a,variant:n,autoContrast:l})=>{let f=Ye({color:r||e.primaryColor,theme:e}),s=f.isThemeColor&&f.shade===void 0?`var(--mantine-color-${f.color}-outline)`:f.color;return{root:{\"--radio-size\":j(o,\"radio-size\"),\"--radio-radius\":t===void 0?void 0:ie(t),\"--radio-color\":n===\"outline\"?s:Ve(r,e),\"--radio-icon-color\":a?Ve(a,e):un(l,e)?Hr({color:r,theme:e,autoContrast:l}):void 0,\"--radio-icon-size\":j(o,\"radio-icon-size\")}}},ye=H((e,o)=>{var Me,be;let t=M(\"Radio\",Z0,e),Le=t,{classNames:r,className:a,style:n,styles:l,unstyled:f,vars:s,id:i,size:m,label:c,labelPosition:x,description:I,error:h,radius:b,color:S,variant:w,disabled:F,wrapperProps:B,icon:P=Gn,rootRef:D,iconColor:O,onChange:A,mod:E}=Le,T=C(Le,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"vars\",\"id\",\"size\",\"label\",\"labelPosition\",\"description\",\"error\",\"radius\",\"color\",\"variant\",\"disabled\",\"wrapperProps\",\"icon\",\"rootRef\",\"iconColor\",\"onChange\",\"mod\"]),U=W({name:\"Radio\",classes:Ci,props:t,className:a,style:n,classNames:r,styles:l,unstyled:f,vars:s,varsResolver:Q0}),V=zn(),$=(Me=V==null?void 0:V.size)!=null?Me:m,me=t.size?m:$,{styleProps:Y,rest:ve}=Vo(T),ae=fo(i),Se=V?{checked:V.value===ve.value,name:(be=ve.name)!=null?be:V.name,onChange:qe=>{V.onChange(qe),A==null||A(qe)}}:{};return p(Jr,g(u(u(g(u({},U(\"root\")),{__staticSelector:\"Radio\",__stylesApiProps:t,id:ae,size:me,labelPosition:x,label:c,description:I,error:h,disabled:F,classNames:r,styles:l,unstyled:f,\"data-checked\":Se.checked||void 0,variant:w,ref:D,mod:E}),Y),B),{children:p(L,g(u({},U(\"inner\")),{mod:{\"label-position\":x},children:[p(L,g(u(u(g(u({},U(\"radio\",{focusable:!0,variant:w})),{onChange:A}),ve),Se),{component:\"input\",mod:{error:!!h},ref:o,id:ae,disabled:F,type:\"radio\"})),p(P,g(u({},U(\"icon\")),{\"aria-hidden\":!0}))]}))}))});ye.classes=Ci;ye.displayName=\"@mantine/core/Radio\";ye.Group=Vn;ye.Card=Un;ye.Indicator=$n});var wi,Fg=d(()=>{\"use client\";wi={root:\"m_6d731127\"}});var U4,J0,ew,Do,Rg=d(()=>{\"use client\";R();U4=v(y(),1);Ie();k();q();le();Q();ee();Fg();J0={gap:\"md\",align:\"stretch\",justify:\"flex-start\"},ew=(e,{gap:o,align:t,justify:r})=>({root:{\"--stack-gap\":Xa(o),\"--stack-align\":t,\"--stack-justify\":r}}),Do=H((e,o)=>{let t=M(\"Stack\",J0,e),b=t,{classNames:r,className:a,style:n,styles:l,unstyled:f,vars:s,align:i,justify:m,gap:c,variant:x}=b,I=C(b,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"vars\",\"align\",\"justify\",\"gap\",\"variant\"]),h=W({name:\"Stack\",props:t,classes:wi,className:a,style:n,classNames:r,styles:l,unstyled:f,vars:s,varsResolver:ew});return p(L,u(g(u({ref:o},h(\"root\")),{variant:x}),I))});Do.classes=wi;Do.displayName=\"@mantine/core/Stack\"});var qn,Bg,Ag,Pg,_i=d(()=>{\"use client\";qn=v(y(),1),Bg=(0,qn.createContext)(null),Ag=Bg.Provider,Pg=()=>(0,qn.useContext)(Bg)});var oz,ow,jn,Eg=d(()=>{\"use client\";R();he();oz=v(y(),1);k();q();ee();Zr();Ii();_i();ow={},jn=H((e,o)=>{let I=M(\"SwitchGroup\",ow,e),{value:t,defaultValue:r,onChange:a,size:n,wrapperProps:l,children:f,readOnly:s}=I,i=C(I,[\"value\",\"defaultValue\",\"onChange\",\"size\",\"wrapperProps\",\"children\",\"readOnly\"]),[m,c]=nt({value:t,defaultValue:r,finalValue:[],onChange:a});return p(Ag,{value:{value:m,onChange:h=>{let b=h.currentTarget.value;!s&&c(m.includes(b)?m.filter(S=>S!==b):[...m,b])},size:n},children:p(_e.Wrapper,g(u(u({size:n,ref:o},l),i),{labelElement:\"div\",__staticSelector:\"SwitchGroup\",children:p(kn,{role:\"group\",children:f})}))})});jn.classes=_e.Wrapper.classes;jn.displayName=\"@mantine/core/SwitchGroup\"});var Fi,Mg=d(()=>{\"use client\";Fi={root:\"m_5f93f3bb\",input:\"m_926b4011\",track:\"m_9307d992\",thumb:\"m_93039a1d\",trackLabel:\"m_8277e082\"}});var mz,tw,rw,J,Tg=d(()=>{\"use client\";R();he();mz=v(y(),1);Ie();k();st();q();le();Wr();Q();ee();xi();_i();Eg();Mg();tw={labelPosition:\"right\",withThumbIndicator:!0},rw=(e,{radius:o,color:t,size:r})=>({root:{\"--switch-radius\":o===void 0?void 0:ie(o),\"--switch-height\":j(r,\"switch-height\"),\"--switch-width\":j(r,\"switch-width\"),\"--switch-thumb-size\":j(r,\"switch-thumb-size\"),\"--switch-label-font-size\":j(r,\"switch-label-font-size\"),\"--switch-track-label-padding\":j(r,\"switch-track-label-padding\"),\"--switch-color\":t?Ve(t,e):void 0}}),J=H((e,o)=>{var Oo;let t=M(\"Switch\",tw,e),Ce=t,{classNames:r,className:a,style:n,styles:l,unstyled:f,vars:s,color:i,label:m,offLabel:c,onLabel:x,id:I,size:h,radius:b,wrapperProps:S,thumbIcon:w,checked:F,defaultChecked:B,onChange:P,labelPosition:D,description:O,error:A,disabled:E,variant:T,rootRef:U,mod:V,withThumbIndicator:$}=Ce,me=C(Ce,[\"classNames\",\"className\",\"style\",\"styles\",\"unstyled\",\"vars\",\"color\",\"label\",\"offLabel\",\"onLabel\",\"id\",\"size\",\"radius\",\"wrapperProps\",\"thumbIcon\",\"checked\",\"defaultChecked\",\"onChange\",\"labelPosition\",\"description\",\"error\",\"disabled\",\"variant\",\"rootRef\",\"mod\",\"withThumbIndicator\"]),Y=Pg(),ve=h||(Y==null?void 0:Y.size),ae=W({name:\"Switch\",props:t,classes:Fi,className:a,style:n,classNames:r,styles:l,unstyled:f,vars:s,varsResolver:rw}),{styleProps:Se,rest:Le}=Vo(me),Me=fo(I),be=Y?{checked:Y.value.includes(Le.value),onChange:Y.onChange}:{},[qe,Yo]=nt({value:(Oo=be.checked)!=null?Oo:F,defaultValue:B,finalValue:!1});return p(Jr,g(u(u(g(u({},ae(\"root\")),{__staticSelector:\"Switch\",__stylesApiProps:t,id:Me,size:ve,labelPosition:D,label:m,description:O,error:A,disabled:E,bodyElement:\"label\",labelElement:\"span\",classNames:r,styles:l,unstyled:f,\"data-checked\":be.checked||F||void 0,variant:T,ref:U,mod:V}),Se),S),{children:[p(\"input\",u(g(u({},Le),{disabled:E,checked:qe,\"data-checked\":be.checked||F||void 0,onChange:Je=>{var No;Y?(No=be.onChange)==null||No.call(be,Je):P==null||P(Je),Yo(Je.currentTarget.checked)},id:Me,ref:o,type:\"checkbox\",role:\"switch\"}),ae(\"input\"))),p(L,g(u({\"aria-hidden\":\"true\",component:\"span\",mod:{error:A,\"label-position\":D,\"without-labels\":!x&&!c}},ae(\"track\")),{children:[p(L,g(u({component:\"span\",mod:{\"reduce-motion\":!0,\"with-thumb-indicator\":$&&!w}},ae(\"thumb\")),{children:w})),p(\"span\",g(u({},ae(\"trackLabel\")),{children:qe?x:c}))]}))]}))});J.classes=u(u({},Fi),Qh);J.displayName=\"@mantine/core/Switch\";J.Group=jn});var Fe=d(()=>{Wp();ah();Zr();ci();Kh();rg();Vs();xg();_g();Rg();Tg();di()});function Kn({size:e}){return Xn.default.createElement(\"svg\",{width:e,height:e,viewBox:\"0 0 300 350\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},Xn.default.createElement(\"path\",{fillRule:\"evenodd\",clipRule:\"evenodd\",d:\"M299.912 297H300V151H299.997C299.999 150.667 300 150.334 300 150C300 67.1573 232.843 0 150 0C67.1573 0 0 67.1573 0 150C0 150.334 0.00108895 150.667 0.00326349 151H0V297H0.0885008C0.0297676 297.992 -1.52588e-05 298.993 -1.52588e-05 300C-1.52588e-05 327.614 22.3857 350 50 350C77.6142 350 100 327.614 100 300C100 327.614 122.386 350 150 350C177.614 350 200 327.614 200 300C200 327.614 222.386 350 250 350C277.614 350 300 327.614 300 300C300 298.993 299.97 297.992 299.912 297ZM200 300C200 298.993 199.97 297.992 199.911 297H200.089C200.03 297.992 200 298.993 200 300ZM100 300C100 298.993 99.9702 297.992 99.9115 297H100.089C100.03 297.992 100 298.993 100 300ZM225 150C225 163.807 213.807 175 200 175C186.193 175 175 163.807 175 150C175 136.193 186.193 125 200 125C213.807 125 225 136.193 225 150ZM100 175C113.807 175 125 163.807 125 150C125 136.193 113.807 125 100 125C86.1929 125 75 136.193 75 150C75 163.807 86.1929 175 100 175ZM130.303 219.697C127.374 216.768 122.626 216.768 119.697 219.697C116.768 222.626 116.768 227.374 119.697 230.303C128.848 239.454 138.976 245 150 245C161.024 245 171.152 239.454 180.303 230.303C183.232 227.374 183.232 222.626 180.303 219.697C177.374 216.768 172.626 216.768 169.697 219.697C162.181 227.213 155.643 230 150 230C144.357 230 137.819 227.213 130.303 219.697Z\",fill:\"currentColor\"}),Xn.default.createElement(\"path\",{d:\"M237.355 294H68V319H237.355V294Z\",fill:\"currentColor\"}))}var Xn,Dg=d(()=>{\"use strict\";Xn=v(y())});var Lg,kg=d(()=>{Lg={outline:{xmlns:\"http://www.w3.org/2000/svg\",width:24,height:24,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\"},filled:{xmlns:\"http://www.w3.org/2000/svg\",width:24,height:24,viewBox:\"0 0 24 24\",fill:\"currentColor\",stroke:\"none\"}}});var ar,Yn,Ri=d(()=>{ar=v(y(),1);kg();Yn=(e,o,t,r)=>{let a=(0,ar.forwardRef)((I,x)=>{var h=I,{color:n=\"currentColor\",size:l=24,stroke:f=2,title:s,className:i,children:m}=h,c=C(h,[\"color\",\"size\",\"stroke\",\"title\",\"className\",\"children\"]);return(0,ar.createElement)(\"svg\",u(u(g(u({ref:x},Lg[e]),{width:l,height:l,className:[\"tabler-icon\",`tabler-icon-${o}`,i].join(\" \")}),e===\"filled\"?{fill:n}:{strokeWidth:f,stroke:n}),c),[s&&(0,ar.createElement)(\"title\",{key:\"svg-title\"},s),...r.map(([b,S])=>(0,ar.createElement)(b,S)),...Array.isArray(m)?m:[m]])});return a.displayName=`${t}`,a}});var Bi,Og=d(()=>{Ri();Bi=Yn(\"outline\",\"search\",\"IconSearch\",[[\"path\",{d:\"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0\",key:\"svg-0\"}],[\"path\",{d:\"M21 21l-6 -6\",key:\"svg-1\"}]])});var Ai,Ng=d(()=>{Ri();Ai=Yn(\"outline\",\"x\",\"IconX\",[[\"path\",{d:\"M18 6l-12 12\",key:\"svg-0\"}],[\"path\",{d:\"M6 6l12 12\",key:\"svg-1\"}]])});var Hg=d(()=>{Og();Ng();});function Ei({size:e}){return Pi.default.createElement(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 127.14 96.36\",width:e,height:e},Pi.default.createElement(\"path\",{fill:\"currentColor\",d:\"M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z\"}))}var Pi,zg=d(()=>{\"use strict\";Pi=v(y())});function Lo(e){return Array.isArray?Array.isArray(e):Xg(e)===\"[object Array]\"}function nw(e){if(typeof e==\"string\")return e;let o=e+\"\";return o==\"0\"&&1/e==-aw?\"-0\":o}function lw(e){return e==null?\"\":nw(e)}function So(e){return typeof e==\"string\"}function qg(e){return typeof e==\"number\"}function fw(e){return e===!0||e===!1||sw(e)&&Xg(e)==\"[object Boolean]\"}function jg(e){return typeof e==\"object\"}function sw(e){return jg(e)&&e!==null}function Qe(e){return e!=null}function Mi(e){return!e.trim().length}function Xg(e){return e==null?e===void 0?\"[object Undefined]\":\"[object Null]\":Object.prototype.toString.call(e)}function Kg(e){let o=null,t=null,r=null,a=1,n=null;if(So(e)||Lo(e))r=e,o=Ug(e),t=Di(e);else{if(!Wg.call(e,\"name\"))throw new Error(dw(\"name\"));let l=e.name;if(r=l,Wg.call(e,\"weight\")&&(a=e.weight,a<=0))throw new Error(mw(l));o=Ug(l),t=Di(l),n=e.getFn}return{path:o,id:t,weight:a,src:r,getFn:n}}function Ug(e){return Lo(e)?e:e.split(\".\")}function Di(e){return Lo(e)?e.join(\".\"):e}function pw(e,o){let t=[],r=!1,a=(n,l,f)=>{if(Qe(n))if(!l[f])t.push(n);else{let s=l[f],i=n[s];if(!Qe(i))return;if(f===l.length-1&&(So(i)||qg(i)||fw(i)))t.push(lw(i));else if(Lo(i)){r=!0;for(let m=0,c=i.length;m<c;m+=1)a(i[m],l,f+1)}else l.length&&a(i,l,f+1)}};return a(e,So(o)?o.split(\".\"):o,0),r?t:t[0]}function vw(e=1,o=3){let t=new Map,r=Math.pow(10,o);return{get(a){let n=a.match(bw).length;if(t.has(n))return t.get(n);let l=1/Math.pow(n,.5*e),f=parseFloat(Math.round(l*r)/r);return t.set(n,f),f},clear(){t.clear()}}}function Yg(e,o,{getFn:t=G.getFn,fieldNormWeight:r=G.fieldNormWeight}={}){let a=new fa({getFn:t,fieldNormWeight:r});return a.setKeys(e.map(Kg)),a.setSources(o),a.create(),a}function yw(e,{getFn:o=G.getFn,fieldNormWeight:t=G.fieldNormWeight}={}){let{keys:r,records:a}=e,n=new fa({getFn:o,fieldNormWeight:t});return n.setKeys(r),n.setIndexRecords(a),n}function Zn(e,{errors:o=0,currentLocation:t=0,expectedLocation:r=0,distance:a=G.distance,ignoreLocation:n=G.ignoreLocation}={}){let l=o/e.length;if(n)return l;let f=Math.abs(r-t);return a?l+f/a:f?1:l}function Sw(e=[],o=G.minMatchCharLength){let t=[],r=-1,a=-1,n=0;for(let l=e.length;n<l;n+=1){let f=e[n];f&&r===-1?r=n:!f&&r!==-1&&(a=n-1,a-r+1>=o&&t.push([r,a]),r=-1)}return e[n-1]&&n-r>=o&&t.push([r,n-1]),t}function Cw(e,o,t,{location:r=G.location,distance:a=G.distance,threshold:n=G.threshold,findAllMatches:l=G.findAllMatches,minMatchCharLength:f=G.minMatchCharLength,includeMatches:s=G.includeMatches,ignoreLocation:i=G.ignoreLocation}={}){if(o.length>yt)throw new Error(uw(yt));let m=o.length,c=e.length,x=Math.max(0,Math.min(r,c)),I=n,h=x,b=f>1||s,S=b?Array(c):[],w;for(;(w=e.indexOf(o,h))>-1;){let A=Zn(o,{currentLocation:w,expectedLocation:x,distance:a,ignoreLocation:i});if(I=Math.min(A,I),h=w+m,b){let E=0;for(;E<m;)S[w+E]=1,E+=1}}h=-1;let F=[],B=1,P=m+c,D=1<<m-1;for(let A=0;A<m;A+=1){let E=0,T=P;for(;E<T;)Zn(o,{errors:A,currentLocation:x+T,expectedLocation:x,distance:a,ignoreLocation:i})<=I?E=T:P=T,T=Math.floor((P-E)/2+E);P=T;let U=Math.max(1,x-T+1),V=l?c:Math.min(x+T,c)+m,$=Array(V+2);$[V+1]=(1<<A)-1;for(let Y=V;Y>=U;Y-=1){let ve=Y-1,ae=t[e.charAt(ve)];if(b&&(S[ve]=+!!ae),$[Y]=($[Y+1]<<1|1)&ae,A&&($[Y]|=(F[Y+1]|F[Y])<<1|1|F[Y+1]),$[Y]&D&&(B=Zn(o,{errors:A,currentLocation:ve,expectedLocation:x,distance:a,ignoreLocation:i}),B<=I)){if(I=B,h=ve,h<=x)break;U=Math.max(1,2*x-h)}}if(Zn(o,{errors:A+1,currentLocation:x,expectedLocation:x,distance:a,ignoreLocation:i})>I)break;F=$}let O={isMatch:h>=0,score:Math.max(.001,B)};if(b){let A=Sw(S,f);A.length?s&&(O.indices=A):O.isMatch=!1}return O}function ww(e){let o={};for(let t=0,r=e.length;t<r;t+=1){let a=e.charAt(t);o[a]=(o[a]||0)|1<<r-t-1}return o}function Vg(e,o){let t=e.match(o);return t?t[1]:null}function Rw(e,o={}){return e.split(Fw).map(t=>{let r=t.trim().split(_w).filter(n=>n&&!!n.trim()),a=[];for(let n=0,l=r.length;n<l;n+=1){let f=r[n],s=!1,i=-1;for(;!s&&++i<Gg;){let m=Wi[i],c=m.isMultiMatch(f);c&&(a.push(new m(c,o)),s=!0)}if(!s)for(i=-1;++i<Gg;){let m=Wi[i],c=m.isSingleMatch(f);if(c){a.push(new m(c,o));break}}}return a})}function Aw(...e){Vi.push(...e)}function Gi(e,o){for(let t=0,r=Vi.length;t<r;t+=1){let a=Vi[t];if(a.condition(e,o))return new a(e,o)}return new Jn(e,o)}function Zg(e,o,{auto:t=!0}={}){let r=a=>{let n=Object.keys(a),l=Pw(a);if(!l&&n.length>1&&!qi(a))return r($g(a));if(Ew(a)){let s=l?a[$i.PATH]:n[0],i=l?a[$i.PATTERN]:a[s];if(!So(i))throw new Error(cw(s));let m={keyId:Di(s),pattern:i};return t&&(m.searcher=Gi(i,o)),m}let f={children:[],operator:n[0]};return n.forEach(s=>{let i=a[s];Lo(i)&&i.forEach(m=>{f.children.push(r(m))})}),f};return qi(e)||(e=$g(e)),r(e)}function Mw(e,{ignoreFieldNorm:o=G.ignoreFieldNorm}){e.forEach(t=>{let r=1;t.matches.forEach(({key:a,norm:n,score:l})=>{let f=a?a.weight:null;r*=Math.pow(l===0&&f?Number.EPSILON:l,(f||1)*(o?1:n))}),t.score=r})}function Tw(e,o){let t=e.matches;o.matches=[],Qe(t)&&t.forEach(r=>{if(!Qe(r.indices)||!r.indices.length)return;let{indices:a,value:n}=r,l={indices:a,value:n};r.key&&(l.key=r.key.src),r.idx>-1&&(l.refIndex=r.idx),o.matches.push(l)})}function Dw(e,o){o.score=e.score}function Lw(e,o,{includeMatches:t=G.includeMatches,includeScore:r=G.includeScore}={}){let a=[];return t&&a.push(Tw),r&&a.push(Dw),e.map(n=>{let{idx:l}=n,f={item:o[l],refIndex:l};return a.length&&a.forEach(s=>{s(n,f)}),f})}var aw,iw,cw,uw,dw,mw,Wg,Ti,xw,Iw,hw,gw,G,bw,fa,yt,Qn,Jn,Co,Li,ki,Oi,Ni,Hi,zi,el,ol,Wi,Gg,_w,Fw,Bw,Ui,Vi,tl,$i,qi,Pw,Ew,$g,ko,Qg=d(()=>{aw=1/0;iw=\"Incorrect 'index' type\",cw=e=>`Invalid value for key ${e}`,uw=e=>`Pattern length exceeds max of ${e}.`,dw=e=>`Missing ${e} property in key`,mw=e=>`Property 'weight' in key '${e}' must be a positive integer`,Wg=Object.prototype.hasOwnProperty,Ti=class{constructor(o){this._keys=[],this._keyMap={};let t=0;o.forEach(r=>{let a=Kg(r);this._keys.push(a),this._keyMap[a.id]=a,t+=a.weight}),this._keys.forEach(r=>{r.weight/=t})}get(o){return this._keyMap[o]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};xw={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Iw={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,o)=>e.score===o.score?e.idx<o.idx?-1:1:e.score<o.score?-1:1},hw={location:0,threshold:.6,distance:100},gw={useExtendedSearch:!1,getFn:pw,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},G=u(u(u(u({},Iw),xw),hw),gw),bw=/[^ ]+/g;fa=class{constructor({getFn:o=G.getFn,fieldNormWeight:t=G.fieldNormWeight}={}){this.norm=vw(t,3),this.getFn=o,this.isCreated=!1,this.setIndexRecords()}setSources(o=[]){this.docs=o}setIndexRecords(o=[]){this.records=o}setKeys(o=[]){this.keys=o,this._keysMap={},o.forEach((t,r)=>{this._keysMap[t.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,So(this.docs[0])?this.docs.forEach((o,t)=>{this._addString(o,t)}):this.docs.forEach((o,t)=>{this._addObject(o,t)}),this.norm.clear())}add(o){let t=this.size();So(o)?this._addString(o,t):this._addObject(o,t)}removeAt(o){this.records.splice(o,1);for(let t=o,r=this.size();t<r;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(o,t){return o[this._keysMap[t]]}size(){return this.records.length}_addString(o,t){if(!Qe(o)||Mi(o))return;let r={v:o,i:t,n:this.norm.get(o)};this.records.push(r)}_addObject(o,t){let r={i:t,$:{}};this.keys.forEach((a,n)=>{let l=a.getFn?a.getFn(o):this.getFn(o,a.path);if(Qe(l)){if(Lo(l)){let f=[],s=[{nestedArrIndex:-1,value:l}];for(;s.length;){let{nestedArrIndex:i,value:m}=s.pop();if(Qe(m))if(So(m)&&!Mi(m)){let c={v:m,i,n:this.norm.get(m)};f.push(c)}else Lo(m)&&m.forEach((c,x)=>{s.push({nestedArrIndex:x,value:c})})}r.$[n]=f}else if(So(l)&&!Mi(l)){let f={v:l,n:this.norm.get(l)};r.$[n]=f}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}};yt=32;Qn=String.prototype.normalize?e=>e.normalize(\"NFD\").replace(/[\\u0300-\\u036F\\u0483-\\u0489\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u07FD\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0859-\\u085B\\u08D3-\\u08E1\\u08E3-\\u0903\\u093A-\\u093C\\u093E-\\u094F\\u0951-\\u0957\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2\\u09E3\\u09FE\\u0A01-\\u0A03\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AE2\\u0AE3\\u0AFA-\\u0AFF\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B62\\u0B63\\u0B82\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C00-\\u0C04\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0C81-\\u0C83\\u0CBC\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CE2\\u0CE3\\u0D00-\\u0D03\\u0D3B\\u0D3C\\u0D3E-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0D62\\u0D63\\u0D82\\u0D83\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86\\u0F87\\u0F8D-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102B-\\u103E\\u1056-\\u1059\\u105E-\\u1060\\u1062-\\u1064\\u1067-\\u106D\\u1071-\\u1074\\u1082-\\u108D\\u108F\\u109A-\\u109D\\u135D-\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B4-\\u17D3\\u17DD\\u180B-\\u180D\\u1885\\u1886\\u18A9\\u1920-\\u192B\\u1930-\\u193B\\u1A17-\\u1A1B\\u1A55-\\u1A5E\\u1A60-\\u1A7C\\u1A7F\\u1AB0-\\u1ABE\\u1B00-\\u1B04\\u1B34-\\u1B44\\u1B6B-\\u1B73\\u1B80-\\u1B82\\u1BA1-\\u1BAD\\u1BE6-\\u1BF3\\u1C24-\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE8\\u1CED\\u1CF2-\\u1CF4\\u1CF7-\\u1CF9\\u1DC0-\\u1DF9\\u1DFB-\\u1DFF\\u20D0-\\u20F0\\u2CEF-\\u2CF1\\u2D7F\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F-\\uA672\\uA674-\\uA67D\\uA69E\\uA69F\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA823-\\uA827\\uA880\\uA881\\uA8B4-\\uA8C5\\uA8E0-\\uA8F1\\uA8FF\\uA926-\\uA92D\\uA947-\\uA953\\uA980-\\uA983\\uA9B3-\\uA9C0\\uA9E5\\uAA29-\\uAA36\\uAA43\\uAA4C\\uAA4D\\uAA7B-\\uAA7D\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uAAEB-\\uAAEF\\uAAF5\\uAAF6\\uABE3-\\uABEA\\uABEC\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE2F]/g,\"\"):e=>e,Jn=class{constructor(o,{location:t=G.location,threshold:r=G.threshold,distance:a=G.distance,includeMatches:n=G.includeMatches,findAllMatches:l=G.findAllMatches,minMatchCharLength:f=G.minMatchCharLength,isCaseSensitive:s=G.isCaseSensitive,ignoreDiacritics:i=G.ignoreDiacritics,ignoreLocation:m=G.ignoreLocation}={}){if(this.options={location:t,threshold:r,distance:a,includeMatches:n,findAllMatches:l,minMatchCharLength:f,isCaseSensitive:s,ignoreDiacritics:i,ignoreLocation:m},o=s?o:o.toLowerCase(),o=i?Qn(o):o,this.pattern=o,this.chunks=[],!this.pattern.length)return;let c=(I,h)=>{this.chunks.push({pattern:I,alphabet:ww(I),startIndex:h})},x=this.pattern.length;if(x>yt){let I=0,h=x%yt,b=x-h;for(;I<b;)c(this.pattern.substr(I,yt),I),I+=yt;if(h){let S=x-yt;c(this.pattern.substr(S),S)}}else c(this.pattern,0)}searchIn(o){let{isCaseSensitive:t,ignoreDiacritics:r,includeMatches:a}=this.options;if(o=t?o:o.toLowerCase(),o=r?Qn(o):o,this.pattern===o){let b={isMatch:!0,score:0};return a&&(b.indices=[[0,o.length-1]]),b}let{location:n,distance:l,threshold:f,findAllMatches:s,minMatchCharLength:i,ignoreLocation:m}=this.options,c=[],x=0,I=!1;this.chunks.forEach(({pattern:b,alphabet:S,startIndex:w})=>{let{isMatch:F,score:B,indices:P}=Cw(o,b,S,{location:n+w,distance:l,threshold:f,findAllMatches:s,minMatchCharLength:i,includeMatches:a,ignoreLocation:m});F&&(I=!0),x+=B,F&&P&&(c=[...c,...P])});let h={isMatch:I,score:I?x/this.chunks.length:1};return I&&a&&(h.indices=c),h}},Co=class{constructor(o){this.pattern=o}static isMultiMatch(o){return Vg(o,this.multiRegex)}static isSingleMatch(o){return Vg(o,this.singleRegex)}search(){}};Li=class extends Co{constructor(o){super(o)}static get type(){return\"exact\"}static get multiRegex(){return/^=\"(.*)\"$/}static get singleRegex(){return/^=(.*)$/}search(o){let t=o===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},ki=class extends Co{constructor(o){super(o)}static get type(){return\"inverse-exact\"}static get multiRegex(){return/^!\"(.*)\"$/}static get singleRegex(){return/^!(.*)$/}search(o){let r=o.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,o.length-1]}}},Oi=class extends Co{constructor(o){super(o)}static get type(){return\"prefix-exact\"}static get multiRegex(){return/^\\^\"(.*)\"$/}static get singleRegex(){return/^\\^(.*)$/}search(o){let t=o.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Ni=class extends Co{constructor(o){super(o)}static get type(){return\"inverse-prefix-exact\"}static get multiRegex(){return/^!\\^\"(.*)\"$/}static get singleRegex(){return/^!\\^(.*)$/}search(o){let t=!o.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,o.length-1]}}},Hi=class extends Co{constructor(o){super(o)}static get type(){return\"suffix-exact\"}static get multiRegex(){return/^\"(.*)\"\\$$/}static get singleRegex(){return/^(.*)\\$$/}search(o){let t=o.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[o.length-this.pattern.length,o.length-1]}}},zi=class extends Co{constructor(o){super(o)}static get type(){return\"inverse-suffix-exact\"}static get multiRegex(){return/^!\"(.*)\"\\$$/}static get singleRegex(){return/^!(.*)\\$$/}search(o){let t=!o.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,o.length-1]}}},el=class extends Co{constructor(o,{location:t=G.location,threshold:r=G.threshold,distance:a=G.distance,includeMatches:n=G.includeMatches,findAllMatches:l=G.findAllMatches,minMatchCharLength:f=G.minMatchCharLength,isCaseSensitive:s=G.isCaseSensitive,ignoreDiacritics:i=G.ignoreDiacritics,ignoreLocation:m=G.ignoreLocation}={}){super(o),this._bitapSearch=new Jn(o,{location:t,threshold:r,distance:a,includeMatches:n,findAllMatches:l,minMatchCharLength:f,isCaseSensitive:s,ignoreDiacritics:i,ignoreLocation:m})}static get type(){return\"fuzzy\"}static get multiRegex(){return/^\"(.*)\"$/}static get singleRegex(){return/^(.*)$/}search(o){return this._bitapSearch.searchIn(o)}},ol=class extends Co{constructor(o){super(o)}static get type(){return\"include\"}static get multiRegex(){return/^'\"(.*)\"$/}static get singleRegex(){return/^'(.*)$/}search(o){let t=0,r,a=[],n=this.pattern.length;for(;(r=o.indexOf(this.pattern,t))>-1;)t=r+n,a.push([r,t-1]);let l=!!a.length;return{isMatch:l,score:l?0:1,indices:a}}},Wi=[Li,ol,Oi,Ni,zi,Hi,ki,el],Gg=Wi.length,_w=/ +(?=(?:[^\\\"]*\\\"[^\\\"]*\\\")*[^\\\"]*$)/,Fw=\"|\";Bw=new Set([el.type,ol.type]),Ui=class{constructor(o,{isCaseSensitive:t=G.isCaseSensitive,ignoreDiacritics:r=G.ignoreDiacritics,includeMatches:a=G.includeMatches,minMatchCharLength:n=G.minMatchCharLength,ignoreLocation:l=G.ignoreLocation,findAllMatches:f=G.findAllMatches,location:s=G.location,threshold:i=G.threshold,distance:m=G.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:r,includeMatches:a,minMatchCharLength:n,findAllMatches:f,ignoreLocation:l,location:s,threshold:i,distance:m},o=t?o:o.toLowerCase(),o=r?Qn(o):o,this.pattern=o,this.query=Rw(this.pattern,this.options)}static condition(o,t){return t.useExtendedSearch}searchIn(o){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:r,isCaseSensitive:a,ignoreDiacritics:n}=this.options;o=a?o:o.toLowerCase(),o=n?Qn(o):o;let l=0,f=[],s=0;for(let i=0,m=t.length;i<m;i+=1){let c=t[i];f.length=0,l=0;for(let x=0,I=c.length;x<I;x+=1){let h=c[x],{isMatch:b,indices:S,score:w}=h.search(o);if(b){if(l+=1,s+=w,r){let F=h.constructor.type;Bw.has(F)?f=[...f,...S]:f.push(S)}}else{s=0,l=0,f.length=0;break}}if(l){let x={isMatch:!0,score:s/l};return r&&(x.indices=f),x}}return{isMatch:!1,score:1}}},Vi=[];tl={AND:\"$and\",OR:\"$or\"},$i={PATH:\"$path\",PATTERN:\"$val\"},qi=e=>!!(e[tl.AND]||e[tl.OR]),Pw=e=>!!e[$i.PATH],Ew=e=>!Lo(e)&&jg(e)&&!qi(e),$g=e=>({[tl.AND]:Object.keys(e).map(o=>({[o]:e[o]}))});ko=class{constructor(o,t={},r){this.options=u(u({},G),t),this.options.useExtendedSearch,this._keyStore=new Ti(this.options.keys),this.setCollection(o,r)}setCollection(o,t){if(this._docs=o,t&&!(t instanceof fa))throw new Error(iw);this._myIndex=t||Yg(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(o){Qe(o)&&(this._docs.push(o),this._myIndex.add(o))}remove(o=()=>!1){let t=[];for(let r=0,a=this._docs.length;r<a;r+=1){let n=this._docs[r];o(n,r)&&(this.removeAt(r),r-=1,a-=1,t.push(n))}return t}removeAt(o){this._docs.splice(o,1),this._myIndex.removeAt(o)}getIndex(){return this._myIndex}search(o,{limit:t=-1}={}){let{includeMatches:r,includeScore:a,shouldSort:n,sortFn:l,ignoreFieldNorm:f}=this.options,s=So(o)?So(this._docs[0])?this._searchStringList(o):this._searchObjectList(o):this._searchLogical(o);return Mw(s,{ignoreFieldNorm:f}),n&&s.sort(l),qg(t)&&t>-1&&(s=s.slice(0,t)),Lw(s,this._docs,{includeMatches:r,includeScore:a})}_searchStringList(o){let t=Gi(o,this.options),{records:r}=this._myIndex,a=[];return r.forEach(({v:n,i:l,n:f})=>{if(!Qe(n))return;let{isMatch:s,score:i,indices:m}=t.searchIn(n);s&&a.push({item:n,idx:l,matches:[{score:i,value:n,norm:f,indices:m}]})}),a}_searchLogical(o){let t=Zg(o,this.options),r=(f,s,i)=>{if(!f.children){let{keyId:c,searcher:x}=f,I=this._findMatches({key:this._keyStore.get(c),value:this._myIndex.getValueForItemAtKeyId(s,c),searcher:x});return I&&I.length?[{idx:i,item:s,matches:I}]:[]}let m=[];for(let c=0,x=f.children.length;c<x;c+=1){let I=f.children[c],h=r(I,s,i);if(h.length)m.push(...h);else if(f.operator===tl.AND)return[]}return m},a=this._myIndex.records,n={},l=[];return a.forEach(({$:f,i:s})=>{if(Qe(f)){let i=r(t,f,s);i.length&&(n[s]||(n[s]={idx:s,item:f,matches:[]},l.push(n[s])),i.forEach(({matches:m})=>{n[s].matches.push(...m)}))}}),l}_searchObjectList(o){let t=Gi(o,this.options),{keys:r,records:a}=this._myIndex,n=[];return a.forEach(({$:l,i:f})=>{if(!Qe(l))return;let s=[];r.forEach((i,m)=>{s.push(...this._findMatches({key:i,value:l[m],searcher:t}))}),s.length&&n.push({idx:f,item:l,matches:s})}),n}_findMatches({key:o,value:t,searcher:r}){if(!Qe(t))return[];let a=[];if(Lo(t))t.forEach(({v:n,i:l,n:f})=>{if(!Qe(n))return;let{isMatch:s,score:i,indices:m}=r.searchIn(n);s&&a.push({score:i,key:o,value:n,idx:l,norm:f,indices:m})});else{let{v:n,n:l}=t,{isMatch:f,score:s,indices:i}=r.searchIn(n);f&&a.push({score:s,key:o,value:n,norm:l,indices:i})}return a}};ko.version=\"7.1.0\";ko.createIndex=Yg;ko.parseIndex=yw;ko.config=G;ko.parseQuery=Zg;Aw(Ui)});function X(e){let[o,t]=ji.default.useState(()=>N.getSetting(e));ji.default.useEffect(()=>{function a(n){t(n)}return N.on(`${e}.setting:update`,a),()=>{N.off(`${e}.setting:update`,a)}},[e]);function r(a){t(a),N.setSetting(e,a)}return[o,r]}var ji,Re=d(()=>{\"use strict\";ji=v(y());Oe()});var Xi={};Z(Xi,{default:()=>Ow});function kw(){let[e,o]=X(\"ALWAYS_PRESENT\");return Jg.default.createElement(J,{label:eb,description:ob,checked:e,onChange:()=>o(!e)})}var Jg,eb,ob,Ow,tb=d(()=>{\"use strict\";Jg=v(y());Re();Fe();eb=\"Always Present\",ob=\"Bypass Snapchat's presence detection.\";Ow={name:eb,description:ob,component:kw}});var Ki={};Z(Ki,{default:()=>Ww});function zw(){let[e,o]=X(\"BITMOJI_PRESENCE\");return nr.default.createElement(ye.Group,{label:rb,value:e,onChange:t=>o(t)},nr.default.createElement(Do,null,nr.default.createElement(ye,{value:\"DEFAULT\",label:ab,description:nb}),nr.default.createElement(ye,{value:\"MOBILE\",label:Nw,description:Hw}),nr.default.createElement(ye,{value:\"HIDE\",label:lb,description:fb})))}var nr,rb,ab,nb,lb,fb,Nw,Hw,Ww,sb=d(()=>{\"use strict\";nr=v(y());Fe();Re();co();rb=\"Bitmoji Presence\",ab=\"Default\",nb=\"Do what Snapchat normally does.\",lb=\"Invisible\",fb=\"Hide your bitmoji from chat.\",Nw=\"Mobile\",Hw=\"Appear as if you are on mobile.\";Ww={name:[rb,ab,lb],description:[nb,fb],component:zw}});var Yi={};Z(Yi,{default:()=>$w});function Gw(){let[e,o]=X(\"CHAT_HANDLING\");return sa.default.createElement(ye.Group,{label:ib,value:e,onChange:t=>o(t)},sa.default.createElement(Do,null,sa.default.createElement(ye,{value:\"DEFAULT\",label:cb,description:ub}),sa.default.createElement(ye,{value:\"AUTO_SAVE\",label:db,description:mb})))}var sa,ib,cb,ub,db,mb,Uw,Vw,$w,pb=d(()=>{\"use strict\";sa=v(y());Fe();Re();co();ib=\"Message Handling\",cb=\"Default\",ub=\"Do what Snapchat normally does.\",db=\"Auto-Save Messages\",mb=\"Automatically save all messages to your history.\",Uw=\"Unread\",Vw=\"Prevent others from knowing you read their message.\";$w={name:[ib,cb,db,Uw],description:[ub,mb,Vw],component:Gw}});var Zi={};Z(Zi,{default:()=>jw});function qw(){let[e,o]=X(\"ALLOW_CROSS_TAB\");return xb.default.createElement(J,{label:Ib,description:hb,checked:e,onChange:()=>o(!e)})}var xb,Ib,hb,jw,gb=d(()=>{\"use strict\";xb=v(y());Re();Fe();Ib=\"Multiple Snapchat Tabs\",hb=\"Allow multiple tabs of Snapchat to be open at once.\";jw={name:Ib,description:hb,component:qw}});var Qi={};Z(Qi,{default:()=>Kw});function Xw(){let[e,o]=X(\"SAVE_IMAGE\");return bb.default.createElement(J,{label:vb,description:yb,checked:e,onChange:()=>o(!e)})}var bb,vb,yb,Kw,Sb=d(()=>{\"use strict\";bb=v(y());Re();Fe();vb=\"Media Saving\",yb=\"Enable right-click saving of images and videos.\";Kw={name:vb,description:yb,component:Xw}});var ec={};Z(ec,{default:()=>Zw});function Yw(){let[e,o]=X(\"HALF_SWIPE_NOTIFICATION\"),t=Ji.default.useCallback(async r=>{r&&Notification.permission!==\"granted\"&&await Notification.requestPermission(),o(r)},[o]);return Ji.default.createElement(J,{label:Cb,description:wb,checked:e,onChange:()=>t(!e)})}var Ji,Cb,wb,Zw,_b=d(()=>{\"use strict\";Ji=v(y());Re();Fe();Cb=\"Peeking Notification\",wb=\"Receive a notification when someone is peeking at a conversation.\";Zw={name:Cb,description:wb,component:Yw}});var oc={};Z(oc,{default:()=>Jw});function Qw(){let[e,o]=X(\"PRESENCE_LOGGING\");return Fb.default.createElement(J,{label:Rb,description:Bb,checked:e,onChange:()=>o(!e)})}var Fb,Rb,Bb,Jw,Ab=d(()=>{\"use strict\";Fb=v(y());Re();Fe();Rb=\"Presence Logging\",Bb=\"Log presence changes to the dev-console.\";Jw={name:Rb,description:Bb,component:Qw}});var tc={};Z(tc,{default:()=>o_});function e_(){let[e,o]=X(\"ALLOW_SCREENSHOT\");return Pb.default.createElement(J,{label:Eb,description:Mb,checked:e,onChange:()=>o(!e)})}var Pb,Eb,Mb,o_,Tb=d(()=>{\"use strict\";Pb=v(y());Re();Fe();Eb=\"Screenshots\",Mb=\"Bypass Snapchat's screenshot detection.\";o_={name:Eb,description:Mb,component:e_}});var rc={};Z(rc,{default:()=>r_});function t_(){let[e,o]=X(\"SNAP_AS_MOBILE\");return Db.default.createElement(J,{label:Lb,description:kb,checked:e,onChange:()=>o(!e)})}var Db,Lb,kb,r_,Ob=d(()=>{\"use strict\";Db=v(y());Re();Fe();Lb=\"Send Snaps as Mobile\",kb=\"Snaps sent will appear sent from Mobile.\";r_={name:Lb,description:kb,component:t_}});var ac={};Z(ac,{default:()=>n_});function a_(){let[e,o]=X(\"SEND_UNSAVEABLE_MESSAGES\");return Nb.default.createElement(J,{label:Hb,description:zb,checked:e,onChange:()=>o(!e)})}var Nb,Hb,zb,n_,Wb=d(()=>{\"use strict\";Nb=v(y());Re();Fe();Hb=\"Send Messages as Unsaveable\",zb=\"Chats and Snaps will be sent as unsaveable.\";n_={name:Hb,description:zb,component:a_}});var nc={};Z(nc,{default:()=>s_});function f_(){let[e,o]=X(\"SETTINGS_BUTTON_LAYOUT\");return ia.default.createElement(ye.Group,{label:Ub,value:e,onChange:t=>o(t)},ia.default.createElement(Do,null,ia.default.createElement(ye,{value:\"RIGHT\",label:Vb,description:Gb}),ia.default.createElement(ye,{value:\"HIDDEN\",label:$b,description:qb})))}var ia,Ub,Vb,Gb,$b,qb,s_,jb=d(()=>{\"use strict\";ia=v(y());Fe();Re();co();Ub=\"Settings Button Layout\",Vb=\"Right\",Gb=\"Show Settings button on the right side of the screen.\",$b=\"Hidden\",qb=\"Hide Settings button completely. (Shift + Q to Open)\";s_={name:[Ub,Vb,$b],description:[Gb,qb],component:f_}});var lc={};Z(lc,{default:()=>c_});function i_(){let[e,o]=X(\"PREVENT_STORY_READ_RECEIPTS\");return Xb.default.createElement(J,{label:Kb,description:Yb,checked:!e,onChange:()=>o(!e)})}var Xb,Kb,Yb,c_,Zb=d(()=>{\"use strict\";Xb=v(y());Re();Fe();Kb=\"Story View-Receipts\",Yb=\"Let others know you have viewed their story.\";c_={name:Kb,description:Yb,component:i_}});var fc={};Z(fc,{default:()=>d_});function u_(){let[e,o]=X(\"PREVENT_TYPING\"),[t]=X(\"HIDE_BITMOJI\");return Qb.default.createElement(J,{disabled:t,label:Jb,description:ev,checked:!e,onChange:()=>o(!e)})}var Qb,Jb,ev,d_,ov=d(()=>{\"use strict\";Qb=v(y());Re();Fe();Jb=\"Actively Typing Animation\",ev=\"Let others know when you are typing.\";d_={name:Jb,description:ev,component:u_}});var sc={};Z(sc,{default:()=>p_});function m_(){let[e,o]=X(\"PREVENT_TYPING_NOTIFICATION\");return tv.default.createElement(J,{label:rv,description:av,checked:!e,onChange:()=>o(!e)})}var tv,rv,av,p_,nv=d(()=>{\"use strict\";tv=v(y());Re();Fe();rv=\"Started Typing Notification\",av=\"Let others know when you are typing by push-notification.\";p_={name:rv,description:av,component:m_}});var ic={};Z(ic,{default:()=>I_});function x_(){let[e,o]=X(\"UNLIMITED_FILE_SIZE\");return lv.default.createElement(J,{label:fv,description:sv,checked:e,onChange:()=>o(!e)})}var lv,fv,sv,I_,iv=d(()=>{\"use strict\";lv=v(y());Re();Fe();fv=\"Unrestricted Files\",sv=\"Enable sending media of any size.\";I_={name:fv,description:sv,component:x_}});var cc={};Z(cc,{default:()=>g_});function h_(){let[e,o]=X(\"UPLOAD_SNAPS\");return cv.default.createElement(J,{label:uv,description:dv,checked:e,onChange:()=>o(!e)})}var cv,uv,dv,g_,mv=d(()=>{\"use strict\";cv=v(y());Re();Fe();uv=\"Upload Images as Snaps\",dv=\"Uploaded images will be sent as snaps.\";g_={name:uv,description:dv,component:h_}});var uc={};Z(uc,{default:()=>v_});function b_(){let[e,o]=X(\"PRIVATE_STORIES\");return pv.default.createElement(J,{label:xv,description:Iv,checked:e,onChange:()=>o(!e)})}var pv,xv,Iv,v_,hv=d(()=>{\"use strict\";pv=v(y());Re();Fe();xv=\"Private Stories\",Iv=\"Interact with private stories on web.\";v_={name:xv,description:Iv,component:b_}});var dc={};Z(dc,{default:()=>S_,filenames:()=>C_});var y_,S_,C_,gv=d(()=>{tb();sb();pb();gb();Sb();_b();Ab();Tb();Ob();Wb();jb();Zb();ov();nv();iv();mv();hv();y_=[Xi,Ki,Yi,Zi,Qi,ec,oc,tc,rc,ac,nc,lc,fc,sc,ic,cc,uc],S_=y_,C_=[\"./settings/AlwaysPresent.tsx\",\"./settings/BitmojiPresence.tsx\",\"./settings/ChatHandling.tsx\",\"./settings/CrossTabSupport.tsx\",\"./settings/MediaSaving.tsx\",\"./settings/PeekingNotification.tsx\",\"./settings/PresenceLogging.tsx\",\"./settings/ScreenshotPrevention.tsx\",\"./settings/SendSnapsAsMobile.tsx\",\"./settings/SendUnsaveableMessages.tsx\",\"./settings/SettingsButton.tsx\",\"./settings/StoryReadReceipt.tsx\",\"./settings/TypingAnimation.tsx\",\"./settings/TypingNotification.tsx\",\"./settings/UnlimitedFileSize.tsx\",\"./settings/UploadImageSnaps.tsx\",\"./settings/ViewPrivateStories.tsx\"]});function vv(){return window.matchMedia(\"(prefers-color-scheme: dark)\").matches?\"dark\":\"light\"}function F_(t){var r=t,{children:e}=r,o=C(r,[\"children\"]);let a=rl.default.useRef(null);return rl.default.createElement(sn,u({defaultColorScheme:\"light\",colorSchemeManager:__,theme:w_,cssVariablesSelector:\":host > main\",withGlobalClasses:!1,withCssVariables:!0,getRootElement:()=>a.current},o),rl.default.createElement(\"main\",{ref:a},e))}var rl,bv,ca,w_,__,yv,Sv=d(()=>{\"use strict\";rl=v(y());Fe();ro();bv=Be(),w_={primaryColor:\"indigo\",cursorType:\"pointer\",components:{Radio:ye.extend({defaultProps:{size:\"md\",color:\"indigo\"}}),Switch:J.extend({defaultProps:{size:\"md\",color:\"indigo\"},styles:()=>({body:{alignItems:\"center\",gap:4},track:{\"--switch-width\":\"40px\"}})}),InputWrapper:bt.extend({styles:()=>({label:{marginBottom:16}})}),Modal:$e.extend({styles:()=>({body:{display:\"flex\",flexDirection:\"column\",gap:20,padding:20},content:{borderRadius:12,borderWidth:1,borderStyle:\"solid\",borderColor:\"var(--mantine-color-gray-light)\"}})})}};__={set:()=>{},get:()=>{let e=bv.getState().localSettings.appTheme;return e===\"system\"?vv():e},subscribe:e=>{ca=bv.subscribe((o,t)=>{o.localSettings.appTheme!==t.localSettings.appTheme&&(o.localSettings.appTheme===\"system\"?e(vv()):e(o.localSettings.appTheme))})},unsubscribe:()=>{ca==null||ca(),ca=void 0},clear:()=>{}};yv=F_});function B_({search:e}){let o=re.default.useMemo(()=>new ko(Cv,{keys:[\"name\",\"description\"]}),[]),t=re.default.useMemo(()=>e.length>0?o.search(e).map(r=>r.item):Cv,[e,o]);return re.default.createElement(\"div\",{className:\"modalSettings\"},e.length>0&&t.length===0?re.default.createElement(Xo,{className:\"emptySettings\"},'No settings found matching \"',e,'\".'):null,t.map(r=>{let a=r.component,n=Array.isArray(r.name)?r.name.join(\"-\"):r.name;return re.default.createElement(a,{key:n})}),e.length===0?re.default.createElement(Qr,{className:\"resetButton\",component:\"button\",onClick:()=>N.setSettings(sr)},\"Reset Settings\"):null)}function A_({onClose:e,search:o,setSearch:t}){return re.default.createElement(\"div\",{className:\"modalSection\"},re.default.createElement(Eo,{size:\"lg\",variant:\"filled\",component:\"a\",href:dl.BUY_ME_A_COFFEE},re.default.createElement(Kn,{size:18})),re.default.createElement(xt,{active:!0},re.default.createElement(_e,{variant:\"default\",size:\"sm\",autoFocus:!0,placeholder:\"Search settings\",leftSection:re.default.createElement(Bi,{size:16}),value:o,onChange:r=>t(r.currentTarget.value)})),re.default.createElement(Eo,{size:\"md\",color:\"gray\",variant:\"transparent\",onClick:e,className:\"closeButton\"},re.default.createElement(Ai,null)))}function P_({isOpen:e,onClose:o}){let[t,r]=re.default.useState(\"\");return re.default.createElement($e,{withCloseButton:!1,opened:e,onClose:o,centered:!0,size:\"lg\",lockScroll:!1,withinPortal:!1},re.default.createElement(A_,{onClose:o,search:t,setSearch:r}),re.default.createElement(B_,{search:t}),re.default.createElement(\"div\",{className:\"modalSection\"},re.default.createElement(vt,{leftSection:re.default.createElement(Ei,{size:18}),variant:\"light\",component:\"a\",href:dl.DISCORD},\"Join our Discord\"),re.default.createElement(Xo,{className:\"footerText\",component:\"a\",href:\"https://github.com/dclstn/better-snapchat/releases/tag/v1.4.2\"},\"BetterSnap v\",\"1.4.2\",\" \\u2764\\uFE0F\")))}function M_(){let[e,{toggle:o,close:t}]=Jf(!1),[r]=X(ce.SETTINGS_BUTTON_LAYOUT);return re.default.useEffect(()=>{function a(n){!n.shiftKey||n.key!==\"Q\"||(o(),n.preventDefault(),n.stopPropagation())}return window.addEventListener(\"keydown\",a),()=>window.removeEventListener(\"keydown\",a)},[o]),re.default.createElement(yv,null,r!==\"HIDDEN\"?re.default.createElement(Eo,{size:\"xl\",radius:\"md\",className:\"settingsButton\",variant:\"filled\",onClick:o},re.default.createElement(Kn,{size:18})):null,re.default.createElement(E_,{isOpen:e,onClose:t}))}var re,R_,Cv,E_,wv,_v=d(()=>{\"use strict\";re=v(y());Fe();Dg();Hg();zg();Qg();gv();co();Oe();Sv();he();Re();({default:R_}=dc),Cv=R_.map(({default:e})=>e);E_=re.default.memo(P_,(e,o)=>e.isOpen===o.isOpen&&e.onClose===o.onClose);wv=M_});var Fv,Rv=d(()=>{Fv=\".m_9814e45f{background:var(--overlay-bg,#0009);-webkit-backdrop-filter:var(--overlay-filter);border-radius:var(--overlay-radius,0);z-index:var(--overlay-z-index);position:absolute;inset:0}.m_9814e45f:where([data-fixed]){position:fixed}.m_9814e45f:where([data-center]){justify-content:center;align-items:center;display:flex}\"});var Bv,Av=d(()=>{Bv=\".m_615af6c9{font-weight:400;line-height:1;font-size:var(--mantine-font-size-md);margin:0;padding:0}.m_b5489c3c{padding:var(--mb-padding,var(--mantine-spacing-md));background-color:var(--mantine-color-body);z-index:1000;justify-content:space-between;align-items:center;min-height:60px;padding-inline-end:calc(var(--mb-padding,var(--mantine-spacing-md)) - calc(.3125rem*var(--mantine-scale)));transition:padding-inline-end .1s;display:flex;position:sticky;top:0}.m_60c222c7{width:100%;z-index:var(--mb-z-index);pointer-events:none;position:fixed;top:0;bottom:0}.m_fd1ab0aa{pointer-events:all;box-shadow:var(--mb-shadow,var(--mantine-shadow-xl))}.m_fd1ab0aa [data-mantine-scrollbar]{z-index:1001}[data-offset-scrollbars] .m_fd1ab0aa:has([data-mantine-scrollbar]) .m_b5489c3c{padding-inline-end:calc(var(--mb-padding,var(--mantine-spacing-md)) + calc(.3125rem*var(--mantine-scale)))}.m_606cb269{margin-inline-start:auto}.m_5df29311{padding:var(--mb-padding,var(--mantine-spacing-md));padding-top:var(--mb-padding,var(--mantine-spacing-md))}.m_5df29311:where(:not(:only-child)){padding-top:0}\"});var Pv,Ev=d(()=>{Pv=\".m_87cf2631{cursor:pointer;appearance:none;font-size:var(--mantine-font-size-md);text-align:left;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background-color:#0000;border:0;padding:0;text-decoration:none}:where([dir=rtl]) .m_87cf2631{text-align:right}\"});var Mv,Tv=d(()=>{Mv=\".m_6c018570{margin-top:var(--input-margin-top,0rem);margin-bottom:var(--input-margin-bottom,0rem);--input-height-xs:30px;--input-height-sm:36px;--input-height-md:42px;--input-height-lg:50px;--input-height-xl:60px;--input-padding-y-xs:5px;--input-padding-y-sm:6px;--input-padding-y-md:8px;--input-padding-y-lg:10px;--input-padding-y-xl:13px;--input-height:var(--input-height-sm);--input-radius:var(--mantine-radius-default);--input-cursor:text;--input-text-align:left;--input-line-height:calc(var(--input-height) - calc(.125rem*var(--mantine-scale)));--input-padding:calc(var(--input-height)/3);--input-padding-inline-start:var(--input-padding);--input-padding-inline-end:var(--input-padding);--input-placeholder-color:var(--mantine-color-placeholder);--input-color:var(--mantine-color-text);--input-disabled-bg:var(--mantine-color-disabled);--input-disabled-color:var(--mantine-color-disabled-color);--input-left-section-size:var(--input-left-section-width,calc(var(--input-height) - calc(.125rem*var(--mantine-scale))));--input-right-section-size:var(--input-right-section-width,calc(var(--input-height) - calc(.125rem*var(--mantine-scale))));--input-size:var(--input-height);--section-y:1px;--left-section-start:1px;--left-section-border-radius:var(--input-radius)0 0 var(--input-radius);--right-section-end:1px;--right-section-border-radius:0 var(--input-radius)var(--input-radius)0;position:relative}.m_6c018570[data-variant=unstyled]{--input-padding:0;--input-padding-y:0;--input-padding-inline-start:0;--input-padding-inline-end:0}.m_6c018570[data-pointer]{--input-cursor:pointer}.m_6c018570[data-multiline]{--input-padding-y-xs:4.5px;--input-padding-y-sm:5.5px;--input-padding-y-md:7px;--input-padding-y-lg:9.5px;--input-padding-y-xl:13px;--input-size:auto;--input-line-height:var(--mantine-line-height);--input-padding-y:var(--input-padding-y-sm)}.m_6c018570[data-with-left-section]{--input-padding-inline-start:var(--input-left-section-size)}.m_6c018570[data-with-right-section]{--input-padding-inline-end:var(--input-right-section-size)}[data-mantine-color-scheme=light] .m_6c018570[data-variant=default]{--input-bd:var(--mantine-color-gray-4);--input-bg:var(--mantine-color-white);--input-bd-focus:var(--mantine-primary-color-filled)}[data-mantine-color-scheme=light] .m_6c018570[data-variant=filled]{--input-bd:transparent;--input-bg:var(--mantine-color-gray-1);--input-bd-focus:var(--mantine-primary-color-filled)}[data-mantine-color-scheme=light] .m_6c018570[data-variant=unstyled]{--input-bd:transparent;--input-bg:transparent;--input-bd-focus:transparent}[data-mantine-color-scheme=dark] .m_6c018570[data-variant=default]{--input-bd:var(--mantine-color-dark-4);--input-bg:var(--mantine-color-dark-6);--input-bd-focus:var(--mantine-primary-color-filled)}[data-mantine-color-scheme=dark] .m_6c018570[data-variant=filled]{--input-bd:transparent;--input-bg:var(--mantine-color-dark-5);--input-bd-focus:var(--mantine-primary-color-filled)}[data-mantine-color-scheme=dark] .m_6c018570[data-variant=unstyled]{--input-bd:transparent;--input-bg:transparent;--input-bd-focus:transparent}[data-mantine-color-scheme] .m_6c018570[data-error]:not([data-variant=unstyled]){--input-bd:var(--mantine-color-error)}[data-mantine-color-scheme] .m_6c018570[data-error]{--input-color:var(--mantine-color-error);--input-placeholder-color:var(--mantine-color-error);--input-section-color:var(--mantine-color-error)}:where([dir=rtl]) .m_6c018570{--input-text-align:right;--left-section-border-radius:0 var(--input-radius)var(--input-radius)0;--right-section-border-radius:var(--input-radius)0 0 var(--input-radius)}.m_8fb7ebe7{-webkit-tap-highlight-color:transparent;appearance:none;resize:var(--input-resize,none);width:100%;text-align:var(--input-text-align);color:var(--input-color);border:calc(.0625rem*var(--mantine-scale))solid var(--input-bd);background-color:var(--input-bg);font-family:var(--input-font-family,var(--mantine-font-family));height:var(--input-size);min-height:var(--input-height);line-height:var(--input-line-height);font-size:var(--input-fz,var(--input-fz,var(--mantine-font-size-sm)));border-radius:var(--input-radius);padding-inline-start:var(--input-padding-inline-start);padding-inline-end:var(--input-padding-inline-end);padding-top:var(--input-padding-y,0rem);padding-bottom:var(--input-padding-y,0rem);cursor:var(--input-cursor);overflow:var(--input-overflow);transition:border-color .1s;display:block}.m_8fb7ebe7[data-no-overflow]{--input-overflow:hidden}.m_8fb7ebe7[data-monospace]{--input-font-family:var(--mantine-font-family-monospace);--input-fz:calc(var(--input-fz,var(--mantine-font-size-sm)) - calc(.125rem*var(--mantine-scale)))}.m_8fb7ebe7:focus,.m_8fb7ebe7:focus-within{--input-bd:var(--input-bd-focus);outline:none}[data-error] .m_8fb7ebe7:focus,[data-error] .m_8fb7ebe7:focus-within{--input-bd:var(--mantine-color-error)}.m_8fb7ebe7::placeholder{color:var(--input-placeholder-color);opacity:1}.m_8fb7ebe7::-webkit-inner-spin-button,.m_8fb7ebe7::-webkit-outer-spin-button,.m_8fb7ebe7::-webkit-search-decoration,.m_8fb7ebe7::-webkit-search-cancel-button,.m_8fb7ebe7::-webkit-search-results-button,.m_8fb7ebe7::-webkit-search-results-decoration{appearance:none}.m_8fb7ebe7[type=number]{-moz-appearance:textfield}.m_8fb7ebe7:disabled,.m_8fb7ebe7[data-disabled],.m_8fb7ebe7:has(input:disabled){cursor:not-allowed;opacity:.6;background-color:var(--input-disabled-bg);color:var(--input-disabled-color)}.m_82577fc2{pointer-events:var(--section-pointer-events);z-index:1;inset-inline-start:var(--section-start);inset-inline-end:var(--section-end);bottom:var(--section-y);top:var(--section-y);width:var(--section-size);border-radius:var(--section-border-radius);color:var(--input-section-color,var(--mantine-color-dimmed));justify-content:center;align-items:center;display:flex;position:absolute}.m_82577fc2[data-position=right]{--section-pointer-events:var(--input-right-section-pointer-events);--section-end:var(--right-section-end);--section-size:var(--input-right-section-size);--section-border-radius:var(--right-section-border-radius)}.m_82577fc2[data-position=left]{--section-pointer-events:var(--input-left-section-pointer-events);--section-start:var(--left-section-start);--section-size:var(--input-left-section-size);--section-border-radius:var(--left-section-border-radius)}.m_88bacfd0{color:var(--input-placeholder-color,var(--mantine-color-placeholder))}[data-error] .m_88bacfd0{--input-placeholder-color:var(--input-color,var(--mantine-color-placeholder))}.m_46b77525{line-height:var(--mantine-line-height)}.m_8fdc1311{word-break:break-word;cursor:default;-webkit-tap-highlight-color:transparent;font-weight:500;font-size:var(--input-label-size,var(--mantine-font-size-sm));display:inline-block}.m_78a94662{color:var(--input-asterisk-color,var(--mantine-color-error))}.m_8f816625,.m_fe47ce59{word-wrap:break-word;margin:0;padding:0;line-height:1.2;display:block}.m_8f816625{color:var(--mantine-color-error);font-size:var(--input-error-size,calc(var(--mantine-font-size-sm) - calc(.125rem*var(--mantine-scale))))}.m_fe47ce59{color:var(--mantine-color-dimmed);font-size:var(--input-description-size,calc(var(--mantine-font-size-sm) - calc(.125rem*var(--mantine-scale))))}\"});var Dv,Lv=d(()=>{Dv=\".m_8bffd616{display:flex}\"});var kv,Ov=d(()=>{kv=\".m_8d3f4000{--ai-size-xs:18px;--ai-size-sm:22px;--ai-size-md:28px;--ai-size-lg:34px;--ai-size-xl:44px;--ai-size-input-xs:30px;--ai-size-input-sm:36px;--ai-size-input-md:42px;--ai-size-input-lg:50px;--ai-size-input-xl:60px;--ai-size:var(--ai-size-md);--ai-color:var(--mantine-color-white);user-select:none;width:var(--ai-size);height:var(--ai-size);min-width:var(--ai-size);min-height:var(--ai-size);border-radius:var(--ai-radius,var(--mantine-radius-default));background:var(--ai-bg,var(--mantine-primary-color-filled));color:var(--ai-color,var(--mantine-color-white));border:var(--ai-bd,calc(.0625rem*var(--mantine-scale))solid transparent);cursor:pointer;justify-content:center;align-items:center;line-height:1;display:inline-flex;position:relative;overflow:hidden}@media (hover:hover){.m_8d3f4000:hover:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--ai-hover,var(--mantine-primary-color-filled-hover));color:var(--ai-hover-color,var(--ai-color))}}@media (hover:none){.m_8d3f4000:active:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--ai-hover,var(--mantine-primary-color-filled-hover));color:var(--ai-hover-color,var(--ai-color))}}.m_8d3f4000[data-loading]{cursor:not-allowed}.m_8d3f4000[data-loading] .m_8d3afb97{opacity:0;transform:translateY(100%)}.m_8d3f4000:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){cursor:not-allowed;color:var(--mantine-color-disabled-color);background-color:var(--mantine-color-disabled);border:1px solid #0000}.m_8d3f4000:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])):active{transform:none}.m_302b9fb1{border-radius:var(--ai-radius,var(--mantine-radius-default));justify-content:center;align-items:center;display:flex;position:absolute;inset:-1px}:where([data-mantine-color-scheme=light]) .m_302b9fb1{background-color:#ffffff26}:where([data-mantine-color-scheme=dark]) .m_302b9fb1{background-color:#00000026}.m_1a0f1b21{--ai-border-width:1px;display:flex}.m_1a0f1b21 :where(*):focus{z-index:1;position:relative}.m_1a0f1b21[data-orientation=horizontal]{flex-direction:row}.m_1a0f1b21[data-orientation=horizontal] .m_8d3f4000:not(:only-child):first-child,.m_1a0f1b21[data-orientation=horizontal] .m_437b6484:not(:only-child):first-child{border-inline-end-width:calc(var(--ai-border-width)/2);border-start-end-radius:0;border-end-end-radius:0}.m_1a0f1b21[data-orientation=horizontal] .m_8d3f4000:not(:only-child):last-child,.m_1a0f1b21[data-orientation=horizontal] .m_437b6484:not(:only-child):last-child{border-inline-start-width:calc(var(--ai-border-width)/2);border-start-start-radius:0;border-end-start-radius:0}.m_1a0f1b21[data-orientation=horizontal] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child),.m_1a0f1b21[data-orientation=horizontal] .m_437b6484:not(:only-child):not(:first-child):not(:last-child){border-inline-width:calc(var(--ai-border-width)/2);border-radius:0}.m_1a0f1b21[data-orientation=vertical]{flex-direction:column}.m_1a0f1b21[data-orientation=vertical] .m_8d3f4000:not(:only-child):first-child,.m_1a0f1b21[data-orientation=vertical] .m_437b6484:not(:only-child):first-child{border-bottom-width:calc(var(--ai-border-width)/2);border-end-end-radius:0;border-end-start-radius:0}.m_1a0f1b21[data-orientation=vertical] .m_8d3f4000:not(:only-child):last-child,.m_1a0f1b21[data-orientation=vertical] .m_437b6484:not(:only-child):last-child{border-top-width:calc(var(--ai-border-width)/2);border-start-start-radius:0;border-start-end-radius:0}.m_1a0f1b21[data-orientation=vertical] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child),.m_1a0f1b21[data-orientation=vertical] .m_437b6484:not(:only-child):not(:first-child):not(:last-child){border-bottom-width:calc(var(--ai-border-width)/2);border-top-width:calc(var(--ai-border-width)/2);border-radius:0}.m_8d3afb97{justify-content:center;align-items:center;width:100%;height:100%;transition:transform .15s,opacity .1s;display:flex}.m_437b6484{--section-height-xs:18px;--section-height-sm:22px;--section-height-md:28px;--section-height-lg:34px;--section-height-xl:44px;--section-height-input-xs:30px;--section-height-input-sm:36px;--section-height-input-md:42px;--section-height-input-lg:50px;--section-height-input-xl:60px;--section-padding-x-xs:6px;--section-padding-x-sm:8px;--section-padding-x-md:10px;--section-padding-x-lg:12px;--section-padding-x-xl:16px;--section-height:var(--section-height-sm);--section-padding-x:var(--section-padding-x-sm);--section-color:var(--mantine-color-white);border-radius:var(--section-radius,var(--mantine-radius-default));width:auto;font-weight:600;font-size:var(--section-fz,var(--mantine-font-size-sm));background:var(--section-bg,var(--mantine-primary-color-filled));border:var(--section-bd,calc(.0625rem*var(--mantine-scale))solid transparent);color:var(--section-color,var(--mantine-color-white));height:var(--section-height,var(--section-height-sm));padding-inline:var(--section-padding-x,var(--section-padding-x-sm));vertical-align:middle;justify-content:center;align-items:center;line-height:1;display:inline-flex}\"});var Nv,Hv=d(()=>{Nv=\".m_9df02822{--modal-size-xs:320px;--modal-size-sm:380px;--modal-size-md:440px;--modal-size-lg:620px;--modal-size-xl:780px;--modal-size:var(--modal-size-md);--modal-y-offset:5dvh;--modal-x-offset:5vw}.m_9df02822[data-full-screen]{--modal-border-radius:0!important}.m_9df02822[data-full-screen] .m_54c44539{--modal-content-flex:0 0 100%;--modal-content-max-height:auto;--modal-content-height:100dvh}.m_9df02822[data-full-screen] .m_1f958f16{--modal-inner-y-offset:0;--modal-inner-x-offset:0}.m_9df02822[data-centered] .m_1f958f16{--modal-inner-align:center}.m_d0e2b9cd{border-start-start-radius:var(--modal-radius,var(--mantine-radius-default));border-start-end-radius:var(--modal-radius,var(--mantine-radius-default))}.m_54c44539{flex:var(--modal-content-flex,0 0 var(--modal-size));max-width:100%;max-height:var(--modal-content-max-height,calc(100dvh - var(--modal-y-offset)*2));height:var(--modal-content-height,auto);overflow-y:auto}.m_54c44539[data-full-screen]{border-radius:0}.m_54c44539[data-hidden]{pointer-events:none;opacity:0!important}.m_1f958f16{justify-content:center;align-items:var(--modal-inner-align,flex-start);padding-top:var(--modal-inner-y-offset,var(--modal-y-offset));padding-bottom:var(--modal-inner-y-offset,var(--modal-y-offset));padding-inline:var(--modal-inner-x-offset,var(--modal-x-offset));display:flex}\"});var zv,Wv=d(()=>{zv=\".m_5f75b09e{--label-lh-xs:16px;--label-lh-sm:20px;--label-lh-md:24px;--label-lh-lg:30px;--label-lh-xl:36px;--label-lh:var(--label-lh-sm)}.m_5f75b09e[data-label-position=left]{--label-order:1;--label-offset-end:var(--mantine-spacing-sm);--label-offset-start:0}.m_5f75b09e[data-label-position=right]{--label-order:2;--label-offset-end:0;--label-offset-start:var(--mantine-spacing-sm)}.m_5f6e695e{display:flex}.m_d3ea56bb{--label-cursor:var(--mantine-cursor-type);-webkit-tap-highlight-color:transparent;font-size:var(--label-fz,var(--mantine-font-size-sm));line-height:var(--label-lh);cursor:var(--label-cursor);flex-direction:column;order:var(--label-order);display:inline-flex}fieldset:disabled .m_d3ea56bb,.m_d3ea56bb[data-disabled]{--label-cursor:not-allowed}.m_8ee546b8{cursor:var(--label-cursor);color:inherit;padding-inline-start:var(--label-offset-start);padding-inline-end:var(--label-offset-end)}fieldset:disabled .m_8ee546b8,.m_8ee546b8:where([data-disabled]){color:var(--mantine-color-disabled-color)}.m_328f68c0,.m_8e8a99cc{margin-top:calc(var(--mantine-spacing-xs)/2);padding-inline-start:var(--label-offset-start);padding-inline-end:var(--label-offset-end)}\"});var Uv,Vv=d(()=>{Uv='.m_77c9d27d{--button-height-xs:30px;--button-height-sm:36px;--button-height-md:42px;--button-height-lg:50px;--button-height-xl:60px;--button-height-compact-xs:22px;--button-height-compact-sm:26px;--button-height-compact-md:30px;--button-height-compact-lg:34px;--button-height-compact-xl:40px;--button-padding-x-xs:14px;--button-padding-x-sm:18px;--button-padding-x-md:22px;--button-padding-x-lg:26px;--button-padding-x-xl:32px;--button-padding-x-compact-xs:7px;--button-padding-x-compact-sm:8px;--button-padding-x-compact-md:10px;--button-padding-x-compact-lg:12px;--button-padding-x-compact-xl:14px;--button-height:var(--button-height-sm);--button-padding-x:var(--button-padding-x-sm);--button-color:var(--mantine-color-white);user-select:none;text-align:center;cursor:pointer;border-radius:var(--button-radius,var(--mantine-radius-default));width:auto;font-weight:600;line-height:1;font-size:var(--button-fz,var(--mantine-font-size-sm));background:var(--button-bg,var(--mantine-primary-color-filled));border:var(--button-bd,calc(.0625rem*var(--mantine-scale))solid transparent);color:var(--button-color,var(--mantine-color-white));height:var(--button-height,var(--button-height-sm));padding-inline:var(--button-padding-x,var(--button-padding-x-sm));vertical-align:middle;display:inline-block;position:relative;overflow:hidden}.m_77c9d27d:where([data-block]){width:100%;display:block}.m_77c9d27d:where([data-with-left-section]){padding-inline-start:calc(var(--button-padding-x)/1.5)}.m_77c9d27d:where([data-with-right-section]){padding-inline-end:calc(var(--button-padding-x)/1.5)}.m_77c9d27d:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){cursor:not-allowed;color:var(--mantine-color-disabled-color);background:var(--mantine-color-disabled);border:1px solid #0000;transform:none}.m_77c9d27d:before{content:\"\";pointer-events:none;border-radius:var(--button-radius,var(--mantine-radius-default));opacity:0;filter:blur(12px);transition:transform .15s,opacity .1s;position:absolute;inset:-1px;transform:translateY(-100%)}:where([data-mantine-color-scheme=light]) .m_77c9d27d:before{background-color:#ffffff26}:where([data-mantine-color-scheme=dark]) .m_77c9d27d:before{background-color:#00000026}.m_77c9d27d:where([data-loading]){cursor:not-allowed;transform:none}.m_77c9d27d:where([data-loading]):before{opacity:1;transform:translateY(0)}.m_77c9d27d:where([data-loading]) .m_80f1301b{opacity:0;transform:translateY(100%)}@media (hover:hover){.m_77c9d27d:hover:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--button-hover,var(--mantine-primary-color-filled-hover));color:var(--button-hover-color,var(--button-color))}}@media (hover:none){.m_77c9d27d:active:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--button-hover,var(--mantine-primary-color-filled-hover));color:var(--button-hover-color,var(--button-color))}}.m_80f1301b{align-items:center;justify-content:var(--button-justify,center);height:100%;transition:transform .15s,opacity .1s;display:flex;overflow:visible}.m_811560b9{white-space:nowrap;opacity:1;align-items:center;height:100%;display:flex;overflow:hidden}.m_811560b9:where([data-loading]){opacity:.2}.m_a74036a{align-items:center;display:flex}.m_a74036a:where([data-position=left]){margin-inline-end:var(--mantine-spacing-xs)}.m_a74036a:where([data-position=right]){margin-inline-start:var(--mantine-spacing-xs)}.m_a25b86ee{position:absolute;top:50%;left:50%}.m_80d6d844{--button-border-width:1px;display:flex}.m_80d6d844 :where(.m_77c9d27d):focus{z-index:1;position:relative}.m_80d6d844[data-orientation=horizontal]{flex-direction:row}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):first-child,.m_80d6d844[data-orientation=horizontal] .m_70be2a01:not(:only-child):first-child{border-inline-end-width:calc(var(--button-border-width)/2);border-start-end-radius:0;border-end-end-radius:0}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):last-child,.m_80d6d844[data-orientation=horizontal] .m_70be2a01:not(:only-child):last-child{border-inline-start-width:calc(var(--button-border-width)/2);border-start-start-radius:0;border-end-start-radius:0}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child),.m_80d6d844[data-orientation=horizontal] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child){border-inline-width:calc(var(--button-border-width)/2);border-radius:0}.m_80d6d844[data-orientation=vertical]{flex-direction:column}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):first-child,.m_80d6d844[data-orientation=vertical] .m_70be2a01:not(:only-child):first-child{border-bottom-width:calc(var(--button-border-width)/2);border-end-end-radius:0;border-end-start-radius:0}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):last-child,.m_80d6d844[data-orientation=vertical] .m_70be2a01:not(:only-child):last-child{border-top-width:calc(var(--button-border-width)/2);border-start-start-radius:0;border-start-end-radius:0}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child),.m_80d6d844[data-orientation=vertical] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child){border-bottom-width:calc(var(--button-border-width)/2);border-top-width:calc(var(--button-border-width)/2);border-radius:0}.m_70be2a01{--section-height-xs:30px;--section-height-sm:36px;--section-height-md:42px;--section-height-lg:50px;--section-height-xl:60px;--section-height-compact-xs:22px;--section-height-compact-sm:26px;--section-height-compact-md:30px;--section-height-compact-lg:34px;--section-height-compact-xl:40px;--section-padding-x-xs:14px;--section-padding-x-sm:18px;--section-padding-x-md:22px;--section-padding-x-lg:26px;--section-padding-x-xl:32px;--section-padding-x-compact-xs:7px;--section-padding-x-compact-sm:8px;--section-padding-x-compact-md:10px;--section-padding-x-compact-lg:12px;--section-padding-x-compact-xl:14px;--section-height:var(--section-height-sm);--section-padding-x:var(--section-padding-x-sm);--section-color:var(--mantine-color-white);border-radius:var(--section-radius,var(--mantine-radius-default));width:auto;font-weight:600;font-size:var(--section-fz,var(--mantine-font-size-sm));background:var(--section-bg,var(--mantine-primary-color-filled));border:var(--section-bd,calc(.0625rem*var(--mantine-scale))solid transparent);color:var(--section-color,var(--mantine-color-white));height:var(--section-height,var(--section-height-sm));padding-inline:var(--section-padding-x,var(--section-padding-x-sm));vertical-align:middle;justify-content:center;align-items:center;line-height:1;display:inline-flex}'});var Gv,$v=d(()=>{Gv=\".m_1b7284a3{--paper-radius:var(--mantine-radius-default);-webkit-tap-highlight-color:transparent;touch-action:manipulation;border-radius:var(--paper-radius);box-shadow:var(--paper-shadow);background-color:var(--mantine-color-body);outline:0;text-decoration:none;display:block}[data-mantine-color-scheme=light] .m_1b7284a3{--paper-border-color:var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .m_1b7284a3{--paper-border-color:var(--mantine-color-dark-4)}.m_1b7284a3:where([data-with-border]){border:calc(.0625rem*var(--mantine-scale))solid var(--paper-border-color)}\"});var qv,jv=d(()=>{qv=\".m_6d731127{align-items:var(--stack-align,stretch);justify-content:var(--stack-justify,flex-start);gap:var(--stack-gap,var(--mantine-spacing-md));flex-direction:column;display:flex}\"});var Xv,Kv=d(()=>{Xv=\".m_f3f1af94{--radio-size-xs:16px;--radio-size-sm:20px;--radio-size-md:24px;--radio-size-lg:30px;--radio-size-xl:36px;--radio-size:var(--radio-size-sm);--radio-icon-size-xs:6px;--radio-icon-size-sm:8px;--radio-icon-size-md:10px;--radio-icon-size-lg:14px;--radio-icon-size-xl:16px;--radio-icon-size:var(--radio-icon-size-sm);--radio-icon-color:var(--mantine-color-white)}.m_89c4f5e4{width:var(--radio-size);height:var(--radio-size);order:1;position:relative}.m_89c4f5e4:where([data-label-position=left]){order:2}.m_f3ed6b2b{color:var(--radio-icon-color);opacity:var(--radio-icon-opacity,0);transform:var(--radio-icon-transform,scale(.2)translateY(calc(.625rem*var(--mantine-scale))));pointer-events:none;width:var(--radio-icon-size);height:var(--radio-icon-size);top:calc(50% - var(--radio-icon-size)/2);left:calc(50% - var(--radio-icon-size)/2);transition:opacity .1s,transform .2s;position:absolute}.m_8a3dbb89{appearance:none;width:var(--radio-size);height:var(--radio-size);border-radius:var(--radio-radius,var(--radio-size));cursor:var(--mantine-cursor-type);-webkit-tap-highlight-color:transparent;border:1px solid;justify-content:center;align-items:center;margin:0;transition-property:background-color,border-color;transition-duration:.1s;transition-timing-function:ease;display:flex;position:relative}:where([data-mantine-color-scheme=light]) .m_8a3dbb89{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_8a3dbb89{background-color:var(--mantine-color-dark-6);border-color:var(--mantine-color-dark-4)}.m_8a3dbb89:checked{background-color:var(--radio-color,var(--mantine-primary-color-filled));border-color:var(--radio-color,var(--mantine-primary-color-filled))}.m_8a3dbb89:checked+.m_f3ed6b2b{--radio-icon-opacity:1;--radio-icon-transform:scale(1)}.m_8a3dbb89:disabled{cursor:not-allowed;background-color:var(--mantine-color-disabled);border-color:var(--mantine-color-disabled-border)}.m_8a3dbb89:disabled+.m_f3ed6b2b{--radio-icon-color:var(--mantine-color-disabled-color)}.m_8a3dbb89:where([data-error]){border-color:var(--mantine-color-error)}.m_1bfe9d39+.m_f3ed6b2b{--radio-icon-color:var(--radio-color)}.m_1bfe9d39:checked:not(:disabled){border-color:var(--radio-color);background-color:#0000}.m_1bfe9d39:checked:not(:disabled)+.m_f3ed6b2b{--radio-icon-color:var(--radio-color);--radio-icon-opacity:1;--radio-icon-transform:none}\"});var Yv,Zv=d(()=>{Yv='.m_5f93f3bb{--switch-height-xs:16px;--switch-height-sm:20px;--switch-height-md:24px;--switch-height-lg:30px;--switch-height-xl:36px;--switch-width-xs:32px;--switch-width-sm:38px;--switch-width-md:46px;--switch-width-lg:56px;--switch-width-xl:72px;--switch-thumb-size-xs:12px;--switch-thumb-size-sm:14px;--switch-thumb-size-md:18px;--switch-thumb-size-lg:22px;--switch-thumb-size-xl:28px;--switch-label-font-size-xs:5px;--switch-label-font-size-sm:6px;--switch-label-font-size-md:7px;--switch-label-font-size-lg:9px;--switch-label-font-size-xl:11px;--switch-track-label-padding-xs:2px;--switch-track-label-padding-sm:2.5px;--switch-track-label-padding-md:3px;--switch-track-label-padding-lg:3px;--switch-track-label-padding-xl:3.5px;--switch-height:var(--switch-height-sm);--switch-width:var(--switch-width-sm);--switch-thumb-size:var(--switch-thumb-size-sm);--switch-label-font-size:var(--switch-label-font-size-sm);--switch-track-label-padding:var(--switch-track-label-padding-sm);--switch-radius:1000px;--switch-color:var(--mantine-primary-color-filled);--switch-disabled-color:var(--mantine-color-disabled);position:relative}.m_926b4011{opacity:0;white-space:nowrap;width:0;height:0;margin:0;padding:0;position:absolute;overflow:hidden}.m_9307d992{-webkit-tap-highlight-color:transparent;cursor:var(--switch-cursor,var(--mantine-cursor-type));border-radius:var(--switch-radius);background-color:var(--switch-bg);height:var(--switch-height);min-width:var(--switch-width);appearance:none;font-size:var(--switch-label-font-size);order:var(--switch-order,1);user-select:none;z-index:0;color:var(--switch-text-color);align-items:center;margin:0;font-weight:600;line-height:0;transition:background-color .15s,border-color .15s;display:flex;position:relative;overflow:hidden}.m_9307d992:where([data-without-labels]){width:var(--switch-width)}.m_926b4011:focus-visible+.m_9307d992{outline:2px solid var(--mantine-primary-color-filled);outline-offset:2px}.m_926b4011:checked+.m_9307d992{--switch-bg:var(--switch-color);--switch-text-color:var(--mantine-color-white)}.m_926b4011:disabled+.m_9307d992,.m_926b4011[data-disabled]+.m_9307d992{--switch-bg:var(--switch-disabled-color);--switch-cursor:not-allowed}[data-mantine-color-scheme=light] .m_9307d992{--switch-bg:var(--mantine-color-gray-3);--switch-text-color:var(--mantine-color-gray-6)}[data-mantine-color-scheme=dark] .m_9307d992{--switch-bg:var(--mantine-color-dark-5);--switch-text-color:var(--mantine-color-dark-1)}.m_9307d992[data-label-position=left]{--switch-order:2}.m_93039a1d{z-index:1;border-radius:var(--switch-radius);background-color:var(--switch-thumb-bg,var(--mantine-color-white));height:var(--switch-thumb-size);width:var(--switch-thumb-size);transition:inset-inline-start .15s;display:flex;position:absolute;inset-inline-start:var(--switch-thumb-start,var(--switch-track-label-padding))}.m_93039a1d:where([data-with-thumb-indicator]):before{content:\"\";background-color:var(--switch-bg);border-radius:var(--switch-radius);width:40%;height:40%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.m_93039a1d>*{margin:auto}.m_926b4011:checked+*>.m_93039a1d{--switch-thumb-start:calc(100% - var(--switch-thumb-size) - var(--switch-track-label-padding))}.m_926b4011:disabled+*>.m_93039a1d,.m_926b4011[data-disabled]+*>.m_93039a1d{--switch-thumb-bg:var(--switch-thumb-bg-disabled)}[data-mantine-color-scheme=light] .m_93039a1d{--switch-thumb-bg-disabled:var(--mantine-color-gray-0)}[data-mantine-color-scheme=dark] .m_93039a1d{--switch-thumb-bg-disabled:var(--mantine-color-dark-3)}.m_8277e082{height:100%;min-width:calc(var(--switch-width) - var(--switch-thumb-size));padding-inline:var(--switch-track-label-padding);place-content:center;margin-inline-start:calc(var(--switch-thumb-size) + var(--switch-track-label-padding));transition:margin .15s;display:grid}.m_926b4011:checked+*>.m_8277e082{margin-inline-start:0;margin-inline-end:calc(var(--switch-thumb-size) + var(--switch-track-label-padding))}'});var Qv,Jv=d(()=>{Qv=\".m_849cf0da{color:var(--mantine-color-anchor);appearance:none;cursor:pointer;background-color:#0000;border:none;margin:0;padding:0;text-decoration:none;display:inline}@media (hover:hover){.m_849cf0da:where([data-underline=hover]):hover{text-decoration:underline}}@media (hover:none){.m_849cf0da:where([data-underline=hover]):active{text-decoration:underline}}.m_849cf0da:where([data-underline=not-hover]){text-decoration:underline}@media (hover:hover){.m_849cf0da:where([data-underline=not-hover]):hover{text-decoration:none}}@media (hover:none){.m_849cf0da:where([data-underline=not-hover]):active{text-decoration:none}}.m_849cf0da:where([data-underline=always]){text-decoration:underline}.m_849cf0da:where([data-variant=gradient]),.m_849cf0da:where([data-variant=gradient]):hover{text-decoration:none}.m_849cf0da:where([data-line-clamp]){display:-webkit-box}\"});var ey,oy=d(()=>{\"use strict\";ey=\":host{font-family:Inter,sans-serif}.settingsButton{z-index:9999;transition-property:scale;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);position:fixed;top:50%;right:0}.settingsButton:active{scale:.95}.modalSettings{flex-direction:column;gap:20px;height:380px;display:flex;overflow-y:scroll}.modalSettings::-webkit-scrollbar{background:unset;border:unset;width:8px}.modalSettings::-webkit-scrollbar-thumb{background-color:var(--mantine-color-gray-light);border-radius:8px}.modalSettings::-webkit-scrollbar-button{display:none}.modalSection{align-items:center;gap:20px;display:flex}.closeButton{margin-left:auto}.searchInput{height:20px}.logo{padding:0}.footerText{color:inherit;margin:0 0 0 auto;text-decoration:none}.footerText:hover{text-decoration:underline}.emptySettings{margin:0}.resetButton{text-align:left;margin:0}\"});var ty,ry=d(()=>{\"use strict\";Rv();Av();Ev();Tv();Lv();Ov();Hv();Wv();Vv();$v();jv();Kv();Zv();Jv();oy();ty=[Fv,Bv,Pv,Mv,Dv,kv,Nv,zv,Uv,Gv,qv,Xv,Yv,Qv,ey]});var xc={};Z(xc,{default:()=>T_});var ay,al,mc,pc,T_,ny=d(()=>{\"use strict\";Rt();je();Vu();_v();ry();ay=Uu(),al=null,mc=class extends HTMLElement{constructor(){super()}};customElements.define(ay,mc);pc=class extends te{constructor(){super(\"Settings Menu\")}load(){if(al!=null)return;al=document.createElement(ay);let o=al.attachShadow({mode:\"closed\"});for(let t of ty){let r=new CSSStyleSheet;r.replaceSync(t),o.adoptedStyleSheets.push(r)}document.documentElement.appendChild(al),Da(Ta(wv,{}),o)}},T_=new pc});var gc={};Z(gc,{default:()=>D_});var nl,ly,Ic,hc,D_,fy=d(()=>{\"use strict\";Oe();je();ro();nl=null,ly=()=>{},Ic=Be(),hc=class extends te{constructor(){super(\"Story Read Receipts\"),Ic.subscribe(o=>o.friendStories,this.load),N.on(\"PREVENT_STORY_READ_RECEIPTS.setting:update\",()=>this.load())}load(o){if(o=o!=null?o:Ic.getState().friendStories,o==null)return;let t=N.getSetting(\"PREVENT_STORY_READ_RECEIPTS\"),r={};t&&o.updatePlaybackData!==ly&&(nl=o.updatePlaybackData,r.updatePlaybackData=ly),!t&&nl!=null&&(r.updatePlaybackData=nl,nl=null),Object.keys(r).length!==0&&Ic.setState({friendStories:u(u({},o),r)})}},D_=new hc});var bc={};Z(bc,{default:()=>k_,filenames:()=>O_});var L_,k_,O_,vc=d(()=>{ou();ru();lu();su();iu();cu();pu();xu();bu();yu();Su();ny();fy();L_=[Fl,Al,El,Dl,Ol,Hl,Wl,Gl,jl,Zl,Jl,xc,gc],k_=L_,O_=[\"./modules/auto-save-messages/index.ts\",\"./modules/bitmoji-hide/index.ts\",\"./modules/bitmoji-mobile/index.ts\",\"./modules/bitmoji-typing-notification/index.ts\",\"./modules/condition-onset-flags/index.ts\",\"./modules/media-restrictions/index.ts\",\"./modules/media-saving/index.ts\",\"./modules/message-content/index.ts\",\"./modules/presence-detection/index.ts\",\"./modules/presence-logging/index.ts\",\"./modules/provenance-constants/index.ts\",\"./modules/settings-menu/index.ts\",\"./modules/story-read-receipts/index.ts\"]});var sy={};var iy=d(()=>{\"use strict\";Oe();(()=>{let e=\"cross_tab\",o=window.BroadcastChannel;window.BroadcastChannel=class extends window.BroadcastChannel{constructor(r){super(r),r===e&&(window.BroadcastChannel=o)}addEventListener(r,a){return this.name!==e?super.addEventListener(r,a):super.addEventListener(r,n=>{N.getSetting(\"ALLOW_CROSS_TAB\")&&n.data.type===\"CLAIM_ACTIVE\"||a(n)})}}})()});var cy=Ct(()=>{\"use strict\";(()=>{if(!navigator.userAgent.toLowerCase().includes(\"firefox\"))return;let e=[\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.6312.86 Safari/537.36\",\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.94 Safari/537.36\",\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.184 Safari/537.36\",\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.110 Safari/537.36\",\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.159 Safari/537.36\",\"Mozilla/5.0 (Macintosh; Intel Mac OS X 13_6_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.6312.122 Safari/537.36\",\"Mozilla/5.0 (Macintosh; Intel Mac OS X 12_7_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.128 Safari/537.36\",\"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_7_10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.139 Safari/537.36\",\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.130 Safari/537.36\",\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.105 Safari/537.36\",\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.6312.105 Safari/537.36\",\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.57 Safari/537.36\",\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.85 Safari/537.36\",\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.71 Safari/537.36\",\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.199 Safari/537.36\"],o=e[Math.floor(Math.random()*e.length)];if(Object.defineProperty(Navigator.prototype,\"userAgent\",{get:()=>o}),\"permissions\"in navigator&&typeof navigator.permissions.query==\"function\"){let r=function(){return new Promise(a=>{var n,l;((l=(n=navigator.getUserMedia)!=null?n:navigator.webkitGetUserMedia)!=null?l:navigator.mozGetUserMedia).getUserMedia({audio:!0,video:!0},()=>a({state:\"granted\"}),()=>a({state:\"denied\"}))})};var t=r;navigator.permissions.query=new Proxy(navigator.permissions.query,{apply:async(a,n,l)=>{let[f]=l;return f.name===\"camera\"||f.name===\"microphone\"?r():a.apply(n,l)}})}})()});var uy={};Z(uy,{default:()=>z_,filenames:()=>W_});var N_,H_,z_,W_,dy=d(()=>{iy();N_=v(cy()),H_=[sy,N_],z_=H_,W_=[\"./patches/cross-tab.ts\",\"./patches/firefox.ts\"]});pa();(async()=>{let{hostname:e,pathname:o}=new URL(location.href);[\"web.snapchat.com\",\"www.snapchat.com\"].includes(e)&&(e===\"www.snapchat.com\"&&!o.startsWith(\"/web\")||(Qo(\"BetterSnap v1.4.2\"),document.readyState===\"complete\"?(Fc(\"BetterSnap did not inject immediately, page was already loaded.\"),Promise.resolve().then(()=>(vc(),bc))):(Promise.resolve().then(()=>dy()),document.addEventListener(\"DOMContentLoaded\",()=>Promise.resolve().then(()=>(vc(),bc)),{once:!0}))))})();})();\n/*! Bundled license information:\n\n@tabler/icons-react/dist/esm/defaultAttributes.mjs:\n@tabler/icons-react/dist/esm/createReactComponent.mjs:\n@tabler/icons-react/dist/esm/icons/IconSearch.mjs:\n@tabler/icons-react/dist/esm/icons/IconX.mjs:\n@tabler/icons-react/dist/esm/tabler-icons-react.mjs:\n  (**\n   * @license @tabler/icons-react v3.33.0 - MIT\n   *\n   * This source code is licensed under the MIT license.\n   * See the LICENSE file in the root directory of this source tree.\n   *)\n*/\n"
});

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址