Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
"use strict";(self.webpackChunkwcf_addons=self.webpackChunkwcf_addons||[]).push([[364],{576:function(t,e,n){n.d(e,{f:function(){return r},z:function(){return o}});const r=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=(...t)=>t.filter((t,e,n)=>Boolean(t)&&n.indexOf(t)===e).join(" ")},3552:function(t,e,n){n.d(e,{A:function(){return r}});var r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}},3926:function(t,e,n){n.d(e,{Mz:function(){return xe},i3:function(){return be},UC:function(){return ve},bL:function(){return we},Bk:function(){return ne}});var r=n(1609);const o=["top","right","bottom","left"],i=Math.min,l=Math.max,a=Math.round,s=Math.floor,c=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,e,n){return l(t,i(e,n))}function p(t,e){return"function"==typeof t?t(e):t}function h(t){return t.split("-")[0]}function m(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function y(t){return"y"===t?"height":"width"}const w=new Set(["top","bottom"]);function x(t){return w.has(h(t))?"y":"x"}function v(t){return g(x(t))}function b(t){return t.replace(/start|end/g,t=>u[t])}const A=["left","right"],R=["right","left"],S=["top","bottom"],P=["bottom","top"];function C(t){return t.replace(/left|right|bottom|top/g,t=>f[t])}function L(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function E(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function O(t,e,n){let{reference:r,floating:o}=t;const i=x(e),l=v(e),a=y(l),s=h(e),c="y"===i,f=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let p;switch(s){case"top":p={x:f,y:r.y-o.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:u};break;case"left":p={x:r.x-o.width,y:u};break;default:p={x:r.x,y:r.y}}switch(m(e)){case"start":p[l]-=d*(n&&c?-1:1);break;case"end":p[l]+=d*(n&&c?-1:1)}return p}async function T(t,e){var n;void 0===e&&(e={});const{x:r,y:o,platform:i,rects:l,elements:a,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:h=0}=p(e,t),m=L(h),g=a[d?"floating"===u?"reference":"floating":u],y=E(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:f,strategy:s})),w="floating"===u?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),v=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},b=E(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:x,strategy:s}):w);return{top:(y.top-b.top+m.top)/v.y,bottom:(b.bottom-y.bottom+m.bottom)/v.y,left:(y.left-b.left+m.left)/v.x,right:(b.right-y.right+m.right)/v.x}}function k(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function D(t){return o.some(e=>t[e]>=0)}const H=new Set(["left","top"]);function W(){return"undefined"!=typeof window}function N(t){return M(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function B(t){var e;return null==(e=(M(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function M(t){return!!W()&&(t instanceof Node||t instanceof F(t).Node)}function $(t){return!!W()&&(t instanceof Element||t instanceof F(t).Element)}function j(t){return!!W()&&(t instanceof HTMLElement||t instanceof F(t).HTMLElement)}function z(t){return!(!W()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof F(t).ShadowRoot)}const _=new Set(["inline","contents"]);function V(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=et(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!_.has(o)}const X=new Set(["table","td","th"]);function Y(t){return X.has(N(t))}const I=[":popover-open",":modal"];function G(t){return I.some(e=>{try{return t.matches(e)}catch(t){return!1}})}const q=["transform","translate","scale","rotate","perspective"],U=["transform","translate","scale","rotate","perspective","filter"],Z=["paint","layout","strict","content"];function J(t){const e=K(),n=$(t)?et(t):t;return q.some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||U.some(t=>(n.willChange||"").includes(t))||Z.some(t=>(n.contain||"").includes(t))}function K(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Q=new Set(["html","body","#document"]);function tt(t){return Q.has(N(t))}function et(t){return F(t).getComputedStyle(t)}function nt(t){return $(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function rt(t){if("html"===N(t))return t;const e=t.assignedSlot||t.parentNode||z(t)&&t.host||B(t);return z(e)?e.host:e}function ot(t){const e=rt(t);return tt(e)?t.ownerDocument?t.ownerDocument.body:t.body:j(e)&&V(e)?e:ot(e)}function it(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);const o=ot(t),i=o===(null==(r=t.ownerDocument)?void 0:r.body),l=F(o);if(i){const t=lt(l);return e.concat(l,l.visualViewport||[],V(o)?o:[],t&&n?it(t):[])}return e.concat(o,it(o,[],n))}function lt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function at(t){const e=et(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=j(t),i=o?t.offsetWidth:n,l=o?t.offsetHeight:r,s=a(n)!==i||a(r)!==l;return s&&(n=i,r=l),{width:n,height:r,$:s}}function st(t){return $(t)?t:t.contextElement}function ct(t){const e=st(t);if(!j(e))return c(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:i}=at(e);let l=(i?a(n.width):n.width)/r,s=(i?a(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}const ft=c(0);function ut(t){const e=F(t);return K()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ft}function dt(t,e,n,r){void 0===e&&(e=!1),void 0===n&&(n=!1);const o=t.getBoundingClientRect(),i=st(t);let l=c(1);e&&(r?$(r)&&(l=ct(r)):l=ct(t));const a=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==F(t))&&e}(i,n,r)?ut(i):c(0);let s=(o.left+a.x)/l.x,f=(o.top+a.y)/l.y,u=o.width/l.x,d=o.height/l.y;if(i){const t=F(i),e=r&&$(r)?F(r):r;let n=t,o=lt(n);for(;o&&r&&e!==n;){const t=ct(o),e=o.getBoundingClientRect(),r=et(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,f*=t.y,u*=t.x,d*=t.y,s+=i,f+=l,n=F(o),o=lt(n)}}return E({width:u,height:d,x:s,y:f})}function pt(t,e){const n=nt(t).scrollLeft;return e?e.left+n:dt(B(t)).left+n}function ht(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-pt(t,n),y:n.top+e.scrollTop}}const mt=new Set(["absolute","fixed"]);function gt(t,e,n){let r;if("viewport"===e)r=function(t,e){const n=F(t),r=B(t),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;const t=K();(!t||t&&"fixed"===e)&&(a=o.offsetLeft,s=o.offsetTop)}const c=pt(r);if(c<=0){const t=r.ownerDocument,e=t.body,n=getComputedStyle(e),o="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-e.clientWidth-o);l<=25&&(i-=l)}else c<=25&&(i+=c);return{width:i,height:l,x:a,y:s}}(t,n);else if("document"===e)r=function(t){const e=B(t),n=nt(t),r=t.ownerDocument.body,o=l(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=l(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+pt(t);const s=-n.scrollTop;return"rtl"===et(r).direction&&(a+=l(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(B(t));else if($(e))r=function(t,e){const n=dt(t,!0,"fixed"===e),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=j(t)?ct(t):c(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:o*i.x,y:r*i.y}}(e,n);else{const n=ut(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return E(r)}function yt(t,e){const n=rt(t);return!(n===e||!$(n)||tt(n))&&("fixed"===et(n).position||yt(n,e))}function wt(t,e,n){const r=j(e),o=B(e),i="fixed"===n,l=dt(t,!0,i,e);let a={scrollLeft:0,scrollTop:0};const s=c(0);function f(){s.x=pt(o)}if(r||!r&&!i)if(("body"!==N(e)||V(o))&&(a=nt(e)),r){const t=dt(e,!0,i,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else o&&f();i&&!r&&o&&f();const u=!o||r||i?c(0):ht(o,a);return{x:l.left+a.scrollLeft-s.x-u.x,y:l.top+a.scrollTop-s.y-u.y,width:l.width,height:l.height}}function xt(t){return"static"===et(t).position}function vt(t,e){if(!j(t)||"fixed"===et(t).position)return null;if(e)return e(t);let n=t.offsetParent;return B(t)===n&&(n=n.ownerDocument.body),n}function bt(t,e){const n=F(t);if(G(t))return n;if(!j(t)){let e=rt(t);for(;e&&!tt(e);){if($(e)&&!xt(e))return e;e=rt(e)}return n}let r=vt(t,e);for(;r&&Y(r)&&xt(r);)r=vt(r,e);return r&&tt(r)&&xt(r)&&!J(r)?n:r||function(t){let e=rt(t);for(;j(e)&&!tt(e);){if(J(e))return e;if(G(e))return null;e=rt(e)}return null}(t)||n}const At={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const i="fixed"===o,l=B(r),a=!!e&&G(e.floating);if(r===l||a&&i)return n;let s={scrollLeft:0,scrollTop:0},f=c(1);const u=c(0),d=j(r);if((d||!d&&!i)&&(("body"!==N(r)||V(l))&&(s=nt(r)),j(r))){const t=dt(r);f=ct(r),u.x=t.x+r.clientLeft,u.y=t.y+r.clientTop}const p=!l||d||i?c(0):ht(l,s);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-s.scrollLeft*f.x+u.x+p.x,y:n.y*f.y-s.scrollTop*f.y+u.y+p.y}},getDocumentElement:B,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const a=[..."clippingAncestors"===n?G(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let r=it(t,[],!1).filter(t=>$(t)&&"body"!==N(t)),o=null;const i="fixed"===et(t).position;let l=i?rt(t):t;for(;$(l)&&!tt(l);){const e=et(l),n=J(l);n||"fixed"!==e.position||(o=null),(i?!n&&!o:!n&&"static"===e.position&&o&&mt.has(o.position)||V(l)&&!n&&yt(t,l))?r=r.filter(t=>t!==l):o=e,l=rt(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],s=a[0],c=a.reduce((t,n)=>{const r=gt(e,n,o);return t.top=l(r.top,t.top),t.right=i(r.right,t.right),t.bottom=i(r.bottom,t.bottom),t.left=l(r.left,t.left),t},gt(e,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:bt,getElementRects:async function(t){const e=this.getOffsetParent||bt,n=this.getDimensions,r=await n(t.floating);return{reference:wt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=at(t);return{width:e,height:n}},getScale:ct,isElement:$,isRTL:function(t){return"rtl"===et(t).direction}};function Rt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const St=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:i,placement:l,middlewareData:a}=e,s=await async function(t,e){const{placement:n,platform:r,elements:o}=t,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),l=h(n),a=m(n),s="y"===x(n),c=H.has(l)?-1:1,f=i&&s?-1:1,u=p(e,t);let{mainAxis:d,crossAxis:g,alignmentAxis:y}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&"number"==typeof y&&(g="end"===a?-1*y:y),s?{x:g*f,y:d*c}:{x:d*c,y:g*f}}(e,t);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}},Pt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=p(t,e),c={x:n,y:r},f=await T(e,s),u=x(h(o)),m=g(u);let y=c[m],w=c[u];if(i){const t="y"===m?"bottom":"right";y=d(y+f["y"===m?"top":"left"],y,y-f[t])}if(l){const t="y"===u?"bottom":"right";w=d(w+f["y"===u?"top":"left"],w,w-f[t])}const v=a.fn({...e,[m]:y,[u]:w});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[m]:i,[u]:l}}}}}},Ct=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:l,initialPlacement:a,platform:s,elements:c}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:L=!0,...E}=p(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const O=h(o),k=x(a),D=h(a)===a,H=await(null==s.isRTL?void 0:s.isRTL(c.floating)),W=d||(D||!L?[C(a)]:function(t){const e=C(t);return[b(t),e,b(e)]}(a)),N="none"!==w;!d&&N&&W.push(...function(t,e,n,r){const o=m(t);let i=function(t,e,n){switch(t){case"top":case"bottom":return n?e?R:A:e?A:R;case"left":case"right":return e?S:P;default:return[]}}(h(t),"start"===n,r);return o&&(i=i.map(t=>t+"-"+o),e&&(i=i.concat(i.map(b)))),i}(a,L,w,H));const F=[a,...W],B=await T(e,E),M=[];let $=(null==(r=i.flip)?void 0:r.overflows)||[];if(f&&M.push(B[O]),u){const t=function(t,e,n){void 0===n&&(n=!1);const r=m(t),o=v(t),i=y(o);let l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(l=C(l)),[l,C(l)]}(o,l,H);M.push(B[t[0]],B[t[1]])}if($=[...$,{placement:o,overflows:M}],!M.every(t=>t<=0)){var j,z;const t=((null==(j=i.flip)?void 0:j.index)||0)+1,e=F[t];if(e&&("alignment"!==u||k===x(e)||$.every(t=>x(t.placement)!==k||t.overflows[0]>0)))return{data:{index:t,overflows:$},reset:{placement:e}};let n=null==(z=$.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:z.placement;if(!n)switch(g){case"bestFit":{var _;const t=null==(_=$.filter(t=>{if(N){const e=x(t.placement);return e===k||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:_[0];t&&(n=t);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},Lt=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:o,rects:a,platform:s,elements:c}=e,{apply:f=()=>{},...u}=p(t,e),d=await T(e,u),g=h(o),y=m(o),w="y"===x(o),{width:v,height:b}=a.floating;let A,R;"top"===g||"bottom"===g?(A=g,R=y===(await(null==s.isRTL?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(R=g,A="end"===y?"top":"bottom");const S=b-d.top-d.bottom,P=v-d.left-d.right,C=i(b-d[A],S),L=i(v-d[R],P),E=!e.middlewareData.shift;let O=C,k=L;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(k=P),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(O=S),E&&!y){const t=l(d.left,0),e=l(d.right,0),n=l(d.top,0),r=l(d.bottom,0);w?k=v-2*(0!==t||0!==e?t+e:l(d.left,d.right)):O=b-2*(0!==n||0!==r?n+r:l(d.top,d.bottom))}await f({...e,availableWidth:k,availableHeight:O});const D=await s.getDimensions(c.floating);return v!==D.width||b!==D.height?{reset:{rects:!0}}:{}}}},Et=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...o}=p(t,e);switch(r){case"referenceHidden":{const t=k(await T(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:D(t)}}}case"escaped":{const t=k(await T(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:D(t)}}}default:return{}}}}},Ot=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:l,platform:a,elements:s,middlewareData:c}=e,{element:f,padding:u=0}=p(t,e)||{};if(null==f)return{};const h=L(u),g={x:n,y:r},w=v(o),x=y(w),b=await a.getDimensions(f),A="y"===w,R=A?"top":"left",S=A?"bottom":"right",P=A?"clientHeight":"clientWidth",C=l.reference[x]+l.reference[w]-g[w]-l.floating[x],E=g[w]-l.reference[w],O=await(null==a.getOffsetParent?void 0:a.getOffsetParent(f));let T=O?O[P]:0;T&&await(null==a.isElement?void 0:a.isElement(O))||(T=s.floating[P]||l.floating[x]);const k=C/2-E/2,D=T/2-b[x]/2-1,H=i(h[R],D),W=i(h[S],D),N=H,F=T-b[x]-W,B=T/2-b[x]/2+k,M=d(N,B,F),$=!c.arrow&&null!=m(o)&&B!==M&&l.reference[x]/2-(Bn&&(m=n)}if(c){var b,A;const t="y"===d?"width":"height",e=H.has(h(o)),n=i.reference[u]-i.floating[t]+(e&&(null==(b=l.offset)?void 0:b[u])||0)+(e?0:v.crossAxis),r=i.reference[u]+i.reference[t]+(e?0:(null==(A=l.offset)?void 0:A[u])||0)-(e?v.crossAxis:0);yr&&(y=r)}return{[d]:m,[u]:y}}}},kt=(t,e,n)=>{const r=new Map,o={platform:At,...n},i={...o.platform,_c:r};return(async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),s=await(null==l.isRTL?void 0:l.isRTL(e));let c=await l.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:u}=O(c,r,s),d=r,p={},h=0;for(let n=0;n{e.current=t}),e}const Mt=t=>({name:"arrow",options:t,fn(e){const{element:n,padding:r}="function"==typeof t?t(e):t;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?Ot({element:n.current,padding:r}).fn(e):{}:n?Ot({element:n,padding:r}).fn(e):{};var o}}),$t=(t,e)=>({...Pt(t),options:[t,e]}),jt=(t,e)=>({...Tt(t),options:[t,e]}),zt=(t,e)=>({...Ct(t),options:[t,e]}),_t=(t,e)=>({...Lt(t),options:[t,e]}),Vt=(t,e)=>({...Et(t),options:[t,e]}),Xt=(t,e)=>({...Mt(t),options:[t,e]});var Yt=n(4645),It=n(4848),Gt=r.forwardRef((t,e)=>{const{children:n,width:r=10,height:o=5,...i}=t;return(0,It.jsx)(Yt.sG.svg,{...i,ref:e,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:(0,It.jsx)("polygon",{points:"0,0 30,0 15,10"})})});Gt.displayName="Arrow";var qt=Gt,Ut=n(1071),Zt=n(2133),Jt=n(263),Kt=n(8200),Qt=n(1769),te="Popper",[ee,ne]=(0,Zt.A)(te),[re,oe]=ee(te),ie=t=>{const{__scopePopper:e,children:n}=t,[o,i]=r.useState(null);return(0,It.jsx)(re,{scope:e,anchor:o,onAnchorChange:i,children:n})};ie.displayName=te;var le="PopperAnchor",ae=r.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,l=oe(le,n),a=r.useRef(null),s=(0,Ut.s)(e,a),c=r.useRef(null);return r.useEffect(()=>{const t=c.current;c.current=o?.current||a.current,t!==c.current&&l.onAnchorChange(c.current)}),o?null:(0,It.jsx)(Yt.sG.div,{...i,ref:s})});ae.displayName=le;var se="PopperContent",[ce,fe]=ee(se),ue=r.forwardRef((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:a=0,align:c="center",alignOffset:f=0,arrowPadding:u=0,avoidCollisions:d=!0,collisionBoundary:p=[],collisionPadding:h=0,sticky:m="partial",hideWhenDetached:g=!1,updatePositionStrategy:y="optimized",onPlaced:w,...x}=t,v=oe(se,n),[b,A]=r.useState(null),R=(0,Ut.s)(e,t=>A(t)),[S,P]=r.useState(null),C=(0,Qt.X)(S),L=C?.width??0,E=C?.height??0,O=o+("center"!==c?"-"+c:""),T="number"==typeof h?h:{top:0,right:0,bottom:0,left:0,...h},k=Array.isArray(p)?p:[p],D=k.length>0,H={padding:T,boundary:k.filter(me),altBoundary:D},{refs:W,floatingStyles:N,placement:F,isPositioned:M,middlewareData:$}=function(t){void 0===t&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:c,open:f}=t,[u,d]=r.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(o);Wt(p,o)||h(o);const[m,g]=r.useState(null),[y,w]=r.useState(null),x=r.useCallback(t=>{t!==R.current&&(R.current=t,g(t))},[]),v=r.useCallback(t=>{t!==S.current&&(S.current=t,w(t))},[]),b=l||m,A=a||y,R=r.useRef(null),S=r.useRef(null),P=r.useRef(u),C=null!=c,L=Bt(c),E=Bt(i),O=Bt(f),T=r.useCallback(()=>{if(!R.current||!S.current)return;const t={placement:e,strategy:n,middleware:p};E.current&&(t.platform=E.current),kt(R.current,S.current,t).then(t=>{const e={...t,isPositioned:!1!==O.current};k.current&&!Wt(P.current,e)&&(P.current=e,Dt.flushSync(()=>{d(e)}))})},[p,e,n,E,O]);Ht(()=>{!1===f&&P.current.isPositioned&&(P.current.isPositioned=!1,d(t=>({...t,isPositioned:!1})))},[f]);const k=r.useRef(!1);Ht(()=>(k.current=!0,()=>{k.current=!1}),[]),Ht(()=>{if(b&&(R.current=b),A&&(S.current=A),b&&A){if(L.current)return L.current(b,A,T);T()}},[b,A,T,L,C]);const D=r.useMemo(()=>({reference:R,floating:S,setReference:x,setFloating:v}),[x,v]),H=r.useMemo(()=>({reference:b,floating:A}),[b,A]),W=r.useMemo(()=>{const t={position:n,left:0,top:0};if(!H.floating)return t;const e=Ft(H.floating,u.x),r=Ft(H.floating,u.y);return s?{...t,transform:"translate("+e+"px, "+r+"px)",...Nt(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,s,H.floating,u.x,u.y]);return r.useMemo(()=>({...u,update:T,refs:D,elements:H,floatingStyles:W}),[u,T,D,H,W])}({strategy:"fixed",placement:O,whileElementsMounted:(...t)=>function(t,e,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,d=st(t),p=o||a?[...d?it(d):[],...it(e)]:[];p.forEach(t=>{o&&t.addEventListener("scroll",n,{passive:!0}),a&&t.addEventListener("resize",n)});const h=d&&f?function(t,e){let n,r=null;const o=B(t);function a(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return function c(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),a();const d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(f||e(),!m||!g)return;const y={rootMargin:-s(h)+"px "+-s(o.clientWidth-(p+m))+"px "+-s(o.clientHeight-(h+g))+"px "+-s(p)+"px",threshold:l(0,i(1,u))||1};let w=!0;function x(e){const r=e[0].intersectionRatio;if(r!==u){if(!w)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||Rt(d,t.getBoundingClientRect())||c(),w=!1}try{r=new IntersectionObserver(x,{...y,root:o.ownerDocument})}catch(t){r=new IntersectionObserver(x,y)}r.observe(t)}(!0),a}(d,n):null;let m,g=-1,y=null;c&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===d&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),d&&!u&&y.observe(d),y.observe(e));let w=u?dt(t):null;return u&&function e(){const r=dt(t);w&&!Rt(w,r)&&n(),w=r,m=requestAnimationFrame(e)}(),n(),()=>{var t;p.forEach(t=>{o&&t.removeEventListener("scroll",n),a&&t.removeEventListener("resize",n)}),null==h||h(),null==(t=y)||t.disconnect(),y=null,u&&cancelAnimationFrame(m)}}(...t,{animationFrame:"always"===y}),elements:{reference:v.anchor},middleware:[(j={mainAxis:a+E,alignmentAxis:f},{...St(j),options:[j,void 0]}),d&&$t({mainAxis:!0,crossAxis:!1,limiter:"partial"===m?jt():void 0,...H}),d&&zt({...H}),_t({...H,apply:({elements:t,rects:e,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=e.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${o}px`),l.setProperty("--radix-popper-anchor-height",`${i}px`)}}),S&&Xt({element:S,padding:u}),ge({arrowWidth:L,arrowHeight:E}),g&&Vt({strategy:"referenceHidden",...H})]});var j;const[z,_]=ye(F),V=(0,Jt.c)(w);(0,Kt.N)(()=>{M&&V?.()},[M,V]);const X=$.arrow?.x,Y=$.arrow?.y,I=0!==$.arrow?.centerOffset,[G,q]=r.useState();return(0,Kt.N)(()=>{b&&q(window.getComputedStyle(b).zIndex)},[b]),(0,It.jsx)("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...N,transform:M?N.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:G,"--radix-popper-transform-origin":[$.transformOrigin?.x,$.transformOrigin?.y].join(" "),...$.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:(0,It.jsx)(ce,{scope:n,placedSide:z,onArrowChange:P,arrowX:X,arrowY:Y,shouldHideArrow:I,children:(0,It.jsx)(Yt.sG.div,{"data-side":z,"data-align":_,...x,ref:R,style:{...x.style,animation:M?void 0:"none"}})})})});ue.displayName=se;var de="PopperArrow",pe={top:"bottom",right:"left",bottom:"top",left:"right"},he=r.forwardRef(function(t,e){const{__scopePopper:n,...r}=t,o=fe(de,n),i=pe[o.placedSide];return(0,It.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,It.jsx)(qt,{...r,ref:e,style:{...r.style,display:"block"}})})});function me(t){return null!==t}he.displayName=de;var ge=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:r,middlewareData:o}=e,i=0!==o.arrow?.centerOffset,l=i?0:t.arrowWidth,a=i?0:t.arrowHeight,[s,c]=ye(n),f={start:"0%",center:"50%",end:"100%"}[c],u=(o.arrow?.x??0)+l/2,d=(o.arrow?.y??0)+a/2;let p="",h="";return"bottom"===s?(p=i?f:`${u}px`,h=-a+"px"):"top"===s?(p=i?f:`${u}px`,h=`${r.floating.height+a}px`):"right"===s?(p=-a+"px",h=i?f:`${d}px`):"left"===s&&(p=`${r.floating.width+a}px`,h=i?f:`${d}px`),{data:{x:p,y:h}}}});function ye(t){const[e,n="center"]=t.split("-");return[e,n]}var we=ie,xe=ae,ve=ue,be=he},4991:function(t,e,n){n.d(e,{A:function(){return l}});var r=n(1609),o=n(3552),i=n(576);const l=(0,r.forwardRef)(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:l,className:a="",children:s,iconNode:c,...f},u)=>(0,r.createElement)("svg",{ref:u,...o.A,width:e,height:e,stroke:t,strokeWidth:l?24*Number(n)/Number(e):n,className:(0,i.z)("lucide",a),...f},[...c.map(([t,e])=>(0,r.createElement)(t,e)),...Array.isArray(s)?s:[s]]))},6203:function(t,e,n){n.d(e,{A:function(){return l}});var r=n(1609),o=n(576),i=n(4991);const l=(t,e)=>{const n=(0,r.forwardRef)(({className:n,...l},a)=>(0,r.createElement)(i.A,{ref:a,iconNode:e,className:(0,o.z)(`lucide-${(0,o.f)(t)}`,n),...l}));return n.displayName=`${t}`,n}}}]);