1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[315],{581:(e,t,r)=>{"use strict";r.d(t,{a:()=>i});var n=r(82921);function i(e,t){return(0,n.w)(t||e,e)}},769:(e,t,r)=>{var n=r(60581),i=r(73973).each;function s(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var r=this;this.listener=function(e){r.mql=e.currentTarget||e,r.assess()},this.mql.addListener(this.listener)}s.prototype={constuctor:s,addHandler:function(e){var t=new n(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;i(t,function(r,n){if(r.equals(e))return r.destroy(),!t.splice(n,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";i(this.handlers,function(t){t[e]()})}},e.exports=s},831:(e,t,r)=>{"use strict";r.d(t,{GP:()=>C});var n=r(25898),i=r(44871),s=r(72410),a=r(82921),o=r(59005),l=r(581);function u(e,t){let r=(0,l.a)(e,t?.in);return r.setHours(0,0,0,0),r}var c=r(39226),d=r(15204),h=r(18434),f=r(94441);function p(e,t){let r=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+r}let m={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return p("yy"===t?n%100:n,t.length)},M(e,t){let r=e.getMonth();return"M"===t?String(r+1):p(r+1,2)},d:(e,t)=>p(e.getDate(),t.length),a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:(e,t)=>p(e.getHours()%12||12,t.length),H:(e,t)=>p(e.getHours(),t.length),m:(e,t)=>p(e.getMinutes(),t.length),s:(e,t)=>p(e.getSeconds(),t.length),S(e,t){let r=t.length;return p(Math.trunc(e.getMilliseconds()*Math.pow(10,r-3)),t.length)}},g={G:function(e,t,r){let n=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){let t=e.getFullYear();return r.ordinalNumber(t>0?t:1-t,{unit:"year"})}return m.y(e,t)},Y:function(e,t,r,n){let i=(0,f.h)(e,n),s=i>0?i:1-i;return"YY"===t?p(s%100,2):"Yo"===t?r.ordinalNumber(s,{unit:"year"}):p(s,t.length)},R:function(e,t){return p((0,d.p)(e),t.length)},u:function(e,t){return p(e.getFullYear(),t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return p(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return p(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return m.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return p(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let i=(0,h.N)(e,n);return"wo"===t?r.ordinalNumber(i,{unit:"week"}):p(i,t.length)},I:function(e,t,r){let n=(0,c.s)(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):p(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):m.d(e,t)},D:function(e,t,r){let n,i,c=function(e,t,r){let[n,i]=function(e,...t){let r=a.w.bind(null,e||t.find(e=>"object"==typeof e));return t.map(r)}(void 0,e,t),l=u(n),c=u(i);return Math.round((l-(0,s.G)(l)-(c-(0,s.G)(c)))/o.w4)}(n=(0,l.a)(e,void 0),((i=(0,l.a)(n,void 0)).setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i))+1;return"Do"===t?r.ordinalNumber(c,{unit:"dayOfYear"}):p(c,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let i=e.getDay(),s=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return p(s,2);case"eo":return r.ordinalNumber(s,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let i=e.getDay(),s=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return p(s,t.length);case"co":return r.ordinalNumber(s,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),i=0===n?7:n;switch(t){case"i":return String(i);case"ii":return p(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n,i=e.getHours();switch(n=12===i?"noon":0===i?"midnight":i/12>
1=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n,i=e.getHours();switch(n=i>=17?"evening":i>=12?"afternoon":i>=4?"morning":"night",t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return m.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):m.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):p(n,t.length)},k:function(e,t,r){let n=e.getHours();return(0===n&&(n=24),"ko"===t)?r.ordinalNumber(n,{unit:"hour"}):p(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):m.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):m.s(e,t)},S:function(e,t){return m.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return b(n);case"XXXX":case"XX":return v(n);default:return v(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return b(n);case"xxxx":case"xx":return v(n);default:return v(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+y(n,":");default:return"GMT"+v(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+y(n,":");default:return"GMT"+v(n,":")}},t:function(e,t,r){return p(Math.trunc(e/1e3),t.length)},T:function(e,t,r){return p(+e,t.length)}};function y(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),i=Math.trunc(n/60),s=n%60;return 0===s?r+String(i):r+String(i)+t+p(s,2)}function b(e,t){return e%60==0?(e>0?"-":"+")+p(Math.abs(e)/60,2):v(e,t)}function v(e,t=""){let r=Math.abs(e);return(e>0?"-":"+")+p(Math.trunc(r/60),2)+t+p(r%60,2)}var w=r(36730),k=r(7395),_=r(63481);let x=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,S=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,E=/^'([^]*?)'?$/,T=/''/g,O=/[a-zA-Z]/;function C(e,t,r){let s=(0,i.q)(),a=r?.locale??s.locale??n.c,o=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,u=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0,c=(0,l.a)(e,r?.in);if(!(0,_.f)(c))throw RangeError("Invalid time value");let d=t.match(S).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,w.m[t])(e,a.formatLong):e}).join("").match(x).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var r;let t;return{isToken:!1,value:(t=(r=e).match(E))?t[1].replace(T,"'"):r}}if(g[t])return{isToken:!0,value:e};if(t.match(O))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});a.localize.preprocessor&&(d=a.localize.preprocessor(c,d));let h={firstWeekContainsDate:o,weekStartsOn:u,locale:a};return d.map(n=>{if(!n.isToken)return n.value;let i=n.value;return(!r?.useAdditionalWeekYearTokens&&(0,k.xM)(i)||!r?.useAdditionalDayOfYearTokens&&(0,k.ef)(i))&&(0,k.Ss)(i,t,String(e)),(0,g[i[0]])(c,i,a.localize,h)}).join("")}},3241:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},4857:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("list",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]])},6641:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var r={UnrecognizedActionError:function(){return i},unstable_isUnrecognizedActionError:function(){return s}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});class i extends Error{constructor(...e){super(...e),this.name="UnrecognizedActionError"}}function s(e){return!!(e&&"object"==typeof e&&e instanceof i)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7395:(e,t,r)=>{"use strict";r.d(t,{Ss:()=>l,ef:()=>a,xM:()=>o});let n=/^D+$/,i=/^Y+$/,s=["D","DD","YY","YYYY"];function a(e){return n.test(e)}function o(e){return i.test(e)}function l(e,t,r){var n,i,a;let o,l=(n=e,i=t,a=r,o="Y"===n[0]?"years":"days of the month",`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${i}\`) for formatting ${o} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(l),s.includes(e))throw RangeError(l)}},10351:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},10743:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},12111:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},15204:(e,t,r)=>{"use strict";r.d(t,{p:()=>a});var n=r(82921),i=r(24782),s=r(581);function a(e,t){let r=(0,s.a)(e,t?.in),a=r.getFullYear(),o=(0,n.w)(r,0);o.setFullYear(a+1,0,4),o.setHours(0,0,0,0);let l=(0,i.b)(o),u=(0,n.w)(r,0);u.setFullYear(a,0,4),u.setHours(0,0,0,0);let c=(0,i.b)(u);return r.getTime()>=l.getTime()?a+1:r.getTime()>=c.getTime()?a:a-1}},15312:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},16292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return n}});let n=r(98310).unstable_rethrow;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},18434:(e,t,r)=>{"use strict";r.d(t,{N:()=>u});var n=r(59005),i=r(40469),s=r(44871),a=r(82921),o=r(94441),l=r(581);function u(e,t){let r,u,c,d,h=(0,l.a)(e,t?.in);return Math.round(((0,i.k)(h,t)-(r=(0,s.q)(),u=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,c=(0,o.h)(h,t),(d=(0,a.w)(t?.in||h,0)).setFullYear(c,0,u),d.setHours(0,0,0,0),(0,i.k)(d,t)))/n.my)+1}},19707:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=o,t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=t.extractObject=void 0;var n,i=(n=r(96810))&&n.__esModule?n:{default:n};function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?s(Object(r),!0).forEach(function(t){var n,i,s;n=e,i=t,s=r[t],i in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return Math.max(t,Math.min(e,r))}var l=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=l;var u=function(e){for(var t=[],r=c(e),n=d(e),i=r;i<n;i++)0>e.lazyLoadedList.indexOf(i)&&t.push(i);return t};t.getOnDemandLazySlides=u,t.getRequiredLazySlides=function(e){for(var t=[],r=c(e),n=d(e),i=r;i<n;i++)t.push(i);return t};var c=function(e){return e.currentSlide-h(e)};t.lazyStartIndex=c;var d=function(e){return e.currentSlide+f(e)};t.lazyEndIndex=d;var h=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+ +(parseInt(e.centerPadding)>0):0};t.lazySlidesOnLeft=h;var f=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+ +(parseInt(e.centerPadding)>0):e.slidesToShow};t.lazySlidesOnRight=f;var p=function(e){return e&&e.offsetWidth||0};t.getWidth=p;var m=function(e){return e&&e.offsetHeight||0};t.getHeight=m;var g=function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t=e.startX-e.curX,(r=Math.round(180*Math.atan2(e.startY-e.curY,t)/Math.PI))<0&&(r=360-Math.abs(r)),r<=45&&r>=0||r<=360&&r>=315)return"left";if(r>=135&&r<=225)return"right";if(!0===n)if(r>=35&&r<=135)return"up";else return"down";return"vertical"};t.getSwipeDirection=g;var y=function(e){var t=!0;return!e.infinite&&(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t};t.canGoNext=y,t.extractObject=function(e,t){var r={};return t.forEach(function(t){return r[t]=e[t]}),r},t.initializedState=function(e){var t,r=i.default.Children.count(e.children),n=e.listRef,s=Math.ceil(p(n)),o=Math.ceil(p(e.trackRef&&e.trackRef.node));if(e.vertical)t=s;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=s/100),t=Math.ceil((s-l)/e.slidesToShow)}var c=n&&m(n.querySelector('[data-index="0"]')),d=c*e.slidesToShow,h=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(h=r-1-e.initialSlide);var f=e.lazyLoadedList||[],g=u(a(a({},e),{},{currentSlide:h,lazyLoadedList:f})),y={slideCount:r,slideWidth:t,listWidth:s,trackWidth:o,currentSlide:h,slideHeight:c,listHeight:d,lazyLoadedList:f=f.concat(g)};return null===e.autoplaying&&e.autoplay&&(y.autoplaying="playing"),y},t.slideHandler=function(e){var t=e.waitForAnimate,r=e.animating,n=e.fade,i=e.infinite,s=e.index,l=e.slideCount,c=e.lazyLoad,d=e.currentSlide,h=e.centerMode,f=e.slidesToScroll,p=e.slidesToShow,m=e.useCSS,g=e.lazyLoadedList;if(t&&r)return{};var b,v,w,k=s,E={},T={},O=i?s:o(s,0,l-1);if(n){if(!i&&(s<0||s>=l))return{};s<0?k=s+l:s>=l&&(k=s-l),c&&0>g.indexOf(k)&&(g=g.concat(k)),E={animating:!0,currentSlide:k,lazyLoadedList:g,targetSlide:k},T={animating:!1,targetSlide:k}}else b=k,k<0?(b=k+l,i?l%f!=0&&(b=l-l%f):b=0):!y(e)&&k>d?k=b=d:h&&k>=l?(k=i?l:l-1,b=i?0:l-1):k>=l&&(b=k-l,i?l%f!=0&&(b=0):b=l-p),!i&&k+p>=l&&(b=l-p),v=S(a(a({},e),{},{slideIndex:k})),w=S(a(a({},e),{},{slideIndex:b})),i||(v===w&&(k=b),v=w),c&&(g=g.concat(u(a(a({},e),{},{currentSlide:k})))),m?(E={animating:!0,currentSlide:b,trackStyle:x(a(a({},e),{},{left:v})),lazyLoadedList:g,targetSlide:O},T={animating:!1,currentSlide:b,trackStyle:_(a(a({},e),{},{left:w})),swipeLeft:null,targetSlide:O}):E={currentSlide:b,trackStyle:_(a(a({},e),{},{left:w})),lazyLoadedList:g,targetSlide:O};return{state:E,nextState:T}},t.changeSlide=function(e,t){var r,n,i,s,o=e.slidesToScroll,l=e.slidesToShow,u=e.slideCount,c=e.currentSlide,d=e.targetSlide,h=e.lazyLoad,f=e.infinite;if(r=u%o!=0?0:(u-c)%o,"previous"===t.message)s=c-(i=0===r?o:l-r),h&&!f&&(s=-1==(n=c-i)?u-1:n),f||(s=d-o);else if("next"===t.message)s=c+(i=0===r?o:r),h&&!f&&(s=(c+o)%u+r),f||(s=d+o);
1else if("dots"===t.message)s=t.index*t.slidesToScroll;else if("children"===t.message){if(s=t.index,f){var p=C(a(a({},e),{},{targetSlide:s}));s>t.currentSlide&&"left"===p?s-=u:s<t.currentSlide&&"right"===p&&(s+=u)}}else"index"===t.message&&(s=Number(t.index));return s},t.keyHandler=function(e,t,r){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?r?"next":"previous":39===e.keyCode?r?"previous":"next":""},t.swipeStart=function(e,t,r){return("IMG"===e.target.tagName&&l(e),t&&(r||-1===e.type.indexOf("mouse")))?{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}:""},t.swipeMove=function(e,t){var r=t.scrolling,n=t.animating,i=t.vertical,s=t.swipeToSlide,o=t.verticalSwiping,u=t.rtl,c=t.currentSlide,d=t.edgeFriction,h=t.edgeDragged,f=t.onEdge,p=t.swiped,m=t.swiping,b=t.slideCount,v=t.slidesToScroll,w=t.infinite,k=t.touchObject,x=t.swipeEvent,E=t.listHeight,T=t.listWidth;if(!r){if(n)return l(e);i&&s&&o&&l(e);var O,C={},P=S(t);k.curX=e.touches?e.touches[0].pageX:e.clientX,k.curY=e.touches?e.touches[0].pageY:e.clientY,k.swipeLength=Math.round(Math.sqrt(Math.pow(k.curX-k.startX,2)));var L=Math.round(Math.sqrt(Math.pow(k.curY-k.startY,2)));if(!o&&!m&&L>10)return{scrolling:!0};o&&(k.swipeLength=L);var A=(u?-1:1)*(k.curX>k.startX?1:-1);o&&(A=k.curY>k.startY?1:-1);var I=Math.ceil(b/v),M=g(t.touchObject,o),j=k.swipeLength;return!w&&(0===c&&("right"===M||"down"===M)||c+1>=I&&("left"===M||"up"===M)||!y(t)&&("left"===M||"up"===M))&&(j=k.swipeLength*d,!1===h&&f&&(f(M),C.edgeDragged=!0)),!p&&x&&(x(M),C.swiped=!0),O=i?P+E/T*j*A:u?P-j*A:P+j*A,o&&(O=P+j*A),C=a(a({},C),{},{touchObject:k,swipeLeft:O,trackStyle:_(a(a({},t),{},{left:O}))}),Math.abs(k.curX-k.startX)<.8*Math.abs(k.curY-k.startY)||k.swipeLength>10&&(C.swiping=!0,l(e)),C}},t.swipeEnd=function(e,t){var r=t.dragging,n=t.swipe,i=t.touchObject,s=t.listWidth,o=t.touchThreshold,u=t.verticalSwiping,c=t.listHeight,d=t.swipeToSlide,h=t.scrolling,f=t.onSwipe,p=t.targetSlide,m=t.currentSlide,y=t.infinite;if(!r)return n&&l(e),{};var b=u?c/o:s/o,k=g(i,u),_={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(h||!i.swipeLength)return _;if(i.swipeLength>b){l(e),f&&f(k);var E,T,O=y?m:p;switch(k){case"left":case"up":T=O+w(t),E=d?v(t,T):T,_.currentDirection=0;break;case"right":case"down":T=O-w(t),E=d?v(t,T):T,_.currentDirection=1;break;default:E=O}_.triggerSlideHandler=E}else{var C=S(t);_.trackStyle=x(a(a({},t),{},{left:C}))}return _};var b=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,r=e.infinite?-1*e.slidesToShow:0,n=e.infinite?-1*e.slidesToShow:0,i=[];r<t;)i.push(r),r=n+e.slidesToScroll,n+=Math.min(e.slidesToScroll,e.slidesToShow);return i};t.getNavigableIndexes=b;var v=function(e,t){var r=b(e),n=0;if(t>r[r.length-1])t=r[r.length-1];else for(var i in r){if(t<r[i]){t=n;break}n=r[i]}return t};t.checkNavigable=v;var w=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(!e.swipeToSlide)return e.slidesToScroll;var r,n=e.listRef;if(Array.from(n.querySelectorAll&&n.querySelectorAll(".slick-slide")||[]).every(function(n){if(e.vertical){if(n.offsetTop+m(n)/2>-1*e.swipeLeft)return r=n,!1}else if(n.offsetLeft-t+p(n)/2>-1*e.swipeLeft)return r=n,!1;return!0}),!r)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(r.dataset.index-i)||1};t.getSlideCount=w;var k=function(e,t){return t.reduce(function(t,r){return t&&e.hasOwnProperty(r)},!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=k;var _=function(e){k(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t,r,n=e.slideCount+2*e.slidesToShow;e.vertical?r=n*e.slideHeight:t=O(e)*e.slideWidth;var i={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";i=a(a({},i),{},{WebkitTransform:s,transform:o,msTransform:l})}
1else e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),t&&(i.width=t),r&&(i.height=r),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i};t.getTrackCSS=_;var x=function(e){k(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=_(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=x;var S=function(e){if(e.unslick)return 0;k(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,r=e.trackRef,n=e.infinite,i=e.centerMode,s=e.slideCount,a=e.slidesToShow,o=e.slidesToScroll,l=e.slideWidth,u=e.listWidth,c=e.variableWidth,d=e.slideHeight,h=e.fade,f=e.vertical,p=0,m=0;if(h||1===e.slideCount)return 0;var g=0;if(n?(g=-E(e),s%o!=0&&t+o>s&&(g=-(t>s?a-(t-s):s%o)),i&&(g+=parseInt(a/2))):(s%o!=0&&t+o>s&&(g=a-s%o),i&&(g=parseInt(a/2))),p=g*l,m=g*d,y=f?-(t*d*1)+m:-(t*l*1)+p,!0===c){var y,b,v,w=r&&r.node;if(v=t+E(e),y=(b=w&&w.childNodes[v])?-1*b.offsetLeft:0,!0===i){v=n?t+E(e):t,b=w&&w.children[v],y=0;for(var _=0;_<v;_++)y-=w&&w.children[_]&&w.children[_].offsetWidth;y-=parseInt(e.centerPadding),y+=b&&(u-b.offsetWidth)/2}}return y};t.getTrackLeft=S;var E=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+ +!!e.centerMode};t.getPreClones=E;var T=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=T;var O=function(e){return 1===e.slideCount?1:E(e)+e.slideCount+T(e)};t.getTotalSlides=O;var C=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+P(e)?"left":"right":e.targetSlide<e.currentSlide-L(e)?"right":"left"};t.siblingDirection=C;var P=function(e){var t=e.slidesToShow,r=e.centerMode,n=e.rtl,i=e.centerPadding;if(r){var s=(t-1)/2+1;return parseInt(i)>0&&(s+=1),n&&t%2==0&&(s+=1),s}return n?0:t-1};t.slidesOnRight=P;var L=function(e){var t=e.slidesToShow,r=e.centerMode,n=e.rtl,i=e.centerPadding;if(r){var s=(t-1)/2+1;return parseInt(i)>0&&(s+=1),n||t%2!=0||(s+=1),s}return n?t-1:0};t.slidesOnLeft=L,t.canUseDOM=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}},20658:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(81333).A)("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]])},20735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return s.ReadonlyURLSearchParams},RedirectType:function(){return o.RedirectType},forbidden:function(){return u.forbidden},notFound:function(){return l.notFound},permanentRedirect:function(){return a.permanentRedirect},redirect:function(){return a.redirect},unauthorized:function(){return c.unauthorized},unstable_isUnrecognizedActionError:function(){return h},unstable_rethrow:function(){return d.unstable_rethrow}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let s=r(61124),a=r(66058),o=r(86241),l=r(96170),u=r(46987),c=r(60384),d=r(16292);function h(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},20990:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=n(r(95918)),s=n(r(57114)),a=r(76461);class o{constructor(e,{headers:t={},schema:r,fetch:n}={}){this.url=e,this.headers=Object.assign(Object.assign({},a.DEFAULT_HEADERS),t),this.schemaName=r,this.fetch=n}from(e){let t=new URL(`${this.url}/${e}`);return new i.default(t,{headers:Object.assign({},this.headers),schema:this.schemaName,fetch:this.fetch})}schema(e){return new o(this.url,{headers:this.headers,schema:e,fetch:this.fetch})}rpc(e,t={},{head:r=!1,get:n=!1,count:i}={}){let a,o,l=new URL(`${this.url}/rpc/${e}`);r||n?(a=r?"HEAD":"GET",Object.entries(t).filter(([e,t])=>void 0!==t).map(([e,t])=>[e,Array.isArray(t)?`{${t.join(",")}}`:`${t}
1`]).forEach(([e,t])=>{l.searchParams.append(e,t)})):(a="POST",o=t);let u=Object.assign({},this.headers);return i&&(u.Prefer=`count=${i}`),new s.default({method:a,url:l,headers:u,schema:this.schemaName,body:o,fetch:this.fetch,allowEmpty:!1})}}t.default=o},21986:(e,t,r)=>{"use strict";r.d(t,{UU:()=>tj});class n extends Error{constructor(e,t="FunctionsError",r){super(e),this.name=t,this.context=r}}class i extends n{constructor(e){super("Failed to send a request to the Edge Function","FunctionsFetchError",e)}}class s extends n{constructor(e){super("Relay Error invoking the Edge Function","FunctionsRelayError",e)}}class a extends n{constructor(e){super("Edge Function returned a non-2xx status code","FunctionsHttpError",e)}}(p=m||(m={})).Any="any",p.ApNortheast1="ap-northeast-1",p.ApNortheast2="ap-northeast-2",p.ApSouth1="ap-south-1",p.ApSoutheast1="ap-southeast-1",p.ApSoutheast2="ap-southeast-2",p.CaCentral1="ca-central-1",p.EuCentral1="eu-central-1",p.EuWest1="eu-west-1",p.EuWest2="eu-west-2",p.EuWest3="eu-west-3",p.SaEast1="sa-east-1",p.UsEast1="us-east-1",p.UsWest1="us-west-1",p.UsWest2="us-west-2";class o{constructor(e,{headers:t={},customFetch:n,region:i=m.Any}={}){this.url=e,this.headers=t,this.region=i,this.fetch=(e=>{let t;return t=e||("undefined"==typeof fetch?(...e)=>Promise.resolve().then(r.bind(r,84455)).then(({default:t})=>t(...e)):fetch),(...e)=>t(...e)})(n)}setAuth(e){this.headers.Authorization=`Bearer ${e}`}invoke(e,t={}){var r,n,o,l,u;return n=this,o=void 0,l=void 0,u=function*(){try{let n,{headers:o,method:l,body:u}=t,c={},{region:d}=t;d||(d=this.region);let h=new URL(`${this.url}/${e}`);d&&"any"!==d&&(c["x-region"]=d,h.searchParams.set("forceFunctionRegion",d)),u&&(o&&!Object.prototype.hasOwnProperty.call(o,"Content-Type")||!o)&&("undefined"!=typeof Blob&&u instanceof Blob||u instanceof ArrayBuffer?(c["Content-Type"]="application/octet-stream",n=u):"string"==typeof u?(c["Content-Type"]="text/plain",n=u):"undefined"!=typeof FormData&&u instanceof FormData?n=u:(c["Content-Type"]="application/json",n=JSON.stringify(u)));let f=yield this.fetch(h.toString(),{method:l||"POST",headers:Object.assign(Object.assign(Object.assign({},c),this.headers),o),body:n}).catch(e=>{throw new i(e)}),p=f.headers.get("x-relay-error");if(p&&"true"===p)throw new s(f);if(!f.ok)throw new a(f);let m=(null!=(r=f.headers.get("Content-Type"))?r:"text/plain").split(";")[0].trim();return{data:"application/json"===m?yield f.json():"application/octet-stream"===m?yield f.blob():"text/event-stream"===m?f:"multipart/form-data"===m?yield f.formData():yield f.text(),error:null,response:f}}catch(e){return{data:null,error:e,response:e instanceof a||e instanceof s?e.context:void 0}}},new(l||(l=Promise))(function(e,t){function r(e){try{s(u.next(e))}catch(e){t(e)}}function i(e){try{s(u.throw(e))}catch(e){t(e)}}function s(t){var n;t.done?e(t.value):((n=t.value)instanceof l?n:new l(function(e){e(n)})).then(r,i)}s((u=u.apply(n,o||[])).next())})}}let{PostgrestClient:l,PostgrestQueryBuilder:u,PostgrestFilterBuilder:c,PostgrestTransformBuilder:d,PostgrestBuilder:h,PostgrestError:f}=r(54976);var p,m,g,y,b,v,w,k,_,x,S,E,T,O,C,P,L,A,I,M,j,N=r(91514);(T=g||(g={}))[T.connecting=0]="connecting",T[T.open=1]="open",T[T.closing=2]="closing",T[T.closed=3]="closed",(O=y||(y={})).closed="closed",O.errored="errored",O.joined="joined",O.joining="joining",O.leaving="leaving",(C=b||(b={})).close="phx_close",C.error="phx_error",C.join="phx_join",C.reply="phx_reply",C.leave="phx_leave",C.access_token="access_token",(v||(v={})).websocket="websocket",(P=w||(w={})).Connecting="connecting",P.Open="open",P.Closing="closing",P.Closed="closed";class R{constructor(){this.HEADER_LENGTH=1}decode(e,t){return e.constructor===ArrayBuffer?t(this._binaryDecode(e)):"string"==typeof e?t(JSON.parse(e)):t({})}_binaryDecode(e){let t=new DataView(e),r=new TextDecoder;return this._decodeBroadcast(e,t,r)}_decodeBroadcast(e,t,r){let n=t.getUint8(1),i=t.getUint8(2),s=this.HEADER_LENGTH+2,a=r.decode(e.slice(s,s+n));s+=n;let o=r.decode(e.slice(s,s+i));return s+=i,{ref:null,topic:a,event:o,payload:JSON.parse(r.decode(e.slice(s,e.byteLength)))}}}class D{constructor(e,t){this.callback=e,this.timerCalc=t,this.timer=void 0,this.tries=0,this.callback=e,this.timerCalc=t}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}(L=k||(k={})).abstime="abstime",L.bool="bool",L.date="date",L.daterange="daterange",L.float4="float4",L.float8="float8",L.int2="int2",L.int4="int4",L.int4range="int4range",L.int8="int8",L.int8range="int8range",L.json="json",L.jsonb="jsonb",L.money="money",L.numeric="numeric",L.oid="oid",L.reltime="reltime",L.text="text",L.time="time",L.timestamp="timestamp",L.timestamptz="timestamptz",L.timetz="timetz",L.tsrange="tsrange",L.tstzrange="tstzrange";let B=(e,t,r={})=>{var n;let i=null!=(n=r.skipTypes)?n:[];return Object.keys(t).reduce((r,n)=>(r[n]=q(n,e,t,i),r),{})},q=(e,t,r,n)=>{let i=t.find(t=>t.name===e),s=null==i?void 0:i.type,a=r[e];return s&&!n.includes(s)?$(s,a):W(a)},$=(e,t)=>{if("_"===e.charAt(0))return F(t,e.slice(1,e.length));switch(e){case k.bool:return U(t);case k.float4:case k.float8:case k.int2:case k.int4:case k.int8:case k.numeric:case k.oid:return H(t);case k.json:case k.jsonb:return z(t);case k.timestamp:return V(t);case k.abstime:case k.date:case k.daterange:case k.int4range:case k.int8range:case k.money:case k.reltime:case k.text:case k.time:case k.timestamptz:case k.timetz:case k.tsrange:case k.tstzrange:default:return W(t)}},W=e=>e,U=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},H=e=>{if("string"==typeof e){let t=parseFloat(e);
1if(!Number.isNaN(t))return t}return e},z=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(e){console.log(`JSON parse error: ${e}`)}return e},F=(e,t)=>{if("string"!=typeof e)return e;let r=e.length-1,n=e[r];if("{"===e[0]&&"}"===n){let n,i=e.slice(1,r);try{n=JSON.parse("["+i+"]")}catch(e){n=i?i.split(","):[]}return n.map(e=>$(t,e))}return e},V=e=>"string"==typeof e?e.replace(" ","T"):e,G=e=>{let t=e;return(t=(t=t.replace(/^ws/i,"http")).replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,"")).replace(/\/+$/,"")};class Y{constructor(e,t,r={},n=1e4){this.channel=e,this.event=t,this.payload=r,this.timeout=n,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(e){this.timeout=e,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(e){this.payload=Object.assign(Object.assign({},this.payload),e)}receive(e,t){var r;return this._hasReceived(e)&&t(null==(r=this.receivedResp)?void 0:r.response),this.recHooks.push({status:e,callback:t}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);let e=e=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=e,this._matchReceive(e)};this.channel._on(this.refEvent,{},e),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(e,t){this.refEvent&&this.channel._trigger(this.refEvent,{status:e,response:t})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:e,response:t}){this.recHooks.filter(t=>t.status===e).forEach(e=>e.callback(t))}_hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}}(A=_||(_={})).SYNC="sync",A.JOIN="join",A.LEAVE="leave";class K{constructor(e,t){this.channel=e,this.state={},this.pendingDiffs=[],this.joinRef=null,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const r=(null==t?void 0:t.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(r.state,{},e=>{let{onJoin:t,onLeave:r,onSync:n}=this.caller;this.joinRef=this.channel._joinRef(),this.state=K.syncState(this.state,e,t,r),this.pendingDiffs.forEach(e=>{this.state=K.syncDiff(this.state,e,t,r)}),this.pendingDiffs=[],n()}),this.channel._on(r.diff,{},e=>{let{onJoin:t,onLeave:r,onSync:n}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(e):(this.state=K.syncDiff(this.state,e,t,r),n())}),this.onJoin((e,t,r)=>{this.channel._trigger("presence",{event:"join",key:e,currentPresences:t,newPresences:r})}),this.onLeave((e,t,r)=>{this.channel._trigger("presence",{event:"leave",key:e,currentPresences:t,leftPresences:r})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(e,t,r,n){let i=this.cloneDeep(e),s=this.transformState(t),a={},o={};return this.map(i,(e,t)=>{s[e]||(o[e]=t)}),this.map(s,(e,t)=>{let r=i[e];if(r){let n=t.map(e=>e.presence_ref),i=r.map(e=>e.presence_ref),s=t.filter(e=>0>i.indexOf(e.presence_ref)),l=r.filter(e=>0>n.indexOf(e.presence_ref));s.length>0&&(a[e]=s),l.length>0&&(o[e]=l)}else a[e]=t}),this.syncDiff(i,{joins:a,leaves:o},r,n)}static syncDiff(e,t,r,n){let{joins:i,leaves:s}={joins:this.transformState(t.joins),leaves:this.transformState(t.leaves)};return r||(r=()=>{}),n||(n=()=>{}),this.map(i,(t,n)=>{var i;let s=null!=(i=e[t])?i:[];if(e[t]=this.cloneDeep(n),s.length>0){let r=e[t].map(e=>e.presence_ref),n=s.filter(e=>0>r.indexOf(e.presence_ref));e[t].unshift(...n)}r(t,s,n)}),this.map(s,(t,r)=>{let i=e[t];if(!i)return;let s=r.map(e=>e.presence_ref);i=i.filter(e=>0>s.indexOf(e.presence_ref)),e[t]=i,n(t,i,r),0===i.length&&delete e[t]}),e}static map(e,t){return Object.getOwnPropertyNames(e).map(r=>t(r,e[r]))}static transformState(e){return Object.getOwnPropertyNames(e=this.cloneDeep(e)).reduce((t,r)=>{let n=e[r];return"metas"in n?t[r]=n.metas.map(e=>(e.presence_ref=e.phx_ref,delete e.phx_ref,delete e.phx_ref_prev,e)):t[r]=n,t},{})}static cloneDeep(e){return JSON.parse(JSON.stringify(e))}onJoin(e){this.caller.onJoin=e}onLeave(e){this.caller.onLeave=e}onSync(e){this.caller.onSync=e}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}(I=x||(x={})).ALL="*",I.INSERT="INSERT",I.UPDATE="UPDATE",I.DELETE="DELETE",(M=S||(S={}
1)).BROADCAST="broadcast",M.PRESENCE="presence",M.POSTGRES_CHANGES="postgres_changes",M.SYSTEM="system",(j=E||(E={})).SUBSCRIBED="SUBSCRIBED",j.TIMED_OUT="TIMED_OUT",j.CLOSED="CLOSED",j.CHANNEL_ERROR="CHANNEL_ERROR";class X{constructor(e,t={config:{}},r){this.topic=e,this.params=t,this.socket=r,this.bindings={},this.state=y.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=e.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:""},private:!1},t.config),this.timeout=this.socket.timeout,this.joinPush=new Y(this,b.join,this.params,this.timeout),this.rejoinTimer=new D(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=y.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(e=>e.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=y.closed,this.socket._remove(this)}),this._onError(e=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,e),this.state=y.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=y.errored,this.rejoinTimer.scheduleTimeout())}),this._on(b.reply,{},(e,t)=>{this._trigger(this._replyEventName(t),e)}),this.presence=new K(this),this.broadcastEndpointURL=G(this.socket.endPoint)+"/api/broadcast",this.private=this.params.config.private||!1}subscribe(e,t=this.timeout){var r,n;if(this.socket.isConnected()||this.socket.connect(),this.state==y.closed){let{config:{broadcast:i,presence:s,private:a}}=this.params;this._onError(t=>null==e?void 0:e(E.CHANNEL_ERROR,t)),this._onClose(()=>null==e?void 0:e(E.CLOSED));let o={},l={broadcast:i,presence:s,postgres_changes:null!=(n=null==(r=this.bindings.postgres_changes)?void 0:r.map(e=>e.filter))?n:[],private:a};this.socket.accessTokenValue&&(o.access_token=this.socket.accessTokenValue),this.updateJoinPayload(Object.assign({config:l},o)),this.joinedOnce=!0,this._rejoin(t),this.joinPush.receive("ok",async({postgres_changes:t})=>{var r;if(this.socket.setAuth(),void 0===t){null==e||e(E.SUBSCRIBED);return}{let n=this.bindings.postgres_changes,i=null!=(r=null==n?void 0:n.length)?r:0,s=[];for(let r=0;r<i;r++){let i=n[r],{filter:{event:a,schema:o,table:l,filter:u}}=i,c=t&&t[r];if(c&&c.event===a&&c.schema===o&&c.table===l&&c.filter===u)s.push(Object.assign(Object.assign({},i),{id:c.id}));else{this.unsubscribe(),this.state=y.errored,null==e||e(E.CHANNEL_ERROR,Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=s,e&&e(E.SUBSCRIBED);return}}).receive("error",t=>{this.state=y.errored,null==e||e(E.CHANNEL_ERROR,Error(JSON.stringify(Object.values(t).join(", ")||"error")))}).receive("timeout",()=>{null==e||e(E.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(e,t={}){return await this.send({type:"presence",event:"track",payload:e},t.timeout||this.timeout)}async untrack(e={}){return await this.send({type:"presence",event:"untrack"},e)}on(e,t,r){return this._on(e,t,r)}async send(e,t={}){var r,n;if(this._canPush()||"broadcast"!==e.type)return new Promise(r=>{var n,i,s;let a=this._push(e.type,e,t.timeout||this.timeout);"broadcast"!==e.type||(null==(s=null==(i=null==(n=this.params)?void 0:n.config)?void 0:i.broadcast)?void 0:s.ack)||r("ok"),a.receive("ok",()=>r("ok")),a.receive("error",()=>r("error")),a.receive("timeout",()=>r("timed out"))});{let{event:i,payload:s}=e,a={method:"POST",headers:{Authorization:this.socket.accessTokenValue?`Bearer ${this.socket.accessTokenValue}`:"",apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:i,payload:s,private:this.private}]})};try{let e=await this._fetchWithTimeout(this.broadcastEndpointURL,a,null!=(r=t.timeout)?r:this.timeout);return await (null==(n=e.body)?void 0:n.cancel()),e.ok?"ok":"error"}catch(e){if("AbortError"===e.name)return"timed out";return"error"}}}updateJoinPayload(e){this.joinPush.updatePayload(e)}unsubscribe(e=this.timeout){this.state=y.leaving;let t=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(b.close,"leave",this._joinRef())};this.joinPush.destroy();let r=null;return new Promise(n=>{(r=new Y(this,b.leave,{},e)).receive("ok",()=>{t(),n("ok")}).receive("timeout",()=>{t(),n("timed out")}).receive("error",()=>{n("error")}),r.send(),this._canPush()||r.trigger("ok",{})}).finally(()=>{null==r||r.destroy()})}
1teardown(){this.pushBuffer.forEach(e=>e.destroy()),this.rejoinTimer&&clearTimeout(this.rejoinTimer.timer),this.joinPush.destroy()}async _fetchWithTimeout(e,t,r){let n=new AbortController,i=setTimeout(()=>n.abort(),r),s=await this.socket.fetch(e,Object.assign(Object.assign({},t),{signal:n.signal}));return clearTimeout(i),s}_push(e,t,r=this.timeout){if(!this.joinedOnce)throw`tried to push '${e}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let n=new Y(this,e,t,r);return this._canPush()?n.send():(n.startTimeout(),this.pushBuffer.push(n)),n}_onMessage(e,t,r){return t}_isMember(e){return this.topic===e}_joinRef(){return this.joinPush.ref}_trigger(e,t,r){var n,i;let s=e.toLocaleLowerCase(),{close:a,error:o,leave:l,join:u}=b;if(r&&[a,o,l,u].indexOf(s)>=0&&r!==this._joinRef())return;let c=this._onMessage(s,t,r);if(t&&!c)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(s)?null==(n=this.bindings.postgres_changes)||n.filter(e=>{var t,r,n;return(null==(t=e.filter)?void 0:t.event)==="*"||(null==(n=null==(r=e.filter)?void 0:r.event)?void 0:n.toLocaleLowerCase())===s}).map(e=>e.callback(c,r)):null==(i=this.bindings[s])||i.filter(e=>{var r,n,i,a,o,l;if(!["broadcast","presence","postgres_changes"].includes(s))return e.type.toLocaleLowerCase()===s;if("id"in e){let s=e.id,a=null==(r=e.filter)?void 0:r.event;return s&&(null==(n=t.ids)?void 0:n.includes(s))&&("*"===a||(null==a?void 0:a.toLocaleLowerCase())===(null==(i=t.data)?void 0:i.type.toLocaleLowerCase()))}{let r=null==(o=null==(a=null==e?void 0:e.filter)?void 0:a.event)?void 0:o.toLocaleLowerCase();return"*"===r||r===(null==(l=null==t?void 0:t.event)?void 0:l.toLocaleLowerCase())}}).map(e=>{if("object"==typeof c&&"ids"in c){let e=c.data,{schema:t,table:r,commit_timestamp:n,type:i,errors:s}=e;c=Object.assign(Object.assign({},{schema:t,table:r,commit_timestamp:n,eventType:i,new:{},old:{},errors:s}),this._getPayloadRecords(e))}e.callback(c,r)})}_isClosed(){return this.state===y.closed}_isJoined(){return this.state===y.joined}_isJoining(){return this.state===y.joining}_isLeaving(){return this.state===y.leaving}_replyEventName(e){return`chan_reply_${e}`}_on(e,t,r){let n=e.toLocaleLowerCase(),i={type:n,filter:t,callback:r};return this.bindings[n]?this.bindings[n].push(i):this.bindings[n]=[i],this}_off(e,t){let r=e.toLocaleLowerCase();return this.bindings[r]=this.bindings[r].filter(e=>{var n;return!((null==(n=e.type)?void 0:n.toLocaleLowerCase())===r&&X.isEqual(e.filter,t))}),this}static isEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(e){this._on(b.close,{},e)}_onError(e){this._on(b.error,{},t=>e(t))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(e=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=y.joining,this.joinPush.resend(e))}_getPayloadRecords(e){let t={new:{},old:{}};return("INSERT"===e.type||"UPDATE"===e.type)&&(t.new=B(e.columns,e.record)),("UPDATE"===e.type||"DELETE"===e.type)&&(t.old=B(e.columns,e.old_record)),t}}let J=()=>{},Q=` 2 addEventListener("message", (e) => { 3 if (e.data.event === "start") { 4 setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval); 5 } 6 });`;class Z{constructor(e,t){var n;this.accessTokenValue=null,this.apiKey=null,this.channels=[],this.endPoint="",this.httpEndpoint="",this.headers={},this.params={},this.timeout=1e4,this.heartbeatIntervalMs=25e3,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.heartbeatCallback=J,this.ref=0,this.logger=J,this.conn=null,this.sendBuffer=[],this.serializer=new R,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._resolveFetch=e=>{let t;return t=e||("undefined"==typeof fetch?(...e)=>Promise.resolve().then(r.bind(r,84455)).then(({default:t})=>t(...e)):fetch),(...e)=>t(...e)},this.endPoint=`${e}/${v.websocket}`,this.httpEndpoint=G(e),(null==t?void 0:t.transport)?this.transport=t.transport:this.transport=null,(null==t?void 0:t.params)&&(this.params=t.params),(null==t?void 0:t.t
6imeout)&&(this.timeout=t.timeout),(null==t?void 0:t.logger)&&(this.logger=t.logger),((null==t?void 0:t.logLevel)||(null==t?void 0:t.log_level))&&(this.logLevel=t.logLevel||t.log_level,this.params=Object.assign(Object.assign({},this.params),{log_level:this.logLevel})),(null==t?void 0:t.heartbeatIntervalMs)&&(this.heartbeatIntervalMs=t.heartbeatIntervalMs);const i=null==(n=null==t?void 0:t.params)?void 0:n.apikey;if(i&&(this.accessTokenValue=i,this.apiKey=i),this.reconnectAfterMs=(null==t?void 0:t.reconnectAfterMs)?t.reconnectAfterMs:e=>[1e3,2e3,5e3,1e4][e-1]||1e4,this.encode=(null==t?void 0:t.encode)?t.encode:(e,t)=>t(JSON.stringify(e)),this.decode=(null==t?void 0:t.decode)?t.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new D(async()=>{this.disconnect(),this.connect()},this.reconnectAfterMs),this.fetch=this._resolveFetch(null==t?void 0:t.fetch),null==t?void 0:t.worker){if("undefined"!=typeof window&&!window.Worker)throw Error("Web Worker is not supported");this.worker=(null==t?void 0:t.worker)||!1,this.workerUrl=null==t?void 0:t.workerUrl}this.accessToken=(null==t?void 0:t.accessToken)||null}connect(){if(!this.conn){if(this.transport||(this.transport=N.WebSocket),!this.transport)throw Error("No transport provided");this.conn=new this.transport(this.endpointURL()),this.setupConnection()}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:"1.0.0"}))}disconnect(e,t){this.conn&&(this.conn.onclose=function(){},e?this.conn.close(e,null!=t?t:""):this.conn.close(),this.conn=null,this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.reset(),this.channels.forEach(e=>e.teardown()))}getChannels(){return this.channels}async removeChannel(e){let t=await e.unsubscribe();return 0===this.channels.length&&this.disconnect(),t}async removeAllChannels(){let e=await Promise.all(this.channels.map(e=>e.unsubscribe()));return this.channels=[],this.disconnect(),e}log(e,t,r){this.logger(e,t,r)}connectionState(){switch(this.conn&&this.conn.readyState){case g.connecting:return w.Connecting;case g.open:return w.Open;case g.closing:return w.Closing;default:return w.Closed}}isConnected(){return this.connectionState()===w.Open}channel(e,t={config:{}}){let r=`realtime:${e}`,n=this.getChannels().find(e=>e.topic===r);if(n)return n;{let r=new X(`realtime:${e}`,t,this);return this.channels.push(r),r}}push(e){let{topic:t,event:r,payload:n,ref:i}=e,s=()=>{this.encode(e,e=>{var t;null==(t=this.conn)||t.send(e)})};this.log("push",`${t} ${r} (${i})`,n),this.isConnected()?s():this.sendBuffer.push(s)}async setAuth(e=null){let t=e||this.accessToken&&await this.accessToken()||this.accessTokenValue;this.accessTokenValue!=t&&(this.accessTokenValue=t,this.channels.forEach(e=>{t&&e.updateJoinPayload({access_token:t,version:"realtime-js/2.11.15"}),e.joinedOnce&&e._isJoined()&&e._push(b.access_token,{access_token:t})}))}async sendHeartbeat(){var e;if(!this.isConnected())return void this.heartbeatCallback("disconnected");if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.heartbeatCallback("timeout"),null==(e=this.conn)||e.close(1e3,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatCallback("sent"),await this.setAuth()}onHeartbeat(e){this.heartbeatCallback=e}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}_makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}_leaveOpenTopic(e){let t=this.channels.find(t=>t.topic===e&&(t._isJoined()||t._isJoining()));t&&(this.log("transport",`leaving duplicate topic "${e}"`),t.unsubscribe())}_remove(e){this.channels=this.channels.filter(t=>t.topic!==e.topic)}setupConnection(){this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=e=>this._onConnError(e),this.conn.onmessage=e=>
6this._onConnMessage(e),this.conn.onclose=e=>this._onConnClose(e))}_onConnMessage(e){this.decode(e.data,e=>{let{topic:t,event:r,payload:n,ref:i}=e;"phoenix"===t&&"phx_reply"===r&&this.heartbeatCallback("ok"==e.payload.status?"ok":"error"),i&&i===this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null),this.log("receive",`${n.status||""} ${t} ${r} ${i&&"("+i+")"||""}`,n),Array.from(this.channels).filter(e=>e._isMember(t)).forEach(e=>e._trigger(r,n,i)),this.stateChangeCallbacks.message.forEach(t=>t(e))})}_onConnOpen(){this.log("transport",`connected to ${this.endpointURL()}`),this.flushSendBuffer(),this.reconnectTimer.reset(),this.worker?this.workerRef||this._startWorkerHeartbeat():this._startHeartbeat(),this.stateChangeCallbacks.open.forEach(e=>e())}_startHeartbeat(){this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");let e=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(e),this.workerRef.onerror=e=>{this.log("worker","worker error",e.message),this.workerRef.terminate()},this.workerRef.onmessage=e=>{"keepAlive"===e.data.event&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_onConnClose(e){this.log("transport","close",e),this._triggerChanError(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(t=>t(e))}_onConnError(e){this.log("transport",`${e}`),this._triggerChanError(),this.stateChangeCallbacks.error.forEach(t=>t(e))}_triggerChanError(){this.channels.forEach(e=>e._trigger(b.error))}_appendParams(e,t){if(0===Object.keys(t).length)return e;let r=e.match(/\?/)?"&":"?",n=new URLSearchParams(t);return`${e}${r}${n}`}_workerObjectUrl(e){let t;if(e)t=e;else{let e=new Blob([Q],{type:"application/javascript"});t=URL.createObjectURL(e)}return t}}class ee extends Error{constructor(e){super(e),this.__isStorageError=!0,this.name="StorageError"}}function et(e){return"object"==typeof e&&null!==e&&"__isStorageError"in e}class er extends ee{constructor(e,t){super(e),this.name="StorageApiError",this.status=t}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class en extends ee{constructor(e,t){super(e),this.name="StorageUnknownError",this.originalError=t}}let ei=e=>{let t;return t=e||("undefined"==typeof fetch?(...e)=>Promise.resolve().then(r.bind(r,84455)).then(({default:t})=>t(...e)):fetch),(...e)=>t(...e)},es=e=>{if(Array.isArray(e))return e.map(e=>es(e));if("function"==typeof e||e!==Object(e))return e;let t={};return Object.entries(e).forEach(([e,r])=>{t[e.replace(/([-_][a-z])/gi,e=>e.toUpperCase().replace(/[-_]/g,""))]=es(r)}),t};var ea=function(e,t,r,n){return new(r||(r=Promise))(function(i,s){function a(e){try{l(n.next(e))}catch(e){s(e)}}function o(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,o)}l((n=n.apply(e,t||[])).next())})};let eo=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e);function el(e,t,n,i,s,a){return ea(this,void 0,void 0,function*(){return new Promise((o,l)=>{let u;e(n,(u={method:t,headers:(null==i?void 0:i.headers)||{}},"GET"===t?u:(u.headers=Object.assign({"Content-Type":"application/json"},null==i?void 0:i.headers),a&&(u.body=JSON.stringify(a)),Object.assign(Object.assign({},u),s)))).then(e=>{if(!e.ok)throw e;return(null==i?void 0:i.noResolveJson)?e:e.json()}).then(e=>o(e)).catch(e=>ea(void 0,void 0,void 0,function*(){var t,n,s,a;let o=yield(t=void 0,n=void 0,s=void 0,a=function*(){return"undefined"==typeof Response?(yield Promise.resolve().then(r.bind(r,84455))).Response:Response},new(s||(s=Promise))(function(e,r){function i(e){try{l(a.next(e))}catch(e){r(e)}}function o(e){try{l(a.throw(e))}catch(e){r(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof s?r:new s(function(e){e(r)})).then(i,o)}l((a=a.apply(t,n||[])).next())}));e instanceof o&&!(null==i?void 0:i.noResolveJson)?e.json().then(t=>{l(new er(eo(t),e.status||500))}).catch(e=>{l(new en(eo(e),e))}):l(new en(eo(e),e))}))})})}function eu(e,t,r,n){return ea(this,void 0,void 0,function*(){return el(e,"GET",t,r,n)})}function ec(e,t,r,n,i){return ea(this,void 0,void 0,function*(){return el(e,"POST",t,n,i,r)})}function ed(e,t,r,n,i){return ea(this,void 0,void 0,function*(){return el(e,"DELETE",t,n,i,r)})}var eh=r(78322).Buffer,ef=function(e,t,r,n){return new(r||(r=Promise))(function(i,s){function a(e){try{l(n.next(e))}catch(e){s(e)}}function o(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,o)}l((n=n.apply(e,t||[])).next())})};let ep={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},em={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class eg{constructor(e,t={},r,n){this.url=e,this.headers=t,this.bucketId=r,this.fetch=ei(n)}uploadOrUpdate(e,t,r,n){return ef(this,void 0,void 0,function*(){try{let i,s=Object.assign(Object.assign({},em),n),a=Object.assign(Object.assign({},this.headers),"POST"===e&&{"x-upsert":String(s.upsert)}),o=s.metadata;"undefined"!=typeof Blob&&r instanceof Blob?((i=new FormData).append("cacheControl",s.cacheControl),o&&i.append("metadata",this.encodeMetadata(o)),i.append("",r)):"undefined"!=typeof FormData&&r instanceof FormData?((i=r).append("cacheControl",s.cacheControl),o&&i.append("metadata",this.encodeMetadata(o))):(i=r,a["cache-control"]=`max-age=${s.cacheControl}`,a["content-type"]=s.contentType,o&&(a["x-metadata"]=this.toBase64(this.encodeMetadata(o)))),(null==n?void 0:n.headers)&&(a=Object.assign(Object.assign({},a),n.headers));let l=this._removeEmptyFolders(t),u=this._getFinalPath(l),c=yield this.fetch(`${this.url}/object/${u}`,Object.assign({method:e,body:i,headers:a},(null==s?void 0:s.duplex)?{duplex:s.duplex}:{})),d=yield c.json();if(c.ok)return{data:{path:l,id:d.Id,fullPath:d.Key},error:null};return{data:null,error:d}}catch(e){if(et(e))return{data:null,error:e};throw e}})}upload(e,t,r){return ef(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",e,t,r)})}uploadToSignedUrl(e,t,r,n){return ef(this,void 0,void 0,function*(){let i=this._removeEmptyFolders(e),s=this._getFinalPath(i),a=new URL(this.url+`/object/upload/sign/${s}`);a.searchParams.set("token",t);try{let e,t=Object.assign({upsert:em.upsert},n),s=Object.assign(Object.assign({},this.headers),{"x-upsert":String(t.upsert)});"undefined"!=typeof Blob&&r instanceof Blob?((e=new FormData).append("cacheControl",t.cacheControl),e.append("",r)):"undefined"!=typeof FormData&&r instanceof FormData?(e=r).append("cacheControl",t.cacheControl):(e=r,s["cache-control"]=`max-age=${t.cacheControl}`,s["content-type"]=t.contentType);let o=yield this.fetch(a.toString(),{method:"PUT",body:e,headers:s}),l=yield o.json();if(o.ok)return{data:{path:i,fullPath:l.Key},error:null};return{data:null,error:l}}catch(e){if(et(e))return{data:null,error:e};throw e}})}createSignedUploadUrl(e,t){return ef(this,void 0,void 0,function*(){try{let r=this._getFinalPath(e),n=Object.assign({},this.headers);(null==t?void 0:t.upsert)&&(n["x-upsert"]="true");let i=yield ec(this.fetch,`${this.url}/object/upload/sign/${r}`,{},{headers:n}),s=new URL(this.url+i.url),a=s.searchParams.get("token");if(!a)throw new ee("No token returned by API");return{data:{signedUrl:s.toString(),path:e,token:a},error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}update(e,t,r){return ef(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",e,t,r)})}move(e,t,r){return ef(this,void 0,void 0,function*(){try{return{data:yield ec(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:e,destinationKey:t,de
6stinationBucket:null==r?void 0:r.destinationBucket},{headers:this.headers}),error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}copy(e,t,r){return ef(this,void 0,void 0,function*(){try{return{data:{path:(yield ec(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:e,destinationKey:t,destinationBucket:null==r?void 0:r.destinationBucket},{headers:this.headers})).Key},error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}createSignedUrl(e,t,r){return ef(this,void 0,void 0,function*(){try{let n=this._getFinalPath(e),i=yield ec(this.fetch,`${this.url}/object/sign/${n}`,Object.assign({expiresIn:t},(null==r?void 0:r.transform)?{transform:r.transform}:{}),{headers:this.headers}),s=(null==r?void 0:r.download)?`&download=${!0===r.download?"":r.download}`:"";return{data:i={signedUrl:encodeURI(`${this.url}${i.signedURL}${s}`)},error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}createSignedUrls(e,t,r){return ef(this,void 0,void 0,function*(){try{let n=yield ec(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:t,paths:e},{headers:this.headers}),i=(null==r?void 0:r.download)?`&download=${!0===r.download?"":r.download}`:"";return{data:n.map(e=>Object.assign(Object.assign({},e),{signedUrl:e.signedURL?encodeURI(`${this.url}${e.signedURL}${i}`):null})),error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}download(e,t){return ef(this,void 0,void 0,function*(){let r=void 0!==(null==t?void 0:t.transform),n=this.transformOptsToQueryString((null==t?void 0:t.transform)||{}),i=n?`?${n}`:"";try{let t=this._getFinalPath(e),n=yield eu(this.fetch,`${this.url}/${r?"render/image/authenticated":"object"}/${t}${i}`,{headers:this.headers,noResolveJson:!0});return{data:yield n.blob(),error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}info(e){return ef(this,void 0,void 0,function*(){let t=this._getFinalPath(e);try{let e=yield eu(this.fetch,`${this.url}/object/info/${t}`,{headers:this.headers});return{data:es(e),error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}exists(e){return ef(this,void 0,void 0,function*(){let t=this._getFinalPath(e);try{return yield function(e,t,r,n){return ea(this,void 0,void 0,function*(){return el(e,"HEAD",t,Object.assign(Object.assign({},r),{noResolveJson:!0}),void 0)})}(this.fetch,`${this.url}/object/${t}`,{headers:this.headers}),{data:!0,error:null}}catch(e){if(et(e)&&e instanceof en){let t=e.originalError;if([400,404].includes(null==t?void 0:t.status))return{data:!1,error:e}}throw e}})}getPublicUrl(e,t){let r=this._getFinalPath(e),n=[],i=(null==t?void 0:t.download)?`download=${!0===t.download?"":t.download}`:"";""!==i&&n.push(i);let s=void 0!==(null==t?void 0:t.transform),a=this.transformOptsToQueryString((null==t?void 0:t.transform)||{});""!==a&&n.push(a);let o=n.join("&");return""!==o&&(o=`?${o}`),{data:{publicUrl:encodeURI(`${this.url}/${s?"render/image":"object"}/public/${r}${o}`)}}}remove(e){return ef(this,void 0,void 0,function*(){try{return{data:yield ed(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:e},{headers:this.headers}),error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}list(e,t,r){return ef(this,void 0,void 0,function*(){try{let n=Object.assign(Object.assign(Object.assign({},ep),t),{prefix:e||""});return{data:yield ec(this.fetch,`${this.url}/object/list/${this.bucketId}`,n,{headers:this.headers},r),error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){return void 0!==eh?eh.from(e).toString("base64"):btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(e){let t=[];return e.width&&t.push(`width=${e.width}`),e.height&&t.push(`height=${e.height}`),e.resize&&t.push(`resize=${e.resize}`),e.format&&t.push(`format=${e.format}`),e.quality&&t.push(`quality=${e.quality}`),t.join("&")}}let ey={"X-Client-Info":"storage-js/2.7.1"};var eb=function(e,t,r,n){return new(r||(r=Promise))(function(i,s){function a(e){try{l(n.next(e))}catch(e){s(e)}}function o(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,o)}l((n=n.apply(e,t||[])).next())})};class ev{constructor(e,t={},r){this.url=e,this.headers=Object.assign(Object.assign({},ey),t),this.fetch=ei(r)}listBuckets(){return eb(this,void 0,void 0,function*(){try{return{data:yield eu(this.fetch,`${this.url}/bucket`,{headers:this.headers}),error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}getBucket(e){return eb(this,void 0,void 0,function*(){try{return{data:yield eu(this.fetch,`${this.url}/bucket/${e}`,{headers:this.headers}),error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}createBucket(e,t={public:!1}){return eb(this,void 0,void 0,function*(){try{return{data:yield ec(this.fetch,`${this.url}/bucket`,{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:this.headers}),error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}updateBucket(e,t){return eb(this,void 0,void 0,function*(){try{return{data:yield function(e,t,r,n,i){return ea(this,void 0,void 0,function*(){return el(e,"PUT",t,n,void 0,r)})}(this.fetch,`${this.url}/bucket/${e}`,{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:this.headers}),error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}emptyBucket(e){return eb(this,void 0,void 0,function*(){try{return{data:yield ec(this.fetch,`${this.url}/bucket/${e}/empty`,{},{headers:this.headers}),error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}deleteBucket(e){return eb(this,void 0,void 0,function*(){try{return{data:yield ed(this.fetch,`${this.url}/bucket/${e}`,{},{headers:this.headers}),error:null}}catch(e){if(et(e))return{data:null,error:e};throw e}})}}class ew extends ev{constructor(e,t={},r){super(e,t,r)}from(e){return new eg(this.url,this.headers,e,this.fetch)}}let ek="";ek="undefined"!=typeof Deno?"deno":"undefined"!=typeof document?"web":"undefined"!=typeof navigator&&"ReactNative"===navigator.product?"react-native":"node";let e_={headers:{"X-Client-Info":`supabase-js-${ek}/2.52.0`}},ex={schema:"public"},eS={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},eE={};var eT=r(84455);let eO="2.71.1",eC={"X-Client-Info":`gotrue-js/${eO}`},eP="X-Supabase-Api-Version",eL={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},eA=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i;
6class eI extends Error{constructor(e,t,r){super(e),this.__isAuthError=!0,this.name="AuthError",this.status=t,this.code=r}}function eM(e){return"object"==typeof e&&null!==e&&"__isAuthError"in e}class ej extends eI{constructor(e,t,r){super(e,t,r),this.name="AuthApiError",this.status=t,this.code=r}}class eN extends eI{constructor(e,t){super(e),this.name="AuthUnknownError",this.originalError=t}}class eR extends eI{constructor(e,t,r,n){super(e,r,n),this.name=t,this.status=r}}class eD extends eR{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}class eB extends eR{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class eq extends eR{constructor(e){super(e,"AuthInvalidCredentialsError",400,void 0)}}class e$ extends eR{constructor(e,t=null){super(e,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=t}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class eW extends eR{constructor(e,t=null){super(e,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=t}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class eU extends eR{constructor(e,t){super(e,"AuthRetryableFetchError",t,void 0)}}function eH(e){return eM(e)&&"AuthRetryableFetchError"===e.name}class ez extends eR{constructor(e,t,r){super(e,"AuthWeakPasswordError",t,"weak_password"),this.reasons=r}}class eF extends eR{constructor(e){super(e,"AuthInvalidJwtError",400,"invalid_jwt")}}let eV="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),eG=" \n\r=".split(""),eY=(()=>{let e=Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<eG.length;t+=1)e[eG[t].charCodeAt(0)]=-2;for(let t=0;t<eV.length;t+=1)e[eV[t].charCodeAt(0)]=t;return e})();function eK(e,t,r){if(null!==e)for(t.queue=t.queue<<8|e,t.queuedBits+=8;t.queuedBits>=6;)r(eV[t.queue>>t.queuedBits-6&63]),t.queuedBits-=6;else if(t.queuedBits>0)for(t.queue=t.queue<<6-t.queuedBits,t.queuedBits=6;t.queuedBits>=6;)r(eV[t.queue>>t.queuedBits-6&63]),t.queuedBits-=6}function eX(e,t,r){let n=eY[e];if(n>-1)for(t.queue=t.queue<<6|n,t.queuedBits+=6;t.queuedBits>=8;)r(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else if(-2===n)return;else throw Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}function eJ(e){let t=[],r=e=>{t.push(String.fromCodePoint(e))},n={utf8seq:0,codepoint:0},i={queue:0,queuedBits:0},s=e=>{!function(e,t,r){if(0===t.utf8seq){if(e<=127)return r(e);for(let r=1;r<6;r+=1)if((e>>7-r&1)==0){t.utf8seq=r;break}if(2===t.utf8seq)t.codepoint=31&e;else if(3===t.utf8seq)t.codepoint=15&e;else if(4===t.utf8seq)t.codepoint=7&e;else throw Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|63&e,t.utf8seq-=1,0===t.utf8seq&&r(t.codepoint)}}(e,n,r)};for(let t=0;t<e.length;t+=1)eX(e.charCodeAt(t),i,s);return t.join("")}let eQ=()=>"undefined"!=typeof window&&"undefined"!=typeof document,eZ={tested:!1,writable:!1},e0=()=>{if(!eQ())return!1;try{if("object"!=typeof globalThis.localStorage)return!1}catch(e){return!1}if(eZ.tested)return eZ.writable;let e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),eZ.tested=!0,eZ.writable=!0}catch(e){eZ.tested=!0,eZ.writable=!1}return eZ.writable},e1=e=>{let t;return t=e||("undefined"==typeof fetch?(...e)=>Promise.resolve().then(r.bind(r,84455)).then(({default:t})=>t(...e)):fetch),(...e)=>t(...e)},e2=async(e,t,r)=>{await e.setItem(t,JSON.stringify(r))},e3=async(e,t)=>{let r=await e.getItem(t);if(!r)return null;try{return JSON.parse(r)}catch(e){return r}},e5=async(e,t)=>{await e.removeItem(t)};class e4{constructor(){this.promise=new e4.promiseConstructor((e,t)=>{this.resolve=e,this.reject=t})}}function e6(e){let t=e.split(".");if(3!==t.length)throw new eF("Invalid JWT structure");for(let e=0;e<t.length;e++)if(!eA.test(t[e]))throw new eF("JWT not in base64url format");return{header:JSON.parse(eJ(t[0])),payload:JSON.parse(eJ(t[1])),signature:function(e){let t=[],r={queue:0,queuedBits:0},n=e=>{t.push(e)};for(let t=0;t<e.length;t+=1)eX(e.charCodeAt(t),r,n);return new Uint8Array(t)}(t[2]),raw:{header:t[0],payload:t[1]}}}async function e8(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function e9(e){return("0"+e.toString(16)).substr(-2)}async function e7(e){let t=new TextEncoder().encode(e);return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",t))).map(e=>String.fromCharCode(e)).join("")}async function te(e){return"undefined"==typeof crypto||void 0===crypto.subtle||"undefined"==typeof TextEncoder?(console.warn("WebCrypto API is not supported. Code
6challenge method will default to use plain instead of sha256."),e):btoa(await e7(e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function tt(e,t,r=!1){let n=function(){let e=new Uint32Array(56);if("undefined"==typeof crypto){let e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",t=e.length,r="";for(let n=0;n<56;n++)r+=e.charAt(Math.floor(Math.random()*t));return r}return crypto.getRandomValues(e),Array.from(e,e9).join("")}(),i=n;r&&(i+="/PASSWORD_RECOVERY"),await e2(e,`${t}-code-verifier`,i);let s=await te(n),a=n===s?"plain":"s256";return[s,a]}e4.promiseConstructor=Promise;let tr=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i,tn=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function ti(e){if(!tn.test(e))throw Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function ts(){return new Proxy({},{get:(e,t)=>{if("__isUserNotAvailableProxy"===t)return!0;if("symbol"==typeof t){let e=t.toString();if("Symbol(Symbol.toPrimitive)"===e||"Symbol(Symbol.toStringTag)"===e||"Symbol(util.inspect.custom)"===e)return}throw Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${t}" property of the session object is not supported. Please use getUser() instead.`)},set:(e,t)=>{throw Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${t}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(e,t)=>{throw Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${t}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function ta(e){return JSON.parse(JSON.stringify(e))}var to=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let tl=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),tu=[502,503,504];async function tc(e){var t;let r,n;if(!("object"==typeof e&&null!==e&&"status"in e&&"ok"in e&&"json"in e&&"function"==typeof e.json))throw new eU(tl(e),0);if(tu.includes(e.status))throw new eU(tl(e),e.status);try{r=await e.json()}catch(e){throw new eN(tl(e),e)}let i=function(e){let t=e.headers.get(eP);if(!t||!t.match(tr))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch(e){return null}}(e);if(i&&i.getTime()>=eL["2024-01-01"].timestamp&&"object"==typeof r&&r&&"string"==typeof r.code?n=r.code:"object"==typeof r&&r&&"string"==typeof r.error_code&&(n=r.error_code),n){if("weak_password"===n)throw new ez(tl(r),e.status,(null==(t=r.weak_password)?void 0:t.reasons)||[]);else if("session_not_found"===n)throw new eD}else if("object"==typeof r&&r&&"object"==typeof r.weak_password&&r.weak_password&&Array.isArray(r.weak_password.reasons)&&r.weak_password.reasons.length&&r.weak_password.reasons.reduce((e,t)=>e&&"string"==typeof t,!0))throw new ez(tl(r),e.status,r.weak_password.reasons);throw new ej(tl(r),e.status||500,n)}async function td(e,t,r,n){var i;let s=Object.assign({},null==n?void 0:n.headers);s[eP]||(s[eP]=eL["2024-01-01"].name),(null==n?void 0:n.jwt)&&(s.Authorization=`Bearer ${n.jwt}`);let a=null!=(i=null==n?void 0:n.query)?i:{};(null==n?void 0:n.redirectTo)&&(a.redirect_to=n.redirectTo);let o=Object.keys(a).length?"?"+new URLSearchParams(a).toString():"",l=await th(e,t,r+o,{headers:s,noResolveJson:null==n?void 0:n.noResolveJson},{},null==n?void 0:n.body);return(null==n?void 0:n.xform)?null==n?void 0:n.xform(l):{data:Object.assign({},l),error:null}}async function th(e,t,r,n,i,s){let a,o,l=(o={method:t,headers:(null==n?void 0:n.headers)||{}},"GET"===t?o:(o.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},null==n?void 0:n.headers),o.body=JSON.stringify(s),Object.assign(Object.assign({},o),i)));try{a=await e(r,Object.assign({},l))}catch(e){throw console.error(e),new eU(tl(e),0)}if(a.ok||await tc(a),null==n?void 0:n.noResolveJson)return a;try{return await a.json()}catch(e){await tc(e)}}function tf(e){var t,r,n;let i=null;(n=e).access_token&&n.refresh_token&&n.expires_in&&(i=Object.assign({},e),e.expires_at||(i.expires_at=(r=e.expires_in,Math.round(Date.now()/1e3)+r)));return{data:{session:i,user:null!=(t=e.user)?t:e},error:null}}function tp(e){let t=tf(e);return!t.error&&e.weak_password&&"object"==typeof e.weak_password&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&"string"==typeof e.weak_password.message&&e.weak_password.reasons.reduce((e,t)=>
6e&&"string"==typeof t,!0)&&(t.data.weak_password=e.weak_password),t}function tm(e){var t;return{data:{user:null!=(t=e.user)?t:e},error:null}}function tg(e){return{data:e,error:null}}function ty(e){let{action_link:t,email_otp:r,hashed_token:n,redirect_to:i,verification_type:s}=e;return{data:{properties:{action_link:t,email_otp:r,hashed_token:n,redirect_to:i,verification_type:s},user:Object.assign({},to(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]))},error:null}}function tb(e){return e}let tv=["global","local","others"];var tw=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};class tk{constructor({url:e="",headers:t={},fetch:r}){this.url=e,this.headers=t,this.fetch=e1(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)}}async signOut(e,t=tv[0]){if(0>tv.indexOf(t))throw Error(`@supabase/auth-js: Parameter scope must be one of ${tv.join(", ")}`);try{return await td(this.fetch,"POST",`${this.url}/logout?scope=${t}`,{headers:this.headers,jwt:e,noResolveJson:!0}),{data:null,error:null}}catch(e){if(eM(e))return{data:null,error:e};throw e}}async inviteUserByEmail(e,t={}){try{return await td(this.fetch,"POST",`${this.url}/invite`,{body:{email:e,data:t.data},headers:this.headers,redirectTo:t.redirectTo,xform:tm})}catch(e){if(eM(e))return{data:{user:null},error:e};throw e}}async generateLink(e){try{let{options:t}=e,r=tw(e,["options"]),n=Object.assign(Object.assign({},r),t);return"newEmail"in r&&(n.new_email=null==r?void 0:r.newEmail,delete n.newEmail),await td(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:n,headers:this.headers,xform:ty,redirectTo:null==t?void 0:t.redirectTo})}catch(e){if(eM(e))return{data:{properties:null,user:null},error:e};throw e}}async createUser(e){try{return await td(this.fetch,"POST",`${this.url}/admin/users`,{body:e,headers:this.headers,xform:tm})}catch(e){if(eM(e))return{data:{user:null},error:e};throw e}}async listUsers(e){var t,r,n,i,s,a,o;try{let l={nextPage:null,lastPage:0,total:0},u=await td(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:null!=(r=null==(t=null==e?void 0:e.page)?void 0:t.toString())?r:"",per_page:null!=(i=null==(n=null==e?void 0:e.perPage)?void 0:n.toString())?i:""},xform:tb});if(u.error)throw u.error;let c=await u.json(),d=null!=(s=u.headers.get("x-total-count"))?s:0,h=null!=(o=null==(a=u.headers.get("link"))?void 0:a.split(","))?o:[];return h.length>0&&(h.forEach(e=>{let t=parseInt(e.split(";")[0].split("=")[1].substring(0,1)),r=JSON.parse(e.split(";")[1].split("=")[1]);l[`${r}Page`]=t}),l.total=parseInt(d)),{data:Object.assign(Object.assign({},c),l),error:null}}catch(e){if(eM(e))return{data:{users:[]},error:e};throw e}}async getUserById(e){ti(e);try{return await td(this.fetch,"GET",`${this.url}/admin/users/${e}`,{headers:this.headers,xform:tm})}catch(e){if(eM(e))return{data:{user:null},error:e};throw e}}async updateUserById(e,t){ti(e);try{return await td(this.fetch,"PUT",`${this.url}/admin/users/${e}`,{body:t,headers:this.headers,xform:tm})}catch(e){if(eM(e))return{data:{user:null},error:e};throw e}}async deleteUser(e,t=!1){ti(e);try{return await td(this.fetch,"DELETE",`${this.url}/admin/users/${e}`,{headers:this.headers,body:{should_soft_delete:t},xform:tm})}catch(e){if(eM(e))return{data:{user:null},error:e};throw e}}async _listFactors(e){ti(e.userId);try{let{data:t,error:r}=await td(this.fetch,"GET",`${this.url}/admin/users/${e.userId}/factors`,{headers:this.headers,xform:e=>({data:{factors:e},error:null})});return{data:t,error:r}}catch(e){if(eM(e))return{data:null,error:e};throw e}}async _deleteFactor(e){ti(e.userId),ti(e.id);try{return{data:await td(this.fetch,"DELETE",`${this.url}/admin/users/${e.userId}/factors/${e.id}`,{headers:this.headers}),error:null}}catch(e){if(eM(e))return{data:null,error:e};throw e}}}function t_(e={}){return{getItem:t=>e[t]||null,setItem:(t,r)=>{e[t]=r},removeItem:t=>{delete e[t]}}}let tx={debug:!!(globalThis&&e0()&&globalThis.localStorage&&"true"===globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug"))};
6class tS extends Error{constructor(e){super(e),this.isAcquireTimeout=!0}}class tE extends tS{}async function tT(e,t,r){tx.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,t);let n=new globalThis.AbortController;return t>0&&setTimeout(()=>{n.abort(),tx.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},t),await Promise.resolve().then(()=>globalThis.navigator.locks.request(e,0===t?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:n.signal},async n=>{if(n){tx.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,n.name);try{return await r()}finally{tx.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,n.name)}}if(0===t)throw tx.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new tE(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(tx.debug)try{let e=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(e,null," "))}catch(e){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",e)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await r()}))}if("object"!=typeof globalThis)try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){"undefined"!=typeof self&&(self.globalThis=self)}let tO={url:"http://localhost:9999",storageKey:"supabase.auth.token",autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:eC,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1};async function tC(e,t,r){return await r()}let tP={};class tL{constructor(e){var t,r;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log,this.instanceID=tL.nextInstanceID,tL.nextInstanceID+=1,this.instanceID>0&&eQ()&&console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.");const n=Object.assign(Object.assign({},tO),e);if(this.logDebugMessages=!!n.debug,"function"==typeof n.debug&&(this.logger=n.debug),this.persistSession=n.persistSession,this.storageKey=n.storageKey,this.autoRefreshToken=n.autoRefreshToken,this.admin=new tk({url:n.url,headers:n.headers,fetch:n.fetch}),this.url=n.url,this.headers=n.headers,this.fetch=e1(n.fetch),this.lock=n.lock||tC,this.detectSessionInUrl=n.detectSessionInUrl,this.flowType=n.flowType,this.hasCustomAuthorizationHeader=n.hasCustomAuthorizationHeader,n.lock?this.lock=n.lock:eQ()&&(null==(t=null==globalThis?void 0:globalThis.navigator)?void 0:t.locks)?this.lock=tT:this.lock=tC,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession?(n.storage?this.storage=n.storage:e0()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=t_(this.memoryStorage)),n.userStorage&&(this.userStorage=n.userStorage)):(this.memoryStorage={},this.storage=t_(this.memoryStorage)),eQ()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(e){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",e)}null==(r=this.broadcastChannel)||r.addEventListener("message",async e=>{this._debug("received broadcast notification from other tab or client",e),await this._notifyAllSubscribers(e.data.event,e.data.session,!1)})}this.initialize()}get jwks(){var e,t;return null!=(t=null==(e=tP[this.storageKey])?void 0:e.jwks)?t:{keys:[]}}set jwks(e){tP[this.storageKey]=Object.assign(Object.assign({},tP[this.storageKey]),{jwks:e})}get jwks_cached_at(){var e,t;return null!=(t=null==(e=tP[this.storageKey])?void 0:e.cachedAt)?t:Number.MIN_SAFE_INTEGER}set jwks_cached_at(e){tP[this.storageKey]=Object.assign(Object.assign({},tP[this.storageKey]),{cachedAt:e})}_debug(...e){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${eO}) ${new Date().toISOString()}`,...e),this}async initialize(){return this.initializePromise||(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))()),await this.initializePromise}async _initialize(){var e;try{let t=function(e){let t={},r=new URL(e);if(r.hash&&"#"===r.hash[0])try{new URLSearchParams(r.hash.substring(1)).forEac
6h((e,r)=>{t[r]=e})}catch(e){}return r.searchParams.forEach((e,r)=>{t[r]=e}),t}(window.location.href),r="none";if(this._isImplicitGrantCallback(t)?r="implicit":await this._isPKCECallback(t)&&(r="pkce"),eQ()&&this.detectSessionInUrl&&"none"!==r){let{data:n,error:i}=await this._getSessionFromURL(t,r);if(i){if(this._debug("#_initialize()","error detecting session from URL",i),eM(i)&&"AuthImplicitGrantRedirectError"===i.name){let t=null==(e=i.details)?void 0:e.code;if("identity_already_exists"===t||"identity_not_found"===t||"single_identity_not_deletable"===t)return{error:i}}return await this._removeSession(),{error:i}}let{session:s,redirectType:a}=n;return this._debug("#_initialize()","detected session in URL",s,"redirect type",a),await this._saveSession(s),setTimeout(async()=>{"recovery"===a?await this._notifyAllSubscribers("PASSWORD_RECOVERY",s):await this._notifyAllSubscribers("SIGNED_IN",s)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(e){if(eM(e))return{error:e};return{error:new eN("Unexpected error during initialization",e)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(e){var t,r,n;try{let{data:i,error:s}=await td(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:null!=(r=null==(t=null==e?void 0:e.options)?void 0:t.data)?r:{},gotrue_meta_security:{captcha_token:null==(n=null==e?void 0:e.options)?void 0:n.captchaToken}},xform:tf});if(s||!i)return{data:{user:null,session:null},error:s};let a=i.session,o=i.user;return i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",a)),{data:{user:o,session:a},error:null}}catch(e){if(eM(e))return{data:{user:null,session:null},error:e};throw e}}async signUp(e){var t,r,n;try{let i;if("email"in e){let{email:r,password:n,options:s}=e,a=null,o=null;"pkce"===this.flowType&&([a,o]=await tt(this.storage,this.storageKey)),i=await td(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:null==s?void 0:s.emailRedirectTo,body:{email:r,password:n,data:null!=(t=null==s?void 0:s.data)?t:{},gotrue_meta_security:{captcha_token:null==s?void 0:s.captchaToken},code_challenge:a,code_challenge_method:o},xform:tf})}else if("phone"in e){let{phone:t,password:s,options:a}=e;i=await td(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:t,password:s,data:null!=(r=null==a?void 0:a.data)?r:{},channel:null!=(n=null==a?void 0:a.channel)?n:"sms",gotrue_meta_security:{captcha_token:null==a?void 0:a.captchaToken}},xform:tf})}else throw new eq("You must provide either an email or phone number and a password");let{data:s,error:a}=i;if(a||!s)return{data:{user:null,session:null},error:a};let o=s.session,l=s.user;return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",o)),{data:{user:l,session:o},error:null}}catch(e){if(eM(e))return{data:{user:null,session:null},error:e};throw e}}async signInWithPassword(e){try{let t;if("email"in e){let{email:r,password:n,options:i}=e;t=await td(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:r,password:n,gotrue_meta_security:{captcha_token:null==i?void 0:i.captchaToken}},xform:tp})}else if("phone"in e){let{phone:r,password:n,options:i}=e;t=await td(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:r,password:n,gotrue_meta_security:{captcha_token:null==i?void 0:i.captchaToken}},xform:tp})}else throw new eq("You must provide either an email or phone number and a password");let{data:r,error:n}=t;if(n)return{data:{user:null,session:null},error:n};if(!r||!r.session||!r.user)return{data:{user:null,session:null},error:new eB};return r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),{data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:n}}catch(e){if(eM(e))return{data:{user:null,session:null},error:e};throw e}}async signInWithOAuth(e){var t,r,n,i;return await this._handleProviderSignIn(e.provider,{redirectTo:null==(t=e.options)?void 0:t.redirectTo,scopes:null==(r=e.options)?void 0:r.scopes,queryParams:null==(n=e.options)?void 0:n.queryParams,skipBrowserRedirect:null==(i=e.options)?void 0:i.skipBrowserRedirect})}async exchangeCodeForSession(e){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(e))}async signInWithWeb3(e){let{chain:t}=e;if("solana"===t)return await this.signInWithSolana(e);throw Error(`@supabase/auth-js: Unsupported chain "${t}"`)}async signInWithSolana(e){var t,r,n,i,s,a,o,l,u,c,d,h,f;let p,m;if("message"in e)p=e.message,m=e.signature;else{let d,{chain:h,wallet:f,statement:g,options:y}=e;if(eQ())if("object"==typeof f)d=f;else{let e=window;if("solana"in e&&"object"==typeof e.solana&&("signIn"in e.solana&&"function"==typeof e.solana.signIn||"sign
6Message"in e.solana&&"function"==typeof e.solana.signMessage))d=e.solana;else throw Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if("object"!=typeof f||!(null==y?void 0:y.url))throw Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");d=f}let b=new URL(null!=(t=null==y?void 0:y.url)?t:window.location.href);if("signIn"in d&&d.signIn){let e,t=await d.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},null==y?void 0:y.signInWithSolana),{version:"1",domain:b.host,uri:b.href}),g?{statement:g}:null));if(Array.isArray(t)&&t[0]&&"object"==typeof t[0])e=t[0];else if(t&&"object"==typeof t&&"signedMessage"in t&&"signature"in t)e=t;else throw Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in e&&"signature"in e&&("string"==typeof e.signedMessage||e.signedMessage instanceof Uint8Array)&&e.signature instanceof Uint8Array)p="string"==typeof e.signedMessage?e.signedMessage:new TextDecoder().decode(e.signedMessage),m=e.signature;else throw Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in d)||"function"!=typeof d.signMessage||!("publicKey"in d)||"object"!=typeof d||!d.publicKey||!("toBase58"in d.publicKey)||"function"!=typeof d.publicKey.toBase58)throw Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");p=[`${b.host} wants you to sign in with your Solana account:`,d.publicKey.toBase58(),...g?["",g,""]:[""],"Version: 1",`URI: ${b.href}`,`Issued At: ${null!=(n=null==(r=null==y?void 0:y.signInWithSolana)?void 0:r.issuedAt)?n:new Date().toISOString()}`,...(null==(i=null==y?void 0:y.signInWithSolana)?void 0:i.notBefore)?[`Not Before: ${y.signInWithSolana.notBefore}`]:[],...(null==(s=null==y?void 0:y.signInWithSolana)?void 0:s.expirationTime)?[`Expiration Time: ${y.signInWithSolana.expirationTime}`]:[],...(null==(a=null==y?void 0:y.signInWithSolana)?void 0:a.chainId)?[`Chain ID: ${y.signInWithSolana.chainId}`]:[],...(null==(o=null==y?void 0:y.signInWithSolana)?void 0:o.nonce)?[`Nonce: ${y.signInWithSolana.nonce}`]:[],...(null==(l=null==y?void 0:y.signInWithSolana)?void 0:l.requestId)?[`Request ID: ${y.signInWithSolana.requestId}`]:[],...(null==(c=null==(u=null==y?void 0:y.signInWithSolana)?void 0:u.resources)?void 0:c.length)?["Resources",...y.signInWithSolana.resources.map(e=>`- ${e}`)]:[]].join("\n");let e=await d.signMessage(new TextEncoder().encode(p),"utf8");if(!e||!(e instanceof Uint8Array))throw Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");m=e}}try{let t,r,n,{data:i,error:s}=await td(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:p,signature:(f=m,t=[],r={queue:0,queuedBits:0},n=e=>{t.push(e)},f.forEach(e=>eK(e,r,n)),eK(null,r,n),t.join(""))},(null==(d=e.options)?void 0:d.captchaToken)?{gotrue_meta_security:{captcha_token:null==(h=e.options)?void 0:h.captchaToken}}:null),xform:tf});if(s)throw s;if(!i||!i.session||!i.user)return{data:{user:null,session:null},error:new eB};return i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",i.session)),{data:Object.assign({},i),error:s}}catch(e){if(eM(e))return{data:{user:null,session:null},error:e};throw e}}async _exchangeCodeForSession(e){let t=await e3(this.storage,`${this.storageKey}-code-verifier`),[r,n]=(null!=t?t:"").split("/");try{let{data:t,error:i}=await td(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:e,code_verifier:r},xform:tf});if(await e5(this.storage,`${this.storageKey}-code-verifier`),i)throw i;if(!t||!t.session||!t.user)return{data:{user:null,session:null,redirectType:null},error:new eB};return t.session&&(await this._saveSession(t.session),await this._notifyAllSubscribers("SIGNED_IN",t.session)),{data:Object.assign(Object.assign({},t),{redirectType:null!=n?n:null}),error:i}}catch(e){if(eM(e))return{data:{user:null,session:null,redirectType:null},error:e};throw e}}async signInWithIdToken(e){try{let{options:t,provider:r,token:n,access_token:i,nonce:s}=e,{data:a,error:o}=await td(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:n,access_token:i,nonce:s,gotrue_meta_security:{captcha_token:null==t?void 0:t.captchaToken}},xform:tf});if(o)return{data:{user:null,session:null},error:o};if(!a||!a.session||!a.user)return{data:{user:null,session:null},error:new eB};return a.session&&(await this._saveSession(a.session),await this._notifyAllSubscribers("SIGNED_IN",a.session)),{data:a,error:o}}catch(e){if(eM(e))return{data:{user:null,session:null},error:e};throw e}}async signInWithOtp(e){var t,r,n,i,s;try{if("email"in e){let{email:n,options:i}=e,s=null,a=null;"pkce"===this.flowType&&([s,a]=await tt(this.storage,this.storageKey));let{error:o}=await td(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:n,data:null!=(t=null==i?void 0:i.data)?t:{},create_user:null==(r=null==i?void 0:i.shouldCreateUser)||r,gotrue_meta_security:{captcha_token:null==i?void 0:i.captchaToken},code_challenge:s,code_challenge_method:a},redirectTo:null==i?void 0:i.emailRedirectTo});return{data:{user:null,session:null},error:o}}if("phone"in e){let{phone:t,options:r}=e,{data:a,error:o}=await td(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:t,data:null!=(n=null==r?void 0:r.data)?n:{},create_user:null==(i=null==r?void 0:r.shouldCreateUser)||i,gotrue_meta_security:{captcha_token:null==r?void 0:r.captchaToken},channel:null!=(s=null==r?void 0:r.channel)?s:"sms"}});return{data:{user:null,session:null,messageId:null==a?void 0:a.message_id},error:o}}throw new eq("You must provide either an email or phone number.")}catch(e){if(eM(e))return{data:{user:null,session:null},error:e};throw e}}async verifyOtp(e){var t,r;try{let n,i;"options"in e&&(n=null==(t=e.options)?void 0:t.redirectTo,i=null==(r=e.options)?void 0:r.captchaToken);let{data:s,error:a}=await td(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},e),{gotrue_meta_security:{captcha_token:i}}),redirectTo:n,xform:tf});if(a)throw a;if(!s)throw Error("An error occurred on token verification.");let o=s.session,l=s.user;return(null==o?void 0:o.access_token)&&(await this._saveSession(o),await this._notifyAllSubscribers("recovery"==e.type?"PASSWORD_RECOVERY":"SIGNED_IN",o)),{data:{user:l,session:o},error:null}}catch(e){if(eM(e))return{data:{user:null,session:null},error:e};throw e}}async signInWithSSO(e){var t,r,n;try{let i=null,s=null;return"pkce"===this.flowType&&([i,s]=await tt(this.storage,this.storageKey)),await td(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in e?{provider_id:e.providerId}:null),"domain"in e?{domain:e.domain}:null),{redirect_to:null!=(r=null==(t=e.options)?void 0:t.redirectTo)?r:void 0}),(null==(n=null==e?void 0:e.options)?void 0:n.captchaToken)?{gotrue_meta_security:{captcha_token:e.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:i,code_challenge_method:s}),headers:this.headers,xform:tg})}catch(e){if(eM(e))return{data:null,error:e};throw e}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async e=>{let{data:{session:t},error:r}=e;if(r)throw r;if(!t)throw new eD;let{error:n}=await td(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:t.access_token});return{data:{user:null,session:null},error:n}})}catch(e){if(eM(e))return{data:{user:null,session:null},error:e};throw e}}async resend(e){try{let t=`${this.url}/resend`;if("email"in e){let{email:r,type:n,options:i}=e,{error:s}=await td(this.fetch,"POST",t,{headers:this.headers,body:{email:r,type:n,gotrue_meta_security:{captcha_token:null==i?void 0:i.captchaToken}},redirectTo:null==i?void 0:i.emailRedirectTo});return{data:{user:null,session:null},error:s}}if("phone"in e){let{phone:r,type:n,options:i}=e,{data:s,error:a}=await td(this.fetch,"POST",t,{headers:this.headers,body:{phone:r,type:n,gotrue_meta_security:{captcha_token:null==i?void 0:i.captchaToken}}});return{data:{user:null,session:null,messageId:null==s?void 0:s.message_id},error:a}}throw new eq("You must provide either an email or phone number and a type")}catch(e){if(eM(e))return{data:{user:null,session:null},error:e};throw e}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,async()=>this._useSession(async e=>e))}async _acquireLock(e,t){this._debug("#_acquireLock","begin",e);try{if(this.lockAcquired){let e=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),r=(async()=>(await e,await t()))();return this.pendingInLock.push((async()=>{try{await r}catch(e){}})()),r}return await this.lock(`lock:${this.storageKey}`,e,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;let e=t();for(this.pendingInLock.push((async()=>{try{await e}catch(e){}})()),await e;this.pendingInLock.length;){let e=[...this.pendingInLock];await Promise.all(e),this.pendingInLock.splice(0,e.length)}return await e}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(e){this._debug("#_useSession","begin");try{let t=await this.__loadSession();return await e(t)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",Error().stack);try{let e=null,t=await e3(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",t),null!==t&&(this._isValidSession(t)?e=t:(this._debug("#getSession()","session from storage is not val
6id"),await this._removeSession())),!e)return{data:{session:null},error:null};let r=!!e.expires_at&&1e3*e.expires_at-Date.now()<9e4;if(this._debug("#__loadSession()",`session has${r?"":" not"} expired`,"expires_at",e.expires_at),!r){if(this.userStorage){let t=await e3(this.userStorage,this.storageKey+"-user");(null==t?void 0:t.user)?e.user=t.user:e.user=ts()}if(this.storage.isServer&&e.user){let t=this.suppressGetSessionWarning;e=new Proxy(e,{get:(e,r,n)=>(t||"user"!==r||(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),t=!0,this.suppressGetSessionWarning=!0),Reflect.get(e,r,n))})}return{data:{session:e},error:null}}let{session:n,error:i}=await this._callRefreshToken(e.refresh_token);if(i)return{data:{session:null},error:i};return{data:{session:n},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(e){return e?await this._getUser(e):(await this.initializePromise,await this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(e){try{if(e)return await td(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:e,xform:tm});return await this._useSession(async e=>{var t,r,n;let{data:i,error:s}=e;if(s)throw s;return(null==(t=i.session)?void 0:t.access_token)||this.hasCustomAuthorizationHeader?await td(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:null!=(n=null==(r=i.session)?void 0:r.access_token)?n:void 0,xform:tm}):{data:{user:null},error:new eD}})}catch(e){if(eM(e))return eM(e)&&"AuthSessionMissingError"===e.name&&(await this._removeSession(),await e5(this.storage,`${this.storageKey}-code-verifier`)),{data:{user:null},error:e};throw e}}async updateUser(e,t={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(e,t))}async _updateUser(e,t={}){try{return await this._useSession(async r=>{let{data:n,error:i}=r;if(i)throw i;if(!n.session)throw new eD;let s=n.session,a=null,o=null;"pkce"===this.flowType&&null!=e.email&&([a,o]=await tt(this.storage,this.storageKey));let{data:l,error:u}=await td(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:null==t?void 0:t.emailRedirectTo,body:Object.assign(Object.assign({},e),{code_challenge:a,code_challenge_method:o}),jwt:s.access_token,xform:tm});if(u)throw u;return s.user=l.user,await this._saveSession(s),await this._notifyAllSubscribers("USER_UPDATED",s),{data:{user:s.user},error:null}})}catch(e){if(eM(e))return{data:{user:null},error:e};throw e}}async setSession(e){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(e))}async _setSession(e){try{if(!e.access_token||!e.refresh_token)throw new eD;let t=Date.now()/1e3,r=t,n=!0,i=null,{payload:s}=e6(e.access_token);if(s.exp&&(n=(r=s.exp)<=t),n){let{session:t,error:r}=await this._callRefreshToken(e.refresh_token);if(r)return{data:{user:null,session:null},error:r};if(!t)return{data:{user:null,session:null},error:null};i=t}else{let{data:n,error:s}=await this._getUser(e.access_token);if(s)throw s;i={access_token:e.access_token,refresh_token:e.refresh_token,user:n.user,token_type:"bearer",expires_in:r-t,expires_at:r},await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)}return{data:{user:i.user,session:i},error:null}}catch(e){if(eM(e))return{data:{session:null,user:null},error:e};throw e}}async refreshSession(e){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(e))}async _refreshSession(e){try{return await this._useSession(async t=>{var r;if(!e){let{data:n,error:i}=t;if(i)throw i;e=null!=(r=n.session)?r:void 0}if(!(null==e?void 0:e.refresh_token))throw new eD;let{session:n,error:i}=await this._callRefreshToken(e.refresh_token);return i?{data:{user:null,session:null},error:i}:n?{data:{user:n.user,session:n},error:null}:{data:{user:null,session:null},error:null}})}catch(e){if(eM(e))return{data:{user:null,session:null},error:e};throw e}}async _getSessionFromURL(e,t){try{if(!eQ())throw new e$("No browser detected.");
6if(e.error||e.error_description||e.error_code)throw new e$(e.error_description||"Error in URL with unspecified error_description",{error:e.error||"unspecified_error",code:e.error_code||"unspecified_code"});switch(t){case"implicit":if("pkce"===this.flowType)throw new eW("Not a valid PKCE flow url.");break;case"pkce":if("implicit"===this.flowType)throw new e$("Not a valid implicit grant flow url.")}if("pkce"===t){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!e.code)throw new eW("No code detected.");let{data:t,error:r}=await this._exchangeCodeForSession(e.code);if(r)throw r;let n=new URL(window.location.href);return n.searchParams.delete("code"),window.history.replaceState(window.history.state,"",n.toString()),{data:{session:t.session,redirectType:null},error:null}}let{provider_token:r,provider_refresh_token:n,access_token:i,refresh_token:s,expires_in:a,expires_at:o,token_type:l}=e;if(!i||!a||!s||!l)throw new e$("No session defined in URL");let u=Math.round(Date.now()/1e3),c=parseInt(a),d=u+c;o&&(d=parseInt(o));let h=d-u;1e3*h<=3e4&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${h}s, should have been closer to ${c}s`);let f=d-c;u-f>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",f,d,u):u-f<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",f,d,u);let{data:p,error:m}=await this._getUser(i);if(m)throw m;let g={provider_token:r,provider_refresh_token:n,access_token:i,expires_in:c,expires_at:d,refresh_token:s,token_type:l,user:p.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:g,redirectType:e.type},error:null}}catch(e){if(eM(e))return{data:{session:null,redirectType:null},error:e};throw e}}_isImplicitGrantCallback(e){return!!(e.access_token||e.error_description)}async _isPKCECallback(e){let t=await e3(this.storage,`${this.storageKey}-code-verifier`);return!!(e.code&&t)}async signOut(e={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(e))}async _signOut({scope:e}={scope:"global"}){return await this._useSession(async t=>{var r;let{data:n,error:i}=t;if(i)return{error:i};let s=null==(r=n.session)?void 0:r.access_token;if(s){let{error:t}=await this.admin.signOut(s,e);if(t&&!(eM(t)&&"AuthApiError"===t.name&&(404===t.status||401===t.status||403===t.status)))return{error:t}}return"others"!==e&&(await this._removeSession(),await e5(this.storage,`${this.storageKey}-code-verifier`)),{error:null}})}onAuthStateChange(e){let t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}),r={id:t,callback:e,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",t),this.stateChangeEmitters.delete(t)}};return this._debug("#onAuthStateChange()","registered callback with id",t),this.stateChangeEmitters.set(t,r),(async()=>{await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(t)})})(),{data:{subscription:r}}}async _emitInitialSession(e){return await this._useSession(async t=>{var r,n;try{let{data:{session:n},error:i}=t;if(i)throw i;await (null==(r=this.stateChangeEmitters.get(e))?void 0:r.callback("INITIAL_SESSION",n)),this._debug("INITIAL_SESSION","callback id",e,"session",n)}catch(t){await (null==(n=this.stateChangeEmitters.get(e))?void 0:n.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",e,"error",t),console.error(t)}})}async resetPasswordForEmail(e,t={}){let r=null,n=null;"pkce"===this.flowType&&([r,n]=await tt(this.storage,this.storageKey,!0));try{return await td(this.fetch,"POST",`${this.url}/recover`,{body:{email:e,code_challenge:r,code_challenge_method:n,gotrue_meta_security:{captcha_token:t.captchaToken}},headers:this.headers,redirectTo:t.redirectTo})}catch(e){if(eM(e))return{data:null,error:e};throw e}}async getUserIdentities(){var e;try{let{data:t,error:r}=await this.getUser();if(r)throw r;return{data:{identities:null!=(e=t.user.identities)?e:[]},error:null}}catch(e){if(eM(e))return{data:null,error:e};throw e}}async linkIdentity(e){var t;try{let{data:r,error:n}=await this._useSession(async t=>{var r,n,i,s,a;let{data:o,error:l}=t;if(l)throw l;let u=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,e.provider,{redirectTo:null==(r=e.options)?void 0:r.redirectTo,scopes:null==(n=e.options)?void 0:n.scopes,queryParams:null==(i=e.options)?void 0:i.queryParams,skipBrowserRedirect:!0});return await td(this.fetch,"GET",u,{headers:this.headers,jwt:null!=(a=null==(s=o.session)?void 0:s.access_token)?a:void 0})});if(n)throw n;return!eQ()||(null==(t=e.options)?void 0:t.skipBrowserRedirect)||window.location.assign(null==r?void 0:r.url),{data:{provider:e.provider,url:null==r?void 0:r.url},error:null}}catch(t){if(eM(t))return{data:{provider:e.provider,url:null},error:t};throw t}}async unlinkIdentity(e){try{return await this._useSession(async t=>{var r,n;let{data:i,error:s}=t;if(s)throw s;
6return await td(this.fetch,"DELETE",`${this.url}/user/identities/${e.identity_id}`,{headers:this.headers,jwt:null!=(n=null==(r=i.session)?void 0:r.access_token)?n:void 0})})}catch(e){if(eM(e))return{data:null,error:e};throw e}}async _refreshAccessToken(e){let t=`#_refreshAccessToken(${e.substring(0,5)}...)`;this._debug(t,"begin");try{var r,n;let i=Date.now();return await (r=async r=>(r>0&&await e8(200*Math.pow(2,r-1)),this._debug(t,"refreshing attempt",r),await td(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:e},headers:this.headers,xform:tf})),n=(e,t)=>{let r=200*Math.pow(2,e);return t&&eH(t)&&Date.now()+r-i<3e4},new Promise((e,t)=>{(async()=>{for(let i=0;i<1/0;i++)try{let t=await r(i);if(!n(i,null,t))return void e(t)}catch(e){if(!n(i,e))return void t(e)}})()}))}catch(e){if(this._debug(t,"error",e),eM(e))return{data:{session:null,user:null},error:e};throw e}finally{this._debug(t,"end")}}_isValidSession(e){return"object"==typeof e&&null!==e&&"access_token"in e&&"refresh_token"in e&&"expires_at"in e}async _handleProviderSignIn(e,t){let r=await this._getUrlForProvider(`${this.url}/authorize`,e,{redirectTo:t.redirectTo,scopes:t.scopes,queryParams:t.queryParams});return this._debug("#_handleProviderSignIn()","provider",e,"options",t,"url",r),eQ()&&!t.skipBrowserRedirect&&window.location.assign(r),{data:{provider:e,url:r},error:null}}async _recoverAndRefresh(){var e,t;let r="#_recoverAndRefresh()";this._debug(r,"begin");try{let n=await e3(this.storage,this.storageKey);if(n&&this.userStorage){let t=await e3(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!t&&(t={user:n.user},await e2(this.userStorage,this.storageKey+"-user",t)),n.user=null!=(e=null==t?void 0:t.user)?e:ts()}else if(n&&!n.user&&!n.user){let e=await e3(this.storage,this.storageKey+"-user");e&&(null==e?void 0:e.user)?(n.user=e.user,await e5(this.storage,this.storageKey+"-user"),await e2(this.storage,this.storageKey,n)):n.user=ts()}if(this._debug(r,"session from storage",n),!this._isValidSession(n)){this._debug(r,"session is not valid"),null!==n&&await this._removeSession();return}let i=(null!=(t=n.expires_at)?t:1/0)*1e3-Date.now()<9e4;if(this._debug(r,`session has${i?"":" not"} expired with margin of 90000s`),i){if(this.autoRefreshToken&&n.refresh_token){let{error:e}=await this._callRefreshToken(n.refresh_token);e&&(console.error(e),eH(e)||(this._debug(r,"refresh failed with a non-retryable error, removing the session",e),await this._removeSession()))}}else if(n.user&&!0===n.user.__isUserNotAvailableProxy)try{let{data:e,error:t}=await this._getUser(n.access_token);!t&&(null==e?void 0:e.user)?(n.user=e.user,await this._saveSession(n),await this._notifyAllSubscribers("SIGNED_IN",n)):this._debug(r,"could not get user data, skipping SIGNED_IN notification")}catch(e){console.error("Error getting user data:",e),this._debug(r,"error getting user data, skipping SIGNED_IN notification",e)}else await this._notifyAllSubscribers("SIGNED_IN",n)}catch(e){this._debug(r,"error",e),console.error(e);return}finally{this._debug(r,"end")}}async _callRefreshToken(e){var t,r;if(!e)throw new eD;if(this.refreshingDeferred)return this.refreshingDeferred.promise;let n=`#_callRefreshToken(${e.substring(0,5)}...)`;this._debug(n,"begin");try{this.refreshingDeferred=new e4;let{data:t,error:r}=await this._refreshAccessToken(e);if(r)throw r;if(!t.session)throw new eD;await this._saveSession(t.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",t.session);let n={session:t.session,error:null};return this.refreshingDeferred.resolve(n),n}catch(e){if(this._debug(n,"error",e),eM(e)){let r={session:null,error:e};return eH(e)||await this._removeSession(),null==(t=this.refreshingDeferred)||t.resolve(r),r}throw null==(r=this.refreshingDeferred)||r.reject(e),e}finally{this.refreshingDeferred=null,this._debug(n,"end")}}async _notifyAllSubscribers(e,t,r=!0){let n=`#_notifyAllSubscribers(${e})`;this._debug(n,"begin",t,`broadcast = ${r}`);try{this.broadcastChannel&&r&&this.broadcastChannel.postMessage({event:e,session:t});let n=[],i=Array.from(this.stateChangeEmitters.values()).map(async r=>{try{await r.callback(e,t)}catch(e){n.push(e)}});if(await Promise.all(i),n.length>0){for(let e=0;e<n.length;e+=1)console.error(n[e]);throw n[0]}}finally{this._debug(n,"end")}}async _saveSession(e){this._debug("#_saveSession()",e),this.suppressGetSessionWarning=!0;let t=Object.assign({},e),r=t.user&&!0===t.user.__isUserNotAvailableProxy;if(this.userStorage){!r&&t.user&&await e2(this.userStorage,this.storageKey+"-user",{user:t.user});let e=Object.assign({},t);delete e.user;let n=ta(e);await e2(this.storage,this.storageKey,n)}else{let e=ta(t);await e2(this.storage,this.storageKey,e)}}async _removeSession(){this._debug("#_removeSession()"),await e5(this.storage,this.storageKey),await e5(this.storage,this.storageKey+"-code-verifier"),await e5(this.storage,this.storageKey+"-user"),this.userStorage&&await e5(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");let e=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{e&&eQ()&&(null==window?void 0:window.removeEventListener)&&window.removeEventListener("visibilitychange",e)}
6catch(e){console.error("removing visibilitychange callback failed",e)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");let e=setInterval(()=>this._autoRefreshTokenTick(),3e4);this.autoRefreshTicker=e,e&&"object"==typeof e&&"function"==typeof e.unref?e.unref():"undefined"!=typeof Deno&&"function"==typeof Deno.unrefTimer&&Deno.unrefTimer(e),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");let e=this.autoRefreshTicker;this.autoRefreshTicker=null,e&&clearInterval(e)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{let e=Date.now();try{return await this._useSession(async t=>{let{data:{session:r}}=t;if(!r||!r.refresh_token||!r.expires_at)return void this._debug("#_autoRefreshTokenTick()","no session");let n=Math.floor((1e3*r.expires_at-e)/3e4);this._debug("#_autoRefreshTokenTick()",`access token expires in ${n} ticks, a tick lasts 30000ms, refresh threshold is 3 ticks`),n<=3&&await this._callRefreshToken(r.refresh_token)})}catch(e){console.error("Auto refresh tick failed with error. This is likely a transient error.",e)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(e){if(e.isAcquireTimeout||e instanceof tS)this._debug("auto refresh token tick lock not available");else throw e}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!eQ()||!(null==window?void 0:window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),null==window||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(e){console.error("_handleVisibilityChange",e)}}async _onVisibilityChanged(e){let t=`#_onVisibilityChanged(${e})`;this._debug(t,"visibilityState",document.visibilityState),"visible"===document.visibilityState?(this.autoRefreshToken&&this._startAutoRefresh(),e||(await this.initializePromise,await this._acquireLock(-1,async()=>{"visible"!==document.visibilityState?this._debug(t,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting"):await this._recoverAndRefresh()}))):"hidden"===document.visibilityState&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(e,t,r){let n=[`provider=${encodeURIComponent(t)}`];if((null==r?void 0:r.redirectTo)&&n.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),(null==r?void 0:r.scopes)&&n.push(`scopes=${encodeURIComponent(r.scopes)}`),"pkce"===this.flowType){let[e,t]=await tt(this.storage,this.storageKey),r=new URLSearchParams({code_challenge:`${encodeURIComponent(e)}`,code_challenge_method:`${encodeURIComponent(t)}`});n.push(r.toString())}if(null==r?void 0:r.queryParams){let e=new URLSearchParams(r.queryParams);n.push(e.toString())}return(null==r?void 0:r.skipBrowserRedirect)&&n.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${e}?${n.join("&")}`}async _unenroll(e){try{return await this._useSession(async t=>{var r;let{data:n,error:i}=t;return i?{data:null,error:i}:await td(this.fetch,"DELETE",`${this.url}/factors/${e.factorId}`,{headers:this.headers,jwt:null==(r=null==n?void 0:n.session)?void 0:r.access_token})})}catch(e){if(eM(e))return{data:null,error:e};throw e}}async _enroll(e){try{return await this._useSession(async t=>{var r,n;let{data:i,error:s}=t;if(s)return{data:null,error:s};let a=Object.assign({friendly_name:e.friendlyName,factor_type:e.factorType},"phone"===e.factorType?{phone:e.phone}:{issuer:e.issuer}),{data:o,error:l}=await td(this.fetch,"POST",`${this.url}/factors`,{body:a,headers:this.headers,jwt:null==(r=null==i?void 0:i.session)?void 0:r.access_token});return l?{data:null,error:l}:("totp"===e.factorType&&(null==(n=null==o?void 0:o.totp)?void 0:n.qr_code)&&(o.totp.qr_code=`data:image/svg+xml;utf-8,${o.totp.qr_code}`),{data:o,error:null})})}catch(e){if(eM(e))return{data:null,error:e};throw e}}async _verify(e){return this._acquireLock(-1,async()=>{try{return await this._useSession(async t=>{var r;let{data:n,error:i}=t;if(i)return{data:null,error:i};let{data:s,error:a}=await td(this.fetch,"POST",`${this.url}/factors/${e.factorId}/verify`,{body:{code:e.code,challenge_id:e.challengeId},headers:this.headers,jwt:null==(r=null==n?void 0:n.session)?void 0:r.access_token});return a?{data:null,error:a}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+s.expires_in},s)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",s),{data:s,error:a})})}catch(e){if(eM(e))return{data:null,error:e};throw e}})}async _challenge(e){return this._acquireLock(-1,async()=>{try{return await this._useSession(async t=>{var r;let{data:n,error:i}=t;return i?{data:null,error:i}:await td(this.fetch,"POST",`${this.url}/factors/${e.factorId}/challenge`,{body:{channel:e.channel},headers:this.headers,jwt:null==(r=null==n?void 0:n.session)?void 0:r.access_token})})}catch(e){if(eM(e))return{data:null,error:e};throw e}})}async _challengeAndVerify(e){let{data:t,error:r}=await this._challenge({factorId:e.factorId});return r?{data:null,error:r}:await this._verify({factorId:e.factorId,challengeId:t.id,code:e.code})}async _listFactors(){let{data:{user:e},error:t}=await this.getUser();if(t)return{data:null,error:t};let r=(null==e?void 0:e.factors)||[],n=r.filter(e=>"totp"===e.factor_type&&"verified"===e.status),i=r.filter(e=>"phone"===e.factor_type&&"verified"===e.status);return{data:{all:r,totp:n,phone:i},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,async()=>await this._useSession(async e=>{var t,r;let{data:{session:n},error:i}=e;if(i)return{data:null,error:i};if(!n)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};let{payload:s}=e6(n.access_token),a=null;s.aal&&(a=s.aal);let o=a;return(null!=(r=null==(t=n.user.factors)?void 0:t.filter(e=>"verified"===e.status))?r:[]).length>0&&(o="aal2"),{data:{currentLevel:a,nextLevel:o,currentAuthenticationMethods:s.amr||[]},error:null}}))}async fetchJwk(e,t={keys:[]}){let r=t.keys.find(t=>t.kid===e);if(r)return r;let n=Date.now();if((r=this.jwks.keys.find(t=>t.kid===e))&&this.jwks_cached_at+6e5>n)return r;let{data:i,error:s}=await td(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(s)throw s;return i.keys&&0!==i.keys.length&&(this.jwks=i,this.jwks_cached_at=n,r=i.keys.find(t=>t.kid===e))?r:null}async getClaims(e,t={}){try{var r;let n,i=e;if(!i){let{data:e,error:t}
6=await this.getSession();if(t||!e.session)return{data:null,error:t};i=e.session.access_token}let{header:s,payload:a,signature:o,raw:{header:l,payload:u}}=e6(i);(null==t?void 0:t.allowExpired)||function(e){if(!e)throw Error("Missing exp claim");if(e<=Math.floor(Date.now()/1e3))throw Error("JWT has expired")}(a.exp);let c=!s.alg||s.alg.startsWith("HS")||!s.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(s.kid,(null==t?void 0:t.keys)?{keys:t.keys}:null==t?void 0:t.jwks);if(!c){let{error:e}=await this.getUser(i);if(e)throw e;return{data:{claims:a,header:s,signature:o},error:null}}let d=function(e){switch(e){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw Error("Invalid alg claim")}}(s.alg),h=await crypto.subtle.importKey("jwk",c,d,!0,["verify"]);if(!await crypto.subtle.verify(d,h,o,(r=`${l}.${u}`,n=[],!function(e,t){for(let r=0;r<e.length;r+=1){let n=e.charCodeAt(r);if(n>55295&&n<=56319){let t=(n-55296)*1024&65535;n=(e.charCodeAt(r+1)-56320&65535|t)+65536,r+=1}!function(e,t){if(e<=127)return t(e);if(e<=2047){t(192|e>>6),t(128|63&e);return}if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|63&e);return}if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|63&e);return}throw Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}(n,t)}}(r,e=>n.push(e)),new Uint8Array(n))))throw new eF("Invalid JWT signature");return{data:{claims:a,header:s,signature:o},error:null}}catch(e){if(eM(e))return{data:null,error:e};throw e}}}tL.nextInstanceID=0;let tA=tL;class tI extends tA{constructor(e){super(e)}}class tM{constructor(e,t,r){var n,i,s;if(this.supabaseUrl=e,this.supabaseKey=t,!e)throw Error("supabaseUrl is required.");if(!t)throw Error("supabaseKey is required.");const a=new URL(function(e){return e.endsWith("/")?e:e+"/"}(e));this.realtimeUrl=new URL("realtime/v1",a),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",a),this.storageUrl=new URL("storage/v1",a),this.functionsUrl=new URL("functions/v1",a);const o=`sb-${a.hostname.split(".")[0]}-auth-token`,u=function(e,t){var r,n;let{db:i,auth:s,realtime:a,global:o}=e,{db:l,auth:u,realtime:c,global:d}=t,h={db:Object.assign(Object.assign({},l),i),auth:Object.assign(Object.assign({},u),s),realtime:Object.assign(Object.assign({},c),a),global:Object.assign(Object.assign(Object.assign({},d),o),{headers:Object.assign(Object.assign({},null!=(r=null==d?void 0:d.headers)?r:{}),null!=(n=null==o?void 0:o.headers)?n:{})}),accessToken:()=>{var e,t,r,n;return e=this,t=void 0,n=function*(){return""},new(r=void 0,r=Promise)(function(i,s){function a(e){try{l(n.next(e))}catch(e){s(e)}}function o(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,o)}l((n=n.apply(e,t||[])).next())})}};return e.accessToken?h.accessToken=e.accessToken:delete h.accessToken,h}(null!=r?r:{},{db:ex,realtime:eE,auth:Object.assign(Object.assign({},eS),{storageKey:o}),global:e_});this.storageKey=null!=(n=u.auth.storageKey)?n:"",this.headers=null!=(i=u.global.headers)?i:{},u.accessToken?(this.accessToken=u.accessToken,this.auth=new Proxy({},{get:(e,t)=>{throw Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(t)} is not possible`)}})):this.auth=this._initSupabaseAuthClient(null!=(s=u.auth)?s:{},this.headers,u.global.fetch),this.fetch=((e,t,r)=>{let n,i=(n=r||("undefined"==typeof fetch?eT.default:fetch),(...e)=>n(...e)),s="undefined"==typeof Headers?eT.Headers:Headers;return(r,n)=>{var a,o,l,u;return a=void 0,o=void 0,l=void 0,u=function*(){var a;let o=null!=(a=yield t())?a:e,l=new s(null==n?void 0:n.headers);return l.has("apikey")||l.set("apikey",e),l.has("Authorization")||l.set("Authorization",`Bearer ${o}`),i(r,Object.assign(Object.assign({},n),{headers:l}))},new(l||(l=Promise))(function(e,t){function r(e){try{i(u.next(e))}catch(e){t(e)}}function n(e){try{i(u.throw(e))}catch(e){t(e)}}function i(t){var i;t.done?e(t.value):((i=t.value)instanceof l?i:new l(function(e){e(i)})).then(r,n)}i((u=u.apply(a,o||[])).next())})}})(t,this._getAccessToken.bind(this),u.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers,accessToken:this._getAccessToken.bind(this)},u.realtime)),this.rest=new l(new URL("rest/v1",a).href,{headers:this.headers,schema:u.db.schema,fetch:this.fetch}),u.accessToken||this._listenForAuthEvents()}get functions(){return new o(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}get storage(){return new ew(this.storageUrl.href,this.headers,this.fetch)}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,t={},r={}){return this.rest.rpc(e,t,r)}
6channel(e,t={config:{}}){return this.realtime.channel(e,t)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var e,t,r,n,i,s;return r=this,n=void 0,i=void 0,s=function*(){if(this.accessToken)return yield this.accessToken();let{data:r}=yield this.auth.getSession();return null!=(t=null==(e=r.session)?void 0:e.access_token)?t:null},new(i||(i=Promise))(function(e,t){function a(e){try{l(s.next(e))}catch(e){t(e)}}function o(e){try{l(s.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(a,o)}l((s=s.apply(r,n||[])).next())})}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:t,detectSessionInUrl:r,storage:n,storageKey:i,flowType:s,lock:a,debug:o},l,u){let c={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new tI({url:this.authUrl.href,headers:Object.assign(Object.assign({},c),l),storageKey:i,autoRefreshToken:e,persistSession:t,detectSessionInUrl:r,storage:n,flowType:s,lock:a,debug:o,fetch:u,hasCustomAuthorizationHeader:"Authorization"in this.headers})}_initRealtimeClient(e){return new Z(this.realtimeUrl.href,Object.assign(Object.assign({},e),{params:Object.assign({apikey:this.supabaseKey},null==e?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((e,t)=>{this._handleTokenChanged(e,"CLIENT",null==t?void 0:t.access_token)})}_handleTokenChanged(e,t,r){("TOKEN_REFRESHED"===e||"SIGNED_IN"===e)&&this.changedAccessToken!==r?this.changedAccessToken=r:"SIGNED_OUT"===e&&(this.realtime.setAuth(),"STORAGE"==t&&this.auth.signOut(),this.changedAccessToken=void 0)}}let tj=(e,t,r)=>new tM(e,t,r)},24782:(e,t,r)=>{"use strict";r.d(t,{b:()=>i});var n=r(40469);function i(e,t){return(0,n.k)(e,{...t,weekStartsOn:1})}},24848:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(81333).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},25898:(e,t,r)=>{"use strict";var n;r.d(t,{c:()=>c});let i={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function s(e){return (t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}let a={date:s({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:s({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:s({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return(t,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=r?.width?String(r.width):t;n=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=r?.width?String(r.width):e.defaultWidth;n=e.values[i]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function u(e){return(t,r={})=>{let n,i=r.width,s=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],a=t.match(s);if(!a)return null;let o=a[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}(l,e=>e.test(o)):function(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}(l,e=>e.test(o));return n=e.valueCallback?e.valueCallback(u):u,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(o.length)}}}let c={code:"en-US",formatDistance:(e,t,r)=>{let n,s=i[e];if(n="string"==typeof s?s:1===t?s.one:s.other.replace("{{count}}",t.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+n;else return n+" ago";return n},formatLong:a,formatRelative:(e,t,r,n)=>o[e],localize:{ordinalNumber:(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
6ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(n={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let r=e.match(n.matchPattern);if(!r)return null;let i=r[0],s=e.match(n.parsePattern);if(!s)return null;let a=n.valueCallback?n.valueCallback(s[0]):s[0];return{value:a=t.valueCallback?t.valueCallback(a):a,rest:e.slice(i.length)}}),era:u({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:u({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:u({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:u({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},28311:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},29950:(e,t,r)=>{"use strict";function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{mK:()=>n}),"undefined"!=typeof window&&window.document&&window.document.createElement},31430:(e,t,r)=>{"use strict";r.d(t,{mV:()=>e2});var n,i,s,a,o,l,u,c,d,h,f,p,m,g,y,b,v,w,k,_,x,S,E,T,O,C,P,L,A,I,M,j,N,R,D,B=class extends Error{constructor(){super("User closed dialog")}},q=class extends Error{constructor(){super("Client disconnected")}},$=class extends Error{constructor(){super("User cancelled connection")}},W=e=>{throw TypeError(e)},U=(e,t,r)=>t.has(e)||W("Cannot "+r),H=(e,t,r)=>(U(e,t,"read from private field"),r?r.call(e):t.get(e)),z=(e,t,r)=>t.has(e)?W("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),F=(e,t,r,n)=>(U(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),V=(e,t,r)=>(U(e,t,"access private method"),r),G=r(85755),Y=class{constructor(e,t,r){z(this,a),z(this,o),z(this,l),F(this,a,t),F(this,o,e),F(this,l,r)}async query(){return H(this,l).query(H(this,o))}on(e,t){return H(this,a).on(e,t)}};a=new WeakMap,o=new WeakMap,l=new WeakMap;var K=class{constructor(e,t,r){z(this,u),z(this,c),z(this,d),z(this,h),F(this,u,e),F(this,c,t),F(this,d,new Map),F(this,h,r),H(this,u).on("subscription-update",e=>{H(this,d).get(e.subscriptionId)?.emit("update",e.update)})}async query(e){return H(this,u).pod.query(H(this,c),e.schema)}async subscribe(e){let t=await H(this,u).pod.subscribe(H(this,c),e.schema),r=(0,G.G)(),n=new Y(e,r,this);return H(this,d).set(t,r),n}async insert(e){return H(this,h).add(H(this,u).pod.insert(H(this,c),e))}async delete(e){return H(this,h).add(H(this,u).pod.delete(H(this,c),e))}};u=new WeakMap,c=new WeakMap,d=new WeakMap,h=new WeakMap;var X=class{constructor(){z(this,f,new Set),z(this,p),F(this,p,e=>{H(this,f).size>0&&e.preventDefault()}),window.addEventListener("beforeunload",H(this,p))}add(e){return H(this,f).add(e),e.finally(()=>{H(this,f).delete(e)}),e}clear(){window.removeEventListener("beforeunload",H(this,p)),H(this,f).clear()}};f=new WeakMap,p=new WeakMap;var J=class{constructor(e,t,r){z(this,m),z(this,g),z(this,y),F(this,m,e),F(this,g,t),F(this,y,r)}collection(e){return new K(H(this,m),e,H(this,y))}async sign(e){return new Promise((t,r)=>{let n=H(this,g).on("close",()=>{n(),window.setTimeout(()=>r(new B),500)});
6H(this,m).pod.sign(e).then(t).catch(r)})}async signPrefixed(e){return H(this,m).pod.signPrefixed(e)}};m=new WeakMap,g=new WeakMap,y=new WeakMap;var Q=class{constructor(e,t){z(this,b),z(this,v),F(this,b,e),F(this,v,t)}async prove(e){return new Promise((t,r)=>{let n=H(this,v).on("close",()=>{n(),window.setTimeout(()=>r(new B),500)});H(this,b).gpc.prove(e).then(t).catch(r)})}async verify(e,t,r){return H(this,b).gpc.verify(e,t,r)}async verifyWithProofRequest(e,t,r,n){return H(this,b).gpc.verifyWithProofRequest(e,t,r,n)}};b=new WeakMap,v=new WeakMap;var Z=class{constructor(e){z(this,w),F(this,w,e)}async getPublicKey(){return H(this,w).getPublicKey()}async getSemaphoreV3Commitment(){return H(this,w).getSemaphoreV3Commitment()}async getSemaphoreV4Commitment(){return H(this,w).getSemaphoreV4Commitment()}};w=new WeakMap;var ee=class{constructor(e,t){z(this,k,new X),z(this,_),F(this,_,e),this.pod=new J(e,t,H(this,k)),this.identity=new Z(e.identity),this.gpc=new Q(e,t)}async disconnect(){H(this,k).clear(),H(this,_).disconnect()}};function et(e){return{lang:e?.lang??x?.lang,message:e?.message,abortEarly:e?.abortEarly??x?.abortEarly,abortPipeEarly:e?.abortPipeEarly??x?.abortPipeEarly}}function er(e){let t=typeof e;return"string"===t?`"${e}"`:"number"===t||"bigint"===t||"boolean"===t?`${e}`:"object"===t||"function"===t?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":t}function en(e,t,r,n,i){var s,a,o,l;let u=i&&"input"in i?i.input:r.value,c=i?.expected??e.expects??null,d=i?.received??er(u),h={kind:e.kind,type:e.type,input:u,expected:c,received:d,message:`Invalid ${t}: ${c?`Expected ${c} but r`:"R"}eceived ${d}`,requirement:e.requirement,path:i?.path,issues:i?.issues,lang:n.lang,abortEarly:n.abortEarly,abortPipeEarly:n.abortPipeEarly},f="schema"===e.kind,p=i?.message??e.message??(s=e.reference,a=h.lang,T?.get(s)?.get(a))??(f?(o=h.lang,E?.get(o)):null)??n.message??(l=h.lang,S?.get(l));p&&(h.message="function"==typeof p?p(h):p),f&&(r.typed=!1),r.issues?r.issues.push(h):r.issues=[h]}function ei(e,t){let r=[...new Set(e)];return r.length>1?`(${r.join(` ${t} `)})`:r[0]??"never"}k=new WeakMap,_=new WeakMap;var es=class extends Error{issues;constructor(e){super(e[0].message),this.name="ValiError",this.issues=e}};function ea(e,t){return{kind:"validation",type:"check",reference:ea,async:!1,expects:null,requirement:e,message:t,_run(e,t){return e.typed&&!this.requirement(e.value)&&en(this,"input",e,t),e}}}function eo(e){return{kind:"transformation",type:"transform",reference:eo,async:!1,operation:e,_run(e){return e.value=this.operation(e.value),e}}}function el(){return{kind:"schema",type:"any",reference:el,expects:"any",async:!1,_run:e=>(e.typed=!0,e)}}function eu(e,t){return{kind:"schema",type:"array",reference:eu,expects:"Array",async:!1,item:e,message:t,_run(e,t){let r=e.value;if(Array.isArray(r)){e.typed=!0,e.value=[];for(let n=0;n<r.length;n++){let i=r[n],s=this.item._run({typed:!1,value:i},t);if(s.issues){let a={type:"array",origin:"value",input:r,key:n,value:i};for(let t of s.issues)t.path?t.path.unshift(a):t.path=[a],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),e.value.push(s.value)}}else en(this,"type",e,t);return e}}}function ec(e){return{kind:"schema",type:"bigint",reference:ec,expects:"bigint",async:!1,message:e,_run(e,t){return"bigint"==typeof e.value?e.typed=!0:en(this,"type",e,t),e}}}function ed(e){return{kind:"schema",type:"boolean",reference:ed,expects:"boolean",async:!1,message:e,_run(e,t){return"boolean"==typeof e.value?e.typed=!0:en(this,"type",e,t),e}}}function eh(e,t){return{kind:"schema",type:"custom",reference:eh,expects:"unknown",async:!1,check:e,message:t,_run(e,t){return this.check(e.value)?e.typed=!0:en(this,"type",e,t),e}}}function ef(e,t){return{kind:"schema",type:"literal",reference:ef,expects:er(e),async:!1,literal:e,message:t,_run(e,t){return e.value===this.literal?e.typed=!0:en(this,"type",e,t),e}}}function ep(e){return{kind:"schema",type:"number",reference:ep,expects:"number",async:!1,message:e,_run(e,t){return"number"!=typeof e.value||isNaN(e.value)?en(this,"type",e,t):e.typed=!0,e}}}function em(e,t){return{kind:"schema",type:"object",reference:em,expects:"Object",async:!1,entries:e,message:t,_run(e,t){let r=e.value;if(r&&"object"==typeof r)for(let n in e.typed=!0,e.value={},this.entries){let i=r[n],s=this.entries[n]._run({typed:!1,value:i},t);if(s.issues){let a={type:"object",origin:"value",input:r,key:n,value:i};for(let t of s.issues)t.path?t.path.unshift(a):t.path=[a],e.issues?.pu
6sh(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),(void 0!==s.value||n in r)&&(e.value[n]=s.value)}else en(this,"type",e,t);return e}}}function eg(e,...t){let r={kind:"schema",type:"optional",reference:eg,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,_run(e,t){if(void 0===e.value&&("default"in this&&(e.value="function"==typeof this.default?this.default(e,t):this.default),void 0===e.value))return e.typed=!0,e;return this.wrapped._run(e,t)}};return 0 in t&&(r.default=t[0]),r}function ey(e,t,r){return{kind:"schema",type:"record",reference:ey,expects:"Object",async:!1,key:e,value:t,message:r,_run(e,t){let r=e.value;if(r&&"object"==typeof r){for(let n in e.typed=!0,e.value={},r)if(Object.hasOwn(r,n)&&"__proto__"!==n&&"prototype"!==n&&"constructor"!==n){let i=r[n],s=this.key._run({typed:!1,value:n},t);if(s.issues){let a={type:"object",origin:"key",input:r,key:n,value:i};for(let t of s.issues)t.path=[a],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}let a=this.value._run({typed:!1,value:i},t);if(a.issues){let s={type:"object",origin:"value",input:r,key:n,value:i};for(let t of a.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=a.issues),t.abortEarly){e.typed=!1;break}}s.typed&&a.typed||(e.typed=!1),s.typed&&(e.value[s.value]=a.value)}}else en(this,"type",e,t);return e}}}function eb(e){return{kind:"schema",type:"string",reference:eb,expects:"string",async:!1,message:e,_run(e,t){return"string"==typeof e.value?e.typed=!0:en(this,"type",e,t),e}}}function ev(e,t){return{kind:"schema",type:"tuple",reference:ev,expects:"Array",async:!1,items:e,message:t,_run(e,t){let r=e.value;if(Array.isArray(r)){e.typed=!0,e.value=[];for(let n=0;n<this.items.length;n++){let i=r[n],s=this.items[n]._run({typed:!1,value:i},t);if(s.issues){let a={type:"array",origin:"value",input:r,key:n,value:i};for(let t of s.issues)t.path?t.path.unshift(a):t.path=[a],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),e.value.push(s.value)}}else en(this,"type",e,t);return e}}}function ew(e){let t;if(e)for(let r of e)t?t.push(...r.issues):t=r.issues;return t}function ek(e,t){return{kind:"schema",type:"union",reference:ek,expects:ei(e.map(e=>e.expects),"|"),async:!1,options:e,message:t,_run(e,t){let r,n,i;for(let s of this.options){let a=s._run({typed:!1,value:e.value},t);if(a.typed)if(a.issues)n?n.push(a):n=[a];else{r=a;break}else i?i.push(a):i=[a]}if(r)return r;if(n){if(1===n.length)return n[0];en(this,"type",e,t,{issues:ew(n)}),e.typed=!0}else{if(i?.length===1)return i[0];en(this,"type",e,t,{issues:ew(i)})}return e}}}function e_(){return{kind:"schema",type:"unknown",reference:e_,expects:"unknown",async:!1,_run:e=>(e.typed=!0,e)}}function ex(e,t,r){return{kind:"schema",type:"variant",reference:ex,expects:"Object",async:!1,key:e,options:t,message:r,_run(e,t){let r=e.value;if(r&&"object"==typeof r){let n,i=0,s=this.key,a=[],o=(e,l)=>{for(let u of e.options){if("variant"===u.type)o(u,new Set(l).add(u.key));else{let e=!0,o=0;for(let n of l){if(u.entries[n]._run({typed:!1,value:r[n]},t).issues){e=!1,s!==n&&(i<o||i===o&&n in r&&!(s in r))&&(i=o,s=n,a=[]),s===n&&a.push(u.entries[n].expects);break}o++}if(e){let e=u._run({typed:!1,value:r},t);n&&(n.typed||!e.typed)||(n=e)}}if(n&&!n.issues)break}};if(o(this,new Set([this.key])),n)return n;en(this,"type",e,t,{input:r[s],expected:ei(a,"|"),path:[{type:"object",origin:"value",input:r,key:s,value:r[s]}]})}else en(this,"type",e,t);return e}}}function eS(e){return{kind:"schema",type:"void",reference:eS,expects:"void",async:!1,message:e,_run(e,t){return void 0===e.value?e.typed=!0:en(this,"type",e,t),e}}}function eE(...e){return{...e[0],pipe:e,_run(t,r){for(let n of e)if("metadata"!==n.kind){if(t.issues&&("schema"===n.kind||"transformation"===n.kind)){t.typed=!1;break}t.issues&&(r.abortEarly||r.abortPipeEarly)||(t=n._run(t,r))}return t}}}function eT(e,t,r){let n=e._run({typed:!1,value:t},et(r));return{typed:n.typed,success:!n.issues,output:n.value,issues:n.issues}}var eO=ex("type",[em({type:ef("string"),value:eb()}),em({type:ef("int"),value:ec()}),em({type:ef("cryptographic"),value:ec()}),em({type:ef("eddsa_pubkey"),value:eb()}),em({type:ef("boolean"),value:ed()}),em({type:ef("date"),value:function e(t){return{kind:"schema",type:"date",reference:e,expects:"Date",async:!1,message:t,_run(e,t){return e.value instanceof Date?isNaN(e.value)?en(this,"type",e,t,{received:'"Invalid Date"'}):e.typed=!0:en(this,"type",e,t),e}}}()}),em({type:ef("bytes"),value:function e(t,r){return{kind:"schema",type:"instance",reference:e,expects:t.name,async:!1,class:t,message:r,_run(e,t){return e.value instanceof this.class?e.typed=!0:en(this,"type",e,t),e}}}(Uint8Array)}),em({type:ef("null"),value:function e(t){return{kind:"schema",type:"null",reference:e,expects:"null",async:!1,message:t,_run(e,t){return null===e.value?e.typed=!0:en(this,"type",e,t),e}}}()})]),eC=ey(eb(),eO),eP=ex("type",[em({type:ef("string"),isMemberOf:eg(eu(eO)),isNotMemberOf:eg(eu(eO)),isRevealed:eg(ed()),equalsEntry:eg(eb())}),em({type:ef("int"),isMemberOf:eg(eu(eO)),isNotMemberOf:eg(eu(eO)),isRevealed:eg(ed()),equalsEntry:eg(eb()),inRange:eg(em({min:ec(),max:ec()}))}),em({type:ef("cryptographic"),isMemberOf:eg(eu(eO)),isNotMemberOf:eg(eu(eO)),isRevealed:eg(ed()),equalsEntry:eg(eb())}),em({type:ef("eddsa_pubkey"),isMemberOf:eg(eu(eO)),isNotMemberOf:eg(eu(eO)),isRevealed:eg(ed()),equalsEntry:eg(eb())}),em({type:ef("null")}),em({type:ef("bytes"),isMemberOf:eg(eu(eO)),isNotMemberOf:eg(eu(eO))}),em({type:ef("date"),isMemberOf:eg(eu(eO)),isNotMemberOf:eg(eu(eO)),inRange:eg(em({min:ec(),max:ec()}))}),em({type:ef("boolean"),isMemberOf:eg(eu(eO)),isNotMemberOf:eg(eu(eO))})]),eL=em({type:ef("optional"),innerType:eP}),eA=ex("type",[eP,eL]),eI=em({entries:eu(eb()),isMemberOf:eg(eu(eu(eO))),isNotMemberOf:eg(eu(eu(eO)))}),eM=em({isMemberOf:eg(eu(eb())),isNotMemberOf:eg(eu(eb()))}),ej=em({isMemberOf:eg(eu(eb())),isNotMemberOf:eg(eu(eb()))}),eN=em({entries:ey(eb(),eA),tuples:eg(eu(eI)),signerPublicKey:eg(eM),signature:eg(ej),meta:eg(em({labelEntry:eb()}))}),eR=em({pod:eN,revealed:eg(ey(eb(),eg(ed()))),owner:eg(em({entry:eb(),protocol:ek([ef("SemaphoreV3"),ef("SemaphoreV4")])}))}),eD=em({pods:ey(eb(),eR),externalNullifier:eg(eO),watermark:eg(eO)}),eB=ex("success",[em({success:ef(!0),proof:eh(()=>!0),boundConfig:eh(()=>!0),revealedClaims:eh(()=>!0)}),em({success:ef(!1),error:eb()})]),eq=eb(),e$=em({request:eD,circuitIdentifier:eg(eE(eb(),ea(e=>e.includes("_")&&2===e.split("_").length),eo(e=>e))),collectionIds:eg(eu(eq))}),eW=em({entries:eC,signature:eb(),signerPublicKey:eb()}),eU={gpc:{prove:{input:ev([e$]),output:eB},canProve:{input:ev([e$]),output:ed()},verify:{input:ev([el(),el(),el()]),output:ed()},verifyWithProofRequest:{input:ev([el(),el(),el(),el()]),output:ed()}},identity:{getSemaphoreV3Commitment:{input:ev([]),output:ec()},getSemaphoreV4Commitment:{input:ev([]),output:ec()},getPublicKey:{input:ev([]),output:eb()}},pod:{query:{input:ev([eb(),eN]),output:eu(eW)},insert:{input:ev([eb(),eW]),output:eS()},delete:{input:ev([eb(),eb()]),output:eS()},subscribe:{input:ev([eb(),eN]),output:eb()},unsubscribe:{input:ev([eb()]),output:eS()},sign:{input:ev([eC]),output:eW},signPrefixed:{input:ev([eC]),output:eW}}},eH=function(e,t){let r={};for(let t in e.entries)r[t]=eg(e.entries[t]);return{...e,entries:r}}(em({READ_PUBLIC_IDENTIFIERS:em({}),SIGN_POD:em({}),REQUEST_PROOF:em({collections:eu(eb())}),READ_POD:em({collections:eu(eb())}),INSERT_POD:em({collections:eu(eb())}),DELETE_POD:em({collections:eu(eb())}),SUGGEST_PODS:em({collections:eu(eb())})})),ez=em({name:eb(),permissions:eH}),eF=((n=eF||{}).PARCNET_CLIENT_CONNECT="zupass-client-connect",n),eV=((i=eV||{}).PARCNET_CLIENT_INVOKE="zupass-client-invoke",i.PARCNET_CLIENT_INVOKE_RESULT="zupass-client-invoke-result",i.PARCNET_CLIENT_INVOKE_ERROR="zupass-client-invoke-error",i.PARCNET_CLIENT_READY="zupass-client-ready",i.PARCNET_CLIENT_CANCEL="zupass-client-cancel",i.PARCNET_CLIENT_SHOW="zupass-client-show",i.PARCNET_CLIENT_HI
6DE="zupass-client-hide",i.PARCNET_CLIENT_SUBSCRIPTION_UPDATE="zupass-client-subscription-update",i),eG=eE(eb(),ea(e=>"string"==typeof e&&(e.startsWith("gpc.")&&e.slice(4)in eU.gpc||e.startsWith("pod.")&&e.slice(4)in eU.pod||e.startsWith("identity.")&&e.slice(9)in eU.identity),"Invalid RPC method name"),eo(e=>e)),eY=ex("type",[em({type:ef("zupass-client-invoke"),serial:ep(),fn:eG,args:eu(e_())}),em({type:ef("zupass-client-invoke-result"),result:e_(),serial:ep()}),em({type:ef("zupass-client-invoke-error"),error:eb(),serial:ep(),errorType:eg(ek([ef("missing-permission")]))}),em({type:ef("zupass-client-ready")}),em({type:ef("zupass-client-cancel")}),em({type:ef("zupass-client-show")}),em({type:ef("zupass-client-hide")}),em({type:ef("zupass-client-subscription-update"),update:eu(eW),subscriptionId:eb(),subscriptionSerial:ep()})]);ex("type",[em({type:ef("zupass-client-connect"),zapp:ez})]);var eK=class{constructor(e,t){z(this,M),this._version="1",z(this,O),z(this,C),z(this,P,0),z(this,L,new Map),z(this,A),z(this,I,!1),F(this,C,e),F(this,O,t),F(this,A,(0,G.G)()),this.pod={query:async(e,t)=>V(this,M,N).call(this,"pod.query",[e,t],eU.pod.query),insert:async(e,t)=>V(this,M,N).call(this,"pod.insert",[e,t],eU.pod.insert),delete:async(e,t)=>V(this,M,N).call(this,"pod.delete",[e,t],eU.pod.delete),subscribe:async(e,t)=>V(this,M,N).call(this,"pod.subscribe",[e,t],eU.pod.subscribe),unsubscribe:async e=>V(this,M,N).call(this,"pod.unsubscribe",[e],eU.pod.unsubscribe),sign:async e=>V(this,M,N).call(this,"pod.sign",[e],eU.pod.sign),signPrefixed:async e=>V(this,M,N).call(this,"pod.signPrefixed",[e],eU.pod.signPrefixed)},this.gpc={prove:async({request:e,collectionIds:t,circuitIdentifier:r})=>V(this,M,N).call(this,"gpc.prove",[{collectionIds:t,request:e,circuitIdentifier:r}],eU.gpc.prove),canProve:async({request:e,collectionIds:t})=>V(this,M,N).call(this,"gpc.canProve",[{collectionIds:t,request:e}],eU.gpc.canProve),verify:async(e,t,r)=>V(this,M,N).call(this,"gpc.verify",[e,t,r],eU.gpc.verify),verifyWithProofRequest:async(e,t,r,n)=>V(this,M,N).call(this,"gpc.verifyWithProofRequest",[e,t,r,n],eU.gpc.verifyWithProofRequest)},this.identity={getSemaphoreV3Commitment:async()=>V(this,M,N).call(this,"identity.getSemaphoreV3Commitment",[],eU.identity.getSemaphoreV3Commitment),getSemaphoreV4Commitment:async()=>V(this,M,N).call(this,"identity.getSemaphoreV4Commitment",[],eU.identity.getSemaphoreV4Commitment),getPublicKey:async()=>V(this,M,N).call(this,"identity.getPublicKey",[],eU.identity.getPublicKey)}}start(e,t){let r=this.main(e,t);r.next(),H(this,C).addEventListener("message",e=>{let t=eT(eY,e.data);t.success?r.next(t.output):console.error("Invalid message received: ",e)}),H(this,C).start()}disconnect(){for(let[e,t]of H(this,L))t.reject(new q);H(this,C).close()}*main(e,t){for(;;){let r=yield;if(console.log(`RECEIVED ${r.type}`),r.type===eV.PARCNET_CLIENT_READY){F(this,I,!0),e();break}if(r.type===eV.PARCNET_CLIENT_SHOW)H(this,O).show();else if(r.type===eV.PARCNET_CLIENT_HIDE)H(this,O).close();else if(r.type===eV.PARCNET_CLIENT_CANCEL)return void t()}for(;;){let e=yield;console.log(`RECEIVED ${e.type}`),e.type===eV.PARCNET_CLIENT_INVOKE_RESULT?H(this,L).get(e.serial)?.resolve(e.result):e.type===eV.PARCNET_CLIENT_INVOKE_ERROR?H(this,L).get(e.serial)?.reject(Error(e.error)):e.type===eV.PARCNET_CLIENT_SHOW?H(this,O).show():e.type===eV.PARCNET_CLIENT_HIDE?H(this,O).close():e.type===eV.PARCNET_CLIENT_SUBSCRIPTION_UPDATE&&V(this,M,R).call(this,e.update,e.subscriptionId)}}on(e,t){return H(this,A).on("subscription-update",t)}isConnected(){return H(this,I)}};O=new WeakMap,C=new WeakMap,P=new WeakMap,L=new WeakMap,A=new WeakMap,I=new WeakMap,M=new WeakSet,j=function(e,t){let r,n,i,s;if(!H(this,I))throw Error("Client is not connected");return(r=this,n=P,{set _(value){F(r,n,value,i)},get _(){return H(r,n,s)}})._++,new Promise((r,n)=>{H(this,L).set(H(this,P),{resolve:r,reject:n}),H(this,C).postMessage({type:eV.PARCNET_CLIENT_INVOKE,fn:e,args:t,serial:H(this,P)})})},N=async function(e,t,r){let n=await V(this,M,j).call(this,e,function(e,t,r){let n=e._run({typed:!1,value:t},et(void 0));if(n.issues)throw new es(n.issues);return n.value}(r.input,t)),i=eT(r.output,n);if(i.success)return i.output;throw Error(`Failed to parse result for ${e}: ${i.issues.map(e=>e.message).join(", ")}`)},R=function(e,t){H(this,A).emit("subscription-update",{update:e,subscriptionId:t})};var eX=class{constructor(e){z(this,D),F(this,D,e)}show(){H(this,D).showModal()}close(){H(this,D).close("REMOTELY_CLOSED")}};function eJ(e,t){let r=new URL(t),n=(0,G.G)(),i=document.createElement("dialog");i.style.borderWidth="0px",i.style.borderRadius="16px",i.style.padding="0px",
6i.style.backgroundColor="white",i.style.overflow="hidden",i.style.width="90vw",i.style.maxWidth="600px",i.style.height="90vh",i.classList.add("parcnet-dialog"),i.addEventListener("close",e=>{e.target?.returnValue!=="REMOTELY_CLOSED"&&n.emit("close")});let s=document.createElement("style");s.textContent=`.parcnet-dialog::backdrop { 7 position: fixed; 8 top: 0px; 9 right: 0px; 10 bottom: 0px; 11 left: 0px; 12 background: rgba(0, 0, 0, 0.3);; 13 }`,i.appendChild(s);let a=document.createElement("div");a.style.width="100%",a.style.height="100%",i.appendChild(a);let o=a.attachShadow({mode:"open"});e.innerHTML="",e.appendChild(i);let l=document.createElement("iframe"),u=document.createAttribute("sandbox");return document.createAttribute("scrolling").value="no",u.value="allow-same-origin allow-scripts allow-popups allow-modals allow-forms allow-storage-access-by-user-activation allow-popups-to-escape-sandbox",l.attributes.setNamedItem(u),l.style.borderWidth="0px",l.style.width="100%",l.style.height="100%",l.src=r.toString(),new Promise((e,t)=>{l.addEventListener("load",()=>{let r=l.contentWindow;r?window.setTimeout(()=>e({iframe:r,emitter:n,dialog:i}),1e3):(t(Error("no iframe content window!")),console.error("no iframe content window!"))},{once:!0}),o.appendChild(l)})}D=new WeakMap;var eQ=r(96810),eZ=r(73154),e0=((s=e0||{}).DISCONNECTED="DISCONNECTED",s.CONNECTING="CONNECTING",s.CONNECTED="CONNECTED",s.ERROR="ERROR",s),e1=(0,eQ.createContext)(void 0);function e2({zapp:e,url:t,children:r,preload:n=!1}){return(0,eZ.jsx)(e3,{zapp:e,url:t,preload:n,children:r})}function e3({zapp:e,url:t,preload:r,children:n}){let i=(0,eQ.useRef)(null),[s,a]=(0,eQ.useState)("DISCONNECTED"),[o,l]=(0,eQ.useState)(null),[u,c]=(0,eQ.useState)(null),[d,h]=(0,eQ.useState)(null);(0,eQ.useEffect)(()=>{i.current&&r&&h(eJ(i.current,t??"https://zupass.org"))},[i,t,r]);let f=(0,eQ.useCallback)(async()=>{let r=t??"https://zupass.org";if(i.current&&(t!==r||"DISCONNECTED"===s||"ERROR"===s)){a("CONNECTING");let t=await (d??eJ(i.current,r));try{let r=await function(e,{iframe:t,emitter:r,dialog:n}){return new Promise((i,s)=>{let a=r.on("close",()=>{s(new $)}),o=new MessageChannel,l=new eK(o.port2,new eX(n));l.start(()=>{a(),i(new ee(l,r))},()=>{a(),s(new $)}),function(e,t,r,n=[]){e.postMessage(t,"*",n)}(t,{type:eF.PARCNET_CLIENT_CONNECT,zapp:e},"*",[o.port1])})}(e,t);l(r),a("CONNECTED")}catch(e){c(e),a("ERROR")}finally{h(null)}}},[t,d,s,e]),p=(0,eQ.useCallback)(async()=>{a("DISCONNECTED")},[]);return(0,eZ.jsxs)(e1.Provider,{value:"CONNECTED"===s?{connectionState:s,z:o,zapp:e,connect:f,disconnect:p}:"ERROR"===s?{connectionState:s,error:u,zapp:e,connect:f,disconnect:p}:{connectionState:s,zapp:e,connect:f,disconnect:p},children:[(0,eZ.jsx)("div",{ref:i}),n]})}},32371:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var i=o(r(96810)),s=o(r(42155)),a=r(19707);function o(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){return e.infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1};t.Dots=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");h.prototype=Object.create(e&&e.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),Object.defineProperty(h,"prototype",{writable:!1}),e&&u(h,e);var t,r,o=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=c(h);return e=t?Reflect.construct(r,arguments,c(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,e)});function h(){if(!(this instanceof h))throw TypeError("Cannot call a class as a function");return o.apply(this,arguments)}return r=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=this.props,t=e.onMouseEnter,r=e.onMouseOver,n=e.onMouseLeave,o=e.infinite,u=e.slidesToScroll,c=e.slidesToShow,h=e.slideCount,f=e.currentSlide,p=d({slideCount:h,slidesToScroll:u,slidesToShow:c,infinite:o}),m=[],g=0;g<p;g++){var y=(g+1)*u-1,b=o?y:(0,a.clamp)(y,0,h-1),v=b-(u-1),w=o?v:(0,a.clamp)(v,0,h-1),k=(0,s.default)({"slick-active":o?f>=w&&f<=b:f===w}),_={message:"dots",index:g,slidesToScroll:u,currentSlide:f},x=this.clickHandler.bind(this,_);m=m.concat(i.default.createElement("li",{key:g,className:k},i.default.cloneElement(this.props.customPaging(g),{onClick:x})))}return i.default.cloneElement(this.props.appendDots(m),function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
13t%2?l(Object(r),!0).forEach(function(t){var n,i,s;n=e,i=t,s=r[t],i in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({className:this.props.dotsClass},{onMouseEnter:t,onMouseOver:r,onMouseLeave:n}))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(h.prototype,r),Object.defineProperty(h,"prototype",{writable:!1}),h}(i.default.PureComponent)},34409:(e,t,r)=>{"use strict";r.d(t,{C6:()=>rk}),(tS=tN||(tN={})).Root="root",tS.Text="text",tS.Directive="directive",tS.Comment="comment",tS.Script="script",tS.Style="style",tS.Tag="tag",tS.CDATA="cdata",tS.Doctype="doctype";let n=tN.Root,i=tN.Text,s=tN.Directive,a=tN.Comment,o=tN.Script,l=tN.Style,u=tN.Tag,c=tN.CDATA,d=tN.Doctype;class h{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return _(this,e)}}class f extends h{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class p extends f{constructor(){super(...arguments),this.type=tN.Text}get nodeType(){return 3}}class m extends f{constructor(){super(...arguments),this.type=tN.Comment}get nodeType(){return 8}}class g extends f{constructor(e,t){super(t),this.name=e,this.type=tN.Directive}get nodeType(){return 1}}class y extends h{constructor(e){super(),this.children=e}get firstChild(){var e;return null!=(e=this.children[0])?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class b extends y{constructor(){super(...arguments),this.type=tN.CDATA}get nodeType(){return 4}}class v extends y{constructor(){super(...arguments),this.type=tN.Root}get nodeType(){return 9}}class w extends y{constructor(e,t,r=[],n="script"===e?tN.Script:"style"===e?tN.Style:tN.Tag){super(r),this.name=e,this.attribs=t,this.type=n}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>{var t,r;return{name:e,value:this.attribs[e],namespace:null==(t=this["x-attribsNamespace"])?void 0:t[e],prefix:null==(r=this["x-attribsPrefix"])?void 0:r[e]}})}}function k(e){return e.type===tN.Tag||e.type===tN.Script||e.type===tN.Style}function _(e,t=!1){let r;if(e.type===tN.Text)r=new p(e.data);else if(e.type===tN.Comment)r=new m(e.data);else if(k(e)){let n=t?x(e.children):[],i=new w(e.name,{...e.attribs},n);n.forEach(e=>e.parent=i),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]={...e["x-attribsPrefix"]}),r=i}else if(e.type===tN.CDATA){let n=t?x(e.children):[],i=new b(n);n.forEach(e=>e.parent=i),r=i}else if(e.type===tN.Root){let n=t?x(e.children):[],i=new v(n);n.forEach(e=>e.parent=i),e["x-mode"]&&(i["x-mode"]=e["x-mode"]),r=i}else if(e.type===tN.Directive){let t=new g(e.name,e.data);null!=e["x-name"]&&(t["x-name"]=e["x-name"],t["x-publicId"]=e["x-publicId"],t["x-systemId"]=e["x-systemId"]),r=t}else throw Error(`Not implemented yet: ${e.type}`);return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function x(e){let t=e.map(e=>_(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}let S={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class E{constructor(e,t,r){this.dom=[],this.root=new v(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=S),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:S,this.elementCB=null!=r?r:null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new v(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;let e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){let r=new w(e,t,void 0,this.options.xmlMode?tN.Tag:void 0);this.addNode(r),this.tagStack.push(r)}ontext(e){let{lastNode:t}=this;if(t&&t.type===tN.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{let t=new p(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===tN.Comment){this.lastNode.data+=e;return}let t=new m(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){let e=new p(""),t=new b([e]);this.addNode(t),e.parent=t,this.lastNode=e}
13oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){let r=new g(e,t);this.addNode(r)}handleCallback(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e}addNode(e){let t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null}}let T=/\n/g;function O(e,t="",r={}){let n="string"==typeof t?t:"",i=e.map(C),s=!!("string"!=typeof t?t:r).lineNumbers;return function(e,t=0){let r,a,o=s?((r=[...e.matchAll(T)].map(e=>e.index||0)).unshift(-1),a=function e(t,r,n){if(n-r==1)return{offset:t[r],index:r+1};let i=Math.ceil((r+n)/2),s=e(t,r,i),a=e(t,i,n);return{offset:s.offset,low:s,high:a}}(r,0,r.length),e=>(function e(t,r){return Object.prototype.hasOwnProperty.call(t,"index")?{line:t.index,column:r-t.offset}:e(t.high.offset<r?t.high:t.low,r)})(a,e)):()=>({line:0,column:0}),l=t,u=[];e:for(;l<e.length;){let t=!1;for(let r of i){r.regex.lastIndex=l;let i=r.regex.exec(e);if(i&&i[0].length>0){if(!r.discard){let e=o(l),t="string"==typeof r.replace?i[0].replace(new RegExp(r.regex.source,r.regex.flags),r.replace):i[0];u.push({state:n,name:r.name,text:t,offset:l,len:i[0].length,line:e.line,column:e.column})}if(l=r.regex.lastIndex,t=!0,r.push){let t=r.push(e,l);u.push(...t.tokens),l=t.offset}if(r.pop)break e;break}}if(!t)break}return{tokens:u,offset:l,complete:e.length<=l}}}function C(e,t){return{...e,regex:function(e,t){if(0===e.name.length)throw Error(`Rule #${t} has empty name, which is not allowed.`);if(Object.prototype.hasOwnProperty.call(e,"regex")){var r=e.regex;if(r.global)throw Error(`Regular expression /${r.source}/${r.flags} contains the global flag, which is not allowed.`);return r.sticky?r:RegExp(r.source,r.flags+"y")}if(Object.prototype.hasOwnProperty.call(e,"str")){if(0===e.str.length)throw Error(`Rule #${t} ("${e.name}") has empty "str" property, which is not allowed.`);return RegExp(P(e.str),"y")}return RegExp(P(e.name),"y")}(e,t)}}function P(e){return e.replace(/[-[\]{}()*+!<=:?./\\^$|#\s,]/g,"\\$&")}function L(e,t){return(r,n)=>{let i,s=n;return n<r.tokens.length?void 0!==(i=e(r.tokens[n],r,n))&&s++:t?.(r,n),void 0===i?{matched:!1}:{matched:!0,position:s,value:i}}}function A(e,t){return e.matched?{matched:!0,position:e.position,value:t(e.value,e.position)}:e}function I(e,t){return e.matched?t(e):e}function M(e,t){return(r,n)=>A(e(r,n),(e,i)=>
13t(e,r,n,i))}function j(e,t){return(r,n)=>{let i=e(r,n);return i.matched?i:{matched:!0,position:n,value:t}}}function N(...e){return(t,r)=>{for(let n of e){let e=n(t,r);if(e.matched)return e}return{matched:!1}}}function R(e,t){return(r,n)=>{let i=e(r,n);return i.matched?i:t(r,n)}}function D(e){var t;return t=()=>!0,(r,n)=>{let i=[],s=!0;do{let a=e(r,n);a.matched&&t(a.value,i.length+1,r,n,a.position)?(i.push(a.value),n=a.position):s=!1}while(s);return{matched:!0,position:n,value:i}}}function B(e,t,r){return(n,i)=>I(e(n,i),e=>A(t(n,e.position),(t,s)=>r(e.value,t,n,i,s)))}function q(e,t){return B(e,t,(e,t)=>t)}function $(e,t,r,n){return(i,s)=>I(e(i,s),e=>I(t(i,e.position),t=>A(r(i,t.position),(r,a)=>n(e.value,t.value,r,i,s,a))))}function W(e,t,r){return $(e,t,r,(e,t)=>t)}function U(e,t,r){var n,i;return n=e,i=e=>{var n,i,s;return n=B(t,r,(e,t)=>[e,t]),i=(e,[t,r])=>t(e,r),s=e=>M(n,(t,r,n,s)=>i(e,t,r,n,s)),(t,r)=>{let n=!0,i=e,a=r;do{let e=s(i,t,a)(t,a);e.matched?(i=e.value,a=e.position):n=!1}while(n);return{matched:!0,position:a,value:i}}},(e,t)=>I(n(e,t),r=>i(r.value,e,t,r.position)(e,r.position))}let H=`(?:\\n|\\r\\n|\\r|\\f)`,z=`[^\\x00-\\x7F]`,F=`(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)`,V=`(?:\\\\[^\\n\\r\\f0-9a-f])`,G=`(?:[_a-z]|${z}|${F}|${V})`,Y=`(?:[_a-z0-9-]|${z}|${F}|${V})`,K=`(?:${Y}+)`,X=`(?:[-]?${G}${Y}*)`,J=`'([^\\n\\r\\f\\\\']|\\\\${H}|${z}|${F}|${V})*'`,Q=`"([^\\n\\r\\f\\\\"]|\\\\${H}|${z}|${F}|${V})*"`,Z=O([{name:"ws",regex:RegExp(`(?:[ \\t\\r\\n\\f]*)`)},{name:"hash",regex:RegExp(`#${K}`,"i")},{name:"ident",regex:RegExp(X,"i")},{name:"str1",regex:RegExp(J,"i")},{name:"str2",regex:RegExp(Q,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),ee=O([{name:"unicode",regex:RegExp(F,"i")},{name:"escape",regex:RegExp(V,"i")},{name:"any",regex:RegExp("[\\s\\S]","i")}]);function et([e,t,r],[n,i,s]){return[e+n,t+i,r+s]}let er=M(D(N(L(e=>"unicode"===e.name?String.fromCodePoint(parseInt(e.text.slice(1),16)):void 0),L(e=>"escape"===e.name?e.text.slice(1):void 0),L(e=>"any"===e.name?e.text:void 0))),e=>e.join(""));function en(e){return er({tokens:ee(e).tokens,options:void 0},0).value}function ei(e){return L(t=>t.name===e||void 0)}let es=L(e=>"ws"===e.name?null:void 0),ea=j(es,null);function eo(e){return W(ea,e,ea)}let el=L(e=>"ident"===e.name?en(e.text):void 0),eu=L(e=>"hash"===e.name?en(e.text.slice(1)):void 0),ec=L(e=>e.name.startsWith("str")?en(e.text.slice(1,-1)):void 0),ed=B(j(el,""),ei("|"),e=>e),eh=R(B(ed,el,(e,t)=>({name:t,namespace:e})),M(el,e=>({name:e,namespace:null}))),ef=R(B(ed,ei("*"),e=>({type:"universal",namespace:e,specificity:[0,0,0]})),M(ei("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),ep=M(eh,({name:e,namespace:t})=>({type:"tag",name:e,namespace:t,specificity:[0,0,1]})),em=B(ei("."),el,(e,t)=>({type:"class",name:t,specificity:[0,1,0]})),eg=M(eu,e=>({type:"id",name:e,specificity:[1,0,0]})),ey=L(e=>{if("ident"===e.name){if("i"===e.text||"I"===e.text)return"i";if("s"===e.text||"S"===e.text)return"s"}}),eb=R(B(ec,j(q(ea,ey),null),(e,t)=>({value:e,modifier:t})),B(el,j(q(es,ey),null),(e,t)=>({value:e,modifier:t}))),ev=N(M(ei("="),()=>"="),B(ei("~"),ei("="),()=>"~="),B(ei("|"),ei("="),()=>"|="),B(ei("^"),ei("="),()=>"^="),B(ei("$"),ei("="),()=>"$="),B(ei("*"),ei("="),()=>"*=")),ew=R($(ei("["),eo(eh),ei("]"),(e,{name:t,namespace:r})=>({type:"attrPresence",name:t,namespace:r,specificity:[0,1,0]})),W(ei("["),$(eo(eh),ev,eo(eb),({name:e,namespace:t},r,{value:n,modifier:i})=>({type:"attrValue",name:e,namespace:t,matcher:r,value:n,modifier:i,specificity:[0,1,0]})),ei("]"))),ek=R(ef,ep),e_=N(eg,em,ew),ex=M(R(function(...e){return M(function(...e){return(t,r)=>{let n=[],i=r;for(let r of e){let e=r(t,i);if(!e.matched)return{matched:!1};n.push(e.value),i=e.position}return{matched:!0,position:i,value:n}}}(...e),e=>e.flatMap(e=>e))}(ek,D(e_)),B(e_,D(e_),(e,t)=>[e,...t])),e=>({type:"compound",list:e,specificity:e.map(e=>e.specificity).reduce(et,[0,0,0])})),eS=R(eo(N(M(ei(">"),()=>">"),M(ei("+"),()=>"+"),M(ei("~"),()=>"~"),B(ei("|"),ei("|"),()=>"||"))),M(es,()=>" ")),eE=U(ex,M(eS,e=>(t,r)=>({type:"compound",list:[...r.list,{type:"combinator",combinator:e,left:t,specificity:t.specificity}],specificity:et(t.specificity,r.specificity)})),ex);function eT(e,t,r=1){return`${e.replace(/(\t)|(\r)|(\n)/g,(e,t,r)=>t?"â":r?"â":"â")} 14${"".padEnd(t)}${"^".repeat(r)}`}function eO(e){if(!e.type)throw Error("This is not an AST node.");switch(e.type){case"universal":return eC(e.namespace)+"*";case"tag":return eC(e.namespace)+eL(e.name);case"class":return"."+eL(e.name);case"id":return"#"+eL(e.name);case"attrPresence":return`[${eC(e.namespace)}${eL(e.name)}]`;case"attrValue":return`[${eC(e.namespace)}${eL(e.name)}${e.matcher}"${e.value.replace(/(")|(\\)|(\x00)|([\x01-\x1f]|\x7f)/g,(e,t,r,n,i)=>t?'\\"':r?"\\\\":n?"�":eP(i))}"${e.modifier?e.modifier:""}]`;
14case"combinator":return eO(e.left)+e.combinator;case"compound":return e.list.reduce((e,t)=>"combinator"===t.type?eO(t)+e:e+eO(t),"");case"list":return e.list.map(eO).join(",")}}function eC(e){return e||""===e?eL(e)+"|":""}function eP(e){return`\\${e.codePointAt(0).toString(16)} `}function eL(e){return e.replace(/(^[0-9])|(^-[0-9])|(^-$)|([-0-9a-zA-Z_]|[^\x00-\x7F])|(\x00)|([\x01-\x1f]|\x7f)|([\s\S])/g,(e,t,r,n,i,s,a,o)=>t?eP(t):r?"-"+eP(r.slice(1)):n?"\\-":i||(s?"�":a?eP(a):"\\"+o))}function eA(e){switch(e.type){case"universal":case"tag":return[1];case"id":return[2];case"class":return[3,e.name];case"attrPresence":return[4,eO(e)];case"attrValue":return[5,eO(e)];case"combinator":return[15,eO(e)]}}U(M(eE,e=>({type:"list",list:[e]})),M(eo(ei(",")),()=>(e,t)=>({type:"list",list:[...e.list,t]})),eE);function eI(e,t){if(!Array.isArray(e)||!Array.isArray(t))throw Error("Arguments must be arrays.");let r=e.length<t.length?e.length:t.length;for(let n=0;n<r;n++)if(e[n]!==t[n])return e[n]<t[n]?-1:1;return e.length-t.length}class eM{constructor(e){this.branches=ej(function(e){let t=e.length,r=Array(t);for(let i=0;i<t;i++){var n;let[t,s]=e[i],a=(function e(t){let r=[];t.list.forEach(t=>{switch(t.type){case"class":r.push({matcher:"~=",modifier:null,name:"class",namespace:null,specificity:t.specificity,type:"attrValue",value:t.name});break;case"id":r.push({matcher:"=",modifier:null,name:"id",namespace:null,specificity:t.specificity,type:"attrValue",value:t.name});break;case"combinator":e(t.left),r.push(t);break;case"universal":break;default:r.push(t)}}),t.list=r}(n=function(e){if(!("string"==typeof e||e instanceof String))throw Error("Expected a selector string. Actual input is not a string!");let t=Z(e);if(!t.complete)throw Error(`The input "${e}" was only partially tokenized, stopped at offset ${t.offset}! 15`+eT(e,t.offset));let r=eo(eE)({tokens:t.tokens,options:void 0},0);if(!r.matched)throw Error(`No match for "${e}" input!`);if(r.position<t.tokens.length){let n=t.tokens[r.position];throw Error(`The input "${e}" was only partially parsed, stopped at offset ${n.offset}! 16`+eT(e,n.offset,n.len))}return r.value}(t)),!function e(t){if(!t.type)throw Error("This is not an AST node.");switch(t.type){case"compound":t.list.forEach(e),t.list.sort((e,t)=>eI(eA(e),eA(t)));break;case"combinator":e(t.left);break;case"list":t.list.forEach(e),t.list.sort((e,t)=>eO(e)<eO(t)?-1:1)}return t}(n),n);r[i]={ast:a,terminal:{type:"terminal",valueContainer:{index:i,value:s,specificity:a.specificity}}}}return r}(e))}build(e){return e(this.branches)}}function ej(e){let t=[];for(;e.length;){let r=eq(e,e=>!0,eN),{matches:n,nonmatches:i,empty:s}=function(e,t){let r=[],n=[],i=[];for(let s of e){let e=s.ast.list;e.length?(e.some(e=>eN(e)===t)?r:n).push(s):i.push(s)}return{matches:r,nonmatches:n,empty:i}}(e,r);e=i,n.length&&t.push(function(e,t){if("tag"===e)return{type:"tagName",variants:Object.entries(eD(t,e=>"tag"===e.type,e=>e.name)).map(([e,t])=>({type:"variant",value:e,cont:ej(t.items)}))};if(e.startsWith("attrValue "))return function(e,t){let r=eD(t,t=>"attrValue"===t.type&&t.name===e,e=>`${e.matcher} ${e.modifier||""} ${e.value}`),n=[];for(let e of Object.values(r)){let t=e.oneSimpleSelector,r=function(e){if("i"===e.modifier){let t=e.value.toLowerCase();switch(e.matcher){case"=":return e=>t===e.toLowerCase();case"~=":return e=>e.toLowerCase().split(/[ \t]+/).includes(t);case"^=":return e=>e.toLowerCase().startsWith(t);case"$=":return e=>e.toLowerCase().endsWith(t);case"*=":return e=>e.toLowerCase().includes(t);case"|=":return e=>{let r=e.toLowerCase();return t===r||r.startsWith(t)&&"-"===r[t.length]}}}else{let t=e.value;switch(e.matcher){case"=":return e=>t===e;case"~=":return e=>e.split(/[ \t]+/).includes(t);case"^=":return e=>e.startsWith(t);case"$=":return e=>e.endsWith(t);case"*=":return e=>e.includes(t);case"|=":return e=>t===e||e.startsWith(t)&&"-"===e[t.length]}}}(t),i=ej(e.items);n.push({type:"matcher",matcher:t.matcher,modifier:t.modifier,value:t.value,predicate:r,cont:i})}return{type:"attrValue",name:e,matchers:n}}(e.substring(10),t);if(e.startsWith("attrPresence "))return function(e,t){for(let r of t)eB(r,t=>"attrPresence"===t.type&&t.name===e);return{type:"attrPresence",name:e,cont:ej(t)}}(e.substring(13),t);if("combinator >"===e)return eR(">",t);if("combinator +"===e)return eR("+",t);throw Error(`Unsupported selector kind: ${e}`)}(r,n)),s.length&&t.push(...function(e){let t=[];for(let r of e){let e=r.terminal;if("terminal"===e.type)t.push(e);else{let{matches:r,rest:n}=function(e,t){let r=[],n=[];
16for(let i of e)t(i)?r.push(i):n.push(i);return{matches:r,rest:n}}(e.cont,e=>"terminal"===e.type);r.forEach(e=>t.push(e)),n.length&&(e.cont=n,t.push(e))}}return t}(s))}return t}function eN(e){switch(e.type){case"attrPresence":return`attrPresence ${e.name}`;case"attrValue":return`attrValue ${e.name}`;case"combinator":return`combinator ${e.combinator}`;default:return e.type}}function eR(e,t){let r=eD(t,t=>"combinator"===t.type&&t.combinator===e,e=>eO(e.left)),n=[];for(let e of Object.values(r)){let t=ej(e.items),r=e.oneSimpleSelector.left;n.push({ast:r,terminal:{type:"popElement",cont:t}})}return{type:"pushElement",combinator:e,cont:ej(n)}}function eD(e,t,r){let n={};for(;e.length;){let i=eq(e,t,r),s=e=>t(e)&&r(e)===i,{matches:a,rest:o}=function(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return{matches:r,rest:n}}(e,e=>e.ast.list.some(s)),l=null;for(let e of a){let t=eB(e,s);l||(l=t)}if(null==l)throw Error("No simple selector is found.");n[i]={oneSimpleSelector:l,items:a},e=o}return n}function eB(e,t){let r=e.ast.list,n=Array(r.length),i=-1;for(let e=r.length;e-- >0;)t(r[e])&&(n[e]=!0,i=e);if(-1==i)throw Error("Couldn't find the required simple selector.");let s=r[i];return e.ast.list=r.filter((e,t)=>!n[t]),s}function eq(e,t,r){let n={};for(let i of e){let e={};for(let n of i.ast.list.filter(t))e[r(n)]=!0;for(let t of Object.keys(e))n[t]?n[t]++:n[t]=1}let i="",s=0;for(let e of Object.entries(n))e[1]>s&&(i=e[0],s=e[1]);return i}class e${constructor(e){this.f=e}pickAll(e){return this.f(e)}pick1(e,t=!1){let r=this.f(e),n=r.length;if(0===n)return null;if(1===n)return r[0].value;let i=t?eW:eU,s=r[0];for(let e=1;e<n;e++){let t=r[e];i(s,t)&&(s=t)}return s.value}}function eW(e,t){let r=eI(t.specificity,e.specificity);return r>0||0===r&&t.index<e.index}function eU(e,t){let r=eI(t.specificity,e.specificity);return r>0||0===r&&t.index>e.index}function eH(e){return new e$(ez(e))}function ez(e){let t=e.map(eF);return(e,...r)=>t.flatMap(t=>t(e,...r))}function eF(e){switch(e.type){case"terminal":{let t=[e.valueContainer];return(e,...r)=>t}case"tagName":var t,r,n=e;let i={};for(let e of n.variants)i[e.value]=ez(e.cont);return(e,...t)=>{let r=i[e.name];return r?r(e,...t):[]};case"attrValue":var s=e;let a=[];for(let e of s.matchers){let t=e.predicate,r=ez(e.cont);a.push((e,n,...i)=>t(e)?r(n,...i):[])}let o=s.name;return(e,...t)=>{let r=e.attribs[o];return r||""===r?a.flatMap(n=>n(r,e,...t)):[]};case"attrPresence":let l,u;return l=(t=e).name,u=ez(t.cont),(e,...t)=>Object.prototype.hasOwnProperty.call(e.attribs,l)?u(e,...t):[];case"pushElement":let c,d;return c=ez((r=e).cont),d="+"===r.combinator?eV:eG,(e,...t)=>{let r=d(e);return null===r?[]:c(r,e,...t)};case"popElement":let h;return h=ez(e.cont),(e,t,...r)=>h(t,...r)}}let eV=e=>{let t=e.prev;return null===t?null:k(t)?t:eV(t)},eG=e=>{let t=e.parent;return t&&k(t)?t:null},eY=new Uint16Array('áµ<\xd5ıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcfligè»\xc6äPè»&ä¦cuteè»\xc1äreve;äÄiyx}rcè»\xc2ä;är;ì\uD835\uDD04raveè»\xc0äpha;äacr;äd;æ©Ägp\x9d\xa1on;äf;ì\uD835\uDD38plyFunction;æ¡ingè»\xc5ä
Äcs\xbe\xc3r;ì\uD835\uDC9Cign;æildeè»\xc3ämlè»\xc4äÐaceforsu\xe5\xfb\xfeÄÄĢħĪÄcr\xea\xf2kslash;æÅ¶\xf6\xf8;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ì\uD835\uDD05pf;ì\uD835\uDD39eve;äc\xf2Ämpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»\xa9䩯cpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»\xc7ärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·\xf2Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ì\uD835\uDC9EpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ì\uD835\uDD07Äaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ì\uD835\uDD3BÆ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegra\xecȹoɴ͹\0\0Í»\xbbÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æe\xe5ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ì\uD835\uDC9Frok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»\xd0äcuteè»\xc9äÆaiyÓÓÓron;ärcè»\xcaä;äot;är;ì\uD835\uDD08raveè»\xc8äement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ì\uD835\uDD3Csilon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»\xcbäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ì\uD835\uDD09lledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ì\uD835\uDD3DAll;æriertrf;æ±c\xf2רJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ì\uD835\uDD0A;æpf;ì\uD835\uDD3EeaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ì\uD835\uDCA2;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
\xf2Ú©rok;ä¦mpÅÛÛownHum\xf0įqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»\xcdäÄiyÜÜrcè»\xceä;äot;ä°r;æraveè»\xccäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lie\xf3ÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ì\uD835\uDD40a;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»\xcfäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ì\uD835\uDD0Dpf;ì\uD835\uDD41Ç£ß\0ßr;ì\uD835\uDCA5rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ì\uD835\uDD0Epf;ì\uD835\uDD42cr;ì\uD835\uDCA6ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ight\xe1ÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ì\uD835\uDD0FÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ight\xe1οight\xe1Ïf;ì\uD835\uDD43erÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©\xf2à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ì\uD835\uDD10nusPlus;æpf;ì\uD835\uDD44c\xf2à©¶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«\xebà«eryThi\xeeà«tedÄGL૸à¬reaterGreate\xf2Ù³essLes\xf3à©Line;är;ì\uD835\uDD11ÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ì\uD835\uDCA9ildeè»\xd1ä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»\xd3äÄiyà·à·rcè»\xd4ä;äblac;ä
r;ì\uD835\uDD12raveè»\xd2äÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ì\uD835\uDD46enCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ì\uD835\uDCAAashè»\xd8äiŬื฼deè»\xd5äes;樷mlè»\xd6äerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;
16æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ì\uD835\uDD13i;ä¦;ä usMinus;ä±Äipຢàºncareplan\xe5Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ì\uD835\uDCAB;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ì\uD835\uDD14pf;æcr;ì\uD835\uDCACØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»\xae䮯cnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r\xbbཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ì\uD835\uDD16ortÈDLRUáªá´á¾á
ownArrow\xbbÐeftArrow\xbbà¢ightArrow\xbbà¿pArrow;ægma;ä£allCircle;æpf;ì\uD835\uDD4Aɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ì\uD835\uDCAEar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Th\xe1à¾;æÆ;esááá£ærsetÄ;Eááæqual;æet\xbbáÖHRSacfhiorsá¾ááááá±á¶ááááORNè»\xdeäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ì\uD835\uDD17Äeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ì\uD835\uDD4BipleDot;æÄctáár;ì\uD835\uDCAFrok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»\xdaärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»\xdbä;ä£blac;ä
°r;ì\uD835\uDD18raveè»\xd9äacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ì\uD835\uDD4CÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥own\xe1ϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ì\uD835\uDCB0ilde;ä
¨mlè»\xdcäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ì\uD835\uDD19pf;ì\uD835\uDD4Dcr;ì\uD835\uDCB1dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ì\uD835\uDD1Apf;ì\uD835\uDD4Ecr;ì\uD835\uDCB2Èfiosáááár;ì\uD835\uDD1B;äpf;ì\uD835\uDD4Fcr;ì\uD835\uDCB3ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»\xddäÄiyáárc;ä
¶;ä«r;ì\uD835\uDD1Cpf;ì\uD835\uDD50cr;ì\uD835\uDCB4ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidt\xe8à«a;är;æ¨pf;æ¤cr;ì\uD835\uDCB5௡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»\xe1ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»\xe2ä¢teè»\xb4Ì;ä°ligè»\xe6ä¦Ä;r\xb2áº;ì\uD835\uDD1Eraveè»\xe0ä ÄepááÄfpáásym;æµ\xe8áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e\xbbásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢\xbb\xb9arr;æ¼Ägpá£á§on;ä
f;ì\uD835\uDD52Î;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eáá\xf1áingè»\xe5䥯ctyá¡á¦á¨r;ì\uD835\uDCB6;äªmpÄ;eáá¯\xf1Êildeè»\xe3ä£mlè»\xe4ä¤Äciááonin\xf4ɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e\xbbárkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰s\xe9áno\xf5ÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ì\uD835\uDD1FgÎcostuvwááá³ááááÆaiuááá\xf0Ý rc;æ¯p\xbbá±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨e\xe5á\xe5áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ì\uD835\uDD53Ä;táá¡£om\xbbátie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»\xa6ä¦Èceioá¥á¥á¥á¥ r;ì\uD835\uDCB7mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t\xbb᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æ\xeeÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;
16ädilè»\xe7ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»\xb8Æptyv;榲tè\xa2;eá¨á¨®ä¢r\xe4Ʋr;ì\uD835\uDD20Æceiᨽá©á©y;äckÄ;má©á©æark\xbbá©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáª\xbbà½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it\xbb᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;q\xc7\xc6Éá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æ\xeeá
eÄmx᫱᫶ent\xbbá«©e\xf3Éǧ᫾\0á¬Ä;dá»á¬ot;æ©n\xf4ÉÆfryá¬á¬á¬;ì\uD835\uDD54o\xe4Éè\xa9;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ì\uD835\uDCB8ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯re\xe3á³u\xe3áµee;æedge;æenè»\xa4ä¤earrowÄlrᯮ᯳eft\xbbá®ight\xbbᮽe\xe4á¯Äciá°á°onin\xf4Ç·nt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·r\xf2Îar;楥Èglrsá±á±á±á±ger;æ eth;æ¸\xf2á³hÄ;vá±á±æ\xbbà¤Å«á±¡á±§arow;æ¤a\xe3ÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»\xb0ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ì\uD835\uDD21arÄlrᲳᲵ\xbbà£\xbbáÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè\xf7;oá³§á³°ntimes;æn\xf8á³·cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ì\uD835\uDD55Ê;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedg\xe5\xfanÆadhá®áµáµ§ownarrow\xf3á²arpoonÄlrᵲᵶef\xf4á²´igh\xf4ᲶŢᵿá¶
karo\xf7à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ì\uD835\uDCB9;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·r\xf2Щa\xf2ྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´o\xf4á²Äcsá¸á¸uteè»\xe9ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»\xeaäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ì\uD835\uDD22Æ;rsá¹á¹á¹æªaveè»\xe8ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et\xbbáºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ì\uD835\uDD56Æalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon\xbbá»;äµÈcsuvỪỳá¼á¼£Äioữḱrc\xbbḮɩỹ\0\0á»»\xedÕantÄglá¼á¼tr\xbbá¹ess\xbbṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯o\xf4ÍÄahá½á½;ä·è»\xf0ä°Ämrá½á½lè»\xebä«o;æ¬Æcipὡὤὧl;ä¡s\xf4Õ®ÄeoὬὴctatio\xeeÕnential\xe5չৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotse\xf1á¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ì\uD835\uDD23lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ì\uD835\uDD57ÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»\xbdä½;æ
è»\xbcä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»\xbeä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ì\uD835\uDCBBà¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlan\xf4Ù¥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ì\uD835\uDD24Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox\xbbâ¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ì\uD835\uDD58Äciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âpro\xf8âr;楸qÄlqØ¿âles\xf3âi\xedÙ«Äenâ£ârtneqq;ìâ©ï¸\xc5âªÔAabcefkosyâââ±âµâºâââ¯â¨â½r\xf2Î Èilmrâââârs\xf0áf\xbbâ¤il\xf4Ú©Ädrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it\xbbâlip;æ¦con;æ¹r;ì\uD835\uDD25sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ì\uD835\uDD59bar;æÆcltâ¯â´â¸r;ì\uD835\uDCBDas\xe8â´rok;ä§Äbpââull;æhen\xbbá±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»\xedäÆ;
16iyݱâ°âµrcè»\xeeä®;ä¸Äcxâ¼â¿y;äµclè»\xa1ä¡ÄfrÎâ;ì\uD835\uDD26raveè»\xecä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââin\xe5Þar\xf4Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§do\xf4âÊ;celpÝââââ¡al;æºÄgrââer\xf3á£\xe3âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ì\uD835\uDD5Aa;ä¹uestè»\xbfä¿Äciââr;ì\uD835\uDCBEnÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»\xefä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ì\uD835\uDD27ath;ä·pf;ì\uD835\uDD5BÇ£â¬\0â±r;ì\uD835\uDCBFrcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ì\uD835\uDD28reen;ä¸cy;ä
cy;äpf;ì\uD835\uDD5Ccr;ì\uD835\uDCC0à®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼r\xf2à§\xf2Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴ra\xeeà¡bda;ä»gÆ;dlà¢ââ;æ¦\xe5à¢;æª
uoè»\xabä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤\xebâp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼\xecࢰ\xe2â©;
16ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡a\xe9â¶arpoonÄduâ¯â´own\xbbÑp\xbb०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoon\xf3à¾quigarro\xf7â°hreetimes;æÆ;qsâà¦âºlan\xf4বÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââppro\xf8âot;æqÄgqââ
\xf4à¦gt\xf2â\xf4à¦i\xedলÆilrâ࣡âsht;楼;ì\uD835\uDD29Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââr\xf2âorne\xf2á´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che\xbbâÈEaesâ»â½ââ;æ¨pÄ;pââæªrox\xbbâÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½r\xebà£gÆlmrâ¿ââeftÄar০âight\xe1à§²apsto;æ¼ight\xe1à§½parrowÄlrâ¥â©ef\xf4âight;æ¬Æaflâ¶â¹â½r;æ¦
;ì\uD835\uDD5Dus;æ¨imes;樴šââst;æ\xe1áÆ;efââá ænge\xbbâarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âr\xf2ࢨorne\xf2á¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ì\uD835\uDCC1mÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹re\xe5â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸\xc5â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»\xafä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se\xbbâ¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»ow\xeeÒef\xf4à¤\xf0áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle\xbbá¦r;ì\uD835\uDD2Ao;æ§Æcdn⢯⢴â£roè»\xb5äµÈ;acdá¤â¢½â£â£s\xf4á§ir;æ«°otè»\xb7ƵusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«\xf2â\xf0àªÄdp⣩⣮els;æ§f;ì\uD835\uDD5EÄct⣸⣽r;ì\uD835\uDCC2pos\xbbáÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la\xbbËute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
ro\xf8à¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»\xa0ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸ui\xf6à£Äeiâ©â©ar;椨\xedà®istÄ;sà® à®r;ì\uD835\uDD2BÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lan\xf4௢i\xed௪Ä;rà®¶âª\xbbà®·ÆAapâªâªâªr\xf2⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹r\xf2⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro\xf7â«ightarro\xf7âªÆ;qs఻⪺⫪lan\xf4à±Ä;sà±â«´\xbbà°¶i\xedà±Ä;rవ⫾iÄ;eà°à°¥i\xe4à¶Äptâ¬â¬f;ì\uD835\uDD5Fè\xac;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlle\xecà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³u\xe5ಥÄ;cà²â¸Ä;eà²â½\xf1à²ÈAaitâ®â®â®â®§r\xf2â¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow\xbbâ®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯u\xe5àµ
;ì\uD835\uDCC3ortÉâ¬
\0\0â¯ar\xe1âmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯\xe5೸\xe5à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°\xf1à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±\xecà¯ldeè»\xf1ä±\xe7à±iangleÄlrâ±â±eftÄ;eà°â±\xf1à°¦ightÄ;eà³â±¥\xf1à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»\xf3ä³Äiyâ´¼âµ
rÄ;cáªâµè»\xf4ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ì\uD835\uDD2Cͯ⵹\0\0âµ¼\0â¶n;äaveè»\xf2ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨r\xf2áªÄirâ¶â¶ r;榾oss;榻n\xe5à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ì\uD835\uDD60Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨r\xf2áªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f\xbbâ·¿è»\xaaäªè»\xbaäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§\xf2â¸ashè»\xf8ä¸l;æiŬⸯ⸴deè»\xf5äµesÄ;aÇ⸺s;樶mlè»\xf6ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
16astÐâ¹§â¹²àº
è\xb6;lâ¹â¹®ä¶le\xecÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ì\uD835\uDD2DÆimo⺨⺰⺴Ä;vâºâº®ä;äma\xf4à©¶ne;æÆ;tv⺿â»â»ächfork\xbb´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æ\xf6â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»\xb1àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ì\uD835\uDD61ndè»\xa3ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷u\xe5à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾ppro\xf8â½urlye\xf1à»\xf1à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨i\xedà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½º\xf0â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴\xefà»»rel;æ°Äciâ¿â¿
r;ì\uD835\uDCC5;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ì\uD835\uDD2Epf;ì\uD835\uDD62rime;æcr;ì\uD835\uDCC6Æaeo⿸ããtÄei⿾ã
rnion\xf3Ú°nt;æ¨stÄ;eããä¿\xf1á¼\xf4à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããr\xf2á³\xf2Ïail;æ¤ar\xf2á±¥ar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
i\xe3á
®mptyv;榳gÈ;delà¿ããã;æ¦;榥\xe5à¿uoè»\xbbä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤\xebâ\xf0â®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶al\xf3à¼Æabrã§ãªã®r\xf2á¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
\xec࿲\xe2ãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
án\xe5á»ar\xf4ྩt;æÆilrã
©á£ã
®sht;楽;ì\uD835\uDD2FÄaoã
·ãrÄduã
½ã
¿\xbbÑ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãa\xe9ãarpoonÄduã»ã¿ow\xeeã
¾p\xbbáeftÄahããrrow\xf3࿪arpoon\xf3Õightarrows;æquigarro\xf7ãhreetimes;æg;äingdotse\xf1á¼²Æahmãããr\xf2࿪a\xf2Õ;æoustÄ;aããæ±che\xbbãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾r\xebáÆaflãããr;æ¦;ì\uD835\uDD63us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨ar\xf2ã£Èachqã»ãá¼ã
quo;æºr;ì\uD835\uDCC7Äbuã»ãoÄ;rÈÈÆhirããã re\xe5ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
qu\xefâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡u\xe5á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨i\xedá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrãã\xebâ¨Ä;oਸ਼਴tè»\xa7ä§i;ä»war;椩mÄinã©\xf0nu\xf3\xf1t;æ¶rÄ;oã¶âì\uD835\uDD30Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãi\xe4á¤ara\xec⹯è»\xadäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲ar\xf2á½Èaeitã¸ãããÄlsã½ãlsetm\xe9ãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ì\uD835\uDD64aÄdrãÐesÄ;uããæ it\xbbãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáã\xf1áÆ;esá¨áãetÄ;eá¨ã\xf1á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±\xbbá
¼ar\xf2á
Ècemtã¹ã¾ãã
r;ì\uD835\uDCC8tm\xee\xf1i\xecãar\xe6á¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsilo\xeeá» h\xe9⺯s\xbbâ¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦ppro\xf8ãºurlye\xf1á¾\xf1á³Æaesãããppro\xf8ãq\xf1ãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»\xb9ä¹è»\xb2ä²è»\xb3ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨\xebâ®Ä;oਫ਩war;椪ligè»\xdfä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;är\xebà¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ì\uD835\uDD31Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®ppro\xf8áim\xbbá¬s\xf0áÄasãºã®\xf0árnè»\xfeä¾Ç¬Ìãâ§esè\xd7;bdãããäÄ;
16aá¤ãr;樱;樰Æepsã¡ã£ã\xe1â©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ì\uD835\uDD65rk;æ«\xe1ã¢rime;æ´Æaipããã¤d\xe5áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown\xbbá¶»eftÄ;eâ ã¾\xf1म;æightÄ;eãªã\xf1áot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ì\uD835\uDCC9;äcy;ärok;ä
§Äioããx\xf4á·headÄlrãã eftarro\xf7à¡ightarrow\xbbà½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶r\xf2Ïar;楣Äcrãã¢uteè»\xfaäº\xf2á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»\xfbä»;äÆabhã ã ã r\xf2álac;ä
±a\xf2áÄirã ã sht;楾;ì\uD835\uDD32raveè»\xf9ä¹Å¡ã §ã ±rÄlr㠬㠮\xbbà¥\xbbálk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær\xbbã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»\xa8ÍÄgp㡢㡦on;ä
³f;ì\uD835\uDD66Ìadhlsuá
㡸㡽á²ã¢ã¢ own\xe1á³arpoonÄlrã¢ã¢ef\xf4ã igh\xf4ã ¯iÆ;hlã¢ã¢ã¢ä
\xbbáºon\xbbã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær\xbb㢽op;æng;ä
¯ri;æ¹cr;ì\uD835\uDCCAÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨\xbbá Äam㣯㣲r\xf2㢨lè»\xfcä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ r\xf2Ï·arÄ;v㤦㤧櫨;æ«©as\xe8Ï¡Änr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦app\xe1âothin\xe7áºÆhirã«â»ã¥op\xf4â¾µÄ;há·ã¥¢\xefãÄiu㥩ã¥gm\xe1ã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦et\xe1ãiangleÄlr㦪㦯eft\xbbथight\xbbáy;ä²ash\xbbá¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨a\xf2á©r;ì\uD835\uDD33tr\xe9㦮suÄbp㧯㧱\xbbà´\xbbàµpf;ì\uD835\uDD67ro\xf0à»»tr\xe9㦴Äcuã¨ã¨r;ì\uD835\uDCCBÄbpã¨ã¨nÄEeã¦ã¨\xbb㥾nÄEeã¦ã¨\xbbã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ì\uD835\uDD34pf;ì\uD835\uDD68Ä;eá¹ã©¦at\xe8á¹cr;ì\uD835\uDCCCà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátr\xe9ár;ì\uD835\uDD35ÄAaãªãªr\xf2Ïr\xf2à§¶;ä¾ÄAa㪡㪤r\xf2θr\xf2à§«a\xf0âis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ì\uD835\uDD69im\xe5á²ÄAaã«ã«r\xf2Ïr\xf2à¨Äcqã«á¸r;ì\uD835\uDCCDÄptáã«r\xe9áÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»\xfdä½;äÄiyã¬ã¬rc;ä
·;änè»\xa5ä¥r;ì\uD835\uDD36cy;äpf;ì\uD835\uDD6Acr;ì\uD835\uDCCEÄcm㬦㬩y;älè»\xffä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡tr\xe6áa;ä¶r;ì\uD835\uDD37cy;ä¶grarr;æpf;ì\uD835\uDD6Bcr;ì\uD835\uDCCFÄjnã®
ã®;æj;æ'.split("").map(e=>e.charCodeAt(0))),eK=new Uint16Array("Èaglq \x15\x18\x1bÉ\x0f\0\0\x12p;ä¦os;ä§t;ä¾t;ä¼uot;ä¢".split("").map(e=>e.charCodeAt(0))),eX=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),eJ=null!=(tR=String.fromCodePoint)?tR:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function eQ(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!=(t=eX.get(e))?t:e}function eZ(e){return e>=tD.ZERO&&e<=tD.NINE}(tE=tD||(tD={}))[tE.NUM=35]="NUM",tE[tE.SEMI=59]="SEMI",tE[tE.EQUALS=61]="EQUALS",tE[tE.ZERO=48]="ZERO",tE[tE.NINE=57]="NINE",tE[tE.LOWER_A=97]="LOWER_A",tE[tE.LOWER_F=102]="LOWER_F",tE[tE.LOWER_X=120]="LOWER_X",tE[tE.LOWER_Z=122]="LOWER_Z",tE[tE.UPPER_A=65]="UPPER_A",tE[tE.UPPER_F=70]="UPPER_F",tE[tE.UPPER_Z=90]="UPPER_Z",(tT=tB||(tB={}))[tT.VALUE_LENGTH=49152]="VALUE_LENGTH",tT[tT.BRANCH_LENGTH=16256]="BRANCH_LENGTH",tT[tT.JUMP_TABLE=127]="JUMP_TABLE",(tO=tq||(tq={}))[tO.EntityStart=0]="EntityStart",tO[tO.NumericStart=1]="NumericStart",tO[tO.NumericDecimal=2]="NumericDecimal",tO[tO.NumericHex=3]="NumericHex",tO[tO.NamedEntity=4]="NamedEntity",(tC=t$||(t$={}))[tC.Legacy=0]="Legacy",tC[tC.Strict=1]="Strict",tC[tC.Attribute=2]="Attribute";class e0{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=tq.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=t$.Strict}startEntity(e){this.decodeMode=e,this.state=tq.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case tq.EntityStart:if(e.charCodeAt(t)===tD.NUM)return this.state=tq.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=tq.NamedEntity,this.stateNamedEntity(e,t);case tq.NumericStart:return this.stateNumericStart(e,t);case tq.NumericDecimal:return this.stateNumericDecimal(e,t);case tq.NumericHex:return this.stateNumericHex(e,t);case tq.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===tD.LOWER_X?(this.state=tq.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=tq.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){let i=r-t;
16this.result=this.result*Math.pow(n,i)+parseInt(e.substr(t,i),n),this.consumed+=i}}stateNumericHex(e,t){let r=t;for(;t<e.length;){var n;let i=e.charCodeAt(t);if(!eZ(i)&&(!((n=i)>=tD.UPPER_A)||!(n<=tD.UPPER_F))&&(!(n>=tD.LOWER_A)||!(n<=tD.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){let r=t;for(;t<e.length;){let n=e.charCodeAt(t);if(!eZ(n))return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2);t+=1}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r;if(this.consumed<=t)return null==(r=this.errors)||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===tD.SEMI)this.consumed+=1;else if(this.decodeMode===t$.Strict)return 0;return this.emitCodePoint(eQ(this.result),this.consumed),this.errors&&(e!==tD.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:r}=this,n=r[this.treeIndex],i=(n&tB.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let s=e.charCodeAt(t);if(this.treeIndex=e2(r,n,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return 0===this.result||this.decodeMode===t$.Attribute&&(0===i||function(e){var t;return e===tD.EQUALS||(t=e)>=tD.UPPER_A&&t<=tD.UPPER_Z||t>=tD.LOWER_A&&t<=tD.LOWER_Z||eZ(t)}(s))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((n=r[this.treeIndex])&tB.VALUE_LENGTH)>>14)){if(s===tD.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==t$.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:r}=this,n=(r[t]&tB.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){let{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~tB.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case tq.NamedEntity:return 0!==this.result&&(this.decodeMode!==t$.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case tq.NumericDecimal:return this.emitNumericEntity(0,2);case tq.NumericHex:return this.emitNumericEntity(0,3);case tq.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case tq.EntityStart:return 0}}}function e1(e){let t="",r=new e0(e,e=>t+=eJ(e));return function(e,n){let i=0,s=0;for(;(s=e.indexOf("&",s))>=0;){t+=e.slice(i,s),r.startEntity(n);let a=r.write(e,s+1);if(a<0){i=s+r.end();break}i=s+a,s=0===a?i+1:i}let a=t+e.slice(i);return t="",a}}function e2(e,t,r,n){let i=(t&tB.BRANCH_LENGTH)>>7,s=t&tB.JUMP_TABLE;if(0===i)return 0!==s&&n===s?r:-1;if(s){let t=n-s;return t<0||t>=i?-1:e[r+t]-1}let a=r,o=a+i-1;for(;a<=o;){let t=a+o>>>1,r=e[t];if(r<n)a=t+1;else{if(!(r>n))return e[t+i];o=t-1}}return -1}function e3(e){return e===tW.Space||e===tW.NewLine||e===tW.Tab||e===tW.FormFeed||e===tW.CarriageReturn}function e5(e){return e===tW.Slash||e===tW.Gt||e3(e)}function e4(e){return e>=tW.Zero&&e<=tW.Nine}e1(eY),e1(eK),(tP=tW||(tW={}))[tP.Tab=9]="Tab",tP[tP.NewLine=10]="NewLine",tP[tP.FormFeed=12]="FormFeed",tP[tP.CarriageReturn=13]="CarriageReturn",tP[tP.Space=32]="Space",tP[tP.ExclamationMark=33]="ExclamationMark",tP[tP.Number=35]="Number",tP[tP.Amp=38]="Amp",tP[tP.SingleQuote=39]="SingleQuote",tP[tP.DoubleQuote=34]="DoubleQuote",tP[tP.Dash=45]="Dash",tP[tP.Slash=47]="Slash",tP[tP.Zero=48]="Zero",tP[tP.Nine=57]="Nine",tP[tP.Semi=59]="Semi",tP[tP.Lt=60]="Lt",tP[tP.Eq=61]="Eq",tP[tP.Gt=62]="Gt",tP[tP.Questionmark=63]="Questionmark",tP[tP.UpperA=65]="UpperA",tP[tP.LowerA=97]="LowerA",tP[tP.UpperF=70]="UpperF",tP[tP.LowerF=102]="LowerF",tP[tP.UpperZ=90]="UpperZ",tP[tP.LowerZ=122]="LowerZ",tP[tP.LowerX=120]="LowerX",tP[tP.OpeningSquareBracket=91]="OpeningSquareBracket",(tL=tU||(tU={}))[tL.Text=1]="Text",tL[tL.BeforeTagName=2]="BeforeTagName",tL[tL.InTagName=3]="InTagName",tL[tL.InSelfClosingTag=4]="InSelfClosingTag",tL[tL.BeforeClosingTagName=5]="BeforeClosingTagName",tL[tL.InClosingTagName=6]="InClosingTagName",tL[tL.AfterClosingTagName=7]="AfterClosingTagName",tL[tL.BeforeAttributeName=8]="BeforeAttributeName",tL[tL.InAttributeName=9]="InAttributeName",tL[tL.AfterAttributeName=10]="AfterAttributeName",tL[tL.BeforeAttributeValue=11]="BeforeAttributeValue",tL[tL.InAttributeValueDq=12]="InAttributeValueDq",tL[tL.InAttributeValueSq=13]="InAttributeValueSq",tL[tL.InAttributeValueNq=14]="InAttributeValueNq",tL[tL.BeforeDeclaration=15]="BeforeDeclaration",tL[tL.InDeclaration=16]="InDeclaration",tL[tL.InProcessingInstruction=17]="InProcessingInstruction",tL[tL.BeforeComment=18]="BeforeComment",tL[tL.CDATASequence=19]="CDATASequence",tL[tL.InSpecialComment=20]="InSpecialComment",tL[tL.InCommentLike=21]="InCommentLike",tL[tL.BeforeSpecialS=22]="BeforeSpecialS",tL[tL.SpecialStartSequence=23]="SpecialStartSequence",tL[tL.InSpecialTag=24]="InSpecialTag",tL[tL.BeforeEntity=25]="BeforeEntity",tL[tL.BeforeNumericEntity=26]="BeforeNumericEntity",tL[tL.InNamedEntity=27]="InNamedEntity",tL[tL.InNumericEntity=28]="InNumericEntity",tL[tL.InHexEntity=29]="InHexEntity",(tA=tH||(tH={}))[tA.NoValue=0]="NoValue",tA[tA.Unquoted=1]="Unquoted",tA[tA.Single=2]="Single",tA[tA.Double=3]="Double";let e6={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};class e8{constructor({xmlMode:e=!1,decodeEntities:t=!0},r){this.cbs=r,this.state=tU.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=tU.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=e,this.decodeEntities=t,this.entityTrie=e?eK:eY}reset(){this.state=tU.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=tU.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}getIndex(){return this.index}getSectionStart(){return this.sectionStart}stateText(e){e===tW.Lt||!this.decodeEntities&&this.fastForwardTo(tW.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=tU.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===tW.Amp&&(this.state=tU.BeforeEntity)}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(t?e5(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=tU.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===tW.Gt||e3(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===e6.TitleEnd?this.decodeEntities&&e===tW.Amp&&(this.state=tU.BeforeEntity):this.fastForwardTo(tW.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===tW.Lt)}stateCDATASequence(e){e===e6.Cdata[this.sequenceIndex]?++this.sequenceIndex===e6.Cdata.length&&(this.state=tU.InCommentLike,this.currentSequence=e6.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=tU.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===e6.
16CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=tU.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!e5(e):e>=tW.LowerA&&e<=tW.LowerZ||e>=tW.UpperA&&e<=tW.UpperZ}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=tU.SpecialStartSequence}stateBeforeTagName(e){if(e===tW.ExclamationMark)this.state=tU.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===tW.Questionmark)this.state=tU.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){let t=32|e;this.sectionStart=this.index,this.xmlMode||t!==e6.TitleEnd[2]?this.state=this.xmlMode||t!==e6.ScriptEnd[2]?tU.InTagName:tU.BeforeSpecialS:this.startSpecial(e6.TitleEnd,3)}else e===tW.Slash?this.state=tU.BeforeClosingTagName:(this.state=tU.Text,this.stateText(e))}stateInTagName(e){e5(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=tU.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){e3(e)||(e===tW.Gt?this.state=tU.Text:(this.state=this.isTagStartChar(e)?tU.InClosingTagName:tU.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===tW.Gt||e3(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=tU.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===tW.Gt||this.fastForwardTo(tW.Gt))&&(this.state=tU.Text,this.baseState=tU.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===tW.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=tU.InSpecialTag,this.sequenceIndex=0):this.state=tU.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===tW.Slash?this.state=tU.InSelfClosingTag:e3(e)||(this.state=tU.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===tW.Gt?(this.cbs.onselfclosingtag(this.index),this.state=tU.Text,this.baseState=tU.Text,this.sectionStart=this.index+1,this.isSpecial=!1):e3(e)||(this.state=tU.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===tW.Eq||e5(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=tU.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===tW.Eq?this.state=tU.BeforeAttributeValue:e===tW.Slash||e===tW.Gt?(this.cbs.onattribend(tH.NoValue,this.index),this.state=tU.BeforeAttributeName,this.stateBeforeAttributeName(e)):e3(e)||(this.cbs.onattribend(tH.NoValue,this.index),this.state=tU.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===tW.DoubleQuote?(this.state=tU.InAttributeValueDq,this.sectionStart=this.index+1):e===tW.SingleQuote?(this.state=tU.InAttributeValueSq,this.sectionStart=this.index+1):e3(e)||(this.sectionStart=this.index,this.state=tU.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===tW.DoubleQuote?tH.Double:tH.Single,this.index),this.state=tU.BeforeAttributeName):this.decodeEntities&&e===tW.Amp&&(this.baseState=this.state,this.state=tU.BeforeEntity)}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,tW.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,tW.SingleQuote)}stateInAttributeValueNoQuotes(e){e3(e)||e===tW.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(tH.Unquoted,this.index),this.state=tU.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===tW.Amp&&(this.baseState=this.state,this.state=tU.BeforeEntity)}stateBeforeDeclaration(e){e===tW.OpeningSquareBracket?(this.state=tU.CDATASequence,this.sequenceIndex=0):this.state=e===tW.Dash?tU.BeforeComment:tU.InDeclaration}stateInDeclaration(e){(e===tW.Gt||this.fastForwardTo(tW.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=tU.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===tW.Gt||this.fastForwardTo(tW.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=tU.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===tW.Dash?(this.state=tU.InCommentLike,this.currentSequence=e6.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=tU.InDeclaration}stateInSpecialComment(e){(e===tW.Gt||this.fastForwardTo(tW.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=tU.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){let t=32|e;t===e6.ScriptEnd[3]?this.startSpecial(e6.ScriptEnd,4):t===e6.StyleEnd[3]?this.startSpecial(e6.StyleEnd,4):(this.state=tU.InTagName,this.stateInTagName(e))}stateBeforeEntity(e){this.entityExcess=1,this.entityResult=0,e===tW.Number?this.state=tU.BeforeNumericEntity:e===tW.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=tU.InNamedEntity,this.stateInNamedEntity(e))}stateInNamedEntity(e){if(this.entityExcess+=1,this.trieIndex=e2(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];let t=this.trieCurrent&tB.VALUE_LENGTH;if(t){let r=(t>>14)-1;if(this.allowLegacyEntity()||e===tW.Semi){let e=this.index-this.entityExcess+1;e>this.sectionStart&&this.emitPartial(this.sectionStart,e),this.entityResult=this.trieIndex,this.trieIndex+=r,this.entityExcess=0,this.sectionStart=this.index+1,0===r&&this.emitNamedEntity()}else this.trieIndex+=r}}emitNamedEntity(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&tB.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~tB.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}stateBeforeNumericEntity(e){(32|e)===tW.LowerX?(this.entityExcess++,this.state=tU.InHexEntity):(this.state=tU.InNumericEntity,this.stateInNumericEntity(e))}emitNumericEntity(e){let t=this.index-this.entityExcess-1;t+2+Number(this.state===tU.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint(eQ(this.entityResult))),this.state=this.baseState}stateInNumericEntity(e){e===tW.Semi?this.emitNumericEntity(!0):e4(e)?(this.entityResult=10*this.entityResult+(e-tW.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}stateInHexEntity(e){if(e===tW.Semi)this.emitNumericEntity(!0);else if(e4(e))this.entityResult=16*this.entityResult+(e-tW.Zero),this.entityExcess++;else e>=tW.UpperA&&e<=tW.UpperF||e>=tW.LowerA&&e<=tW.LowerF?(this.entityResult=16*this.entityResult+((32|e)-tW.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===tU.Text||this.baseState===tU.InSpecialTag)}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===tU.Text||this.state===tU.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===tU.InAttributeValueDq||this.state===tU.InAttributeValueSq||this.state===tU.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case tU.Text:this.stateText(e);break;case tU.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case tU.InSpecialTag:this.stateInSpecialTag(e);break;case tU.CDATASequence:this.stateCDATASequence(e);break;case tU.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case tU.InAttributeName:this.stateInAttributeName(e);break;case tU.InCommentLike:this.stateInCommentLike(e);break;case tU.InSpecialComment:this.stateInSpecialComment(e);break;case tU.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case tU.InTagName:this.stateInTagName(e);break;case tU.InClosingTagName:this.stateInClosingTagName(e);break;case tU.BeforeTagName:this.stateBeforeTagName(e);break;case tU.AfterAttributeName:this.stateAfterAttributeName(e);break;case tU.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case tU.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case tU.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case tU.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case tU.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case tU.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case tU.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case tU.InDeclaration:this.stateInDeclaration(e);break;case tU.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case tU.BeforeComment:this.stateBeforeComment(e);break;case tU.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case tU.InNamedEntity:this.stateInNamedEntity(e);break;case tU.BeforeEntity:this.stateBeforeEntity(e);break;case tU.InHexEntity:this.stateInHexEntity(e);break;case tU.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()}finish(){this.state===tU.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length+this.offset;
vendor: 1,730 bytes, line 16
16this.state===tU.InCommentLike?this.currentSequence===e6.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===tU.InNumericEntity&&this.allowLegacyEntity()||this.state===tU.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===tU.InTagName||this.state===tU.BeforeAttributeName||this.state===tU.BeforeAttributeValue||this.state===tU.AfterAttributeName||this.state===tU.InAttributeName||this.state===tU.InAttributeValueSq||this.state===tU.InAttributeValueDq||this.state===tU.InAttributeValueNq||this.state===tU.InClosingTagName||this.cbs.ontext(this.sectionStart,e)}emitPartial(e,t){this.baseState!==tU.Text&&this.baseState!==tU.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)}emitCodePoint(e){this.baseState!==tU.Text&&this.baseState!==tU.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)}}let e9=new Set(["input","option","optgroup","select","button","datalist","textarea"]),e7=new Set(["p"]),te=new Set(["thead","tbody"]),tt=new Set(["dd","dt"]),tr=new Set(["rt","rp"]),tn=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",e7],["h1",e7],["h2",e7],["h3",e7],["h4",e7],["h5",e7],["h6",e7],["select",e9],["input",e9],["output",e9],["button",e9],["datalist",e9],["textarea",e9],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",tt],["dt",tt],["address",e7],["article",e7],["aside",e7],["blockquote",e7],["details",e7],["div",e7],["dl",e7],["fieldset",e7],["figcaption",e7],["figure",e7],["footer",e7],["form",e7],["header",e7],["hr",e7],["main",e7],["nav",e7],["ol",e7],["pre",e7
16],["section",e7],["table",e7],["ul",e7],["rt",tr],["rp",tr],["tbody",te],["tfoot",te]]),ti=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),ts=new Set(["math","svg"]),ta=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),to=/\s|\//;class tl{constructor(e,t={}){var r,n,i,s,a;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!=(r=t.lowerCaseTags)?r:!t.xmlMode,this.lowerCaseAttributeNames=null!=(n=t.lowerCaseAttributeNames)?n:!t.xmlMode,this.tokenizer=new(null!=(i=t.Tokenizer)?i:e8)(this.options,this),null==(a=(s=this.cbs).onparserinit)||a.call(s,this)}ontext(e,t){var r,n;let i=this.getSlice(e,t);this.endIndex=t-1,null==(n=(r=this.cbs).ontext)||n.call(r,i),this.startIndex=t}ontextentity(e){var t,r;let n=this.tokenizer.getSectionStart();this.endIndex=n-1,null==(r=(t=this.cbs).ontext)||r.call(t,eJ(e)),this.startIndex=n}isVoidElement(e){return!this.options.xmlMode&&ti.has(e)}onopentagname(e,t){this.endIndex=t;let r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)}emitOpenTag(e){var t,r,n,i;this.openTagStart=this.startIndex,this.tagname=e;let s=!this.options.xmlMode&&tn.get(e);if(s)for(;this.stack.length>0&&s.has(this.stack[this.stack.length-1]);){let e=this.stack.pop();null==(r=(t=this.cbs).onclosetag)||r.call(t,e,!0)}!this.isVoidElement(e)&&(this.stack.push(e),ts.has(e)?this.foreignContext.push(!0):ta.has(e)&&this.foreignContext.push(!1)),null==(i=(n=this.cbs).onopentagname)||i.call(n,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&(null==(r=(t=this.cbs).onopentag)||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var r,n,i,s,a,o;this.endIndex=t;let l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(ts.has(l)||ta.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))this.options.xmlMode||"br"!==l||(null==(n=(r=this.cbs).onopentagname)||n.call(r,"br"),null==(s=(i=this.cbs).onopentag)||s.call(i,"br",{},!0),null==(o=(a=this.cbs).onclosetag)||o.call(a,"br",!1));else{let e=this.stack.lastIndexOf(l);if(-1!==e)if(this.cbs.onclosetag){let t=this.stack.length-e;for(;t--;)this.cbs.onclosetag(this.stack.pop(),0!==t)}else this.stack.length=e;else this.options.xmlMode||"p"!==l||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,r;let n=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===n&&(null==(r=(t=this.cbs).onclosetag)||r.call(t,n,!e),this.stack.pop())}onattribname(e,t){this.startIndex=e;let r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=eJ(e)}onattribend(e,t){var r,n;this.endIndex=t,null==(n=(r=this.cbs).onattribute)||n.call(r,this.attribname,this.attribvalue,e===tH.Double?'"':e===tH.Single?"'":e===tH.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){let t=e.search(to),r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(e,t){this.endIndex=t;let r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${e}`,`!${r}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${e}`,`?${r}`)}this.startIndex=t+1}oncomment(e,t,r){var n,i,s,a;this.endIndex=t,null==(i=(n=this.cbs).oncomment)||i.call(n,this.get
16Slice(e,t-r)),null==(a=(s=this.cbs).oncommentend)||a.call(s),this.startIndex=t+1}oncdata(e,t,r){var n,i,s,a,o,l,u,c,d,h;this.endIndex=t;let f=this.getSlice(e,t-r);this.options.xmlMode||this.options.recognizeCDATA?(null==(i=(n=this.cbs).oncdatastart)||i.call(n),null==(a=(s=this.cbs).ontext)||a.call(s,f),null==(l=(o=this.cbs).oncdataend)||l.call(o)):(null==(c=(u=this.cbs).oncomment)||c.call(u,`[CDATA[${f}]]`),null==(h=(d=this.cbs).oncommentend)||h.call(d)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=this.stack.length;e>0;this.cbs.onclosetag(this.stack[--e],!0));}null==(t=(e=this.cbs).onend)||t.call(e)}reset(){var e,t,r,n;null==(t=(e=this.cbs).onreset)||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null==(n=(r=this.cbs).onparserinit)||n.call(r,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,r;if(this.ended){null==(r=(t=this.cbs).onerror)||r.call(t,Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var t,r;if(this.ended){null==(r=(t=this.cbs).onerror)||r.call(t,Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}}let tu=/["&'<>$\x80-\uFFFF]/g,tc=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),td=null!=String.prototype.codePointAt?(e,t)=>e.codePointAt(t):(e,t)=>(64512&e.charCodeAt(t))==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function th(e){let t,r="",n=0;for(;null!==(t=tu.exec(e));){let i=t.index,s=e.charCodeAt(i),a=tc.get(s);void 0!==a?(r+=e.substring(n,i)+a,n=i+1):(r+=`${e.substring(n,i)}&#x${td(e,i).toString(16)};`,n=tu.lastIndex+=Number((64512&s)==55296))}return r+e.substr(n)}function tf(e,t){return function(r){let n,i=0,s="";for(;n=e.exec(r);)i!==n.index&&(s+=r.substring(i,n.index)),s+=t.get(n[0].charCodeAt(0)),i=n.index+1;return s+r.substring(i)}}tf(/[&<>'"]/g,tc);let tp=tf(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),tm=tf(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));(tI=tz||(tz={}))[tI.XML=0]="XML",tI[tI.HTML=1]="HTML",(tM=tF||(tF={}))[tM.UTF8=0]="UTF8",tM[tM.ASCII=1]="ASCII",tM[tM.Extensive=2]="Extensive",tM[tM.Attribute=3]="Attribute",tM[tM.Text=4]="Text";let tg=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),ty=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),tb=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function tv(e){return e.replace(/"/g,""")}let tw=new Set(["area","base","basefont","br","col","command","embed","frame","hr","
16img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function tk(e,t={}){let r="length"in e?e:[e],h="";for(let e=0;e<r.length;e++)h+=function(e,t){var r,h,f;switch(e.type){case n:return tk(e.children,t);case d:case s:return r=e,`<${r.data}>`;case a:return h=e,`<!--${h.data}-->`;case c:return f=e,`<![CDATA[${f.children[0].data}]]>`;case o:case l:case u:return function(e,t){var r;"foreign"===t.xmlMode&&(e.name=null!=(r=tg.get(e.name))?r:e.name,e.parent&&t_.has(e.parent.name)&&(t={...t,xmlMode:!1})),!t.xmlMode&&tx.has(e.name)&&(t={...t,xmlMode:"foreign"});let n=`<${e.name}`,i=function(e,t){var r;if(!e)return;let n=(null!=(r=t.encodeEntities)?r:t.decodeEntities)===!1?tv:t.xmlMode||"utf8"!==t.encodeEntities?th:tp;return Object.keys(e).map(r=>{var i,s;let a=null!=(i=e[r])?i:"";return("foreign"===t.xmlMode&&(r=null!=(s=ty.get(r))?s:r),t.emptyAttrs||t.xmlMode||""!==a)?`${r}="${n(a)}"`:r}).join(" ")}(e.attribs,t);return i&&(n+=` ${i}`),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&tw.has(e.name))?(t.xmlMode||(n+=" "),n+="/>"):(n+=">",e.children.length>0&&(n+=tk(e.children,t)),(t.xmlMode||!tw.has(e.name))&&(n+=`</${e.name}>`)),n}(e,t);case i:return function(e,t){var r;let n=e.data||"";return(null!=(r=t.encodeEntities)?r:t.decodeEntities)===!1||!t.xmlMode&&e.parent&&tb.has(e.parent.name)||(n=t.xmlMode||"utf8"!==t.encodeEntities?th(n):tm(n)),n}(e,t)}}(r[e],t);return h}let t_=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),tx=new Set(["svg","math"]);(tj=tV||(tV={}))[tj.DISCONNECTED=1]="DISCONNECTED",tj[tj.PRECEDING=2]="PRECEDING",tj[tj.FOLLOWING=4]="FOLLOWING",tj[tj.CONTAINS=8]="CONTAINS",tj[tj.CONTAINED_BY=16]="CONTAINED_BY";var tS,tE,tT,tO,tC,tP,tL,tA,tI,tM,tj,tN,tR,tD,tB,tq,t$,tW,tU,tH,tz,tF,tV,tG=r(44852);function tY(e,t,r=()=>void 0){if(void 0===e){let e=function(...r){return t(e,...r)};return e}return e>=0?function(...n){return t(tY(e-1,t,r),...n)}:r}function tK(e,t){let r=0,n=e.length;for(;r<n&&e[r]===t;)++r;for(;n>r&&e[n-1]===t;)--n;return r>0||n<e.length?e.substring(r,n):e}function tX(e,t){let r=new Map;for(let n=e.length;n-- >0;){let i=e[n],s=t(i);r.set(s,r.has(s)?tG(i,r.get(s),{arrayMerge:tJ}):i)}return[...r.values()].reverse()}let tJ=(e,t,r)=>[...t];function tQ(e,t){for(let r of t){if(!e)return;e=e[r]}return e}function tZ(e,t="a",r=26){let n=[];do n.push((e-=1)%r),e=e/r|0;while(e>0);let i=t.charCodeAt(0);return n.reverse().map(e=>String.fromCharCode(i+e)).join("")}let t0=["I","X","C","M"],t1=["V","L","D"];function t2(e){return[...e+""].map(e=>+e).reverse().map((e,t)=>e%5<4?(e<5?"":t1[t])+t0[t].repeat(e%5):t0[t]+(e<5?t1[t]:t0[t+1])).reverse().join("")}class t3{constructor(e,t){this.lines=[],this.nextLineWords=[],this.maxLineLength=t||e.wordwrap||Number.MAX_VALUE,this.nextLineAvailableChars=this.maxLineLength,this.wrapCharacters=tQ(e,["longWordSplit","wrapCharacters"])||[],this.forceWrapOnLimit=tQ(e,["longWordSplit","forceWrapOnLimit"])||!1,this.stashedSpace=!1,this.wordBreakOpportunity=!1}pushWord(e,t=!1){this.nextLineAvailableChars<=0&&!t&&this.startNewLine();let r=0===this.nextLineWords.length,n=e.length+ +!r;if(n<=this.nextLineAvailableChars||t)this.nextLineWords.push(e),this.nextLineAvailableChars-=n;else{let[t,...n]=this.splitLongWord(e);for(let e of(r||this.startNewLine(),this.nextLineWords.push(t),this.nextLineAvailableChars-=t.length,n))this.startNewLine(),this.nextLineWords.push(e),this.nextLineAvailableChars-=e.length}}popWord(){let e=this.nextLineWords.pop();if(void 0!==e){let t=0===this.nextLineWords.length,r=e.length+ +!t;this.nextLineAvailableChars+=r}return e}concatWord(e,t=!1){if(this.wordBreakOpportunity&&e.length>this.nextLineAvailableChars)this.pushWord(e,t),this.wordBreakOpportunity=!1;else{let r=this.popWord();this.pushWord(r?r.concat(e):e,t)}}startNewLine(e=1){this.lines.push(this.nextLineWords),e>1&&this.lines.push(...Array.from({length:e-1},()=>[])),this.nextLineWords=[],this.nextLineAvailableChars=this.maxLineLength}isEmpty(){return 0===this.lines.length&&0===this.nextLineWords.length}clear(){this.lines.length=0,this.nextLineWords.length=0,this.nextLineAvailableChars=this.maxLineLength}toString(){return[...this.lines,this.nextLineWords].map(e=>e.join(" ")).join("\n")}splitLongWord(e){let t=[],r=0;for(;e.length>this.maxLineLength;){let n=e.substring(0,this.maxLineLength),i=e.substring(this.maxLineLength),s=n.lastIndexOf(this.wrapCharacters[r]);if(s>-1)e=n.substring(s+1)+i,t.push(n.substring(0,s+1));else if(++r<this.wrapCharacters.length)e=n+i;else{if(this.forceWrapOnLimit){if(t.push(n),(e=i).length>this.maxLineLength)continue}else e=n+i;break}}return t.push(e),t}}class t5{constructor(e=null){this.next=e}getRoot(){return this.next?this.next:this}}class t4 extends t5{constructor(e,t=null,r=1,n){super(t),this.leadingLineBreaks=r,this.inlineTextBuilder=new t3(e,n),this.rawText="",this.stashedLineBreaks=0,this.isPre=t&&t.isPre,this.isNoWrap=t&&t.isNoWrap}}class t6 extends t4{constructor(e,t=null,{interRowLineBreaks:r=1,leadingLineBreaks:n=2,maxLineLength:i,maxPrefixLength:s=0,prefixAlign:a="left"}={}){super(e,t,n,i),this.maxPrefixLength=s,this.prefixAlign=a,this.interRowLineBreaks=r}}class t8 extends t4{constructor(e,t=null,{leadingLineBreaks:r=1,maxLineLength:n,prefix:i=""}={}){super(e,t,r,n),this.prefix=i}}class t9 extends t5{constructor(e=null){super(e),this.rows=[],this.isPre=e&&e.isPre,this.isNoWrap=e&&e.isNoWrap}}class t7 extends t5{constructor(e=null){super(e),this.cells=[],this.isPre=e&&e.isPre,this.isNoWrap=e&&e.isNoWrap}}class re extends t5{constructor(e,t=null,r){super(t),this.inlineTextBuilder=new t3(e,r),this.rawText="",this.stashedLineBreaks=0,this.isPre=t&&t.isPre,this.isNoWrap=t&&t.isNoWrap}}class rt extends t5{constructor(e=null,t){super(e),this.transform=t}}class rr{constructor(e){this.whitespaceChars=e.preserveNewlines?e.whitespaceCharacters.replace(/\n/g,""):e.whitespaceCharacters;const t=[...this.whitespaceChars].map(e=>"\\u"+e.charCodeAt(0).toString(16).padStart(4,"0")).join("");if(this.leadingWhitespaceRe=RegExp(`^[${t}]`),this.trailingWhitespaceRe=RegExp(`[${t}]$`),this.allWhitespaceOrEmptyRe=RegExp(`^[${t}]*$`),this.newlineOrNonWhitespaceRe=RegExp(`(\\n|[^\\n${t}])`,"g"),this.newlineOrNonNewlineStringRe=RegExp(`(\\n|[^\\n]+)`,"g"),e.preserveNewlines){const e=RegExp(`\\n|[^\\n${t}]+`,"gm");this.shrinkWrapAdd=function(t,r,n=e=>e,i=!1){if(!t)return;let s=r.stashedSpace,a=!1,o=e.exec(t);if(o)for(a=!0,"\n"===o[0]?r.startNewLine():s||this.testLeadingWhitespace(t)?r.pushWord(n(o[0]),i):r.concatWord(n(o[0]),i);null!==(o=e.exec(t));)"\n"===o[0]?r.startNewLine():r.pushWord(n(o[0]),i);r.stashedSpace=s&&!a||this.testTrailingWhitespace(t)}}else{const e=RegExp(`[^${t}]+`,"g");this.shrinkWrapAdd=function(t,r,n=e=>e,i=!1){if(!t)return;let s=r.stashedSpace,a=!1,o=e.exec(t);if(o)for(a=!0,s||this.testLeadingWhitespace(t)?r.pushWord(n(o[0]),i):r.concatWord(n(o[0]),i);null!==(o=e.exec(t));)r.pushWord(n(o[0]),i);r.stashedSpace=s&&!a||this.testTrailingWhitespace(t)}}}addLiteral(e,t,r=!0){if(!e)return;let n=t.stashedSpace,i=!1,s=this.newlineOrNonNewlineStringRe.exec(e);if(s)for(i=!0,"\n"===s[0]?t.startNewLine():n?t.pushWord(s[0],r):t.concatWord(s[0],r);null!==(s=this.newlineOrNonNewlineStringRe.exec(e));)"\n"===s[0]?t.startNewLine():t.pushWord(s[0],r);t.stashedSpace=n&&!i}testLeadingWhitespace(e){return this.leadingWhitespaceRe.test(e)}testTrailingWhitespace(e){return this.trailingWhitespaceRe.test(e)}testContainsWords(e){return!this.allWhitespaceOrEmptyRe.test(e)}countNewlinesNoWords(e){let t;this.newlineOrNonWhitespaceRe.lastIndex=0;let r=0;for(;null!==(t=this.newlineOrNonWhitespaceRe.exec(e));)if("\n"!==t[0])return 0;else r++;return r}}class rn{constructor(e,t,r){this.options=e,this.picker=t,this.metadata=r,this.whitespaceProcessor=new rr(e),this._stackItem=new t4(e),this._wordTransformer=void 0}pushWordTransform(e){this._wordTransformer=new rt(this._wordTransformer,e)}popWordTransform(){if(!this._wordTransformer)return;let e=this._wordTransformer.transform;return this._wordTransformer=this._wordTransformer.next,e}startNoWrap(){this._stackItem.isNoWrap=!0}
16stopNoWrap(){this._stackItem.isNoWrap=!1}_getCombinedWordTransformer(){let e=this._wordTransformer?e=>(function e(t,r){return r?e(r.transform(t),r.next):t})(e,this._wordTransformer):void 0,t=this.options.encodeCharacters;return e?t?r=>t(e(r)):e:t}_popStackItem(){let e=this._stackItem;return this._stackItem=e.next,e}addLineBreak(){(this._stackItem instanceof t4||this._stackItem instanceof t8||this._stackItem instanceof re)&&(this._stackItem.isPre?this._stackItem.rawText+="\n":this._stackItem.inlineTextBuilder.startNewLine())}addWordBreakOpportunity(){(this._stackItem instanceof t4||this._stackItem instanceof t8||this._stackItem instanceof re)&&(this._stackItem.inlineTextBuilder.wordBreakOpportunity=!0)}addInline(e,{noWordTransform:t=!1}={}){if(this._stackItem instanceof t4||this._stackItem instanceof t8||this._stackItem instanceof re){if(this._stackItem.isPre){this._stackItem.rawText+=e;return}if(0!==e.length&&(!this._stackItem.stashedLineBreaks||this.whitespaceProcessor.testContainsWords(e))){if(this.options.preserveNewlines){let t=this.whitespaceProcessor.countNewlinesNoWords(e);if(t>0)return void this._stackItem.inlineTextBuilder.startNewLine(t)}this._stackItem.stashedLineBreaks&&this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks),this.whitespaceProcessor.shrinkWrapAdd(e,this._stackItem.inlineTextBuilder,t?void 0:this._getCombinedWordTransformer(),this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}}}addLiteral(e){if((this._stackItem instanceof t4||this._stackItem instanceof t8||this._stackItem instanceof re)&&0!==e.length){if(this._stackItem.isPre){this._stackItem.rawText+=e;return}this._stackItem.stashedLineBreaks&&this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks),this.whitespaceProcessor.addLiteral(e,this._stackItem.inlineTextBuilder,this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}}openBlock({leadingLineBreaks:e=1,reservedLineLength:t=0,isPre:r=!1}={}){let n=Math.max(20,this._stackItem.inlineTextBuilder.maxLineLength-t);this._stackItem=new t4(this.options,this._stackItem,e,n),r&&(this._stackItem.isPre=!0)}closeBlock({trailingLineBreaks:e=1,blockTransform:t}={}){let r=this._popStackItem(),n=t?t(ri(r)):ri(r);rs(this._stackItem,n,r.leadingLineBreaks,Math.max(r.stashedLineBreaks,e))}openList({maxPrefixLength:e=0,prefixAlign:t="left",interRowLineBreaks:r=1,leadingLineBreaks:n=2}={}){this._stackItem=new t6(this.options,this._stackItem,{interRowLineBreaks:r,leadingLineBreaks:n,maxLineLength:this._stackItem.inlineTextBuilder.maxLineLength,maxPrefixLength:e,prefixAlign:t})}openListItem({prefix:e=""}={}){if(!(this._stackItem instanceof t6))throw Error("Can't add a list item to something that is not a list! Check the formatter.");let t=this._stackItem,r=Math.max(e.length,t.maxPrefixLength),n=Math.max(20,t.inlineTextBuilder.maxLineLength-r);this._stackItem=new t8(this.options,t,{prefix:e,maxLineLength:n,leadingLineBreaks:t.interRowLineBreaks})}closeListItem(){let e=this._popStackItem(),t=e.next,r=Math.max(e.prefix.length,t.maxPrefixLength),n="\n"+" ".repeat(r),i=("right"===t.prefixAlign?e.prefix.padStart(r):e.prefix.padEnd(r))+ri(e).replace(/\n/g,n);rs(t,i,e.leadingLineBreaks,Math.max(e.stashedLineBreaks,t.interRowLineBreaks))}closeList({trailingLineBreaks:e=2}={}){let t=this._popStackItem(),r=ri(t);r&&rs(this._stackItem,r,t.leadingLineBreaks,e)}openTable(){this._stackItem=new t9(this._stackItem)}openTableRow(){if(!(this._stackItem instanceof t9))throw Error("Can't add a table row to something that is not a table! Check the formatter.");this._stackItem=new t7(this._stackItem)}openTableCell({maxColumnWidth:e}={}){if(!(this._stackItem instanceof t7))throw Error("Can't add a table cell to something that is not a table row! Check the formatter.");this._stackItem=new re(this.options,this._stackItem,e)}closeTableCell({colspan:e=1,rowspan:t=1}={}){let r=this._popStackItem(),n=tK(ri(r),"\n");r.next.cells.push({colspan:e,rowspan:t,text:n})}closeTableRow(){let e=this._popStackItem();e.next.rows.push(e.cells)}closeTable({tableToString:e,leadingLineBreaks:t=2,trailingLineBreaks:r=2}){let n=e(this._popStackItem().rows);n&&rs(this._stackItem,n,t,r)}toString(){return ri(this._stackItem.getRoot())}}function ri(e){if(!(e instanceof t4||e instanceof t8||e instanceof re))throw Error("Only blocks, list items and table cells can be requested for text contents.");return e.inlineTextBuilder.isEmpty()?e.rawText:e.rawText+e.inlineTextBuilder.toString()}function rs(e,t,r,n){if(!(e instanceof t4||e instanceof t8||e instanceof re))throw Error("Only blocks, list items and table cells can contain text.");let i=ri(e),s=Math.max(e.stashedLineBreaks,r);e.inlineTextBuilder.clear(),i?e.rawText=i+"\n".repeat(s)+t:(e.rawText=t,e.leadingLineBreaks=s),e.stashedLineBreaks=n}function ra(e,t,r){if(!t)return;let n=r.options;for(let i of(t.length>n.limits.maxChildNodes&&(t=t.slice(0,n.limits.maxChildNodes)).push({data:n.limits.ellipsis,type:"text"}),t))switch(i.type){case"text":r.addInline(i.data);break;case"tag":{let t=r.picker.pick1(i);(0,n.formatters[t.format])(i,e,r,t.options||{})}}}function ro(e){let t=e.attribs&&e.attribs.length?" "+Object.entries(e.attribs).map(([e,t])=>""===t?e:`${e}=${t.replace(/"/g,""")}`).join(" "):"";return`<${e.name}${t}>`}function rl(e){return`</${e.name}>`}var ru=Object.freeze({__proto__:null,block:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},blockHtml:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),r.startNoWrap(),r.addLiteral(tk(e,{decodeEntities:r.options.decodeEntities}
16)),r.stopNoWrap(),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},blockString:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),r.addLiteral(n.string||""),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},blockTag:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),r.startNoWrap(),r.addLiteral(ro(e)),r.stopNoWrap(),t(e.children,r),r.startNoWrap(),r.addLiteral(rl(e)),r.stopNoWrap(),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},inline:function(e,t,r,n){t(e.children,r)},inlineHtml:function(e,t,r,n){r.startNoWrap(),r.addLiteral(tk(e,{decodeEntities:r.options.decodeEntities})),r.stopNoWrap()},inlineString:function(e,t,r,n){r.addLiteral(n.string||"")},inlineSurround:function(e,t,r,n){r.addLiteral(n.prefix||""),t(e.children,r),r.addLiteral(n.suffix||"")},inlineTag:function(e,t,r,n){r.startNoWrap(),r.addLiteral(ro(e)),r.stopNoWrap(),t(e.children,r),r.startNoWrap(),r.addLiteral(rl(e)),r.stopNoWrap()},skip:function(e,t,r,n){}});function rc(e,t){return e[t]||(e[t]=[]),e[t]}function rd(e,t){return void 0===e[t]&&(e[t]=0===t?0:1+rd(e,t-1)),e[t]}function rh(e,t,r,n){e[t+r]=Math.max(rd(e,t+r),rd(e,t)+n)}function rf(e,t){return t?("string"==typeof t[0]?t[0]:"[")+e+("string"==typeof t[1]?t[1]:"]"):e}function rp(e,t,r,n,i){let s="function"==typeof t?t(e,n,i):e;return"/"===s[0]&&r?function(e,t){let r=e.length;for(;r>0&&"/"===e[r-1];)--r;return r<e.length?e.substring(0,r):e}(r,0)+s:s}function rm(e,t,r,n,i){let s="li"===tQ(e,["parent","name"]),a=0,o=(e.children||[]).filter(e=>"text"!==e.type||!/^\s*$/.test(e.data)).map(function(e){if("li"!==e.name)return{node:e,prefix:""};let t=s?i().trimStart():i();return t.length>a&&(a=t.length),{node:e,prefix:t}}
16);if(o.length){for(let{node:e,prefix:i}of(r.openList({interRowLineBreaks:1,leadingLineBreaks:s?1:n.leadingLineBreaks||2,maxPrefixLength:a,prefixAlign:"left"}),o))r.openListItem({prefix:i}),t([e],r),r.closeListItem();r.closeList({trailingLineBreaks:s?1:n.trailingLineBreaks||2})}}function rg(e,t,r,n){function i(e){let i=+tQ(e,["attribs","colspan"])||1,s=+tQ(e,["attribs","rowspan"])||1;r.openTableCell({maxColumnWidth:n.maxColumnWidth}),t(e.children,r),r.closeTableCell({colspan:i,rowspan:s})}r.openTable(),e.children.forEach(function e(t){if("tag"!==t.type)return;let s=!1!==n.uppercaseHeaderCells?e=>{r.pushWordTransform(e=>e.toUpperCase()),i(e),r.popWordTransform()}:i;switch(t.name){case"thead":case"tbody":case"tfoot":case"center":t.children.forEach(e);return;case"tr":for(let e of(r.openTableRow(),t.children))if("tag"===e.type)switch(e.name){case"th":s(e);break;case"td":i(e)}r.closeTableRow()}}),r.closeTable({tableToString:e=>(function(e,t,r){let n=[],i=0,s=e.length,a=[0];for(let r=0;r<s;r++){let s=rc(n,r),u=e[r],c=0;for(let e=0;e<u.length;e++){let i=u[e];c=function(e,t=0){for(;e[t];)t++;return t}(s,c);var o=r,l=c;for(let e=0;e<i.rowspan;e++){let t=rc(n,o+e);for(let e=0;e<i.colspan;e++)t[l+e]=i}c+=i.colspan,i.lines=i.text.split("\n");let d=i.lines.length;rh(a,r,i.rowspan,d+t)}i=s.length>i?s.length:i}!function(e,t){for(let r=0;r<t;r++){let t=rc(e,r);for(let n=0;n<r;n++){let i=rc(e,n);if(t[n]||i[r]){let e=t[n];t[n]=i[r],i[r]=e}}}}(n,s>i?s:i);let u=[],c=[0];for(let e=0;e<i;e++){let t,i=0,o=Math.min(s,n[e].length);for(;i<o;)if(t=n[e][i]){if(!t.rendered){let n=0;for(let r=0;r<t.lines.length;r++){let s=t.lines[r],o=a[i]+r;u[o]=(u[o]||"").padEnd(c[e])+s,n=s.length>n?s.length:n}rh(c,e,t.colspan,n+r),t.rendered=!0}i+=t.rowspan}else{let e=a[i];u[e]=u[e]||"",i++}}return u.join("\n")})(e,n.rowSpacing??0,n.colSpacing??3),leadingLineBreaks:n.leadingLineBreaks,trailingLineBreaks:n.trailingLineBreaks})}var ry=Object.freeze({__proto__:null,anchor:function(e,t,r,n){let i=function(){if(n.ignoreHref||!e.attribs||!e.attribs.href)return"";let t=e.attribs.href.replace(/^mailto:/,"");return n.noAnchorUrl&&"#"===t[0]?"":t=rp(t,n.pathRewrite,n.baseUrl,r.metadata,e)}();if(i){let s="";r.pushWordTransform(e=>(e&&(s+=e),e)),t(e.children,r),r.popWordTransform(),n.hideLinkHrefIfSameAsText&&i===s||r.addInline(s?" "+rf(i,n.linkBrackets):i,{noWordTransform:!0})}else t(e.children,r)},blockquote:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2,reservedLineLength:2}),t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2,blockTransform:e=>(!1!==n.trimEmptyLines?tK(e,"\n"):e).split("\n").map(e=>"> "+e).join("\n")})},dataTable:rg,heading:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),!1!==n.uppercase?(r.pushWordTransform(e=>e.toUpperCase()),t(e.children,r),r.popWordTransform()):t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},horizontalLine:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),r.addInline("-".repeat(n.length||r.options.wordwrap||40)),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},image:function(e,t,r,n){let i=e.attribs||{},s=i.alt?i.alt:"",a=i.src?rp(i.src,n.pathRewrite,n.baseUrl,r.metadata,e):"",o=a?s?s+" "+rf(a,n.linkBrackets):rf(a,n.linkBrackets):s;r.addInline(o,{noWordTransform:!0})},lineBreak:function(e,t,r,n){r.addLineBreak()},orderedList:function(e,t,r,n){let i=Number(e.attribs.start||"1"),s=function(e="1"){switch(e){case"a":return e=>tZ(e,"a");case"A":return e=>tZ(e,"A");case"i":return e=>t2(e).toLowerCase();case"I":return e=>t2(e);default:return e=>e.toString()}}(e.attribs.type);return rm(e,t,r,n,()=>" "+s(i++)+". ")},paragraph:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},pre:function(e,t,r,n){r.openBlock({isPre:!0,leadingLineBreaks:n.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},table:function(e,t,r,n){var i,s,a,o;return!function(e,t){if(!0===t)return!0;if(!e)return!1;let{classes:r,ids:n}=function(e){let t=[],r=[];for(let n of e)n.startsWith(".")?t.push(n.substring(1)):n.startsWith("#")&&r.push(n.substring(1));return{classes:t,ids:r}}(t),i=(e.class||"").split(" "),s=(e.id||"").split(" ");return i.some(e=>r.includes(e))||s.some(e=>n.includes(e))}(e.attribs,r.options.tables)?(i=e,s=t,a=r,o=n,void(a.openBlock({leadingLineBreaks:o.leadingLineBreaks}),s(i.children,a),a.closeBlock({trailingLineBreaks:o.trailingLineBreaks}))):rg(e,t,r,n)},unorderedList:function(e,t,r,n){let i=n.itemPrefix||" * ";return rm(e,t,r,n,()=>i)},wbr:function(e,t,r,n){r.addWordBreakOpportunity()}});let rb={baseElements:{selectors:["body"],orderBy:"selectors",returnDomByDefault:!0},decodeEntities:!0,encodeCharacters:{},formatters:{},limits:{ellipsis:"...",maxBaseElements:void 0,maxChildNodes:void 0,maxDepth:void 0,maxInput
16Length:0x1000000},longWordSplit:{forceWrapOnLimit:!1,wrapCharacters:[]},preserveNewlines:!1,selectors:[{selector:"*",format:"inline"},{selector:"a",format:"anchor",options:{baseUrl:null,hideLinkHrefIfSameAsText:!1,ignoreHref:!1,linkBrackets:["[","]"],noAnchorUrl:!0}},{selector:"article",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"aside",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"blockquote",format:"blockquote",options:{leadingLineBreaks:2,trailingLineBreaks:2,trimEmptyLines:!0}},{selector:"br",format:"lineBreak"},{selector:"div",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"footer",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"form",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"h1",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h2",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h3",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h4",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h5",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h6",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"header",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"hr",format:"horizontalLine",options:{leadingLineBreaks:2,length:void 0,trailingLineBreaks:2}},{selector:"img",format:"image",options:{baseUrl:null,linkBrackets:["[","]"]}},{selector:"main",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"nav",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"ol",format:"orderedList",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"p",format:"paragraph",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"pre",format:"pre",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"section",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"table",format:"table",options:{colSpacing:3,leadingLineBreaks:2,maxColumnWidth:60,rowSpacing:0,trailingLineBreaks:2,uppercaseHeaderCells:!0}},{selector:"ul",format:"unorderedList",options:{itemPrefix:" * ",leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"wbr",format:"wbr"}],tables:[],whitespaceCharacters:" \r\n\fâ",wordwrap:80},rv=(e,t,r)=>[...t],rw=(e,t,r)=>e.some(e=>"object"==typeof e)?[...e,...t]:rv(e,t);function rk(e,t={},r){return(function(e={}){return(e=tG(rb,e,{arrayMerge:rv,customMerge:e=>"selectors"===e?rw:void 0})).formatters=Object.assign({},ru,ry,e.formatters),e.selectors=tX(e.selectors,e=>e.selector),function(e){if(e.tags){let t=Object.entries(e.tags).map(([e,t])=>({...t,selector:e||"*"}));e.selectors.push(...t),e.selectors=tX(e.selectors,e=>e.selector)}function t(e,t,r){let n=t.pop();for(let r of t){let t=e[r];t||(t={},e[r]=t),e=t}e[n]=r}if(e.baseElement){let r=e.baseElement;t(e,["baseElements","selectors"],Array.isArray(r)?r:[r])}for(let r of(void 0!==e.returnDomByDefault&&t(e,["baseElements","returnDomByDefault"],e.returnDomByDefault),e.selectors))"anchor"===r.format&&tQ(r,["options","noLinkBrackets"])&&t(r,["options","linkBrackets"],!1)}(e),function(e={}){let t=e.selectors.filter(e=>!e.format);if(t.length)throw Error("Following selectors have no specified format: "+t.map(e=>`\`${e.selector}\``).join(", "));let r=new eM(e.selectors.map(e=>[e.selector,e])).build(eH);"function"!=typeof e.encodeCharacters&&(e.encodeCharacters=function(e){if(!e||0===Object.keys(e).length)return;let t=Object.entries(e).filter(([,e])=>!1!==e),r=RegExp(t.map(([e])=>`(${[...e][0].replace(/[\s\S]/g,e=>"\\u"+e.charCodeAt().toString(16).padStart(4,"0"))})`).join("|"),"g"),n=t.map(([,e])=>e),i=(e,...t)=>n[t.findIndex(e=>e)];return e=>e.replace(r,i)}(e.encodeCharacters));let n=new eM(e.baseElements.selectors.map((e,t)=>[e,t+1])).build(eH);function i(t){var r,i,s;let a;return r=t,i=e,s=n,a=[],tY(i.limits.maxDepth,function(e,t){for(let r of t=t.slice(0,i.limits.maxChildNodes)){if("tag"!==r.type)continue;let t=s.pick1(r);if(t>0?a.push({selectorIndex:t,element:r}):r.children&&e(r.children),a.length>=i.limits.maxBaseElements)return}})(r),"occurrence"!==i.baseElements.orderBy&&a.sort((e,t)=>
16e.selectorIndex-t.selectorIndex),i.baseElements.returnDomByDefault&&0===a.length?r:a.map(e=>e.element)}let s=tY(e.limits.maxDepth,ra,function(t,r){r.addInline(e.limits.ellipsis||"")});return function(t,n){var a,o,l,u,c,d,h,f;let p,m,g,y;return a=t,o=n,l=e,u=r,c=i,d=s,(m=l.limits.maxInputLength)&&a&&a.length>m&&(console.warn(`Input length ${a.length} is above allowed limit of ${m}. Truncating without ellipsis.`),a=a.substring(0,m)),g=c((h=a,new tl(p=new E(void 0,f={decodeEntities:l.decodeEntities}),f).end(h),p.root).children),d(g,y=new rn(l,u,o)),y.toString()}}(e)})(t)(e,r)}},35724:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=n(r(84455)),s=n(r(90629));class a{constructor(e){this.shouldThrowOnError=!1,this.method=e.method,this.url=e.url,this.headers=e.headers,this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=e.shouldThrowOnError,this.signal=e.signal,this.isMaybeSingle=e.isMaybeSingle,e.fetch?this.fetch=e.fetch:"undefined"==typeof fetch?this.fetch=i.default:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(e,t){return this.headers=Object.assign({},this.headers),this.headers[e]=t,this}then(e,t){void 0===this.schema||(["GET","HEAD"].includes(this.method)?this.headers["Accept-Profile"]=this.schema:this.headers["Content-Profile"]=this.schema),"GET"!==this.method&&"HEAD"!==this.method&&(this.headers["Content-Type"]="application/json");let r=(0,this.fetch)(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async e=>{var t,r,n;let i=null,a=null,o=null,l=e.status,u=e.statusText;if(e.ok){if("HEAD"!==this.method){let t=await e.text();""===t||(a="text/csv"===this.headers.Accept||this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?t:JSON.parse(t))}let n=null==(t=this.headers.Prefer)?void 0:t.match(/count=(exact|planned|estimated)/),s=null==(r=e.headers.get("content-range"))?void 0:r.split("/");n&&s&&s.length>1&&(o=parseInt(s[1])),this.isMaybeSingle&&"GET"===this.method&&Array.isArray(a)&&(a.length>1?(i={code:"PGRST116",details:`Results contain ${a.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},a=null,o=null,l=406,u="Not Acceptable"):a=1===a.length?a[0]:null)}else{let t=await e.text();try{i=JSON.parse(t),Array.isArray(i)&&404===e.status&&(a=[],i=null,l=200,u="OK")}catch(r){404===e.status&&""===t?(l=204,u="No Content"):i={message:t}}if(i&&this.isMaybeSingle&&(null==(n=null==i?void 0:i.details)?void 0:n.includes("0 rows"))&&(i=null,l=200,u="OK"),i&&this.shouldThrowOnError)throw new s.default(i)}return{error:i,data:a,count:o,status:l,statusText:u}});return this.shouldThrowOnError||(r=r.catch(e=>{var t,r,n;return{error:{message:`${null!=(t=null==e?void 0:e.name)?t:"FetchError"}: ${null==e?void 0:e.message}`,details:`${null!=(r=null==e?void 0:e.stack)?r:""}`,hint:"",code:`${null!=(n=null==e?void 0:e.code)?n:""}`},data:null,count:null,status:0,statusText:""}})),r.then(e,t)}returns(){return this}overrideTypes(){return this}}t.default=a},36627:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},36730:(e,t,r)=>{"use strict";r.d(t,{m:()=>s});let n=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},i=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},s={p:i,P:(e,t)=>{let r,s=e.match(/(P+)(p+)?/)||[],a=s[1],o=s[2];if(!o)return n(e,t);switch(a){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",n(a,t)).replace("{{time}}",i(o,t))}}},36971:function(e,t,r){e.exports=function(e,t,r){var n=[function(e,t,r){"use strict";
16Object.defineProperty(t,"__esModule",{value:!0});var n=t.Browser={};"undefined"!=typeof window&&(n.SUPPORTED="requestAnimationFrame"in window,n.SUPPORTS_TOUCH="ontouchstart"in window,n.touch=!1,n.dynamicInputDetection=!0,n.iOS=function(){return/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream}),t.Store=[],t.Selectors={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-tooltip-content",CIRCLE:"[x-circle]",ARROW:"[x-arrow]",TOOLTIPPED_EL:"[data-tooltipped]",CONTROLLER:"[data-tippy-controller]"};var i=t.Defaults={html:!1,position:"top",animation:"shift",animateFill:!0,arrow:!1,arrowSize:"regular",delay:0,trigger:"mouseenter focus",duration:350,interactive:!1,interactiveBorder:2,theme:"dark",size:"regular",distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,flipDuration:350,sticky:!1,stickyDuration:200,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,useContext:!1,reactInstance:void 0,popperOptions:{},open:void 0,onRequestClose:function(){}};t.DefaultsKeys=n.SUPPORTED&&Object.keys(i)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[!1,"webkit"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],s=i?""+i+r:e;if(void 0!==window.document.body.style[s])return s}return null}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/-.+/,"")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(n.matches.call(t,e))return t;t=t.parentElement}}).call(e,t)};var n=r(8)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){window.requestAnimationFrame(function(){setTimeout(e,0)})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{tooltip:e.querySelector(n.Selectors.TOOLTIP),circle:e.querySelector(n.Selectors.CIRCLE),content:e.querySelector(n.Selectors.CONTENT)}};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"visible"===e.style.visibility}},function(e,t,r){"use strict";function n(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),r=t.length;--r>=0&&t.item(r)!==this;);return r>-1}Object.defineProperty(t,"__esModule",{value:!0}),t.matches="undefined"==typeof window?n:Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),s=r(13),a=u(s),o=u(r(30)),l=r(0);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return e.stopPropagation()},d={html:null,position:"top",animation:"shift",animateFill:!0,arrow:!1,delay:0,hideDelay:0,trigger:"mouseenter focus",duration:375,hideDuration:375,interactive:!1,interactiveBorder:2,theme:"dark",offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,popperOptions:{},onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){},disabled:!1,arrowSize:"regular",size:"regular",className:"",style:{},distance:10,onRequestClose:function(){},sticky:!1,stickyDuration:200,tag:"div",touchHold:!1,unmountHTMLWhenHide:!1,zIndex:9999},h=Object.keys(d),f=function(e,t){var r=[];return h.forEach(function(n){e[n]!==t[n]&&r.push(n)}),r},p=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var r=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.initTippy=r._initTippy.bind(r),r.destroyTippy=r._destroyTippy.bind(r),r.updateTippy=r._updateTippy.bind(r),r.updateReactDom=r._updateReactDom.bind(r),r.showTooltip=r._showTooltip.bind(r),r.hideTooltip=r._hideTooltip.bind(r),r.updateSettings=r._updateSettings.bind(r),r.state={reactDOMValue:null},r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"c
16omponentDidMount",value:function(){"undefined"!=typeof window&&"undefined"!=typeof document&&this.initTippy()}},{key:"componentWillUnmount",value:function(){"undefined"!=typeof window&&"undefined"!=typeof document&&this.destroyTippy()}},{key:"componentDidUpdate",value:function(e){var t=this;if("undefined"!=typeof window&&"undefined"!=typeof document){if(!1===this.props.disabled&&!0===e.disabled){this.updateSettings("disabled",!1),this.destroyTippy(),this.initTippy();return}if(!0===this.props.disabled&&!1===e.disabled){this.updateSettings("disabled",!0),this.destroyTippy();return}!0!==this.props.open||e.open||(this.updateSettings("open",!0),setTimeout(function(){t.showTooltip()},0)),!1===this.props.open&&!0===e.open&&(this.updateSettings("open",!1),this.hideTooltip()),this.props.html!==e.html&&this.updateReactDom(),this.props.title!==e.title&&this.updateTippy(),f(this.props,e).forEach(function(e){t.updateSettings(e,t.props[e])})}}},{key:"_showTooltip",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var e=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.show(e,this.props.duration)}}},{key:"_hideTooltip",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var e=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.hide(e,this.props.hideDuration)}}},{key:"_updateSettings",value:function(e,t){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var r=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.updateSettings(r,e,t)}}},{key:"_updateReactDom",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){this.updateSettings("reactDOM",this.props.html);var e=this.tippy.getPopperElement(this.tooltipDOM);("visible"===e.style.visibility||this.props.open)&&this.tippy.updateForReact(e,this.props.html)}}},{key:"_updateTippy",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var e=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.update(e)}}},{key:"_initTippy",value:function(){var e=this;"undefined"!=typeof window&&"undefined"!=typeof document&&l.Browser.SUPPORTED&&(this.props.disabled?this.tippy=null:(this.props.title&&this.tooltipDOM.setAttribute("title",this.props.title),this.tippy=(0,o.default)(this.tooltipDOM,{disabled:this.props.disabled,position:this.props.position,animation:this.props.animation,animateFill:this.props.animateFill,arrow:this.props.arrow,arrowSize:this.props.arrowSize,delay:this.props.delay,hideDelay:this.props.hideDelay,trigger:this.props.trigger,duration:this.props.duration,hideDuration:this.props.hideDuration,interactive:this.props.interactive,interactiveBorder:this.props.interactiveBorder,theme:this.props.theme,offset:this.props.offset,hideOnClick:this.props.hideOnClick,multiple:this.props.multiple,size:this.props.size,followCursor:this.props.followCursor,inertia:this.props.inertia,popperOptions:this.props.popperOptions,onShow:this.props.onShow,onShown:this.props.onShown,onHide:this.props.onHide,onHidden:this.props.onHidden,distance:this.props.distance,reactDOM:this.props.html,setReactDOMValue:function(t){return e.setState({reactDOMValue:t})},unmountHTMLWhenHide:this.props.unmountHTMLWhenHide,open:this.props.open,sticky:this.props.sticky,stickyDuration:this.props.stickyDuration,tag:this.props.tag,touchHold:this.props.touchHold,onRequestClose:this.props.onRequestClose,useContext:this.props.useContext,reactInstance:this.props.useContext?this:void 0,performance:!0,html:this.props.rawTemplate?this.props.rawTemplate:void 0,zIndex:this.props.zIndex}),this.props.open&&this.showTooltip()))}},{key:"_destroyTippy",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var e=this.tippy.getPopperElement(this.tooltipDOM);this.updateSettings("open",!1),this.tippy.hide(e,0),this.tippy.destroy(e),this.tippy=null}}},{key:"render",value:function(){var e=this,t=this.props.tag;return a.default.createElement(a.default.Fragment,null,a.default.createElement(t,{ref:function(t){e.tooltipDOM=t},title:this.props.title,className:this.props.className,tabIndex:this.props.tabIndex,style:n({dis
16play:"inline"},this.props.style)},this.props.children),this.state.reactDOMValue&&a.default.createElement("div",{onClick:c,onContextMenu:c,onDoubleClick:c,onDrag:c,onDragEnd:c,onDragEnter:c,onDragExit:c,onDragLeave:c,onDragOver:c,onDragStart:c,onDrop:c,onMouseDown:c,onMouseEnter:c,onMouseLeave:c,onMouseMove:c,onMouseOver:c,onMouseOut:c,onMouseUp:c,onKeyDown:c,onKeyPress:c,onKeyUp:c,onFocus:c,onBlur:c,onChange:c,onInput:c,onInvalid:c,onSubmit:c},this.state.reactDOMValue))}}]),t}(s.Component);p.defaultProps=d,t.default=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this,r=(0,s.default)(n.Store,function(e){return e.el===t});if(r){var o=r.popper,l=r.settings.offset,u=(0,i.default)(o.getAttribute("x-placement")),c=Math.round(o.offsetWidth/2),d=Math.round(o.offsetHeight/2),h=document.documentElement.offsetWidth||document.body.offsetWidth,f=e.pageX,p=e.pageY,m=void 0,g=void 0;switch(u){case"top":m=f-c+l,g=p-2.25*d;break;case"left":m=f-2*c-10,g=p-d+l;break;case"right":m=f+d,g=p-d+l;break;case"bottom":m=f-c+l,g=p+d/1.5}("top"===u||"bottom"===u)&&(f+5+c+l>h&&(m=h-5-2*c),f-5-c+l<0&&(m=5)),o.style[(0,a.default)("transform")]="translate3d("+m+"px, "+g+"px, 0)"}};var n=r(0),i=o(r(3)),s=o(r(2)),a=o(r(1));function o(e){return e&&e.__esModule?e:{default:e}}o(r(4))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return-(e-n.Defaults.distance)+"px"};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.getAttribute("title");t&&e.setAttribute("data-original-title",t),e.removeAttribute("title")}},function(t,r){t.exports=e},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(r(13)),i=s(r(9));function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){var s=function(e,t){var r={};for(var n in e)!(t.indexOf(n)>=0)&&Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(r,[]);return n.default.createElement(i.default,t,n.default.createElement(e,s))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withTooltip=t.Tooltip=void 0;var n=s(r(9)),i=s(r(14));function s(e){return e&&e.__esModule?e:{default:e}}t.Tooltip=n.default,t.withTooltip=i.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=function(){n.Browser.touch=!0,n.Browser.iOS()&&document.body.classList.add("tippy-touch"),n.Browser.dynamicInputDetection&&window.performance&&document.addEventListener("mousemove",r)},r=(e=void 0,function(){var t=performance.now();t-e<20&&(n.Browser.touch=!1,document.removeEventListener("mousemove",r),n.Browser.iOS()||document.body.classList.remove("tippy-touch")),e=t});document.addEventListener("click",function(e){if(!(e.target instanceof Element))return(0,i.default)();var t=(0,s.default)(e.target,n.Selectors.TOOLTIPPED_EL),r=(0,s.default)(e.target,n.Selectors.POPPER);if(r){var o=(0,a.default)(n.Store,function(e){return e.popper===r});if(!o||o.settings.interactive)return}if(t){var l=(0,a.default)(n.Store,function(e){return e.el===t});if(!l)return;var u=l.settings,c=u.hideOnClick,d=u.multiple,h=u.trigger;if(!d&&n.Browser.touch||!d&&-1!==h.indexOf("click"))return(0,i.default)(l);if(!0!==c||-1!==h.indexOf("click"))return}!(0,s.default)(e.target,n.Selectors.CONTROLLER)&&document.querySelector(n.Selectors.POPPER)&&(0,i.default)()}),document.addEventListener("touchstart",t),window.addEventListener("blur",function(e){var t=document.activeElement;t&&t.blur&&o.matches.call(t,n.Selectors.TOOLTIPPED_EL)&&t.blur()}),!n.Browser.SUPPORTS_TOUCH&&(navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&document.addEventListener("pointerdown",t)};var n=r(0),i=l(r(25)),s=l(r(4)),a=l(r(2)),o=r(8);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var s=r.position,a=r.distance,o=r.arrow,l=r.animateFill,u=r.inertia,c=r.animation,d=r.arrowSize,h=r.size,f
16=r.theme,p=r.html,m=r.zIndex,g=r.interactive,y=document.createElement("div");y.setAttribute("class","tippy-popper"),y.setAttribute("role","tooltip"),y.setAttribute("aria-hidden","true"),y.setAttribute("id","tippy-tooltip-"+e),y.style.zIndex=m;var b=document.createElement("div");if(b.setAttribute("class","tippy-tooltip tippy-tooltip--"+h+" leave"),b.setAttribute("data-animation",c),f.split(" ").forEach(function(e){b.classList.add(e+"-theme")}),o){var v=document.createElement("div");v.setAttribute("class","arrow-"+d),v.setAttribute("x-arrow",""),b.appendChild(v)}if(l){b.setAttribute("data-animatefill","");var w=document.createElement("div");w.setAttribute("class","leave"),w.setAttribute("x-circle",""),b.appendChild(w)}u&&b.setAttribute("data-inertia",""),g&&b.setAttribute("data-interactive","");var k=document.createElement("div");if(k.setAttribute("class","tippy-tooltip-content"),p){var _=void 0;p instanceof Element?(k.appendChild(p),_="#"+p.id):(k.innerHTML=document.getElementById(p.replace("#","")).innerHTML,_=p),y.classList.add("html-template"),g&&y.setAttribute("tabindex","-1"),b.setAttribute("data-template-id",_)}else k.innerHTML=t;return b.style[(0,n.default)(s)]=(0,i.default)(a),b.appendChild(k),y.appendChild(b),y};var n=s(r(3)),i=s(r(11));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.default=function(e){var t=e.el,r=e.popper,c=e.settings,d=c.position,h=c.popperOptions,f=c.offset,p=c.distance,m=c.flipDuration,g=(0,l.default)(r).tooltip,y=n({placement:d},h||{},{modifiers:n({},h?h.modifiers:{},{flip:n({padding:p+5},h&&h.modifiers?h.modifiers.flip:{}),offset:n({offset:f},h&&h.modifiers?h.modifiers.offset:{})}),onUpdate:function(){var e=g.style;e.top="",e.bottom="",e.left="",e.right="",e[(0,o.default)(r.getAttribute("x-placement"))]=(0,u.default)(p)}});
16if(window.MutationObserver){var b=r.style,v=new MutationObserver(function(){b[(0,a.default)("transitionDuration")]="0ms",e.popperInstance.update(),(0,s.default)(function(){b[(0,a.default)("transitionDuration")]=m+"ms"})});v.observe(r,{childList:!0,subtree:!0,characterData:!0}),e._mutationObserver=v}return new i.default(t,r,y)};var i=c(r(38)),s=c(r(5)),a=c(r(1)),o=c(r(3)),l=c(r(6)),u=c(r(11));function c(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this;return e.reduce(function(e,r){var u=c,d=(0,o.default)(t.settings.performance?t.settings:(0,n.default)(r,t.settings)),h=d.html,f=d.reactDOM,p=d.trigger,m=d.touchHold,g=r.getAttribute("title");if(!g&&!h&&!f)return e;r.setAttribute("data-tooltipped",""),r.setAttribute("aria-describedby","tippy-tooltip-"+u),(0,l.default)(r);var y=(0,i.default)(u,g,d),b=a.default.call(t,r,y,d),v=[];return p.trim().split(" ").forEach(function(e){return v=v.concat((0,s.default)(e,r,b,m))}),e.push({id:u,el:r,popper:y,settings:d,listeners:v,tippyInstance:t}),c++,e},[])};var n=u(r(24)),i=u(r(17)),s=u(r(20)),a=u(r(23)),o=u(r(21)),l=u(r(12));function u(e){return e&&e.__esModule?e:{default:e}}r(0);var c=1},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,i){var s=[];return"manual"===e||(t.addEventListener(e,r.handleTrigger),s.push({event:e,handler:r.handleTrigger}),"mouseenter"===e&&(n.Browser.SUPPORTS_TOUCH&&i&&(t.addEventListener("touchstart",r.handleTrigger),s.push({event:"touchstart",handler:r.handleTrigger}),t.addEventListener("touchend",r.handleMouseleave),s.push({event:"touchend",handler:r.handleMouseleave})),t.addEventListener("mouseleave",r.handleMouseleave),s.push({event:"mouseleave",handler:r.handleMouseleave})),"focus"===e&&(t.addEventListener("blur",r.handleBlur),s.push({event:"blur",handler:r.handleBlur}))),s};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.arrow&&(e.animateFill=!1),e.appendTo&&"function"==typeof e.appendTo&&(e.appendTo=e.appendTo()),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e instanceof Element?[e]:Array.isArray(e)?e:[].slice.call(document.querySelectorAll(e))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var o=this;r.position;var l=r.delay,u=(r.duration,r.interactive),c=(r.interactiveBorder,r.distance,r.hideOnClick),d=r.trigger,h=r.touchHold;r.touchWait;var f=void 0,p=void 0,m=function(){clearTimeout(f),clearTimeout(p)},g=function(){if(m(),!(0,i.default)(t)){var e=Array.isArray(l)?l[0]:l;l?f=setTimeout(function(){return o.show(t)},e):o.show(t)}},y=function(){m();var e=Array.isArray(l)?l[1]:l;l?p=setTimeout(function(){return o.hide(t)},e):o.hide(t)};return{handleTrigger:function(r){var s="mouseenter"===r.type&&n.Browser.SUPPORTS_TOUCH&&n.Browser.touch;(!s||!h)&&("click"===r.type&&(0,i.default)(t)&&"persistent"!==c?y():o.callbacks.wait?o.callbacks.wait.call(t,g,r):g(),s&&n.Browser.iOS()&&e.click&&e.click())},handleMouseleave:function(i){if("mouseleave"!==i.type||!n.Browser.SUPPORTS_TOUCH||!n.Browser.touch||!h){if(u){document.body.addEventListener("mouseleave",y),document.addEventListener("mousemove",function i(o){var l=function(){document.body.removeEventListener("mouseleave",y),document.removeEventListener("mousemove",i),y()},u=(0,s.default)(o.target,n.Selectors.TOOLTIPPED_EL),c=(0,s.default)(o.target,n.Selectors.POPPER)===t,h=u===e,f=-1!==d.indexOf("click");if(u&&u!==e)return l();c||h||f||(0,a.default)(o,t,r)&&l()});return}y()}},handleBlur:function(e){!e.relatedTarget||n.Browser.touch||(0,s.default)(e.relatedTarget,n.Selectors.POPPER)||y()}}};var n=r(0),i=o(r(7)),s=o(r(4)),a=o(r(32));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=n.DefaultsKeys.reduce(function(r,n){var i=e.getAttribute("data-"+n.toLowerCase())||t[n];return"false"===i&&(i=!1),"true"===i&&(i=!0),isFinite(i)&&!isNaN(parseFloat(i))&&(i=parseFloat(i)),"string"==typeof i&&"["
16===i.trim().charAt(0)&&(i=JSON.parse(i)),r[n]=i,r},{});return Object.assign({},t,r)};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){n.Store.forEach(function(t){var r=t.popper,n=t.tippyInstance,i=t.settings,s=i.appendTo,a=i.hideOnClick,o=i.trigger;if(s.contains(r)){var l=!0===a||-1!==o.indexOf("focus"),u=!e||r!==e.popper;l&&u&&(t.settings.onRequestClose(),n.hide(r))}})};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n,i=(n=r(16))&&n.__esModule?n:{default:n};function s(){return!s.done&&(s.done=!0,(0,i.default)(),!0)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.popper,r=e.popperInstance,a=e.settings.stickyDuration;(0,n.default)(function e(){r&&r.scheduleUpdate(),t.style[(0,i.default)("transitionDuration")]=a+"ms",(0,s.default)(t)?window.requestAnimationFrame(e):t.style[(0,i.default)("transitionDuration")]=""})};var n=a(r(5)),i=a(r(1)),s=a(r(7));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.el,r=e.popper,a=e.settings,o=a.appendTo,l=a.followCursor;o.contains(r)||(o.appendChild(r),e.popperInstance?(e.popperInstance.update(),(!l||n.Browser.touch)&&e.popperInstance.enableEventListeners()):e.popperInstance=(0,s.default)(e),l&&!n.Browser.touch&&(t.addEventListener("mousemove",i.default),e.popperInstance.disableEventListeners()))};var n=r(0),i=a(r(10)),s=a(r(18));function a(e){return e&&e.__esModule?e:{default:e}}a(r(1))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!t)return r();var n=(0,i.default)(e.popper).tooltip,s=!1,a=function(e){e.target!==n||s||(s=!0,r())};n.addEventListener("webkitTransitionEnd",a),n.addEventListener("transitionend",a),clearTimeout(e._transitionendTimeout),e._transitionendTimeout=setTimeout(function(){s||r()},t)},r(0);var n,i=(n=r(6))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),s=r(0),a=E(r(39)),o=E(r(26)),l=E(r(5));E(r(1));var u=E(r(2)),c=E(r(34)),d=E(r(12)),h=E(r(33)),f=E(r(37)),p=E(r(35)),m=E(r(6)),g=E(r(31)),y=E(r(7)),b=E(r(36)),v=E(r(10)),w=E(r(22)),k=E(r(29)),_=E(r(28)),x=E(r(27)),S=E(r(19));function E(e){return e&&e.__esModule?e:{default:e}}var T=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof e))throw TypeError("Cannot call a class as a function");s.Browser.SUPPORTED&&((0,o.default)(),this.state={destroyed:!1},this.selector=t,this.settings=n({},s.Defaults,r),(r.show||r.shown||r.hide||r.hidden)&&console.warn("Callbacks without the `on` prefix are deprecated (with the exception of `wait`). Use onShow, onShown, onHide, and onHidden instead."),this.callbacks={wait:r.wait,show:r.onShow||r.show||b.default,shown:r.onShown||r.shown||b.default,hide:r.onHide||r.hide||b.default,hidden:r.onHidden||r.hidden||b.default},this.store=S.default.call(this,(0,w.default)(t)),s.Store.push.apply(s.Store,this.store))}return i(e,[{key:"getPopperElement",value:function(e){try{return(0,u.default)(this.store,function(t){return t.el===e}).popper}catch(e){console.error("[getPopperElement]: Element passed as the argument does not exist in the instance")}}},{key:"getReferenceElement",value:function(e){try{return(0,u.default)(this.store,function(t){return t.popper===e}).el}catch(e){console.error("[getReferenceElement]: Popper passed as the argument does not exist in the instance")}}},{key:"getReferenceData",value:function(e){return(0,u.default)(this.store,function(t){return t.el===e||t.popper===e})}},{key:"updateSettings",value:function(e,t,r){var i=(0,u.default)(this.store,function(t){return t.popper===e});if(i){var s,a=n({},i.settings,(t in(s={})?Object.defineProperty(s,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):s[t]=r,s));i.settings=a}}},{key:"updateForReact",value:function(e,t){var r=e.querySelector(s.Selectors.CONTENT),n=(0,u.default)(this.store,function(t){return t.popper===e});if(n){var i=n.settings,o=i.useContext,l=i.setReactDOMValue;o?l(a.default.createPortal(t,r)):a.default.render(t,r)}}},{key:"show",value:function(e,t){var r=this;if(!this.state.destroyed){var n=(0,u.default)(this.store,function(t){return t.popper===e});if(n){var i=(0,m.default)(e),a=i.tooltip,o=i.circle,c=i.content;if(!document.body.contains(n.el))return void this.destroy(e);if(this.callbacks.show.call(e),!n.settings||!1!==n.settings.open){n.settings.reactDOM&&this.updateForReact(e,n.settings.reactDOM);var h=n.el,b=n.settings,v=(b.appendTo,b.sticky),w=b.interactive,S=b.followCursor,E=b.flipDuration,T=b.duration;if(b.dynamicTitle){var O=h.getAttribute("title");O&&(c.innerHTML=O,(0,d.default)(h))}var C=void 0!==t?t:Array.isArray(T)?T[0]:T;(0,g.default)([e,a,o],0),(0,_.default)(n),e.style.visibility="visible",e.setAttribute("aria-hidden","false"),(0,l.default)(function(){(!S||s.Browser.touch)&&(n.popperInstance.update(
16),(0,g.default)([e],E)),(0,g.default)([a,o],C),o&&(c.style.opacity=1),w&&h.classList.add("active"),v&&(0,x.default)(n),(0,f.default)(a,o),(0,p.default)([a,o],function(e){e.contains("tippy-notransition")&&e.remove("tippy-notransition"),e.remove("leave"),e.add("enter")}),(0,k.default)(n,C,function(){(0,y.default)(e)&&!n._onShownFired&&(w&&e.focus(),a.classList.add("tippy-notransition"),n._onShownFired=!0,r.callbacks.shown.call(e))})})}}}}},{key:"hide",value:function(e,t){var r=this;if(!this.state.destroyed){this.callbacks.hide.call(e);var n=(0,u.default)(this.store,function(t){return t.popper===e});if(n){var i=(0,m.default)(e),s=i.tooltip,o=i.circle,l=i.content;if(!1!==n.settings.disabled||!n||!n.settings.open){var c=n&&n.settings&&n.settings.unmountHTMLWhenHide&&n.settings.reactDOM,d=n.el,f=n.settings,b=f.appendTo,w=(f.sticky,f.interactive),_=(f.followCursor,f.html),x=f.trigger,S=f.duration,E=void 0!==t?t:Array.isArray(S)?S[1]:S;n._onShownFired=!1,w&&d.classList.remove("active"),e.style.visibility="hidden",e.setAttribute("aria-hidden","true"),(0,g.default)([s,o,o?l:null],E),o&&(l.style.opacity=0),(0,p.default)([s,o],function(e){e.contains("tippy-tooltip")&&e.remove("tippy-notransition"),e.remove("enter"),e.add("leave")}),_&&-1!==x.indexOf("click")&&(0,h.default)(d)&&d.focus(),(0,k.default)(n,E,function(){!(0,y.default)(e)&&b.contains(e)&&"1"!==getComputedStyle(s).opacity&&(d.removeEventListener("mousemove",v.default),n.popperInstance.disableEventListeners(),b.removeChild(e),r.callbacks.hidden.call(e),c&&a.default.unmountComponentAtNode(l))})}}}}},{key:"update",value:function(e){if(!this.state.destroyed){var t=(0,u.default)(this.store,function(t){return t.popper===e});if(t){var r=(0,m.default)(e).content,n=t.el,i=t.settings.html;if(i instanceof Element)return void console.warn("Aborted: update() should not be used if `html` is a DOM element");r.innerHTML=i?document.getElementById(i.replace("#","")).innerHTML:n.getAttribute("title")||n.getAttribute("data-original-title"),i||(0,d.default)(n)}}}},{key:"destroy",value:function(e,t){var r=this;if(!this.state.destroyed){var n=(0,u.default)(this.store,function(t){return t.popper===e});if(n){var i=n.el,a=n.popperInstance,o=n.listeners,l=n._mutationObserver;(0,y.default)(e)&&this.hide(e,0),o.forEach(function(e){return i.removeEventListener(e.event,e.handler)}),i.setAttribute("title",i.getAttribute("data-original-title")),i.removeAttribute("data-original-title"),i.removeAttribute("data-tooltipped"),i.removeAttribute("aria-describedby"),a&&a.destroy(),l&&l.disconnect(),s.Store.splice((0,c.default)(s.Store,function(t){return t.popper===e}),1),(void 0===t||t)&&(this.store=s.Store.filter(function(e){return e.tippyInstance===r}))}}}},{key:"destroyAll",value:function(){var e=this;if(!this.state.destroyed){var t=this.store.length;this.store.forEach(function(r,n){var i=r.popper;e.destroy(i,n===t-1)}),this.store=null,this.state.destroyed=!0}}}]),e}();function O(e,t){return new T(e,t)}O.Browser=s.Browser,O.Defaults=s.Defaults,O.disableDynamicInputDetection=function(){return s.Browser.dynamicInputDetection=!1},O.enableDynamicInputDetection=function(){return s.Browser.dynamicInputDetection=!0},t.default=O},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.forEach(function(e){if(e){var r=a.matches.call(e,i.Selectors.CONTENT)?Math.round(t/1.3):t;e.style[(0,s.default)("transitionDuration")]=r+"ms"}})};var n,i=r(0),s=(n=r(1))&&n.__esModule?n:{default:n},a=r(8)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!t.getAttribute("x-placement"))return!0;var n=e.clientX,s=e.clientY,a=r.interactiveBorder,o=r.distance,l=t.getBoundingClientRect(),u=(0,i.default)(t.getAttribute("x-placement")),c=a+o,d={top:l.top-s>a,bottom:s-l.bottom>a,left:l.left-n>a,right:n-l.right>a};switch(u){case"top":d.top=l.top-s>c;break;case"bottom":d.bottom=s-l.bottom>c;break;case"left":d.left=l.left-n>c;break;case"right":d.right=n-l.right>c}return d.top||d.bottom||d.left||d.right};var n,i=(n=r(3))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";
16Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Array.prototype.findIndex?e.findIndex(t):e.indexOf((0,i.default)(e,t))};var n,i=(n=r(2))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.forEach(function(e){e&&t(e.classList)})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t?window.getComputedStyle(t)[(0,i.default)("transform")]:window.getComputedStyle(e).opacity};var n,i=(n=r(1))&&n.__esModule?n:{default:n}},function(e,r){e.exports=t},function(e,t){e.exports=r}],i={};function s(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,s),t.l=!0,t.exports}return s.m=n,s.c=i,s.i=function(e){return e},s.d=function(e,t,r){s.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s(s.s=15)}(r(96810),r(38457),r(62795))},37827:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]])},38346:(e,t,r)=>{"use strict";r.d(t,{C1:()=>E,bL:()=>x});var n=r(96810),i=r(60517),s=r(42739),a=r(29950),o=r(60118),l=r(79662),u=r(86878),c=r(36854),d=e=>{var t;let r,s,{present:a,children:o}=e,l=function(e){var t,r;let[i,s]=n.useState(),a=n.useRef(null),o=n.useRef(e),l=n.useRef("none"),[u,d]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>r[e][t]??e,t));return n.useEffect(()=>{let e=h(a.current);l.current="mounted"===u?e:"none"},[u]),(0,c.N)(()=>{let t=a.current,r=o.current;if(r!==e){let n=l.current,i=h(t);e?d("MOUNT"):"none"===i||t?.display==="none"?d("UNMOUNT"):r&&n!==i?d("ANIMATION_OUT"):d("UNMOUNT"),o.current=e}},[e,d]),(0,c.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=h(a.current).includes(CSS.escape(r.animationName));if(r.target===i&&n&&(d("ANIMATION_END"),!o.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(l.current=h(a.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}d("ANIMATION_END")},[i,d]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:n.useCallback(e=>{a.current=e?getComputedStyle(e):null,s(e)},[])}}(a),u="function"==typeof o?o({present:l.isPresent}):n.Children.only(o),d=(0,i.s)(l.ref,(t=u,(s=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(s=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof o||l.isPresent?n.cloneElement(u,{ref:d}):null};function h(e){return e?.animationName||"none"}d.displayName="Presence";var f=r(4728),p=r(73154),m="Checkbox",[g,y]=(0,s.A)(m),[b,v]=g(m);function w(e){let{__scopeCheckbox:t,checked:r,children:i,defaultChecked:s,disabled:a,form:l,name:u,onCheckedChange:c,required:d,value:h="on",internal_do_not_use_render:f}=e,[g,y]=(0,o.i)({prop:r,defaultProp:s??!1,onChange:c,caller:m}),[v,w]=n.useState(null),[k,_]=n.useState(null),x=n.useRef(!1),S=!v||!!l||!!v.closest("form"),E={checked:g,disabled:a,setChecked:y,control:v,setControl:w,name:u,form:l,value:h,hasConsumerStoppedPropagationRef:x,required:d,defaultChecked:!C(s)&&s,isFormControl:S,bubbleInput:k,setBubbleInput:_};return(0,p.jsx)(b,{scope:t,...E,children:"function"==typeof f?f(E):i})}var k="CheckboxTrigger",_=n.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:r,...s},o)=>
16{let{control:l,value:u,disabled:c,checked:d,required:h,setControl:m,setChecked:g,hasConsumerStoppedPropagationRef:y,isFormControl:b,bubbleInput:w}=v(k,e),_=(0,i.s)(o,m),x=n.useRef(d);return n.useEffect(()=>{let e=l?.form;if(e){let t=()=>g(x.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[l,g]),(0,p.jsx)(f.sG.button,{type:"button",role:"checkbox","aria-checked":C(d)?"mixed":d,"aria-required":h,"data-state":P(d),"data-disabled":c?"":void 0,disabled:c,value:u,...s,ref:_,onKeyDown:(0,a.mK)(t,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,a.mK)(r,e=>{g(e=>!!C(e)||!e),w&&b&&(y.current=e.isPropagationStopped(),y.current||e.stopPropagation())})})});_.displayName=k;var x=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,name:n,checked:i,defaultChecked:s,required:a,disabled:o,value:l,onCheckedChange:u,form:c,...d}=e;return(0,p.jsx)(w,{__scopeCheckbox:r,checked:i,defaultChecked:s,disabled:o,required:a,onCheckedChange:u,name:n,form:c,value:l,internal_do_not_use_render:({isFormControl:e})=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(_,{...d,ref:t,__scopeCheckbox:r}),e&&(0,p.jsx)(O,{__scopeCheckbox:r})]})})});x.displayName=m;var S="CheckboxIndicator",E=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,forceMount:n,...i}=e,s=v(S,r);return(0,p.jsx)(d,{present:n||C(s.checked)||!0===s.checked,children:(0,p.jsx)(f.sG.span,{"data-state":P(s.checked),"data-disabled":s.disabled?"":void 0,...i,ref:t,style:{pointerEvents:"none",...e.style}})})});E.displayName=S;var T="CheckboxBubbleInput",O=n.forwardRef(({__scopeCheckbox:e,...t},r)=>{let{control:s,hasConsumerStoppedPropagationRef:a,checked:o,defaultChecked:c,required:d,disabled:h,name:m,value:g,form:y,bubbleInput:b,setBubbleInput:w}=v(T,e),k=(0,i.s)(r,w),_=(0,l.Z)(o),x=(0,u.X)(s);n.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!a.current;if(_!==o&&e){let r=new Event("click",{bubbles:t});b.indeterminate=C(o),e.call(b,!C(o)&&o),b.dispatchEvent(r)}},[b,_,o,a]);let S=n.useRef(!C(o)&&o);return(0,p.jsx)(f.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??S.current,required:d,disabled:h,name:m,value:g,form:y,...t,tabIndex:-1,ref:k,style:{...t.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function C(e){return"indeterminate"===e}function P(e){return C(e)?"indeterminate":e?"checked":"unchecked"}O.displayName=T},38457:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Q});var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,i=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}(),s=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},i))}};function a(e){return e&&"[object Function]"===({}).toString.call(e)}function o(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?r[t]:r}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=o(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?e:u(l(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var d=n&&!!(window.MSInputMethodContext&&document.documentMode),h=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?d:10===e?h:d||h}function p(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===o(r,"position")?p(r):r:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function g(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var r,n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,s=n?t:e,a=document.createRange();a.setStart(i,0),a.setEnd(s,0);var o=a.commonAncestorContainer;if(e!==o&&t!==o||i.contains(s))return"BODY"!==(r=o.nodeName)&&("HTML"===r||p(o.firstElementChild)===o)?o:p(o);var l=m(e);return l.host?g(l.host,t):g(e,m(t).host)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===t?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[r]}return e[r]}function b(e,t){var r="x"===t?"Left":"Top";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+("Left"===r?"Right":"Bottom")+"Width"])}function v(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],f(10)?parseInt(r["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,r=e.documentElement,n=f(10)&&getComputedStyle(r);return{height:v("Height",t,r,n),width:v("Width",t,r,n)}}var k=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},_=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),x=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
vendor: 4,288 bytes, line 16
16for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function E(e){return S({},e,{right:e.left+e.width,bottom:e.top+e.height})}function T(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var r=y(e,"top"),n=y(e,"left");t.top+=r,t.left+=n,t.bottom+=r,t.right+=n}else t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},s="HTML"===e.nodeName?w(e.ownerDocument):{},a=s.width||e.clientWidth||i.width,l=s.height||e.clientHeight||i.height,u=e.offsetWidth-a,c=e.offsetHeight-l;if(u||c){var d=o(e);u-=b(d,"x"),c-=b(d,"y"),i.width-=u,i.height-=c}return E(i)}function O(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=f(10),i="HTML"===t.nodeName,s=T(e),a=T(t),l=u(e),c=o(t),d=parseFloat(c.borderTopWidth),h=parseFloat(c.borderLeftWidth);r&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=E({top:s.top-a.top-d,left:s.left-a.left-h,width:s.width,height:s.height});if(p.marginTop=0,p.marginLeft=0,!n&&i){var m=parseFloat(c.marginTop),g=parseFloat(c.marginLeft);p.top-=d-m,p.bottom-=d-m,p.left-=h-g,p.right-=h-g,p.marginTop=m,p.marginLeft=g}return(n&&!r?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(p=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=y(t,"top"),i=y(t,"left"),s=r?-1:1;return e.top+=n*s,e.bottom+=n*s,e.left+=i*s,e.right+=i*s,e}(p,t)),p}function C(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===o(t,"transform");)t=t.parentElement;return t||document.documentElement}function P(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},a=i?C(e):g(e,c(t));if("viewport"===n)s=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.ownerDocument.documentElement,n=O(e,r),i=Math.max(r.clientWidth,window.innerWidth||0),s=Math.max(r.clientHeight,window.innerHeight||0),a=t?0:y(r),o=t?0:y(r,"left");return E({top:a-n.top+n.marginTop,left:o-n.left+n.marginLeft,width:i,height:s})}(a,i);else{var d=void 0;"scrollParent"===n?"BODY"===(d=u(l(t))).nodeName&&(d=e.ownerDocument.documentElement):d="window"===n?e.ownerDocument.documentElement:n;var h=O(d,a,i);if("HTML"===d.nodeName&&!function e(t){var r=t.nodeName;if("BODY"===r||"HTML"===r)return!1;if("fixed"===o(t,"position"))return!0;var n=l(t);return!!n&&e(n)}(a)){var f=w(e.ownerDocument),p=f.height,m=f.width;s.top+=h.top-h.marginTop,s.bottom=p+h.top,s.left+=h.left-h.marginLeft,s.right=m+h.left}else s=h}var b="number"==typeof(r=r||0);return s.left+=b?r:r.left||0,s.top+=b?r:r.top||0,s.right-=b?r:r.right||0,s.bottom-=b?r:r.bottom||0,s}function L(e,t,r,n,i){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=P(r,n,s,i),o={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(o).map(function(e){var t;return S({key:e},o[e],{area:(t=o[e]).width*t.height})}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,n=e.height;return t>=r.clientWidth&&n>=r.clientHeight}),c=u.length>0?u[0].key:l[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function A(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=n?C(t):g(t,c(r));return O(r,i,n)}function I(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),n=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+n,height:e.offsetHeight+r}}function M(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function j(e,t,r){r=r.split("-")[0];var n=I(e),i={width:n.width,height:n.height},s=-1!==["right","left"].indexOf(r),a=s?"top":"left",o=s?"left":"top",l=s?"height":"width";return i[a]=t[a]+t[l]/2-n[l]/2,r===o?i[o]=t[o]-n[s?"width":"height"]:i[o]=t[M(o)],i}function N(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function R(e,t,r){return(void 0===r?e:e.slice(0,function(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===r});var n=N(e,function(e){return e[t]===r});return e.indexOf(n)}
16(e,"name",r))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=e.function||e.fn;e.enabled&&a(r)&&(t.offsets.popper=E(t.offsets.popper),t.offsets.reference=E(t.offsets.reference),t=r(t,e))}),t}function D(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=L(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=j(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=R(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function B(e,t){return e.some(function(e){var r=e.name;return e.enabled&&r===t})}function q(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],s=i?""+i+r:e;if(void 0!==document.body.style[s])return s}return null}function $(){return this.state.isDestroyed=!0,B(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[q("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(e){var t=e.ownerDocument;return t?t.defaultView:window}function U(){var e,t,r;this.state.eventsEnabled||(this.state=(e=this.reference,this.options,(t=this.state).updateBound=this.scheduleUpdate,W(e).addEventListener("resize",t.updateBound,{passive:!0}),!function e(t,r,n,i){var s="BODY"===t.nodeName,a=s?t.ownerDocument.defaultView:t;a.addEventListener(r,n,{passive:!0}),s||e(u(a.parentNode),r,n,i),i.push(a)}(r=u(e),"scroll",t.updateBound,t.scrollParents),t.scrollElement=r,t.eventsEnabled=!0,t))}function H(){if(this.state.eventsEnabled){var e,t;cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,W(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t)}}function z(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function F(e,t){Object.keys(t).forEach(function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&z(t[r])&&(n="px"),e.style[r]=t[r]+n})}var V=n&&/Firefox/i.test(navigator.userAgent);function G(e,t,r){var n=N(e,function(e){return e.name===t}),i=!!n&&e.some(function(e){return e.name===r&&e.enabled&&e.order<n.order});if(!i){var s="`"+t+"`";console.warn("`"+r+"` modifier is required by "+s+" modifier in order to work, be sure to include it before "+s+"!")}return i}var Y=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],K=Y.slice(3);function X(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=K.indexOf(e),n=K.slice(r+1).concat(K.slice(0,r));return t?n.reverse():n}var J=function(){function e(t,r){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};k(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=s(this.update.bind(this)),this.options=S({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,i.modifiers)).forEach(function(t){n.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return S({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}
16),this.modifiers.forEach(function(e){e.enabled&&a(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return _(e,[{key:"update",value:function(){return D.call(this)}},{key:"destroy",value:function(){return $.call(this)}},{key:"enableEventListeners",value:function(){return U.call(this)}},{key:"disableEventListeners",value:function(){return H.call(this)}}]),e}();J.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,J.placements=Y,J.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var i=e.offsets,s=i.reference,a=i.popper,o=-1!==["bottom","top"].indexOf(r),l=o?"left":"top",u=o?"width":"height",c={start:x({},l,s[l]),end:x({},l,s[l]+s[u]-a[u])};e.offsets.popper=S({},a,c[n])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var r,n,i,s,a,o=t.offset,l=e.placement,u=e.offsets,c=u.popper,d=u.reference,h=l.split("-")[0],f=void 0;return z(+o)?f=[+o,0]:(r=[0,0],n=-1!==["right","left"].indexOf(h),s=(i=o.split(/(\+|\-)/).map(function(e){return e.trim()})).indexOf(N(i,function(e){return -1!==e.search(/,|\s/)})),i[s]&&-1===i[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),a=/\s*,\s*|\s+/,(-1!==s?[i.slice(0,s).concat([i[s].split(a)[0]]),[i[s].split(a)[1]].concat(i.slice(s+1))]:[i]).map(function(e,t){var r=(1===t?!n:n)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,r,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+i[1],a=i[2];if(!s)return e;if(0===a.indexOf("%"))return E("%p"===a?r:n)[t]/100*s;if("vh"!==a&&"vw"!==a)return s;return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s}(e,r,c,d)})}).forEach(function(e,t){e.forEach(function(n,i){z(n)&&(r[t]+=n*("-"===e[i-1]?-1:1))})}),f=r),"left"===h?(c.top+=f[0],c.left-=f[1]):"right"===h?(c.top+=f[0],c.left+=f[1]):"top"===h?(c.left+=f[0],c.top-=f[1]):"bottom"===h&&(c.left+=f[0],c.top+=f[1]),e.popper=c,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var r=t.boundariesElement||p(e.instance.popper);e.instance.reference===r&&(r=p(r));var n=q("transform"),i=e.instance.popper.style,s=i.top,a=i.left,o=i[n];i.top="",i.left="",i[n]="";var l=P(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);i.top=s,i.left=a,i[n]=o,t.boundaries=l;var u=t.priority,c=e.offsets.popper,d={primary:function(e){var r=c[e];return c[e]<l[e]&&!t.escapeWithReference&&(r=Math.max(c[e],l[e])),x({},e,r)},secondary:function(e){var r="right"===e?"left":"top",n=c[r];return c[e]>l[e]&&!t.escapeWithReference&&(n=Math.min(c[r],l[e]-("right"===e?c.width:c.height))),x({},r,n)}};return u.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=S({},c,d[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,r=t.popper,n=t.reference,i=e.placement.split("-")[0],s=Math.floor,a=-1!==["top","bottom"].indexOf(i),o=a?"right":"bottom",l=a?"left":"top";return r[o]<s(n[l])&&(e.offsets.popper[l]=s(n[l])-r[a?"width":"height"]),r[l]>s(n[o])&&(e.offsets.popper[l]=s(n[o])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!G(e.instance.modifiers,"arrow","keepTogether"))return e;var r,n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],s=e.offsets,a=s.popper,l=s.reference,u=-1!==["left","right"].indexOf(i),c=u?"height":"width",d=u?"Top":"Left",h=d.toLowerCase(),f=u?"bottom":"right",p=I(n)[c];
16l[f]-p<a[h]&&(e.offsets.popper[h]-=a[h]-(l[f]-p)),l[h]+p>a[f]&&(e.offsets.popper[h]+=l[h]+p-a[f]),e.offsets.popper=E(e.offsets.popper);var m=l[h]+l[c]/2-p/2,g=o(e.instance.popper),y=parseFloat(g["margin"+d]),b=parseFloat(g["border"+d+"Width"]),v=m-e.offsets.popper[h]-y-b;return v=Math.max(Math.min(a[c]-p,v),0),e.arrowElement=n,e.offsets.arrow=(x(r={},h,Math.round(v)),x(r,u?"left":"top",""),r),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(B(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var r=P(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],i=M(n),s=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case"flip":a=[n,i];break;case"clockwise":a=X(n);break;case"counterclockwise":a=X(n,!0);break;default:a=t.behavior}return a.forEach(function(o,l){if(n!==o||a.length===l+1)return e;i=M(n=e.placement.split("-")[0]);var u,c=e.offsets.popper,d=e.offsets.reference,h=Math.floor,f="left"===n&&h(c.right)>h(d.left)||"right"===n&&h(c.left)<h(d.right)||"top"===n&&h(c.bottom)>h(d.top)||"bottom"===n&&h(c.top)<h(d.bottom),p=h(c.left)<h(r.left),m=h(c.right)>h(r.right),g=h(c.top)<h(r.top),y=h(c.bottom)>h(r.bottom),b="left"===n&&p||"right"===n&&m||"top"===n&&g||"bottom"===n&&y,v=-1!==["top","bottom"].indexOf(n),w=!!t.flipVariations&&(v&&"start"===s&&p||v&&"end"===s&&m||!v&&"start"===s&&g||!v&&"end"===s&&y),k=!!t.flipVariationsByContent&&(v&&"start"===s&&m||v&&"end"===s&&p||!v&&"start"===s&&y||!v&&"end"===s&&g),_=w||k;(f||b||_)&&(e.flipped=!0,(f||b)&&(n=a[l+1]),_&&(s="end"===(u=s)?"start":"start"===u?"end":u),e.placement=n+(s?"-"+s:""),e.offsets.popper=S({},e.offsets.popper,j(e.instance.popper,e.offsets.reference,e.placement)),e=R(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,i=n.popper,s=n.reference,a=-1!==["left","right"].indexOf(r),o=-1===["top","left"].indexOf(r);return i[a?"left":"top"]=s[r]-(o?i[a?"width":"height"]:0),e.placement=M(t),e.offsets.popper=E(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!G(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=N(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var r,n,i,s,a,o,l,u,c,d,h,f,m,g=t.x,y=t.y,b=e.offsets.popper,v=N(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==v&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var w=void 0!==v?v:t.gpuAcceleration,k=p(e.instance.popper),_=T(k),x={position:b.position},E=(r=window.devicePixelRatio<2||!V,i=(n=e.offsets).popper,s=n.reference,a=Math.round,o=Math.floor,l=function(e){return e},u=a(s.width),c=a(i.width),d=-1!==["left","right"].indexOf(e.placement),h=-1!==e.placement.indexOf("-"),f=r?d||h||u%2==c%2?a:o:l,m=r?a:l,{left:f(u%2==1&&c%2==1&&!h&&r?i.left-1:i.left),top:m(i.top),bottom:m(i.bottom),right:f(i.right)}),O="bottom"===g?"top":"bottom",C="right"===y?"left":"right",P=q("transform"),L=void 0,A=void 0;A="bottom"===O?"HTML"===k.nodeName?-k.clientHeight+E.bottom:-_.height+E.bottom:E.top,L="right"===C?"HTML"===k.nodeName?-k.clientWidth+E.right:-_.width+E.right:E.left,w&&P?(x[P]="translate3d("+L+"px, "+A+"px, 0)",x[O]=0,x[C]=0,x.willChange="transform"):(x[O]=A*("bottom"===O?-1:1),x[C]=L*("right"===C?-1:1),x.willChange=O+", "+C);var I={"x-placement":e.placement};return e.attributes=S({},I,e.attributes),e.styles=S({},x,e.styles),e.arrowStyles=S({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,r;return F(e.instance.popper,e.styles),t=e.instance.popper,Object.keys(r=e.attributes).forEac
16h(function(e){!1!==r[e]?t.setAttribute(e,r[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&F(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,r,n,i){var s=A(i,t,e,r.positionFixed),a=L(r.placement,s,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",a),F(t,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}};let Q=J},39226:(e,t,r)=>{"use strict";r.d(t,{s:()=>l});var n=r(59005),i=r(24782),s=r(82921),a=r(15204),o=r(581);function l(e,t){let r,l,u=(0,o.a)(e,t?.in);return Math.round(((0,i.b)(u)-(r=(0,a.p)(u,void 0),(l=(0,s.w)(u,0)).setFullYear(r,0,4),l.setHours(0,0,0,0),(0,i.b)(l)))/n.my)+1}},40469:(e,t,r)=>{"use strict";r.d(t,{k:()=>s});var n=r(44871),i=r(581);function s(e,t){let r=(0,n.q)(),s=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=(0,i.a)(e,t?.in),o=a.getDay();return a.setDate(a.getDate()-(7*(o<s)+o-s)),a.setHours(0,0,0,0),a}},42105:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},42130:()=>{},42145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},43961:(e,t,r)=>{var n=0/0,i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,c="object"==typeof self&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),h=Object.prototype.toString,f=Math.max,p=Math.min,m=function(){return d.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==h.call(t))return n;if(g(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=g(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var u=a.test(e);return u||o.test(e)?l(e.slice(2),u?2:8):s.test(e)?n:+e}e.exports=function(e,t,r){var n,i,s,a,o,l,u=0,c=!1,d=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var r=n,s=i;return n=i=void 0,u=t,a=e.apply(s,r)}function v(e){var r=e-l,n=e-u;return void 0===l||r>=t||r<0||d&&n>=s}function w(){var e,r,n,i=m();if(v(i))return k(i);o=setTimeout(w,(e=i-l,r=i-u,n=t-e,d?p(n,s-r):n))}function k(e){return(o=void 0,h&&n)?b(e):(n=i=void 0,a)}function _(){var e,r=m(),s=v(r);if(n=arguments,i=this,l=r,s){if(void 0===o)return u=e=l,o=setTimeout(w,t),c?b(e):a;if(d)return o=setTimeout(w,t),b(l)}return void 0===o&&(o=setTimeout(w,t)),a}return t=y(t)||0,g(r)&&(c=!!r.leading,s=(d="maxWait"in r)?f(y(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h),_.cancel=function(){void 0!==o&&clearTimeout(o),u=0,n=l=i=o=void 0},_.flush=function(){return void 0===o?a:k(m())},_}},44713:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});var n=r(9281);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,s=n.$,a=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return s(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:o}=t,l=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==o?void 0:o[e];if(null===t)return null;let s=i(t)||i(n);return a[e][s]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return s(e,l,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...u}[t]):({...o,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},44852:e=>{"use strict";var t=function(e){var t,n,i;return!!(t=e)&&"object"==typeof t&&(n=e,"[object RegExp]"!==(i=Object.prototype.toString.call(n))&&"[object Date]"!==i&&n.$$typeof!==r)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?o(Array.isArray(e)?[]:{},e,t):e}function i(e,t,r){return e.concat(t).map(function(e){return n(e,r)})}function s(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function a(e,t){try{return t in e}catch(e){return!1}}function o(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n;var u,c,d=Array.isArray(r);return d!==Array.isArray(e)?n(r,l):d?l.arrayMerge(e,r,l):(c={},(u=l).isMergeableObject(e)&&s(e).forEach(function(t){c[t]=n(e[t],u)}),s(r).forEach(function(t){a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))||(a(e,t)&&u.isMergeableObject(r[t])?c[t]=(function(e,t){if(!t.customMerge)return o;var r=t.customMerge(e);return"function"==typeof r?r:o})(t,u)(e[t],r[t],u):c[t]=n(r[t],u))}),c)}o.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return o(e,r,t)},{})},e.exports=o},44871:(e,t,r)=>{"use strict";r.d(t,{q:()=>i});let n={};function i(){return n}},45732:(e,t,r)=>{e.exports=r(83564)},46987:(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,
16configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"forbidden",{enumerable:!0,get:function(){return n}}),r(57475).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52318:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(r(96810)),s=r(82077),a=u(r(53339)),o=u(r(80047)),l=r(19707);function u(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){g(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=(0,l.canUseDOM)()&&r(79063);t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");d.prototype=Object.create(e&&e.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),e&&f(d,e);var t,r,u=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=m(d);return e=t?Reflect.construct(r,arguments,m(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return p(e)}(this,e)});function d(e){var t;if(!(this instanceof d))throw TypeError("Cannot call a class as a function");return g(p(t=u.call(this,e)),"innerSliderRefHandler",function(e){return t.innerSlider=e}),g(p(t),"slickPrev",function(){return t.innerSlider.slickPrev()}),g(p(t),"slickNext",function(){return t.innerSlider.slickNext()}),g(p(t),"slickGoTo",function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,r)}),g(p(t),"slickPause",function(){return t.innerSlider.pause("paused")}),g(p(t),"slickPlay",function(){return t.innerSlider.autoPlay("play")}),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return r=[{key:"media",value:function(e,t){y.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(r,n){var i;i=0===n?(0,a.default)({minWidth:0,maxWidth:r}):(0,a.default)({minWidth:t[n-1]+1,maxWidth:r}),(0,l.canUseDOM)()&&e.media(i,function(){e.setState({breakpoint:r})})});var r=(0,a.default)({minWidth:t.slice(-1)[0]});(0,l.canUseDOM)()&&this.media(r,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEac
16h(function(e){y.unregister(e.query,e.handler)})}},{key:"render",value:function(){var e,t,r=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===r.state.breakpoint}))[0].settings?"unslick":h(h(h({},o.default),this.props),t[0].settings):h(h({},o.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var n=i.default.Children.toArray(this.props.children);n=n.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var a=[],l=null,u=0;u<n.length;u+=e.rows*e.slidesPerRow){for(var d=[],f=u;f<u+e.rows*e.slidesPerRow;f+=e.slidesPerRow){for(var p=[],m=f;m<f+e.slidesPerRow&&(e.variableWidth&&n[m].props.style&&(l=n[m].props.style.width),!(m>=n.length));m+=1)p.push(i.default.cloneElement(n[m],{key:100*u+10*f+m,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(i.default.createElement("div",{key:10*u+f},p))}e.variableWidth?a.push(i.default.createElement("div",{key:u,style:{width:l}},d)):a.push(i.default.createElement("div",{key:u},d))}if("unslick"===e){var g="regular slider "+(this.props.className||"");return i.default.createElement("div",{className:g},n)}return a.length<=e.slidesToShow&&(e.unslick=!0),i.default.createElement(s.InnerSlider,c({style:this.props.style,ref:this.innerSliderRefHandler},e),a)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(d.prototype,r),Object.defineProperty(d,"prototype",{writable:!1}),d}(i.default.Component)},53339:(e,t,r)=>{var n=r(15312),i=function(e){var t="",r=Object.keys(e);return r.forEach(function(i,s){var a,o=e[i];a=i=n(i),/[height|width]$/.test(a)&&"number"==typeof o&&(o+="px"),!0===o?t+=i:!1===o?t+="not "+i:t+="("+i+": "+o+")",s<r.length-1&&(t+=" and ")}),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach(function(r,n){t+=i(r),n<e.length-1&&(t+=", ")}),t):i(e)}},54976:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PostgrestError=t.PostgrestBuilder=t.PostgrestTransformBuilder=t.PostgrestFilterBuilder=t.PostgrestQueryBuilder=t.PostgrestClient=void 0;let i=n(r(20990));t.PostgrestClient=i.default;let s=n(r(95918));t.PostgrestQueryBuilder=s.default;let a=n(r(57114));t.PostgrestFilterBuilder=a.default;let o=n(r(60386));t.PostgrestTransformBuilder=o.default;let l=n(r(35724));t.PostgrestBuilder=l.default;let u=n(r(90629));t.PostgrestError=u.default,t.default={PostgrestClient:i.default,PostgrestQueryBuilder:s.default,PostgrestFilterBuilder:a.default,PostgrestTransformBuilder:o.default,PostgrestBuilder:l.default,PostgrestError:u.default}},55245:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>_});var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some(function(e,n){return e[0]===t&&(r=n,!0)}),r}function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var i=n[r];e.call(t,i[1],i[0])}},t}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,s=void 0!==r.g&&r.g.Math===Math?r.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(s):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},o=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,u=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var r=!1,n=!1,i=0;function s(){r&&(r=!1,e()),n&&l()}function o(){a(s)}function l(){var e=Date.now();if(r){if(e-i<2)return;n=!0}else r=!0,n=!1,setTimeout(o,20);i=e}return l}(this.refresh.bind(this),0)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;o.some(function(e){return!!~r.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
16w e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||s},h=g(0,0,0,0);function f(e){return parseFloat(e)||0}function p(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(t,r){return t+f(e["border-"+r+"-width"])},0)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e,t,r,n){return{x:e,y:t,width:r,height:n}}var y=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!i)return h;if(m(e)){var t;return g(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t,r=e.clientWidth,n=e.clientHeight;if(!r&&!n)return h;var i=d(e).getComputedStyle(e),s=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var i=n[r],s=e["padding-"+i];t[i]=f(s)}return t}(i),a=s.left+s.right,o=s.top+s.bottom,l=f(i.width),u=f(i.height);if("border-box"===i.boxSizing&&(Math.round(l+a)!==r&&(l-=p(i,"left","right")+a),Math.round(u+o)!==n&&(u-=p(i,"top","bottom")+o)),(t=e)!==d(t).document.documentElement){var c=Math.round(l+a)-r,m=Math.round(u+o)-n;1!==Math.abs(c)&&(l-=c),1!==Math.abs(m)&&(u-=m)}return g(s.left,s.top,l,u)}(e)}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),b=function(e,t){var r,n,i,s,a,o=(r=t.x,n=t.y,i=t.width,s=t.height,c(a=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:r,y:n,width:i,height:s,top:n,right:r+i,bottom:s+n,left:r}),a);c(this,{target:e,contentRect:o})},v=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new b(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new n,k=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var r=new v(t,u.getInstance(),this);w.set(this,r)};["observe","unobserve","disconnect"].forEach(function(e){k.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});let _=void 0!==s.ResizeObserver?s.ResizeObserver:k},55375:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]])},55392:(e,t)=>{"use strict";
16Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="0.0.0-automated"},57114:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=n(r(60386));class s extends i.default{eq(e,t){return this.url.searchParams.append(e,`eq.${t}`),this}neq(e,t){return this.url.searchParams.append(e,`neq.${t}`),this}gt(e,t){return this.url.searchParams.append(e,`gt.${t}`),this}gte(e,t){return this.url.searchParams.append(e,`gte.${t}`),this}lt(e,t){return this.url.searchParams.append(e,`lt.${t}`),this}lte(e,t){return this.url.searchParams.append(e,`lte.${t}`),this}like(e,t){return this.url.searchParams.append(e,`like.${t}`),this}likeAllOf(e,t){return this.url.searchParams.append(e,`like(all).{${t.join(",")}}`),this}likeAnyOf(e,t){return this.url.searchParams.append(e,`like(any).{${t.join(",")}}`),this}ilike(e,t){return this.url.searchParams.append(e,`ilike.${t}`),this}ilikeAllOf(e,t){return this.url.searchParams.append(e,`ilike(all).{${t.join(",")}}`),this}ilikeAnyOf(e,t){return this.url.searchParams.append(e,`ilike(any).{${t.join(",")}}`),this}is(e,t){return this.url.searchParams.append(e,`is.${t}`),this}in(e,t){let r=Array.from(new Set(t)).map(e=>"string"==typeof e&&RegExp("[,()]").test(e)?`"${e}"`:`${e}`).join(",");return this.url.searchParams.append(e,`in.(${r})`),this}contains(e,t){return"string"==typeof t?this.url.searchParams.append(e,`cs.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cs.{${t.join(",")}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(t)}`),this}containedBy(e,t){return"string"==typeof t?this.url.searchParams.append(e,`cd.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cd.{${t.join(",")}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(t)}`),this}rangeGt(e,t){return this.url.searchParams.append(e,`sr.${t}`),this}rangeGte(e,t){return this.url.searchParams.append(e,`nxl.${t}`),this}rangeLt(e,t){return this.url.searchParams.append(e,`sl.${t}`),this}rangeLte(e,t){return this.url.searchParams.append(e,`nxr.${t}`),this}rangeAdjacent(e,t){return this.url.searchParams.append(e,`adj.${t}`),this}overlaps(e,t){return"string"==typeof t?this.url.searchParams.append(e,`ov.${t}`):this.url.searchParams.append(e,`ov.{${t.join(",")}}`),this}textSearch(e,t,{config:r,type:n}={}){let i="";"plain"===n?i="pl":"phrase"===n?i="ph":"websearch"===n&&(i="w");let s=void 0===r?"":`(${r})`;return this.url.searchParams.append(e,`${i}fts${s}.${t}`),this}match(e){return Object.entries(e).forEach(([e,t])=>{this.url.searchParams.append(e,`eq.${t}`)}),this}not(e,t,r){return this.url.searchParams.append(e,`not.${t}.${r}`),this}or(e,{foreignTable:t,referencedTable:r=t}={}){let n=r?`${r}.or`:"or";return this.url.searchParams.append(n,`(${e})`),this}filter(e,t,r){return this.url.searchParams.append(e,`${t}.${r}`),this}}t.default=s},57669:(e,t,r)=>{"use strict";r.d(t,{bL:()=>_,zi:()=>x});var n=r(96810),i=r(29950),s=r(60517),a=r(42739),o=r(60118),l=r(79662),u=r(86878),c=r(4728),d=r(73154),h="Switch",[f,p]=(0,a.A)(h),[m,g]=f(h),y=n.forwardRef((e,t)=>{let{__scopeSwitch:r,name:a,checked:l,defaultChecked:u,required:f,disabled:p,value:g="on",onCheckedChange:y,form:b,...v}=e,[_,x]=n.useState(null),S=(0,s.s)(t,e=>x(e)),E=n.useRef(!1),T=!_||b||!!_.closest("form"),[O,C]=(0,o.i)({prop:l,defaultProp:u??!1,onChange:y,caller:h});return(0,d.jsxs)(m,{scope:r,checked:O,disabled:p,children:[(0,d.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":O,"aria-required":f,"data-state":k(O),"data-disabled":p?"":void 0,disabled:p,value:g,...v,ref:S,onClick:(0,i.mK)(e.onClick,e=>{C(e=>!e),T&&(E.current=e.isPropagationStopped(),E.current||e.stopPropagation())})}),T&&(0,d.jsx)(w,{control:_,bubbles:!E.current,name:a,value:g,checked:O,required:f,disabled:p,form:b,style:{transform:"translateX(-100%)"}})]})});y.displayName=h;var b="SwitchThumb",v=n.forwardRef((e,t)=>{let{__scopeSwitch:r,...n}=e,i=g(b,r);return(0,d.jsx)(c.sG.span,{"data-state":k(i.checked),"data-disabled":i.disabled?"":void 0,...n,ref:t})});v.displayName=b;var w=n.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:i=!0,...a},o)=>{let c=n.useRef(null),h=(0,s.s)(c,o),f=(0,l.Z)(r),p=(0,u.X)(t);return n.useEffect(()=>
16{let e=c.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(f!==r&&t){let n=new Event("click",{bubbles:i});t.call(e,r),e.dispatchEvent(n)}},[f,r,i]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...a,tabIndex:-1,ref:h,style:{...a.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function k(e){return e?"checked":"unchecked"}w.displayName="SwitchBubbleInput";var _=y,x=v},59005:(e,t,r)=>{"use strict";r.d(t,{Cg:()=>s,_P:()=>l,_m:()=>o,my:()=>n,s0:()=>a,w4:()=>i});let n=6048e5,i=864e5,s=6e4,a=36e5,o=1e3,l=Symbol.for("constructDateFrom")},59340:(e,t,r)=>{"use strict";r.r(t),r.d(t,{create:()=>s,default:()=>i});var n={};!function e(t,r,n,i){var s,a,o,l,u,c,d,h,f,p,m,g=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),y="function"==typeof Path2D&&"function"==typeof DOMMatrix;function b(){}function v(e){var n=r.exports.Promise,i=void 0!==n?n:t.Promise;return"function"==typeof i?new i(e):(e(b,b),null)}var w=(s=function(){if(!t.OffscreenCanvas)return!1;var e=new OffscreenCanvas(1,1),r=e.getContext("2d");r.fillRect(0,0,1,1);var n=e.transferToImageBitmap();try{r.createPattern(n,"no-repeat")}catch(e){return!1}return!0}(),a=new Map,{transform:function(e){if(s)return e;if(a.has(e))return a.get(e);var t=new OffscreenCanvas(e.width,e.height);return t.getContext("2d").drawImage(e,0,0),a.set(e,t),t},clear:function(){a.clear()}}),k=(u=Math.floor(1e3/60),c={},d=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(o=function(e){var t=Math.random();return c[t]=requestAnimationFrame(function r(n){d===n||d+u-1<n?(d=n,delete c[t],e()):c[t]=requestAnimationFrame(r)}),t},l=function(e){c[e]&&cancelAnimationFrame(c[e])}):(o=function(e){return setTimeout(e,u)},l=function(e){return clearTimeout(e)}),{frame:o,cancel:l}),_=(p={},function(){if(h)return h;if(!n&&g){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {\n if (msg.data.options) {\n CONFETTI(msg.data.options).then(function () {\n if (msg.data.callback) {\n postMessage({ callback: msg.data.callback });\n }\n });\n } else if (msg.data.reset) {\n CONFETTI && CONFETTI.reset();\n } else if (msg.data.resize) {\n SIZE.width = msg.data.resize.width;\n SIZE.height = msg.data.resize.height;\n } else if (msg.data.canvas) {\n SIZE.width = msg.data.canvas.width;\n SIZE.height = msg.data.canvas.height;\n CONFETTI = module.exports.create(msg.data.canvas);\n }\n}"].join("\n");try{h=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return"function"==typeof console.warn&&console.warn("\uD83C\uDF8A Could not load worker",e),null}var r=h;function i(e,t){r.postMessage({options:e||{},callback:t})}r.init=function(e){var t=e.transferControlToOffscreen();r.postMessage({canvas:t},[t])},r.fire=function(e,t,n){if(f)return i(e,null),f;var s=Math.random().toString(36).slice(2);return f=v(function(t){function a(e){e.data.callback===s&&(delete p[s],r.removeEventListener("message",a),f=null,w.clear(),n(),t())}r.addEventListener("message",a),i(e,s),p[s]=a.bind(null,{data:{callback:s}})})},r.reset=function(){for(var e in r.postMessage({reset:!0}),p)p[e](),delete p[e]}}return h}),x={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function S(e,t,r){var n;return n=e&&null!=e[t]?e[t]:x[t],r?r(n):n}function E(e){return e<0?0:Math.floor(e)}function T(e){return parseInt(e,16)}function O(e){return e.map(C)}function C(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:T(t.substring(0,2)),g:T(t.substring(2,4)),b:T(t.substring(4,6))}}function P(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function L(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function A(e,r){var s,a=!e,o=!!S(r||{},"resize"),l=!1,u=S(r,"disableForReducedMotion",Boolean),c=g&&S(r||{},"useWorker")?_():null,d=a?P:L,h=!!e&&!!c&&!!e.__confetti_initialized,f="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function p(r){var p,m=u||S(r,"disableForReducedMotion",Boolean),g=S(r,"zIndex",Number);if(m&&f)return v(function(e){e()});a&&s?e=s.canvas:a&&!e&&((p=document.createElement("canvas")).style.position="fixed",p.style.top="0px",p.style.left="0px",p.style.pointerEvents="none",p.style.zIndex=g,e=p,document.body.appendChild(e)),o&&!h&&d(e);var b={width:e.width,height:e.height};function _(){if(c){var t={getBoundingClientRect:function(){if(!a)return e.getBoundingClientRect()}};d(t),c.postMessage({resize:{width:t.width,height:t.height}});return}b.width=b.height=null}function x(){s=null,o&&(l=!1,t.removeEventListener("resize",_)),a&&e&&(document.body.contains(e)&&document.body.removeChild(e),e=null,h=!1)}return(c&&!h&&c.init(e),h=!0,c&&(e.__confetti_initialized=!0),o&&!l&&(l=!0,t.addEventListener("resize",_,!1)),c)?c.fire(r,b,x):function(t,r,a){for(var o,l,u,c,h,f,p,m=S(t,"particleCount",E),g=S(t,"angle",Number),b=S(t,"spread",Number),_=S(t,"startVelocity",Number),x=S(t,"decay",Number),T=S(t,"gravity",Number),C=S(t,"drift",Number),P=S(t,"colors",O),L=S(t,"ticks",Number),A=S(t,"shapes"),I=S(t,"scalar"),M=!!S(t,"flat"),j=((o=S(t,"origin",Object)).x=S(o,"x",Number),o.y=S(o,"y",Number),o),N=m,R=[],D=e.width*j.x,B=e.height*j.y;N--;)R.push(function(e){var t=e.angle*(Math.PI/180),r=e.spread*(Math.PI/180);return{x:e.x,y:e.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*e.startVelocity+Math.random()*e.startVelocity,angle2D:-t+(.5*r-Math.random()*r),tiltAngle:(.5*Math.random()+.25)
16*Math.PI,color:e.color,shape:e.shape,tick:0,totalTicks:e.ticks,decay:e.decay,drift:e.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*e.gravity,ovalScalar:.6,scalar:e.scalar,flat:e.flat}}({x:D,y:B,angle:g,spread:b,startVelocity:_,color:P[N%P.length],shape:A[Math.floor(Math.random()*(A.length-0))+0],ticks:L,decay:x,gravity:T,drift:C,scalar:I,flat:M}));return s?s.addFettis(R):(l=e,h=R.slice(),f=l.getContext("2d"),p=v(function(e){function t(){u=c=null,f.clearRect(0,0,r.width,r.height),w.clear(),a(),e()}u=k.frame(function e(){n&&(r.width!==i.width||r.height!==i.height)&&(r.width=l.width=i.width,r.height=l.height=i.height),r.width||r.height||(d(l),r.width=l.width,r.height=l.height),f.clearRect(0,0,r.width,r.height),(h=h.filter(function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var r,n,i,s,a,o,l,u,c,d,h,f,p,m,g,b,v=t.tick++/t.totalTicks,k=t.x+t.random*t.tiltCos,_=t.y+t.random*t.tiltSin,x=t.wobbleX+t.random*t.tiltCos,S=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-v)+")",e.beginPath(),y&&"path"===t.shape.type&&"string"==typeof t.shape.path&&Array.isArray(t.shape.matrix)){e.fill((r=t.shape.path,n=t.shape.matrix,i=t.x,s=t.y,a=.1*Math.abs(x-k),o=.1*Math.abs(S-_),l=Math.PI/10*t.wobble,u=new Path2D(r),(c=new Path2D).addPath(u,new DOMMatrix(n)),(d=new Path2D).addPath(c,new DOMMatrix([Math.cos(l)*a,Math.sin(l)*a,-Math.sin(l)*o,Math.cos(l)*o,i,s])),d))}else if("bitmap"===t.shape.type){var E=Math.PI/10*t.wobble,T=.1*Math.abs(x-k),O=.1*Math.abs(S-_),C=t.shape.bitmap.width*t.scalar,P=t.shape.bitmap.height*t.scalar,L=new DOMMatrix([Math.cos(E)*T,Math.sin(E)*T,-Math.sin(E)*O,Math.cos(E)*O,t.x,t.y]);L.multiplySelf(new DOMMatrix(t.shape.matrix));var A=e.createPattern(w.transform(t.shape.bitmap),"no-repeat");A.setTransform(L),e.globalAlpha=1-v,e.fillStyle=A,e.fillRect(t.x-C/2,t.y-P/2,C,P),e.globalAlpha=1}else if("circle"===t.shape)e.ellipse?e.ellipse(t.x,t.y,Math.abs(x-k)*t.ovalScalar,Math.abs(S-_)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):(h=t.x,f=t.y,p=Math.abs(x-k)*t.ovalScalar,m=Math.abs(S-_)*t.ovalScalar,g=Math.PI/10*t.wobble,b=2*Math.PI,e.save(),e.translate(h,f),e.rotate(g),e.scale(p,m),e.arc(0,0,1,0,b,void 0),e.restore());else if("star"===t.shape)for(var I=Math.PI/2*3,M=4*t.scalar,j=8*t.scalar,N=t.x,R=t.y,D=5,B=Math.PI/5;D--;)N=t.x+Math.cos(I)*j,R=t.y+Math.sin(I)*j,e.lineTo(N,R),I+=B,N=t.x+Math.cos(I)*M,R=t.y+Math.sin(I)*M,e.lineTo(N,R),I+=B;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(_)),e.lineTo(Math.floor(x),Math.floor(S)),e.lineTo(Math.floor(k),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}(f,e)})).length?u=k.frame(e):t()}),c=t}),(s={addFettis:function(e){return h=h.concat(e),p},canvas:l,promise:p,reset:function(){u&&k.cancel(u),c&&c()}}).promise)}(r,b,x)}return p.reset=function(){c&&c.reset(),s&&s.reset()},p}function I(){return m||(m=A(null,{useWorker:!0,resize:!0})),m}r.exports=function(){return I().apply(this,arguments)},r.exports.reset=function(){I().reset()},r.exports.create=A,r.exports.shapeFromPath=function(e){if(!y)throw Error("path confetti are not supported in this browser");"string"==typeof e?n=e:(n=e.path,i=e.matrix);var t=new Path2D(n),r=document.createElement("canvas").getContext("2d");if(!i){for(var n,i,s,a,o=1e3,l=1e3,u=0,c=0,d=0;d<1e3;d+=2)for(var h=0;h<1e3;h+=2)r.isPointInPath(t,d,h,"nonzero")&&(o=Math.min(o,d),l=Math.min(l,h),u=Math.max(u,d),c=Math.max(c,h));s=u-o;var f=Math.min(10/s,10/(a=c-l));i=[f,0,0,f,-Math.round(s/2+o)*f,-Math.round(a/2+l)*f]}return{type:"path",path:n,matrix:i}},r.exports.shapeFromText=function(e){var t,r=1,n="#000000",i='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof e?t=e:(t=e.text,r="scalar"in e?e.scalar:r,i="fontFamily"in e?e.fontFamily:i,n="color"in e?e.color:n);var s=10*r,a=""+s+"px "+i,o=new OffscreenCanvas(s,s),l=o.getContext("2d");l.font=a;var u=l.measureText(t),c=Math.ceil(u.actualBoundingBoxRight+u.actualBoundingBoxLeft),d=Math.ceil(u.actualBoundingBoxAscent+u.actualBoundingBoxDescent),h=u.actualBoundingBoxLeft+2,f=u.actualBoundingBoxAscent+2;c+=4,d+=4,(l=(o=new OffscreenCanvas(c,d)).getContext("2d")).font=a,l.fillStyle=n,l.fillText(t,h,f);var p=1/r;return{type:"bitmap",bitmap:o.transferToImageBitmap(),matrix:[p,0,0,p,-c*p/2,-d*p/2]}}}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),n,!1);let i=n.exports;var s=n.exports.create},60384:(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,
16configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unauthorized",{enumerable:!0,get:function(){return n}}),r(57475).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},60386:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=n(r(35724));class s extends i.default{select(e){let t=!1,r=(null!=e?e:"*").split("").map(e=>/\s/.test(e)&&!t?"":('"'===e&&(t=!t),e)).join("");return this.url.searchParams.set("select",r),this.headers.Prefer&&(this.headers.Prefer+=","),this.headers.Prefer+="return=representation",this}order(e,{ascending:t=!0,nullsFirst:r,foreignTable:n,referencedTable:i=n}={}){let s=i?`${i}.order`:"order",a=this.url.searchParams.get(s);return this.url.searchParams.set(s,`${a?`${a},`:""}${e}.${t?"asc":"desc"}${void 0===r?"":r?".nullsfirst":".nullslast"}`),this}limit(e,{foreignTable:t,referencedTable:r=t}={}){let n=void 0===r?"limit":`${r}.limit`;return this.url.searchParams.set(n,`${e}`),this}range(e,t,{foreignTable:r,referencedTable:n=r}={}){let i=void 0===n?"offset":`${n}.offset`,s=void 0===n?"limit":`${n}.limit`;return this.url.searchParams.set(i,`${e}`),this.url.searchParams.set(s,`${t-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.Accept="application/vnd.pgrst.object+json",this}maybeSingle(){return"GET"===this.method?this.headers.Accept="application/json":this.headers.Accept="application/vnd.pgrst.object+json",this.isMaybeSingle=!0,this}csv(){return this.headers.Accept="text/csv",this}geojson(){return this.headers.Accept="application/geo+json",this}explain({analyze:e=!1,verbose:t=!1,settings:r=!1,buffers:n=!1,wal:i=!1,format:s="text"}={}){var a;let o=[e?"analyze":null,t?"verbose":null,r?"settings":null,n?"buffers":null,i?"wal":null].filter(Boolean).join("|"),l=null!=(a=this.headers.Accept)?a:"application/json";return this.headers.Accept=`application/vnd.pgrst.plan+${s}; for="${l}"; options=${o};`,this}rollback(){var e;return(null!=(e=this.headers.Prefer)?e:"").trim().length>0?this.headers.Prefer+=",tx=rollback":this.headers.Prefer="tx=rollback",this}returns(){return this}}t.default=s},60581:e=>{function t(e){this.options=e,e.deferSetup||this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},61847:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ServerInsertedHTMLContext:function(){return a},useServerInsertedHTML:function(){return o}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let s=r(65991)._(r(96810)),a=s.default.createContext(null);function o(e){let t=(0,s.useContext)(a);t&&t(e)}},63481:(e,t,r)=>{"use strict";r.d(t,{f:()=>i});var n=r(581);function i(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,n.a)(e)))}},65592:(e,t,r)=>{"use strict";r.d(t,{H:()=>a});var n=r(59005),i=r(82921),s=r(581);function a(e,t){let r,a,y=()=>(0,i.w)(t?.in,NaN),b=t?.additionalDigits??2,v=function(e){let t,r={},n=e.split(o);if(n.length>2)return r;if(/:/.test(n[0])?t=n[0]:(r.date=n[0],t=n[1],l.test(r.date)&&(r.date=e.split(l)[0],t=e.substr(r.date.length,e.length))),t){let e=u.exec(t);e?(r.time=t.replace(e[1],""),r.timezone=e[1]):r.time=t}return r}(e);if(v.date){let e=function(e,t){let r=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};let i=n[1]?parseInt(n[1]):null,s=n[2]?parseInt(n[2]):null;return{year:null===s?i:100*s,restDateString:e.slice((n[1]||n[2]).length)}}(v.date,b);r=function(e,t){var r,n,i,s,a,o,l,u,d,h;if(null===t)return new Date(NaN);let p=e.match(c);if(!p)return new Date(NaN);let y=!!p[4],b=f(p[1]),v=f(p[2])-1,w=f(p[3]),k=f(p[4]),_=f(p[5])-1;if(y){let e,o;return(r=k,n=_,r>=1&&r<=53&&n>=0&&n<=6)?(i=t,s=k,a=_,(e=new Date(0)).setUTCFullYear(i,0,4),o=e.getUTCDay()||7,e.setUTCDate(e.getUTCDate()+((s-1)*7+a+1-o)),e):new Date(NaN)}{let e=new Date(0);return(o=t,l=v,u=w,l>=0&&l<=11&&u>=1&&u<=(m[l]||(g(o)?29:28))&&(d=t,(h=b)>=1&&h<=(g(d)?366:365)))?(e.setUTCFullYear(t,v,Math.max(b,w)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!r||isNaN(+r))return y();let w=+r,k=0;if(v.time&&isNaN(k=function(e){var t,r,i;let s=e.match(d);if(!s)return NaN;let a=p(s[1]),o=p(s[2]),l=p(s[3]);return(t=a,r=o,i=l,24===t?0===r&&0===i:i>=0&&i<60&&r>=0&&r<60&&t>=0&&t<25)?a*n.s0+o*n.Cg+1e3*l:NaN}(v.time)))return y();if(v.timezone){if(isNaN(a=function(e){var t;if("Z"===e)return 0;let r=e.match(h);if(!r)return 0;let i="+"===r[1]?-1:1,s=parseInt(r[2]),a=r[3]&&parseInt(r[3])||0;return(t=a)>=0&&t<=59?i*(s*n.s0+a*n.Cg):NaN}(v.timezone)))return y()}else{let e=new Date(w+k),r=(0,s.a)(0,t?.in);return r.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),r.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),r}return(0,s.a)(w+k+a,t?.in)}let o=/[T ]/,l=/[Z ]/i,u=/([Z+-].*)$/,c=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,d=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}
16(?:[.,]\d*)?))?$/,h=/^([+-])(\d{2})(?::?(\d{2}))?$/;function f(e){return e?parseInt(e):1}function p(e){return e&&parseFloat(e.replace(",","."))||0}let m=[31,null,31,30,31,30,31,31,30,31,30,31];function g(e){return e%400==0||e%4==0&&e%100!=0}},66058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={getRedirectError:function(){return l},getRedirectStatusCodeFromError:function(){return f},getRedirectTypeFromError:function(){return h},getURLFromRedirectError:function(){return d},permanentRedirect:function(){return c},redirect:function(){return u}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let s=r(69155),a=r(86241),o;function l(e,t,r=s.RedirectStatusCode.TemporaryRedirect){let n=Object.defineProperty(Error(a.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n.digest=`${a.REDIRECT_ERROR_CODE};${t};${e};${r};`,n}function u(e,t){throw l(e,t??=o?.getStore()?.isAction?a.RedirectType.push:a.RedirectType.replace,s.RedirectStatusCode.TemporaryRedirect)}function c(e,t=a.RedirectType.replace){throw l(e,t,s.RedirectStatusCode.PermanentRedirect)}function d(e){return(0,a.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function h(e){if(!(0,a.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return e.digest.split(";",2)[1]}function f(e){if(!(0,a.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(e.digest.split(";").at(-2))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66557:(e,t,r)=>{"use strict";var n;t.A=void 0,t.A=((n=r(52318))&&n.__esModule?n:{default:n}).default},67252:(e,t,r)=>{"use strict";r.d(t,{iX:()=>i});var n=r(96810);function i(e){let t=JSON.stringify({query:e.query,variables:e.variables}),r=n.useMemo(()=>a(t),[t]),i=n.useMemo(()=>{if(e.data)return s(r,JSON.parse(JSON.stringify(e.data)),[])},[e.data,r]),[o,l]=n.useState(i),[u,c]=n.useState(!1),[d,h]=n.useState(!1),[f,p]=n.useState(!1);return n.useEffect(()=>{c(!0),l(i),parent.postMessage({type:"url-changed"})},[r,i]),n.useEffect(()=>{if(d){let e=function(e){let t,r=e.target.getAttributeNames().find(e=>e.startsWith("data-tina-field"));if(r)e.preventDefault(),e.stopPropagation(),t=e.target.getAttribute(r);else{let r=e.target.closest("[data-tina-field], [data-tina-field-overlay]");if(r){let n=r.getAttributeNames().find(e=>e.startsWith("data-tina-field"));n&&(e.preventDefault(),e.stopPropagation(),t=r.getAttribute(n))}}t&&f&&parent.postMessage({type:"field:selected",fieldName:t},window.location.origin)},t=document.createElement("style");return t.type="text/css",t.textContent=` 17 [data-tina-field] { 18 outline: 2px dashed rgba(34,150,254,0.5); 19 transition: box-shadow ease-out 150ms; 20 } 21 [data-tina-field]:hover { 22 box-shadow: inset 100vi 100vh rgba(34,150,254,0.3); 23 outline: 2px solid rgba(34,150,254,1); 24 cursor: pointer; 25 } 26 [data-tina-field-overlay] { 27 outline: 2px dashed rgba(34,150,254,0.5); 28 position: relative; 29 } 30 [data-tina-field-overlay]:hover { 31 cursor: pointer; 32 outline: 2px solid rgba(34,150,254,1); 33 } 34 [data-tina-field-overlay]::after { 35 content: ''; 36 position: absolute; 37 inset: 0; 38 z-index: 20; 39 transition: opacity ease-out 150ms; 40 background-color: rgba(34,150,254,0.3); 41 opacity: 0; 42 } 43 [data-tina-field-overlay]:hover::after { 44 opacity: 1; 45 } 46 `,document.head.appendChild(t),document.body.classList.add("__tina-quick-editing-enabled"),document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0),document.body.classList.remove("__tina-quick-editing-enabled"),t.remove()}}},[d,f]),n.useEffect(()=>{(null==e?void 0:e.experimental___selectFormByFormId)&&parent.postMessage({type:"user-select-form",formId:e.experimental___selectFormByFormId()})},[r]),n.useEffect(()=>{let{experimental___selectFormByFormId:t,...n}=e;parent.postMessage({type:"open",...n,id:r},window.location.origin);let i=e=>{"quickEditEnabled"===e.data.type&&h(e.data.value),e.data.id===r&&"updateData"===e.data.type&&(l(s(r,JSON.parse(JSON.stringify(e.data.data)),[])),p(!0),document.querySelector("[data-tina-field]")?parent.postMessage({type:"quick-edit",value:!0},window.location.origin):parent.postMessage({type:"quick-edit",value:!1},window.location.origin))};return window.addEventListener("message",i),()=>{window.removeEventListener("message",i),parent.postMessage({type:"close",id:r},window.location.origin)}},[r,h]),{data:o,isClient:u}}let s=(e,t,r=[])=>{var n;let i;if(null===t||"string"==(i=typeof(n=t))||"number"===i||"boolean"===i||"undefined"===i||null==n||n instanceof String||n instanceof Number||n instanceof Boolean)return t;if(t instanceof String)return t.valueOf();if(Array.isArray(t))return t.map((t,n)=>s(e,t,[...r,n]));let a={};for(let[n,i]of Object.entries(t)){let t=[...r,n];["__typename","_sys","_internalSys","_values","_internalValues","_content_source","_tina_metadata"].includes(n)?a[n]=i:a[n]=s(e,i,t)}return a&&"type"in a&&"root"===a.type?a:{...a,_content_source:{queryId:e,path:r}}},a=e=>{let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r)|0;return Math.abs(t).toString(36)}},68951:(e,t,r)=>{var n=r(769),i=r(73973),s=i.each,a=i.isFunction,o=i.isArray;
46function l(){if(!window.matchMedia)throw Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,r){var i=this.queries,l=r&&this.browserIsIncapable;return i[e]||(i[e]=new n(e,l)),a(t)&&(t={match:t}),o(t)||(t=[t]),s(t,function(t){a(t)&&(t={match:t}),i[e].addHandler(t)}),this},unregister:function(e,t){var r=this.queries[e];return r&&(t?r.removeHandler(t):(r.clear(),delete this.queries[e])),this}},e.exports=l},70471:(e,t,r)=>{e.exports=r(98984)},72410:(e,t,r)=>{"use strict";r.d(t,{G:()=>i});var n=r(581);function i(e){let t=(0,n.a)(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),e-r}},73973:e=>{e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var r=0,n=e.length;r<n&&!1!==t(e[r],r);r++);}}},75668:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(96810);let i=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},s=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var a={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"};let o=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:o="",children:l,iconNode:u,...c},d)=>(0,n.createElement)("svg",{ref:d,...a,width:t,height:t,stroke:e,strokeWidth:i?24*Number(r)/Number(t):r,className:s("lucide",o),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(l)?l:[l]])),l=(e,t)=>
46{let r=(0,n.forwardRef)(({className:r,...a},l)=>(0,n.createElement)(o,{ref:l,iconNode:t,className:s(`lucide-${i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...a}));return r.displayName=i(e),r}},76461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_HEADERS=void 0;let n=r(55392);t.DEFAULT_HEADERS={"X-Client-Info":`postgrest-js/${n.version}`}},79063:(e,t,r)=>{e.exports=new(r(68951))},79662:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(96810);function i(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},80047:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(96810))&&n.__esModule?n:{default:n};t.default={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return i.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return i.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0}},81333:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(96810);let i=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var s={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"};let a=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:a,className:o="",children:l,iconNode:u,...c},d)=>(0,n.createElement)("svg",{ref:d,...s,width:t,height:t,stroke:e,strokeWidth:a?24*Number(r)/Number(t):r,className:i("lucide",o),...c},[...u.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(l)?l:[l]])),o=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...s},o)=>(0,n.createElement)(a,{ref:o,iconNode:t,className:i(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,r),...s}));return r.displayName=`${e}`,r}},82077:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var n=h(r(96810)),i=h(r(42145)),s=h(r(43961)),a=h(r(42155)),o=r(19707),l=r(82774),u=r(32371),c=r(86401),d=h(r(55245));function h(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){w(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.InnerSlider=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");m.prototype=Object.create(e&&e.prototype,{constructor:{value:m,writable:!0,configurable:!0}}),Object.defineProperty(m,"prototype",{writable:!1}),e&&y(m,e);var t,r,h=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=v(m);return e=t?Reflect.construct(r,arguments,v(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return b(e)}(this,e)});function m(e){if(!(this instanceof m))throw TypeError("Cannot call a class as a function");w(b(t=h.call(this,e)),"listRefHandler",function(e){return t.list=e}),w(b(t),"trackRefHandler",function(e){return t.track=e}),w(b(t),"adaptHeight",function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,o.getHeight)(e)+"px"}}),w(b(t),"componentDidMount",function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,o.getOnDemandLazySlides)(g(g({},t.props),t.state));e.length>0&&(t.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),t.props.onLazyLoad&&t.props.onLazyLoad(e))}
vendor: 8,914 bytes, line 46
46var r=g({listRef:t.list,trackRef:t.track},t.props);t.updateState(r,!0,function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")}),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default(function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout(function(){return t.onWindowResized()},t.props.speed))):t.onWindowResized()}),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)}),w(b(t),"componentWillUnmount",function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach(function(e){return clearTimeout(e)}),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()}),w(b(t),"componentDidUpdate",function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var r=(0,o.getOnDemandLazySlides)(g(g({},t.props),t.state));r.length>0&&(t.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(r)}}),t.props.onLazyLoad&&t.props.onLazyLoad(r))}t.adaptHeight();var i=g(g({listRef:t.list,trackRef:t.track},t.props),t.state),s=t.didPropsChange(e);s&&t.updateState(i,s,function(){t.state.currentSlide>=n.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:n.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")})}),w(b(t),"onWindowResized",function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,s.default)(function(){return t.resizeWindow(e)},50),t.debouncedResize()}),w(b(t),"resizeWindow",function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(t.track&&t.track.node){var r=g(g({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(r,e,function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")}),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}}),w(b(t),"updateState",function(e,r,i){var s=(0,o.initializedState)(e);e=g(g(g({},e),s),{},{slideIndex:s.currentSlide});var a=(0,o.getTrackLeft)(e);e=g(g({},e),{},{left:a});var l=(0,o.getTrackCSS)(e);(r||n.default.Children.count(t.props.children)!==n.default.Children.count(e.children))&&(s.trackStyle=l),t.setState(s,i)}),w(b(t),"ssrInit",function(){if(t.props.variableWidth){var e=0,r=0,i=[],s=(0,o.getPreClones)(g(g(g({},t.props),t.state),{},{slideCount:t.props.children.length})),a=(0,o.getPostClones)(g(g(g({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach(function(t){i.push(t.props.style.width),e+=t.props.style.width});for(var l=0;l<s;l++)r+=i[i.length-1-l],e+=i[i.length-1-l];for(var u=0;u<a;u++)e+=i[u];for(var c=0;c<t.state.currentSlide;c++)r+=i[c];var d={width:e+"px",left:-r+"px"};if(t.props.centerMode){var h="".concat(i[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(h,") / 2 ) ")}return{trackStyle:d}}var f=n.default.Children.count(t.props.children),p=g(g(g({},t.props),t.state),{},{slideCount:f}),m=(0,o.getPreClones)(p)+(0,o.getPostClones)(p)+f,y=100/t.props.slidesToShow*m,b=100/m,v=-b*((0,o.getPreClones)(p)+t.state.currentSlide)*y/100;return t.props.centerMode&&(v+=(100-b*y/100)/2),{slideWidth:b+"%",trackStyle:{width:y+"%",left:v+"%"}}}),w(b(t),"checkImagesLoad",function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],r=e.length,n=0;Array.prototype.forEach.call(e,function(e){var i=function(){return++n&&n>=r&&t.onWindowResized()};if(e.onclick){var s=e.onclick;e.onclick=function(){s(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=i,e.onerror=function(){i(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))})}),w(b(t),"progressiveLazyLoad",function(){for(var e=[],r=g(g({},t.props),t.state),n=t.state.currentSlide;n<t.state.slideCount+(0,o.getPostClones)(r);n++)if(0>t.state.lazyLoadedList.indexOf(n)){e.push(n);break}for(var i=t.state.currentSlide-1;i>=-(0,o.getPreClones)(r);i--)if(0>t.state.lazyLoadedList.indexOf(i)){e.push(i);break}e.length>0?(t.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)}),w(b(t),"slideHandler",function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.props,i=n.asNavFor,s=n.beforeChange,a=n.onLazyLoad,l=n.speed,u=n.afterChange,c=t.state.currentSlide,d=(0,o.slideHandler)(g(g(g({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!r})),h=d.state,f=d.nextState;if(h){s&&s(c,h.currentSlide);var p=h.lazyLoadedList.filter(function(e){return 0>t.state.lazyLoadedList.indexOf(e)});a&&p.length>0&&a(p),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),u&&u(c),delete t.animationEndCallback),t.setState(h,function(){i&&t.asNavForIndex!==e&&(t.asNavForIndex=e,i.innerSlider.slideHandler(e)),f&&(t.animationEndCallback=setTimeout(function(){var e=f.animating,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(f,["animating"]);t.setState(r,function(){t.callbackTimers.push(setTimeout(function(){return t.setState({animating:e})},10)),u&&u(h.currentSlide),delete t.animationEndCallback})},l))})}}),w(b(t),"changeSlide",function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=g(g({},t.props),t.state),i=(0,o.changeSlide)(n,e);if((0===i||i)&&(!0===r?t.slideHandler(i,r):t.slideHandler(i),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var s=t.list.querySelectorAll(".slick-current");s[0]&&s[0].focus()}}),w(b(t),"clickHandler",function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0}),w(b(t),"keyHandler",function(e){var r=(0,o.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==r&&t.changeSlide({message:r})}),w(b(t),"selectHandler",function(e){t.changeSlide(e)}),w(b(t),"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),w(b(t),"enableBodyScroll",function(){window.ontouchmove=null}),w(b(t),"swipeStart",function(e){t.props.verticalSwiping&&t.disableBodyScroll();var r=(0,o.swipeStart)(e,t.props.swipe,t.props.draggable);""!==r&&t.setState(r)}),w(b(t),"swipeMove",function(e){var r=(0,o.swipeMove)(e,g(g(g({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));r&&(r.swiping&&(t.clickable=!1),t.setState(r))}),w(b(t),"swipeEnd",function(e){var r=(0,o.swipeEnd)(e,g(g(g({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(r){var n=r.triggerSlideHandler;delete r.triggerSlideHandler,t.setState(r),void 0!==n&&(t.slideHandler(n),t.props.verticalSwiping&&t.enableBodyScroll())}}),w(b(t),"touchEnd",function(e){t.swipeEnd(e),t.clickable=!0}),w(b(t),"slickPrev",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"previous"})},0))}),w(b(t),"slickNext",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"next"})},0))}),w(b(t),"slickGoTo",function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(e=Number(e)))return"";t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},r)},0))}),w(b(t),"play",function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,o.canGoNext)(g(g({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)}),w(b(t),"autoPlay",function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var r=t.state.autoplaying;if("update"===e){if("hovered"===r||"focused"===r||"paused"===r)return}else if("leave"===e){if("paused"===r||"focused"===r)return}else if("blur"===e&&("paused"===r||"hovered"===r))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({auto
46playing:"playing"})}),w(b(t),"pause",function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var r=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?("hovered"===r||"playing"===r)&&t.setState({autoplaying:"focused"}):"playing"===r&&t.setState({autoplaying:"hovered"})}),w(b(t),"onDotsOver",function(){return t.props.autoplay&&t.pause("hovered")}),w(b(t),"onDotsLeave",function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")}),w(b(t),"onTrackOver",function(){return t.props.autoplay&&t.pause("hovered")}),w(b(t),"onTrackLeave",function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")}),w(b(t),"onSlideFocus",function(){return t.props.autoplay&&t.pause("focused")}),w(b(t),"onSlideBlur",function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")}),w(b(t),"render",function(){var e,r,i,s=(0,a.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=g(g({},t.props),t.state),h=(0,o.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),f=t.props.pauseOnHover;if(h=g(g({},h),{},{onMouseEnter:f?t.onTrackOver:null,onMouseLeave:f?t.onTrackLeave:null,onMouseOver:f?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var m=(0,o.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),y=t.props.pauseOnDotsHover;m=g(g({},m),{},{clickHandler:t.changeSlide,onMouseEnter:y?t.onDotsLeave:null,onMouseOver:y?t.onDotsOver:null,onMouseLeave:y?t.onDotsLeave:null}),e=n.default.createElement(u.Dots,m)}var b=(0,o.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);b.clickHandler=t.changeSlide,t.props.arrows&&(r=n.default.createElement(c.PrevArrow,b),i=n.default.createElement(c.NextArrow,b));var v=null;t.props.vertical&&(v={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var k=g(g({},v),w),_=t.props.touchMove,x={className:"slick-list",style:k,onClick:t.clickHandler,onMouseDown:_?t.swipeStart:null,onMouseMove:t.state.dragging&&_?t.swipeMove:null,onMouseUp:_?t.swipeEnd:null,onMouseLeave:t.state.dragging&&_?t.swipeEnd:null,onTouchStart:_?t.swipeStart:null,onTouchMove:t.state.dragging&&_?t.swipeMove:null,onTouchEnd:_?t.touchEnd:null,onTouchCancel:t.state.dragging&&_?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},S={className:s,dir:"ltr",style:t.props.style};return t.props.unslick&&(x={className:"slick-list"},S={className:s}),n.default.createElement("div",S,t.props.unslick?"":r,n.default.createElement("div",p({ref:t.listRefHandler},x),n.default.createElement(l.Track,p({ref:t.trackRefHandler},h),t.props.children)),t.props.unslick?"":i,t.props.unslick?"":e)}),t.list=null,t.track=null,t.state=g(g({},i.default),{},{currentSlide:t.props.initialSlide,slideCount:n.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var t,r=t.ssrInit();return t.state=g(g({},t.state),r),t}return r=[{key:"didPropsChange",value:function(e){for(var t=!1,r=0,i=Object.keys(this.props);r<i.length;r++){var s=i[r];if(!e.hasOwnProperty(s)||"object"!==f(e[s])&&"function"!=typeof e[s]&&e[s]!==this.props[s]){t=!0;break}}return t||n.default.Children.count(this.props.children)!==n.default.Children.count(e.children)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(m.prototype,r),Object.defineProperty(m,"prototype",{writable:!1}),m}(n.default.Component)},82774:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
46Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var i=o(r(96810)),s=o(r(42155)),a=r(19707);function o(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=function(e){var t,r,n,i,s;return n=(s=e.rtl?e.slideCount-1-e.index:e.index)<0||s>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),r=(s-e.currentSlide)%e.slideCount==0,s>e.currentSlide-i-1&&s<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=s&&s<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":r,"slick-cloned":n,"slick-current":s===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},g=function(e){var t={};return(void 0===e.variableWidth||!1===e.variableWidth)&&(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=+(e.currentSlide===e.index),e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},y=function(e,t){return e.key||t},b=function(e){var t,r=[],n=[],o=[],l=i.default.Children.count(e.children),u=(0,a.lazyStartIndex)(e),c=(0,a.lazyEndIndex)(e);return(i.default.Children.forEach(e.children,function(d,h){var p,b={message:"children",index:h,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(h)>=0?d:i.default.createElement("div",null);var v=g(f(f({},e),{},{index:h})),w=p.props.className||"",k=m(f(f({},e),{},{index:h}));if(r.push(i.default.cloneElement(p,{key:"original"+y(p,h),"data-index":h,className:(0,s.default)(k,w),tabIndex:"-1","aria-hidden":!k["slick-active"],style:f(f({outline:"none"},p.props.style||{}),v),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(b)}})),e.infinite&&!1===e.fade){var _=l-h;_<=(0,a.getPreClones)(e)&&l!==e.slidesToShow&&((t=-_)>=u&&(p=d),k=m(f(f({},e),{},{index:t})),n.push(i.default.cloneElement(p,{key:"precloned"+y(p,t),"data-index":t,tabIndex:"-1",className:(0,s.default)(k,w),"aria-hidden":!k["slick-active"],style:f(f({},p.props.style||{}),v),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(b)}}))),l!==e.slidesToShow&&((t=l+h)<c&&(p=d),k=m(f(f({},e),{},{index:t})),o.push(i.default.cloneElement(p,{key:"postcloned"+y(p,t),"data-index":t,tabIndex:"-1",className:(0,s.default)(k,w),"aria-hidden":!k["slick-active"],style:f(f({},p.props.style||{}),v),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(b)}})))}}),e.rtl)?n.concat(r,o).reverse():n.concat(r,o)};t.Track=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),e&&u(a,e);var t,r,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=d(a);return e=t?Reflect.construct(r,arguments,d(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return c(e)}(this,e)});function a(){var e;if(!(this instanceof a))throw TypeError("Cannot call a class as a function");for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return p(c(e=s.call.apply(s,[this].concat(r))),"node",null),p(c(e),"handleRef",function(t){e.node=t}),e}return r=[{key:"render",value:function(){var e=b(this.props),t=this.props,r=t.onMouseEnter,n=t.onMouseOver,s=t.onMouseLeave;return i.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},{onMouseEnter:r,onMouseOver:n,onMouseLeave:s}),e)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(a.prototype,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(i.default.PureComponent)},82921:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(59005);function i(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&n._P in e?e[n._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},83564:(e,t,r)=>{"use strict";
46Object.defineProperty(t,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return o.ReadonlyURLSearchParams},RedirectType:function(){return d.RedirectType},ServerInsertedHTMLContext:function(){return u.ServerInsertedHTMLContext},forbidden:function(){return d.forbidden},notFound:function(){return d.notFound},permanentRedirect:function(){return d.permanentRedirect},redirect:function(){return d.redirect},unauthorized:function(){return d.unauthorized},unstable_isUnrecognizedActionError:function(){return c.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return d.unstable_rethrow},useParams:function(){return y},usePathname:function(){return m},useRouter:function(){return g},useSearchParams:function(){return p},useSelectedLayoutSegment:function(){return v},useSelectedLayoutSegments:function(){return b},useServerInsertedHTML:function(){return u.useServerInsertedHTML}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let s=r(65991)._(r(96810)),a=r(23528),o=r(28533),l=r(6824),u=r(61847),c=r(6641),d=r(20735),h,f;function p(){f?.("useSearchParams()");let e=(0,s.useContext)(o.SearchParamsContext);return(0,s.useMemo)(()=>e?new o.ReadonlyURLSearchParams(e):null,[e])}function m(){return h?.("usePathname()"),(0,s.useContext)(o.PathnameContext)}function g(){let e=(0,s.useContext)(a.AppRouterContext);if(null===e)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return e}function y(){return h?.("useParams()"),(0,s.useContext)(o.PathParamsContext)}function b(e="children"){h?.("useSelectedLayoutSegments()");let t=(0,s.useContext)(a.LayoutRouterContext);return t?(0,l.getSelectedLayoutSegmentPath)(t.parentTree,e):null}function v(e="children"){h?.("useSelectedLayoutSegment()"),(0,s.useContext)(o.NavigationPromisesContext);let t=b(e);return(0,l.computeSelectedLayoutSegment)(t,e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84915:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]])},85755:(e,t,r)=>{"use strict";r.d(t,{G:()=>n});let n=()=>({emit(e,...t){for(let r=this.events[e]||[],n=0,i=r.length;n<i;n++)r[n](...t)},events:{},on(e,t){return(this.events[e]||=[]).push(t),()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}})},86401:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var i=o(r(96810)),s=o(r(42155)),a=r(19707);function o(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){var n,i,s;n=e,i=t,s=r[t],i in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,i=y(e);return r=t?Reflect.construct(i,arguments,y(this).constructor):i.apply(this,arguments),function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,r)}}
46function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.PrevArrow=function(e){p(r,e);var t=g(r);function r(){return d(this,r),t.apply(this,arguments)}return f(r,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var r={key:"0","data-role":"none",className:(0,s.default)(e),style:{display:"block"},onClick:t},n={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?i.default.cloneElement(this.props.prevArrow,c(c({},r),n)):i.default.createElement("button",l({key:"0",type:"button"},r)," ","Previous")}}]),r}(i.default.PureComponent),t.NextArrow=function(e){p(r,e);var t=g(r);function r(){return d(this,r),t.apply(this,arguments)}return f(r,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,a.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var r={key:"1","data-role":"none",className:(0,s.default)(e),style:{display:"block"},onClick:t},n={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?i.default.cloneElement(this.props.nextArrow,c(c({},r),n)):i.default.createElement("button",l({key:"1",type:"button"},r)," ","Next")}}]),r}(i.default.PureComponent)},90629:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.co
46de=e.code}}t.default=r},91514:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WebSocket:()=>n});let n=function(){if("undefined"!=typeof WebSocket)return WebSocket;if(void 0!==global.WebSocket)return global.WebSocket;if(void 0!==window.WebSocket)return window.WebSocket;if(void 0!==self.WebSocket)return self.WebSocket;throw Error("`WebSocket` is not supported in this environment")}()},91877:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},91954:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("list-filter",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},92648:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(96810);let i=({content:e,components:t={}})=>{if(!e)return null;let r=Array.isArray(e)?e:e.children;return r?n.createElement(n.Fragment,null,r.map((e,r)=>n.createElement(a,{components:t,key:r,child:e}))):null},s=e=>{if(e.bold){let{bold:t,...r}=e;if(e.components.bold){let t=e.components.bold;return n.createElement(t,null,n.createElement(s,{...r}))}return n.createElement("strong",null,n.createElement(s,{...r}))}if(e.italic){let{italic:t,...r}=e;if(e.components.italic){let t=e.components.italic;return n.createElement(t,null,n.createElement(s,{...r}))}return n.createElement("em",null,n.createElement(s,{...r}))}if(e.underline){let{underline:t,...r}=e;if(e.components.underline){let t=e.components.underline;return n.createElement(t,null,n.createElement(s,{...r}))}return n.createElement("u",null,n.createElement(s,{...r}))}if(e.strikethrough){let{strikethrough:t,...r}=e;if(e.components.strikethrough){let t=e.components.strikethrough;return n.createElement(t,null,n.createElement(s,{...r}))}return n.createElement("s",null,n.createElement(s,{...r}))}
46if(e.code){let{code:t,...r}=e;if(e.components.code){let t=e.components.code;return n.createElement(t,null,n.createElement(s,{...r}))}return n.createElement("code",null,n.createElement(s,{...r}))}if(e.components.text){let t=e.components.text;return n.createElement(t,null,e.text)}return n.createElement(n.Fragment,null,e.text)},a=e=>n.useMemo(()=>n.createElement(o,{...e}),[JSON.stringify(e)]),o=({components:e,child:t})=>{var r,a,o,l,u,c;let{children:d,...h}=t;switch(t.type){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"p":case"blockquote":case"ol":case"ul":case"li":if(e[t.type]){let r=e[t.type];return n.createElement(r,{...h},n.createElement(i,{components:e,content:d}))}return n.createElement(t.type,{children:n.createElement(i,{components:e,content:d})});case"lic":if(e.lic){let t=e.lic;return n.createElement(t,{...h},n.createElement(i,{components:e,content:d}))}return n.createElement("div",null,n.createElement(i,{components:e,content:t.children}));case"img":if(e[t.type]){let r=e[t.type];return n.createElement(r,{...h})}return n.createElement("img",{src:t.url,alt:t.caption});case"a":if(e[t.type]){let r=e[t.type];return n.createElement(r,{...h},n.createElement(i,{components:e,content:d}))}return n.createElement("a",{href:t.url},n.createElement(i,{components:e,content:d}));case"code_block":let f=t.value;if(e[t.type]){let r=e[t.type];return n.createElement(r,{...h})}return n.createElement("pre",null,n.createElement("code",null,f));case"hr":if(e[t.type]){let r=e[t.type];return n.createElement(r,{...h})}return n.createElement("hr",null);case"break":if(e[t.type]){let r=e[t.type];return n.createElement(r,{...h})}return n.createElement("br",null);case"text":return n.createElement(s,{components:e,...t});case"mdxJsxTextElement":case"mdxJsxFlowElement":let p=e[t.name];if(p){let e=t.props?t.props:{};return n.createElement(p,{...e})}{if("table"===t.name){let s=null==(r=t.props)?void 0:r.firstRowHeader,d=(s?null==(a=t.props)?void 0:a.tableRows.filter((e,t)=>0!==t):null==(o=t.props)?void 0:o.tableRows)||[],h=null==(u=null==(l=t.props)?void 0:l.tableRows)?void 0:u.at(0),f=e.table||(e=>n.createElement("table",{...e})),p=e.tr||(e=>n.createElement("tr",{...e})),m=e.th||(e=>n.createElement("th",{style:{textAlign:(null==e?void 0:e.align)||"auto"},...e})),g=e.td||(e=>n.createElement("td",{style:{textAlign:(null==e?void 0:e.align)||"auto"},...e})),y=(null==(c=t.props)?void 0:c.align)||[];return n.createElement(f,null,s&&n.createElement("thead",null,n.createElement(p,null,h.tableCells.map((e,t)=>n.createElement(i,{key:t,components:{p:e=>n.createElement(m,{align:y[t],...e})},content:e.value})))),n.createElement("tbody",null,d.map((e,t)=>{var r;return n.createElement(p,{key:t},null==(r=null==e?void 0:e.tableCells)?void 0:r.map((e,t)=>n.createElement(i,{key:t,components:{p:e=>n.createElement(g,{align:y[t],...e})},content:e.value})))})))}let s=e.component_missing;if(s)return n.createElement(s,{name:t.name});return n.createElement("span",null,`No component provided for ${t.name}`)}case"maybe_mdx":return null;case"html":case"html_inline":if(e[t.type]){let r=e[t.type];return n.createElement(r,{...h})}return t.value;case"invalid_markdown":return n.createElement("pre",null,t.value);default:if("string"==typeof t.text)return n.createElement(s,{components:e,...t})}}},94143:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(75668).A)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},94441:(e,t,r)=>{"use strict";r.d(t,{h:()=>o});var n=r(44871),i=r(82921),s=r(40469),a=r(581);function o(e,t){let r=(0,a.a)(e,t?.in),o=r.getFullYear(),l=(0,n.q)(),u=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,c=(0,i.w)(t?.in||e,0);c.setFullYear(o+1,0,u),c.setHours(0,0,0,0);let d=(0,s.k)(c,t),h=(0,i.w)(t?.in||e,0);h.setFullYear(o,0,u),h.setHours(0,0,0,0);let f=(0,s.k)(h,t);return+r>=+d?o+1:+r>=+f?o:o-1}},95918:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
46dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=n(r(57114));class s{constructor(e,{headers:t={},schema:r,fetch:n}){this.url=e,this.headers=t,this.schema=r,this.fetch=n}select(e,{head:t=!1,count:r}={}){let n=!1,s=(null!=e?e:"*").split("").map(e=>/\s/.test(e)&&!n?"":('"'===e&&(n=!n),e)).join("");return this.url.searchParams.set("select",s),r&&(this.headers.Prefer=`count=${r}`),new i.default({method:t?"HEAD":"GET",url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}insert(e,{count:t,defaultToNull:r=!0}={}){let n=[];if(this.headers.Prefer&&n.push(this.headers.Prefer),t&&n.push(`count=${t}`),r||n.push("missing=default"),this.headers.Prefer=n.join(","),Array.isArray(e)){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]);if(t.length>0){let e=[...new Set(t)].map(e=>`"${e}"`);this.url.searchParams.set("columns",e.join(","))}}return new i.default({method:"POST",url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}upsert(e,{onConflict:t,ignoreDuplicates:r=!1,count:n,defaultToNull:s=!0}={}){let a=[`resolution=${r?"ignore":"merge"}-duplicates`];if(void 0!==t&&this.url.searchParams.set("on_conflict",t),this.headers.Prefer&&a.push(this.headers.Prefer),n&&a.push(`count=${n}`),s||a.push("missing=default"),this.headers.Prefer=a.join(","),Array.isArray(e)){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]);if(t.length>0){let e=[...new Set(t)].map(e=>`"${e}"`);this.url.searchParams.set("columns",e.join(","))}}return new i.default({method:"POST",url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}update(e,{count:t}={}){let r=[];return this.headers.Prefer&&r.push(this.headers.Prefer),t&&r.push(`count=${t}`),this.headers.Prefer=r.join(","),new i.default({method:"PATCH",url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}delete({count:e}={}){let t=[];return e&&t.push(`count=${e}`),this.headers.Prefer&&t.unshift(this.headers.Prefer),this.headers.Prefer=t.join(","),new i.default({method:"DELETE",url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}}t.default=s},96170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return s}});let n=r(57475),i=`${n.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function s(){let e=Object.defineProperty(Error(i),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw e.digest=i,e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},97409:(e,t,r)=>{"use strict";r.d(t,{qg:()=>e$});var n=r(25898),i=r(36730),s=r(7395),a=r(82921),o=r(44871),l=r(581);class u{validate(e,t){return!0}constructor(){this.subPriority=0}}class c extends u{constructor(e,t,r,n,i){super(),this.value=e,this.validateValue=t,this.setValue=r,this.priority=n,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,r){return this.setValue(e,t,this.value,r)}}class d extends u{constructor(e,t){super(),this.priority=10,this.subPriority=-1,this.context=e||(e=>(0,a.w)(t,e))}set(e,t){var r,n;let i;if(t.timestampIsSet)return e;return(0,a.w)(e,((i="function"==typeof(n=r=this.context)&&n.prototype?.constructor===n?new r(0):(0,a.w)(r,0)).setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),i))}}class h{run(e,t,r,n){let i=this.parse(e,t,r,n);return i?{setter:new c(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,r){return!0}}class f extends h{parse(e,t,r){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"})}}set(e,t,r){return t.era=r,e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=140,this.incompatibleTokens=["R","u","t","T"]}}var p=r(59005);let m=/^(1[0-2]|0?\d)/,g=/^(3[0-1]|[0-2]?\d)/,y=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,b=/^(5[0-3]|[0-4]?\d)/,v=/^(2[0-3]|[0-1]?\d)/,w=/^(2[0-4]|[0-1]?\d)/,k=/^(1[0-1]|0?\d)/,_=/^(1[0-2]|0?\d)/,x=/^[0-5]?\d/,S=/^[0-5]?\d/,E=/^\d/,T=/^\d{1,2}/,O=/^\d{1,3}/,C=/^\d{1,4}/,P=/^-?\d+/,L=/^-?\d/,A=/^-?\d{1,2}/,I=/^-?\d{1,3}/,M=/^-?\d{1,4}
46/,j=/^([+-])(\d{2})(\d{2})?|Z/,N=/^([+-])(\d{2})(\d{2})|Z/,R=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,D=/^([+-])(\d{2}):(\d{2})|Z/,B=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function q(e,t){return e?{value:t(e.value),rest:e.rest}:e}function $(e,t){let r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function W(e,t){let r=t.match(e);if(!r)return null;if("Z"===r[0])return{value:0,rest:t.slice(1)};let n="+"===r[1]?1:-1,i=r[2]?parseInt(r[2],10):0,s=r[3]?parseInt(r[3],10):0,a=r[5]?parseInt(r[5],10):0;return{value:n*(i*p.s0+s*p.Cg+a*p._m),rest:t.slice(r[0].length)}}function U(e,t){switch(e){case 1:return $(E,t);case 2:return $(T,t);case 3:return $(O,t);case 4:return $(C,t);default:return $(RegExp("^\\d{1,"+e+"}"),t)}}function H(e,t){switch(e){case 1:return $(L,t);case 2:return $(A,t);case 3:return $(I,t);case 4:return $(M,t);default:return $(RegExp("^-?\\d{1,"+e+"}"),t)}}function z(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function F(e,t){let r,n=t>0,i=n?t:1-t;if(i<=50)r=e||100;else{let t=i+50;r=e+100*Math.trunc(t/100)-100*(e>=t%100)}return n?r:1-r}function V(e){return e%400==0||e%4==0&&e%100!=0}class G extends h{parse(e,t,r){let n=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return q(U(4,e),n);case"yo":return q(r.ordinalNumber(e,{unit:"year"}),n);default:return q(U(t.length,e),n)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,r){let n=e.getFullYear();if(r.isTwoDigitYear){let t=F(r.year,n);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let i="era"in t&&1!==t.era?1-r.year:r.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"]}}var Y=r(94441),K=r(40469);class X extends h{parse(e,t,r){let n=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return q(U(4,e),n);case"Yo":return q(r.ordinalNumber(e,{unit:"year"}),n);default:return q(U(t.length,e),n)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,r,n){let i=(0,Y.h)(e,n);if(r.isTwoDigitYear){let t=F(r.year,i);return e.setFullYear(t,0,n.firstWeekContainsDate),e.setHours(0,0,0,0),(0,K.k)(e,n)}let s="era"in t&&1!==t.era?1-r.year:r.year;return e.setFullYear(s,0,n.firstWeekContainsDate),e.setHours(0,0,0,0),(0,K.k)(e,n)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}}var J=r(24782);class Q extends h{parse(e,t){return"R"===t?H(4,e):H(t.length,e)}set(e,t,r){let n=(0,a.w)(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),(0,J.b)(n)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}}class Z extends h{parse(e,t){return"u"===t?H(4,e):H(t.length,e)}set(e,t,r){return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}}class ee extends h{parse(e,t,r){switch(t){case"Q":case"QQ":return U(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,r){return e.setMonth((r-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}}class et extends h{parse(e,t,r){switch(t){case"q":case"qq":return U(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,r){return e.setMonth((r-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}}class er extends h{parse(e,t,r){let n=e=>e-1;switch(t){case"M":return q($(m,e),n);case"MM":return q(U(2,e),n);case"Mo":return q(r.ordinalNumber(e,{unit:"month"}),n);case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.setMonth(r,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"],this.priority=110}}class en extends h{parse(e,t,r){let n=e=>e-1;switch(t){case"L":return q($(m,e),n);case"LL":return q(U(2,e),n);case"Lo":return q(r.ordinalNumber(e,{unit:"month"}),n);case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.setMonth(r,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=110,this.incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}}var ei=r(18434);class es extends h{parse(e,t,r){switch(t){case"w":return $(b,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return U(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,r,n){let i,s;return(0,K.k)((i=(0,l.a)(e,n?.in),s=(0,ei.N)(i,n)-r,i.setDate(i.getDate()-7*s),(0,l.a)(i,n?.in)),n)}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}}var ea=r(39226);class eo extends h{parse(e,t,r){switch(t){case"I":return $(b,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return U(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,r){let n,i;return(0,J.b)((n=(0,l.a)(e,void 0),i=(0,ea.s)(n,void 0)-r,n.setDate(n.getDate()-7*i),n))}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}}let el=[31,28,31,30,31,30,31,31,30,31,30,31],eu=[31,29,31,30,31,30,31,31,30,31,30,31];class ec extends h{parse(e,t,r){switch(t){case"d":return $(g,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return U(t.length,e)}}validate(e,t){let r=V(e.getFullYear()),n=e.getMonth();return r?t>=1&&t<=eu[n]:t>=1&&t<=el[n]}set(e,t,r){return e.setDate(r),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subPriority=1,this.incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}}class ed extends h{parse(e,t,r){switch(t){case"D":case"DD":return $(y,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return U(t.length,e)}}validate(e,t){return V(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,r){return e.setMonth(0,r),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subpriority=1,this.incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}}function eh(e,t,r){let n=(0,l.a)(e,r?.in);return isNaN(t)?(0,a.w)(r?.in||e,NaN):(t&&n.setDate(n.getDate()+t),n)}function ef(e,t,r){let n=(0,o.q)(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=(0,l.a)(e,r?.in),a=s.getDay(),u=7-i;return eh(s,t<0||t>6?t-(a+u)%7:((t%7+7)%7+u)%7-(a+u)%7,r)}class ep extends h{parse(e,t,r){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,n){return(e=ef(e,r,n)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["D","i","e","c","t","T"]}}class em extends h{parse(e,t,r,n){let i=e=>{let t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return q(U(t.length,e),i);case"eo":return q(r.ordinalNumber(e,{unit:"day"}),i);case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,n){return(e=ef(e,r,n)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}}class eg extends h{parse(e,t,r,n){let i=e=>{let t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return q(U(t.length,e),i);case"co":return q(r.ordinalNumber(e,{unit:"day"}),i);case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,n){return(e=ef(e,r,n)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}}class ey extends h{parse(e,t,r){let n=e=>0===e?7:e;switch(t){case"i":case"ii":return U(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return q(r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n);case"iiiii":return q(r.day(e,{width:"narrow",context:"formatting"}),n);case"iiiiii":return q(r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n);default:return q(r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n)}}validate(e,t){return t>=1&&t<=7}set(e,t,r){var n,i;let s,a,o;return n=e,s=(0,l.a)(n,void 0),i=void 0,o=0===(a=(0,l.a)(s,i?.in).getDay())?7:a,(e=eh(s,r-o,void 0)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}}class eb extends h{parse(e,t,r){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(z(r),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["b","B","H","k","t","T"]}}
46class ev extends h{parse(e,t,r){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(z(r),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","B","H","k","t","T"]}}class ew extends h{parse(e,t,r){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(z(r),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","b","t","T"]}}class ek extends h{parse(e,t,r){switch(t){case"h":return $(_,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return U(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,r){let n=e.getHours()>=12;return n&&r<12?e.setHours(r+12,0,0,0):n||12!==r?e.setHours(r,0,0,0):e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["H","K","k","t","T"]}}class e_ extends h{parse(e,t,r){switch(t){case"H":return $(v,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return U(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,r){return e.setHours(r,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","K","k","t","T"]}}class ex extends h{parse(e,t,r){switch(t){case"K":return $(k,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return U(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.getHours()>=12&&r<12?e.setHours(r+12,0,0,0):e.setHours(r,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["h","H","k","t","T"]}}class eS extends h{parse(e,t,r){switch(t){case"k":return $(w,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return U(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,r){return e.setHours(r<=24?r%24:r,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","H","K","t","T"]}}class eE extends h{parse(e,t,r){switch(t){case"m":return $(x,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return U(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,r){return e.setMinutes(r,0,0),e}constructor(...e){super(...e),this.priority=60,this.incompatibleTokens=["t","T"]}}class eT extends h{parse(e,t,r){switch(t){case"s":return $(S,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return U(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,r){return e.setSeconds(r,0),e}constructor(...e){super(...e),this.priority=50,this.incompatibleTokens=["t","T"]}}class eO extends h{parse(e,t){return q(U(t.length,e),e=>Math.trunc(e*Math.pow(10,-t.length+3)))}set(e,t,r){return e.setMilliseconds(r),e}constructor(...e){super(...e),this.priority=30,this.incompatibleTokens=["t","T"]}}var eC=r(72410);class eP extends h{parse(e,t){switch(t){case"X":return W(j,e);case"XX":return W(N,e);case"XXXX":return W(R,e);case"XXXXX":return W(B,e);default:return W(D,e)}}set(e,t,r){return t.timestampIsSet?e:(0,a.w)(e,e.getTime()-(0,eC.G)(e)-r)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","x"]}}class eL extends h{parse(e,t){switch(t){case"x":return W(j,e);case"xx":return W(N,e);case"xxxx":return W(R,e);case"xxxxx":return W(B,e);default:return W(D,e)}}set(e,t,r){return t.timestampIsSet?e:(0,a.w)(e,e.getTime()-(0,eC.G)(e)-r)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","X"]}}class eA extends h{parse(e){return $(P,e)}set(e,t,r){return[(0,a.w)(e,1e3*r),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=40,this.incompatibleTokens="*"}}class eI extends h{parse(e){return $(P,e)}set(e,t,r){return[(0,a.w)(e,r),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=20,this.incompatibleTokens="*"}}let eM={G:new f,y:new G,Y:new X,R:new Q,u:new Z,Q:new ee,q:new et,M:new er,L:new en,w:new es,I:new eo,d:new ec,D:new ed,E:new ep,e:new em,c:new eg,i:new ey,a:new eb,b:new ev,B:new ew,h:new ek,H:new e_,K:new ex,k:new eS,m:new eE,s:new eT,S:new eO,X:new eP,x:new eL,t:new eA,T:new eI},ej=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eR=/^'([^]*?)'?$/,eD=/''/g,eB=/\S/,eq=/[a-zA-Z]/;function e$(e,t,r,u){let c=()=>(0,a.w)(u?.in||r,NaN),h=Object.assign({},(0,o.q)()),f=u?.locale??h.locale??n.c,p=u?.firstWeekContainsDate??u?.locale?.options?.firstWeekContainsDate??h.firstWeekContainsDate??h.locale?.options?.firstWeekContainsDate??1,m=u?.weekStartsOn??u?.locale?.options?.weekStartsOn??h.weekStartsOn??h.locale?.options?.weekStartsOn??0;if(!t)return e?c():(0,l.a)(r,u?.in);let g={firstWeekContainsDate:p,weekStartsOn:m,locale:f},y=[new d(u?.in,r)],b=t.match(eN).map(e=>{let t=e[0];return t in i.m?(0,i.m[t])(e,f.formatLong):e}).join("").match(ej),v=[];for(let r of b){!u?.useAdditionalWeekYearTokens&&(0,s.xM)(r)&&(0,s.Ss)(r,t,e),!u?.useAdditionalDayOfYearTokens&&(0,s.ef)(r)&&(0,s.Ss)(r,t,e);let n=r[0],i=eM[n];if(i){let{incompatibleTokens:t}=i;if(Array.isArray(t)){let e=v.find(e=>t.includes(e.token)||e.token===n);
46if(e)throw RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${r}\` at the same time`)}else if("*"===i.incompatibleTokens&&v.length>0)throw RangeError(`The format string mustn't contain \`${r}\` and any other token at the same time`);v.push({token:n,fullToken:r});let s=i.run(e,r,f.match,g);if(!s)return c();y.push(s.setter),e=s.rest}else{if(n.match(eq))throw RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===r?r="'":"'"===n&&(r=r.match(eR)[1].replace(eD,"'")),0!==e.indexOf(r))return c();e=e.slice(r.length)}}if(e.length>0&&eB.test(e))return c();let w=y.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,r)=>r.indexOf(e)===t).map(e=>y.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),k=(0,l.a)(r,u?.in);if(isNaN(+k))return c();let _={};for(let e of w){if(!e.validate(k,g))return c();let t=e.set(k,_,g);Array.isArray(t)?(k=t[0],Object.assign(_,t[1])):k=t}return k}},98310:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,i.isNextRouterError)(t)||(0,n.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=r(79285),i=r(37113);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});let n=r(35810),i=r(65991),s=r(73154),a=i._(r(96810)),o=i._(r(62795)),l=n._(r(32141)),u=r(26257),c=r(94594),d=r(13767),h=r(5377),f=r(78175),p=r(6010);function m(e){return"/"===e[0]?e.slice(1):e}let g="function"==typeof o.preload,y={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},b=new Set,v="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",w=new Map([["default",function({config:e,src:t,width:r,quality:n}){if(!e.dangerouslyAllowSVG&&t.split("?",1)[0].endsWith(".svg"))return t;if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns. 47Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let i=(0,p.findClosestQuality)(n,e);return`${(0,f.normalizePathTrailingSlash)(e.path)}?url=${encodeURIComponent(t)}&w=${r}&q=${i}`}],["imgix",function({config:e,src:t,width:r,quality:n}){let i=new URL(`${e.path}${m(t)}`),s=i.searchParams;return s.set("auto",s.getAll("auto").join(",")||"format"),s.set("fit",s.get("fit")||"max"),s.set("w",s.get("w")||r.toString()),n&&s.set("q",n.toString()),i.href}],["cloudinary",function({config:e,src:t,width:r,quality:n}){let i=["f_auto","c_limit","w_"+r,"q_"+(n||"auto")].join(",")+"/";return`${e.path}${i}${m(t)}`}],["akamai",function({config:e,src:t,width:r}){return`${e.path}${m(t)}?imwidth=${r}`}],["custom",function({src:e}){throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop. 48Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}]]);function k(e){return void 0!==e.default}function _({config:e,src:t,unoptimized:r,layout:n,width:i,quality:s,sizes:a,loader:o}){if(r)return{src:t,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},r,n,i){if(i&&("fill"===n||"responsive"===n)){let r=/(^|\s)(1?\d?\d)vw/g,n=[];for(let e;e=r.exec(i);)n.push(parseInt(e[2]));if(n.length){let r=.01*Math.min(...n);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r||"fill"===n||"responsive"===n?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,n,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((r,n)=>`${o({config:e,src:t,quality:s,width:r})} ${"w"===u?r:n+1}${u}`).join(", "),src:o({config:e,src:t,quality:s,width:l[c]})}}function x(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}function S(e){let t=e.config?.loader||"default",r=w.get(t);if(r)return r(e);throw Object.defineProperty(Error(`Unknown "loader" found in "next.config.js". Expected: ${u.VALID_LOADERS.join(", ")}. Received: ${t}
48`),"__NEXT_ERROR_CODE",{value:"E338",enumerable:!1,configurable:!0})}function E(e,t,r,n,i,s){e&&e.src!==v&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentNode&&(b.add(t),"blur"===n&&s(!0),i?.current)){let{naturalWidth:t,naturalHeight:r}=e;i.current({naturalWidth:t,naturalHeight:r})}}))}let T=({imgAttributes:e,heightInt:t,widthInt:r,qualityInt:n,layout:i,className:o,imgStyle:l,blurStyle:u,isLazy:c,placeholder:d,loading:h,srcString:f,config:p,unoptimized:m,loader:g,onLoadingCompleteRef:y,setBlurComplete:b,setIntersection:v,onLoad:w,onError:k,isVisible:x,noscriptSizes:S,...T})=>(h=c?"lazy":h,(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("img",{...T,...e,decoding:"async","data-nimg":i,className:o,style:{...l,...u},ref:(0,a.useCallback)(e=>{v(e),e?.complete&&E(e,f,i,d,y,b)},[v,f,i,d,y,b]),onLoad:e=>{E(e.currentTarget,f,i,d,y,b),w&&w(e)},onError:e=>{"blur"===d&&b(!0),k&&k(e)}}),(c||"blur"===d)&&(0,s.jsx)("noscript",{children:(0,s.jsx)("img",{...T,loading:h,decoding:"async","data-nimg":i,style:l,className:o,..._({config:p,src:f,unoptimized:m,layout:i,width:r,quality:n,sizes:S,loader:g})})})]}));function O({src:e,sizes:t,unoptimized:r=!1,priority:n=!1,loading:i,lazyRoot:o=null,lazyBoundary:f,className:p,quality:m,width:w,height:E,style:O,objectFit:C,objectPosition:P,onLoadingComplete:L,placeholder:A="empty",blurDataURL:I,...M}){var j;let N,R=(0,a.useContext)(d.ImageConfigContext),D=(0,a.useMemo)(()=>{let e=y||R||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),n=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:n,localPatterns:e.localPatterns}},[R]),B=t?"responsive":"intrinsic";"layout"in M&&(M.layout&&(B=M.layout),delete M.layout);let q=S;if("loader"in M){if(M.loader){let e=M.loader;q=t=>{let{config:r,...n}=t;return e(n)}}delete M.loader}let $="";if("object"==typeof(j=e)&&(k(j)||void 0!==j.src)){let t=k(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(I=I||t.blurDataURL,$=t.src,(!B||"fill"!==B)&&(E=E||t.height,w=w||t.width,!t.height||!t.width))throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0})}e="string"==typeof e?e:$,(0,h.warnOnce)(`Image with src "${e}" is using next/legacy/image which is deprecated and will be removed in a future version of Next.js.`);let W=!n&&("lazy"===i||void 0===i);(e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,W=!1),b.has(e)&&(W=!1),D.unoptimized&&(r=!0);let[U,H]=(0,a.useState)(!1),[z,F,V]=(0,c.useIntersection)({rootRef:o,rootMargin:f||"200px",disabled:!W}),G=!W||F,Y={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},K={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},X=!1,J=x(w),Q=x(E),Z=x(m),ee=Object.assign({},O,{position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:C,objectPosition:P}),et="blur"!==A||U?{}:{backgroundSize:C||"cover",backgroundPosition:P||"0% 0%",filter:"blur(20px)",backgroundImage:`url("${I}")`};if("fill"===B)Y.display="block",Y.position="absolute",Y.top=0,Y.left=0,Y.bottom=0,Y.right=0;else if(void 0!==J&&void 0!==Q){let e=Q/J,t=isNaN(e)?"100%":`${100*e}%`;"responsive"===B?(Y.display="block",Y.position="relative",X=!0,K.paddingTop=t):"intrinsic"===B?(Y.display="inline-block",Y.position="relative",Y.maxWidth="100%",X=!0,K.maxWidth="100%",N=`data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27${J}%27%20height=%27${Q}%27/%3e`):"fixed"===B&&(Y.display="inline-block",Y.position="relative",Y.width=J,Y.height=Q)}let er={src:v,srcSet:void 0,sizes:void 0};G&&(er=_({config:D,src:e,unoptimized:r,layout:B,width:J,quality:Z,sizes:t,loader:q}));let en=e,ei=g?void 0:{imageSrcSet:er.srcSet,imageSizes:er.sizes,crossOrigin:M.crossOrigin,referrerPolicy:M.referrerPolicy},es=a.default.useLayoutEffect,ea=(0,a.useRef)(L),eo=(0,a.useRef)(e);(0,a.useEffect)(()=>{ea.current=L},[L]),es(()=>{eo.current!==e&&(V(),eo.current=e)},[V,e]);let el={isLazy:W,imgAttributes:er,heightInt:Q,widthInt:J,qualityInt:Z,layout:B,className:p,imgStyle:ee,blurStyle:et,loading:i,config:D,unoptimized:r,placeholder:A,loader:q,srcString:en,onLoadingCompleteRef:ea,setBlurComplete:H,setIntersection:z,isVisible:G,noscriptSizes:t,...M};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{style:Y,children:[X?(0,s.jsx)("span",{style:K,children:N?(0,s.jsx)("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:N}):null}):null,(0,s.jsx)(T,{...el})]}),!g&&n?(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",as:"image",href:er.srcSet?void 0:er.src,...ei},"__nimg-"+er.src+er.srcSet+er.sizes)}):null]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
48dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.