PageSourceSearch

https://armes.ai/_next/static/chunks/49139-cf5ab7b7d1ace6f3.js

js armes.ai collected 2026-10-05 13:51:26 UTC 7,234 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[49139],{44831:(e,t,n)=>{n.d(t,{lg:()=>E,qW:()=>v,bL:()=>y});var r,i=n(12115),s=n(92556),u=n(88142),a=n(94446),l=n(70222),o=n(95155),d="dismissableLayer.update",c=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),v=i.forwardRef((e,t)=>{var n,v;let{disableOutsidePointerEvents:f=!1,onEscapeKeyDown:y,onPointerDownOutside:E,onFocusOutside:h,onInteractOutside:b,onDismiss:w,...N}=e,g=i.useContext(c),[O,L]=i.useState(null),C=null!=(v=null==O?void 0:O.ownerDocument)?v:null==(n=globalThis)?void 0:n.document,[,k]=i.useState({}),T=(0,a.s)(t,e=>L(e)),D=Array.from(g.layers),[M]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),P=D.indexOf(M),A=O?D.indexOf(O):-1,R=g.layersWithOutsidePointerEventsDisabled.size>0,S=A>=P,W=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,l.c)(e),s=i.useRef(!1),u=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!s.current){let t=function(){p("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",u.current),u.current=t,n.addEventListener("click",u.current,{once:!0})):t()}else n.removeEventListener("click",u.current);s.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",u.current)}},[n,r]),{onPointerDownCapture:()=>s.current=!0}}(e=>{let t=e.target,n=[...g.branches].some(e=>e.contains(t));S&&!n&&(null==E||E(e),null==b||b(e),e.defaultPrevented||null==w||w())},C),x=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,l.c)(e),s=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!s.current&&p("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}(e=>{let t=e.target;![...g.branches].some(e=>e.contains(t))&&(null==h||h(e),null==b||b(e),e.defaultPrevented||null==w||w())},C);return!function(e,t=globalThis?.document){let n=(0,l.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{A===g.layers.size-1&&(null==y||y(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))},C),i.useEffect(()=>{if(O)return f&&(0===g.layersWithOutsidePointerEventsDisabled.size&&(r=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(O)),g.layers.add(O),m(),()=>{f&&1===g.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=r)}},[O,C,f,g]),i.useEffect(()=>()=>{O&&(g.layers.delete(O),g.layersWithOutsidePointerEventsDisabled.delete(O),m())},[O,g]),i.useEffect(()=>{let e=()=>k({});return document.addEventListener(d,e),()=>document.removeEventListener(d,e)},[]),(0,o.jsx)(u.sG.div,{...N,ref:T,style:{pointerEvents:R?S?"auto":"none":void 0,...e.style},onFocusCapture:(0,s.mK)(e.onFocusCapture,x.onFocusCapture),onBlurCapture:(0,s.mK)(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:(0,s.mK)(e.onPointerDownCapture,W.onPointerDownCapture)})});v.displayName="DismissableLayer";var f=i.forwardRef((e,t)=>{let n=i.useContext(c),r=i.useRef(null),s=(0,a.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,o.jsx)(u.sG.div,{...e,ref:s})});function m(){let e=new CustomEvent(d);document.dispatchEvent(e)}function p(e,t,n,r){let{discrete:i}=r,s=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),i?(0,u.hO)(s,a):s.dispatchEvent(a)}f.displayName="DismissableLayerBranch";var y=v,E=f},52987:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])}
1,65229:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},75433:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(12115),i=n(47650),s=n(88142),u=n(4129),a=n(95155),l=r.forwardRef((e,t)=>{var n,l;let{container:o,...d}=e,[c,v]=r.useState(!1);(0,u.N)(()=>v(!0),[]);let f=o||c&&(null==(l=globalThis)||null==(n=l.document)?void 0:n.body);return f?i.createPortal((0,a.jsx)(s.sG.div,{...d,ref:t}),f):null});l.displayName="Portal"},76842:(e,t,n)=>{n.d(t,{C:()=>u});var r=n(12115),i=n(94446),s=n(4129),u=e=>{let{present:t,children:n}=e,u=function(e){var t,n;let[i,u]=r.useState(),l=r.useRef(null),o=r.useRef(e),d=r.useRef("none"),[c,v]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=a(l.current);d.current="mounted"===c?e:"none"},[c]),(0,s.N)(()=>{let t=l.current,n=o.current;if(n!==e){let r=d.current,i=a(t);e?v("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?v("UNMOUNT"):n&&r!==i?v("ANIMATION_OUT"):v("UNMOUNT"),o.current=e}},[e,v]),(0,s.N)(()=>{if(i){var e;let t,n=null!=(e=i.ownerDocument.defaultView)?e:window,r=e=>{let r=a(l.current).includes(CSS.escape(e.animationName));if(e.target===i&&r&&(v("ANIMATION_END"),!o.current)){let e=i.style.animationFillMode;i.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=e)})}},s=e=>{e.target===i&&(d.current=a(l.current))};return i.addEventListener("animationstart",s),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{n.clearTimeout(t),i.removeEventListener("animationstart",s),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}v("ANIMATION_END")},[i,v]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{l.current=e?getComputedStyle(e):null,u(e)},[])}}(t),l="function"==typeof n?n({present:u.isPresent}):r.Children.only(n),o=(0,i.s)(u.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?e.ref:(i=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(l));return"function"==typeof n||u.isPresent?r.cloneElement(l,{ref:o}):null};function a(e){return(null==e?void 0:e.animationName)||"none"}u.displayName="Presence"},95740:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])}}]);

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.