PageSourceSearch

https://instock-dv.ru/_next/static/chunks/pages/_app-f6ae3fd5e5dffe91.js

js instock-dv.ru collected 2026-10-05 01:34:39 UTC 293,174 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{26:(e,t,n)=>{"use strict";n.d(t,{P:()=>l,a:()=>a});var r=n(14232),i=n(49266);let o=Symbol();function a(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[o]:t})}function l(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let a=(0,r.useRef)(t);(0,r.useEffect)(()=>{a.current=t},[t]);let l=(0,i._)(e=>{for(let t of a.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[o]))?void 0:l}},92:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(11638)}])},132:(e,t,n)=>{"use strict";function r(e,t){if(void 0!==e.one&&1===t)return e.one;let n=t%10,r=t%100;return 1===n&&11!==r?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function i(e){return(t,n)=>{if(null==n||!n.addSuffix)return r(e.regular,t);if(n.comparison&&n.comparison>0)if(e.future)return r(e.future,t);else return"через "+r(e.regular,t);return e.past?r(e.past,t):r(e.regular,t)+" назад"}}n.d(t,{ru:()=>v});let o={lessThanXSeconds:i({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:i({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,t)=>{if(null==t?void 0:t.addSuffix)if(t.comparison&&t.comparison>0)return"через полминуты";else return"полминуты назад";return"полминуты"},lessThanXMinutes:i({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:i({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:i({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:i({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:i({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:i({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:i({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:i({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:i({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:i({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}
1),xYears:i({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:i({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:i({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})};var a=n(13004);let l={date:(0,a.k)({formats:{full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,a.k)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,a.k)({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})};var s=n(27840),u=n(86952);function c(e,t,n){let[r,i]=(0,s.x)(null==n?void 0:n.in,e,t);return+(0,u.k)(r,n)==+(0,u.k)(i,n)}let d=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function f(e){let t=d[e];return 2===e?"'во "+t+" в' p":"'в "+t+" в' p"}let h={lastWeek:(e,t,n)=>{let r=e.getDay();return c(e,t,n)?f(r):function(e){let t=d[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}(r)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,t,n)=>{let r=e.getDay();return c(e,t,n)?f(r):function(e){let t=d[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}(r)},other:"P"};var p=n(10550);let m={ordinalNumber:(e,t)=>{let n=Number(e),r=null==t?void 0:t.unit;return n+("date"===r?"-е":"week"===r||"minute"===r||"second"===r?"-я":"-й")},era:(0,p.o)({values:{narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},defaultWidth:"wide"}),quarter:(0,p.o)({values:{narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,p.o)({values:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},defaultWidth:"wide",formattingValues:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},defaultFormattingWidth:"wide"}),day:(0,p.o)({values:{narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},defaultWidth:"wide"}),dayPeriod:(0,p.o)({values:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},defaultFormattingWidth:"wide"})};var g=n(39646);let v={code:"ru",formatDistance:(e,t,n)=>o[e](t,n),formatLong:l,formatRelative:(e,t,n,r)=>{let i=h[e];return"function"==typeof i?i(t,n,r):i},localize:m,match:{ordinalNumber:(0,n(26952).K)({matchPattern:/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,g.A)({matchPatterns:{narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,g.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,g.A)({matchPatterns:{narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|оÐ
1ºÑ‚|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},defaultParseWidth:"any"}),day:(0,g.A)({matchPatterns:{narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,g.A)({matchPatterns:{narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},258:(e,t,n)=>{"use strict";n.d(t,{E:()=>l});var r=n(37876);n(14232);var i=n(41071),o=n.n(i),a=n(49995);let l=e=>{let{style:t,className:n="",variant:i="body",children:l,html:s,onClick:u,itemProp:c}=e;return(0,r.jsx)({body:"div",heading:"h1",pageHeading:"h1",sectionHeading:"h2"}[i],{onClick:u,className:(0,a.A)(o().root,n,{"leading-7 font-normal max-w-6xl mx-auto":"body"===i,[o().heading]:"heading"===i,[o().pageHeading]:"pageHeading"===i,[o().sectionHeading]:"sectionHeading"===i}),style:t,...s?{dangerouslySetInnerHTML:{__html:s}}:{},itemProp:c,children:l})}},553:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});let r={};function i(){return r}},610:(e,t,n)=>{"use strict";n.d(t,{St:()=>eD,UF:()=>eL,G3:()=>eM,Xc:()=>eN,TI:()=>eA,zn:()=>e_});var r=n(14232),i=n.t(r,2);let o=Math.min,a=Math.max,l=Math.round,s=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function h(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(h(e))?"y":"x"}function y(e){return e.replace(/start|end/g,e=>d[e])}function b(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function w(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function x(){return"undefined"!=typeof window}function E(e){return j(e)?(e.nodeName||"").toLowerCase():"#document"}function R(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function S(e){var t;return null==(t=(j(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function j(e){return!!x()&&(e instanceof Node||e instanceof R(e).Node)}function C(e){return!!x()&&(e instanceof Element||e instanceof R(e).Element)}function O(e){return!!x()&&(e instanceof HTMLElement||e instanceof R(e).HTMLElement)}function T(e){return!!x()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof R(e).ShadowRoot)}function P(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=M(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function k(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function _(e){let t=N(),n=C(e)?M(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function N(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function A(e){return["html","body","#document"].includes(E(e))}function M(e){return R(e).getComputedStyle(e)}function L(e){return C(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function D(e){if("html"===E(e))return e;let t=e.assignedSlot||e.parentNode||T(e)&&e.host||S(e);return T(t)?t.host:t}function F(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=D(t);return A(n)?t.ownerDocument?t.ownerDocument.body:t.body:O(n)&&P(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=R(i);if(o){let e=I(a);
1return t.concat(a,a.visualViewport||[],P(i)?i:[],e&&n?F(e):[])}return t.concat(i,F(i,[],n))}function I(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var B=n(98477);function U(e,t,n){let r,{reference:i,floating:o}=e,a=v(t),l=m(v(t)),s=g(l),u=h(t),c="y"===a,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,y=i[s]/2-o[s]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}switch(p(t)){case"start":r[l]-=y*(n&&c?-1:1);break;case"end":r[l]+=y*(n&&c?-1:1)}return r}let H=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,l=o.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=U(u,r,s),f=r,h={},p=0;for(let n=0;n<l.length;n++){let{name:o,fn:m}=l[n],{x:g,y:v,data:y,reset:b}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=v?v:d,h={...h,[o]:{...h[o],...y}},b&&p<=50&&(p++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:c,y:d}=U(u,f,s)),n=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}};async function W(e,t){var n,r;void 0===t&&(t={});let{x:i,y:o,platform:a,rects:l,elements:s,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:p=!1,padding:m=0}=f(t,e),g="number"!=typeof(r=m)?{top:0,right:0,bottom:0,left:0,...r}:{top:r,right:r,bottom:r,left:r},v=s[p?"floating"===h?"reference":"floating":h],y=w(await a.getClippingRect({element:null==(n=await (null==a.isElement?void 0:a.isElement(v)))||n?v:v.contextElement||await (null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:u})),b="floating"===h?{x:i,y:o,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),E=await (null==a.isElement?void 0:a.isElement(x))&&await (null==a.getScale?void 0:a.getScale(x))||{x:1,y:1},R=w(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:x,strategy:u}):b);return{top:(y.top-R.top+g.top)/E.y,bottom:(R.bottom-y.bottom+g.bottom)/E.y,left:(y.left-R.left+g.left)/E.x,right:(R.right-y.right+g.right)/E.x}}async function z(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=h(n),l=p(n),s="y"===v(n),u=["left","top"].includes(a)?-1:1,c=o&&s?-1:1,d=f(t,e),{mainAxis:m,crossAxis:g,alignmentAxis:y}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof y&&(g="end"===l?-1*y:y),s?{x:g*c,y:m*u}:{x:m*u,y:g*c}}function q(e){let t=M(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=O(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=l(n)!==o||l(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function G(e){return C(e)?e:e.contextElement}function Y(e){let t=G(e);if(!O(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=q(t),a=(o?l(n.width):n.width)/r,s=(o?l(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let X=u(0);function V(e){let t=R(e);return N()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:X}function K(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),a=G(e),l=u(1);t&&(r?C(r)&&(l=Y(r)):l=Y(e));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===R(a))&&i)?V(a):u(0),c=(o.left+s.x)/l.x,d=(o.top+s.y)/l.y,f=o.width/l.x,h=o.height/l.y;if(a){let e=R(a),t=r&&C(r)?R(r):r,n=e,i=I(n);for(;i&&r&&t!==n;){let e=Y(i),t=i.getBoundingClientRect(),r=M(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,d*=e.y,f*=e.x,h*=e.y,c+=o,d+=a,i=I(n=R(i))}}return w({width:f,height:h,x:c,y:d})}function Q(e,t){let n=L(e).scrollLeft;return t?t.left+n:K(S(e)).left+n}function J(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:Q(e,r)),y:r.top+t.scrollTop}}function $(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=R(e),r=S(e),i=n.visualVie
1wport,o=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;let e=N();(!e||e&&"fixed"===t)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l,y:s}}(e,n);else if("document"===t)r=function(e){let t=S(e),n=L(e),r=e.ownerDocument.body,i=a(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=a(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+Q(e),s=-n.scrollTop;return"rtl"===M(r).direction&&(l+=a(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:l,y:s}}(S(e));else if(C(t))r=function(e,t){let n=K(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=O(e)?Y(e):u(1),a=e.clientWidth*o.x,l=e.clientHeight*o.y;return{width:a,height:l,x:i*o.x,y:r*o.y}}(t,n);else{let n=V(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return w(r)}function Z(e){return"static"===M(e).position}function ee(e,t){if(!O(e)||"fixed"===M(e).position)return null;if(t)return t(e);let n=e.offsetParent;return S(e)===n&&(n=n.ownerDocument.body),n}function et(e,t){let n=R(e);if(k(e))return n;if(!O(e)){let t=D(e);for(;t&&!A(t);){if(C(t)&&!Z(t))return t;t=D(t)}return n}let r=ee(e,t);for(;r&&["table","td","th"].includes(E(r))&&Z(r);)r=ee(r,t);return r&&A(r)&&Z(r)&&!_(r)?n:r||function(e){let t=D(e);for(;O(t)&&!A(t);){if(_(t))return t;if(k(t))break;t=D(t)}return null}(e)||n}let en=async function(e){let t=this.getOffsetParent||et,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=O(t),i=S(t),o="fixed"===n,a=K(e,!0,o,t),l={scrollLeft:0,scrollTop:0},s=u(0);if(r||!r&&!o)if(("body"!==E(t)||P(i))&&(l=L(t)),r){let e=K(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=Q(i));let c=!i||r||o?u(0):J(i,l);return{x:a.left+l.scrollLeft-s.x-c.x,y:a.top+l.scrollTop-s.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},er={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,a=S(r),l=!!t&&k(t.floating);if(r===a||l&&o)return n;let s={scrollLeft:0,scrollTop:0},c=u(1),d=u(0),f=O(r);if((f||!f&&!o)&&(("body"!==E(r)||P(a))&&(s=L(r)),O(r))){let e=K(r);c=Y(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let h=!a||f||o?u(0):J(a,s,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-s.scrollTop*c.y+d.y+h.y}},getDocumentElement:S,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,l=[..."clippingAncestors"===n?k(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=F(e,[],!1).filter(e=>C(e)&&"body"!==E(e)),i=null,o="fixed"===M(e).position,a=o?D(e):e;for(;C(a)&&!A(a);){let t=M(a),n=_(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||P(a)&&!n&&function e(t,n){let r=D(t);return!(r===n||!C(r)||A(r))&&("fixed"===M(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):i=t,a=D(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=l[0],u=l.reduce((e,n)=>{let r=$(t,n,i);return e.top=a(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=a(r.left,e.left),e},$(t,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:et,getElementRects:en,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=q(e);return{width:t,height:n}},getScale:Y,isElement:C,isRTL:function(e){return"rtl"===M(e).direction}};function ei(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eo(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,h=G(e),p=l||u?[...h?F(h):[],...F(t)]:[];p.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=h&&d?function(e,t){let n,r=null,i=S(e);function l(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),l();let f=e.getBoundingClientRect(),{left:h,top:p,width:m,height:g}=f;if(c||t(),!m||!g)return;let v=s(p),y=s(i.clientWidth-(h+m)),b={rootMargin:-v+"px "+-y+"px "+-s(i.clientHeight-(p+g))+"px "+-s(h)+"px",threshold:a(0,o(1,d))||1},w=!0;function x(t){let r=t[0].intersectionRatio;if(r!==d){if(!w)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||ei(f,e.getBoundingClientRect())||u(),w=!1}try{r=new IntersectionObserver(x,{...b,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(x,b)}r.observe(e)}(!0),l}(h,n):null,g=-1,v=null;c&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===h&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),h&&!f&&v.observe(h),v.observe(t));let y=f?K(e):null;return f&&function t(){let r=K(e);y&&!ei(y,r)&&n(),y=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;
1p.forEach(e=>{l&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=v)||e.disconnect(),v=null,f&&cancelAnimationFrame(i)}}var ea="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function el(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!el(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!el(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function es(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eu(e,t){let n=es(e);return Math.round(t*n)/n}function ec(e){let t=r.useRef(e);return ea(()=>{t.current=e}),t}let ed=(e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:a,middlewareData:l}=t,s=await z(t,e);return a===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:a}}}}}(e),options:[e,t]}),ef={...i},eh=ef.useInsertionEffect||(e=>e());function ep(e){let t=r.useRef(()=>{});return eh(()=>{t.current=e}),r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}var em="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;let eg=!1,ev=0,ey=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+ev++,eb=ef.useId||function(){let[e,t]=r.useState(()=>eg?ey():void 0);return em(()=>{null==e&&t(ey())},[]),r.useEffect(()=>{eg=!0},[]),e},ew=r.createContext(null),ex=r.createContext(null),eE="active",eR="selected";function eS(e,t,n){let r=new Map,i="item"===n,o=e;if(i&&e){let{[eE]:t,[eR]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1,"data-floating-ui-focusable":""},...o,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,o]=t;if(!(i&&[eE,eR].includes(n)))if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof o){var a;null==(a=r.get(n))||a.push(o),e[n]=function(){for(var e,t=arguments.length,i=Array(t),o=0;o<t;o++)i[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map(e=>e(...i)).find(e=>void 0!==e)}}}else e[n]=o}),e),{})}}function ej(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}var eC=n(85069),eO=n(49266),eT=n(62214);let eP=(0,r.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});eP.displayName="FloatingContext";let ek=(0,r.createContext)(null);function e_(e){return(0,r.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}function eN(){return(0,r.useContext)(eP).setReference}function eA(){return(0,r.useContext)(eP).getReferenceProps}function eM(){let{getFloatingProps:e,slot:t}=(0,r.useContext)(eP);return(0,r.useCallback)(function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return Object.assign({},e(...r),{"data-anchor":t.anchor})},[e,t])}function eL(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,r.useContext)(ek),n=(0,r.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t})]);(0,eT.s)(()=>{null==t||t(null!=n?n:null)},[t,n]);let i=(0,r.useContext)(eP);return(0,r.useMemo)(()=>[i.setFloating,e?i.styles:{}],[i.setFloating,e,i.styles])}function eD(e){var t,n,i,s,u,c,d,w,x;let E,R,S,j,O,T,P,k,_,N,{children:A,enabled:M=!0}=e,[L,D]=(0,r.useState)(null),[F,I]=(0,r.useState)(0),U=(0,r.useRef)(null),[z,q]=(0,r.useState)(null);s=z,(0,eT.s)(()=>{if(!s)return;let e=new MutationObserver(()=>{let e=window.getComputedStyle(s).maxHeight,t=parseFloat(e);if(isNaN(t))return;let n=parseInt(e);isNaN(n)||t!==n&&(s.style.maxHeight="".concat(Math.ceil(t),"px"))});return e.observe(s,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[s]);let G=M&&null!==L&&null!==z,{to:Y="bottom",gap:X=0,offset:V=0,padding:K=0,inner:Q}=(u=L,c=z,E=eF(null!=(d=null==u?void 0:u.gap)?d:"var(--anchor-gap, 0)",c),R=eF(null!=(w=null==u?void 0:u.offset)?w:"var(--anchor-offset, 0)",c),S=eF(null!=(x=null==u?void 0:u.padding)?x:"var(--anchor-padding, 0)",c),{...u,gap:E,offset:R,padding:S}),[J,$="center"]=Y.split(" ");(0,eT.s)(()=>{G&&I(0)},[G]);let{refs:Z,floatingStyles:ee,context:et}=function(e){void 0===e&&(e={});let{nodeId:t}=e,n=function(e){var t;let{open:n=!1,onOpenChange:i,elements:o}=e,a=eb(),l=r.useRef({}),[s]=r.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;
1null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})()),u=null!=((null==(t=r.useContext(ew))?void 0:t.id)||null),[c,d]=r.useState(o.reference),f=ep((e,t,n)=>{l.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:n,nested:u}),null==i||i(e,t,n)}),h=r.useMemo(()=>({setPositionReference:d}),[]),p=r.useMemo(()=>({reference:c||o.reference||null,floating:o.floating||null,domReference:o.reference}),[c,o.reference,o.floating]);return r.useMemo(()=>({dataRef:l,open:n,onOpenChange:f,elements:p,events:s,floatingId:a,refs:h}),[n,f,p,s,a,h])}({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||n,o=i.elements,[a,l]=r.useState(null),[s,u]=r.useState(null),c=(null==o?void 0:o.domReference)||a,d=r.useRef(null),f=r.useContext(ex);em(()=>{c&&(d.current=c)},[c]);let h=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:a,floating:l}={},transform:s=!0,whileElementsMounted:u,open:c}=e,[d,f]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=r.useState(i);el(h,i)||p(i);let[m,g]=r.useState(null),[v,y]=r.useState(null),b=r.useCallback(e=>{e!==R.current&&(R.current=e,g(e))},[]),w=r.useCallback(e=>{e!==S.current&&(S.current=e,y(e))},[]),x=a||m,E=l||v,R=r.useRef(null),S=r.useRef(null),j=r.useRef(d),C=null!=u,O=ec(u),T=ec(o),P=ec(c),k=r.useCallback(()=>{if(!R.current||!S.current)return;let e={placement:t,strategy:n,middleware:h};T.current&&(e.platform=T.current),((e,t,n)=>{let r=new Map,i={platform:er,...n},o={...i.platform,_c:r};return H(e,t,{...i,platform:o})})(R.current,S.current,e).then(e=>{let t={...e,isPositioned:!1!==P.current};_.current&&!el(j.current,t)&&(j.current=t,B.flushSync(()=>{f(t)}))})},[h,t,n,T,P]);ea(()=>{!1===c&&j.current.isPositioned&&(j.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);let _=r.useRef(!1);ea(()=>(_.current=!0,()=>{_.current=!1}),[]),ea(()=>{if(x&&(R.current=x),E&&(S.current=E),x&&E){if(O.current)return O.current(x,E,k);k()}},[x,E,k,O,C]);let N=r.useMemo(()=>({reference:R,floating:S,setReference:b,setFloating:w}),[b,w]),A=r.useMemo(()=>({reference:x,floating:E}),[x,E]),M=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!A.floating)return e;let t=eu(A.floating,d.x),r=eu(A.floating,d.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...es(A.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,A.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:k,refs:N,elements:A,floatingStyles:M}),[d,k,N,A,M])}({...e,elements:{...o,...s&&{reference:s}}}),p=r.useCallback(e=>{let t=C(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;u(t),h.refs.setReference(t)},[h.refs]),m=r.useCallback(e=>{(C(e)||null===e)&&(d.current=e,l(e)),(C(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!C(e))&&h.refs.setReference(e)},[h.refs]),g=r.useMemo(()=>({...h.refs,setReference:m,setPositionReference:p,domReference:d}),[h.refs,m,p]),v=r.useMemo(()=>({...h.elements,domReference:c}),[h.elements,c]),y=r.useMemo(()=>({...h,...i,refs:g,elements:v,nodeId:t}),[h,g,v,t,i]);return em(()=>{i.dataRef.current.floatingContext=y;let e=null==f?void 0:f.nodesRef.current.find(e=>e.id===t);e&&(e.context=y)}),r.useMemo(()=>({...h,context:y,refs:g,elements:v}),[h,g,v,y])}({open:G,placement:"selection"===J?"center"===$?"bottom":"bottom-".concat($):"center"===$?"".concat(J):"".concat(J,"-").concat($),strategy:"absolute",transform:!1,middleware:[ed({mainAxis:"selection"===J?0:X,crossAxis:V}),{...{name:"shift",options:t=j={padding:K},async fn(e){let{x:n,y:r,placement:i}=e,{mainAxis:l=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=f(t,e),d={x:n,y:r},p=await W(e,c),g=v(h(i)),y=m(g),b=d[y],w=d[g];if(l){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=b+p[e],r=b-p[t];b=a(n,o(b,r))}if(s){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=w+p[e],r=w-p[t];w=a(n,o(w,r))}let x=u.fn({...e,[y]:b,[g]:w});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[y]:l,[g]:s}}}}},options:[j,O]},"selection"!==J&&{...{name:"flip",options:n=T={padding:K},async fn(e){var t,r,i,o,a;let{placement:l,middlewareData:s,rects:u,initialPlacement:c,platform:d,elements:w}=e,{mainAxis:x=!0,crossAxis:E=!0,fallbackPlacements:R,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:j="none",flipAlignment:C=!0,...O}=f(n,e);if(null!=(t=s.arrow)&&t.alignmentOffset)return{};let T=h(l),P=v(c),k=h(c)===c,_=await (null==d.isRTL?void 0:d.isRTL(w.floating)),N=R||(k||!C?[b(c)]:function(e){let t=b(e);return[y(e),t,y(t)]}(c)),A="none"!==j;!R&&A&&N.push(...function(e,t,n,r){let i=p(e),o=function(e,t,n){let r=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(h(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(y)))),o}(c,C,j,_));let M=[c,...N],L=await W(e,O),D=[],F=(null==(r=s.flip)?void 0:r.overflows)||[];if(x&&D.push(L[T]),E){let e=function(e,t,n){void 0===n&&(n=!1);let r=p(e),i=m(v(e)),o=g(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=b(a)),[a,b(a)]}(l,u,_);D.push(L[e[0]],L[e[1]])}if(F=[...F,{placement:l,overflows:D}],!D.every(e=>e<=0)){let e=((null==(i=s.flip)?void 0:i.index)||0)+1,t=M[e];if(t)return{data:{index:e,overflows:F},reset:{placement:t}};let n=null==(o=F.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(S){case"bestFit":{let e=null==(a=F.filter(e=>{if(A){let t=v(e.placement);return t===P||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=c}if(l!==n)return{reset:{placement:n}}}return{}}},options:[T,P]},"selection"===J&&Q?{name:"inner",options:k={...Q,padding:K,overflowRef:U,offset:F,minItemsVisible:4,referenceOverflowThreshold:K,onFallbackChange(e){var t,n;if(!e)return;let r=et.elements.floating;if(!r)return;let i=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,o=Math.min(4,r.childElementCount),a=0,l=0;for(let e of null!=(n=null==(t=et.elements.floating)?void 0:t.childNodes)?n:[])if(e instanceof HTMLElement){let t=e.offsetTop,n=t+e.clientHeight+i,s=r.scrollTop,u=s+r.clientHeight;if(t>=s&&n<=u)o--;else{l=Math.max(0,Math.min(n,u)-Math.max(t,s)),a=e.clientHeight;break}}o>=1&&I(e=>{let t=a*o-l+i;return e>=t?e:t})}},async fn(e){let{listRef:t,overflowRef:n,onFallbackChange:r,offset:i=0,index:s=0,minItemsVisible:u=4,referenceOverflowThreshold:c=0,scrollRef:d,...h}=f(k,e),{rects:p,elements:{floating:m}}=e,g=t.current[s],v=(null==d?void 0:d.current)||m,y=m.clientTop||v.clientTop,b=0!==m.clientTop,w=0!==v.clientTop,x=m===v;if(!g)return{};let E={...e,...await ed(-g.offsetTop-m.clientTop-p.reference.height/2-g.offsetHeight/2-i).fn(e)},R=await W(ej(E,v.scrollHeight+y+m.clientTop),h),S=await W(E,{...h,elementContext:"reference"}),j=a(0,R.top),C=E.y+j,O=(v.scrollHeight>v.clientHeight?e=>e:l)(a(0,v.scrollHeight+(b&&x||w?2*y:0)-j-a(0,R.bottom)));if(v.style.maxHeight=O+"px",v.scrollTop=j,r){let e=v.offsetHeight<g.offsetHeight*o(u,t.current.length)-1||S.top>=-c||S.bottom>=-c;B.flushSync(()=>r(e))}return n&&(n.current=await W(ej({...E,y:C},v.offsetHeight+y+m.clientTop),h)),{y:C}}}:null,{...{name:"size",options:i=_={padding:K,apply(e){let{availableWidth:t,availableHeight:n,elements:r}=e;Object.assign(r.floating.style,{overflow:"auto",maxWidth:"".concat(t,"px"),maxHeight:"min(var(--anchor-max-height, 100vh), ".concat(n,"px)")})}},async fn(e){var t,n;let r,l,{placement:s,rects:u,platform:c,elements:d}=e,{apply:m=()=>{},...g}=f(i,e),y=await W(e,g),b=h(s),w=p(s),x="y"===v(s),{width:E,height:R}=u.floating;"top"===b||"bottom"===b?(r=b,l=w===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(l=b,r="end"===w?"top":"bottom");let S=R-y.top-y.bottom,j=E-y.left-y.right,C=o(R-y[r],S),O=o(E-y[l],j),T=!e.middlewareData.shift,P=C,k=O;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(k=j),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(P=S),T&&!w){let e=a(y.left,0),t=a(y.right,0),n=a(y.top,0),r=a(y.bottom,0);x?k=E-2*(0!==e||0!==t?e+t:a(y.left,y.right)):P=R-2*(0!==n||0!==r?n+r:a(y.top,y.bottom))}await m({...e,availableWidth:k,availableHeight:P});let _=await c.getDimensions(d.floating);return E!==_.width||R!==_.height?{reset:{rects:!0}}:{}}},options:[_,N]}].filter(Boolean),whileElementsMounted:eo}),[en=J,ei=$]=et.placement.split("-");"selection"===J&&(en="selection");let ef=(0,r.useMemo)(()=>({anchor:[en,ei].filter(Boolean).join(" ")}),[en,ei]),{getReferenceProps:eh,getFloatingProps:eg}=function(e){void 0===e&&(e=[]);let t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),i=e.map(e=>null==e?void 0:e.item),o=r.useCallback(t=>eS(t,e,"reference"),t),a=r.useCallback(t=>eS(t,e,"floating"),n),l=r.useCallback(t=>eS(t,e,"item"),i);return r.useMemo(()=>({getReferenceProps:o,getFloatingProps:a,getItemProps:l}),[o,a,l])}([function(e,t){let{open:n,elements:i}=e,{enabled:o=!0,overflowRef:a,scrollRef:l,onChange:s}=t,u=ep(s),c=r.useRef(!1),d=r.useRef(null),f=r.useRef(null);r.useEffect(()=>{if(!o)return;function e(e){if(e.ctrlKey||!t||null==a.current)return;let n=e.deltaY,r=a.current.top>=-.5,i=a.current.bottom>=-.5,o=t.scrollHeight-t.clientHeight,l=n<0?-1:1,s=n<0?"max":"min";!(t.scrollHeight<=t.clientHeight)&&(!r&&n>0||!i&&n<0?(e.preventDefault(),B.flushSync(()=>{u(e=>e+Math[s](n,o*l))})):/firefox/i.test(function(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}())&&(t.scrollTop+=n))}let t=(null==l?void 0:l.current)||i.floating;if(n&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{d.current=t.scrollTop,null!=a.current&&(f.current={...a.current})}),()=>{d.current=null,f.current=null,t.removeEventListener("wheel",e)}},[o,n,i.floating,a,l,u]);let h=r.useMemo(()=>({onKeyDown(){c.current=!0},onWheel(){c.current=!1},onPointerMove(){c.current=!1},onScroll(){let e=(null==l?void 0:l.current)||i.floating;if(a.current&&e&&c.current){if(null!==d.current){let t=e.scrollTop-d.current;(a.current.bottom<-.5&&t<-1||a.current.top<-.5&&t>1)&&B.flushSync(()=>u(e=>e+t))}requestAnimationFrame(()=>{d.current=e.scrollTop})}}}),[i.floating,u,a,l]);return r.useMemo(()=>o?{floating:h}:{},[o,h])}(et,{overflowRef:U,onChange:I})]),ev=(0,eO._)(e=>{q(e),Z.setFloating(e)});return r.createElement(ek.Provider,{value:D},r.createElement(eP.Provider,{value:{setFloating:ev,setReference:Z.setReference,styles:ee,getReferenceProps:eh,getFloatingProps:eg,slot:ef}},A))}function eF(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=(0,eC.L)(),o=(0,eO._)((e,t)=>{if(null==e)return[n,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[n,null];let r=eI(e,t);return[r,n=>{let o=function e(t){let n=/var\((.*)\)/.exec(t);if(n){let t=n[1].indexOf(",");if(-1===t)return[n[1]];let r=n[1].slice(0,t).trim(),i=n[1].slice(t+1).trim();return i?[r,...e(i)]:[r]}return[]}(e);{let a=o.map(e=>window.getComputedStyle(t).getPropertyValue(e));i.requestAnimationFrame(function l(){i.nextFrame(l);let s=!1;for(let[e,n]of o.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(a[e]!==r){a[e]=r,s=!0;break}}if(!s)return;let u=eI(e,t);r!==u&&(n(u),r=u)})}return i.dispose}]}return[n,null]}),a=(0,r.useMemo)(()=>o(e,t)[0],[e,t]),[l=a,s]=(0,r.useState)();return(0,eT.s)(()=>{let[n,r]=o(e,t);if(s(n),r)return r(s)},[e,t]),l}function eI(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}ek.displayName="PlacementContext"},766:(e,t,n)=>{"use strict";n.d(t,{S:()=>g});var r=n(37876),i=n(14232),o=n(9504),a=n(18847),l=n.n(a),s=n(12943),u=n(49995),c=n(92227),d=n(76784),f=n(26616),h=n(75556);let p=l()(()=>Promise.all([n.e(7506),n.e(3724),n.e(6824),n.e(8144),n.e(2162),n.e(6037),n.e(5029)]).then(n.bind(n,95029)).then(e=>e.QuickSearch),{loadableGenerated:{webpack:()=>[95029]},ssr:!1}),m=l()(()=>Promise.all([n.e(6746),n.e(3167),n.e(8832)]).then(n.bind(n,8832)),{loadableGenerated:{webpack:()=>[8832]},ssr:!1}),g=e=>{let{className:t,id:n="search",label:a="Поиск товаров"}=e,l=(0,s.r)(),[g,v]=(0,i.useState)(""),[y,b]=(0,i.useState)(!1),[w,x]=(0,i.useState)(!1),E=(0,s.Q)(g,400);(0,i.useEffect)(()=>
1{l.query.query&&v(l.query.query)},[l.query.query]),(0,i.useEffect)(()=>{l.query.query!==E&&b(!!E)},[E]);let R={pathname:"/products",query:g?{query:g}:{}},S=()=>b(!1),j=()=>{S(),(null==g?void 0:g.length)&&(h.YM.goal(h.YM.goals.SEARCH_USED),l.push(R,void 0,{shallow:!0}))};return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(o.A,{onClickAway:S,children:(0,r.jsxs)("div",{className:(0,u.A)("relative  w-full",t),children:[(0,r.jsx)("label",{htmlFor:n,children:(0,r.jsx)("input",{id:n,className:"w-full h-12 px-3 py-2 pr-10 transition-colors duration-150 ease-in-out border rounded-lg outline-none appearance-none bg-accents-1 border-accents-1 focus:bg-white focus:shadow-lg",placeholder:a,value:g,onChange:e=>v(e.target.value),onClick:()=>b(!0),onKeyUp:e=>{e.preventDefault(),"Enter"===e.key&&j()}})}),(0,r.jsxs)("div",{className:"absolute inset-y-0 right-0 flex items-center h-full mr-3 space-x-4 text-accents-7",children:[w&&(0,r.jsx)(m,{open:w,onClose:()=>x(!1)}),!!g&&(0,r.jsx)("button",{className:"p-1 transition duration-150 ease-in-out cursor-pointer hover:text-theme-primary-700",onClick:()=>v(""),title:"Очистить",children:(0,r.jsx)(d.F,{})}),(0,r.jsx)("button",{className:"p-1 transition duration-150 ease-in-out cursor-pointer hover:text-theme-primary-700",onClick:()=>x(!0),title:"Поиск по штрихкоду",children:(0,r.jsx)(c.S,{})}),(0,r.jsx)("button",{"aria-label":"Поиск",className:"p-1 transition duration-150 ease-in-out cursor-pointer hover:text-theme-primary-700",onClick:j,children:(0,r.jsx)(f.v,{})})]}),!!y&&(0,r.jsx)(p,{query:g,onClose:S})]})})})}},1646:(e,t,n)=>{"use strict";n.d(t,{L:()=>o,M:()=>a});var r=n(14232),i=n(24044);let o={getItem:e=>{var t,n;let r=null==(n=window)||null==(t=n.localStorage)?void 0:t.getItem(e);return r?JSON.parse(r):null},setItem:(e,t)=>{var n,r;null==(r=window)||null==(n=r.localStorage)||n.setItem(e,JSON.stringify(t))}};function a(e,t){let n=(0,r.useRef)(t),[a,l]=(0,r.useState)(t),[s,u]=(0,r.useState)(!1),c=e=>o.getItem(e);return(0,r.useEffect)(()=>{try{let t=null;(0,i.E)(window)&&(t=c(e)),l(null!=t?t:n.current)}catch(e){console.error(e),l(n.current)}finally{u(!0)}},[e]),{value:a,setValue:t=>{try{let n=t instanceof Function?t(a):t;l(n),(0,i.E)(window)&&o.setItem(e,n)}catch(e){console.error(e)}},getValue:c,isInitialized:s}}},2364:(e,t,n)=>{"use strict";n.d(t,{F6:()=>a,Nw:()=>o,_P:()=>l,my:()=>r,w4:()=>i});let r=6048e5,i=864e5,o=43200,a=1440,l=Symbol.for("constructDateFrom")},3673:(e,t,n)=>{"use strict";n.d(t,{S:()=>u});var r=n(14232);class i extends Map{get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}constructor(e){super(),this.factory=e}}var o=n(27344),a=n(62214),l=n(87907);let s=new i(()=>(0,o.y)(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let n=this.slice();return n.splice(t,1),n}}));function u(e,t){let n=s.get(t),i=(0,r.useId)(),o=(0,l.P)(n);if((0,a.s)(()=>{if(e)return n.dispatch("ADD",i),()=>n.dispatch("REMOVE",i)},[n,e]),!e)return!1;let u=o.indexOf(i),c=o.length;return -1===u&&(u=c,c+=1),u===c-1}},6427:e=>{e.exports={link:"Footer_link__pqGYX"}},7113:(e,t,n)=>{"use strict";n.d(t,{P:()=>eo});var r=n(37876),i=n(18847),o=n.n(i),a=n(14232),l=n(65899),s=n(766),u=n(33290),c=n(57361),d=n(73843),f=n(18067),h=n(14915),p=n(79523),m=n(96801),g=n(73716),v=n(69582);let y=e=>{let{query:t}=e,n=t.limit||6,r=(0,g.O$)({href:v.n.notifications.getRoute(),query:{...t,limit:n}});return{href:r,get:()=>g.Em.get(r)}};var b=n(45435),w=n(49995);let x=e=>{var t,n,i,o,l,s;let{}=e,[u,c]=(0,a.useState)(!1),x=(e=>{let{variables:t,...n}=e;return(0,g.bP)((()=>{let e=v.n.notificationsUnreadCount.getRoute();return{href:e,get:()=>g.Em.get(e)}})().href,n)})({revalidateOnFocus:!0}),E=(e=>{let{variables:t,...n}=e;return(0,g.bP)(y({query:t}).href,n)})({variables:{offset:0},skip:!u,revalidateOnFocus:!0}),[R,S]=(0,a.useState)(null),[j,C]=(0,a.useState)(!1),[O,T]=(0,a.useState)(void 0),P=async e=>{if(e.readAt)return;let t=e.id;S(e=>e?e.map(e=>{var n;return e.id===t?{...e,readAt:null!=(n=e.readAt)?n:new Date().toISOString()}:e}):e),await (e=>{let{id:t}=e;return g.Em.patch(v.n.notificationMarkRead.getRoute(t))})({id:t}),x.mutate(),E.mutate()};(0,a.useEffect)(()=>{var e;if(!u)return S(null);(null==(e=E.data)?void 0:e.data)&&(S(E.data.data),T(E.data.totalCount))},[E.data,u]);let k="inst_notification_testing_bot";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f.u,{onClick:()=>c(!0),className:"relative flex flex-col items-center justify-center w-16 p-2 transition duration-100 ease-in-out outline-none cursor-pointer text-primary hover:text-accents-6",children:(0,r.jsxs)(r.Fragment,{children:[(null==(t=x.data)?void 0:t.data.totalUnread)>0&&(0,r.jsx)("span",{className:"absolute top-0 flex items-center justify-center w-5 h-5 text-xs font-semibold text-white bg-red-500 border rounded-full right-2 border-accents-1",children:null==(n=x.data)?void 0:n.data.totalUnread}),(0,r.jsx)(p.I,{className:"w-6 h-6 text-accents-7"}),(0,r.jsx)("span",{className:"text-xs text-accents-7",children:"Уведомления"})]})}),(0,r.jsx)(h.a,{open:u,onClose:()=>c(!1),children:(0,r.jsxs)("div",{className:"overflow-hidden w-96",children:[(0,r.jsx)("div",{className:"px-4 py-3 border-b",children:(0,r.jsx)("div",{className:"text-lg font-semibold",children:"Уведомления"})}
1),k&&(0,r.jsxs)("div",{className:"px-4 py-3 border-b bg-amber-50",children:[(0,r.jsx)("div",{className:"text-sm text-accents-7",children:"Чтобы ничего не пропустить, подпишитесь на нашего Telegram бота:"}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-3 mt-2",children:[(0,r.jsx)(m.m,{className:"text-sky-600"}),(0,r.jsx)(d.A,{children:(0,r.jsxs)("a",{href:"tg://resolve?domain=".concat(k),target:"_blank",rel:"noopener noreferrer",children:["@",k]})})]})]}),(0,r.jsx)("div",{className:"overflow-y-auto max-h-[52vh] space-y-2",children:(null==R?void 0:R.length)?R.map(e=>(0,r.jsxs)("div",{role:"button",tabIndex:0,onClick:()=>P(e),className:(0,w.A)("flex gap-3 px-4 py-3 items-start hover:bg-accents-1 transition-colors  rounded-md duration-150 cursor-pointer",e.readAt?"":"bg-accents-0"),children:[(0,r.jsx)("div",{className:"flex-shrink-0 mt-1",children:(0,r.jsx)("span",{className:(0,w.A)("inline-block w-2 h-2 rounded-full",e.readAt?"bg-accents-3":"bg-red-500"),"aria-hidden":!0})}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("div",{className:((0,w.A)("truncate"),e.readAt?"":"font-semibold"),children:e.title}),(0,r.jsx)("div",{className:"flex-shrink-0 ml-3 text-xs text-accents-5",children:(0,b.Yq)(e.createdAt)})]}),(0,r.jsx)("div",{className:"mt-1 text-sm truncate text-accents-6",children:e.body})]})]},e.id)):(0,r.jsx)("div",{className:"p-4 text-center text-accents-5",children:"Нет уведомлений"})}),!("number"==typeof O&&(null!=(l=null==R?void 0:R.length)?l:0)>=O)&&(0,r.jsx)("div",{className:"flex justify-center px-4 py-3 border-t",children:(0,r.jsx)("button",{disabled:j||!(null!=(s=null==(o=E.data)||null==(i=o.data)?void 0:i.length)?s:null==R?void 0:R.length),onClick:async()=>{var e,t,n,r;C(!0);let i=R?R.length:null!=(n=null==(t=E.data)||null==(e=t.data)?void 0:e.length)?n:0;try{let e=await y({query:{offset:i}}).get();T(e.totalCount),(null==e||null==(r=e.data)?void 0:r.length)&&S(t=>t?[...t,...e.data]:e.data)}finally{C(!1)}},className:"px-4 py-2 rounded bg-accents-1 hover:bg-accents-2 disabled:opacity-50",children:j?"Загрузка...":"Загрузить ещё"})})]})})]})};var E=n(20915),R=n(82899),S=n(14134),j=n(85712),C=n(64746),O=n(37955),T=n(69692),P=n(46001),k=n(17396),_=n(26214);let N=e=>{var t,n,i,o;let{className:a,children:l,...s}=e,{asPath:d,pathname:f,...h}=(0,j.r)(),p=(0,u.u)(),{data:m}=(0,c.K5)(),{toggleRightSidebar:g,setModalView:v,openModal:y}=(0,S.m)(),b=(null==m||null==(n=m.data)||null==(t=n.lines)?void 0:t.length)||0,N=e=>!p.data&&(e.preventDefault(),e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),v("LOGIN_VIEW"),y(),!0);return(0,r.jsxs)("ul",{className:(0,w.A)("relative flex flex-row items-center justify-between h-full",a),children:[p.data&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(E.n,{roles:[R.g.ROLE_ADMIN],children:(0,r.jsx)("li",{className:"min-w-20",children:(0,r.jsx)(x,{})})}),(0,r.jsx)("li",{children:(0,r.jsx)(k.Link,{onClick:N,href:_.t.favorites.getRoute(),className:"relative flex flex-col items-center justify-center w-16 p-2 transition duration-100 ease-in-out outline-none cursor-pointer text-primary hover:text-accents-6",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(T.N,{className:"w-6 h-6 text-accents-7"}),(0,r.jsx)("span",{className:"text-xs text-accents-7",children:"Избранное"})]})})}),(0,r.jsx)("li",{children:(0,r.jsx)(k.Link,{onClick:N,href:_.t.orders.getRoute(),className:"relative flex flex-col items-center justify-center w-16 p-2 transition duration-100 ease-in-out outline-none cursor-pointer text-primary hover:text-accents-6",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(O.a,{className:"w-6 h-6 text-accents-7"}),(0,r.jsx)("span",{className:"text-xs text-accents-7",children:"Заказы"})]})})}),(0,r.jsx)("li",{onClick:N,children:(0,r.jsx)("button",{onClick:e=>{N(e)||g()},className:"relative flex flex-col items-center justify-center w-16 p-2 transition duration-100 ease-in-out outline-none cursor-pointer text-primary hover:text-accents-6",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C.T,{className:"w-6 h-6 text-accents-7"}),(0,r.jsx)("span",{className:"text-xs text-accents-7",children:"Корзина"}),b>0&&(0,r.jsx)("span",{className:"absolute top-0 flex items-center justify-center w-5 h-5 text-xs font-semibold text-white border rounded-full right-2 border-accents-1 bg-theme-primary-700",children:b})]})})})]}),(0,r.jsx)("li",{children:(0,r.jsx)(k.Link,{onClick:N,href:_.t.profile.getRoute(),className:"relative flex flex-col items-center justify-center w-16 p-2 transition duration-100 ease-in-out outline-none cursor-pointer text-primary hover:text-accents-6",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(P.K,{className:"w-6 h-6 text-accents-7"}),(0,r.jsx)("span",{className:"text-xs text-accents-7",children:(null==p||null==(i=p.data)?void 0:i.firstName)||(null==p||null==(o=p.data)?void 0:o.phoneNumber)||"Войти"})]})})})]})};var A=n(39149),M=n.n(A),L=n(14739),D=n(18827),F=n(75887),I=n(33237),B=n(81194);let U=o()(()=>Promise.all([n.e(4935),n.e(8144),n.e(9369)]).then(n.bind(n,69369)).then(e=>
1e.CategoriesBar),{loadableGenerated:{webpack:()=>[69369]},ssr:!1}),H=o()(()=>Promise.all([n.e(4935),n.e(8144),n.e(9369)]).then(n.bind(n,69369)).then(e=>e.CategoriesModal),{loadableGenerated:{webpack:()=>[69369]},ssr:!1}),W=o()(()=>n.e(647).then(n.bind(n,90647)).then(e=>e.FeedbackCommon),{loadableGenerated:{webpack:()=>[90647]},ssr:!1}),z=o()(()=>n.e(647).then(n.bind(n,90647)).then(e=>e.FeedbackCallbackRequest),{loadableGenerated:{webpack:()=>[90647]},ssr:!1}),q=o()(()=>Promise.all([n.e(8144),n.e(8594),n.e(8758)]).then(n.bind(n,42831)).then(e=>e.OutletSelectDialog),{loadableGenerated:{webpack:()=>[42831]},ssr:!1}),G=[{name:"О портале",href:"".concat(_.t.about.getRoute(),"#about"),className:null},{name:"Работа с платформой",href:"".concat(_.t.about.getRoute(),"#interaction"),className:"hidden xl:inline-block"},{name:"Производителям и дистрибьюторам",href:"".concat(_.t.about.getRoute(),"#manufacturers"),className:"hidden 2xl:inline-block"},{name:"Продвижение ваших брендов",href:"".concat(_.t.about.getRoute(),"#brands"),className:"hidden 2xl:inline-block"},{name:"Доставка и оплата",href:_.t.dostavkaIOplata.getRoute(),className:"hidden lg:inline-block"}],Y=e=>{let{className:t}=e,[n,i]=(0,a.useState)(!1),[o,u]=(0,a.useState)(!1),[c,d]=(0,a.useState)(!1),[f,h]=(0,a.useState)(!1),p=(0,L.r)(),[m,g]=(0,a.useState)(null);(0,a.useEffect)(()=>{c&&m!==p.asPath&&(d(!1),g(p.asPath))},[p.asPath]);let v=(()=>{let[e,t]=(0,a.useState)(!1),[n,r]=(0,a.useState)(0),i=(0,a.useCallback)(M()(()=>{let{scrollTop:e}=document.documentElement;r(e),t(e>0)},1),[]);return(0,a.useEffect)(()=>(document.addEventListener("scroll",i),()=>{document.removeEventListener("scroll",i)}),[i]),{hasScrolled:e,scrollTop:n}})(),{toggleLeftSidebar:y}=(0,S.m)();return(0,r.jsxs)("header",{style:{minHeight:"108px"},className:(0,w.A)("relative bg-primary transition-all duration-150  z-10",t),children:[(0,r.jsx)(E.n,{roles:[R.g.ROLE_ADMIN],children:(0,r.jsx)(D.m,{el:"header",clean:!0,style:{backgroundColor:"#384152"},className:"border-b border-accents-7",children:(0,r.jsxs)("div",{style:{height:"20px"},className:"flex items-center space-x-3 text-sm text-accents-4",children:[(0,r.jsx)("a",{href:"https://crm.instock-dv.ru",className:"hover:text-accents-0 active:text-accents-1",children:"CRM"}),(0,r.jsx)("a",{href:"https://crm.instock-dv.ru/orders",className:"hover:text-accents-0 active:text-accents-1",children:"Заказы"}),(0,r.jsx)("a",{href:"https://crm.instock-dv.ru/contractors",className:"hover:text-accents-0 active:text-accents-1",children:"Контрагенты"}),(0,r.jsx)("a",{href:"https://crm.instock-dv.ru/users",className:"hover:text-accents-0 active:text-accents-1",children:"Пользователи"})]})})}),(0,r.jsx)(D.m,{el:"header",clean:!0,style:{backgroundColor:"#384152"},children:(0,r.jsxs)("div",{className:"flex justify-between text-sm text-accents-4",style:{height:"40px"},children:[(0,r.jsx)("div",{children:(0,r.jsxs)("ul",{className:"flex items-center h-full space-x-4 overflow-hidden whitespace-nowrap",children:[G.map(e=>(0,r.jsx)("li",{className:(0,w.A)("h-full",e.className),children:(0,r.jsx)(F.N,{href:e.href,className:"flex items-center h-full transition ease-in-out whitespace-nowrap hover:text-accents-0 active:text-accents-1",children:e.name})},e.href)),(0,r.jsxs)("li",{className:"hidden sm:inline-block",children:[(0,r.jsxs)("button",{onClick:()=>i(!0),"aria-label":"Есть замечания?",className:(0,w.A)("flex items-center h-full whitespace-nowrap hover:text-accents-0 active:text-accents-2","cursor-pointer text-theme-primary-500"),children:[(0,r.jsx)(B.r,{className:"inline-block w-4 mr-2"}),(0,r.jsx)("span",{children:"Есть замечания?"})]}),n&&(0,r.jsx)(W,{open:n,onClose:()=>i(!1)})]})]})}),(0,r.jsx)("div",{className:"flex justify-end ml-4",children:(0,r.jsxs)("div",{className:"flex space-x-4",children:[(0,r.jsx)(l.Q,{className:"flex items-center h-full whitespace-nowrap hover:text-accents-0 active:text-accents-2",withIcon:!0}),(0,r.jsx)("button",{title:"Заказать звонок",onClick:()=>u(!0),children:"Заказать звонок"}),(0,r.jsx)(z,{open:o,onClose:()=>u(!1)})]})})]})}),(0,r.jsxs)(D.m,{clean:!0,className:(0,w.A)(v.scrollTop>108&&"fixed top-0 w-full  bg-white drop-shadow-md"),children:[(0,r.jsxs)("div",{className:"relative flex flex-row justify-between py-2 align-center",style:{height:"68px"},children:[(0,r.jsxs)("div",{className:"flex items-center md:flex-1",children:[(0,r.jsx)(F.N,{href:"/",className:"duration-100 ease-in-out transform cursor-pointer hover:scale-105",children:(0,r.jsx)(I.g,{})}),(0,r.jsxs)("nav",{className:"ml-6 space-x-4 text-sm",children:[(0,r.jsxs)("div",{className:"xl:hidden",children:[(0,r.jsx)("button",{className:"relative px-4 py-2 font-bold transition ease-in-out bg-yellow-400 rounded-md text-slate-600 hover:bg-yellow-500",onClick:e=>{e.preventDefault(),h(!f)},children:"Каталог"}),f&&(0,r.jsx)(H,{onClose:()=>h(!1)})]}),(0,r.jsxs)("div",{className:"hidden xl:block",children:[(0,r.jsx)("button",{onClick:e=>{d(!c)},className:(0,w.A)("relative px-4 py-2 font-bold transition bg-yellow-400 rounded-md text-slate-600 hover:bg-yellow-500 ease-in-out"),children:"Kаталог"}),c&&(0,r.jsx)(U,{onClose:()=>d(!1),open:c})]})]})]}),(0,r.jsx)("div",{className:"justify-center flex-1 hidden xl:flex",children:(0,r.jsx)(s.S,{})}),(0,r.jsx)("div",{className:"flex items-center justify-end flex-1 ",children:(0,r.jsxs)("div",{className:"flex items-center justify-end space-x-4",children:[(0,r.jsx)("div",{className:"hidden lg:flex"}),(0,r.jsx)("div",{className:"flex text-xs truncate",style:{maxWidth:"150px"},children:(0,r.jsx)(q,{compact:!0,onSelect:()=>location.reload()})}),(0,r.jsx)(N,{className:"hidden lg:flex"})]})})]}),(0,r.jsx)("div",{className:"flex pb-4 lg:px-6 xl:hidden",children:(0,r.jsx)(s.S,{id:"mobileSearch"})})]})]})};var X=n(6427),V=n.n(X),K=n(48107),Q=n(76496);let J=o()(()=>n.e(647).then(n.bind(n,90647)).then(e=>e.FeedbackCommon),{loadableGenerated:{webpack:()=>[90647]},ssr:!1}),$=o()(()=>n.e(647).then(n.bind(n,90647)).then(e=>
1e.FeedbackCallbackRequest),{loadableGenerated:{webpack:()=>[90647]},ssr:!1}),Z=e=>{let{className:t}=e,[n,i]=(0,a.useState)(!1),[o,s]=(0,a.useState)(!1);return(0,r.jsx)("footer",{className:(0,w.A)("text-accents-4",t),style:{backgroundColor:"#384152"},children:(0,r.jsxs)(D.m,{clean:!0,children:[(0,r.jsxs)("div",{className:"flex flex-col pt-12 lg:flex-row",children:[(0,r.jsx)("div",{className:"mb-8",children:(0,r.jsx)(F.N,{href:"/",className:"flex items-center flex-initial font-bold md:mr-24",children:(0,r.jsx)(I.g,{variant:"monoWhite",fullSize:!0})})}),(0,r.jsxs)("div",{className:"grid flex-grow grid-cols-1 gap-8 transition-colors duration-150 lg:grid-cols-12 text-primary",children:[(0,r.jsx)("div",{className:"col-span-1 lg:col-span-4",children:(0,r.jsxs)("ul",{className:"flex flex-col flex-initial md:flex-1",children:[(0,r.jsx)("li",{className:"py-3 md:py-0 md:pb-4",children:(0,r.jsx)(F.N,{href:"/about#about",className:V().link,children:"О портале"})}),(0,r.jsx)("li",{className:"py-3 md:py-0 md:pb-4",children:(0,r.jsx)(F.N,{href:"".concat(_.t.about.getRoute(),"#interaction"),className:V().link,children:"Работа с платформой"})}),(0,r.jsx)("li",{className:"py-3 md:py-0 md:pb-4",children:(0,r.jsx)(F.N,{href:"".concat(_.t.about.getRoute(),"#manufacturers"),className:V().link,children:"Производителям и дистрибьюторам"})}),(0,r.jsx)("li",{className:"py-3 md:py-0 md:pb-4",children:(0,r.jsx)(F.N,{href:"".concat(_.t.about.getRoute(),"#brands"),className:V().link,children:"Продвижение ваших брендов"})}),(0,r.jsx)("li",{className:"py-3 md:py-0 md:pb-4",children:(0,r.jsx)(F.N,{href:_.t.publicOffer.getRoute(),className:V().link,children:"Публичная оферта"})}),(0,r.jsx)("li",{className:"py-3 md:py-0 md:pb-4",children:(0,r.jsx)(F.N,{href:_.t.privacy.getRoute(),className:V().link,children:"Согласие на обработку персональных данных"})}),(0,r.jsx)("li",{className:"py-3 md:py-0 md:pb-4",children:(0,r.jsx)(F.N,{href:_.t.dostavkaIOplata.getRoute(),className:V().link,children:"Доставка и оплата"})}),(0,r.jsx)("li",{className:"py-3 md:py-0 md:pb-4",children:(0,r.jsx)(F.N,{href:_.t.contacts.getRoute(),className:V().link,children:"Контакты"})}),(0,r.jsx)("li",{className:"py-3 md:py-0 md:pb-4",children:(0,r.jsx)(F.N,{href:"/sitemap",className:V().link,children:"Карта сайта"})})]})}),(0,r.jsx)("div",{className:"col-span-1 lg:col-span-4",children:(0,r.jsxs)("ul",{className:"flex flex-col flex-initial md:flex-1",children:[(0,r.jsxs)("li",{className:"py-3 md:py-0 md:pb-4",children:[(0,r.jsxs)("button",{"aria-label":"Есть замечания?",className:V().link,onClick:()=>i(!0),children:[(0,r.jsx)(B.r,{className:"inline-block w-4 mr-2"}),(0,r.jsx)("span",{children:"Есть замечания?"})]}),n&&(0,r.jsx)(J,{onClose:()=>i(!1),open:!0})]}),(0,r.jsx)("li",{className:"py-3 md:py-0 md:pb-4",children:(0,r.jsx)(l.Q,{className:V().link,withIcon:!0})}),(0,r.jsxs)("li",{className:"py-3 md:py-0 md:pb-4",children:[(0,r.jsxs)("button",{"aria-label":"Заказать звонок",className:V().link,onClick:()=>s(!0),children:[(0,r.jsx)(Q.b,{className:"inline-block w-4 mr-2"}),(0,r.jsx)("span",{children:"Заказать звонок"})]}),o&&(0,r.jsx)($,{onClose:()=>s(!1),open:!0})]}),(0,r.jsx)("li",{className:"py-3 md:py-0 md:pb-4",children:(0,r.jsx)(K.a,{className:V().link,withIcon:!0})})]})})]})]}),(0,r.jsxs)("div",{className:"flex flex-col items-center justify-between py-4 space-y-4 md:flex-row",children:[(0,r.jsx)("div",{children:(0,r.jsxs)("span",{children:["\xa9 ",new Date().getFullYear()," InStock"]})}),(0,r.jsx)("div",{className:"flex items-center pb-12"})]})]})})};var ee=n(73231),et=n(85254);let en=o()(()=>Promise.all([n.e(3724),n.e(2162),n.e(747),n.e(746)]).then(n.bind(n,90746)).then(e=>e.CartSidebarView),{loadableGenerated:{webpack:()=>[90746]},ssr:!1}),er=o()(()=>n.e(3893).then(n.bind(n,83893)).then(e=>e.LoginView),{loadableGenerated:{webpack:()=>[83893]},ssr:!1}),ei=o()(()=>Promise.resolve().then(n.bind(n,17396)).then(e=>
1e.Sidebar),{loadableGenerated:{webpack:()=>[17396]},ssr:!1}),eo=e=>{let{children:t}=e,{displayLeftSidebar:n,displayRightSidebar:i,displayModal:o,closeLeftSidebar:a,closeRightSidebar:l,closeModal:s,modalView:u}=(0,S.m)();return(0,r.jsxs)("div",{className:"h-full mx-auto transition-colors duration-150 text-primary",children:[(0,r.jsx)(Y,{}),(0,r.jsx)(ee.Y,{}),(0,r.jsx)("main",{className:"fit",children:t}),(0,r.jsx)(Z,{className:"mt-16"}),i&&(0,r.jsx)(ei,{open:i,onClose:l,children:(0,r.jsx)(en,{})}),o&&(0,r.jsx)(h.a,{open:o,onClose:s,children:"LOGIN_VIEW"===u&&(0,r.jsx)(er,{})}),(0,r.jsx)("div",{className:"block lg:hidden",children:(0,r.jsx)(et.d,{children:(0,r.jsx)("div",{className:"flex",style:{height:"56px"},children:(0,r.jsx)(N,{className:"justify-around flex-grow mx-4"})})})})]})}},7894:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(14232),i=n(91222),o=n(85069),a=n(49266);function l(){let{disabled:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,r.useRef)(null),[n,l]=(0,r.useState)(!1),s=(0,o.L)(),u=(0,a._)(()=>{t.current=null,l(!1),s.dispose()}),c=(0,a._)(e=>{if(s.dispose(),null===t.current){t.current=e.currentTarget,l(!0);{let n=(0,i.T)(e.currentTarget);s.addEventListener(n,"pointerup",u,!1),s.addEventListener(n,"pointermove",e=>{if(t.current){var n,r;let i,o;l((i=e.width/2,o=e.height/2,n={top:e.clientY-o,right:e.clientX+i,bottom:e.clientY+o,left:e.clientX-i},r=t.current.getBoundingClientRect(),!(!n||!r||n.right<r.left||n.left>r.right||n.bottom<r.top||n.top>r.bottom)))}},!1),s.addEventListener(n,"pointercancel",u,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:c,onPointerUp:u,onClick:u}}}},8193:(e,t,n)=>{"use strict";n.d(t,{JU:()=>p,b0:()=>h,o2:()=>f,vd:()=>d});var r=n(14232),i=n(49266),o=n(62214),a=n(26),l=n(9221),s=n(96488),u=n(70367);let c=(0,r.createContext)(null);function d(){let e=(0,r.useContext)(c);if(null===e){let e=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,d),e}return e}function f(e){var t,n,i;let o=null!=(n=null==(t=(0,r.useContext)(c))?void 0:t.value)?n:void 0;return(null!=(i=null==e?void 0:e.length)?i:0)>0?[o,...e].filter(Boolean).join(" "):o}function h(){let{inherit:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=f(),[n,o]=(0,r.useState)([]),a=e?[t,...n].filter(Boolean):n;return[a.length>0?a.join(" "):void 0,(0,r.useMemo)(()=>function(e){let t=(0,i._)(e=>(o(t=>[...t,e]),()=>o(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),n=(0,r.useMemo)(()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value}),[t,e.slot,e.name,e.props,e.value]);return r.createElement(c.Provider,{value:n},e.children)},[o])]}c.displayName="LabelContext";let p=Object.assign((0,u.FX)(function(e,t){var n;let c=(0,r.useId)(),f=d(),h=(0,s.q)(),p=(0,l._)(),{id:m="headlessui-label-".concat(c),htmlFor:g=null!=h?h:null==(n=f.props)?void 0:n.htmlFor,passive:v=!1,...y}=e,b=(0,a.P)(t);(0,o.s)(()=>f.register(m),[m,f.register]);let w=(0,i._)(e=>{let t=e.currentTarget;if(t instanceof HTMLLabelElement&&e.preventDefault(),f.props&&"onClick"in f.props&&"function"==typeof f.props.onClick&&f.props.onClick(e),t instanceof HTMLLabelElement){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let n=e.getAttribute("aria-disabled");if("true"===n||""===n)return;(e instanceof HTMLInputElement&&("radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}}),x=p||!1,E=(0,r.useMemo)(()=>({...f.slot,disabled:x}),[f.slot,x]),R={ref:b,...f.props,id:m,htmlFor:g,onClick:w};return v&&("onClick"in R&&(delete R.htmlFor,delete R.onClick),"onClick"in y&&delete y.onClick),(0,u.Ci)()({ourProps:R,theirProps:y,slot:E,defaultTag:g?"label":"div",name:f.name||"Label"})}),{})},8811:e=>{e.exports={icon:"ManagerPhoneLink_icon__B08Tx"}},9221:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=n(14232);let i=(0,r.createContext)(void 0);function o(){return(0,r.useContext)(i)}}
1,9504:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(14232);function i(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var a=["children","onClickAway","focusEvent","mouseEvent","touchEvent"],l={click:"onClick",focusin:"onFocus",focusout:"onBlur",mousedown:"onMouseDown",mouseup:"onMouseUp",touchstart:"onTouchStart",touchend:"onTouchEnd"},s=parseInt(r.version.split(".")[0],10),u=function(e){var t=e.children,n=e.onClickAway,u=e.focusEvent,c=void 0===u?"focusin":u,d=e.mouseEvent,f=void 0===d?"click":d,h=e.touchEvent,p=void 0===h?"touchend":h,m=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,a),g=(0,r.useRef)(null),v=(0,r.useRef)(null),y=(0,r.useRef)(!1);(0,r.useEffect)(function(){return setTimeout(function(){y.current=!0},0),function(){y.current=!1}},[]);var b,w=function(e){return function(n){v.current=n.target;var r=null==t?void 0:t.props[e];r&&r(n)}},x=null;s>=19?x=(null==(b=t.props)?void 0:b.ref)||null:"ref"in t&&(x=t.ref);var E,R=(E=[g,x],function(e){E.forEach(function(t){"function"==typeof t?t(e):null!=t&&(t.current=e)})});(0,r.useEffect)(function(){var e,t,r=null!=(e=null==(t=g.current)?void 0:t.ownerDocument)?e:document,i=function(e){y.current&&(g.current&&g.current.contains(e.target)||v.current===e.target||!r.contains(e.target)||n(e))};return r.addEventListener(f,i),r.addEventListener(p,i),r.addEventListener(c,i),function(){r.removeEventListener(f,i),r.removeEventListener(p,i),r.removeEventListener(c,i)}},[c,f,n,p]);var S=l[f],j=l[p],C=l[c];return r.Children.only((0,r.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}(i(i(i({ref:R},C,w(C)),S,w(S)),j,w(j)),m)))};u.displayName="ClickAwayListener"},9581:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(86392),i=n(31898);function o(e,t,n){let o=(0,i.a)(e,null==n?void 0:n.in);if(isNaN(t))return(0,r.w)((null==n?void 0:n.in)||e,NaN);if(!t)return o;let a=o.getDate(),l=(0,r.w)((null==n?void 0:n.in)||e,o.getTime());return(l.setMonth(o.getMonth()+t+1,0),a>=l.getDate())?l:(o.setFullYear(l.getFullYear(),l.getMonth(),a),o)}},9709:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var r=n(37876);let i=e=>{let{...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",...t,children:(0,r.jsx)("path",{d:"M0 3v18h24v-18h-24zm21.518 2l-9.518 7.713-9.518-7.713h19.036zm-19.518 14v-11.817l10 8.104 10-8.104v11.817h-20z"})})}},9724:(e,t,n)=>{"use strict";n.d(t,{W:()=>Q});var r=n(37876),i=n(14232),o=n(56788),a=n(36607),l=n(98477),s=n(7894),u=n(48804),c=n(85069),d=n(93120),f=n(49266),h=n(90226),p=n(62214),m=n(64787),g=n(18611),v=n(21217),y=n(96668),b=n(64116),w=n(26),x=n(27419),E=n(83320),R=n(64362),S=n(91222),j=n(610),C=n(30140),O=n(18820),T=n(34359),P=n(19314),k=n(84163),_=n(73872),N=n(70367),A=n(96345),M=n(89075),L=n(8193),D=n(93247),F=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(F||{}),I=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(I||{}),B=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetItemsElement=8]="SetItemsElement",e))(B||{});function U(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,k.wl)(t(e.items.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return -1===i&&(i=null),{items:r,activeItemIndex:i}}let H={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var n,r,i,o,a;if(1===e.menuState)return e;let l={...e,searchQuery:"",activationTrigger:null!=(n=t.trigger)?n:1,__demoMode:!1};if(t.focus===T.B.Nothing)return{...l,activeItemIndex:null};if(t.focus===T.B.Specific)return{...l,activeItemIndex:e.items.findIndex(e=>e.id===t.id)};if(t.focus===T.B.Previous){let n=e.activeItemIndex;if(null!==n){let o=e.items[n].dataRef.current.domRef,a=(0,T.X)(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==a){let t=e.items[a].dataRef.current.domRef;if((null==(r=o.current)?void 0:r.previousElementSibling)===t.current||(null==(i=t.current)?void 0:i.previousElementSibling)===null)return{...l,activeItemIndex:a}}}}else if(t.focus===T.B.Next){let n=e.activeItemIndex;if(null!==n){let r=e.items[n].dataRef.current.domRef,i=(0,T.X)(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==i){let t=e.items[i].dataRef.current.domRef;if((null==(o=r.current)?void 0:o.nextElementSibling)===t.current||(null==(a=t.current)?void 0:a.nextElementSibling)===null)return{...l,activeItemIndex:i}}}}let s=U(e),u=(0,T.X)(t,{resolveItems:()=>s.items,resolveActiveIndex:()=>s.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...l,...s,activeItemIndex:u}},3:(e,t)=>
1{let n=+(""===e.searchQuery),r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled}),o=i?e.items.indexOf(i):-1;return -1===o||o===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:o,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=U(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=U(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.itemsElement===t.element?e:{...e,itemsElement:t.element}},W=(0,i.createContext)(null);function z(e){let t=(0,i.useContext)(W);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Menu /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,z),t}return t}function q(e,t){return(0,_.Y)(t.type,H,e,t)}W.displayName="MenuContext";let G=i.Fragment,Y=N.Ac.RenderStrategy|N.Ac.Static,X=i.Fragment,V=Object.assign((0,N.FX)(function(e,t){let{__demoMode:n=!1,...r}=e,o=(0,i.useReducer)(q,{__demoMode:n,menuState:+!n,buttonElement:null,itemsElement:null,items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsElement:l,buttonElement:s},u]=o,c=(0,w.P)(t);(0,g.j)(0===a,[s,l],(e,t)=>{u({type:1}),(0,k.Bm)(t,k.MZ.Loose)||(e.preventDefault(),null==s||s.focus())});let d=(0,f._)(()=>{u({type:1})}),h=(0,i.useMemo)(()=>({open:0===a,close:d}),[a,d]),p=(0,N.Ci)();return i.createElement(j.St,null,i.createElement(W.Provider,{value:o},i.createElement(C.El,{value:(0,_.Y)(a,{0:C.Uw.Open,1:C.Uw.Closed})},p({ourProps:{ref:c},theirProps:r,slot:h,defaultTag:G,name:"Menu"}))))}),{Button:(0,N.FX)(function(e,t){var n;let r=(0,i.useId)(),{id:u="headlessui-menu-button-".concat(r),disabled:c=!1,autoFocus:d=!1,...h}=e,[p,m]=z("Menu.Button"),g=(0,j.TI)(),v=(0,w.P)(t,(0,j.Xc)(),(0,f._)(e=>m({type:7,element:e}))),b=(0,f._)(e=>{switch(e.key){case M.D.Space:case M.D.Enter:case M.D.ArrowDown:e.preventDefault(),e.stopPropagation(),(0,l.flushSync)(()=>m({type:0})),m({type:2,focus:T.B.First});break;case M.D.ArrowUp:e.preventDefault(),e.stopPropagation(),(0,l.flushSync)(()=>m({type:0})),m({type:2,focus:T.B.Last})}}),x=(0,f._)(e=>{e.key===M.D.Space&&e.preventDefault()}),E=(0,f._)(e=>{var t;if((0,O.l)(e.currentTarget))return e.preventDefault();c||(0===p.menuState?((0,l.flushSync)(()=>m({type:1})),null==(t=p.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),m({type:0})))}),{isFocusVisible:R,focusProps:S}=(0,o.o)({autoFocus:d}),{isHovered:C,hoverProps:P}=(0,a.M)({isDisabled:c}),{pressed:k,pressProps:_}=(0,s.Z)({disabled:c}),A=(0,i.useMemo)(()=>({open:0===p.menuState,active:k||0===p.menuState,disabled:c,hover:C,focus:R,autofocus:d}),[p,C,R,k,c,d]),L=(0,N.v6)(g(),{ref:v,id:u,type:(0,y.c)(e,p.buttonElement),"aria-haspopup":"menu","aria-controls":null==(n=p.itemsElement)?void 0:n.id,"aria-expanded":0===p.menuState,disabled:c||void 0,autoFocus:d,onKeyDown:b,onKeyUp:x,onClick:E},S,P,_);return(0,N.Ci)()({ourProps:L,theirProps:h,slot:A,defaultTag:"button",name:"Menu.Button"})}),Items:(0,N.FX)(function(e,t){var n,r;let o=(0,i.useId)(),{id:a="headlessui-menu-items-".concat(o),anchor:s,portal:g=!1,modal:y=!0,transition:x=!1,...E}=e,O=(0,j.zn)(s),[P,_]=z("Menu.Items"),[A,L]=(0,j.UF)(O),F=(0,j.G3)(),[I,B]=(0,i.useState)(null),U=(0,w.P)(t,O?A:null,(0,f._)(e=>_({type:8,element:e})),B),H=(0,v.g)(P.itemsElement);O&&(g=!0);let W=(0,C.O_)(),[q,G]=(0,R.p)(x,I,null!==W?(W&C.Uw.Open)===C.Uw.Open:0===P.menuState);(0,m.O)(q,P.buttonElement,()=>{_({type:1})});let X=!P.__demoMode&&y&&0===P.menuState;(0,b.K)(X,H);let V=!P.__demoMode&&y&&0===P.menuState;(0,h.v)(V,{allowed:(0,i.useCallback)(()=>[P.buttonElement,P.itemsElement],[P.buttonElement,P.itemsElement])});let K=0!==P.menuState,Q=!(0,u.Y)(K,P.buttonElement)&&q;(0,i.useEffect)(()=>{let e=P.itemsElement;e&&0===P.menuState&&e!==(null==H?void 0:H.activeElement)&&e.focus({preventScroll:!0})}
1,[P.menuState,P.itemsElement,H]),function(e,t){let{container:n,accept:r,walk:o}=t,a=(0,i.useRef)(r),l=(0,i.useRef)(o);(0,i.useEffect)(()=>{a.current=r,l.current=o},[r,o]),(0,p.s)(()=>{if(!n||!e)return;let t=(0,S.T)(n);if(!t)return;let r=a.current,i=l.current,o=Object.assign(e=>r(e),{acceptNode:r}),s=t.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,o,!1);for(;s.nextNode();)i(s.currentNode)},[n,e,a,l])}(0===P.menuState,{container:P.itemsElement,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let J=(0,c.L)(),$=(0,f._)(e=>{var t,n,r;switch(J.dispose(),e.key){case M.D.Space:if(""!==P.searchQuery)return e.preventDefault(),e.stopPropagation(),_({type:3,value:e.key});case M.D.Enter:if(e.preventDefault(),e.stopPropagation(),_({type:1}),null!==P.activeItemIndex){let{dataRef:e}=P.items[P.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,k.Fh)(P.buttonElement);break;case M.D.ArrowDown:return e.preventDefault(),e.stopPropagation(),_({type:2,focus:T.B.Next});case M.D.ArrowUp:return e.preventDefault(),e.stopPropagation(),_({type:2,focus:T.B.Previous});case M.D.Home:case M.D.PageUp:return e.preventDefault(),e.stopPropagation(),_({type:2,focus:T.B.First});case M.D.End:case M.D.PageDown:return e.preventDefault(),e.stopPropagation(),_({type:2,focus:T.B.Last});case M.D.Escape:e.preventDefault(),e.stopPropagation(),(0,l.flushSync)(()=>_({type:1})),null==(r=P.buttonElement)||r.focus({preventScroll:!0});break;case M.D.Tab:e.preventDefault(),e.stopPropagation(),(0,l.flushSync)(()=>_({type:1})),(0,k.p9)(P.buttonElement,e.shiftKey?k.BD.Previous:k.BD.Next);break;default:1===e.key.length&&(_({type:3,value:e.key}),J.setTimeout(()=>_({type:4}),350))}}),Z=(0,f._)(e=>{e.key===M.D.Space&&e.preventDefault()}),ee=(0,i.useMemo)(()=>({open:0===P.menuState}),[P.menuState]),et=(0,N.v6)(O?F():{},{"aria-activedescendant":null===P.activeItemIndex||null==(n=P.items[P.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=P.buttonElement)?void 0:r.id,id:a,onKeyDown:$,onKeyUp:Z,role:"menu",tabIndex:0===P.menuState?0:void 0,ref:U,style:{...E.style,...L,"--button-width":(0,d.L)(P.buttonElement,!0).width},...(0,R.B)(G)}),en=(0,N.Ci)();return i.createElement(D.ZL,{enabled:!!g&&(e.static||q)},en({ourProps:et,theirProps:E,slot:ee,defaultTag:"div",features:Y,visible:Q,name:"Menu.Items"}))}),Item:(0,N.FX)(function(e,t){let n=(0,i.useId)(),{id:r="headlessui-menu-item-".concat(n),disabled:o=!1,...a}=e,[l,s]=z("Menu.Item"),u=null!==l.activeItemIndex&&l.items[l.activeItemIndex].id===r,c=(0,i.useRef)(null),d=(0,w.P)(t,c);(0,p.s)(()=>{if(!l.__demoMode&&0===l.menuState&&u&&0!==l.activationTrigger)return(0,P.e)().requestAnimationFrame(()=>{var e,t;null==(t=null==(e=c.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})},[l.__demoMode,c,u,l.menuState,l.activationTrigger,l.activeItemIndex]);let h=(0,x.q)(c),m=(0,i.useRef)({disabled:o,domRef:c,get textValue(){return h()}});(0,p.s)(()=>{m.current.disabled=o},[m,o]),(0,p.s)(()=>(s({type:5,id:r,dataRef:m}),()=>s({type:6,id:r})),[m,r]);let g=(0,f._)(()=>{s({type:1})}),v=(0,f._)(e=>{if(o)return e.preventDefault();s({type:1}),(0,k.Fh)(l.buttonElement)}),y=(0,f._)(()=>{if(o)return s({type:2,focus:T.B.Nothing});s({type:2,focus:T.B.Specific,id:r})}),b=(0,E.J)(),R=(0,f._)(e=>{b.update(e),!o&&(u||s({type:2,focus:T.B.Specific,id:r,trigger:0}))}),S=(0,f._)(e=>{b.wasMoved(e)&&(o||u||s({type:2,focus:T.B.Specific,id:r,trigger:0}))}),j=(0,f._)(e=>{b.wasMoved(e)&&(o||u&&s({type:2,focus:T.B.Nothing}))}),[C,O]=(0,L.b0)(),[_,M]=(0,A.rU)(),D=(0,i.useMemo)(()=>({active:u,focus:u,disabled:o,close:g}),[u,o,g]),F=(0,N.Ci)();return i.createElement(O,null,i.createElement(M,null,F({ourProps:{id:r,ref:d,role:"menuitem",tabIndex:!0===o?void 0:-1,"aria-disabled":!0===o||void 0,"aria-labelledby":C,"aria-describedby":_,disabled:void 0,onClick:v,onFocus:y,onPointerEnter:R,onMouseEnter:R,onPointerMove:S,onMouseMove:S,onPointerLeave:j,onMouseLeave:j},theirProps:a,slot:D,defaultTag:X,name:"Menu.Item"})))}),Section:(0,N.FX)(function(e,t){let[n,r]=(0,L.b0)(),o=(0,N.Ci)();
1return i.createElement(r,null,o({ourProps:{ref:t,"aria-labelledby":n,role:"group"},theirProps:e,slot:{},defaultTag:"div",name:"Menu.Section"}))}),Heading:(0,N.FX)(function(e,t){let n=(0,i.useId)(),{id:r="headlessui-menu-heading-".concat(n),...o}=e,a=(0,L.vd)();(0,p.s)(()=>a.register(r),[r,a.register]);let l={id:r,ref:t,role:"presentation",...a.props};return(0,N.Ci)()({ourProps:l,theirProps:o,slot:{},defaultTag:"header",name:"Menu.Heading"})}),Separator:(0,N.FX)(function(e,t){return(0,N.Ci)()({ourProps:{ref:t,role:"separator"},theirProps:e,slot:{},defaultTag:"div",name:"Menu.Separator"})})});var K=n(49995);let Q=e=>{let{children:t,items:n,onSelect:i}=e;return(0,r.jsx)("div",{className:"text-right",children:(0,r.jsxs)(V,{as:"div",className:"relative block text-left",children:[(0,r.jsx)("div",{children:(0,r.jsx)(V.Button,{className:"block focus:outline-none",children:t})}),(0,r.jsx)(V.Items,{className:"absolute right-0 z-10 w-56 mt-2 origin-top-right bg-white divide-y divide-gray-100 rounded-md shadow-xl ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,r.jsx)("div",{className:"px-1 py-1 ",children:n.map((e,t)=>(0,r.jsx)(V.Item,{children:t=>{let{active:n}=t;return(0,r.jsx)("button",{className:(0,K.A)("group flex w-full items-center rounded-md px-2 py-2 text-sm text-gray-700",n&&"bg-theme-primary-100"),onClick:()=>i?i(e):e.onClick(),children:e.name})}},t))})})]})})}},9833:e=>{e.exports={root:"Button_root__Clgzm",default:"Button_default__r_r7x",slim:"Button_slim__UDnSC",muted:"Button_muted__ObdyL",fullWidth:"Button_fullWidth__acaTW",disabled:"Button_disabled__ZO_ug"}},10550:(e,t,n)=>{"use strict";function r(e){return(t,n)=>{let r;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{o:()=>r})},11638:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m}),n(72032);var r=n(37876),i=n(77328),o=n.n(i);let a=()=>(0,r.jsxs)(o(),{children:[(0,r.jsx)("title",{children:"InStock"}),(0,r.jsx)("meta",{name:"description",content:"Компания InStock – крупнейший. дистрибьютор парфюмерии, косметики,. бытовой химии, лакокрасочных. материалов на Дальнем Востоке с 1995"}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,r.jsx)("link",{rel:"manifest",href:"/site.webmanifest"},"site-manifest"),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,r.jsx)("meta",{name:"yandex-verification",content:"add09c4092484e4f"}),(0,r.jsx)("meta",{name:"google-site-verification",content:"tyG2yOztMTnxSRw1XiDj-jfUFP4ndRXmttm6jYVMnDs"})]});var l=n(14134),s=n(64527),u=n(54360),c=n(14232),d=n(1646),f=n(75887);let h=e=>{let{}=e,{value:t,setValue:n,isInitialized:i}=(0,d.M)("cookies_agreement",!1);return((0,c.useEffect)(()=>{t&&(window.metrikaInitialized||(!function(e,t,n,r,i,o,a){e[i]=e[i]||function(){(e[i].a=e[i].a||[]).push(arguments)},e[i].l=+new Date;for(var l=0;l<document.scripts.length;l++)if(document.scripts[l].src===r)return;o=t.createElement(n),a=t.getElementsByTagName(n)[0],o.async=1,o.src=r,a.parentNode.insertBefore(o,a)}(window,document,"script","https://mc.yandex.ru/metrika/tag.js","ym"),ym(s.Ng,"init",{clickmap:!0,trackLinks:!0,accurateTrackBounce:!0,webvisor:!0}),window.metrikaInitialized=!0))},[t]),!i||t)?null:(0,r.jsx)("div",{style:{zIndex:9999},className:"fixed left-0 right-0 flex justify-center px-4 bottom-6",children:(0,r.jsxs)("div",{className:"flex flex-col items-start justify-between w-full max-w-2xl gap-3 px-5 py-4 bg-white border-4 shadow-xl border-theme-primary-300 rounded-xl sm:flex-row sm:items-center",children:[(0,r.jsxs)("p",{className:"text-sm text-gray-700",children:["Наш сайт использует куки.",(0,r.jsx)("br",{}),"Продолжая им пользоваться, вы соглашаетесь на обработку персональных данных в соответствии с ",(0,r.jsx)(f._,{href:s.tR.privacy.getRoute(),className:"underline text-theme-primary-700",children:"политикой конфиденциальности"}),"."]}),(0,r.jsx)("button",{onClick:()=>n(!0),className:"px-5 py-2 text-sm font-medium text-white transition-colors bg-blue-600 rounded shrink-0 hover:bg-blue-700",children:"Принять"})]})})};var p=n(65364);s.LQ&&(p.env.NODE_TLS_REJECT_UNAUTHORIZED=0);let m=function(e){let{Component:t,pageProps:n}=e,i=t.Layout||u.P;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a,{}),(0,r.jsx)(l.f,{children:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(i,{pageProps:n,children:[(0,r.jsx)(t,{...n}),(0,r.jsx)(h,{})]})})})]})}}
1,12943:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r.Q,r:()=>i.r});var r=n(79024),i=n(14739)},13004:(e,t,n)=>{"use strict";function r(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{k:()=>r})},14134:(e,t,n)=>{"use strict";n.d(t,{f:()=>c,m:()=>u});var r=n(37876),i=n(14232);let o={displayLeftSidebar:!1,displayRightSidebar:!1,displayDropdown:!1,displayModal:!1,modalView:"LOGIN_VIEW",displayToast:!1,toastText:""},a=i.createContext(o);function l(e,t){switch(t.type){case"OPEN_LEFT_SIDEBAR":return{...e,displayLeftSidebar:!0};case"CLOSE_LEFT_SIDEBAR":return{...e,displayLeftSidebar:!1};case"OPEN_RIGHT_SIDEBAR":return{...e,displayRightSidebar:!0};case"CLOSE_RIGHT_SIDEBAR":return{...e,displayRightSidebar:!1};case"OPEN_DROPDOWN":return{...e,displayDropdown:!0};case"CLOSE_DROPDOWN":return{...e,displayDropdown:!1};case"OPEN_MODAL":return{...e,displayModal:!0};case"CLOSE_MODAL":return{...e,displayModal:!1};case"SET_MODAL_VIEW":return{...e,modalView:t.view};case"SET_TOAST_TEXT":return{...e,toastText:t.text}}}a.displayName="UIContext";let s=e=>{let[t,n]=i.useReducer(l,o),s=()=>n({type:"OPEN_LEFT_SIDEBAR"}),u=()=>n({type:"CLOSE_LEFT_SIDEBAR"}),c=()=>n({type:"OPEN_RIGHT_SIDEBAR"}),d=()=>n({type:"CLOSE_RIGHT_SIDEBAR"}),f=()=>t.displayLeftSidebar?n({type:"CLOSE_LEFT_SIDEBAR"}):n({type:"OPEN_LEFT_SIDEBAR"}),h=()=>t.displayRightSidebar?n({type:"CLOSE_RIGHT_SIDEBAR"}):n({type:"OPEN_RIGHT_SIDEBAR"}),p=()=>t.displayLeftSidebar&&n({type:"CLOSE_LEFT_SIDEBAR"}),m=()=>n({type:"OPEN_DROPDOWN"}),g=()=>n({type:"CLOSE_DROPDOWN"}),v=()=>!t.displayModal&&n({type:"OPEN_MODAL"}),y=()=>n({type:"CLOSE_MODAL"}),b=e=>n({type:"SET_MODAL_VIEW",view:e}),w=(0,i.useMemo)(()=>({...t,openLeftSidebar:s,openRightSidebar:c,closeLeftSidebar:u,toggleLeftSidebar:f,toggleRightSidebar:h,closeLedtSidebarIfPresent:p,closeRightSidebar:d,openDropdown:m,closeDropdown:g,openModal:v,closeModal:y,setModalView:b}),[t]);return(0,r.jsx)(a.Provider,{value:w,...e})},u=()=>{let e=i.useContext(a);if(void 0===e)throw Error("useUI must be used within a UIProvider");return e},c=e=>{let{children:t}=e;return(0,r.jsx)(s,{children:t})}},14739:(e,t,n)=>{"use strict";n.d(t,{r:()=>r.useRouter});var r=n(89099)},14915:(e,t,n)=>{"use strict";n.d(t,{a:()=>ey});var r=n(37876),i=n(14232),o=n(89075),a=n(72117);function l(e,t,n,r){let o=(0,a.Y)(n);(0,i.useEffect)(()=>{function n(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)},[e,t,r])}var s=n(3673),u=n(49266),c=n(90226),d=n(62214),f=n(64787),h=n(18611),p=n(21217),m=n(65285),g=n(91222);let v=(0,i.createContext)(null);function y(e){let{children:t,node:n}=e,[r,o]=(0,i.useState)(null),a=b(null!=n?n:r);return i.createElement(v.Provider,{value:a},t,null===a&&i.createElement(m.j,{features:m.u.Hidden,ref:e=>{var t,n;if(e){for(let r of null!=(n=null==(t=(0,g.T)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&r instanceof HTMLElement&&null!=r&&r.contains(e)){o(r);break}}}}))}function b(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=(0,i.useContext)(v))?e:t}var w=n(64116),x=n(54058),E=n(26);let R=(0,i.createContext)(()=>{});function S(e){let{value:t,children:n}=e;return i.createElement(R.Provider,{value:t},n)}var j=n(30140),C=n(66924),O=n(73872),T=n(70367),P=n(96345),k=n(85069);function _(){let e=(0,i.useRef)(!1);return(0,d.s)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var N=n(93986),A=n(38427),M=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(M||{});function L(e,t){let n=(0,i.useRef)([]),r=(0,u._)(e);(0,i.useEffect)(()=>{let e=[...n.current];for(let[i,o]of t.entries())if(n.current[i]!==o){let i=r(t,e);return n.current=t,i}},[r,...t])}var D=n(84163);let F=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){if(!(e.target instanceof HTMLElement)||e.target===document.body||F[0]===e.target)return;let t=e.target;t=t.closest(D.Uo),F.unshift(null!=t?t:e.target),(F=F.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});var I=n(93249);function B(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}var U=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.Re
1storeFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(U||{});let H=Object.assign((0,T.FX)(function(e,t){let n,r=(0,i.useRef)(null),o=(0,E.P)(r,t),{initialFocus:a,initialFocusFallback:c,containers:d,features:f=15,...h}=e;(0,x.g)()||(f=0);let g=(0,p.g)(r);!function(e,t){let{ownerDocument:n}=t,r=!!(8&e),o=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,i.useRef)(F.slice());return L((e,n)=>{let[r]=e,[i]=n;!0===i&&!1===r&&(0,I._)(()=>{t.current.splice(0)}),!1===i&&!0===r&&(t.current=F.slice())},[e,F,t]),(0,u._)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(r);L(()=>{r||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&(0,D.pW)(o())},[r]),(0,N.X)(()=>{r&&(0,D.pW)(o())})}(f,{ownerDocument:g});let v=function(e,t){let{ownerDocument:n,container:r,initialFocus:o,initialFocusFallback:a}=t,l=(0,i.useRef)(null),u=(0,s.S)(!!(1&e),"focus-trap#initial-focus"),c=_();return L(()=>{if(0===e)return;if(!u){null!=a&&a.current&&(0,D.pW)(a.current);return}let t=r.current;t&&(0,I._)(()=>{if(!c.current)return;let r=null==n?void 0:n.activeElement;if(null!=o&&o.current){if((null==o?void 0:o.current)===r){l.current=r;return}}else if(t.contains(r)){l.current=r;return}if(null!=o&&o.current)(0,D.pW)(o.current);else{if(16&e){if((0,D.CU)(t,D.BD.First|D.BD.AutoFocus)!==D.Me.Error)return}else if((0,D.CU)(t,D.BD.First)!==D.Me.Error)return;if(null!=a&&a.current&&((0,D.pW)(a.current),(null==n?void 0:n.activeElement)===a.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}l.current=null==n?void 0:n.activeElement})},[a,u,e]),l}(f,{ownerDocument:g,container:r,initialFocus:a,initialFocusFallback:c});!function(e,t){let{ownerDocument:n,container:r,containers:i,previousActiveElement:o}=t,a=_(),s=!!(4&e);l(null==n?void 0:n.defaultView,"focus",e=>{if(!s||!a.current)return;let t=B(i);r.current instanceof HTMLElement&&t.add(r.current);let n=o.current;if(!n)return;let l=e.target;l&&l instanceof HTMLElement?W(t,l)?(o.current=l,(0,D.pW)(l)):(e.preventDefault(),e.stopPropagation(),(0,D.pW)(n)):(0,D.pW)(o.current)},!0)}(f,{ownerDocument:g,container:r,containers:d,previousActiveElement:v});let y=(n=(0,i.useRef)(0),(0,A.M)(!0,"keydown",e=>{"Tab"===e.key&&(n.current=+!!e.shiftKey)},!0),n),b=(0,u._)(e=>{let t=r.current;t&&(0,O.Y)(y.current,{[M.Forwards]:()=>{(0,D.CU)(t,D.BD.First,{skipElements:[e.relatedTarget,c]})},[M.Backwards]:()=>{(0,D.CU)(t,D.BD.Last,{skipElements:[e.relatedTarget,c]})}})}),w=(0,s.S)(!!(2&f),"focus-trap#tab-lock"),R=(0,k.L)(),S=(0,i.useRef)(!1),j=(0,T.Ci)();return i.createElement(i.Fragment,null,w&&i.createElement(m.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:b,features:m.u.Focusable}),j({ourProps:{ref:o,onKeyDown(e){"Tab"==e.key&&(S.current=!0,R.requestAnimationFrame(()=>{S.current=!1}))},onBlur(e){if(!(4&f))return;let t=B(d);r.current instanceof HTMLElement&&t.add(r.current);let n=e.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(W(t,n)||(S.current?(0,D.CU)(r.current,(0,O.Y)(y.current,{[M.Forwards]:()=>D.BD.Next,[M.Backwards]:()=>D.BD.Previous})|D.BD.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,D.pW)(e.target)))}},theirProps:h,defaultTag:"div",name:"FocusTrap"}),w&&i.createElement(m.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:b,features:m.u.Focusable}))}),{features:U});function W(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var z=n(93247),q=n(64362),G=n(24676);function Y(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:$)!==i.Fragment||1===i.Children.count(e.children)}let X=(0,i.createContext)(null);X.displayName="TransitionContext";var V=(e=>(e.Visible="visible",e.Hidden="hidden",e))(V||{});let K=(0,i.createContext)(null);function Q(e){return"children"in e?Q(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function J(e,t){let n=(0,a.Y)(e),r=(0,i.useRef)([]),o=_(),l=(0,k.L)(),s=(0,u._)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.mK.Hidden,i=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==i&&((0,O.Y)(t,{[T.mK.Unmount](){r.current.splice(i,1)},[T.mK.Hidden](){r.current[i].state="hidden"}}),l.microTask(()=>{var e;!Q(r)&&o.current&&(null==(e=n.current)||e.call(n))}))}),c=(0,u._)(e=>{let t=r.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>s(e,T.mK.Unmount)}),d=(0,i.useRef)([]),f=(0,i.useRef)(Promise.resolve()),h=(0,i.useRef)({enter:[],leave:[]}
1),p=(0,u._)((e,n,r)=>{d.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==e})),null==t||t.chains.current[n].push([e,new Promise(e=>{d.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(h.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())})]),"enter"===n?f.current=f.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),m=(0,u._)((e,t,n)=>{Promise.all(h.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=d.current.shift())||e()}).then(()=>n(t))});return(0,i.useMemo)(()=>({children:r,register:c,unregister:s,onStart:p,onStop:m,wait:f,chains:h}),[c,s,r,p,m,h,f])}K.displayName="NestingContext";let $=i.Fragment,Z=T.Ac.RenderStrategy,ee=(0,T.FX)(function(e,t){let{show:n,appear:r=!1,unmount:o=!0,...a}=e,l=(0,i.useRef)(null),s=Y(e),c=(0,E.P)(...s?[l,t]:null===t?[]:[t]);(0,x.g)();let f=(0,j.O_)();if(void 0===n&&null!==f&&(n=(f&j.Uw.Open)===j.Uw.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[h,p]=(0,i.useState)(n?"visible":"hidden"),m=J(()=>{n||p("hidden")}),[g,v]=(0,i.useState)(!0),y=(0,i.useRef)([n]);(0,d.s)(()=>{!1!==g&&y.current[y.current.length-1]!==n&&(y.current.push(n),v(!1))},[y,n]);let b=(0,i.useMemo)(()=>({show:n,appear:r,initial:g}),[n,r,g]);(0,d.s)(()=>{n?p("visible"):Q(m)||null===l.current||p("hidden")},[n,m]);let w={unmount:o},R=(0,u._)(()=>{var t;g&&v(!1),null==(t=e.beforeEnter)||t.call(e)}),S=(0,u._)(()=>{var t;g&&v(!1),null==(t=e.beforeLeave)||t.call(e)}),C=(0,T.Ci)();return i.createElement(K.Provider,{value:m},i.createElement(X.Provider,{value:b},C({ourProps:{...w,as:i.Fragment,children:i.createElement(et,{ref:c,...w,...a,beforeEnter:R,beforeLeave:S})},theirProps:{},defaultTag:i.Fragment,features:Z,visible:"visible"===h,name:"Transition"})))}),et=(0,T.FX)(function(e,t){var n,r;let{transition:o=!0,beforeEnter:a,afterEnter:l,beforeLeave:s,afterLeave:c,enter:f,enterFrom:h,enterTo:p,entered:m,leave:g,leaveFrom:v,leaveTo:y,...b}=e,[w,R]=(0,i.useState)(null),S=(0,i.useRef)(null),C=Y(e),P=(0,E.P)(...C?[S,t,R]:null===t?[]:[t]),k=null==(n=b.unmount)||n?T.mK.Unmount:T.mK.Hidden,{show:_,appear:N,initial:A}=function(){let e=(0,i.useContext)(X);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[M,L]=(0,i.useState)(_?"visible":"hidden"),D=function(){let e=(0,i.useContext)(K);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:F,unregister:I}=D;(0,d.s)(()=>F(S),[F,S]),(0,d.s)(()=>{if(k===T.mK.Hidden&&S.current)return _&&"visible"!==M?void L("visible"):(0,O.Y)(M,{hidden:()=>I(S),visible:()=>F(S)})},[M,S,F,I,_,k]);let B=(0,x.g)();(0,d.s)(()=>{if(C&&B&&"visible"===M&&null===S.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[S,M,B,C]);let U=A&&!N,H=N&&_&&A,W=(0,i.useRef)(!1),z=J(()=>{W.current||(L("hidden"),I(S))},D),V=(0,u._)(e=>{W.current=!0,z.onStart(S,e?"enter":"leave",e=>{"enter"===e?null==a||a():"leave"===e&&(null==s||s())})}),ee=(0,u._)(e=>{let t=e?"enter":"leave";W.current=!1,z.onStop(S,t,e=>{"enter"===e?null==l||l():"leave"===e&&(null==c||c())}),"leave"!==t||Q(z)||(L("hidden"),I(S))});(0,i.useEffect)(()=>{C&&o||(V(_),ee(_))},[_,C,o]);let et=!(!o||!C||!B||U),[,en]=(0,q.p)(et,w,_,{start:V,end:ee}),er=(0,T.oE)({ref:P,className:(null==(r=(0,G.x)(b.className,H&&f,H&&h,en.enter&&f,en.enter&&en.closed&&h,en.enter&&!en.closed&&p,en.leave&&g,en.leave&&!en.closed&&v,en.leave&&en.closed&&y,!en.transition&&_&&m))?void 0:r.trim())||void 0,...(0,q.B)(en)}),ei=0;"visible"===M&&(ei|=j.Uw.Open),"hidden"===M&&(ei|=j.Uw.Closed),en.enter&&(ei|=j.Uw.Opening),en.leave&&(ei|=j.Uw.Closing);let eo=(0,T.Ci)();return i.createElement(K.Provider,{value:z},i.createElement(j.El,{value:ei},eo({ourProps:er,theirProps:b,defaultTag:$,features:Z,visible:"visible"===M,name:"Transition.Child"})))}),en=(0,T.FX)(function(e,t){let n=null!==(0,i.useContext)(X),r=null!==(0,j.O_)();return i.createElement(i.Fragment,null,!n&&r?i.createElement(ee,{ref:t,...e}):i.createElement(et,{ref:t,...e}))}),er=Object.assign(ee,{Child:en,Root:ee});var ei=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ei||{}),eo=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(eo||{});let ea={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},el=(0,i.createContext)(null);function es(e){let t=(0,i.useContext)(el);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,es),t}return t}function eu(e,t){return(0,O.Y)(t.type,ea,e,t)}el.displayName="DialogContext";let ec=(0,T.FX)(function(e,t){let n=(0,i.useId)(),{id:r="headlessui-dialog-".concat(n),open:a,onClose:m,initialFocus:g,role:v="dialog",autoFocus:y=!0,__demoMode:R=!1,unmount:O=!1,...k}=e,_=(0,i.useRef)(!1);
1v="dialog"===v||"alertdialog"===v?v:(_.current||(_.current=!0,console.warn("Invalid role [".concat(v,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let N=(0,j.O_)();void 0===a&&null!==N&&(a=(N&j.Uw.Open)===j.Uw.Open);let A=(0,i.useRef)(null),M=(0,E.P)(A,t),L=(0,p.g)(A),D=+!a,[F,I]=(0,i.useReducer)(eu,{titleId:null,descriptionId:null,panelRef:(0,i.createRef)()}),B=(0,u._)(()=>m(!1)),W=(0,u._)(e=>I({type:0,id:e})),q=!!(0,x.g)()&&0===D,[G,Y]=(0,z.k2)(),X=b(),{resolveContainers:V}=function(){let{defaultContainers:e=[],portals:t,mainTreeNode:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,p.g)(n),i=(0,u._)(()=>{var i,o;let a=[];for(let t of e)null!==t&&(t instanceof HTMLElement?a.push(t):"current"in t&&t.current instanceof HTMLElement&&a.push(t.current));if(null!=t&&t.current)for(let e of t.current)a.push(e);for(let e of null!=(i=null==r?void 0:r.querySelectorAll("html > *, body > *"))?i:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(o=null==n?void 0:n.getRootNode())?void 0:o.host))||a.some(t=>e.contains(t))||a.push(e));return a});
1return{resolveContainers:i,contains:(0,u._)(e=>i().some(t=>t.contains(e)))}}({mainTreeNode:X,portals:G,defaultContainers:[{get current(){var K;return null!=(K=F.panelRef.current)?K:A.current}}]}),Q=null!==N&&(N&j.Uw.Closing)===j.Uw.Closing;(0,c.v)(!R&&!Q&&q,{allowed:(0,u._)(()=>{var e,t;return[null!=(t=null==(e=A.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,u._)(()=>{var e;return[null!=(e=null==X?void 0:X.closest("body > *:not(#headlessui-portal-root)"))?e:null]})}),(0,h.j)(q,V,e=>{e.preventDefault(),B()}),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"!=typeof document?document.defaultView:null,n=arguments.length>2?arguments[2]:void 0,r=(0,s.S)(e,"escape");l(t,"keydown",e=>{r&&(e.defaultPrevented||e.key===o.D.Escape&&n(e))})}(q,null==L?void 0:L.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),B()}),(0,w.K)(!R&&!Q&&q,L,V),(0,f.O)(q,A,B);let[J,$]=(0,P.rU)(),Z=(0,i.useMemo)(()=>[{dialogState:D,close:B,setTitleId:W,unmount:O},F],[D,F,B,W,O]),ee=(0,i.useMemo)(()=>({open:0===D}),[D]),et={ref:M,id:r,role:v,tabIndex:-1,"aria-modal":R?void 0:0===D||void 0,"aria-labelledby":F.titleId,"aria-describedby":J,unmount:O},en=!function(){var e;let[t]=(0,i.useState)(()=>"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,r]=(0,i.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,d.s)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){r(e.matches)}},[t]),n}(),er=U.None;q&&!R&&(er|=U.RestoreFocus,er|=U.TabLock,y&&(er|=U.AutoFocus),en&&(er|=U.InitialFocus));let ei=(0,T.Ci)();return i.createElement(j.$x,null,i.createElement(C.a,{force:!0},i.createElement(z.ZL,null,i.createElement(el.Provider,{value:Z},i.createElement(z.Ee,{target:A},i.createElement(C.a,{force:!1},i.createElement($,{slot:ee},i.createElement(Y,null,i.createElement(H,{initialFocus:g,initialFocusFallback:A,containers:V,features:er},i.createElement(S,{value:B},ei({ourProps:et,theirProps:k,slot:ee,defaultTag:ed,features:ef,visible:0===D,name:"Dialog"})))))))))))}),ed="div",ef=T.Ac.RenderStrategy|T.Ac.Static,eh=Object.assign((0,T.FX)(function(e,t){let{transition:n=!1,open:r,...o}=e,a=(0,j.O_)(),l=e.hasOwnProperty("open")||null!==a,s=e.hasOwnProperty("onClose");if(!l&&!s)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!l)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!s)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!a&&"boolean"!=typeof e.open)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(e.open));if("function"!=typeof e.onClose)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(e.onClose));return(void 0!==r||n)&&!o.static?i.createElement(y,null,i.createElement(er,{show:r,transition:n,unmount:o.unmount},i.createElement(ec,{ref:t,...o}))):i.createElement(y,null,i.createElement(ec,{ref:t,open:r,...o}))}),{Panel:(0,T.FX)(function(e,t){let n=(0,i.useId)(),{id:r="headlessui-dialog-panel-".concat(n),transition:o=!1,...a}=e,[{dialogState:l,unmount:s},c]=es("Dialog.Panel"),d=(0,E.P)(t,c.panelRef),f=(0,i.useMemo)(()=>({open:0===l}),[l]),h=(0,u._)(e=>{e.stopPropagation()}),p=o?en:i.Fragment,m=(0,T.Ci)();return i.createElement(p,{...o?{unmount:s}:{}},m({ourProps:{ref:d,id:r,onClick:h},theirProps:a,slot:f,defaultTag:"div",name:"Dialog.Panel"}))}),Title:((0,T.FX)(function(e,t){let{transition:n=!1,...r}=e,[{dialogState:o,unmount:a}]=es("Dialog.Backdrop"),l=(0,i.useMemo)(()=>({open:0===o}),[o]),s=n?en:i.Fragment,u=(0,T.Ci)();return i.createElement(s,{...n?{unmount:a}:{}},u({ourProps:{ref:t,"aria-hidden":!0},theirProps:r,slot:l,defaultTag:"div",name:"Dialog.Backdrop"}))}),(0,T.FX)(function(e,t){let n=(0,i.useId)(),{id:r="headlessui-dialog-title-".concat(n),...o}=e,[{dialogState:a,setTitleId:l}]=es("Dialog.Title"),s=(0,E.P)(t);(0,i.useEffect)(()=>(l(r),()=>l(null)),[r,l]);let u=(0,i.useMemo)(()=>({open:0===a}
1),[a]);return(0,T.Ci)()({ourProps:{ref:s,id:r},theirProps:o,slot:u,defaultTag:"h2",name:"Dialog.Title"})})),Description:P.VY});var ep=n(40035),em=n.n(ep),eg=n(78311),ev=n(49995);let ey=e=>{let{className:t,children:n,open:o=!1,onClose:a,fullScreen:l,...s}=e,u=(0,i.useRef)(null),c=()=>a?a():null;return(0,r.jsxs)(eh,{as:"div",open:o,onClose:c,children:[(0,r.jsx)("div",{className:em().bg}),(0,r.jsx)("div",{className:em().dialogContainer,children:(0,r.jsx)("div",{className:(0,ev.A)(em().dialogContainerWrapper,l?"":"p-4"),children:(0,r.jsx)(eh.Panel,{className:(0,ev.A)(em().dialogPanel,l?"w-full h-full":"max-w-6xl",t),children:(0,r.jsxs)("div",{className:em().dialogPanelContent,style:{maxHeight:"90vh",height:l?"100vh":"unset"},children:[!!a&&(0,r.jsx)("div",{className:em().headerActions,children:(0,r.jsx)("button",{ref:u,onClick:c,className:em().closeButton,children:(0,r.jsx)(eg.F,{className:em().closeIcon})})}),(0,r.jsx)("div",{className:"flex flex-col overflow-auto",children:n})]})})})})]})}},15152:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});let r=e=>{let t=(""+e).replace(/\D/g,"").match(/^(7|)?(\d{3})(\d{3})(\d{2})(\d{2})$/);return t?"+"+t[1]+" ("+t[2]+") "+t[3]+"-"+t[4]+"-"+t[5]:null}},17396:(e,t,n)=>{"use strict";n.r(t),n.d(t,{A:()=>h.A,BottomBar:()=>m.d,Button:()=>s.$,ButtonBase:()=>C.u,ButtonWithConfirm:()=>k.t,Container:()=>r.m,DelayedComponent:()=>o,Grid:()=>j.x,Image:()=>y._,Input:()=>d.p,Layout:()=>p.P,Link:()=>a.N,LinkText:()=>a._,LoadingDots:()=>c.X,Logo:()=>u.g,Menu:()=>O.W,Modal:()=>l.a,PageTitle:()=>_.s,Paper:()=>T,Sidebar:()=>S,Skeleton:()=>v.E,Tabs:()=>P.t,Text:()=>g.E,WithLoading:()=>f.x});var r=n(18827),i=n(14232);let o=e=>{let{children:t,waitBeforeShow:n=500}=e,[r,o]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=setTimeout(()=>{o(!0)},n);return()=>clearTimeout(e)},[n]),r?t:null};var a=n(75887),l=n(14915),s=n(86762),u=n(33237),c=n(89255),d=n(35167),f=n(56601),h=n(73843),p=n(7113),m=n(85254),g=n(258),v=n(51915),y=n(89319),b=n(37876),w=n(21473),x=n(79571),E=n.n(x),R=n(49995);let S=e=>{let{children:t,open:n=!1,onClose:r,positionLeft:o=!1}=e,a=(0,i.useRef)(null);return(0,b.jsx)(w.Z,{children:n?(0,b.jsx)("div",{className:E().root,ref:a,children:(0,b.jsxs)("div",{className:"absolute inset-0 overflow-hidden",children:[(0,b.jsx)("div",{className:"absolute inset-0 transition-opacity bg-black bg-opacity-50",onClick:r}),(0,b.jsx)("section",{className:(0,R.A)("absolute inset-y-0 max-w-full flex outline-none",o?"left-0 pr-10 sm:pr-16":"right-0 pl-10 sm:pl-16"),children:(0,b.jsx)("div",{className:E().parent,children:(0,b.jsx)("div",{className:E().children,children:t})})})]})}):null})};var j=n(27541),C=n(18067),O=n(9724);let T=e=>{let{children:t,className:n}=e;return(0,b.jsx)("div",{className:(0,R.A)("border rounded-md overflow-hidden",n),children:t})};var P=n(74536),k=n(82417),_=n(27934)},18067:(e,t,n)=>{"use strict";n.d(t,{u:()=>o});var r=n(37876),i=n(49995);let o=e=>{let{children:t,className:n,...o}=e;return(0,r.jsx)("button",{className:(0,i.A)("appearance-none",n),...o,children:t})}},18611:(e,t,n)=>{"use strict";n.d(t,{j:()=>c});var r=n(14232),i=n(84163),o=n(23644),a=n(72117);function l(e,t,n,i){let o=(0,a.Y)(n);(0,r.useEffect)(()=>{if(e)return document.addEventListener(t,n,i),()=>document.removeEventListener(t,n,i);function n(e){o.current(e)}},[e,t,i])}var s=n(3673),u=n(38427);function c(e,t,n){let c=(0,s.S)(e,"outside-click"),d=(0,a.Y)(n),f=(0,r.useCallback)(function(e,n){if(e.defaultPrevented)return;let r=n(e);if(null!==r&&r.getRootNode().contains(r)&&r.isConnected){for(let n of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t))if(null!==n&&(n.contains(r)||e.composed&&e.composedPath().includes(n)))return;return(0,i.Bm)(r,i.MZ.Loose)||-1===r.tabIndex||e.preventDefault(),d.current(e,r)}},[d,t]),h=(0,r.useRef)(null);l(c,"pointerdown",e=>{var t,n;h.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),l(c,"mousedown",e=>{var t,n;h.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),l(c,"click",e=>{(0,o.Fr)()||h.current&&(f(e,()=>h.current),h.current=null)},!0);let p=(0,r.useRef)({x:0,y:0});l(c,"touchstart",e=>{p.current.x=e.touches[0].clientX,p.current.y=e.touches[0].clientY},!0),l(c,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-p.current.x)>=30||Math.abs(t.y-p.current.y)>=30))return f(e,()=>e.target instanceof HTMLElement?e.target:null)},!0),(0,u.M)(c,"blur",e=>f(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},18820:(e,t,n)=>{"use strict";function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{l:()=>r})},18827:(e,t,n)=>{"use strict";n.d(t,{m:()=>
1o});var r=n(37876);n(14232);var i=n(49995);let o=e=>{let{children:t,className:n,el:o="div",clean:a,style:l}=e,s=(0,i.A)("mx-auto px-2 md:px-6",{"max-w-7xl":!a},n);return(0,r.jsx)(o,{className:s,style:l,children:t})}},18847:(e,t,n)=>{e.exports=n(52496)},19314:(e,t,n)=>{"use strict";n.d(t,{e:()=>function e(){let t=[],n={addEventListener:(e,t,r,i)=>(e.addEventListener(t,r,i),n.add(()=>e.removeEventListener(t,r,i))),requestAnimationFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let i=requestAnimationFrame(...t);return n.add(()=>cancelAnimationFrame(i))},nextFrame(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.requestAnimationFrame(()=>n.requestAnimationFrame(...t))},setTimeout(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let i=setTimeout(...t);return n.add(()=>clearTimeout(i))},microTask(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];let o={current:!0};return(0,r._)(()=>{o.current&&t[0]()}),n.add(()=>{o.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.includes(e)||t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}});var r=n(93249)},20915:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var r=n(37876),i=n(33290),o=n(88193);n(14232);let a=e=>{var t;let{children:n,roles:a,defaultComponent:l=null}=e,s=(0,i.u)();return(0,o.D3)(a,null==(t=s.data)?void 0:t.roles)?(0,r.jsx)(r.Fragment,{children:n}):l}},21217:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(14232),i=n(91222);function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>(0,i.T)(...t),[...t])}},21473:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(14232),i="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,o=n(98477),a=({children:e,type:t="reach-portal",containerRef:n})=>{let a=r.useRef(null),l=r.useRef(null),s=function(){let[,e]=(0,r.useState)(Object.create(null));return(0,r.useCallback)(()=>{e(Object.create(null))},[])}();return r.useEffect(()=>{null!=n&&("object"==typeof n&&"current"in n?null==n.current&&console.warn("@reach/portal: A ref was passed to the `containerRef` prop of a `Portal`, but no DOM node was attached to it. Be sure to pass the ref to a DOM component.\n\nIf you are forwarding the ref from another component, be sure to use the React.forwardRef API. See https://reactjs.org/docs/forwarding-refs.html."):console.warn("@reach/portal: Invalid value passed to the `containerRef` of a `Portal`. The portal will be appended to the document body, but if you want to attach it to another DOM node you must pass a valid React ref object to `containerRef`."))},[n]),i(()=>{if(!a.current)return;let e=a.current.ownerDocument,r=n?.current||e.body;return l.current=e?.createElement(t),r.appendChild(l.current),s(),()=>{l.current&&r&&r.removeChild(l.current)}},[t,s,n]),l.current?(0,o.createPortal)(e,l.current):r.createElement("span",{ref:a})},l=({unstable_skipInitialRender:e,...t})=>{let[n,i]=r.useState(!1);return(r.useEffect(()=>{e&&i(!0)},[e]),e&&!n)?null:r.createElement(a,{...t})};l.displayName="Portal"},23644:(e,t,n)=>{"use strict";function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{Fr:()=>i,un:()=>r})},24044:(e,t,n)=>{"use strict";n.d(t,{E:()=>r,P:()=>i});let r=e=>void 0!==e,i=e=>r(e)&&""!==e&&null!==e},24363:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(e,t)=>n(58116).normalizeLocalePath(e,t);("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)},24676:(e,t,n)=>{"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(new Set(t.flatMap(e=>
1"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}n.d(t,{x:()=>r})},26214:(e,t,n)=>{"use strict";n.d(t,{t:()=>r.tR});var r=n(64527)},26616:(e,t,n)=>{"use strict";n.d(t,{v:()=>i});var r=n(37876);let i=e=>{let{...t}=e;return(0,r.jsx)("svg",{width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24",...t,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"})})}},26952:(e,t,n)=>{"use strict";function r(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;let i=r[0],o=t.match(e.parsePattern);if(!o)return null;let a=e.valueCallback?e.valueCallback(o[0]):o[0];return{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(i.length)}}}n.d(t,{K:()=>r})},27344:(e,t,n)=>{"use strict";function r(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let l=t[e].call(n,...o);l&&(n=l,r.forEach(e=>e()))}}}n.d(t,{y:()=>r})},27419:(e,t,n)=>{"use strict";n.d(t,{q:()=>l});var r=n(14232);let i=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function o(e){var t,n;let r=null!=(t=e.innerText)?t:"",o=e.cloneNode(!0);if(!(o instanceof HTMLElement))return r;let a=!1;for(let e of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),a=!0;let l=a?null!=(n=o.innerText)?n:"":r;return i.test(l)&&(l=l.replace(i,"")),l}var a=n(49266);function l(e){let t=(0,r.useRef)(""),n=(0,r.useRef)("");return(0,a._)(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=(function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():o(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return o(e).trim()})(r).trim().toLowerCase();return t.current=i,n.current=a,a})}},27541:(e,t,n)=>{"use strict";n.d(t,{x:()=>l});var r=n(37876),i=n(42524),o=n.n(i),a=n(49995);let l=e=>{let{className:t,layout:n="card",children:i,variant:l="default"}=e,s=(0,a.A)(o().root,{[o().card]:"card"===n,[o().row]:"row"===n,[o().horizontalScroll]:"horizontalScroll"===n,[o().default]:"default"===l},t);return(0,r.jsx)("div",{className:s,itemScope:!0,itemType:"https://schema.org/ItemList",children:i})}},27840:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(86392);function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];let o=r.w.bind(null,e||n.find(e=>"object"==typeof e));return n.map(o)}},27934:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(37876);n(14232);let i=e=>{let{title:t,...n}=e;return t?(0,r.jsx)("h1",{dangerouslySetInnerHTML:{__html:t},className:"text-xl lg:text-3xl",...n}):null}},29429:(e,t,n)=>{"use strict";var r=n(14232),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,l=r.useLayoutEffect,s=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return l(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),a(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},30140:(e,t,n)=>{"use strict";n.d(t,{$x:()=>s,El:()=>l,O_:()=>a,Uw:()=>o});var r=n(14232);let i=(0,r.createContext)(null);i.displayName="OpenClosedContext";var o=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(o||{});function a(){return(0,r.useContext)(i)}function l(e){let{value:t,children:n}=e;return r.createElement(i.Provider,{value:t},n)}function s(e){let{children:t}=e;return r.createElement(i.Provider,{value:null},t)}}
1,31898:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var r=n(86392);function i(e,t){return(0,r.w)(t||e,e)}},33237:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var r=n(37876),i=n(49995);let o={default:["/misc/logo_1.svg","/misc/logo_2.svg"],monoWhite:["/misc/logo_1_mono-white.svg","/misc/logo_2_mono-white.svg"]},a=e=>{let{className:t="",variant:n="default",fullSize:a=!1,...l}=e;return(0,r.jsxs)("div",{className:(0,i.A)("h-9 flex space-x-2 items-center",t),...l,children:[(0,r.jsx)("img",{loading:"lazy",src:o[n][0],style:{width:"44px",height:"36px"},alt:"instock-dv"}),(0,r.jsx)("img",{loading:"lazy",className:(0,i.A)(!a&&"hidden h-full md:block"),src:o[n][1],style:{width:"144px",height:"30px"},alt:"instock-dv"})]})}},33290:(e,t,n)=>{"use strict";n.d(t,{u:()=>r.uf});var r=n(88193)},34009:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return E},useLinkStatus:function(){return x}});let r=n(88365),i=n(37876),o=r._(n(14232)),a=n(84727),l=n(1623),s=n(170),u=n(70464),c=n(20125),d=n(242),f=n(63786),h=n(34327),p=n(9094),m=n(89203);n(35785);let g=new Set;function v(e,t,n,r){if((0,l.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(g.has(i))return;g.add(i)}e.prefetch(t,n,r).catch(e=>{})}}function y(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let b=o.default.forwardRef(function(e,t){let n,r,{href:s,as:g,children:b,prefetch:w=null,passHref:x,replace:E,shallow:R,scroll:S,locale:j,onClick:C,onNavigate:O,onMouseEnter:T,onTouchStart:P,legacyBehavior:k=!1,..._}=e;n=b,k&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let N=o.default.useContext(d.RouterContext),A=!1!==w,{href:M,as:L}=o.default.useMemo(()=>{if(!N){let e=y(s);return{href:e,as:g?y(g):e}}let[e,t]=(0,a.resolveHref)(N,s,!0);return{href:e,as:g?(0,a.resolveHref)(N,g):t||e}},[N,s,g]),D=o.default.useRef(M),F=o.default.useRef(L);k&&(r=o.default.Children.only(n));let I=k?r&&"object"==typeof r&&r.ref:t,[B,U,H]=(0,f.useIntersection)({rootMargin:"200px"}),W=o.default.useCallback(e=>{(F.current!==L||D.current!==M)&&(H(),F.current=L,D.current=M),B(e)},[L,M,H,B]),z=(0,m.useMergedRef)(W,I);o.default.useEffect(()=>{N&&U&&A&&v(N,M,L,{locale:j})},[L,M,U,j,A,null==N?void 0:N.locale,N]);let q={ref:z,onClick(e){k||"function"!=typeof C||C(e),k&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),N&&(e.defaultPrevented||function(e,t,n,r,i,o,a,s,u){let{nodeName:c}=e.currentTarget;if(!("A"===c.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,l.isLocalURL)(n)){i&&(e.preventDefault(),location.replace(n));return}e.preventDefault(),(()=>{if(u){let e=!1;if(u({preventDefault:()=>{e=!0}}),e)return}let e=null==a||a;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:s,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})})()}}(e,N,M,L,E,R,S,j,O))},onMouseEnter(e){k||"function"!=typeof T||T(e),k&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),N&&v(N,M,L,{locale:j,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){k||"function"!=typeof P||P(e),k&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),N&&v(N,M,L,{locale:j,priority:!0,bypassPrefetchedCheck:!0})}};if((0,u.isAbsoluteUrl)(L))q.href=L;else if(!k||x||"a"===r.type&&!("href"in r.props)){let e=void 0!==j?j:null==N?void 0:N.locale;q.href=(null==N?void 0:N.isLocaleDomain)&&(0,h.getDomainLocale)(L,e,null==N?void 0:N.locales,null==N?void 0:N.domainLocales)||(0,p.addBasePath)((0,c.addLocale)(L,e,null==N?void 0:N.defaultLocale))}return k?o.default.cloneElement(r,q):(0,i.jsx)("a",{..._,...q,children:n})}),w=(0,o.createContext)({pending:!1}),x=()=>(0,o.useContext)(w),E=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34327:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return i}});let r=n(19783);function i(e,t,i,o){{let a=n(24363).normalizeLocalePath,l=n(38570).detectDomainLocale,s=t||a(e,i).detectedLocale,u=l(o,void 0,s);if(u){let t="http"+(u.http?"":"s")+"://",n=s===u.defaultLocale?"":"/"+s;return""+t+u.domain+(0,r.normalizePathTrailingSlash)(""+n+e)}return!1}}("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)},34359:(e,t,n)=>{"use strict";n.d(t,{B:()=>r,X:()=>i});var r=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(r||{});function i(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:-1===i&&(i=n.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:throw Error("Unexpected object: "+e)}}},35167:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(37876),i=n(49995);n(14232);let o=e=>{let{className:t,children:n,onChange:o,...a}=e,l=(0,i.A)(" w-full px-4 py-2 pr-10 transition duration-150 ease-in-out border appearance-none bg-primary border-accents-3 text-accents-6 focus:shadow-md focus:outline-none",t);return(0,r.jsx)("input",{className:l,onChange:e=>(o&&o(e.target.value),null),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",...a})}},35785:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},36286:(e,t,n)=>{"use strict";n.d(t,{F:()=>r,i:()=>a});let r=e=>{let t={};return(null==e?void 0:e.categories)&&(t={category:null==e?void 0:e.categories}),(null==e?void 0:e.brands)&&(t={brand:null==e?void 0:e.brands}),(null==e?void 0:e.priceCategories)&&(t={priceCategory:null==e?void 0:e.priceCategories}),t};var i=n(73716),o=n(69582);let a=e=>{let{variables:t,...n}=e;return(0,i.bP)((e=>{let{query:t}=e,n=(0,i.O$)({href:o.n.breadcrumbs.getRoute(),query:{...t,self:!0}});return{href:n,get:()=>i.Em.get(n)}})({query:t}).href,n)}},36607:(e,t,n)=>{"use strict";n.d(t,{M:()=>u});var r=n(14232);let i=!1,o=0;function a(){i=!0,setTimeout(()=>{i=!1},50)}function l(e){"touch"===e.pointerType&&a()}function s(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",l):document.addEventListener("touchend",a),o++,()=>{--o>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",l):document.removeEventListener("touchend",a))}}function u(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:o,isDisabled:a}=e,[l,u]=(0,r.useState)(!1),c=(0,r.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,r.useEffect)(s,[]);let{hoverProps:d,triggerHoverEnd:f}=(0,r.useMemo)(()=>{let e=(e,r)=>{if(c.pointerType=r,a||"touch"===r||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let i=e.currentTarget;c.target=i,t&&t({type:"hoverstart",target:i,pointerType:r}),n&&n(!0),u(!0)},r=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let r=e.currentTarget;o&&o({type:"hoverend",target:r,pointerType:t}),n&&n(!1),u(!1)},l={};return"undefined"!=typeof PointerEvent?(l.onPointerEnter=t=>{i&&"mouse"===t.pointerType||e(t,t.pointerType)},l.onPointerLeave=e=>{!a&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(l.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},l.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||i||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},l.onMouseLeave=e=>{!a&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:l,triggerHoverEnd:r}},[t,n,o,a,c]);return(0,r.useEffect)(()=>{a&&f({currentTarget:c.target},c.pointerType)},[a]),{hoverProps:d,isHovered:l}}},36922:(e,t,n)=>{"use strict";let r;n.d(t,{BE:()=>J,Ay:()=>$});var i=n(14232),o=n(38806),a=Object.prototype.hasOwnProperty;let l=new WeakMap,s=()=>{},u=s(),c=Object,d=e=>e===u,f=(e,t)=>({...e,...t}),h={},p={},m="undefined",g=typeof window!=m,v=typeof document!=m,y=g&&"Deno"in window,b=(e,t)=>{let n=l.get(e);return[()=>!d(t)&&e.get(t)||h,r=>{if(!d(t)){let i=e.get(t);t in p||(p[t]=i),n[5](t,f(i,r),i||h)}},n[6],()=>!d(t)&&t in p?p[t]:!d(t)&&e.get(t)||h]},w=!0,[x,E]=g&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[s,s],R={initFocus:e=>(v&&document.addEventListener("visibilitychange",e),x("focus",e),()=>{v&&document.removeEventListener("visibilitychange",e),E("focus",e)}),initReconnect:e=>{let t=()=>
1{w=!0,e()},n=()=>{w=!1};return x("online",t),x("offline",n),()=>{E("online",t),E("offline",n)}}},S=!i.useId,j=!g||y,C=j?i.useEffect:i.useLayoutEffect,O="undefined"!=typeof navigator&&navigator.connection,T=!j&&O&&(["slow-2g","2g"].includes(O.effectiveType)||O.saveData),P=new WeakMap,k=(e,t)=>e===`[object ${t}]`,_=0,N=e=>{let t,n,r=typeof e,i=c.prototype.toString.call(e),o=k(i,"Date"),a=k(i,"RegExp"),l=k(i,"Object");if(c(e)!==e||o||a)t=o?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=P.get(e))return t;if(t=++_+"~",P.set(e,t),Array.isArray(e)){for(n=0,t="@";n<e.length;n++)t+=N(e[n])+",";P.set(e,t)}if(l){t="#";let r=c.keys(e).sort();for(;!d(n=r.pop());)d(e[n])||(t+=n+":"+N(e[n])+",");P.set(e,t)}}return t},A=e=>{if("function"==typeof e)try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?N(e):"",t]},M=0,L=()=>++M;async function D(...e){let[t,n,r,i]=e,o=f({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),a=o.populateCache,s=o.rollbackOnError,c=o.optimisticData,h=o.throwOnError;if("function"==typeof n){let e=[];for(let r of t.keys())!/^\$(inf|sub)\$/.test(r)&&n(t.get(r)._k)&&e.push(r);return Promise.all(e.map(p))}return p(n);async function p(n){let i,[f]=A(n);if(!f)return;let[p,m]=b(t,f),[g,v,y,w]=l.get(t),x=()=>{let e=g[f];return("function"==typeof o.revalidate?o.revalidate(p().data,n):!1!==o.revalidate)&&(delete y[f],delete w[f],e&&e[0])?e[0](2).then(()=>p().data):p().data};if(e.length<3)return x();let E=r,R=!1,S=L();v[f]=[S,0];let j=!d(c),C=p(),O=C.data,T=C._c,P=d(T)?O:T;if(j&&m({data:c="function"==typeof c?c(P,O):c,_c:P}),"function"==typeof E)try{E=E(P)}catch(e){i=e,R=!0}if(E&&"function"==typeof E.then){let e;if(E=await E.catch(e=>{i=e,R=!0}),S!==v[f][0]){if(R)throw i;return E}R&&j&&(e=i,"function"==typeof s?s(e):!1!==s)&&(a=!0,m({data:P,_c:u}))}if(a&&!R&&("function"==typeof a?m({data:a(E,P),error:u,_c:u}):m({data:E,error:u,_c:u})),v[f][1]=L(),Promise.resolve(x()).then(()=>{m({_c:u})}),R){if(h)throw i;return}return E}}let F=(e,t)=>{for(let n in e)e[n][0]&&e[n][0](t)},I=(e,t)=>{if(!l.has(e)){let n=f(R,t),r=Object.create(null),i=D.bind(u,e),o=s,a=Object.create(null),c=(e,t)=>{let n=a[e]||[];return a[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},d=(t,n,r)=>{e.set(t,n);let i=a[t];if(i)for(let e of i)e(n,r)},h=()=>{if(!l.has(e)&&(l.set(e,[r,Object.create(null),Object.create(null),Object.create(null),i,d,c]),!j)){let t=n.initFocus(setTimeout.bind(u,F.bind(u,r,0))),i=n.initReconnect(setTimeout.bind(u,F.bind(u,r,1)));o=()=>{t&&t(),i&&i(),l.delete(e)}}};return h(),[e,i,h,o]}return[e,l.get(e)[4]]},[B,U]=I(new Map),H=f({onLoadingSlow:s,onSuccess:s,onError:s,onErrorRetry:(e,t,n,r,i)=>{let o=n.errorRetryCount,a=i.retryCount,l=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;(d(o)||!(a>o))&&setTimeout(r,l,i)},onDiscarded:s,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:T?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:T?5e3:3e3,compare:function e(t,n){var r,i;if(t===n)return!0;if(t&&n&&(r=t.constructor)===n.constructor){if(r===Date)return t.getTime()===n.getTime();if(r===RegExp)return t.toString()===n.toString();if(r===Array){if((i=t.length)===n.length)for(;i--&&e(t[i],n[i]););return -1===i}if(!r||"object"==typeof t){for(r in i=0,t)if(a.call(t,r)&&++i&&!a.call(n,r)||!(r in n)||!e(t[r],n[r]))return!1;return Object.keys(n).length===i}}return t!=t&&n!=n},isPaused:()=>!1,cache:B,mutate:U,fallback:{}},{isOnline:()=>w,isVisible:()=>{let e=v&&document.visibilityState;return d(e)||"hidden"!==e}}),W=(e,t)=>{let n=f(e,t);if(t){let{use:r,fallback:i}=e,{use:o,fallback:a}=t;r&&o&&(n.use=r.concat(o)),i&&a&&(n.fallback=f(i,a))}return n},z=(0,i.createContext)({}),q=g&&window.__SWR_DEVTOOLS_USE__,G=(q?window.__SWR_DEVTOOLS_USE__:[]).concat(e=>(t,n,r)=>{let i=n&&((...e)=>{let[r]=A(t),[,,,i]=l.get(B);if(r.startsWith("$inf$"))return n(...e);let o=i[r];return d(o)?n(...e):(delete i[r],o)});return e(t,i,r)});q&&(window.__SWR_DEVTOOLS_REACT__=i);let Y=()=>{},X=Y();new WeakMap;let V=i.use||(e=>
1{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),K={dedupe:!0},Q=Promise.resolve(u),J=c.defineProperty(e=>{let{value:t}=e,n=(0,i.useContext)(z),r="function"==typeof t,o=(0,i.useMemo)(()=>r?t(n):t,[r,n,t]),a=(0,i.useMemo)(()=>r?o:W(n,o),[r,n,o]),l=o&&o.provider,s=(0,i.useRef)(u);l&&!s.current&&(s.current=I(l(a.cache||B),o));let c=s.current;return c&&(a.cache=c[0],a.mutate=c[1]),C(()=>{if(c)return c[2]&&c[2](),c[3]},[]),(0,i.createElement)(z.Provider,f(e,{value:a}))},"defaultValue",{value:H}),$=(r=(e,t,n)=>{let{cache:r,compare:a,suspense:s,fallbackData:c,revalidateOnMount:h,revalidateIfStale:p,refreshInterval:v,refreshWhenHidden:y,refreshWhenOffline:w,keepPreviousData:x}=n,[E,R,O,T]=l.get(r),[P,k]=A(e),_=(0,i.useRef)(!1),N=(0,i.useRef)(!1),M=(0,i.useRef)(P),F=(0,i.useRef)(t),I=(0,i.useRef)(n),B=()=>I.current.isVisible()&&I.current.isOnline(),[U,H,W,z]=b(r,P),q=(0,i.useRef)({}).current,G=d(c)?d(n.fallback)?u:n.fallback[P]:c,Y=(e,t)=>{for(let n in q)if("data"===n){if(!a(e[n],t[n])&&(!d(e[n])||!a(ei,t[n])))return!1}else if(t[n]!==e[n])return!1;return!0},X=(0,i.useMemo)(()=>{let e=!!P&&!!t&&(d(h)?!I.current.isPaused()&&!s&&!1!==p:h),n=t=>{let n=f(t);return(delete n._k,e)?{isValidating:!0,isLoading:!0,...n}:n},r=U(),i=z(),o=n(r),a=r===i?o:n(i),l=o;return[()=>{let e=n(U());return Y(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>a]},[r,P]),J=(0,o.useSyncExternalStore)((0,i.useCallback)(e=>W(P,(t,n)=>{Y(n,t)||e()}),[r,P]),X[0],X[1]),$=!_.current,Z=E[P]&&E[P].length>0,ee=J.data,et=d(ee)?G&&"function"==typeof G.then?V(G):G:ee,en=J.error,er=(0,i.useRef)(et),ei=x?d(ee)?d(er.current)?et:er.current:ee:et,eo=(!Z||!!d(en))&&($&&!d(h)?h:!I.current.isPaused()&&(s?!d(et)&&p:d(et)||p)),ea=!!(P&&t&&$&&eo),el=d(J.isValidating)?ea:J.isValidating,es=d(J.isLoading)?ea:J.isLoading,eu=(0,i.useCallback)(async e=>{let t,r,i=F.current;if(!P||!i||N.current||I.current.isPaused())return!1;let o=!0,l=e||{},s=!O[P]||!l.dedupe,c=()=>S?!N.current&&P===M.current&&_.current:P===M.current,f={isValidating:!1,isLoading:!1},h=()=>{H(f)},p=()=>{let e=O[P];e&&e[1]===r&&delete O[P]},m={isValidating:!0};d(U().data)&&(m.isLoading=!0);try{if(s&&(H(m),n.loadingTimeout&&d(U().data)&&setTimeout(()=>{o&&c()&&I.current.onLoadingSlow(P,n)},n.loadingTimeout),O[P]=[i(k),L()]),[t,r]=O[P],t=await t,s&&setTimeout(p,n.dedupingInterval),!O[P]||O[P][1]!==r)return s&&c()&&I.current.onDiscarded(P),!1;f.error=u;let e=R[P];if(!d(e)&&(r<=e[0]||r<=e[1]||0===e[1]))return h(),s&&c()&&I.current.onDiscarded(P),!1;let l=U().data;f.data=a(l,t)?l:t,s&&c()&&I.current.onSuccess(t,P,n)}catch(n){p();let e=I.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(f.error=n,s&&c())&&(e.onError(n,P,e),(!0===t||"function"==typeof t&&t(n))&&(!I.current.revalidateOnFocus||!I.current.revalidateOnReconnect||B())&&e.onErrorRetry(n,P,e,e=>{let t=E[P];t&&t[0]&&t[0](3,e)},{retryCount:(l.retryCount||0)+1,dedupe:!0}))}return o=!1,h(),!0},[P,r]),ec=(0,i.useCallback)((...e)=>D(r,M.current,...e),[]);if(C(()=>{F.current=t,I.current=n,d(ee)||(er.current=ee)}),C(()=>{if(!P)return;let e=eu.bind(u,K),t=0;I.current.revalidateOnFocus&&(t=Date.now()+I.current.focusThrottleInterval);let n=((e,t,n)=>{let r=t[e]||(t[e]=[]);return r.push(n),()=>{let e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}})(P,E,(n,r={})=>{if(0==n){let n=Date.now();I.current.revalidateOnFocus&&n>t&&B()&&(t=n+I.current.focusThrottleInterval,e())}else if(1==n)I.current.revalidateOnReconnect&&B()&&e();else if(2==n)return eu();else if(3==n)return eu(r)});return N.current=!1,M.current=P,_.current=!0,H({_k:k}),eo&&!O[P]&&(d(et)||j?e():(e=>g&&typeof window.requestAnimationFrame!=m?window.requestAnimationFrame(e):setTimeout(e,1))(e)),()=>{N.current=!0,n()}},[P]),C(()=>{let e;function t(){let t="function"==typeof v?v(U().data):v;t&&-1!==e&&(e=setTimeout(n,t))}function n(){!U().error&&(y||I.current.isVisible())&&(w||I.current.isOnline())?eu(K).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[v,y,w,P]),(0,i.useDebugValue)(ei),s){let e=P&&d(et);if(!S&&j&&e)throw Error("Fallback data is required when using Suspense in SSR.");e&&(F.current=t,I.current=n,N.current=!1);let r=T[P];if(V(!d(r)&&e?ec(r):Q),!d(en)&&e)throw en;let i=e?eu(K):Q;!d(ei)&&e&&(i.status="fulfilled",i.value=!0),V(i)}return{mutate:ec,get data(){return q.data=!0,ei},get error(){return q.error=!0,en},get isValidating(){return q.isValidating=!0,el},get isLoading(){return q.isLoading=!0,es}}},function(...e){let t=(()=>{let e=(0,i.useContext)(z);return(0,i.useMemo)(()=>f(H,e),[e])})(),[n,o,a]="function"==typeof e[1]?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],l=W(t,a),s=r,{use:u}=l,c=(u||[]).concat(G);for(let e=c.length;e--;)s=c[e](s);return s(n,o||l.fetcher||null,l)})},37955:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var r=n(37876);let i=e=>{let{...t}=e;return(0,r.jsx)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",fill:"
1currentColor",stroke:"currentColor",strokeWidth:"0.5",...t,children:(0,r.jsx)("path",{d:"M23 6.066v12.065l-11.001 5.869-11-5.869v-12.131l11-6 11.001 6.066zm-21.001 11.465l9.5 5.069v-10.57l-9.5-4.946v10.447zm20.001-10.388l-9.501 4.889v10.568l9.501-5.069v-10.388zm-5.52 1.716l-9.534-4.964-4.349 2.373 9.404 4.896 4.479-2.305zm-8.476-5.541l9.565 4.98 3.832-1.972-9.405-5.185-3.992 2.177z"})})}},38361:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(37876);let i=e=>{let{...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...t,children:(0,r.jsx)("path",{d:"M7.33 24l-2.83-2.829 9.339-9.175-9.339-9.167 2.83-2.829 12.17 11.996z"})})}},38427:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var r=n(14232),i=n(72117);function o(e,t,n,o){let a=(0,i.Y)(n);(0,r.useEffect)(()=>{if(e)return window.addEventListener(t,n,o),()=>window.removeEventListener(t,n,o);function n(e){a.current(e)}},[e,t,o])}},38806:(e,t,n)=>{"use strict";e.exports=n(29429)},39149:(e,t,n)=>{var r=0/0,i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),f=Object.prototype.toString,h=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 v(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==f.call(t))return r;if(g(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=g(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var u=a.test(e);return u||l.test(e)?s(e.slice(2),u?2:8):o.test(e)?r:+e}e.exports=function(e,t,n){var r,i,o,a,l,s,u=0,c=!1,d=!1,f=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var n=r,o=i;return r=i=void 0,u=t,a=e.apply(o,n)}function b(e){var n=e-s,r=e-u;return void 0===s||n>=t||n<0||d&&r>=o}function w(){var e,n,r,i=m();if(b(i))return x(i);l=setTimeout(w,(e=i-s,n=i-u,r=t-e,d?p(r,o-n):r))}function x(e){return(l=void 0,f&&r)?y(e):(r=i=void 0,a)}function E(){var e,n=m(),o=b(n);if(r=arguments,i=this,s=n,o){if(void 0===l)return u=e=s,l=setTimeout(w,t),c?y(e):a;if(d)return l=setTimeout(w,t),y(s)}return void 0===l&&(l=setTimeout(w,t)),a}return t=v(t)||0,g(n)&&(c=!!n.leading,o=(d="maxWait"in n)?h(v(n.maxWait)||0,t):o,f="trailing"in n?!!n.trailing:f),E.cancel=function(){void 0!==l&&clearTimeout(l),u=0,r=s=i=l=void 0},E.flush=function(){return void 0===l?a:x(m())},E}},39646:(e,t,n)=>{"use strict";function r(e){return function(t){let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;let l=a[0],s=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(s,e=>e.test(l)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(s,e=>e.test(l));return n=e.valueCallback?e.valueCallback(u):u,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(l.length)}}}n.d(t,{A:()=>r})},40035:e=>{e.exports={bg:"Modal_bg__cBtn3",dialogContainer:"Modal_dialogContainer__Xfe5c",dialogContainerWrapper:"Modal_dialogContainerWrapper__V6M9b",dialogPanel:"Modal_dialogPanel__Uf0kj",dialogPanelContent:"Modal_dialogPanelContent__Ita1S",headerActions:"Modal_headerActions__AfhbY",closeButton:"Modal_closeButton__Q_XLC",closeIcon:"Modal_closeIcon__NSBEl"}},41071:e=>{e.exports={body:"Text_body__lT70Y",heading:"Text_heading__p9a6t",pageHeading:"Text_pageHeading__XMXwk",sectionHeading:"Text_sectionHeading__QstBO"}},42524:e=>{e.exports={root:"Grid_root__I_B8T",row:"Grid_row__OLmOM",card:"Grid_card__VrkPn",horizontalScroll:"Grid_horizontalScroll__HxpHZ"}},42612:(e,t,n)=>{"use strict";n.d(t,{c:()=>r.c});var r=n(38361)},43024:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});let r={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"}};var i=n(13004);let o={date:(0,i.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,i.k)({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:(0,i.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var l=n(10550);let s={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,l.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,l.o)({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:(0,l.o)({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:(0,l.o)({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
1ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,l.o)({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"})};var u=n(39646);let c={code:"en-US",formatDistance:(e,t,n)=>{let i,o=r[e];if(i="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null==n?void 0:n.addSuffix)if(n.comparison&&n.comparison>0)return"in "+i;else return i+" ago";return i},formatLong:o,formatRelative:(e,t,n,r)=>a[e],localize:s,match:{ordinalNumber:(0,n(26952).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({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:(0,u.A)({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:(0,u.A)({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:(0,u.A)({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:(0,u.A)({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}}},45435:(e,t,n)=>{"use strict";n.d(t,{fi:()=>v,PS:()=>y,Yq:()=>m,BO:()=>g,wH:()=>b});var r=n(84361),i=n(43024),o=n(553),a=n(52505),l=n(27840),s=n(31898);function u(e,t){let n=(0,s.a)(e)-(0,s.a)(t);return n<0?-1:n>0?1:n}var c=n(2364),d=n(73409),f=n(9581),h=n(82406),p=n(132);let m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy.MM.dd HH:mm:ss";return e&&(0,r.Yq)("string"==typeof e?new Date(e):e,t,{locale:p.ru})},g=(e,t)=>(function(e,t,n){var r,d;let f,h=(0,o.q)(),p=null!=(d=null!=(r=null==n?void 0:n.locale)?r:h.locale)?d:i.c,m=u(e,t);if(isNaN(m))throw RangeError("Invalid time value");let g=Object.assign({},n,{addSuffix:null==n?void 0:n.addSuffix,comparison:m}),[v,y]=(0,l.x)(null==n?void 0:n.in,...m>0?[t,e]:[e,t]),b=function(e,t,n){var r;return(r=void 0,e=>{let t=(r?Math[r]:Math.trunc)(e);return 0===t?0:t})(((0,s.a)(e)-(0,s.a)(t))/1e3)}(y,v),w=Math.round((b-((0,a.G)(y)-(0,a.G)(v))/1e3)/60);if(w<2)if(null==n?void 0:n.includeSeconds)if(b<5)return p.formatDistance("lessThanXSeconds",5,g);else if(b<10)return p.formatDistance("lessThanXSeconds",10,g);else if(b<20)return p.formatDistance("lessThanXSeconds",20,g);else if(b<40)return p.formatDistance("halfAMinute",0,g);else if(b<60)return p.formatDistance("lessThanXMinutes",1,g);else return p.formatDistance("xMinutes",1,g);else if(0===w)return p.formatDistance("lessThanXMinutes",1,g);else return p.formatDistance("xMinutes",w,g);if(w<45)return p.formatDistance("xMinutes",w,g);if(w<90)return p.formatDistance("aboutXHours",1,g);if(w<c.F6){let e=Math.round(w/60);return p.formatDistance("aboutXHours",e,g)}if(w<2520)return p.formatDistance("xDays",1,g);else if(w<c.Nw){let e=Math.round(w/c.F6);return p.formatDistance("xDays",e,g)}else if(w<2*c.Nw)return f=Math.round(w/c.Nw),p.formatDistance("aboutXMonths",f,g);if((f=function(e,t,n){let[r,i,o]=(0,l.x)(void 0,e,e,t),a=u(i,o),c=Math.abs(function(e,t,n){let[r,i]=(0,l.x)(void 0,e,t);return 12*(r.getFullYear()-i.getFullYear())+(r.getMonth()-i.getMonth())}(i,o));if(c<1)return 0;1===i.getMonth()&&i.getDate()>
127&&i.setDate(30),i.setMonth(i.getMonth()-a*c);let d=u(i,o)===-a;(function(e,t){let n=(0,s.a)(e,void 0);return+function(e,t){let n=(0,s.a)(e,null==t?void 0:t.in);return n.setHours(23,59,59,999),n}(n,void 0)==+function(e,t){let n=(0,s.a)(e,null==t?void 0:t.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}(n,t)})(r)&&1===c&&1===u(r,o)&&(d=!1);let f=a*(c-d);return 0===f?0:f}(y,v))<12){let e=Math.round(w/c.Nw);return p.formatDistance("xMonths",e,g)}{let e=f%12,t=Math.trunc(f/12);return e<3?p.formatDistance("aboutXYears",t,g):e<9?p.formatDistance("overXYears",t,g):p.formatDistance("almostXYears",t+1,g)}})("string"==typeof e?new Date(e):e,t,{locale:p.ru}),v=(e,t)=>(0,d.f)("string"==typeof e?new Date(e):e,t),y=(e,t)=>(0,f.P)("string"==typeof e?new Date(e):e,t),b=e=>(0,h.w)("string"==typeof e?new Date(e):e)},46001:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(37876);let i=e=>{let{...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",stroke:"none",...t,children:(0,r.jsx)("path",{d:"M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm7.753 18.305c-.261-.586-.789-.991-1.871-1.241-2.293-.529-4.428-.993-3.393-2.945 3.145-5.942.833-9.119-2.489-9.119-3.388 0-5.644 3.299-2.489 9.119 1.066 1.964-1.148 2.427-3.393 2.945-1.084.25-1.608.658-1.867 1.246-1.405-1.723-2.251-3.919-2.251-6.31 0-5.514 4.486-10 10-10s10 4.486 10 10c0 2.389-.845 4.583-2.247 6.305z"})})}},48107:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var r=n(37876);n(14232);var i=n(49995),o=n(9709);let a=e=>{let{className:t,icon:n,withIcon:a}=e,l=n||(0,r.jsx)(o.g,{className:"inline-block w-4 mr-2"});return(0,r.jsxs)("a",{className:(0,i.A)(t),href:"mailto:".concat("[email protected]"),itemProp:"email",children:[a&&l,"[email protected]"]})}},48230:(e,t,n)=>{e.exports=n(34009)},48804:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(14232),i=n(62214);function o(e,t){let n=(0,r.useRef)({left:0,top:0});if((0,i.s)(()=>{if(!t)return;let e=t.getBoundingClientRect();e&&(n.current=e)},[e,t]),null==t||!e||t===document.activeElement)return!1;let o=t.getBoundingClientRect();return o.top!==n.current.top||o.left!==n.current.left}},49266:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=n(14232),i=n(72117);let o=function(e){let t=(0,i.Y)(e);return r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])}},49995:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r);else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(r&&(r+=" "),r+=t);return r}},51840:e=>{e.exports={root:"LoadingDots_root__g16Hg",blink:"LoadingDots_blink__rXNLn"}},51915:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r=n(37876);n(14232);var i=n(94783),o=n.n(i),a=n(49995);let l=e=>"number"==typeof e?"".concat(e,"px"):e,s=e=>{let{style:t,width:n,height:i,children:s,className:u,show:c=!0,boxHeight:d=i}=e,f=!!s&&!(n||i);return n=n||24,i=i||24,d=d||i,(0,r.jsx)("span",{className:(0,a.A)(o().skeleton,u,{[o().show]:c,[o().wrapper]:f,[o().loaded]:!f&&!!s}),style:f?{}:{minWidth:Number.isInteger(n)?l(n):n,minHeight:l(i),marginBottom:"calc(".concat(l(d)," - ").concat(l(i),")"),...t},children:s})}},52496:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},noSSR:function(){return a}});let r=n(64252);n(37876),n(14232);let i=r._(n(90295));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function l(e,t){let n=i.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e});let l=(r={...r,...t}).loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=l?l().then(o):Promise.resolve(o(()=>null))}):(delete r.webpack,delete r.modules,a(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52505:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(31898);function i(e){let t=(0,r.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}},54058:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var r,i=n(14232),o=n(79438);function a(){let e,t=(e="undefined"==typeof document,(0,(r||(r=n.t(i,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[a,l]=i.useState(o._.isHandoffComplete);return a&&!1===o._.isHandoffComplete&&l(!1),i.useEffect(()=>{!0!==a&&l(!0)},[a]),i.useEffect(()=>o._.handoff(),[]),!t&&a}},54360:(e,t,n)=>{"use strict";n.d(t,{P:()=>r.P});var r=n(7113)},56601:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(37876);n(14232);var i=n(89255);let o=e=>{let{children:t,loading:n=!1}=e;return(0,r.jsx)(r.Fragment,{children:n?(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(i.X,{})}):t})}},56788:(e,t,n)=>{"use strict";function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null==(t=window.navigator.userAgentData)?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function i(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}function o(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{o:()=>M});let a=o(function(){return i(/^Mac/i)}),l=o(function(){return i(/^iPhone/i)}),s=o(function(){return i(/^iPad/i)||a()&&navigator.maxTouchPoints>1}),u=o(function(){return l()||s()});o(function(){return a()||u()}),o(function(){return r(/AppleWebKit/i)&&!c()});let c=o(function(){return r(/Chrome/i)}),d=o(function(){return r(/Android/i)});o(function(){return r(/Firefox/i)});let f=e=>{var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document},h=e=>e&&"window"in e&&e.window===e?e:f(e).defaultView||window;var p=n(14232);let m=null,g=new Set,v=new Map,y=!1,b=!1,w={Tab:!0,Escape:!0};function x(e,t){for(let n of g)n(e,t)}function E(e){y=!0,e.metaKey||!a()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(m="keyboard",x("keyboard",e))}
1function R(e){m="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(y=!0,x("pointer",e))}function S(e){(0===e.mozInputSource&&e.isTrusted||(d()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(y=!0,m="virtual")}function j(e){e.target!==window&&e.target!==document&&(y||b||(m="virtual",x("virtual",e)),y=!1,b=!1)}function C(){y=!1,b=!0}function O(e){if("undefined"==typeof window||v.get(h(e)))return;let t=h(e),n=f(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){y=!0,r.apply(this,arguments)},n.addEventListener("keydown",E,!0),n.addEventListener("keyup",E,!0),n.addEventListener("click",S,!0),t.addEventListener("focus",j,!0),t.addEventListener("blur",C,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",R,!0),n.addEventListener("pointermove",R,!0),n.addEventListener("pointerup",R,!0)):(n.addEventListener("mousedown",R,!0),n.addEventListener("mousemove",R,!0),n.addEventListener("mouseup",R,!0)),t.addEventListener("beforeunload",()=>{T(e)},{once:!0}),v.set(t,{focus:r})}let T=(e,t)=>{let n=h(e),r=f(e);t&&r.removeEventListener("DOMContentLoaded",t),v.has(n)&&(n.HTMLElement.prototype.focus=v.get(n).focus,r.removeEventListener("keydown",E,!0),r.removeEventListener("keyup",E,!0),r.removeEventListener("click",S,!0),n.removeEventListener("focus",j,!0),n.removeEventListener("blur",C,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",R,!0),r.removeEventListener("pointermove",R,!0),r.removeEventListener("pointerup",R,!0)):(r.removeEventListener("mousedown",R,!0),r.removeEventListener("mousemove",R,!0),r.removeEventListener("mouseup",R,!0)),v.delete(n))};function P(){return"pointer"!==m}"undefined"!=typeof document&&function(e){let t,n=f(void 0);"loading"!==n.readyState?O(void 0):(t=()=>{O(e)},n.addEventListener("DOMContentLoaded",t)),()=>T(e,t)}();let k=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),_="undefined"!=typeof document?p.useLayoutEffect:()=>{};class N{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function A(e){let t=(0,p.useRef)({isFocused:!1,observer:null});_(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=function(e){let t=(0,p.useRef)(null);return _(()=>{t.current=e},[e]),(0,p.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}(t=>{null==e||e(t)});return(0,p.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new N("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null==(e=t.current.observer)||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function M(e={}){var t;let{autoFocus:n=!1,isTextInput:r,within:i}=e,o=(0,p.useRef)({isFocused:!1,isFocusVisible:n||P()}),[a,l]=(0,p.useState)(!1),[s,u]=(0,p.useState)(()=>o.current.isFocused&&o.current.isFocusVisible),c=(0,p.useCallback)(()=>u(o.current.isFocused&&o.current.isFocusVisible),[]),d=(0,p.useCallback)(e=>{o.current.isFocused=e,l(e),c()},[c]);t={isTextInput:r},O(),(0,p.useEffect)(()=>
1{let e=(e,n)=>{(function(e,t,n){var r;let i="undefined"!=typeof window?h(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?h(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?h(null==n?void 0:n.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?h(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof i&&!k.has(null==n||null==(r=n.target)?void 0:r.type)||(null==n?void 0:n.target)instanceof o||(null==n?void 0:n.target)instanceof a&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof l&&!w[n.key])})(!!(null==t?void 0:t.isTextInput),e,n)&&(e=>{o.current.isFocusVisible=e,c()})(P())};return g.add(e),()=>{g.delete(e)}},[]);let{focusProps:m}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e,o=(0,p.useCallback)(e=>{if(e.target===e.currentTarget)return r&&r(e),i&&i(!1),!0},[r,i]),a=A(o),l=(0,p.useCallback)(e=>{let t=f(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),i&&i(!0),a(e))},[i,n,a]);return{focusProps:{onFocus:!t&&(n||i||r)?l:void 0,onBlur:!t&&(r||i)?o:void 0}}}({isDisabled:i,onFocusChange:d}),{focusWithinProps:v}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,o=(0,p.useRef)({isFocusWithin:!1}),a=(0,p.useCallback)(e=>{o.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(o.current.isFocusWithin=!1,n&&n(e),i&&i(!1))},[n,i,o]),l=A(a),s=(0,p.useCallback)(e=>{o.current.isFocusWithin||document.activeElement!==e.target||(r&&r(e),i&&i(!0),o.current.isFocusWithin=!0,l(e))},[r,i,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:a}}}({isDisabled:!i,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:s,focusProps:i?v:m}}},57361:(e,t,n)=>{"use strict";n.d(t,{BY:()=>p,Cf:()=>u,FL:()=>d,FU:()=>h,Ji:()=>l,K5:()=>o,TQ:()=>f,UL:()=>c,br:()=>m,kB:()=>s,si:()=>a});var r=n(73716),i=n(69582);let o=e=>(0,r.bP)(i.n.currentOrder.getRoute(),e),a=e=>r.Em.put(i.n.currentOrderElements.getRoute(),e),l=e=>r.Em.put(i.n.currentOrder.getRoute(),e),s=e=>r.Em.delete((0,r.O$)({href:i.n.currentOrderElements.getRoute(),query:{ids:e}})),u=e=>r.Em.post(i.n.createOrder.getRoute(),e),c=e=>r.Em.patch(i.n.currentOrder.getRoute(),e),d=e=>(0,r.bP)(i.n.deliveryDays.getRoute(),e),f=e=>(0,r.bP)(i.n.assemblyDaysList.getRoute(),e),h=e=>r.Em.put(i.n.approvedDeliveryDay.getRoute(),JSON.stringify(e)),p=e=>r.Em.put(i.n.currentOrderOutlet.getRoute(),e),m=()=>r.Em.post(i.n.currentOrderClear.getRoute())},62214:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(14232),i=n(79438);let o=(e,t)=>{i._.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},63786:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let r=n(14232),i=n(43273),o="function"==typeof IntersectionObserver,a=new Map,l=[];function s(e){let{rootRef:t,rootMargin:n,disabled:s}=e,u=s||!o,[c,d]=(0,r.useState)(!1),f=(0,r.useRef)(null),h=(0,r.useCallback)(e=>{f.current=e},[]);return(0,r.useEffect)(()=>{if(o){if(u||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:o}=function(e){let t,n={root:e.root||null,margin:e.rootMargin||""},r=l.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},l.push(n),a.set(n,t),t}(n);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(r);let e=l.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,n,t,c,f.current]),[h,c,(0,r.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},64116:(e,t,n)=>{"use strict";n.d(t,{K:()=>c});var r=n(87907),i=n(62214),o=n(19314),a=n(27344),l=n(23644);let s=(0,a.y)(()=>new Map,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,o.e)(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT(e){let t,{doc:n,d:r,meta:i}=e,a={doc:n,d:r,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(i)},s=[(0,l.un)()?{before(e){let{doc:t,d:n,meta:r}=e;function i(e){return r.containers.flatMap(e=>e()).some(t=>t.contains(e))}n.microTask(()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=(0,o.e)();e.style(t.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>e.dispose()))}let r=null!=(e=window.scrollY)?e:window.pageYOffset,a=null;n.addEventListener(t,"click",e=>{if(e.target instanceof HTMLElement)try{let n=e.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),o=t.querySelector(r);o&&!i(o)&&(a=o)}catch(e){}},!0),n.addEventListener(t,"touchstart",e=>{if(e.target instanceof HTMLElement)if(i(e.target)){let t=e.target;for(;t.parentElement&&i(t.parentElement);)t=t.parentElement;n.style(t,"overscrollBehavior","contain")}else n.style(e.target,"touchAction","none")}),n.addEventListener(t,"touchmove",e=>{if(e.target instanceof HTMLElement&&"INPUT"!==e.target.tagName)if(i(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()},{passive:!1}),n.add(()=>{var e;r!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,r),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{},{before(e){var n;let{doc:r}=e,i=r.documentElement;t=Math.max(0,(null!=(n=r.defaultView)?n:window).innerWidth-i.clientWidth)},after(e){let{doc:n,d:r}=e,i=n.documentElement,o=Math.max(0,i.clientWidth-i.offsetWidth),a=Math.max(0,t-o);r.style(i,"paddingRight","".concat(a,"px"))}},{before(e){let{doc:t,d:n}=e;n.style(t.documentElement,"overflow","hidden")}}];s.forEach(e=>{let{before:t}=e;return null==t?void 0:t(a)}),s.forEach(e=>{let{after:t}=e;return null==t?void 0:t(a)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}});s.subscribe(()=>{let e=s.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&s.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&s.dispatch("TEARDOWN",n)}});var u=n(3673);function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>({containers:[]}),o=(0,r.P)(s),a=t?o.get(t):void 0;a&&a.count,(0,i.s)(()=>{if(!(!t||!e))return s.dispatch("PUSH",t,n),()=>s.dispatch("POP",t,n)},[e,t])}((0,u.S)(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}},64362:(e,t,n)=>{"use strict";n.d(t,{B:()=>d,p:()=>f});var r,i,o=n(14232),a=n(19314),l=n(85069),s=n(62214),u=n(65364);void 0!==u&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&(null==(r=null==u?void 0:u.env)?void 0:r.NODE_ENV)==="test"&&void 0===(null==(i=null==Element?void 0:Element.prototype)?void 0:i.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn("Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.\nPlease install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.\n\nExample usage:\n```js\nimport { mockAnimationsApi } from 'jsdom-testing-mocks'\nmockAnimationsApi()\n```"),[]});var c=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(c||{});function d(e){let t={};for(let n in e)!0===e[n]&&(t["data-".concat(n)]="");return t}function f(e,t,n,r){let[i,u]=(0,o.useState)(n),{hasFlag:c,addFlag:d,removeFlag:f}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,o.useState)(e),r=(0,o.useCallback)(e=>n(e),[t]),i=(0,o.useCallback)(e=>n(t=>t|e),[t]),a=(0,o.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:i,hasFlag:a,removeFlag:(0,o.useCallback)(e=>n(t=>t&~e),[n]),toggleFlag:(0,o.useCallback)(e=>n(t=>t^e),[n])}}(e&&i?3:0),h=(0,o.useRef)(!1),p=(0,o.useRef)(!1),m=(0,l.L)();return(0,s.s)(()=>{var i;if(e){if(n&&u(!0),!t){n&&d(3);return}return null==(i=null==r?void 0:r.start)||i.call(r,n),function(e,t){let{prepare:n,run:r,done:i,inFlight:o}=t,l=(0,a.e)();return function(e,t){let{inFlight:n,prepare:r}=t;if(null!=n&&n.current)return r();let i=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=i}(e,{prepare:n,inFlight:o}),l.nextFrame(()=>{r(),l.requestAnimationFrame(()=>{l.add(function(e,t){var n,r;let i=(0,a.e)();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let l=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===l.length?t():Promise.allSettled(l.map(e=>e.finished)).then(()=>{o||t()}),i.dispose}(e,i))})}),l.dispose}(t,{inFlight:h,prepare(){p.current?p.current=!1:p.current=h.current,h.current=!0,p.current||(n?(d(3),f(4)):(d(4),f(2)))},run(){p.current?n?(f(3),d(4)):(f(4),d(3)):n?f(1):d(1)},done(){var e;p.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(h.current=!1,f(7),n||u(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,m]),e?[i,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}},64527:(e,t,n)=>{"use strict";n.d(t,{AU:()=>c,LQ:()=>i,Ng:()=>u,St:()=>s,VT:()=>a,Wt:()=>h,Zx:()=>y,nn:()=>v,tQ:()=>l,tR:()=>p,wr:()=>d,xS:()=>f});var r=n(15152);let i=!1,o="https://api.instock-dv.ru",a="https://instock-dv.ru",l="79146700489",s=(0,r.q)(l),u="88234887",c="000000012",d="/misc/3l0l1n09m3ls0lm100xsap.png",f=e=>"".concat(e," в наличии по закупочной цене. Купить ").concat(e," оптом с быстрой доставкой. Бесплатная консультация по телефону \uD83D\uDCDE ").concat(s),h=50,p={checkout:{getRoute:()=>"/checkout"},about:{getRoute:()=>"/about"},publicOffer:{getRoute:()=>"/public-offer"},dostavkaIOplata:{getRoute:()=>"/dostavka-i-oplata"},orders:{getRoute:()=>"/orders"},signup:{getRoute:()=>"/signup"},order:{getRoute:e=>"/orders/".concat(e)},products:{getRoute:()=>"/products"},profile:{getRoute:()=>"/profile"},nplusx:{getRoute:()=>"/nplusx"}
1,pwaInstall:{getRoute:()=>"/pwa-install"},passwordRecovery:{getRoute:()=>"/password-recovery"},articles:{getRoute:()=>"/articles"},article:{getRoute:e=>"/articles/".concat(e)},favorites:{getRoute:()=>"/favorites"},favoriteList:{getRoute:e=>"/favorites/".concat(e)},autoorder:{getRoute:()=>"/autoorder"},autoorder1c:{getRoute:()=>"/autoorder-1c",pathname:"/autoorder-1c"},autoorderMatrix:{getRoute:e=>"/autoorder/".concat(e),pathname:"/autoorder/[id]"},autoorderMatrixCreate:{getRoute:()=>"/autoorder/create",pathname:"/autoorder/create"},priceMaker:{getRoute:()=>"/price-maker"},privacy:{getRoute:()=>"/privacy"},productsFile:{getRoute:()=>"/products-file"},category:{getRoute:e=>"/categories/".concat(e),pathname:"/categories/[id]"},priceCategory:{getRoute:e=>"/price-categories/".concat(e),pathname:"/price-categories/[id]"},brand:{getRoute:e=>"/brands/".concat(e),pathname:"/brands/[id]"},series:{getRoute:e=>"/products?series=".concat(e)},manufacturer:{getRoute:e=>"/manufacturers/".concat(e),pathname:"/manufacturers/[id]"},novelties:{getRoute:()=>"/novelties",pathname:"/novelties"},contacts:{getRoute:()=>"/contacts"},analytics:{getRoute:()=>"/analytics"},autoorderAbout:{getRoute:()=>"/autoorder-about"},futurePrices:{getRoute:()=>"/future-prices"}},m=e=>"".concat(o,"/v1_api").concat(e),g=e=>"".concat(o,"/v1_api_private").concat(e),v={userMe:{getRoute:()=>m("/users/me")},login:{getRoute:()=>m("/login")},orders:{getRoute:()=>m("/orders")},order:{getRoute:e=>m("/orders/".concat(e))},feedback:{getRoute:()=>m("/feedback")},contractors:{getRoute:()=>m("/contractors")},contractor:{getRoute:e=>m("/contractors/".concat(e))},contractorAutozakaz:{getRoute:e=>m("/contractors/".concat(e,"/autozakaz"))},facets:{getRoute:()=>m("/facets")},currentOrder:{getRoute:()=>m("/users/me/currentOrder")},currentOrderPostpone:{getRoute:()=>m("/users/me/currentOrder/postpone")},currentOrderElements:{getRoute:()=>m("/users/me/currentOrder/lines")},approvedDeliveryDay:{getRoute:()=>m("/users/me/currentOrder/approved-delivery-day")},currentOrderOutlet:{getRoute:()=>m("/users/me/currentOrder/outlet")},currentOrderClear:{getRoute:()=>m("/users/me/currentOrder/clear")},createOrder:{getRoute:()=>m("/users/me/currentOrder/submit")},debts:{getRoute:e=>m("/contractors/".concat(e,"/debt"))},debtsTotal:{getRoute:e=>m("/contractors/".concat(e,"/total_debt"))},breadcrumbs:{getRoute:()=>m("/breadcrumbs")},products:{getRoute:()=>m("/products")},productsPrice:{getRoute:()=>m("/products/price-list")},product:{getRoute:e=>m("/products/".concat(e))},productCertificates:{getRoute:e=>m("/products/".concat(e,"/certificates"))},promotions:{getRoute:()=>m("/promotions")},promotionsPrivate:{getRoute:()=>g("/promotions")},promotion:{getRoute:e=>m("/promotions/".concat(e))},verificationCode:{getRoute:()=>m("/verification_code")},changePassword:{getRoute:()=>m("/change_password")},categories:{getRoute:()=>m("/categories")},category:{getRoute:e=>m("/categories/".concat(e))},priceCategories:{getRoute:()=>m("/price-categories")},printRealizationDocuments:{getRoute:e=>m("/realization-documents/".concat(e,"/print-kind"))},printZakazDocuments:{getRoute:e=>m("/zakazes-documents/".concat(e,"/print-kind"))},makeReserve:{getRoute:e=>g("/zakazes/".concat(e,"/make-reserve"))},makeRealization:{getRoute:e=>g("/zakazes/".concat(e,"/make-realization"))},deliveryDays:{getRoute:()=>m("/delivery_days")},assemblyDaysList:{getRoute:()=>m("/assembly_days")},createTicket:{getRoute:()=>m("/create_ticket")},articles:{getRoute:()=>m("/articles")},article:{getRoute:e=>m("/articles/".concat(e))},favorites:{getRoute:()=>m("/favorites")},favoriteProductIds:{getRoute:()=>m("/favorites/productIds")},favoriteList:{getRoute:e=>m("/favorites/".concat(e))},favoriteListElements:{getRoute:e=>m("/favorites/".concat(e,"/elements"))},warehousesRegional:{getRoute:()=>m("/warehouses-regional")},brand:{getRoute:e=>m("/brands/".concat(e))},manufacturer:{getRoute:e=>m("/manufacturers/".concat(e))},productsOrdersCount:{getRoute:()=>m("/products_orders_count")},productsNotBoughtRecently:{getRoute:()=>m("/products_not_bought_recently")},outletMatrices:{getRoute:()=>m("/outlet_matrices")},outletMatrix:{getRoute:e=>m("/outlet_matrices/".concat(e))},matrixLines:{getRoute:e=>m("/outlet_matrices/".concat(e,"/lines"))},matrixUpload:{getRoute:()=>m("/matrix_upload")},matrixExample:{getRoute:()=>m("/matrix_example")},matrixStockUpload:{getRoute:()=>m("/matrix_stock_upload")},matrixStockTemplate:{getRoute:e=>m("/outlet_matrices/".concat(e,"/stock_template"))},notificationsUnreadCount:{getRoute:()=>m("/users/me/notifications/unread-count")},notifications:{getRoute:()=>m("/users/me/notifications/messages")},notificationMarkRead:{getRoute:e=>m("/users/me/notifications/messages/".concat(e,"/read"))}},y={jsonToXlsxTable:{getRoute:()=>"".concat("https://helper.bonjour-dv.ru").concat("/json-to-table?xlsx")}}},64746:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(37876);let i=e=>{let{...t}=e;return(0,r.jsxs)("svg",{width:"20",height:"22",viewBox:"0 0 20 22",fill:"none",stroke:"currentColor",...t,children:[(0,r.jsx)("path",{d:"M4 1L1 5V19C1 19.5304 1.21071 20.0391 1.58579 20.4142C1.96086 20.7893 2.46957 21 3 21H17C17.5304 21 18.0391 20.7893 18.4142 20.4142C18.7893 20.0391 19 19.5304 19 19V5L16 1H4Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M1 5H19",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M14 9C14 10.0609 13.5786 11.0783 12.8284 11.8284C12.0783 12.5786 11.0609 13 10 13C8.93913 13 7.92172 12.5786 7.17157 11.8284C6.42143 11.0783 6 10.0609 6 9",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}},64787:(e,t,n)=>{"use strict";n.d(t,{O:()=>a});var r=n(14232),i=n(19314),o=n(72117);function a(e,t,n){let a=(0,o.Y)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()});(0,r.useEffect)(()=>
1{if(!e)return;let n=null===t?null:t instanceof HTMLElement?t:t.current;if(!n)return;let r=(0,i.e)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver(()=>a.current(n));e.observe(n),r.add(()=>e.disconnect())}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver(()=>a.current(n));e.observe(n),r.add(()=>e.disconnect())}return()=>r.dispose()},[t,a,e])}},65285:(e,t,n)=>{"use strict";n.d(t,{j:()=>o,u:()=>i});var r=n(70367),i=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(i||{});let o=(0,r.FX)(function(e,t){var n;let{features:i=1,...o}=e,a={ref:t,"aria-hidden":(2&i)==2||(null!=(n=o["aria-hidden"])?n:void 0),hidden:(4&i)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&i)==4&&(2&i)!=2&&{display:"none"}}};return(0,r.Ci)()({ourProps:a,theirProps:o,slot:{},defaultTag:"span",name:"Hidden"})})},65899:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u});var r=n(37876);n(14232);var i=n(8811),o=n.n(i),a=n(64527),l=n(49995),s=n(76496);let u=e=>{let{className:t,icon:n,withIcon:i}=e,u=n||(0,r.jsx)(s.b,{className:o().icon});return(0,r.jsxs)("a",{className:(0,l.A)(t),href:"tel:".concat(a.tQ),itemProp:"telephone",children:[i&&u,a.St]})}},66924:(e,t,n)=>{"use strict";n.d(t,{S:()=>o,a:()=>a});var r=n(14232);let i=(0,r.createContext)(!1);function o(){return(0,r.useContext)(i)}function a(e){return r.createElement(i.Provider,{value:e.force},e.children)}},69582:(e,t,n)=>{"use strict";n.d(t,{n:()=>r.nn});var r=n(64527)},69692:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(37876);let i=e=>{let{...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",...t,children:(0,r.jsx)("path",{d:"M12 9.229c.234-1.12 1.547-6.229 5.382-6.229 2.22 0 4.618 1.551 4.618 5.003 0 3.907-3.627 8.47-10 12.629-6.373-4.159-10-8.722-10-12.629 0-3.484 2.369-5.005 4.577-5.005 3.923 0 5.145 5.126 5.423 6.231zm-12-1.226c0 4.068 3.06 9.481 12 14.997 8.94-5.516 12-10.929 12-14.997 0-7.962-9.648-9.028-12-3.737-2.338-5.262-12-4.27-12 3.737z"})})}},70367:(e,t,n)=>{"use strict";n.d(t,{Ac:()=>a,Ci:()=>s,FX:()=>h,mK:()=>l,oE:()=>p,v6:()=>f});var r=n(14232),i=n(24676),o=n(73872),a=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(a||{}),l=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(l||{});function s(){let e,t,n=(e=(0,r.useRef)([]),t=(0,r.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]),function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];if(!r.every(e=>null==e))return e.current=r,t});return(0,r.useCallback)(e=>(function(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:i,features:a,visible:l=!0,name:s,mergeRefs:f}=e;f=null!=f?f:c;let h=d(n,t);if(l)return u(h,r,i,s,f);let p=null!=a?a:0;if(2&p){let{static:e=!1,...t}=h;if(e)return u(t,r,i,s,f)}if(1&p){let{unmount:e=!0,...t}=h;return(0,o.Y)(+!e,{0:()=>null,1:()=>u({...t,hidden:!0,style:{display:"none"}},r,i,s,f)})}return u(h,r,i,s,f)})({mergeRefs:n,...e}),[n])}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,{as:l=n,children:s,refName:u="ref",...c}=m(e,["unmount","static"]),f=void 0!==e.ref?{[u]:e.ref}:{},h="function"==typeof s?s(t):s;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let g={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r.replace(/([A-Z])/g,e=>"-".concat(e.toLowerCase())));if(e)for(let e of(g["data-headlessui-state"]=n.join(" "),n))g["data-".concat(e)]=""}if(l===r.Fragment&&(Object.keys(p(c)).length>0||Object.keys(p(g)).length>0))if(!(0,r.isValidElement)(h)||Array.isArray(h)&&h.length>1){if(Object.keys(p(c)).length>0)throw Error(['Passing props on "Fragment"!\n',"The current component <".concat(o,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(p(c)).concat(Object.keys(p(g))).map(e=>"  - ".concat(e)).join("\n"),"\nYou can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>"  - ".concat(e)).join("\n")].join("\n"))}else{var v;let e=h.props,t=null==e?void 0:e.className,n="function"==typeof t?function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0,i.x)(t(...n),c.className)}:(0,i.x)(t,c.className),o=d(h.props,p(m(c,["ref"])));for(let e in g)e in o&&delete g[e];return(0,r.cloneElement)(h,Object.assign({},o,g,f,{ref:a((v=h,r.version.split(".")[0]>="19"?v.props.ref:v.ref),f.ref)},n?{className:n}:{}))}return(0,r.createElement)(l,Object.assign({},m(c,["ref"]),l!==r.Fragment&&f,l!==r.Fragment&&g),h)}function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function d(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},i={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=i[t]||(i[t]=[]),i[t].push(e[t])):r[t]=e[t];if(r.disabled||r["aria-disabled"])for(let e in i)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(i[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in i)Object.assign(r,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(let n of i[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...r)}}});return r}function f(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},i={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=i[t]||(i[t]=[]),i[t].push(e[t])):r[t]=e[t];for(let e in i)Object.assign(r,{[e](){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(let t of i[e])null==t||t(...n)}});return r}function h(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function p(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},72032:()=>{},72117:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(14232),i=n(62214);function o(e){let t=(0,r.useRef)(e);return(0,i.s)(()=>{t.current=e},[e]),t}},73231:(e,t,n)=>{"use strict";n.d(t,{B:()=>v,Y:()=>b});var r=n(37876),i=n(14232),o=n(36286),a=n(49995),l=n(73843),s=n(18827),u=n(75887),c=n(89255),d=n(14915),f=n(42612),h=n(85712),p=n(26214);let m={category:p.t.category.getRoute,priceCategory:p.t.priceCategory.getRoute,brand:p.t.brand.getRoute},g=e=>{var t,n;let{list:s,children:f,breadcrumbsQuery:p,selected:g,type:v,isLast:y,disableLastLink:b}=e,[w,x]=(0,i.useState)(!1),E=(0,h.r)(),{data:R,...S}=(0,o.i)({variables:{...p,self:!0},skip:!w||!!s}),j=()=>x(!0),C=()=>x(!1),O=s||(null==R?void 0:R.siblings);return["brand","manufacturer"].includes(v)||y&&b?(0,r.jsx)("span",{itemProp:"item",children:(0,r.jsx)("span",{itemProp:"name",children:f})}):(0,r.jsxs)(r.Fragment,{children:[y?(0,r.jsx)("button",{title:f,onClick:e=>{e.preventDefault(),j()},itemProp:"item",children:(0,r.jsx)(l.A,{itemProp:"name",children:f})}):(0,r.jsx)(u.N,{href:null==m||null==(t=m[v])?void 0:t.call(m,g.id),onClick:e=>{e.preventDefault(),j()},itemProp:"item",children:(0,r.jsx)(l.A,{itemProp:"name",children:f})}),(0,r.jsxs)(d.a,{onClose:C,open:w,children:[S.isLoading&&(0,r.jsx)("div",{className:"flex justify-center mt-2",children:(0,r.jsx)(c.X,{})}),(0,r.jsx)("ul",{children:null==O||null==(n=O.sort((e,t)=>
1e.name>t.name?1:-1))?void 0:n.map(e=>(0,r.jsx)("li",{children:(0,r.jsxs)("button",{title:e.name,onClick:()=>(e=>{if(C(),m[v]){var t;E.push(null==m||null==(t=m[v])?void 0:t.call(m,e))}})(e.id),className:(0,a.A)("w-full px-4 py-2 text-left rounded-lg transition ease-in-out flex",g.id===e.id?"bg-theme-primary-50 hover:bg-theme-primary-100 text-theme-primary-600 hover:text-theme-primary-700":"hover:bg-theme-primary-50 hover:text-theme-primary-600"),children:[(0,r.jsx)("span",{children:e.name}),(0,r.jsx)("span",{className:"px-1 py-0.5 ml-2 text-xs rounded-md bg-slate-200 text-slate-600",children:e.count})]})},e.name))})]})]})},v=e=>{var t,n,i,s,c,d,m,v,y;let{query:b,className:w,breadcrumbs:x,lastItem:E}=e,R=(0,h.r)(),S={},j=null;R.pathname===p.t.category.pathname&&(S={categories:null==R||null==(d=R.query)?void 0:d.id}),R.pathname===p.t.priceCategory.pathname&&(S={priceCategories:null==R||null==(m=R.query)?void 0:m.id}),R.pathname===p.t.brand.pathname&&(S={brands:null==R||null==(v=R.query)?void 0:v.id}),R.pathname===p.t.manufacturer.pathname&&(S={manufacturers:null==R||null==(y=R.query)?void 0:y.id}),R.pathname===p.t.novelties.pathname&&(S={novelty:"true"}),(null==b?void 0:b.category)&&(S={categories:null==b?void 0:b.category}),(null==b?void 0:b.priceCategories)&&(S={priceCategories:null==b?void 0:b.priceCategories});let C=(0,o.i)({variables:(0,o.F)(S),skip:!Object.keys(S).length||!!x});return(null==(j=x||C.data)?void 0:j.pathway)?(E&&(j={...j,pathway:[...j.pathway,E]}),(0,r.jsxs)("ul",{itemScope:!0,itemType:"http://schema.org/BreadcrumbList",className:(0,a.A)("flex items-center  overflow-x-auto overflow-y-hidden text-xs text-accents-7 leading-none whitespace-nowrap",w),children:[(null==(t=j.pathway)?void 0:t.length)&&(0,r.jsxs)("li",{className:"flex items-center",itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem",children:[(0,r.jsx)(u.N,{href:"/",itemProp:"item",children:(0,r.jsx)(l.A,{itemProp:"name",children:"Главная"})}),(0,r.jsx)("meta",{itemProp:"position",content:"1"}),(0,r.jsx)(f.c,{className:"inline-block w-2 h-2 mx-3"})]}),null==(n=j.pathway)?void 0:n.map((e,t)=>(0,r.jsxs)("li",{className:"flex items-center leading-none",itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem",children:[(0,r.jsx)(g,{type:null==j?void 0:j.type,breadcrumbsQuery:{[j.type]:e.id},selected:e,isLast:t+1>=j.pathway.length,disableLastLink:!!E,children:(0,r.jsx)(r.Fragment,{children:e.name})}),(0,r.jsx)("meta",{itemProp:"position",content:"".concat(t+2)}),j.pathway.length>t+1?(0,r.jsx)(f.c,{className:"inline-block w-2 mx-3"}):null]},e.id)),!!(null==j||null==(i=j.children)?void 0:i.length)&&(0,r.jsx)("li",{children:(0,r.jsx)(g,{type:null==j?void 0:j.type,list:null==j?void 0:j.children,selected:null==j||null==(c=j.pathway)?void 0:c[(null==j||null==(s=j.pathway)?void 0:s.length)-1],isLast:!0,children:(0,r.jsx)("div",{className:"flex items-center h-4 px-1 mx-3 transition ease-in-out rounded-full bg-theme-primary-100 hover:bg-theme-primary-100 hover:text-theme-primary-600",children:(0,r.jsx)(f.c,{className:"inline-block w-2"})})})})]})):null},y=["/"],b=e=>{var t;let{query:n,className:i}=e,o=(0,h.r)();if(y.includes(o.route))return null;let c={"/orders":[{href:"/profile",name:"Личный кабинет"},{href:"/orders",name:"Заказы"}],"/debts":[{href:"/profile",name:"Личный кабинет"},{href:"/debts",name:"Дебиторская задолженность"}],"/profile":[{href:"/profile",name:"Личный кабинет"}],"/checkout":[{href:"/checkout",name:"Корзина"}],"/nplusx":[{href:"/nplusx",name:"Подарок за покупку"}],"/orders/[id]":[{href:"/profile",name:"Личный кабинет"},{href:"/orders",name:"Заказы"},{href:o.asPath,name:"".concat((null==(t=o.query)?void 0:t.id)||"")}],"/favorites":[{href:"/profile",name:"Личный кабинет"},{href:"/favorites",name:"Избранное"}],"/favorites/[id]":[{href:"/profile",name:"Личный кабинет"},{href:"/favorites",name:"Избранное"}],"/autoorder":[{href:"/profile",name:"Личный кабинет"},{href:"/autoorder",name:"Автозаказ"}],"/autoorder/[id]":[{href:"/profile",name:"Личный кабинет"},{href:"/autoorder",name:"Автозаказ"}],"/autoorder/create":[{href:"/profile",name:"Личный кабинет"},{href:"/autoorder",name:"Автозаказ"},{href:"/autoorder/create",name:"Новый список"}],"/price-maker":[{href:"/price-maker",name:"Прайс-лист"}],"/products-file":[{href:"/products-file",name:"Заказ из файла"}],"/novelties":[{href:"/novelties",name:"Новинки"}],"/contacts":[{href:"/contacts",name:"Контакты"}
1],"/analytics":[{href:"/analytics",name:"Мои покупки"}],[p.t.dostavkaIOplata.getRoute()]:[{href:p.t.dostavkaIOplata.getRoute(),name:"Доставка и оплата"}],[p.t.futurePrices.getRoute()]:[{href:p.t.futurePrices.getRoute(),name:"Планируемые изменения цен"}],[p.t.publicOffer.getRoute()]:[{href:p.t.publicOffer.getRoute(),name:"Публичная оферта"}],[p.t.privacy.getRoute()]:[{href:p.t.privacy.getRoute(),name:"Согласие на обработку персональных данных"}]}[o.route];return c?(0,r.jsx)(s.m,{clean:!0,children:(0,r.jsxs)("ul",{itemScope:!0,itemType:"http://schema.org/BreadcrumbList",className:(0,a.A)("flex items-center overflow-x-auto text-xs text-accents-7  leading-none",i),children:[(0,r.jsxs)("li",{className:"flex items-center",itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem",children:[(0,r.jsx)(u.N,{href:"/",className:"py-4",itemProp:"item",children:(0,r.jsx)(l.A,{itemProp:"name",children:"Главная"})}),(0,r.jsx)("meta",{itemProp:"position",content:"1"}),(0,r.jsx)(f.c,{className:"inline-block w-2 h-2 mx-3"})]}),null==c?void 0:c.map((e,t)=>(0,r.jsxs)("li",{className:"flex items-center",itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem",children:[c.length>t+1?(0,r.jsx)(u.N,{href:e.href,className:"whitespace-nowrap",itemProp:"item",children:(0,r.jsx)(l.A,{itemProp:"name",children:e.name})}):(0,r.jsx)("span",{itemProp:"item",children:(0,r.jsx)("span",{itemProp:"name",children:e.name})}),(0,r.jsx)("meta",{itemProp:"position",content:"".concat(t+2)}),c.length>t+1?(0,r.jsx)(f.c,{className:"inline-block w-2 h-2 mx-3"}):null]},e.href))]})}):null}},73409:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var r=n(86392),i=n(31898);function o(e,t,n){let o=(0,i.a)(e,null==n?void 0:n.in);return isNaN(t)?(0,r.w)((null==n?void 0:n.in)||e,NaN):(t&&o.setDate(o.getDate()+t),o)}},73716:(e,t,n)=>{"use strict";n.d(t,{Em:()=>r.Em,O$:()=>r.O$,bP:()=>r.bP});var r=n(93694)},73843:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(37876),i=n(14232),o=n(49995);let a=i.forwardRef((e,t)=>{let{children:n,selected:i,className:a,href:l,onClick:s,target:u,disabled:c,...d}=e;return(0,r.jsx)("span",{onClick:s,className:(0,o.A)("transition ease-in-out",a,c?"opacity-50 pointer-events-none":"hover:underline cursor-pointer hover:text-theme-primary-700",{"text-theme-primary-700 hover:text-theme-primary-800":i}),...d,children:n})})},73872:(e,t,n)=>{"use strict";function r(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];if(e in t){let n=t[e];return"function"==typeof n?n(...i):n}let a=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(a,r),a}n.d(t,{Y:()=>r})},74536:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var r=n(37876),i=n(48230),o=n.n(i),a=n(89099);n(14232);var l=n(49995);let s=e=>{let{tabs:t,onClick:n,tab:i}=e,s=(0,a.useRouter)();return(0,r.jsx)("div",{className:"flex my-4 overflow-auto",children:null==t?void 0:t.map(e=>e.href?(0,r.jsx)(o(),{href:e.href,className:(0,l.A)("inline-block mr-4 border-b-2 text-lg whitespace-nowrap",(s.pathname.includes(e.href)||s.asPath===e.href)&&"text-theme-primary-700 border-theme-primary-700"),children:e.name},e.href):(0,r.jsx)("button",{onClick:()=>n(e),className:(0,l.A)("inline-block mr-4 border-b-2 text-lg whitespace-nowrap",i.name===e.name&&"text-theme-primary-700 border-theme-primary-700"),children:e.name},e.name))})}},75556:(e,t,n)=>{"use strict";n.d(t,{YM:()=>a});var r=n(64527),i=n(24044),o=function(e){return e.ORDER_CREATED="ORDER_CREATED",e.PRICE_DOWNLOAD_PRODUCTS_LIST="PRICE_DOWNLOAD_PRODUCTS_LIST",e.SEARCH_USED="SEARCH_USED",e.CATEGORIES_USED="CATEGORIES_USED",e.PRICE_CATEGORIES_USED="PRICE_CATEGORIES_USED",e.PRICE_DOWNLOAD_CUSTOMIZED="PRICE_DOWNLOAD_CUSTOMIZED",e.BRANDS_USED="BRANDS_USED",e.ADD_TO_CART_BOX="ADD_TO_CART_BOX",e}(o||{});let a={goals:{ORDER_CREATED:"ORDER_CREATED",PRICE_DOWNLOAD_PRODUCTS_LIST:"PRICE_DOWNLOAD_PRODUCTS_LIST",SEARCH_USED:"SEARCH_USED",CATEGORIES_USED:"
1CATEGORIES_USED",PRICE_CATEGORIES_USED:"PRICE_CATEGORIES_USED",PRICE_DOWNLOAD_CUSTOMIZED:"PRICE_DOWNLOAD_CUSTOMIZED",BRANDS_USED:"BRANDS_USED",ADD_TO_CART_BOX:"ADD_TO_CART_BOX"},goal:e=>{var t,n;(0,i.E)(null==(t=window)?void 0:t.ym)&&!r.LQ&&(null==(n=window)||n.ym(r.Ng,"reachGoal",e)),r.LQ&&console.info("YANDEX METRIKA: ".concat(e))}}},75887:(e,t,n)=>{"use strict";n.d(t,{N:()=>i(),_:()=>l});var r=n(48230),i=n.n(r),o=n(37876);n(14232);var a=n(49995);let l=e=>{let{children:t,className:n,...r}=e;return(0,o.jsx)(i(),{className:(0,a.A)("transition ease-in-out hover:text-theme-primary-600 activ:text-theme-primary-700 hover:underline",n),...r,children:t})}},76496:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(37876);let i=e=>{let{...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",...t,children:(0,r.jsx)("path",{d:"M6.176 1.322l2.844-1.322 4.041 7.89-2.724 1.341c-.538 1.259 2.159 6.289 3.297 6.372.09-.058 2.671-1.328 2.671-1.328l4.11 7.932s-2.764 1.354-2.854 1.396c-7.862 3.591-19.103-18.258-11.385-22.281zm1.929 1.274l-1.023.504c-
15.294 2.762 4.177 21.185 9.648 18.686l.971-.474-2.271-4.383-1.026.5c-3.163 1.547-8.262-8.219-5.055-9.938l1.007-.497-2.251-4.398z"})})}},76784:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(37876);let i=e=>{let{...t}=e;return(0,r.jsxs)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"none",shapeRendering:"geometricPrecision",...t,children:[(0,r.jsx)("path",{d:"M18 6L6 18"}),(0,r.jsx)("path",{d:"M6 6l12 12"})]})}},77328:(e,t,n)=>{e.exports=n(29269)},78311:(e,t,n)=>{"use strict";n.d(t,{F:()=>r.F});var r=n(76784)},79024:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});var r=n(14232);function i(e,t){let[n,i]=(0,r.useState)(e);return(0,r.useEffect)(()=>{let n=setTimeout(()=>{i(e)},t);return()=>{clearTimeout(n)}},[e,t]),n}},79438:(e,t,n)=>{"use strict";n.d(t,{_:()=>a});var r=Object.defineProperty,i=(e,t,n)=>(((e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n);class o{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){i(this,"current",this.detect()),i(this,"handoffState","pending"),i(this,"currentId",0)}}let a=new o},79523:(e,t,n)=>{"use strict";n.d(t,{I:()=>i});var r=n(37876);let i=e=>{let{...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",...t,children:(0,r.jsx)("path",{d:"M15 21c0 1.598-1.392 3-2.971 3s-3.029-1.402-3.029-3h6zm.137-17.055c-.644-.374-1.042-1.07-1.041-1.82v-.003c.001-1.172-.938-2.122-2.096-2.122s-2.097.95-2.097 2.122v.003c.001.751-.396 1.446-1.041 1.82-4.668 2.709-1.985 11.715-6.862 13.306v1.749h20v-1.749c-4.877-1.591-2.193-10.598-6.863-13.306zm-3.137-2.945c.552 0 1 .449 1 1 0 .552-.448 1-1 1s-1-.448-1-1c0-.551.448-1 1-1zm-6.451 16c1.189-1.667 1.605-3.891 1.964-5.815.447-2.39.869-4.648 2.354-5.509 1.38-.801 2.956-.76 4.267 0 1.485.861 1.907 3.119 2.354 5.509.359 1.924.775 4.148 1.964 5.815h-12.903z"})})}},79571:e=>{e.exports={root:"Sidebar_root__p6uYQ",parent:"Sidebar_parent__TbrzW",children:"Sidebar_children__E_hcd"}},81194:(e,t,n)=>{"use strict";n.d(t,{r:()=>i});var r=n(37876);let i=e=>{let{...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",stroke:"none",...t,children:(0,r.jsx)("path",{d:"M12 3c5.514 0 10 3.592 10 8.007 0 4.917-5.145 7.961-9.91 7.961-1.937 0-3.383-.397-4.394-.644-1 .613-1.595 1.037-4.272 1.82.535-1.373.723-2.748.602-4.265-.838-1-2.025-2.4-2.025-4.872-.001-4.415 4.485-8.007 9.999-8.007zm0-2c-6.338 0-12 4.226-12 10.007 0 2.05.738 4.063 2.047 5.625.055 1.83-1.023 4.456-1.993 6.368 2.602-.47 6.301-1.508 7.978-2.536 1.418.345 2.775.503 4.059.503 7.084 0 11.91-4.837 11.91-9.961-.001-5.811-5.702-10.006-12.001-10.006zm-3.5 10c0 .829-.671 1.5-1.5 1.5-.828 0-1.5-.671-1.5-1.5s.672-1.5 1.5-1.5c.829 0 1.5.671 1.5 1.5zm3.5-1.5c-.828 0-1.5.671-1.5 1.5s.672 1.5 1.5 1.5c.829 0 1.5-.671 1.5-1.5s-.671-1.5-1.5-1.5zm5 0c-.828 0-1.5.671-1.5 1.5s.672 1.5 1.5 1.5c.829 0 1.5-.671 1.5-1.5s-.671-1.5-1.5-1.5z"})})}},81370:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,o=s(e),a=o[0],l=o[1],u=new i((a+l)*3/4-l),c=0,d=l>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,l=r-i;a<l;a+=16383)o.push(function(e,t,r){for(var i,o=[],a=t;a<r;a+=3)i=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(n[i>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(e,a,a+16383>l?l:a+16383));return 1===i?o.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&o.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",a=0,l=o.length;a<l;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r[45]=62,r[95]=63},82406:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(31898);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}},82417:(e,t,n)=>{"use strict";n.d(t,{t:()=>a});var r=n(37876),i=n(14232),o=n(49995);let a=e=>{let{className:t,onCancel:n,onConfirm:a,label:l,labelConfirm:s,labelCancel:u}=e,[c,d]=(0,i.useState)(!1);return c?(0,r.jsxs)("div",{className:(0,o.A)("flex space-x-4 whitespace-nowrap",t),children:[(0,r.jsx)("button",{className:"py-2 transition ease-in-out hover:text-theme-primary-700",onClick:e=>{e.stopPropagation(),e.stopPropagation(),d(!1),n&&n()},children:u}),(0,r.jsx)("button",{onClick:e=>{e.stopPropagation(),a()},className:"py-2 text-red-500 transition ease-in-out hover:text-red-600 active:text-red-800",children:s})]}):(0,r.jsx)("div",{className:(0,o.A)(t),children:(0,r.jsx)("button",{className:"py-2 transition ease-in-out whitespace-nowrap hover:text-theme-primary-700",onClick:e=>{e.stopPropagation(),d(!0)},children:l})})}},82899:(e,t,n)=>{"use strict";n.d(t,{g:()=>r.gG});var r=n(84604)},82909:(e,t,n)=>{"use strict";var r=n(81370),i=n(87247),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return s(e,t,n)}function s(e,t,n){if("string"==typeof e){var r=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!l.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|p(r,i),s=a(o),u=s.write(r,i);return u!==o&&(s=s.slice(0,u)),s}if(ArrayBuffer.isView(e)){var c=e;if(P(c,Uint8Array)){var m=new Uint8Array(c);return f(m.buffer,m.byteOffset,m.byteLength)}return d(c)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(P(e,ArrayBuffer)||e&&P(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(P(e,SharedArrayBuffer)||e&&P(e.buffer,SharedArrayBuffer)))return f(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var g=e.valueOf&&e.valueOf();if(null!=g&&g!==e)return l.from(g,t,n);var v=function(e){if(l.isBuffer(e)){var t=0|h(e.length),n=a(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(v)return v;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|h(e))}function d(e){for(var t=e.length<0?0:0|h(e.length),n=a(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function f(e,t,n){var r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),l.prototype),r}function h(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||P(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return C(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return O(e).length;default:if(i)return r?-1:C(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){var i,o,a,l=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=k[e[o]];return i}(this,t,n);case"utf8":case"utf-8":return b(this,t,n);case"ascii":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}(this,t,n);case"base64":return i=this,o=t,a=n,0===o&&a===i.length?r.fromByteArray(i):r.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}(this,t,n);default:if(l)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),l=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){var o;if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>0x7fffffff?n=0x7fffffff:n<-0x80000000&&(n=-0x80000000),(o=n*=1)!=o&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length)if(i)return -1;else n=e.length-1;else if(n<0)if(!i)return -1;else n=0;if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,n);else return Uint8Array.prototype.lastIndexOf.call(e,t,n);return y(e,[t],n,r,i)}throw TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var o,a=1,l=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,l/=2,s/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<l;
vendor: 13,796 bytes, line 1
1o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===s)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(n+s>l&&(n=l-s),o=n;o>=0;o--){for(var d=!0,f=0;f<s;f++)if(u(e,o+f)!==u(t,f)){d=!1;break}if(d)return o}return -1}function b(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,l,s,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(s=(31&u)<<6|63&o)>127&&(c=s);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(s=(15&u)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:o=e[i+1],a=e[i+2],l=e[i+3],(192&o)==128&&(192&a)==128&&(192&l)==128&&(s=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&l)>65535&&s<1114112&&(c=s)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}var f=r,h=f.length;if(h<=4096)return String.fromCharCode.apply(String,f);for(var p="",m=0;m<h;)p+=String.fromCharCode.apply(String,f.slice(m,m+=4096));return p}function w(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function x(e,t,n,r,i,o){if(!l.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function E(e,t,n,r,i,o){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function R(e,t,n,r,o){return t*=1,n>>>=0,o||E(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function S(e,t,n,r,o){return t*=1,n>>>=0,o||E(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.hp=l,t.IS=50,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return s(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},l.allocUnsafe=function(e){return c(e)},l.allocUnsafeSlow=function(e){return c(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(P(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),P(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;var n,r=l.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(P(o,Uint8Array))i+o.length>r.length?l.from(o).copy(r,i):Uint8Array.prototype.set.call(r,o,i);else if(l.isBuffer(o))o.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return r},l.byteLength=p,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):m.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.IS;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,i){if(P(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,a=n-t,s=Math.min(o,a),u=this.slice(r,i),c=e.slice(t,n),d=0;d<s;++d)if(u[d]!==c[d]){o=u[d],a=c[d];break}return o<a?-1:+(a<o)},l.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,l,s,u,c,d,f=this.length-t;if((void 0===n||n>f)&&(n=f),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var h=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a<r;++a){var l,s=parseInt(t.substr(2*a,2),16);if((l=s)!=l)break;e[n+a]=s}return a}(this,e,t,n);case"utf8":case"utf-8":return i=t,o=n,T(C(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=t,l=n,T(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(e),this,a,l);case"base64":return s=t,u=n,T(O(e),this,s,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=n,T(function(e,t){for(var n,r,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(e,this.length-c),this,c,d);default:if(h)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),h=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?0xffff0000|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?0xffff0000|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){if(e*=1,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;x(this,e,t,n,i,0)}var o=1,a=0;for(this[t]=255&e;++a<n&&(o*=256);)this[t+a]=e/o&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,r){if(e*=1,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;x(this,e,t,n,i,0)}var o=n-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e*=1,t>>>=0,!r){var i=Math.pow(2,8*n-1);x(this,e,t,n,i-1,-i)}var o=0,a=1,l=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===l&&0!==this[t+o-1]&&(l=1),this[t+o]=(e/a|0)-l&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e*=1,t>>>=0,!r){var i=Math.pow(2,8*n-1);x(this,e,t,n,i-1,-i)}var o=n-1,a=1,l=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===l&&0!==this[t+o+1]&&(l=1),this[t+o]=(e/a|0)-l&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return S(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return S(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=l.isBuffer(e)?e:l.from(e,r),s=a.length;
1if(0===s)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var j=/[^+/0-9A-Za-z-_]/g;function C(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319||a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function O(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function P(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var k=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}()},83320:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(14232);function i(e){return[e.screenX,e.screenY]}function o(){let e=(0,r.useRef)([-1,-1]);return{wasMoved(t){let n=i(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=i(t)}}}},84163:(e,t,n)=>{"use strict";n.d(t,{BD:()=>s,Bm:()=>h,CU:()=>b,Fh:()=>p,MZ:()=>f,Me:()=>u,Uo:()=>a,p9:()=>y,pW:()=>g,wl:()=>v});var r=n(19314),i=n(73872),o=n(91222);let a=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(","),l=["[data-autofocus]"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var s=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(s||{}),u=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(u||{}),c=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(c||{});function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(a)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var f=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(f||{});function h(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,o.T)(e))?void 0:t.body)&&(0,i.Y)(n,{0:()=>e.matches(a),1(){let t=e;for(;null!==t;){if(t.matches(a))return!0;t=t.parentElement}return!1}})}function p(e){let t=(0,o.T)(e);(0,r.e)().nextFrame(()=>{t&&!h(t.activeElement,0)&&g(e)})}var m=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(m||{});function g(e){null==e||e.focus({preventScroll:!0})}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let o=r.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function y(e,t){return b(d(),t,{relativeTo:e})}function b(e,t){var n,r,i;let{sorted:o=!0,relativeTo:a=null,skipElements:s=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,c=Array.isArray(e)?o?v(e):e:64&t?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(l)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):d(e);s.length>0&&c.length>1&&(c=c.filter(e=>!s.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),a=null!=a?a:u.activeElement;let f=(()=>
1{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,c.indexOf(a))-1;if(4&t)return Math.max(0,c.indexOf(a))+1;if(8&t)return c.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),p=32&t?{preventScroll:!0}:{},m=0,g=c.length,y;do{if(m>=g||m+g<=0)return 0;let e=h+m;if(16&t)e=(e+g)%g;else{if(e<0)return 3;if(e>=g)return 1}null==(y=c[e])||y.focus(p),m+=f}while(y!==u.activeElement);return 6&t&&null!=(i=null==(r=null==(n=y)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&i&&y.select(),2}"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},84361:(e,t,n)=>{"use strict";n.d(t,{GP:()=>A,Yq:()=>A});var r=n(43024),i=n(553),o=n(52505),a=n(27840),l=n(2364),s=n(31898);function u(e,t){let n=(0,s.a)(e,null==t?void 0:t.in);return n.setHours(0,0,0,0),n}var c=n(86952);function d(e,t){return(0,c.k)(e,{...t,weekStartsOn:1})}var f=n(86392);function h(e,t){let n=(0,s.a)(e,null==t?void 0:t.in),r=n.getFullYear(),i=(0,f.w)(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);let o=d(i),a=(0,f.w)(n,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);let l=d(a);return n.getTime()>=o.getTime()?r+1:n.getTime()>=l.getTime()?r:r-1}function p(e,t){var n,r,o,a,l,u,d,h;let p=(0,s.a)(e,null==t?void 0:t.in),m=p.getFullYear(),g=(0,i.q)(),v=null!=(h=null!=(d=null!=(u=null!=(l=null==t?void 0:t.firstWeekContainsDate)?l:null==t||null==(r=t.locale)||null==(n=r.options)?void 0:n.firstWeekContainsDate)?u:g.firstWeekContainsDate)?d:null==(a=g.locale)||null==(o=a.options)?void 0:o.firstWeekContainsDate)?h:1,y=(0,f.w)((null==t?void 0:t.in)||e,0);y.setFullYear(m+1,0,v),y.setHours(0,0,0,0);let b=(0,c.k)(y,t),w=(0,f.w)((null==t?void 0:t.in)||e,0);w.setFullYear(m,0,v),w.setHours(0,0,0,0);let x=(0,c.k)(w,t);return+p>=+b?m+1:+p>=+x?m:m-1}function m(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let g={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return m("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):m(n+1,2)},d:(e,t)=>m(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>m(e.getHours()%12||12,t.length),H:(e,t)=>m(e.getHours(),t.length),m:(e,t)=>m(e.getMinutes(),t.length),s:(e,t)=>m(e.getSeconds(),t.length),S(e,t){let n=t.length;return m(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},v={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},y={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return g.y(e,t)},Y:function(e,t,n,r){let i=p(e,r),o=i>0?i:1-i;return"YY"===t?m(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):m(o,t.length)},R:function(e,t){return m(h(e),t.length)},u:function(e,t){return m(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return m(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return m(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return g.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return m(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let o=function(e,t){let n=(0,s.a)(e,null==t?void 0:t.in);return Math.round(((0,c.k)(n,t)-function(e,t){var n,r,o,a,l,s,u,d;let h=(0,i.q)(),m=null!=(d=null!=(u=null!=(s=null!=(l=null==t?void 0:t.firstWeekContainsDate)?l:null==t||null==(r=t.locale)||null==(n=r.options)?void 0:n.firstWeekContainsDate)?s:h.firstWeekContainsDate)?u:null==(a=h.locale)||null==(o=a.options)?void 0:o.firstWeekContainsDate)?d:1,g=p(e,t),v=(0,f.w)((null==t?void 0:t.in)||e,0);return v.setFullYear(g,0,m),v.setHours(0,0,0,0),(0,c.k)(v,t)}(n,t))/l.my)+1}(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):m(o,t.length)},I:function(e,t,n){let r=function(e,t){let n=(0,s.a)(e,void 0);return Math.round((d(n)-function(e,t){let n=h(e,void 0),r=(0,f.w)(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),d(r)}(n))/l.my)+1}(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):m(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):g.d(e,t)},D:function(e,t,n){let r=function(e,t){let n=(0,s.a)(e,void 0);return function(e,t,n){let[r,i]=(0,a.x)(void 0,e,t),s=u(r),c=u(i);return Math.round((s-(0,o.G)(s)-(c-(0,o.G)(c)))/l.w4)}(n,function(e,t){let n=(0,s.a)(e,void 0);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}(n))+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):m(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return m(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return m(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return m(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r,i=e.getHours();
1switch(r=12===i?v.noon:0===i?v.midnight:i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r,i=e.getHours();switch(r=i>=17?v.evening:i>=12?v.afternoon:i>=4?v.morning:v.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return g.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):g.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):m(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):m(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):g.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):g.s(e,t)},S:function(e,t){return g.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return w(r);case"XXXX":case"XX":return x(r);default:return x(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return w(r);case"xxxx":case"xx":return x(r);default:return x(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+b(r,":");default:return"GMT"+x(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+b(r,":");default:return"GMT"+x(r,":")}},t:function(e,t,n){return m(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return m(+e,t.length)}};function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return 0===o?n+String(i):n+String(i)+t+m(o,2)}function w(e,t){return e%60==0?(e>0?"-":"+")+m(Math.abs(e)/60,2):x(e,t)}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Math.abs(e);return(e>0?"-":"+")+m(Math.trunc(n/60),2)+t+m(n%60,2)}let E=(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"})}},R=(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:R,P:(e,t)=>{let n,r=e.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return E(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",E(i,t)).replace("{{time}}",R(o,t))}},j=/^D+$/,C=/^Y+$/,O=["D","DD","YY","YYYY"],T=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,P=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,k=/^'([^]*?)'?$/,_=/''/g,N=/[a-zA-Z]/;function A(e,t,n){var o,a,l,u,c,d,f,h,p,m,g,v,b,w,x,E,R,A;let M=(0,i.q)(),L=null!=(m=null!=(p=null==n?void 0:n.locale)?p:M.locale)?m:r.c,D=null!=(w=null!=(b=null!=(v=null!=(g=null==n?void 0:n.firstWeekContainsDate)?g:null==n||null==(a=n.locale)||null==(o=a.options)?void 0:o.firstWeekContainsDate)?v:M.firstWeekContainsDate)?b:null==(u=M.locale)||null==(l=u.options)?void 0:l.firstWeekContainsDate)?w:1,F=null!=(A=null!=(R=null!=(E=null!=(x=null==n?void 0:n.weekStartsOn)?x:null==n||null==(d=n.locale)||null==(c=d.options)?void 0:c.weekStartsOn)?E:M.weekStartsOn)?R:null==(h=M.locale)||null==(f=h.options)?void 0:f.weekStartsOn)?A:0,I=(0,s.a)(e,null==n?void 0:n.in);if(!(I instanceof Date||"object"==typeof I&&"[object Date]"===Object.prototype.toString.call(I))&&"number"!=typeof I||isNaN(+(0,s.a)(I)))throw RangeError("Invalid time value");let B=t.match(P).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,S[t])(e,L.formatLong):e}).join("").match(T).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(k);return t?t[1].replace(_,"'"):e}(e)};if(y[t])return{isToken:!0,value:e};
1if(t.match(N))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});L.localize.preprocessor&&(B=L.localize.preprocessor(I,B));let U={firstWeekContainsDate:D,weekStartsOn:F,locale:L};return B.map(r=>{if(!r.isToken)return r.value;let i=r.value;return(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&C.test(i)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&j.test(i))&&function(e,t,n){let r=function(e,t,n){let r="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(r," to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(e,t,n);if(console.warn(r),O.includes(e))throw RangeError(r)}(i,t,String(e)),(0,y[i[0]])(I,i,L.localize,U)}).join("")}},84604:(e,t,n)=>{"use strict";n.d(t,{Qw:()=>r,cH:()=>a,gG:()=>o,zA:()=>i});var r=function(e){return e.discount="discount",e.nplusx="n+x",e}({}),i=function(e){return e.byQuantity="byQuantity",e.bySum="bySum",e}({}),o=function(e){return e.ROLE_MANAGER="ROLE_MANAGER",e.ROLE_USER="ROLE_USER",e.ROLE_ADMIN="ROLE_ADMIN",e}({}),a=function(e){return e.Draft="Draft",e}({})},85069:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(14232),i=n(19314);function o(){let[e]=(0,r.useState)(i.e);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}},85254:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var r=n(37876);n(14232);var i=n(49995);let o=e=>{let{children:t,className:n}=e;return(0,r.jsx)("div",{className:(0,i.A)("fixed bottom-0 z-0 w-full h-auto overflow-auto shadow-2xl bg-primary border-t",n),children:t})}},85712:(e,t,n)=>{"use strict";n.d(t,{r:()=>r.r});var r=n(14739)},86392:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(2364);function i(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&r._P in e?e[r._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},86581:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});let r=n(64252)._(n(14232)).default.createContext(null)},86762:(e,t,n)=>{"use strict";n.d(t,{$:()=>c});var r=n(37876),i=n(14232),o=n(9833),a=n.n(o),l=n(89255),s=n(49995);let u=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{for(let n of t)n.current=e}},c=(0,i.forwardRef)((e,t)=>{let{className:n,variant:o="default",children:c,active:d,width:f,loading:h=!1,disabled:p=!1,fullWidth:m=!1,style:g={},Component:v="button",...y}=e,b=(0,i.useRef)(null),w=(0,s.A)(a().root,"default"===o&&a().default,"muted"===o&&a().muted,"slim"===o&&a().slim,m&&a().fullWidth,p&&a().disabled,n);return(0,r.jsxs)(v,{ref:u([b,t]),className:w,disabled:p,style:{width:f,...g},...y,children:[c,h&&(0,r.jsx)("i",{className:"flex pl-2 m-0",children:(0,r.jsx)(l.X,{})})]})})},86952:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(553),i=n(31898);function o(e,t){var n,o,a,l,s,u,c,d;let f=(0,r.q)(),h=null!=(d=null!=(c=null!=(u=null!=(s=null==t?void 0:t.weekStartsOn)?s:null==t||null==(o=t.locale)||null==(n=o.options)?void 0:n.weekStartsOn)?u:f.weekStartsOn)?c:null==(l=f.locale)||null==(a=l.options)?void 0:a.weekStartsOn)?d:0,p=(0,i.a)(e,null==t?void 0:t.in),m=p.getDay();return p.setDate(p.getDate()-(7*(m<h)+m-h)),p.setHours(0,0,0,0),p}},87247:(e,t)=>{t.read=function(e,t,n,r,i){var o,a,l=8*i-r-1,s=(1<<l)-1,u=s>>1,c=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-c)-1,h>>=-c,c+=l;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-u;else{if(o===s)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,l,s,u=8*o-i-1,c=(1<<u)-1,d=c>>1,f=5960464477539062e-23*(23===i),h=r?0:o-1,p=r?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(l=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),a+d>=1?t+=f/s:t+=f*Math.pow(2,1-d),t*s>=2&&(a++,s/=2),a+d>=c?(l=0,a=c):a+d>=1?(l=(t*s-1)*Math.pow(2,i),a+=d):(l=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&l,h+=p,l/=256,i-=8);for(a=a<<i|l,u+=i;u>0;e[n+h]=255&a,h+=p,a/=256,u-=8);e[n+h-p]|=128*m}},87907:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var r=n(14232);function i(e){return(0,r.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}}
1,88193:(e,t,n)=>{"use strict";n.d(t,{D3:()=>d,D8:()=>l,T7:()=>a,VJ:()=>c,XC:()=>u,gW:()=>s,uf:()=>o});var r=n(73716),i=n(69582);let o=e=>(0,r.bP)(i.n.userMe.getRoute()),a=e=>r.Em.patch(i.n.userMe.getRoute(),e),l=e=>r.Em.post(i.n.login.getRoute(),e),s=()=>r.Em.delete(i.n.login.getRoute()),u=e=>r.Em.get((0,r.O$)({href:i.n.verificationCode.getRoute(),query:e})),c=e=>r.Em.post(i.n.changePassword.getRoute(),e),d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return null==e?void 0:e.some(e=>null==t?void 0:t.includes(e))}},89075:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var r=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(r||{})},89099:(e,t,n)=>{e.exports=n(16296)},89203:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let r=n(14232);function i(e,t){let n=(0,r.useRef)(null),i=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(n.current=o(e,r)),t&&(i.current=o(t,r))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("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)},89255:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var r=n(37876),i=n(51840),o=n.n(i);let a=()=>(0,r.jsxs)("span",{className:o().root,children:[(0,r.jsx)("span",{}),(0,r.jsx)("span",{}),(0,r.jsx)("span",{})]})},89319:(e,t,n)=>{"use strict";n.d(t,{_:()=>a});var r=n(37876),i=n(64527),o=n(89834);let a=e=>{let{lazy:t=!0,itemProp:n,...a}=e;return(0,r.jsx)("img",{fetchPriority:t?"auto":"high",loading:t?"lazy":"eager",src:"".concat(a.src,"?").concat(new URLSearchParams((0,o.U)({w:a.height?null:a.width,h:a.height}))),alt:null==a?void 0:a.alt,style:{backgroundImage:"url(".concat(i.wr,")"),backgroundSize:"contain"},itemProp:n})}},89834:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});var r=n(24044);let i=e=>Object.keys(e).reduce((t,n)=>((0,r.P)(e[n])&&(t[n]=e[n]),t),{})},90226:(e,t,n)=>{"use strict";n.d(t,{v:()=>c});var r=n(19314),i=n(91222),o=n(3673),a=n(62214);let l=new Map,s=new Map;function u(e){var t;let n=null!=(t=s.get(e))?t:0;return s.set(e,n+1),0!==n||(l.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>(function(e){var t;let n=null!=(t=s.get(e))?t:1;if(1===n?s.delete(e):s.set(e,n-1),1!==n)return;let r=l.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,l.delete(e))})(e)}function c(e){let{allowed:t,disallowed:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=(0,o.S)(e,"inert-others");(0,a.s)(()=>{var e,o;if(!l)return;let a=(0,r.e)();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&a.add(u(t));let s=null!=(o=null==t?void 0:t())?o:[];for(let e of s){if(!e)continue;let t=(0,i.T)(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)s.some(t=>e.contains(t))||a.add(u(e));n=n.parentElement}}return a.dispose},[l,t,n])}},90295:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let r=n(64252)._(n(14232)),i=n(86581),o=[],a=[],l=!1;function s(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e}
1,this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function s(){if(!o){let t=new u(e,n);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!l){let e=n.webpack&&1?n.webpack():n.modules;e&&a.push(t=>{for(let n of e)if(t.includes(n))return s()})}function c(e,t){s();let a=r.default.useContext(i.LoadableContext);a&&Array.isArray(n.modules)&&n.modules.forEach(e=>{a(e)});let l=r.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return r.default.useImperativeHandle(t,()=>({retry:o.retry}),[]),r.default.useMemo(()=>{var t;return l.loading||l.error?r.default.createElement(n.loading,{isLoading:l.loading,pastDelay:l.pastDelay,timedOut:l.timedOut,error:l.error,retry:o.retry}):l.loaded?r.default.createElement((t=l.loaded)&&t.default?t.default:t,e):null},[e,l])}return c.preload=()=>s(),c.displayName="LoadableComponent",r.default.forwardRef(c)}(s,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{d(o).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(l=!0,t());d(a,e).then(n,n)})),window.__NEXT_PRELOADREADY=c.preloadReady;let f=c},91222:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(79438);function i(e){return r._.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},92227:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(37876);let i=e=>{let{...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",...t,children:(0,r.jsx)("path",{d:"M4 16v-8h2v8h-2zm12 0v-8h2v8h-2zm-9 0v-8h1v8h-1zm2 0v-8h2v8h-2zm3 0v-8h1v8h-1zm2 0v-8h1v8h-1zm5 0v-8h1v8h-1zm-1-10h4v4h2v-6h-6v2zm-16 4v-4h4v-2h-6v6h2zm4 8h-4v-4h-2v6h6v-2zm16-4v4h-4v2h6v-6h-2z"})})}},93120:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(14232),i=n(62214);function o(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],[n,o]=(0,r.useReducer)(()=>({}),{}),a=(0,r.useMemo)(()=>(function(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}})(e),[e,n]);return(0,i.s)(()=>{if(!e)return;let t=new ResizeObserver(o);return t.observe(e),()=>{t.disconnect()}},[e]),t?{width:"".concat(a.width,"px"),height:"".concat(a.height,"px")}:a}},93247:(e,t,n)=>{"use strict";n.d(t,{Ee:()=>x,ZL:()=>E,k2:()=>b});var r=n(14232),i=n(98477),o=n(49266),a=n(62214),l=n(93986),s=n(21217),u=n(54058),c=n(26),d=n(66924),f=n(79438),h=n(70367);let p=r.Fragment,m=(0,h.FX)(function(e,t){let n=(0,r.useRef)(null),o=(0,c.P)((0,c.a)(e=>{n.current=e}),t),m=(0,s.g)(n),g=function(e){let t=(0,d.S)(),n=(0,r.useContext)(v),i=(0,s.g)(e),[o,a]=(0,r.useState)(()=>{var e;if(!t&&null!==n)return null!=(e=n.current)?e:null;if(f._.isServer)return null;let r=null==i?void 0:i.getElementById("headlessui-portal-root");if(r)return r;if(null===i)return null;let o=i.createElement("div");return o.setAttribute("id","headlessui-portal-root"),i.body.appendChild(o)});return(0,r.useEffect)(()=>{null!==o&&(null!=i&&i.body.contains(o)||null==i||i.body.appendChild(o))},[o,i]),(0,r.useEffect)(()=>{t||null!==n&&a(n.current)},[n,a,t]),o}(n),[b]=(0,r.useState)(()=>{var e;return f._.isServer?null:null!=(e=null==m?void 0:m.createElement("div"))?e:null}),w=(0,r.useContext)(y),x=(0,u.g)();(0,a.s)(()=>{!g||!b||g.contains(b)||(b.setAttribute("data-headlessui-portal",""),g.appendChild(b))},[g,b]),(0,a.s)(()=>{if(b&&w)return w.register(b)},[w,b]),(0,l.X)(()=>{var e;g&&b&&(b instanceof Node&&g.contains(b)&&g.removeChild(b),g.childNodes.length<=0&&(null==(e=g.parentElement)||e.removeChild(g)))});let E=(0,h.Ci)();return x&&g&&b?(0,i.createPortal)(E({ourProps:{ref:o},theirProps:e,slot:{},defaultTag:p,name:"Portal"}),b):null}),g=r.Fragment,v=(0,r.createContext)(null),y=(0,r.createContext)(null);function b(){let e=(0,r.useContext)(y),t=(0,r.useRef)([]),n=(0,o._)(n=>(t.current.push(n),e&&e.register(n),()=>i(n))),i=(0,o._)(n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)}),a=(0,r.useMemo)(()=>({register:n,unregister:i,portals:t}),[n,i,t]);return[t,(0,r.useMemo)(()=>function(e){let{children:t}=e;return r.createElement(y.Provider,{value:a},t)},[a])]}let w=(0,h.FX)(function(e,t){let n=(0,c.P)(t),{enabled:i=!0,...o}=e,a=(0,h.Ci)();return i?r.createElement(m,{...o,ref:n}):a({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:p,name:"Portal"})}),x=(0,h.FX)(function(e,t){let{target:n,...i}=e,o={ref:(0,c.P)(t)},a=(0,h.Ci)();return r.createElement(v.Provider,{value:n},a({ourProps:o,theirProps:i,defaultTag:g,name:"Popover.Group"}))}),E=Object.assign(w,{Group:x})}
1,93249:(e,t,n)=>{"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}n.d(t,{_:()=>r})},93694:(e,t,n)=>{"use strict";let r;n.d(t,{O$:()=>tf,Em:()=>tc,bP:()=>th});var i,o,a,l={};n.r(l),n.d(l,{hasBrowserEnv:()=>ep,hasStandardBrowserEnv:()=>eg,hasStandardBrowserWebWorkerEnv:()=>ev,navigator:()=>em,origin:()=>ey});var s=n(36922);function u(e,t){return function(){return e.apply(t,arguments)}}var c=n(65364);let{toString:d}=Object.prototype,{getPrototypeOf:f}=Object,{iterator:h,toStringTag:p}=Symbol,m=(e=>t=>{let n=d.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),g=e=>(e=e.toLowerCase(),t=>m(t)===e),v=e=>t=>typeof t===e,{isArray:y}=Array,b=v("undefined");function w(e){return null!==e&&!b(e)&&null!==e.constructor&&!b(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let x=g("ArrayBuffer"),E=v("string"),R=v("function"),S=v("number"),j=e=>null!==e&&"object"==typeof e,C=e=>{if("object"!==m(e))return!1;let t=f(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(p in e)&&!(h in e)},O=g("Date"),T=g("File"),P=g("Blob"),k=g("FileList"),_=g("URLSearchParams"),[N,A,M,L]=["ReadableStream","Request","Response","Headers"].map(g);function D(e,t,{allOwnKeys:n=!1}={}){let r,i;if(null!=e)if("object"!=typeof e&&(e=[e]),y(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{let i;if(w(e))return;let o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;for(r=0;r<a;r++)i=o[r],t.call(null,e[i],i,e)}}function F(e,t){let n;if(w(e))return null;t=t.toLowerCase();let r=Object.keys(e),i=r.length;for(;i-- >0;)if(t===(n=r[i]).toLowerCase())return n;return null}let I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,B=e=>!b(e)&&e!==I,U=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&f(Uint8Array)),H=g("HTMLFormElement"),W=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),z=g("RegExp"),q=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};D(n,(n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)}),Object.defineProperties(e,r)},G=g("AsyncFunction"),Y=(i="function"==typeof setImmediate,o=R(I.postMessage),i?setImmediate:o?((e,t)=>(I.addEventListener("message",({source:n,data:r})=>{n===I&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),I.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e)),X="undefined"!=typeof queueMicrotask?queueMicrotask.bind(I):void 0!==c&&c.nextTick||Y,V={isArray:y,isArrayBuffer:x,isBuffer:w,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||R(e.append)&&("formdata"===(t=m(e))||"object"===t&&R(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&x(e.buffer)},isString:E,isNumber:S,isBoolean:e=>!0===e||!1===e,isObject:j,isPlainObject:C,isEmptyObject:e=>{if(!j(e)||w(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:N,isRequest:A,isResponse:M,isHeaders:L,isUndefined:b,isDate:O,isFile:T,isBlob:P,isRegExp:z,isFunction:R,isStream:e=>j(e)&&R(e.pipe),isURLSearchParams:_,isTypedArray:U,isFileList:k,forEach:D,merge:function e(){let{caseless:t}=B(this)&&this||{},n={},r=(r,i)=>{let o=t&&F(n,i)||i;C(n[o])&&C(r)?n[o]=e(n[o],r):C(r)?n[o]=e({},r):y(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&D(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(D(t,(t,r)=>{n&&R(t)?e[r]=u(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,a,l={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=!1!==n&&f(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:m,kindOfTest:g,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return -1!==r&&r===n},toArray:e=>{if(!e)return null;if(y(e))return e;let t=e.length;if(!S(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n}
1,forEachEntry:(e,t)=>{let n,r=(e&&e[h]).call(e);for(;(n=r.next())&&!n.done;){let r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let n,r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:H,hasOwnProperty:W,hasOwnProp:W,reduceDescriptors:q,freezeMethods:e=>{q(e,(t,n)=>{if(R(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(R(e[n])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(e,t)=>{let n={};return(y(e)?e:String(e).split(t)).forEach(e=>{n[e]=!0}),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:F,global:I,isContextDefined:B,isSpecCompliantForm:function(e){return!!(e&&R(e.append)&&"FormData"===e[p]&&e[h])},toJSONObject:e=>{let t=Array(10),n=(e,r)=>{if(j(e)){if(t.indexOf(e)>=0)return;if(w(e))return e;if(!("toJSON"in e)){t[r]=e;let i=y(e)?[]:{};return D(e,(e,t)=>{let o=n(e,r+1);
1b(o)||(i[t]=o)}),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:G,isThenable:e=>e&&(j(e)||R(e))&&R(e.then)&&R(e.catch),setImmediate:Y,asap:X,isIterable:e=>null!=e&&R(e[h])};function K(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}V.inherits(K,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:V.toJSONObject(this.config),code:this.code,status:this.status}}});let Q=K.prototype,J={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{J[e]={value:e}}),Object.defineProperties(K,J),Object.defineProperty(Q,"isAxiosError",{value:!0}),K.from=(e,t,n,r,i,o)=>{let a=Object.create(Q);return V.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),K.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var $=n(82909).hp;function Z(e){return V.isPlainObject(e)||V.isArray(e)}function ee(e){return V.endsWith(e,"[]")?e.slice(0,-2):e}function et(e,t,n){return e?e.concat(t).map(function(e,t){return e=ee(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let en=V.toFlatObject(V,{},null,function(e){return/^is[A-Z]/.test(e)}),er=function(e,t,n){if(!V.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let r=(n=V.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!V.isUndefined(t[e])})).metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&V.isSpecCompliantForm(t);if(!V.isFunction(i))throw TypeError("visitor must be a function");function s(e){if(null===e)return"";if(V.isDate(e))return e.toISOString();if(V.isBoolean(e))return e.toString();if(!l&&V.isBlob(e))throw new K("Blob is not supported. Use a Buffer instead.");return V.isArrayBuffer(e)||V.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):$.from(e):e}function u(e,n,i){let l=e;if(e&&!i&&"object"==typeof e)if(V.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else{var u;if(V.isArray(e)&&(u=e,V.isArray(u)&&!u.some(Z))||(V.isFileList(e)||V.endsWith(n,"[]"))&&(l=V.toArray(e)))return n=ee(n),l.forEach(function(e,r){V.isUndefined(e)||null===e||t.append(!0===a?et([n],r,o):null===a?n:n+"[]",s(e))}),!1}return!!Z(e)||(t.append(et(i,n,o),s(e)),!1)}let c=[],d=Object.assign(en,{defaultVisitor:u,convertValue:s,isVisitable:Z});if(!V.isObject(e))throw TypeError("data must be an object");return!function e(n,r){if(!V.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),V.forEach(n,function(n,o){!0===(!(V.isUndefined(n)||null===n)&&i.call(t,n,V.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])}),c.pop()}}(e),t};function ei(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function eo(e,t){this._pairs=[],e&&er(e,this,t)}let ea=eo.prototype;function el(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}
1function es(e,t,n){let r;if(!t)return e;let i=n&&n.encode||el;V.isFunction(n)&&(n={serialize:n});let o=n&&n.serialize;if(r=o?o(t,n):V.isURLSearchParams(t)?t.toString():new eo(t,n).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}ea.append=function(e,t){this._pairs.push([e,t])},ea.toString=function(e){let t=e?function(t){return e.call(this,t,ei)}:ei;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class eu{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){V.forEach(this.handlers,function(t){null!==t&&e(t)})}}let ec={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ed="undefined"!=typeof URLSearchParams?URLSearchParams:eo,ef="undefined"!=typeof FormData?FormData:null,eh="undefined"!=typeof Blob?Blob:null,ep="undefined"!=typeof window&&"undefined"!=typeof document,em="object"==typeof navigator&&navigator||void 0,eg=ep&&(!em||0>["ReactNative","NativeScript","NS"].indexOf(em.product)),ev="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ey=ep&&window.location.href||"http://localhost",eb={...l,isBrowser:!0,classes:{URLSearchParams:ed,FormData:ef,Blob:eh},protocols:["http","https","file","blob","url","data"]},ew=function(e){if(V.isFormData(e)&&V.isFunction(e.entries)){let t={};return V.forEachEntry(e,(e,n)=>{!function e(t,n,r,i){let o=t[i++];if("__proto__"===o)return!0;let a=Number.isFinite(+o),l=i>=t.length;return(o=!o&&V.isArray(r)?r.length:o,l)?V.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n:(r[o]&&V.isObject(r[o])||(r[o]=[]),e(t,n,r[o],i)&&V.isArray(r[o])&&(r[o]=function(e){let t,n,r={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)r[n=i[t]]=e[n];return r}(r[o]))),!a}(V.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),n,t,0)}),t}return null},ex={transitional:ec,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let n,r=t.getContentType()||"",i=r.indexOf("application/json")>-1,o=V.isObject(e);if(o&&V.isHTMLForm(e)&&(e=new FormData(e)),V.isFormData(e))return i?JSON.stringify(ew(e)):e;if(V.isArrayBuffer(e)||V.isBuffer(e)||V.isStream(e)||V.isFile(e)||V.isBlob(e)||V.isReadableStream(e))return e;if(V.isArrayBufferView(e))return e.buffer;if(V.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1){var a,l;return(a=e,l=this.formSerializer,er(a,new eb.classes.URLSearchParams,{visitor:function(e,t,n,r){return eb.isNode&&V.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...l})).toString()}if((n=V.isFileList(e))||r.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return er(n?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(o||i){t.setContentType("application/json",!1);var s=e;if(V.isString(s))try{return(0,JSON.parse)(s),V.trim(s)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(s)}return e}],transformResponse:[function(e){let t=this.transitional||ex.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(V.isResponse(e)||V.isReadableStream(e))return e;if(e&&V.isString(e)&&(n&&!this.responseType||r)){let n=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!n&&r){if("SyntaxError"===e.name)throw K.from(e,K.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eb.classes.FormData,Blob:eb.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};V.forEach(["delete","get","head","post","put","patch"],e=>{ex.headers[e]={}});let eE=V.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eR=Symbol("internals");function eS(e){return e&&String(e).trim().toLowerCase()}function ej(e){return!1===e||null==e?e:V.isArray(e)?e.map(ej):String(e)}function eC(e,t,n,r,i){if(V.isFunction(r))return r.call(this,t,n);if(i&&(t=n),V.isString(t)){if(V.isString(r))return -1!==t.indexOf(r);if(V.isRegExp(r))return r.test(t)}}class eO{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=eS(t);if(!i)throw Error("header name must be a non-empty string");let o=V.findKey(r,i);o&&void 0!==r[o]&&!0!==n&&(void 0!==n||!1===r[o])||(r[o||t]=ej(e))}let o=(e,t)=>V.forEach(e,(e,n)=>i(e,n,t));if(V.isPlainObject(e)||e instanceof this.constructor)o(e,t);else{let r;if(V.isString(e)&&(e=e.trim())&&(r=e,!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim())))o((e=>{let t,n,r,i={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||i[t]&&eE[t]||("set-cookie"===t?i[t]?i[t].push(n):i[t]=[n]:i[t]=i[t]?i[t]+", "+n:n)}),i})(e),t);else if(V.isObject(e)&&V.isIterable(e)){let n={},r,i;for(let t of e){if(!V.isArray(t))throw TypeError("Object iterator must return a key-value pair");n[i=t[0]]=(r=n[i])?V.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}o(n,t)}else null!=e&&i(t,e,n)}return this}get(e,t){if(e=eS(e)){let n=V.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t){let t,n=Object.create(null),r=/([^\s,;
1=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=r.exec(e);)n[t[1]]=t[2];return n}if(V.isFunction(t))return t.call(this,e,n);if(V.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eS(e)){let n=V.findKey(this,e);return!!(n&&void 0!==this[n]&&(!t||eC(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=eS(e)){let i=V.findKey(n,e);i&&(!t||eC(n,n[i],i,t))&&(delete n[i],r=!0)}}return V.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||eC(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return V.forEach(this,(r,i)=>{let o=V.findKey(n,i);if(o){t[o]=ej(r),delete t[i];return}let a=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(i).trim();a!==i&&delete t[i],t[a]=ej(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return V.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&V.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[eR]=this[eR]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=eS(e);if(!t[r]){let i=V.toCamelCase(" "+e);["get","set","has"].forEach(t=>{Object.defineProperty(n,t+i,{value:function(n,r,i){return this[t].call(this,e,n,r,i)},configurable:!0})}),t[r]=!0}}return V.isArray(e)?e.forEach(r):r(e),this}}function eT(e,t){let n=this||ex,r=t||n,i=eO.from(r.headers),o=r.data;return V.forEach(e,function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function eP(e){return!!(e&&e.__CANCEL__)}function ek(e,t,n){K.call(this,null==e?"canceled":e,K.ERR_CANCELED,t,n),this.name="CanceledError"}function e_(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new K("Request failed with status code "+n.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}eO.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),V.reduceDescriptors(eO.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),V.freezeMethods(eO),V.inherits(ek,K,{__CANCEL__:!0});let eN=function(e,t){let n,r=Array(e=e||10),i=Array(e),o=0,a=0;return t=void 0!==t?t:1e3,function(l){let s=Date.now(),u=i[a];n||(n=s),r[o]=l,i[o]=s;let c=a,d=0;for(;c!==o;)d+=r[c++],c%=e;if((o=(o+1)%e)===a&&(a=(a+1)%e),s-n<t)return;let f=u&&s-u;return f?Math.round(1e3*d/f):void 0}},eA=function(e,t){let n,r,i=0,o=1e3/t,a=(t,o=Date.now())=>{i=o,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{let t=Date.now(),l=t-i;l>=o?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},o-l)))},()=>n&&a(n)]},eM=(e,t,n=3)=>{let r=0,i=eN(50,250);return eA(n=>{let o=n.loaded,a=n.lengthComputable?n.total:void 0,l=o-r,s=i(l);r=o,e({loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&o<=a?(a-o)/s:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},eL=(e,t)=>{let n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},eD=e=>(...t)=>V.asap(()=>e(...t)),eF=eb.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,eb.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(eb.origin),eb.navigator&&/(msie|trident)/i.test(eb.navigator.userAgent)):()=>!0,eI=eb.hasStandardBrowserEnv?{write(e,t,n,r,i,o){let a=[e+"="+encodeURIComponent(t)];V.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),V.isString(r)&&a.push("path="+r),V.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function eB(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||!1==n)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eU=e=>e instanceof eO?{...e}:e;function eH(e,t){t=t||{};let n={};function r(e,t,n,r){return V.isPlainObject(e)&&V.isPlainObject(t)?V.merge.call({caseless:r},e,t):V.isPlainObject(t)?V.merge({},t):V.isArray(t)?t.slice():t}function i(e,t,n,i){return V.isUndefined(t)?V.isUndefined(e)?void 0:r(void 0,e,n,i):r(e,t,n,i)}function o(e,t){if(!V.isUndefined(t))return r(void 0,t)}function a(e,t){return V.isUndefined(t)?V.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}let s={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBo
1dyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(e,t,n)=>i(eU(e),eU(t),n,!0)};return V.forEach(Object.keys({...e,...t}),function(r){let o=s[r]||i,a=o(e[r],t[r],r);V.isUndefined(a)&&o!==l||(n[r]=a)}),n}let eW=e=>{let t,n=eH({},e),{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:a,headers:l,auth:s}=n;if(n.headers=l=eO.from(l),n.url=es(eB(n.baseURL,n.url,n.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&l.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),V.isFormData(r)){if(eb.hasStandardBrowserEnv||eb.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if(!1!==(t=l.getContentType())){let[e,...n]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];l.setContentType([e||"multipart/form-data",...n].join("; "))}}if(eb.hasStandardBrowserEnv&&(i&&V.isFunction(i)&&(i=i(n)),i||!1!==i&&eF(n.url))){let e=o&&a&&eI.read(a);e&&l.set(o,e)}return n},ez="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){let r,i,o,a,l,s=eW(e),u=s.data,c=eO.from(s.headers).normalize(),{responseType:d,onUploadProgress:f,onDownloadProgress:h}=s;function p(){a&&a(),l&&l(),s.cancelToken&&s.cancelToken.unsubscribe(r),s.signal&&s.signal.removeEventListener("abort",r)}let m=new XMLHttpRequest;function g(){if(!m)return;let r=eO.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());e_(function(e){t(e),p()},function(e){n(e),p()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(s.method.toUpperCase(),s.url,!0),m.timeout=s.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new K("Request aborted",K.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new K("Network Error",K.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded",r=s.transitional||ec;s.timeoutErrorMessage&&(t=s.timeoutErrorMessage),n(new K(t,r.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,m)),m=null},void 0===u&&c.setContentType(null),"setRequestHeader"in m&&V.forEach(c.toJSON(),function(e,t){m.setRequestHeader(t,e)}),V.isUndefined(s.withCredentials)||(m.withCredentials=!!s.withCredentials),d&&"json"!==d&&(m.responseType=s.responseType),h&&([o,l]=eM(h,!0),m.addEventListener("progress",o)),f&&m.upload&&([i,a]=eM(f),m.upload.addEventListener("progress",i),m.upload.addEventListener("loadend",a)),(s.cancelToken||s.signal)&&(r=t=>{m&&(n(!t||t.type?new ek(null,e,m):t),m.abort(),m=null)},s.cancelToken&&s.cancelToken.subscribe(r),s.signal&&(s.signal.aborted?r():s.signal.addEventListener("abort",r)));let v=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(s.url);if(v&&-1===eb.protocols.indexOf(v))return void n(new K("Unsupported protocol "+v+":",K.ERR_BAD_REQUEST,e));m.send(u||null)})},eq=function*(e,t){let n,r=e.byteLength;if(!t||r<t)return void(yield e);let i=0;for(;i<r;)n=i+t,yield e.slice(i,n),i=n},eG=async function*(e,t){for await(let n of eY(e))yield*eq(n,t)},eY=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},eX=(e,t,n,r)=>{let i,o=eG(e,t),a=0,l=e=>{!i&&(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await o.next();if(t){l(),e.close();return}let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw l(e),e}},cancel:e=>(l(e),o.return())},{highWaterMark:2})},eV="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,eK=eV&&"function"==typeof ReadableStream,eQ=eV&&("function"==typeof TextEncoder?(r=new TextEncoder,e=>r.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),eJ=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},e$=eK&&eJ(()=>
1{let e=!1,t=new Request(eb.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),eZ=eK&&eJ(()=>V.isReadableStream(new Response("").body)),e0={stream:eZ&&(e=>e.body)};eV&&(a=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{e0[e]||(e0[e]=V.isFunction(a[e])?t=>t[e]():(t,n)=>{throw new K(`Response type '${e}' is not supported`,K.ERR_NOT_SUPPORT,n)})}));let e1=async e=>{if(null==e)return 0;if(V.isBlob(e))return e.size;if(V.isSpecCompliantForm(e)){let t=new Request(eb.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return V.isArrayBufferView(e)||V.isArrayBuffer(e)?e.byteLength:(V.isURLSearchParams(e)&&(e+=""),V.isString(e))?(await eQ(e)).byteLength:void 0},e2=async(e,t)=>{let n=V.toFiniteNumber(e.getContentLength());return null==n?e1(t):n},e4={http:null,xhr:ez,fetch:eV&&(async e=>{let t,n,{url:r,method:i,data:o,signal:a,cancelToken:l,timeout:s,onDownloadProgress:u,onUploadProgress:c,responseType:d,headers:f,withCredentials:h="same-origin",fetchOptions:p}=eW(e);d=d?(d+"").toLowerCase():"text";let m=((e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController,i=function(e){if(!n){n=!0,a();let t=e instanceof Error?e:this.reason;r.abort(t instanceof K?t:new ek(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{o=null,i(new K(`timeout ${t} of ms exceeded`,K.ETIMEDOUT))},t),a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));let{signal:l}=r;return l.unsubscribe=()=>V.asap(a),l}})([a,l&&l.toAbortSignal()],s),g=m&&m.unsubscribe&&(()=>{m.unsubscribe()});try{if(c&&e$&&"get"!==i&&"head"!==i&&0!==(n=await e2(f,o))){let e,t=new Request(r,{method:"POST",body:o,duplex:"half"});if(V.isFormData(o)&&(e=t.headers.get("content-type"))&&f.setContentType(e),t.body){let[e,r]=eL(n,eM(eD(c)));o=eX(t.body,65536,e,r)}}V.isString(h)||(h=h?"include":"omit");let a="credentials"in Request.prototype;t=new Request(r,{...p,signal:m,method:i.toUpperCase(),headers:f.normalize().toJSON(),body:o,duplex:"half",credentials:a?h:void 0});let l=await fetch(t,p),s=eZ&&("stream"===d||"response"===d);if(eZ&&(u||s&&g)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=l[t]});let t=V.toFiniteNumber(l.headers.get("content-length")),[n,r]=u&&eL(t,eM(eD(u),!0))||[];l=new Response(eX(l.body,65536,n,()=>{r&&r(),g&&g()}),e)}d=d||"text";let v=await e0[V.findKey(e0,d)||"text"](l,e);return!s&&g&&g(),await new Promise((n,r)=>{e_(n,r,{data:v,headers:eO.from(l.headers),status:l.status,statusText:l.statusText,config:e,request:t})})}catch(n){if(g&&g(),n&&"TypeError"===n.name&&/Load failed|fetch/i.test(n.message))throw Object.assign(new K("Network Error",K.ERR_NETWORK,e,t),{cause:n.cause||n});throw K.from(n,n&&n.code,e,t)}})};V.forEach(e4,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let e3=e=>`- ${e}`,e6=e=>V.isFunction(e)||null===e||!1===e,e8={getAdapter:e=>{let t,n,{length:r}=e=V.isArray(e)?e:[e],i={};for(let o=0;o<r;o++){let r;if(n=t=e[o],!e6(t)&&void 0===(n=e4[(r=String(t)).toLowerCase()]))throw new K(`Unknown adapter '${r}'`);if(n)break;i[r||"#"+o]=n}if(!n){let e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new K("There is no suitable adapter to dispatch the request "+(r?e.length>1?"since :\n"+e.map(e3).join("\n"):" "+e3(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n}};function e5(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ek(null,e)}function e7(e){return e5(e),e.headers=eO.from(e.headers),e.data=eT.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),e8.getAdapter(e.adapter||ex.adapter)(e).then(function(t){return e5(e),t.data=eT.call(e,e.transformResponse,t),t.headers=eO.from(t.headers),t},function(t){return!eP(t)&&(e5(e),t&&t.response&&(t.response.data=eT.call(e,e.transformResponse,t.response),t.response.headers=eO.from(t.response.headers))),Promise.reject(t)})}let e9="1.11.0",te={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{te[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let tt={};te.transitional=function(e,t,n){function r(e,t){return"[Axios v"+e9+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>
1{if(!1===e)throw new K(r(i," has been removed"+(t?" in "+t:"")),K.ERR_DEPRECATED);return t&&!tt[i]&&(tt[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}},te.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};let tn={assertOptions:function(e,t,n){if("object"!=typeof e)throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let o=r[i],a=t[o];if(a){let t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new K("option "+o+" must be "+n,K.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new K("Unknown option "+o,K.ERR_BAD_OPTION)}},validators:te},tr=tn.validators;class ti{constructor(e){this.defaults=e||{},this.interceptors={request:new eu,response:new eu}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){let n,r;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:o,headers:a}=t=eH(this.defaults,t);void 0!==i&&tn.assertOptions(i,{silentJSONParsing:tr.transitional(tr.boolean),forcedJSONParsing:tr.transitional(tr.boolean),clarifyTimeoutError:tr.transitional(tr.boolean)},!1),null!=o&&(V.isFunction(o)?t.paramsSerializer={serialize:o}:tn.assertOptions(o,{encode:tr.function,serialize:tr.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),tn.assertOptions(t,{baseUrl:tr.spelling("baseURL"),withXsrfToken:tr.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let l=a&&V.merge(a.common,a[t.method]);a&&V.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=eO.concat(l,a);let s=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,s.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let d=0;if(!u){let e=[e7.bind(this),void 0];for(e.unshift(...s),e.push(...c),r=e.length,n=Promise.resolve(t);d<r;)n=n.then(e[d++],e[d++]);return n}r=s.length;let f=t;for(d=0;d<r;){let e=s[d++],t=s[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{n=e7.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,r=c.length;d<r;)n=n.then(c[d++],c[d++]);return n}getUri(e){return es(eB((e=eH(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}V.forEach(["delete","get","head","options"],function(e){ti.prototype[e]=function(t,n){return this.request(eH(n||{},{method:e,url:t,data:(n||{}).data}))}}),V.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,i){return this.request(eH(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}ti.prototype[e]=t(),ti.prototype[e+"Form"]=t(!0)});class to{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new ek(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason)return void e(this.reason);this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new to(function(t){e=t}),cancel:e}}}let ta={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
1setContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ta).forEach(([e,t])=>{ta[t]=e});let tl=function e(t){let n=new ti(t),r=u(ti.prototype.request,n);return V.extend(r,ti.prototype,n,{allOwnKeys:!0}),V.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(eH(t,n))},r}(ex);tl.Axios=ti,tl.CanceledError=ek,tl.CancelToken=to,tl.isCancel=eP,tl.VERSION=e9,tl.toFormData=er,tl.AxiosError=K,tl.Cancel=tl.CanceledError,tl.all=function(e){return Promise.all(e)},tl.spread=function(e){return function(t){return e.apply(null,t)}},tl.isAxiosError=function(e){return V.isObject(e)&&!0===e.isAxiosError},tl.mergeConfig=eH,tl.AxiosHeaders=eO,tl.formToJSON=e=>ew(V.isHTMLForm(e)?new FormData(e):e),tl.getAdapter=e8.getAdapter,tl.HttpStatusCode=ta,tl.default=tl;var ts=n(24044);let tu=tl.create({withCredentials:!0}),tc={get:(e,t)=>tu.get(e,t).then(e=>e.data),post:(e,t,n)=>tu.post(e,t,n).then(e=>e.data),patch:(e,t)=>tu.patch(e,t).then(e=>e.data),put:(e,t)=>tu.put(e,t).then(e=>e.data),delete:e=>tu.delete(e).then(e=>e.data)},td=e=>{let t=e||{},n=Object.keys(t).filter(e=>(0,ts.E)(t[e])&&!["",null,"null"].some(n=>t[e]===n));return n.length?"?".concat(n.map(e=>"object"!=typeof t[e]||Array.isArray(t[e])?((e,t)=>encodeURIComponent(t)+"="+encodeURIComponent(Array.isArray(e[t])?e[t].join(","):e[t]))(t,e):td(t[e]).substring(1)).join("&")):""},tf=e=>{let{href:t,query:n={}}=e;return"".concat(t).concat(td(n))},th=(e,t)=>(0,s.Ay)((null==t?void 0:t.skip)?null:tf({href:e,query:null==t?void 0:t.variables}),e=>tc.get(e),{revalidateOnFocus:!!(null==t?void 0:t.revalidateOnFocus),revalidateOnMount:null==t?void 0:t.revalidateOnMount,keepPreviousData:null==t?void 0:t.keepPreviousData,onErrorRetry:(e,t,n,r,i)=>{let{retryCount:o}=i;if(![403,404].includes(e.status)&&o>=3)return}})},93986:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var r=n(14232),i=n(93249),o=n(49266);function a(e){let t=(0,o._)(e),n=(0,r.useRef)(!1);(0,r.useEffect)(()=>(n.current=!1,()=>{n.current=!0,(0,i._)(()=>{n.current&&t()})}),[t])}},94783:e=>{e.exports={skeleton:"Skeleton_skeleton__rLBG_",loading:"Skeleton_loading__SJ8CU",wrapper:"Skeleton_wrapper__9tfRU",show:"Skeleton_show__vv9j6"}},96345:(e,t,n)=>{"use strict";n.d(t,{MM:()=>c,VY:()=>f,rU:()=>d});var r=n(14232),i=n(49266),o=n(62214),a=n(26),l=n(9221),s=n(70367);let u=(0,r.createContext)(null);function c(){var e,t;return null!=(t=null==(e=(0,r.useContext)(u))?void 0:e.value)?t:void 0}function d(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)(()=>function(e){let n=(0,i._)(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),o=(0,r.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props,value:e.value}),[n,e.slot,e.name,e.props,e.value]);return r.createElement(u.Provider,{value:o},e.children)},[t])]}u.displayName="DescriptionContext";let f=Object.assign((0,s.FX)(function(e,t){let n=(0,r.useId)(),i=(0,l._)(),{id:c="headlessui-description-".concat(n),...d}=e,f=function e(){let t=(0,r.useContext)(u);if(null===t){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),h=(0,a.P)(t);(0,o.s)(()=>f.register(c),[c,f.register]);let p=i||!1,m=(0,r.useMemo)(()=>({...f.slot,disabled:p}),[f.slot,p]),g={ref:h,...f.props,id:c};return(0,s.Ci)()({ourProps:g,theirProps:d,slot:m,defaultTag:"p",name:f.name||"Description"})}),{})}
1,96488:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var r=n(14232);let i=(0,r.createContext)(void 0);function o(){return(0,r.useContext)(i)}},96668:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(14232);function i(e,t){return(0,r.useMemo)(()=>{var n;if(e.type)return e.type;let r=null!=(n=e.as)?n:"button";if("string"==typeof r&&"button"===r.toLowerCase()||(null==t?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}},96801:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(37876);let i=e=>{let{...t}=e;return(0,r.jsx)("svg",{width:"24px",height:"24px",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:1.41421,viewBox:"0 0 24 24",fill:"currentColor",...t,children:(0,r.jsx)("path",{id:"telegram-1",d:"M18.384,22.779c0.322,0.228 0.737,0.285 1.107,0.145c0.37,-0.141 0.642,-0.457 0.724,-0.84c0.869,-4.084 2.977,-14.421 3.768,-18.136c0.06,-0.28 -0.04,-0.571 -0.26,-0.758c-0.22,-0.187 -0.525,-0.241 -0.797,-0.14c-4.193,1.552 -17.106,6.397 -22.384,8.35c-0.335,0.124 -0.553,0.446 -0.542,0.799c0.012,0.354 0.25,0.661 0.593,0.764c2.367,0.708 5.474,1.693 5.474,1.693c0,0 1.452,4.385 2.209,6.615c0.095,0.28 0.314,0.5 0.603,0.576c0.288,0.075 0.596,-0.004 0.811,-0.207c1.216,-1.148 3.096,-2.923 3.096,-2.923c0,0 3.572,2.619 5.598,4.062Zm-11.01,-8.677l1.679,5.538l0.373,-3.507c0,0 6.487,-5.851 10.185,-9.186c0.108,-0.098 0.123,-0.262 0.033,-0.377c-0.089,-0.115 -0.253,-0.142 -0.376,-0.064c-4.286,2.737 -11.894,7.596 -11.894,7.596Z"})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[6593,8792],()=>(t(92),t(16296))),_N_E=e.O()}]);

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.