1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[86719],{65085:(e,t,r)=>{function i(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function l(e,t){var r=i(e,t,"get");return r.get?r.get.call(e):r.value}function n(e,t,r){var l=i(e,t,"set");if(l.set)l.set.call(e,r);else{if(!l.writable)throw TypeError("attempted to set read only private field");l.value=r}return r}r.d(t,{N:()=>c,C:()=>v});var s,o=r(77740),u=r(70858),f=r(96160),a=r(8512),h=r(72160);function c(e){let t=e+"CollectionProvider",[r,i]=(0,u.A)(t),[l,n]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:r}=e,i=o.useRef(null),n=o.useRef(new Map).current;return(0,h.jsx)(l,{scope:t,itemMap:n,collectionRef:i,children:r})};s.displayName=t;let c=e+"CollectionSlot",d=(0,a.TL)(c),p=o.forwardRef((e,t)=>{let{scope:r,children:i}=e,l=n(c,r),s=(0,f.s)(t,l.collectionRef);return(0,h.jsx)(d,{ref:s,children:i})});p.displayName=c;let y=e+"CollectionItemSlot",m="data-radix-collection-item",v=(0,a.TL)(y),R=o.forwardRef((e,t)=>{let{scope:r,children:i,...l}=e,s=o.useRef(null),u=(0,f.s)(t,s),a=n(y,r);return o.useEffect(()=>(a.itemMap.set(s,{ref:s,...l}),()=>void a.itemMap.delete(s))),(0,h.jsx)(v,{...{[m]:""},ref:u,children:i})});return R.displayName=y,[{Provider:s,Slot:p,ItemSlot:R},function(t){let r=n(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},i]}var d=new WeakMap,p=(s=new WeakMap,class e extends Map{set(e,t){return d.get(this)&&(this.has(e)?l(this,s)[l(this,s).indexOf(e)]=e:l(this,s).push(e)),super.set(e,t),this}insert(e,t,r){let i,n=this.has(t),o=l(this,s).length,u=m(e),f=u>=0?u:o+u,a=f<0||f>=o?-1:f;if(a===this.size||n&&a===this.size-1||-1===a)return this.set(t,r),this;let h=this.size+ +!n;u<0&&f++;let c=[...l(this,s)],d=!1;for(let e=f;e<h;e++)if(f===e){let l=c[e];c[e]===t&&(l=c[e+1]),n&&this.delete(t),i=this.get(l),this.set(t,r)}else{d||c[e-1]!==t||(d=!0);let r=c[d?e:e-1],l=i;i=this.get(r),this.delete(r),this.set(r,l)}return this}with(t,r,i){let l=new e(this);return l.insert(t,r,i),l}before(e){let t=l(this,s).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let i=l(this,s).indexOf(e);return -1===i?this:this.insert(i,t,r)}after(e){let t=l(this,s).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let i=l(this,s).indexOf(e);return -1===i?this:this.insert(i+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return n(this,s,[]),super.clear()}delete(e){let t=super.delete(e);return t&&l(this,s).splice(l(this,s).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=y(l(this,s),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=y(l(this,s),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return l(this,s).indexOf(e)}keyAt(e){return y(l(this,s),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.at(i)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.keyAt(i)}find(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return i;r++}}findIndex(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return r;r++}return -1}filter(t,r){let i=[],l=0;for(let e of this)Reflect.apply(t,r,[e,l,this])&&i.push(e),l++;return new e(i)}map(t,r){let i=[],l=0;for(let e of this)i.push([e[0],Reflect.apply(t,r,[e,l,this])]),l++;return new e(i)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[i,l]=t,n=0,s=null!=l?l:this.at(0);for(let e of this)s=0===n&&1===t.length?e:Reflect.apply(i,this,[s,e,n,this]),n++;return s}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[i,l]=t,n=null!=l?l:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);n=e===this.size-1&&1===t.length?r:Reflect.apply(i,this,[n,r,e,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),i=this.get(r);t.set(r,i)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];let l=[...this.entries()];return l.splice(...r),new e(l)}slice(t,r){let i=new e,l=this.size-1;if(void 0===t)return i;t<0&&(t+=this.size),void 0!==r&&r>0&&(l=r-1);for(let e=t;e<=l;e++){let t=this.keyAt(e),r=this.get(t);i.set(t,r)}return i}every(e,t){let r=0;for(let i of this){if(!Reflect.apply(e,t,[i,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return!0;r++}return!1}constructor(e){super(e),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,s,{writable:!0,value:void 0}),n(this,s,[...super.keys()]),d.set(this,!0)}});function y(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,i=m(t),l=i>=0?i:r+i;return l<0||l>=r?-1:l}(e,t);return -1===r?void 0:e[r]}function m(e){return e!=e||0===e?0:Math.trunc(e)}function v(e){let t=e+"CollectionProvider",[r,i]=(0,u.A)(t),[l,n]=r(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new p,setItemMap:()=>void 0}),s=e=>{let{state:t,...r}=e;return t?(0,h.jsx)(d,{...r,state:t}):(0,h.jsx)(c,{...r})};s.displayName=t;let c=e=>
1{let t=O();return(0,h.jsx)(d,{...e,state:t})};c.displayName=t+"Init";let d=e=>{let{scope:t,children:r,state:i}=e,n=o.useRef(null),[s,u]=o.useState(null),a=(0,f.s)(n,u),[c,d]=i;return o.useEffect(()=>{var e;if(!s)return;let t=(e=()=>{},new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()}));return t.observe(s,{childList:!0,subtree:!0}),()=>{t.disconnect()}},[s]),(0,h.jsx)(l,{scope:t,itemMap:c,setItemMap:d,collectionRef:a,collectionRefObject:n,collectionElement:s,children:r})};d.displayName=t+"Impl";let y=e+"CollectionSlot",m=(0,a.TL)(y),v=o.forwardRef((e,t)=>{let{scope:r,children:i}=e,l=n(y,r),s=(0,f.s)(t,l.collectionRef);return(0,h.jsx)(m,{ref:s,children:i})});v.displayName=y;let w=e+"CollectionItemSlot",x=(0,a.TL)(w),A=o.forwardRef((e,t)=>{let{scope:r,children:i,...l}=e,s=o.useRef(null),[u,a]=o.useState(null),c=(0,f.s)(t,s,a),{setItemMap:d}=n(w,r),y=o.useRef(l);!function(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(let i of r)if(!Object.prototype.hasOwnProperty.call(t,i)||e[i]!==t[i])return!1;return!0}(y.current,l)&&(y.current=l);let m=y.current;return o.useEffect(()=>(d(e=>u?e.has(u)?e.set(u,{...m,element:u}).toSorted(R):(e.set(u,{...m,element:u}),e.toSorted(R)):e),()=>{d(e=>u&&e.has(u)?(e.delete(u),new p(e)):e)}),[u,m,d]),(0,h.jsx)(x,{"data-radix-collection-item":"",ref:c,children:i})});function O(){return o.useState(new p)}return A.displayName=w,[{Provider:s,Slot:v,ItemSlot:A},{createCollectionScope:i,useCollection:function(t){let{itemMap:r}=n(e+"CollectionConsumer",t);return r},useInitCollection:O}]}function R(e,t){var r;return e[1].element&&t[1].element?(r=e[1].element,t[1].element.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING)?-1:1:0}},66619:(e,t,r)=>{r.d(t,{jH:()=>n});var i=r(77740);r(72160);var l=i.createContext(void 0);function n(e){let t=i.useContext(l);return e||t||"ltr"}}}]);
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.