PageSourceSearch

https://arad-polimer-novin.ir/_next/static/chunks/2y6jwls5kqh2z.js

js arad-polimer-novin.ir collected 2026-10-08 00:01:53 UTC 55,509 bytes, 9 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,381910,871689,e=>{"use strict";var t=e.i(843476),n=e.i(475254);let r=(0,n.default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,r],871689);let i=(0,n.default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var o=e.i(861745);e.s(["default",0,({isLeft:e=!1,...n})=>{let a=(0,o.useLocale)(),s="fa"===a||"ar"===a;return(0,t.jsx)(t.Fragment,{children:e&&s||!e&&!s?(0,t.jsx)(r,{...n}):(0,t.jsx)(i,{...n})})}],381910)},484809,694351,e=>{"use strict";e.s(["default",()=>g],484809);var t=e.i(843476);e.i(147760);var n=e.i(482238),r=e.i(271645),i=e.i(991918),o=e.i(463059),a=(e.i(373488),e.i(647163));function s({...e}){return(0,t.jsx)("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...e})}function l({className:e,...n}){return(0,t.jsx)("ol",{"data-slot":"breadcrumb-list",className:(0,a.cn)("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",e),...n})}function c({className:e,...n}){return(0,t.jsx)("li",{"data-slot":"breadcrumb-item",className:(0,a.cn)("inline-flex items-center gap-1.5",e),...n})}function u({asChild:e,className:n,...r}){let o=e?i.Slot:"a";return(0,t.jsx)(o,{"data-slot":"breadcrumb-link",className:(0,a.cn)("hover:text-foreground transition-colors",n),...r})}function d({className:e,...n}){return(0,t.jsx)("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:(0,a.cn)("text-foreground font-normal",e),...n})}function f({children:e,className:n,...r}){return(0,t.jsx)("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:(0,a.cn)("[&>svg]:size-3.5",n),...r,children:e??(0,t.jsx)(o.ChevronRight,{})})}var p=e.i(861745),m=e.i(948148);let x=(0,e.i(475254).default)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);e.s(["Home",0,x],694351);var h=e.i(467784);let g=({items:e=[],dist:i})=>{let o=(0,m.useTranslations)("common");return(0,p.useLocale)(),(0,t.jsx)(s,{className:"w-full text-xs sm:text-sm text-primary",children:(0,t.jsxs)(l,{children:[(0,t.jsx)(c,{children:(0,t.jsx)(u,{asChild:!0,children:(0,t.jsx)(n.Link,{href:"/",title:o("home"),children:(0,t.jsx)(x,{className:"w-4"})})})}),(0,t.jsxs)(f,{children:[" ",(0,t.jsx)(h.default,{isLeft:!0})," "]}),e.map(e=>(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)(c,{children:(0,t.jsx)(u,{asChild:!0,children:(0,t.jsx)(n.Link,{href:e.path,title:e.title,children:e.shortName||e.title})})}),(0,t.jsxs)(f,{children:[" ",(0,t.jsx)(h.default,{isLeft:!0})," "]})]},e.path)),(0,t.jsx)(c,{children:(0,t.jsx)(d,{className:"font-medium text-foreground",children:i})})]})})}},467784,629978,e=>{"use strict";var t=e.i(843476),n=e.i(412012);e.s(["ChevronLeftIcon",()=>n.default],629978);var n=n,r=e.i(233565),i=e.i(861745);e.s(["default",0,({isLeft:e=!1,...o})=>{let a=(0,i.useLocale)(),s="fa"===a||"ar"===a;return(0,t.jsx)(t.Fragment,{children:e&&s||!e&&!s?(0,t.jsx)(n.default,{...o}):(0,t.jsx)(r.ChevronRightIcon,{...o})})}],467784)},481986,531278,e=>{"use strict";var t=e.i(843476),n=e.i(167881),r=e.i(717521);e.s(["Loader2",()=>r.default],531278);var r=r,i=e.i(948148),o=e.i(618424),a=e.i(488360),s=e.i(567407);e.s(["default",0,({open:e,close:l,message:c,description:u,submit:d,submitTitle:f,cancelTitle:p,isLoading:m=!1,isLogin:x=!1})=>{let h=(0,i.useTranslations)();return(0,o.useSafeRouter)(),(0,t.jsx)(a.ResponsiveModal,{open:e,onOpenChange:e=>!e&&!m&&l(),title:x?c||h("components.login-to-continue"):c,description:u,children:(0,t.jsx)("div",{className:"flex flex-col items-center gap-6 text-center",children:(0,t.jsxs)("div",{className:"flex gap-3 py-4",children:[(0,t.jsx)(n.Button,{onClick:()=>{if(d)return d();x&&(window.location.href=`${s.baseUrl}/api/auth/login?redirect_to=${encodeURIComponent(window.location.href)}`)},disabled:m,className:"w-24",children:m?(0,t.jsx)(r.default,{className:"h-4 w-4 animate-spin"}):f||h(x?"common.login":"common.delete")}),(0,t.jsx)(n.Button,{variant:"outline",onClick:l,disabled:m,className:"w-24",children:p||h("common.cancel")})]})})})}
1],481986)},778356,e=>{"use strict";var t=e.i(411039);e.s(["Img",()=>t.default])},590760,e=>{"use strict";var t=e.i(843476),n=e.i(10708);e.s(["default",0,({children:e,error:r,label:i})=>(0,t.jsxs)(n.Label,{className:"flex flex-col items-start gap-1",children:[(0,t.jsx)("p",{className:"mx-1",children:i}),e,r&&(0,t.jsx)("p",{className:"mx-1 text-destructive",children:r})]})])},604405,250725,846371,e=>{"use strict";e.s(["default",()=>p],604405),e.s(["Pagination",()=>a,"PaginationContent",()=>s,"PaginationEllipsis",()=>f,"PaginationItem",()=>l,"PaginationLink",()=>c,"PaginationNext",()=>d,"PaginationPrevious",()=>u],846371);var t=e.i(843476),n=e.i(373488),n=n,r=e.i(647163),i=e.i(167881);e.i(147760);var o=e.i(467784);e.s(["Chevron",()=>o.default],250725);var o=o;function a({className:e,...n}){return(0,t.jsx)("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination",className:(0,r.cn)("mx-auto flex w-full justify-center",e),...n})}function s({className:e,...n}){return(0,t.jsx)("ul",{"data-slot":"pagination-content",className:(0,r.cn)("flex flex-row items-center gap-1",e),...n})}function l({...e}){return(0,t.jsx)("li",{"data-slot":"pagination-item",...e})}function c({className:e,isActive:n,size:o="icon",...a}){return(0,t.jsx)("a",{"aria-current":n?"page":void 0,"data-slot":"pagination-link","data-active":n,className:(0,r.cn)((0,i.buttonVariants)({variant:n?"outline":"ghost",size:o}),e),...a})}function u({className:e,...n}){return(0,t.jsx)(c,{"aria-label":"Go to previous page",size:"default",className:(0,r.cn)("gap-1 px-2.5 sm:pl-2.5",e),...n,children:(0,t.jsx)(o.default,{})})}function d({className:e,...n}){return(0,t.jsx)(c,{"aria-label":"Go to next page",size:"default",className:(0,r.cn)("gap-1 px-2.5 sm:pr-2.5",e),...n,children:(0,t.jsx)(o.default,{isLeft:!0})})}function f({className:e,...i}){return(0,t.jsxs)("span",{"aria-hidden":!0,"data-slot":"pagination-ellipsis",className:(0,r.cn)("flex size-9 items-center justify-center",e),...i,children:[(0,t.jsx)(n.default,{className:"size-4"}),(0,t.jsx)("span",{className:"sr-only",children:"More pages"})]})}let p=function({page:e,count:n,onChange:r}){if(n<=1)return null;let i=Math.max(1,e-2),o=Math.min(n,e+2),p=[];for(let e=i;e<=o;e++)p.push(e);let m=t=>{t<1||t>n||t===e||r(t)};return(0,t.jsx)(a,{children:(0,t.jsxs)(s,{children:[(0,t.jsx)(l,{children:(0,t.jsx)(u,{href:"#","aria-disabled":1===e,onClick:t=>{t.preventDefault(),m(e-1)}})}),i>1&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l,{children:(0,t.jsx)(c,{href:"#",onClick:e=>{e.preventDefault(),m(1)},children:"1"})}),i>2&&(0,t.jsx)(l,{children:(0,t.jsx)(f,{})})]}),p.map(n=>(0,t.jsx)(l,{children:(0,t.jsx)(c,{isActive:n===e,onClick:e=>{e.preventDefault(),m(n)},children:n})},n)),o<n&&(0,t.jsxs)(t.Fragment,{children:[o<n-1&&(0,t.jsx)(l,{children:(0,t.jsx)(f,{})}),(0,t.jsx)(l,{children:(0,t.jsx)(c,{onClick:e=>{e.preventDefault(),m(n)},children:n})})]}),(0,t.jsx)(l,{children:(0,t.jsx)(d,{href:"#","aria-disabled":e===n,onClick:t=>{t.preventDefault(),m(e+1)}})})]})})}},257201,e=>{"use strict";var t=e.i(843476),n=e.i(207670);e.s(["ProgressBar",0,({percent:e,size:r=36,strokeWidth:i=4})=>{let o=(r-i)/2,a=2*Math.PI*o;return(0,t.jsxs)("div",{className:"relative inline-flex items-center justify-center",style:{width:r,height:r},children:[(0,t.jsxs)("svg",{width:r,height:r,className:"-rotate-90",children:[(0,t.jsx)("circle",{cx:r/2,cy:r/2,r:o,strokeWidth:i,className:"fill-none stroke-muted"}),(0,t.jsx)("circle",{cx:r/2,cy:r/2,r:o,strokeWidth:i,strokeDasharray:a,strokeDashoffset:a-e/100*a,className:(0,n.clsx)("fill-none transition-all duration-300 ease-out","stroke-primary"),strokeLinecap:"round"})]}),(0,t.jsxs)("span",{className:"absolute text-xs font-medium text-muted-foreground",children:[Math.round(e),"%"]})]})}])},179652,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(948148),i=e.i(618566),o=e.i(618424);e.i(622183);var a=e.i(85855),s=e.i(47195),l=e.i(23750);e.s(["SearchInput",0,({isLoading:e,callbackFunc:c,placeholder:u,size:d="default",parentSearchingWord:f,setParentSearchingWord:p,searchParam:m="search",justNumber:x=!1})=>{let h=(0,r.useTranslations)("common"),g=(0,o.useSafeRouter)(),v=(0,i.usePathname)(),b=(0,i.useSearchParams)(),[y,j]=(0,n.use
1State)(!0),[w,k]=(0,n.useState)(""),C=(0,a.useDebounce)(w,1e3);(0,n.useEffect)(()=>{if(void 0===f){let e=b.get(m);e?k(e):k("")}},[b]),(0,n.useEffect)(()=>{if(void 0===f){if(!y){let e=new URLSearchParams(b.toString());e.delete("page"),C.length>0?e.set(m,C):e.delete(m),g.push(`${v}?${e.toString()}`,{scroll:!1})}j(!1)}},[C]);let N=void 0===f?x?(0,s.num2str)(w):w:x?(0,s.num2str)(f):f;return(0,t.jsx)("div",{className:"flex items-center w-full rounded-md shadow-sm",children:(0,t.jsx)("form",{onSubmit:t=>{if(t.preventDefault(),!e&&(c&&c(),void 0===f)){let e=new URLSearchParams(b.toString());e.delete("page"),w.length>0?e.set(m,w):e.delete(m),g.push(`${v}?${e.toString()}`,{scroll:!1})}},className:"flex flex-1 w-full",children:(0,t.jsx)(l.Input,{type:x?"text":"search",className:"flex-1",dir:x?"ltr":void 0,disabled:e,placeholder:u||h("search-placeholder"),onChange:e=>{let t=e.target.value;if(x){let e=String((0,s.str2num)(t));p?p(e):k(e)}else p?p(t):k(t)},value:N,autoComplete:"off"})})})}])},815591,e=>{"use strict";var t=e.i(843476),n=e.i(618566),r=e.i(618424);e.s(["default",0,function({navItems:e,tabItems:i,value:o,onChange:a,defaultTab:s,rtl:l,className:c}){let u=(0,r.useSafeRouter)(),d=(0,n.useSearchParams)(),f=(0,n.usePathname)(),p=d.get("activeTab")||s;return e?(0,t.jsxs)("div",{className:"relative flex w-full border-b border-primary "+(c||""),dir:l?"rtl":"ltr",children:[(0,t.jsx)("div",{className:"flex w-full",children:e.map(e=>{let n=p===e.activeTabValue;return(0,t.jsx)("button",{onClick:()=>{let t=new URLSearchParams(d.toString());t.set("activeTab",e.activeTabValue),u.replace(`${f}?${t.toString()}`)},className:`
2                  flex-1 py-3 text-center transition-colors 
3                  text-sm font-medium
4                  ${n?"text-primary font-semibold":"text-muted-foreground hover:text-foreground"}
5                `,children:e.label},e.activeTabValue)})}),(0,t.jsx)("div",{className:"absolute bottom-0 h-0.5 bg-primary transition-all duration-300",style:{width:`${100/e.length}%`,left:`calc(${e.findIndex(e=>e.activeTabValue===p)*(100/e.length)}%)`}})]}):(0,t.jsxs)("div",{className:"relative flex w-full border-b border-primary "+(c||""),dir:l?"rtl":"ltr",children:[(0,t.jsx)("div",{className:"flex w-full",children:i?.map((e,n)=>{let r=n+1,i=r===o;return(0,t.jsx)("button",{onClick:()=>a&&a(r),className:`
6                flex-1 py-3 text-center transition-colors
7                text-sm font-medium
8                ${i?"text-primary font-semibold":"text-muted-foreground hover:text-foreground"}
9              `,children:e},n)})}),i&&(0,t.jsx)("div",{className:"absolute bottom-0 h-0.5 bg-primary transition-all duration-300",style:{width:`${100/i.length}%`,right:l?`calc(${((o||1)-1)*(100/i.length)}%)`:"unset",left:l?"unset":`calc(${((o||1)-1)*(100/i.length)}%)`}})]})}])},147760,e=>{"use strict";e.s([]),e.i(467784),e.i(381910),e.i(411039),e.i(203429),e.i(481986),e.i(484809),e.i(590760),e.i(604405),e.i(257201),e.i(179652),e.i(609019),e.i(815591),e.i(73328)},73328,e=>{"use strict";var t=e.i(843476),n=e.i(522016),r=e.i(861745),i=e.i(515304),o=e.i(851713);e.s(["default",0,function({href:e,...a}){let s=(0,r.useLocale)(),l=(0,i.getDefaultLocale)();if("string"!=typeof e||/^[a-z][a-z0-9+.-]*:/i.test(e))return(0,t.jsx)(n.default,{href:e,...a});let c=(0,o.withLocale)(e,s,l);return(0,t.jsx)(n.default,{href:c,...a})}])},482238,e=>{"use strict";var t=e.i(73328);e.s(["Link",()=>t.default])},203429,492291,919737,e=>{"use strict";e.s(["default",()=>y],203429),e.s(["Carousel",()=>u,"CarouselContent",()=>d,"CarouselItem",()=>f,"CarouselNext",()=>m,"CarouselPrevious",()=>p],919737);var t=e.i(843476),n=e.i(271645);e.i(147760);var r=e.i(778356),i=e.i(130013),o=e.i(647163),a=e.i(167881),s=e.i(381910);e.s(["Arrow",()=>s.default],492291);var s=s;let l=n.createContext(null);function c(){let e=n.useContext(l);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}function u({orientation:e="horizontal",opts:r,setApi:a,plugins:s,className:c,children:d,dir:f="ltr",...p}){let[m,x]=(0,i.default)({...r,axis:"horizontal"===e?"x":"y",direction:f},s),[h,g]=n.useState(!1),[v,b]=n.useState(!1),y=n.useCallback(e=>{e&&(g(e.canScrollPrev()),b(e.canScrollNext()))},[]),j=n.useCallback(()=>{x?.scrollPrev()},[x]),w=n.useCallback(()=>{x?.scrollNext()},[x]),k=n.useCallback(e=>{let t="rtl"===f;"ArrowLeft"===e.key?(e.preventDefault(),t?w():j()):"ArrowRight"===e.key&&(e.preventDefault(),t?j():w())},[j,w,f]);return n.useEffect(()=>{x&&a&&a(x)},[x,a]),n.useEffect(()=>{if(x)return y(x),x.on("reInit",y),x.on("select",y),()=>{x?.off("select",y)}},[x,y]),(0,t.jsx)(l.Provider,{value:{carouselRef:m,api:x,opts:r,orientation:e||(r?.axis==="y"?"vertical":"horizontal"),scrollPrev:j,scrollNext:w,canScrollPrev:h,canScrollNext:v,dir:f},children:(0,t.jsx)("div",{onKeyDownCapture:k,className:(0,o.cn)("relative",c),role:"region","aria-roledescription":"carousel","data-slot":"carousel",dir:f,...p,children:d})})}function d({className:e,...n}){let{carouselRef:r,orientation:i}=c();return(0,t.jsx)("div",{ref:r,className:"overflow-hidden","data-slot":"carousel-content",children:(0,t.jsx)("div",{className:(0,o.cn)("flex","horizontal"===i?"":" flex-col",e),...n})})}function f({className:e,...n}){let{orientation:r}=c();return(0,t.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,o.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pr-4":"pt-4",e),...n})}function p({className:e,variant:n="outline",size:r="icon",...i}){let{orientation:l,scrollPrev:u,canScrollPrev:d,dir:f}=c(),m="rtl"===f;return(0,t.jsxs)(a.Button,{type:"button","data-slot":"carousel-previous",variant:n,size:r,className:(0,o.cn)("absolute size-8 rounded-full text-primary","horizontal"===l?m?"top-1/2 -right-12 -translate-y-1/2":"top-1/2 -left-12 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!d,onClick:e=>{e.stopPropagation(),u()},...i,children:[m?(0,t.jsx)(s.default,{}):(0,t.jsx)(s.default,{isLeft:!0})," ",(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}function m({className:e,variant:n="outline",size:r="icon",...i}){let{orientation:l,scrollNext:u,canScrollNext:d,dir:f}=c(),p="rtl"===f;return(0,t.jsxs)(a.Button,{type:"button","data-slot":"carousel-next",variant:n,size:r,className:(0,o.cn)("absolute size-8 rounded-full text-primary","horizontal"===l?p?"top-1/2 -left-12 -translate-y-1/2":"top-1/2 -right-12 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!d,onClick:e=>{e.stopPropagation(),u()},...i,children:[p?(0,t.jsx)(s.default,{isLeft:!0}):(0,t.jsx)(s.default,{})," ",(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})}var x=e.i(618566),h=e.i(207670),g=e.i(431343),v=e.i(37727);function b({image:e,maxScale:r=3}
9){let i=(0,n.useRef)(null),[a,s]=(0,n.useState)(1),[l,c]=(0,n.useState)({x:50,y:50});return(0,t.jsx)("div",{ref:i,className:(0,o.cn)("overflow-hidden rounded-md w-full",1===a?"cursor-zoom-in":"cursor-zoom-out"),onMouseMove:e=>{if(!i.current)return;let t=i.current.getBoundingClientRect();c({x:(e.clientX-t.left)/t.width*100,y:(e.clientY-t.top)/t.height*100})},onClick:e=>{e.stopPropagation(),s(a===r?1:r)},children:(0,t.jsx)("img",{src:e?.file,alt:e?.alt||"",draggable:!1,style:{transform:`scale(${a})`,transformOrigin:`${l.x}% ${l.y}%`},className:"transition-transform duration-75 select-none max-w-[min(calc(100vw-46px),800px)] max-h-[calc(100vh-110px)] h-auto mx-auto rounded-sm object-contain w-full"})})}let y=({files:e,close:i,showingImage:o})=>{let[s,l]=(0,n.useState)(),[c,y]=(0,n.useState)(),[j,w]=(0,n.useState)(o||0);(0,x.useSearchParams)().get("showingImage");let k=(0,n.useRef)([]),C=e=>{e&&!k.current?.includes(e)&&k.current?.push(e)},N=(0,n.useRef)([]),S=e=>{e&&!N.current?.includes(e)&&N.current?.push(e)},T=(0,n.useMemo)(()=>e[j],[e,j,o]),P=e.length>1;return((0,n.useEffect)(()=>(N?.current.forEach(e=>{"number"==typeof o&&e.id===T?.id.toString()||e.pause()}),()=>{N?.current.forEach(e=>e.pause())}),[j,o,T?.id]),(0,n.useEffect)(()=>{if(!s)return;let e=()=>s.scrollTo(o??0,!0);e(),w(s.selectedScrollSnap());let t=()=>{w(s.selectedScrollSnap()),c&&c.scrollTo(s.selectedScrollSnap())};return s.on("resize",e),s.on("select",t),s.on("reInit",t),()=>{s.off("resize",e),s.off("select",t),s.off("reInit",t)}},[s,o]),(0,n.useEffect)(()=>{if(!c)return;let e=()=>c.scrollTo(o??0,!0);return e(),c.on("resize",e),()=>{c.off("resize",e)}},[c,o]),"number"!=typeof o)?null:(0,t.jsxs)("div",{className:"fixed inset-0 z-10000 flex items-center justify-center bg-black/90 p-4",onClick:e=>{e.stopPropagation(),i()},children:[(0,t.jsx)(a.Button,{className:"absolute top-4 z-10000 left-4",size:"icon",onClick:e=>{e.stopPropagation(),i()},type:"button",children:(0,t.jsx)(v.X,{})}),(0,t.jsxs)("div",{className:"relative h-full w-full max-w-200 flex flex-col items-center justify-center",children:[(0,t.jsx)("div",{className:"w-full h-full flex items-center justify-center mb-16 md:mb-20",children:(0,t.jsxs)(u,{setApi:l,className:"h-full w-full flex items-center justify-center",dir:"rtl",opts:{startIndex:o||0,loop:!1},children:[(0,t.jsx)(d,{children:e.map((e,n)=>(0,t.jsx)(f,{className:"p-0 flex items-center justify-center",children:"image"===e.type||"cover"===e.type||"logo"===e.type?(0,t.jsx)(b,{image:e,maxScale:2}):"video"===e.type?(0,t.jsxs)("video",{ref:S,id:e.id,width:"100%",controls:!0,onClick:e=>e.stopPropagation(),className:"max-w-[min(calc(100vw-46px),800px)] max-h-[calc(100vh-110px)] mx-auto bg-black rounded-md",children:[(0,t.jsx)("source",{src:e?.file||e,type:"video/mp4"}),"Your browser does not support the video tag."]}):"audio"===e.type?(0,t.jsx)("div",{className:"flex items-center justify-center w-full p-2 h-full max-w-[min(calc(100vw-46px),800px)] max-h-[calc(100vh-110px)]",children:(0,t.jsxs)("audio",{ref:S,id:e.id,controls:!0,onClick:e=>e.stopPropagation(),className:"max-w-[min(calc(100vw-46px),800px)] max-h-[calc(100vh-110px)] mx-auto w-full",children:[(0,t.jsx)("source",{src:e?.file||e,type:"video/mp4"}),"Your browser does not support the video tag."]})}):(0,t.jsx)("img",{src:e?.file||e,alt:e?.name||"",title:e?.name||"",className:"block max-w-[min(calc(100vw-46px),800px)] max-h-[calc(100vh-100px)] w-auto h-auto mx-auto object-contain rounded-md relative z-10",onClick:e=>e.stopPropagation()})},n))}),(0,t.jsx)(m,{}),(0,t.jsx)(p,{})]})}),P&&(0,t.jsx)("div",{className:"fixed bottom-4 md:bottom-5 max-w-[calc(100%-16px)] w-fit z-10 p-1 mx-2 bg-background/50 backdrop-blur-sm rounded-lg shadow-xl",onClick:e=>e.stopPropagation(),children:(0,t.jsx)(u,{setApi:y,opts:{align:"start",watchDrag:!0,startIndex:o||0,loop:!1,containScroll:"keepSnaps"},dir:"rtl",children:(0,t.jsx)(d,{className:"gap-2",children:e.map((e,n)=>(0,t.jsx)(f,{className:"basis-auto p-0",children:(0,t.jsx)("div",{ref:C,onClick:()=>{s?.scrollTo(n)},className:(0,h.default)("cursor-pointer h-15 rounded-sm overflow-hidden border-2 transition-all duration-300",e.id===T?.id?"border-primary shadow-lg":"border-transparent hover:border-white/50"),children:"image"===e.type||"cover"===e.type||"logo"===e.type?(0,t.jsx)(r.Img,{src:e.f
9ile,alt:e.name,className:"w-full h-full object-cover",quality:50,width:56}):"video"===e.type?(0,t.jsx)("video",{className:"w-full h-full object-cover",children:(0,t.jsx)("source",{src:e?.file||e,type:"video/mp4"})}):"audio"===e.type?(0,t.jsx)(a.Button,{className:" h-full aspect-square rounded-xs",type:"button",children:(0,t.jsx)(g.Play,{})}):"سیب"})},e.id))})})})]})]})}},609019,480730,158937,e=>{"use strict";e.s(["SaveItems",()=>C],609019),e.s(["AddSaveFolderModal",()=>y],158937);var t=e.i(843476),n=e.i(271645),r=e.i(948148);e.i(622183);var i=e.i(661052),o=e.i(954616),a=e.i(571930),s=e.i(531278),l=e.i(728231),c=e.i(442341),u=e.i(488360),d=e.i(481986),f=e.i(912598),p=e.i(327025),m=e.i(107233),x=e.i(861745),h=e.i(727612),g=e.i(167881),v=e.i(23750);e.i(147760);var b=d;e.s(["ConfirmModal",()=>b.default],480730);var b=d;let y=({close:e,type:a,id:s,initialName:l="",back:c})=>{let{request:u,routes:d}=(0,i.useApi)(),p=(0,f.useQueryClient)(),m=(0,r.useTranslations)(),y=(0,x.useLocale)(),[j,w]=(0,n.useState)(l),[k,C]=(0,n.useState)(!1),N=()=>p.invalidateQueries({queryKey:[y,"favFolders"]}),{mutate:S,isPending:T}=(0,o.useMutation)({mutationFn:async()=>{await u({options:{url:s?`${d.FAV_FOLDERS}/${s}`:d.FAV_FOLDERS,method:s?"put":"post",data:{name:j,type:a}},onSuccess:()=>{N(),e(),c?.()}})}}),{mutate:P,isPending:E}=(0,o.useMutation)({mutationFn:async()=>{await u({options:{url:`${d.FAV_FOLDERS}/${s}`,method:"delete"},onSuccess:()=>{N(),C(!1),e(),c?.()}})}});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-col items-center justify-between w-full min-h-[360px] gap-5 p-5",children:[(0,t.jsxs)("div",{className:"w-full space-y-2",children:[(0,t.jsx)(v.Input,{onChange:e=>w(e.target.value),value:j}),s&&(0,t.jsxs)(g.Button,{variant:"ghost",onClick:()=>C(!0),className:"text-destructive hover:text-destructive gap-2",children:[(0,t.jsx)(h.Trash2,{size:18}),m("components.delete-folder")]})]}),(0,t.jsx)(g.Button,{disabled:""===j.trim(),onClick:()=>S(),className:"w-full",children:m("common.submit")})]}),(0,t.jsx)(b.default,{open:k,close:()=>C(!1),message:m("components.confirm-delete-folder"),submit:()=>P(),isLoading:E})]})};var j=e.i(331986);let w=({close:e,type:a,ids:s,submit:l})=>{let{request:d,routes:x}=(0,i.useApi)(),{isLoggedIn:h}=(0,c.useAppSelector)(e=>e.user),g=(0,f.useQueryClient)(),v=(0,r.useTranslations)(),[b,w]=(0,n.useState)(!1),{data:k,isFetching:C}=(0,j.useAppQuery)({queryKey:["favFolders",a],queryFn:async()=>(await d({url:x.FAV_FOLDERS,method:"get",params:{type:a}})).data.items,enabled:h}),{mutate:N,isPending:S}=(0,o.useMutation)({mutationFn:async e=>{await d({url:x.COPY_ITEMS_TO_FOLDER(e),method:"post",data:{favorite_ids:s}})},onSuccess:()=>{g.invalidateQueries({queryKey:["favFolders"]}),e()}});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex flex-col items-center w-full",children:(0,t.jsxs)("ul",{className:"w-full",children:[k?.map(e=>(0,t.jsx)(n.Fragment,{children:(0,t.jsx)("li",{children:(0,t.jsxs)("button",{onClick:()=>{var t;return t=e.id,void(l?l(t):N(t))},disabled:S,className:"flex items-center gap-3 w-full px-5 py-2.5 hover:bg-accent transition-colors text-start",children:[(0,t.jsx)(p.Folder,{size:20,className:"text-muted-foreground shrink-0"}),(0,t.jsx)("span",{className:"text-sm",children:e.name})]})})},e.id)),(0,t.jsx)("li",{children:(0,t.jsxs)("button",{onClick:()=>w(!0),className:"flex items-center gap-3 w-full px-5 py-2.5 hover:bg-accent transition-colors text-start",children:[(0,t.jsx)(m.Plus,{size:20,className:"text-muted-foreground shrink-0"}),(0,t.jsx)("span",{className:"text-sm",children:v("components.add-new-folder")})]})})]})}),(0,t.jsx)(u.ResponsiveModal,{open:b,onOpenChange:()=>w(!1),title:v("components.add-new-folder"),children:(0,t.jsx)(y,{close:()=>w(!1),type:a})})]})};var k=e.i(647163);let C=({type:e,id:f,saved:p,size:m,removeBg:x})=>{let{isLoggedIn:h}=(0,c.useAppSelector)(e=>e.user),[v,b]=(0,n.useState)(p),y=(0,r.useTranslations)(),{request:j,routes:C}=(0,i.useApi)(),[N,S]=(0,n.useState)(0),[T,P]=(0,n.useState)(!1),{mutate:E,isPending:L}=(0,o.useMutation)({mutationFn:async()=>
9{if(!f)return;let t=await j({options:{url:C.TOGGLE_FAV,method:"post",data:{type:e,id:Number(f)}},otherOptions:{hideToast:!0},onSuccess:e=>{let{is_favorite:t,favorite_id:n}=e.data.item;b(t),t&&S(n)}});return t?.data.item}});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.TooltipProvider,{children:(0,t.jsxs)(l.Tooltip,{children:[(0,t.jsx)(l.TooltipTrigger,{asChild:!0,children:(0,t.jsx)(g.Button,{onClick:()=>{L||(h?E():P(!0))},style:{width:m,height:m},className:(0,k.cn)("flex items-center justify-center cursor-pointer w-9.5 h-9.5 rounded",x?"":"bg-primary/10 hover:bg-primary/20"),size:"icon",children:L?(0,t.jsx)(s.Loader2,{className:"animate-spin text-muted-foreground"}):(0,t.jsx)(a.Bookmark,{className:v?"text-primary fill-primary":"text-primary fill-none"})})}),(0,t.jsx)(l.TooltipContent,{children:y(v?"common.remove-from-saved":"common.add-to-saved")})]})}),(0,t.jsx)(u.ResponsiveModal,{open:!!N,onOpenChange:()=>S(0),title:y("components.add-to-folder"),children:(0,t.jsx)(w,{close:()=>S(0),type:e,ids:[N]})}),(0,t.jsx)(d.default,{message:y("components.login-to-continue"),close:()=>P(!1),isLogin:!0,open:T})]})}},23750,e=>{"use strict";var t=e.i(843476),n=e.i(647163);e.s(["Input",0,function({className:e,type:r,...i}){return(0,t.jsx)("input",{type:r,"data-slot":"input",className:(0,n.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input hover:border-primary duration-300 transition-colors h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm"," focus-visible:ring-ring/50 focus-visible:ring-[3px] focus-visible:border-primary/50 ","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...i})}])},10708,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(248425),i=Object.defineProperty,o=n.forwardRef(i(function(e,n){return(0,t.jsx)(r.Primitive.label,{...e,ref:n,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}})},"name",{value:"Label",configurable:!0})),a=e.i(647163);e.s(["Label",0,function({className:e,...n}){return(0,t.jsx)(o,{"data-slot":"label",className:(0,a.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...n})}],10708)},728231,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(981140),i=e.i(820783),o=e.i(30030),a=e.i(726330),s=e.i(610772),l=e.i(853660),c=e.i(774606),u=e.i(296626),d=e.i(248425),f=e.i(991918),p=e.i(369340),m=e.i(934620),x=e.i(959411),h=Object.defineProperty,g=(e,t)=>h(e,"name",{value:t,configurable:!0}),[v,b]=(0,o.createContextScope)("Tooltip",[l.createPopperScope]),y=(0,l.createPopperScope)(),j="tooltip.open",[w,k]=v("TooltipProvider"),C=g(e=>{let{__scopeTooltip:r,delayDuration:i=700,skipDelayDuration:o=300,disableHoverableContent:a=!1,children:s}=e,l=n.useRef(!0),c=n.useRef(!1),u=n.useRef(0);return n.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,t.jsx)(w,{scope:r,isOpenDelayedRef:l,delayDuration:i,onOpen:n.useCallback(()=>{o<=0||(window.clearTimeout(u.current),l.current=!1)},[o]),onClose:n.useCallback(()=>{o<=0||(window.clearTimeout(u.current),u.current=window.setTimeout(()=>l.current=!0,o))},[o]),isPointerInTransitRef:c,onPointerInTransitChange:n.useCallback(e=>{c.current=e},[]),disableHoverableContent:a,children:s})},"TooltipProvider"),N="Tooltip",[S,T]=v(N),P=g(e=>{let{__scopeTooltip:r,children:i,open:o,defaultOpen:a,onOpenChange:c,disableHoverableContent:u,delayDuration:d}=e,f=k(N,e.__scopeTooltip),m=y(r),[x,h]=n.useState(null),[v,b]=n.useState(void 0),w=(0,s.useId)(),C=n.useRef(0),T=u??f.disableHoverableContent,P=d??f.delayDuration,E=n.useRef(!1),[L,D]=(0,p.useControllableState)({prop:o,defaultProp:a??!1,onChange:g(e=>{e?(f.onOpen(),document.dispatchEvent(new CustomEvent(j))):f.onClose(),c?.(e)}
9,"onChange"),caller:N}),R=n.useMemo(()=>L?E.current?"delayed-open":"instant-open":"closed",[L]),M=n.useCallback(()=>{window.clearTimeout(C.current),C.current=0,E.current=!1,D(!0)},[D]),z=n.useCallback(()=>{window.clearTimeout(C.current),C.current=0,D(!1)},[D]),O=n.useCallback(()=>{window.clearTimeout(C.current),C.current=window.setTimeout(()=>{E.current=!0,D(!0),C.current=0},P)},[P,D]);return n.useEffect(()=>()=>{C.current&&(window.clearTimeout(C.current),C.current=0)},[]),(0,t.jsx)(l.Root,{...m,children:(0,t.jsx)(S,{scope:r,contentId:v??w,setContentId:b,open:L,stateAttribute:R,trigger:x,onTriggerChange:h,onTriggerEnter:n.useCallback(()=>{f.isOpenDelayedRef.current?O():M()},[f.isOpenDelayedRef,O,M]),onTriggerLeave:n.useCallback(()=>{T?z():(window.clearTimeout(C.current),C.current=0)},[z,T]),onOpen:M,onClose:z,disableHoverableContent:T,children:i})})},"Tooltip"),E="TooltipTrigger",L=n.forwardRef(g(function(e,o){let{__scopeTooltip:a,...s}=e,c=T(E,a),u=k(E,a),f=y(a),p=n.useRef(null),m=(0,i.useComposedRefs)(o,p,c.onTriggerChange),x=n.useRef(!1),h=n.useRef(!1),g=n.useCallback(()=>x.current=!1,[]);return n.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),(0,t.jsx)(l.Anchor,{asChild:!0,...f,children:(0,t.jsx)(d.Primitive.button,{"aria-describedby":c.open?c.contentId:void 0,"data-state":c.stateAttribute,...s,ref:m,onPointerMove:(0,r.composeEventHandlers)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(h.current||u.isPointerInTransitRef.current||(c.onTriggerEnter(),h.current=!0))}),onPointerLeave:(0,r.composeEventHandlers)(e.onPointerLeave,()=>{c.onTriggerLeave(),h.current=!1}),onPointerDown:(0,r.composeEventHandlers)(e.onPointerDown,()=>{c.open&&c.onClose(),x.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>{x.current||c.onOpen()}),onBlur:(0,r.composeEventHandlers)(e.onBlur,c.onClose),onClick:(0,r.composeEventHandlers)(e.onClick,c.onClose)})})},"TooltipTrigger")),D="TooltipPortal",[R,M]=v(D,{forceMount:void 0}),z=g(e=>{let{__scopeTooltip:n,forceMount:r,children:i,container:o}=e,a=T(D,n);return(0,t.jsx)(R,{scope:n,forceMount:r,children:(0,t.jsx)(u.Presence,{present:r||a.open,children:(0,t.jsx)(c.Portal,{asChild:!0,container:o,children:i})})})},"TooltipPortal"),O="TooltipContent",F=n.forwardRef(g(function(e,n){let r=M(O,e.__scopeTooltip),{forceMount:i=r.forceMount,side:o="top",...a}=e,s=T(O,e.__scopeTooltip);return(0,t.jsx)(u.Presence,{present:i||s.open,children:s.disableHoverableContent?(0,t.jsx)(H,{side:o,...a,ref:n}):(0,t.jsx)(I,{side:o,...a,ref:n})})},"TooltipContent")),I=n.forwardRef(g(function(e,r){let o=T(O,e.__scopeTooltip),a=k(O,e.__scopeTooltip),s=n.useRef(null),l=(0,i.useComposedRefs)(r,s),[c,u]=n.useState(null),{trigger:d,onClose:f}=o,p=s.current,{onPointerInTransitChange:m}=a,x=n.useCallback(()=>{u(null),m(!1)},[m]),h=n.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=B(r,n.getBoundingClientRect());u(U([...V(r,i),..._(t.getBoundingClientRect())])),m(!0)},[m]);return n.useEffect(()=>()=>x(),[x]),n.useEffect(()=>{if(d&&p){let e=g(e=>h(e,p),"handleTriggerLeave"),t=g(e=>h(e,d),"handleContentLeave");return d.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{d.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[d,p,h,x]),n.useEffect(()=>{if(c){let e=g(e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=d?.contains(t)||p?.contains(t),i=!q(n,c);r?x():i&&(x(),f())},"handleTrackPointerGrace");return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[d,p,c,f,x]),(0,t.jsx)(H,{...e,ref:l})},"TooltipContentHoverable")),A=(0,f.createSlottable)("TooltipContent"),H=n.forwardRef(g(function(e,r){let{__scopeTooltip:i,children:o,"aria-label":s,id:c,onEscapeKeyDown:u,onPointerDownOutside:d,...f}=e,p=T(O,i),h=y(i),{onClose:v}=p;n.useEffect(()=>(document.addEventListener(j,v),()=>document.removeEventListener(j,v)),[v]),n.useEffect(()=>{if(p.trigger){let e=g(e=>{e.target instanceof Node&&e.target.contains(p.trigger)&&v()},"handleScroll");return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[p.trigger,v]);let{setContentId:b}=p;return(0,m.useLayoutEffect)(()=>(b(c),()=>{b(void 0)}),[c,b]),(0,t.jsx)(a.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:e=>e.preventDefault(),onDismiss:v,children:(0,t.jsxs)(l.Content,{"data-state":p.stateAttribute,role:s?void 0:"tooltip",id:s?void 0:p.contentId,...h,...f,ref:r,style:{...f.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,t.jsx)(A,{children:o}),s?(0,t.jsx)(x.Root,{id:p.contentId,role:"tooltip",children:s}):null]})})},"TooltipContentImpl")),$=n.forwardRef(g(function(e,n){let{__scopeTooltip:r,...i}=e,o=y(r);return(0,t.jsx)(l.Arrow,{...o,...i,ref:n})},"TooltipArrow"));function B(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}function V(e,t,n=5){let r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}function _(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function q(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let a=t[e],s=t[o],l=a.x,c=a.y,u=s.x,d=s.y;c>r!=d>r&&n<(u-l)*(r-c)/(d-c)+l&&(i=!i)}return i}function U(e){let t=e.slice();return t.sort((e,t)=>
9e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),Y(t)}function Y(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}g(B,"getExitSideFromRect"),g(V,"getPaddedExitPoints"),g(_,"getPointsFromRect"),g(q,"isPointInPolygon"),g(U,"getHull"),g(Y,"getHullPresorted");var K=e.i(647163);function Q({delayDuration:e=0,...n}){return(0,t.jsx)(C,{"data-slot":"tooltip-provider",delayDuration:e,...n})}e.s(["Tooltip",0,function({...e}){return(0,t.jsx)(Q,{children:(0,t.jsx)(P,{"data-slot":"tooltip",...e})})},"TooltipContent",0,function({className:e,sideOffset:n=0,children:r,...i}){return(0,t.jsx)(z,{children:(0,t.jsxs)(F,{"data-slot":"tooltip-content",sideOffset:n,className:(0,K.cn)("bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",e),...i,children:[r,(0,t.jsx)($,{className:"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px]"})]})})},"TooltipProvider",0,Q,"TooltipTrigger",0,function({...e}){return(0,t.jsx)(L,{"data-slot":"tooltip-trigger",...e})}],728231)},85855,e=>{"use strict";var t=e.i(656488);e.s(["useDebounce",()=>t.default])},959411,e=>{"use strict";var t=e.i(271645),n=e.i(248425),r=e.i(843476),i=Object.defineProperty,o=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),a=t.forwardRef(i(function(e,t){return(0,r.jsx)(n.Primitive.span,{...e,ref:t,style:{...o,...e.style}})},"name",{value:"VisuallyHidden",configurable:!0}));e.s(["Root",0,a,"VISUALLY_HIDDEN_STYLES",0,o])},130013,e=>{"use strict";var t=e.i(271645);function n(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function r(e,t){let i=Object.keys(e),o=Object.keys(t);return i.length===o.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&i.every(i=>{let o=e[i],a=t[i];return"function"==typeof o?`${o}`==`${a}`:n(o)&&n(a)?r(o,a):o===a})}function i(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function o(e){return"number"==typeof e}function a(e){return"string"==typeof e}function s(e){return"boolean"==typeof e}function l(e){return"[object Object]"===Object.prototype.toString.call(e)}function c(e){return Math.abs(e)}function u(e){return Math.sign(e)}function d(e){return x(e).map(Number)}function f(e){return e[p(e)]}function p(e){return Math.max(0,e.length-1)}function m(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function x(e){return Object.keys(e)}function h(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function g(){let e=[],t={add:function(n,r,i,o={passive:!0}){let a;return"addEventListener"in n?(n.addEventListener(r,i,o),a=()=>n.removeEventListener(r,i,o)):(n.addListener(i),a=()=>n.removeListener(i)),e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function v(e=0,t=0){let n=c(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function b(e){let t=e;function n(e){return o(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function y(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style,i=null,o=!1;return{clear:function(){!o&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(o)return;let a=Math.round(100*e.direction(t))/100;a!==i&&(r.transform=n(a),i=a)},toggleActive:function(e){o=!e}}}let j={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function w(e,t,n){let r,i,k,C,N,S,T,P,E=e.ownerDocument,L=E.defaultView,D=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>
9(x(n).forEach(r=>{let i=t[r],o=n[r],a=l(i)&&l(o);t[r]=a?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=x(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>x(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(L),R=(P=[],{init:function(e,t){return(P=t.filter(({options:e})=>!1!==D.optionsAtMedia(e).active)).forEach(t=>t.init(e,D)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){P=P.filter(e=>e.destroy())}}),M=g(),z=(i={},k={init:function(e){r=e},emit:function(e){return(i[e]||[]).forEach(t=>t(r,e)),k},off:function(e,t){return i[e]=(i[e]||[]).filter(e=>e!==t),k},on:function(e,t){return i[e]=(i[e]||[]).concat([t]),k},clear:function(){i={}}}),{mergeOptions:O,optionsAtMedia:F,optionsMediaQueries:I}=D,{on:A,off:H,emit:$}=z,B=!1,V=O(j,w.globalOptions),_=O(V),q=[];function U(t,n){B||(_=F(V=O(V,t)),q=n||q,function(){let{container:t,slides:n}=_;S=(a(t)?e.querySelector(t):t)||e.children[0];let r=a(n)?S.querySelectorAll(n):n;T=[].slice.call(r||S.children)}(),C=function t(n){let r=function(e,t,n,r,i,l,j){var w,k;let C,N,S,T,P,E,L,D,R,M,z,O,F,I,{align:A,axis:H,direction:$,startIndex:B,loop:V,duration:_,dragFree:q,dragThreshold:U,inViewThreshold:Y,slidesToScroll:K,skipSnaps:Q,containScroll:X,watchResize:G,watchSlides:W,watchDrag:J,watchFocus:Z}=l,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},et=ee.measure(t),en=n.map(ee.measure),er=(N="rtl"===$,T=(S="y"===H)||!N?1:-1,P=S?"top":N?"right":"left",E=S?"bottom":N?"left":"right",{scroll:S?"y":"x",cross:S?"x":"y",startEdge:P,endEdge:E,measureSize:function(e){let{height:t,width:n}=e;return S?t:n},direction:function(e){return e*T}}),ei=er.measureSize(et),eo={measure:function(e){return e/100*ei}},ea=(w=A,k=ei,C={start:function(){return 0},center:function(e){return(k-e)/2},end:function(e){return k-e}},{measure:function(e,t){return a(w)?C[w](e):w(k,e,t)}}),es=!V&&!!X,{slideSizes:el,slideSizesWithGaps:ec,startGap:eu,endGap:ed}=function(e,t,n,r,i,o){let{measureSize:a,startEdge:s,endEdge:l}=e,u=n[0]&&i,d=function(){if(!u)return 0;let e=n[0];return c(t[s]-e[s])}(),m=u?parseFloat(o.getComputedStyle(f(r)).getPropertyValue(`margin-${l}`)):0,x=n.map(a),h=n.map((e,t,n)=>{let r=t===p(n);return t?r?x[t]+m:n[t+1][s]-e[s]:x[t]+d}).map(c);return{slideSizes:x,slideSizesWithGaps:h,startGap:d,endGap:m}}(er,et,en,n,V||!!X,i),ef=function(e,t,n,r,i,a,s,l){let{startEdge:u,endEdge:m,direction:x}=e,h=o(n);return{groupSlides:function(e){return h?d(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?d(e).reduce((n,o,d)=>{let h=f(n)||0,g=o===p(e),v=i[u]-a[h][u],b=i[u]-a[o][m],y=r||0!==h?0:x(s),j=c(b-(!r&&g?x(l):0)-(v+y));return d&&j>t+2&&n.push(o),g&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(er,ei,K,V,et,en,eu,ed),{snaps:ep,snapsAligned:em}=function(e,t,n,r,i){let{startEdge:o,endEdge:a}=e,{groupSlides:s}=i,l=s(r).map(e=>f(e)[a]-e[0][o]).map(c).map(t.measure),u=r.map(e=>n[o]-e[o]).map(e=>-c(e)),d=s(u).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:u,snapsAligned:d}}(er,ea,et,en,ef),ex=-f(ep)+f(ec),{snapsContained:eh,scrollContainLimit:eg}=function(e,t,n,r){let i,o,a=v(-t+e,0),s=n.map((e,t)=>{let{min:r,max:i}=a,o=a.constrain(e),s=t===p(n);return t?s||function(e,t){return 1>=c(e-t)}(r,o)?r:function(e,t){return 1>=c(e-t)}(i,o)?i:o:i}).map(e=>parseFloat(e.toFixed(3))),l=(i=s[0],o=f(s),v(s.lastIndexOf(i),s.indexOf(o)+1));return{snapsContained:function(){if(t<=e+2)return[a.max];if("keepSnaps"===r)return s;let{min:n,max:i}=l;return s.slice(n,i)}(),scrollContainLimit:l}}(ei,ex,em,X),ev=es?eh:em,{limit:eb}=(L=ev[0],{limit:v(V?L-ex:f(ev),L)}),ey=function e(t,n,r){let{constrain:i}=v(0,t),o=t+1,a=s(n);function s(e){return r?c((o+e)%o):i(e)}function l(){return e(t,a,r)}let u={get:function(){return a}
9,set:function(e){return a=s(e),u},add:function(e){return l().set(a+e)},clone:l};return u}(p(ev),B,V),ej=ey.clone(),ew=d(n),ek=function(e,t,n,r){let i=g(),o=1e3/60,a=null,s=0,l=0;function c(e){if(!l)return;a||(a=e,n(),n());let i=e-a;for(a=e,s+=i;s>=o;)n(),s-=o;r(s/o),l&&(l=t.requestAnimationFrame(c))}function u(){t.cancelAnimationFrame(l),a=null,s=0,l=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,s=0)})},destroy:function(){u(),i.clear()},start:function(){l||(l=t.requestAnimationFrame(c))},stop:u,update:n,render:r}}(r,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(eI),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:o,slideLooper:a,dragHandler:s,animation:l,eventHandler:c,scrollBounds:u,options:{loop:d}},f)=>{let p=e.settled(),m=!u.shouldConstrain(),x=d?p:p&&m,h=x&&!s.pointerDown();h&&l.stop();let g=n.get()*f+i.get()*(1-f);r.set(g),d&&(o.loop(e.direction()),a.loop()),t.to(r.get()),h&&c.emit("settle"),x||c.emit("scroll")})(eI,e)),eC=ev[ey.get()],eN=b(eC),eS=b(eC),eT=b(eC),eP=b(eC),eE=function(e,t,n,r,i){let o=0,a=0,s=i,l=.68,d=e.get(),f=0;function p(e){return s=e,x}function m(e){return l=e,x}let x={direction:function(){return a},duration:function(){return s},velocity:function(){return o},seek:function(){let t=r.get()-e.get(),i=0;return s?(n.set(e),o+=t/s,o*=l,d+=o,e.add(o),i=d-f):(o=0,n.set(r),e.set(r),i=t),a=u(i),f=d,x},settled:function(){return .001>c(r.get()-t.get())},useBaseFriction:function(){return m(.68)},useBaseDuration:function(){return p(i)},useFriction:m,useDuration:p};return x}(eN,eT,eS,eP,_),eL=function(e,t,n,r,i){let{reachedAny:o,removeOffset:a,constrain:s}=r;function l(e){return e.concat().sort((e,t)=>c(e)-c(t))[0]}function d(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return l(i);let o=i.filter(e=>u(e)===r);return o.length?l(o):f(i)-n}return{byDistance:function(n,r){let l=i.get()+n,{index:u,distance:f}=function(n){let r=e?a(n):s(n),{index:i}=t.map((e,t)=>({diff:d(e-r,0),index:t})).sort((e,t)=>c(e.diff)-c(t.diff))[0];return{index:i,distance:r}}(l),p=!e&&o(l);if(!r||p)return{index:u,distance:n};let m=n+d(t[u]-f,0);return{index:u,distance:m}},byIndex:function(e,n){let r=d(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:d}}(V,ev,ex,eb,eP),eD=function(e,t,n,r,i,o,a){function s(i){let s=i.distance,l=i.index!==t.get();
9o.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(i.index),a.emit("select"))}return{distance:function(e,t){s(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);s(i.byIndex(r.get(),n))}}}(ek,ey,ej,eE,eL,eP,j),eR=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eb),eM=g(),ez=(R={},M=null,z=null,O=!1,{init:function(){D=new IntersectionObserver(e=>{O||(e.forEach(e=>{R[n.indexOf(e.target)]=e}),M=null,z=null,j.emit("slidesInView"))},{root:t.parentElement,threshold:Y}),n.forEach(e=>D.observe(e))},destroy:function(){D&&D.disconnect(),O=!0},get:function(e=!0){if(e&&M)return M;if(!e&&z)return z;let t=x(R).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=R[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(M=t),e||(z=t),t}}),{slideRegistry:eO}=function(e,t,n,r,i,o){let a,{groupSlides:s}=i,{min:l,max:c}=r;return{slideRegistry:(a=s(o),1===n.length?[o]:e&&"keepSnaps"!==t?a.slice(l,c).map((e,t,n)=>{let r=t===p(n);return t?r?m(p(o)-f(n)[0]+1,f(n)[0]):e:m(f(n[0])+1)}):a)}}(es,X,ev,eg,ef,ew),eF=function(e,t,n,r,i,a,l,c){let u={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(p){c&&(a.add(document,"keydown",f,!1),t.forEach((t,f)=>{a.add(t,"focus",t=>{(s(c)||c(p,t))&&function(t){if(new Date().getTime()-d>10)return;l.emit("slideFocusStart"),e.scrollLeft=0;let a=n.findIndex(e=>e.includes(t));o(a)&&(i.useDuration(0),r.index(a,0),l.emit("slideFocus"))}(f)},u)}))}}}(e,n,eO,eD,eE,eM,j,Z),eI={ownerDocument:r,ownerWindow:i,eventHandler:j,containerRect:et,slideRects:en,animation:ek,axis:er,dragHandler:function(e,t,n,r,i,o,a,l,d,f,p,m,x,b,y,j,w,k){let{cross:C,direction:N}=e,S=["INPUT","SELECT","TEXTAREA"],T={passive:!1},P=g(),E=g(),L=v(50,225).constrain(b.measure(20)),D={mouse:300,touch:400},R={mouse:500,touch:600},M=y?43:25,z=!1,O=0,F=0,I=!1,A=!1,H=!1,$=!1;function B(e){if(!h(e,r)&&e.touches.length>=2)return V(e);let t=o.readPoint(e),n=o.readPoint(e,C),a=c(t-O),s=c(n-F);if(!A&&!$&&(!e.cancelable||!(A=a>s)))return V(e);let u=o.pointerMove(e);a>j&&(H=!0),f.useFriction(.3).useDuration(.75),l.start(),i.add(N(u)),e.preventDefault()}function V(e){var t;let n,r,i=p.byDistance(0,!1).index!==m.get(),a=o.pointerUp(e)*(y?R:D)[$?"mouse":"touch"],s=(t=N(a),n=m.add(-1*u(t)),r=p.byDistance(t,!y).distance,y||c(t)<L?r:w&&i?.5*r:p.byIndex(n.get(),0).distance),l=function(e,t){var n,r;if(0===e||0===t||c(e)<=c(t))return 0;let i=(n=c(e),r=c(t),c(n-r));return c(i/e)}(a,s);A=!1,I=!1,E.clear(),f.useDuration(M-10*l).useFriction(.68+l/50),d.distance(s,!y),$=!1,x.emit("pointerUp")}function _(e){H&&(e.stopPropagation(),e.preventDefault(),H=!1)}return{init:function(e){k&&P.add(t,"dragstart",e=>e.preventDefault(),T).add(t,"touchmove",()=>void 0,T).add(t,"touchend",()=>void 0).add(t,"touchstart",l).add(t,"mousedown",l).add(t,"touchcancel",V).add(t,"contextmenu",V).add(t,"click",_,!0);function l(l){(s(k)||k(e,l))&&function(e){let s,l=h(e,r);if(($=l,H=y&&l&&!e.buttons&&z,z=c(i.get()-a.get())>=2,!l||0===e.button)&&(s=e.target.nodeName||"",!S.includes(s))){let r;I=!0,o.pointerDown(e),f.useFriction(0).useDuration(0),i.set(a),r=$?n:t,E.add(r,"touchmove",B,T).add(r,"touchend",V).add(r,"mousemove",B,T).add(r,"mouseup",V),O=o.readPoint(e),F=o.readPoint(e,C),x.emit("pointerDown")}}(l)}},destroy:function(){P.clear(),E.clear()},pointerDown:function(){return I}}}(er,e,r,i,eP,function(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){let i=r||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(h(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),a=i(e)-i(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),a=i(e)-i(n),s=i(e)-i(r)>170,l=t/a;return a&&!s&&c(l)>.1?l:0},readPoint:o}}(er,i),eN,ek,eD,eE,eL,ey,j,eo,q,U,Q,J),eventStore:eM,percentOfView:eo,index:ey,indexPrevious:ej,limit:eb,location:eN,offsetLocation:eT,previousLocation:eS,options:l,resizeHandler:function(e,t,n,r,i,o,a){let l,u,d=[e].concat(r),f=[],p=!1;function m(e){return i.measureSize(a.measure(e))}return{init:function(i){o&&(u=m(e),f=r.map(m),l=new ResizeObserver(n=>{(s(o)||o(i,n))&&function(n){for(let o of n){if(p)return;let n=o.target===e,a=r.indexOf(o.target),s=n?u:f[a];if(c(m(n?e:r[a])-s)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
9{d.forEach(e=>l.observe(e))}))},destroy:function(){p=!0,l&&l.disconnect()}}}(t,j,i,n,er,G,ee),scrollBody:eE,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),a=i.measure(50),s=v(.1,.99),l=!1;function u(){return!l&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:u,constrain:function(i){if(!u())return;let l=e.reachedMin(t.get())?"min":"max",d=c(e[l]-t.get()),f=n.get()-t.get(),p=s.constrain(d/a);n.subtract(f*p),!i&&c(f)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}(eb,eT,eP,eE,eo),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:o}=v(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(n.get()):-1===t&&i(n.get())))return;let a=-1*t*e;r.forEach(e=>e.add(a))}}}(ex,eb,eT,[eN,eT,eS,eP]),scrollProgress:eR,scrollSnapList:ev.map(eR.get),scrollSnaps:ev,scrollTarget:eL,scrollTo:eD,slideLooper:function(e,t,n,r,i,o,a,s,l){let c=d(i),u=d(i).reverse(),f=x(m(u,a[0]),n,!1).concat(x(m(c,t-a[0]-1),-n,!0));function p(e,t){return e.reduce((e,t)=>e-i[t],t)}function m(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function x(i,a,c){let u=o.map((e,n)=>({start:e-r[n]+.5+a,end:e+t-.5+a}));return i.map(t=>{let r=c?0:-n,i=c?n:0,o=u[t][c?"end":"start"];return{index:t,loopPoint:o,slideLocation:b(-1),translate:y(e,l[t]),target:()=>s.get()>o?r:i}})}return{canLoop:function(){return f.every(({index:e})=>.1>=p(c.filter(t=>t!==e),t))},clear:function(){f.forEach(e=>e.translate.clear())},loop:function(){f.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:f}}(er,ei,ex,el,ec,ep,ev,eT,n),slideFocus:eF,slidesHandler:(I=!1,{init:function(e){W&&(F=new MutationObserver(t=>{!I&&(s(W)||W(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),j.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){F&&F.disconnect(),I=!0}}),slidesInView:ez,slideIndexes:ew,slideRegistry:eO,slidesToScroll:ef,target:eP,translate:y(er,t)};return eI}(e,S,T,E,L,n,z);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(_),I([V,...q.map(({options:e})=>e)]).forEach(e=>M.add(e,"change",Y)),_.active&&(C.translate.to(C.location.get()),C.animation.init(),C.slidesInView.init(),C.slideFocus.init(G),C.eventHandler.init(G),C.resizeHandler.init(G),C.slidesHandler.init(G),C.options.loop&&C.slideLooper.loop(),S.offsetParent&&T.length&&C.dragHandler.init(G),N=R.init(G,q)))}function Y(e,t){let n=X();K(),U(O({startIndex:n},e),t),z.emit("reInit")}function K(){C.dragHandler.destroy(),C.eventStore.clear(),C.translate.clear(),C.slideLooper.clear(),C.resizeHandler.destroy(),C.slidesHandler.destroy(),C.slidesInView.destroy(),C.animation.destroy(),R.destroy(),M.clear()}function Q(e,t,n){_.active&&!B&&(C.scrollBody.useBaseFriction().useDuration(!0===t?0:_.duration),C.scrollTo.index(e,n||0))}function X(){return C.index.get()}let G={canScrollNext:function(){return C.index.add(1).get()!==X()},canScrollPrev:function(){return C.index.add(-1).get()!==X()},containerNode:function(){return S},internalEngine:function(){return C},destroy:function(){B||(B=!0,M.clear(),K(),z.emit("destroy"),z.clear())},off:H,on:A,emit:$,plugins:function(){return N},previousScrollSnap:function(){return C.indexPrevious.get()},reInit:Y,rootNode:function(){return e},scrollNext:function(e){Q(C.index.add(1).get(),e,-1)},scrollPrev:function(e){Q(C.index.add(-1).get(),e,1)},scrollProgress:function(){return C.scrollProgress.get(C.offsetLocation.get())},scrollSnapList:function(){return C.scrollSnapList},scrollTo:Q,selectedScrollSnap:X,slideNodes:function(){return T},slidesInView:function(){return C.slidesInView.get()},slidesNotInView:function(){return C.slidesInView.get(!1)}};return U(t,n),setTimeout(()=>z.emit("init"),0),G}function k(e={},n=[]){let o=(0,t.useRef)(e),a=(0,t.useRef)(n),[s,l]=(0,t.useState)(),[c,u]=(0,t.useState)(),d=(0,t.useCallback)(()=>{s&&s.reInit(o.current,a.current)},[s]);return(0,t.useEffect)(()=>{r(o.current,e)||(o.current=e,d())},[e,d]),(0,t.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=i(e),o=i(t);return n.every((e,t)=>r(e,o[t]))}(a.current,n)&&(a.current=n,d())},[n,d]),(0,t.useEffect)(()=>
9{if("u">typeof window&&window.document&&window.document.createElement&&c){w.globalOptions=k.globalOptions;let e=w(c,o.current,a.current);return l(e),()=>e.destroy()}l(void 0)},[c,l]),[u,s]}w.globalOptions=void 0,k.globalOptions=void 0,e.s(["default",0,k],130013)},571930,327025,e=>{"use strict";var t=e.i(475254);let n=(0,t.default)("bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);e.s(["Bookmark",0,n],571930);let r=(0,t.default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);e.s(["Folder",0,r],327025)},412012,e=>{"use strict";let t=(0,e.i(475254).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["default",0,t])},463059,e=>{"use strict";var t=e.i(246349);e.s(["ChevronRight",()=>t.default])},373488,e=>{"use strict";let t=(0,e.i(475254).default)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);e.s(["default",0,t])},717521,e=>{"use strict";let t=(0,e.i(475254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},107233,e=>{"use strict";let t=(0,e.i(475254).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",0,t],107233)}]);

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.