PageSourceSearch

https://taap.it/_next/static/chunks/61484-b7a325b693eef1d3.js

js taap.it collected 2026-09-25 13:59:30 UTC 17,368 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[61484],{61484:(e,t,r)=>{r.d(t,{UC:()=>eR,Y9:()=>ex,q7:()=>ew,bL:()=>eg,l9:()=>eb});var n,i=r(12115),o=r.t(i,2),l=r(95155);function a(e,t=[]){let r=[],n=()=>{let t=r.map(e=>i.createContext(e));return function(r){let n=r?.[e]||t;return i.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let o=i.createContext(n),a=r.length;r=[...r,n];let s=t=>{let{scope:r,children:n,...s}=t,u=r?.[e]?.[a]||o,c=i.useMemo(()=>s,Object.values(s));return(0,l.jsx)(u.Provider,{value:c,children:n})};return s.displayName=t+"Provider",[s,function(r,l){let s=l?.[e]?.[a]||o,u=i.useContext(s);if(u)return u;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}function s(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function u(e,t){var r=s(e,t,"get");return r.get?r.get.call(e):r.value}function c(e,t,r){var n=s(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function f(...e){return t=>{let r=!1,n=e.map(e=>{let n=d(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():d(e[t],null)}}}}function p(...e){return i.useCallback(f(...e),e)}function h(e){let t=function(e){let t=i.forwardRef((e,t)=>{let{children:r,...n}=e;if(i.isValidElement(r)){var o;let e,l,a=(o=r,(l=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(l=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),s=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==i.Fragment&&(s.ref=t?f(t,a):a),i.cloneElement(r,s)}return i.Children.count(r)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=i.forwardRef((e,r)=>{let{children:n,...o}=e,a=i.Children.toArray(n),s=a.find(v);if(s){let e=s.props.children,n=a.map(t=>t!==s?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,l.jsx)(t,{...o,ref:r,children:i.isValidElement(e)?i.cloneElement(e,void 0,n):null})}return(0,l.jsx)(t,{...o,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}var m=Symbol("radix.slottable");function v(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===m}var y=new WeakMap;function g(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=w(t),i=n>=0?n:r+n;return i<0||i>=r?-1:i}(e,t);return -1===r?void 0:e[r]}function w(e){return e!=e||0===e?0:Math.trunc(e)}function x(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}n=new WeakMap,(class e extends Map{set(e,t){return y.get(this)&&(this.has(e)?u(this,n)[u(this,n).indexOf(e)]=e:u(this,n).push(e)),super.set(e,t),this}insert(e,t,r){let i,o=this.has(t),l=u(this,n).length,a=w(e),s=a>=0?a:l+a,c=s<0||s>=l?-1:s;if(c===this.size||o&&c===this.size-1||-1===c)return this.set(t,r),this;let d=this.size+ +!o;a<0&&s++;let f=[...u(this,n)],p=!1;for(let e=s;e<d;e++)if(s===e){let n=f[e];f[e]===t&&(n=f[e+1]),o&&this.delete(t),i=this.get(n),this.set(t,r)}else{p||f[e-1]!==t||(p=!0);let r=f[p?e:e-1],n=i;i=this.get(r),this.delete(r),this.set(r,n)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=u(this,n).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let i=u(this,n).indexOf(e);return -1===i?this:this.insert(i,t,r)}after(e){let t=u(this,n).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let i=u(this,n).indexOf(e);return -1===i?this:this.insert(i+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return c(this,n,[]),super.clear()}delete(e){let t=super.delete(e);return t&&u(this,n).splice(u(this,n).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=g(u(this,n),e);
1if(void 0!==t)return this.get(t)}entryAt(e){let t=g(u(this,n),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return u(this,n).indexOf(e)}keyAt(e){return g(u(this,n),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=0,l=null!=i?i:this.at(0);for(let e of this)l=0===o&&1===t.length?e:Reflect.apply(n,this,[l,e,o,this]),o++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=null!=i?i:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);o=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[o,r,e,this])}return o}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),n=this.get(r);t.set(r,n)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i=[...this.entries()];return i.splice(...r),new e(i)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,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,n,{writable:!0,value:void 0}),c(this,n,[...super.keys()]),y.set(this,!0)}}),"undefined"!=typeof window&&window.document&&window.document.createElement;var b=globalThis?.document?i.useLayoutEffect:()=>{},R=o[" useInsertionEffect ".trim().toString()]||b;function N({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[o,l,a]=function({defaultProp:e,onChange:t}){let[r,n]=i.useState(e),o=i.useRef(r),l=i.useRef(t);return R(()=>{l.current=t},[t]),i.useEffect(()=>{o.current!==r&&(l.current?.(r),o.current=r)},[r,o]),[r,n,l]}({defaultProp:t,onChange:r}),s=void 0!==e,u=s?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,n])}return[u,i.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&a.current?.(r)}else l(t)},[s,e,l,a])]}Symbol("RADIX:SYNC_STATE"),r(47650);var A=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=h(`Primitive.${t}`),n=i.forwardRef((e,n)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i?r:t,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),C=e=>{let{present:t,children:r}=e,n=function(e){var t,r;let[n,o]=i.useState(),l=i.useRef(null),a=i.useRef(e),s=i.useRef("none"),[u,c]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},i.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return i.useEffect(()=>{let e=O(l.current);s.current="mounted"===u?e:"none"},[u]),b(()=>{let t=l.current,r=a.current;if(r!==e){let n=s.current,i=O(t);e?c("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):r&&n!==i?c("ANIMATION_OUT"):c("UNMOUNT"),a.current=e}},[e,c]),b(()=>{if(n){var e;let t,r=null!=(e=n.ownerDocument.defaultView)?e:window,i=e=>{let i=O(l.current).includes(CSS.escape(e.animationName));if(e.target===n&&i&&(c("ANIMATION_END"),!a.current)){let e=n.style.animationFillMode;n.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=e)})}},o=e=>{e.target===n&&(s.current=O(l.current))};return n.addEventListener("animationstart",o),n.addEventListener("animationcancel",i),n.addEventListener("animationend",i),()=>{r.clearTimeout(t),n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",i),n.removeEventListener("animationend",i)}}c("ANIMATION_END")},[n,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:i.useCallback(e=>{l.current=e?getComputedStyle(e):null,o(e)},[])}}(t),o="function"==typeof r?r({present:n.isPresent}):i.Children.only(r),l=p(n.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(i=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(o));return"function"==typeof r||n.isPresent?i.cloneElement(o,{ref:l}):null};function O(e){return(null==e?void 0:e.animationName)||"none"}C.displayName="Presence";var j=o[" useId ".trim().toString()]||(()=>void 0),E=0;function I(e){let[t,r]=i.useState(j());return b(()=>{e||r(e=>e??String(E++))},[e]),e||(t?`radix-${t}`:"")}var _="Collapsible",[k,M]=a(_),[S,T]=k(_),D=i.forwardRef((e,t)=>
1{let{__scopeCollapsible:r,open:n,defaultOpen:o,disabled:a,onOpenChange:s,...u}=e,[c,d]=N({prop:n,defaultProp:null!=o&&o,onChange:s,caller:_});return(0,l.jsx)(S,{scope:r,disabled:a,contentId:I(),open:c,onOpenToggle:i.useCallback(()=>d(e=>!e),[d]),children:(0,l.jsx)(A.div,{"data-state":W(c),"data-disabled":a?"":void 0,...u,ref:t})})});D.displayName=_;var P="CollapsibleTrigger",z=i.forwardRef((e,t)=>{let{__scopeCollapsible:r,...n}=e,i=T(P,r);return(0,l.jsx)(A.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":W(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...n,ref:t,onClick:x(e.onClick,i.onOpenToggle)})});z.displayName=P;var U="CollapsibleContent",$=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,i=T(U,e.__scopeCollapsible);return(0,l.jsx)(C,{present:r||i.open,children:e=>{let{present:r}=e;return(0,l.jsx)(L,{...n,ref:t,present:r})}})});$.displayName=U;var L=i.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:n,children:o,...a}=e,s=T(U,r),[u,c]=i.useState(n),d=i.useRef(null),f=p(t,d),h=i.useRef(0),m=h.current,v=i.useRef(0),y=v.current,g=s.open||u,w=i.useRef(g),x=i.useRef(void 0);return i.useEffect(()=>{let e=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(e)},[]),b(()=>{let e=d.current;if(e){x.current=x.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();h.current=t.height,v.current=t.width,w.current||(e.style.transitionDuration=x.current.transitionDuration,e.style.animationName=x.current.animationName),c(n)}},[s.open,n]),(0,l.jsx)(A.div,{"data-state":W(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!g,...a,ref:f,style:{"--radix-collapsible-content-height":m?"".concat(m,"px"):void 0,"--radix-collapsible-content-width":y?"".concat(y,"px"):void 0,...e.style},children:g&&o})});function W(e){return e?"open":"closed"}var F=i.createContext(void 0),V="Accordion",q=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[B,H,K]=function(e){let t=e+"CollectionProvider",[r,n]=a(t),[o,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:t,children:r}=e,n=i.useRef(null),a=i.useRef(new Map).current;return(0,l.jsx)(o,{scope:t,itemMap:a,collectionRef:n,children:r})};u.displayName=t;let c=e+"CollectionSlot",d=h(c),f=i.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=p(t,s(c,r).collectionRef);return(0,l.jsx)(d,{ref:i,children:n})});f.displayName=c;let m=e+"CollectionItemSlot",v="data-radix-collection-item",y=h(m),g=i.forwardRef((e,t)=>{let{scope:r,children:n,...o}=e,a=i.useRef(null),u=p(t,a),c=s(m,r);return i.useEffect(()=>(c.itemMap.set(a,{ref:a,...o}),()=>void c.itemMap.delete(a))),(0,l.jsx)(y,{...{[v]:""},ref:u,children:n})});return g.displayName=m,[{Provider:u,Slot:f,ItemSlot:g},function(t){let r=s(e+"CollectionConsumer",t);return i.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}(V),[Y,X]=a(V,[K,M]),Z=M(),G=i.forwardRef((e,t)=>{let{type:r,...n}=e;return(0,l.jsx)(B.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,l.jsx)(en,{...n,ref:t}):(0,l.jsx)(er,{...n,ref:t})})});G.displayName=V;var[J,Q]=Y(V),[ee,et]=Y(V,{collapsible:!1}),er=i.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:o=()=>{},collapsible:a=!1,...s}=e,[u,c]=N({prop:r,defaultProp:null!=n?n:"",onChange:o,caller:V});return(0,l.jsx)(J,{scope:e.__scopeAccordion,value:i.useMemo(()=>u?[u]:[],[u]),onItemOpen:c,onItemClose:i.useCallback(()=>a&&c(""),[a,c]),children:(0,l.jsx)(ee,{scope:e.__scopeAccordion,collapsible:a,children:(0,l.jsx)(el,{...s,ref:t})})})}),en=i.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:o=()=>{},...a}=e,[s,u]=N({prop:r,defaultProp:null!=n?n:[],onChange:o,caller:V}),c=i.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[u]),d=i.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[u]);return(0,l.jsx)(J,{scope:e.__scopeAccordion,value:s,onItemOpen:c,onItemClose:d,children:(0,l.jsx)(ee,{scope:e.__scopeAccordion,collapsible:!0,children:(0,l.jsx)(el,{...a,ref:t})})})}),[ei,eo]=Y(V),el=i.forwardRef((e,t)=>
1{let{__scopeAccordion:r,disabled:n,dir:o,orientation:a="vertical",...s}=e,u=p(i.useRef(null),t),c=H(r),d="ltr"===function(e){let t=i.useContext(F);return e||t||"ltr"}(o),f=x(e.onKeyDown,e=>{var t;if(!q.includes(e.key))return;let r=e.target,n=c().filter(e=>{var t;return!(null==(t=e.ref.current)?void 0:t.disabled)}),i=n.findIndex(e=>e.ref.current===r),o=n.length;if(-1===i)return;e.preventDefault();let l=i,s=o-1,u=()=>{(l=i+1)>s&&(l=0)},f=()=>{(l=i-1)<0&&(l=s)};switch(e.key){case"Home":l=0;break;case"End":l=s;break;case"ArrowRight":"horizontal"===a&&(d?u():f());break;case"ArrowDown":"vertical"===a&&u();break;case"ArrowLeft":"horizontal"===a&&(d?f():u());break;case"ArrowUp":"vertical"===a&&f()}null==(t=n[l%o].ref.current)||t.focus()});return(0,l.jsx)(ei,{scope:r,disabled:n,direction:o,orientation:a,children:(0,l.jsx)(B.Slot,{scope:r,children:(0,l.jsx)(A.div,{...s,"data-orientation":a,ref:u,onKeyDown:n?void 0:f})})})}),ea="AccordionItem",[es,eu]=Y(ea),ec=i.forwardRef((e,t)=>{let{__scopeAccordion:r,value:n,...i}=e,o=eo(ea,r),a=Q(ea,r),s=Z(r),u=I(),c=n&&a.value.includes(n)||!1,d=o.disabled||e.disabled;return(0,l.jsx)(es,{scope:r,open:c,disabled:d,triggerId:u,children:(0,l.jsx)(D,{"data-orientation":o.orientation,"data-state":ey(c),...s,...i,ref:t,disabled:d,open:c,onOpenChange:e=>{e?a.onItemOpen(n):a.onItemClose(n)}})})});ec.displayName=ea;var ed="AccordionHeader",ef=i.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=eo(V,r),o=eu(ed,r);return(0,l.jsx)(A.h3,{"data-orientation":i.orientation,"data-state":ey(o.open),"data-disabled":o.disabled?"":void 0,...n,ref:t})});ef.displayName=ed;var ep="AccordionTrigger",eh=i.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=eo(V,r),o=eu(ep,r),a=et(ep,r),s=Z(r);return(0,l.jsx)(B.ItemSlot,{scope:r,children:(0,l.jsx)(z,{"aria-disabled":o.open&&!a.collapsible||void 0,"data-orientation":i.orientation,id:o.triggerId,...s,...n,ref:t})})});eh.displayName=ep;var em="AccordionContent",ev=i.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=eo(V,r),o=eu(em,r),a=Z(r);return(0,l.jsx)($,{role:"region","aria-labelledby":o.triggerId,"data-orientation":i.orientation,...a,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function ey(e){return e?"open":"closed"}ev.displayName=em;var eg=G,ew=ec,ex=ef,eb=eh,eR=ev}}]);

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.