PageSourceSearch

https://airdata.vn/_next/static/chunks/02kppjbk1fsq2.js

js airdata.vn collected 2026-10-09 01:31:02 UTC 30,172 bytes, 1 lines download raw bytes

1(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,64289,e=>{let t=(0,e.i(89505).f)("monitor-play",[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z",key:"vbtd3f"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]]);e.s(["f",0,t],64289)},85144,e=>{var t=e.i(38426),n=e.i(76639),r=e.i(2747),o=e.i(7911),a=e.i(64289),i=e.i(18584);let l=[{id:1,url:"https://demo1.airdata.site/"},{id:2,url:"https://demo2.airdata.site/"},{id:3,url:"https://demo3.airdata.site/"},{id:4,url:"https://demo4.airdata.site/"},{id:5,url:"https://demo5.airdata.site/"}];e.s(["f",0,function({children:e,buttonText:c="Xem Demo",showIcon:s=!0}){let[u,d]=(0,i.useState)(l[0]),[f,p]=(0,i.useState)(!1),[m,h]=(0,i.useState)(!0);return(0,i.useEffect)(()=>{if(!f)return;let e=window.setTimeout(()=>{h(!1)},8e3);return()=>window.clearTimeout(e)},[f,u.id]),(0,t.jsxs)(n.N,{open:f,onOpenChange:e=>{p(e),e&&h(!0)},children:[(0,t.jsx)(n.a,{asChild:!0,children:e||(0,t.jsxs)("button",{className:"h-14 px-8 bg-white border border-slate-200 hover:border-[#16610E] text-slate-700 hover:text-[#16610E] font-bold rounded-full transition-all w-full sm:w-auto flex items-center gap-2 justify-center shadow-sm",children:[s&&(0,t.jsx)(a.f,{className:"size-5"}),(0,t.jsx)("span",{children:c})]})}),(0,t.jsxs)(n.d,{className:"w-[95vw] max-w-[95vw] md:w-[90vw] md:max-w-[90vw] lg:w-[85vw] lg:max-w-350 h-[85vh] md:h-[90vh] flex flex-col p-0 bg-linear-to-br from-slate-50 to-blue-50",children:[(0,t.jsxs)(n.s,{className:"px-3 md:px-4 lg:px-5 pt-3 md:pt-4 lg:pt-5 pb-2 md:pb-3 border-b border-slate-200 bg-white/80 backdrop-blur-sm",children:[(0,t.jsx)(n.F,{className:"text-lg md:text-xl lg:text-2xl font-bold bg-linear-to-r from-[#16610E] to-[#2a4a1f] bg-clip-text text-transparent",children:"Demo Website"}),(0,t.jsx)(n.C,{className:"text-xs md:text-sm text-slate-600",children:"Chọn theme để xem trước giao diện. Click để mở toàn màn hình."})]}),(0,t.jsx)("div",{className:"border-b border-slate-200 bg-white/50 backdrop-blur-sm px-3 md:px-4 py-2 md:py-3",children:(0,t.jsx)("div",{className:"flex gap-2 overflow-x-auto pb-1",children:l.map(e=>{let n=u.id===e.id;return(0,t.jsx)("button",{onClick:()=>{e.id!==u.id&&(h(!0),d(e))},className:`shrink-0 px-3 md:px-4 py-2 md:py-2.5 rounded-lg transition-all hover:scale-[1.02] active:scale-[0.98] border-2 ${n?"bg-linear-to-r from-[#16610E] to-[#16610E] text-white border-[#16610E]":"bg-white hover:bg-[#16610E]/10 text-slate-700 border-slate-100 hover:border-[#16610E]/20"}`,children:(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsxs)("span",{className:`text-base md:text-lg font-bold ${n?"text-white":"text-[#16610E]"}`,children:["Theme ",e.id]})})},e.id)})})}),(0,t.jsx)("div",{className:"flex-1 p-1.5 md:p-2 lg:p-3",children:(0,t.jsxs)("div",{className:"size-full bg-white rounded-md lg:rounded-lg shadow-2xl overflow-hidden border border-slate-200 lg:border-2 relative",children:[(0,t.jsxs)("div",{className:"absolute top-1 md:top-2 left-1 md:left-2 z-10 px-1.5 md:px-2 py-0.5 md:py-1 bg-[#16610E] text-white text-[9px] md:text-[10px] lg:text-xs font-bold rounded-sm md:rounded-md shadow-lg",children:["Preview #",u.id]}),(0,t.jsxs)("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"absolute top-1 md:top-2 right-1 md:right-2 z-10 px-2 md:px-3 py-1 md:py-1.5 bg-linear-to-r from-[#16610E] to-[#16610E] hover:from-[#0d3a08] hover:to-[#0d3a08] text-white font-bold rounded-md transition-all hover:scale-105 active:scale-95 flex items-center gap-1.5 text-[9px] md:text-[10px] lg:text-xs shadow-lg shadow-[#16610E]/2
10",children:[(0,t.jsx)(o.f,{className:"size-3 md:size-3.5"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Mở toàn màn hình"}),(0,t.jsx)("span",{className:"sm:hidden",children:"Mở"})]}),m&&(0,t.jsx)("div",{className:"absolute inset-0 z-[5] bg-white/95 p-3 md:p-4 lg:p-5",children:(0,t.jsxs)("div",{className:"h-full rounded-md border border-slate-200 bg-slate-50/80 p-3 md:p-4 flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)(r.f,{className:"h-6 w-28 bg-slate-200"}),(0,t.jsx)(r.f,{className:"h-6 w-20 bg-slate-200"})]}),(0,t.jsx)(r.f,{className:"h-10 w-full bg-slate-200"}),(0,t.jsx)(r.f,{className:"h-full w-full bg-slate-200"}),(0,t.jsx)("p",{className:"text-center text-xs text-slate-500",children:"Đang tải giao diện demo..."})]})}),(0,t.jsx)("iframe",{src:u.url,className:"size-full",title:`Theme ${u.id}`,sandbox:"allow-same-origin allow-scripts allow-forms allow-popups",onLoad:()=>h(!1)},u.id)]})})]})]})}])},76639,2747,7911,e=>{var t,n,r,o,a,i,l,c=e.i(38426),s=e.i(18584),u=e.i(43836),d=e.i(66100),f=e.i(64145),p=e.i(32567),m=e.i(15671),h=e.i(96063),v=e.i(97556),g=e.i(32253),b=Object.defineProperty,x=(e,t)=>b(e,"name",{value:t,configurable:!0}),y="focusScope.autoFocusOnMount",w="focusScope.autoFocusOnUnmount",E={bubbles:!1,cancelable:!0},j=s.forwardRef(x(function(e,t){let{loop:n=!1,trapped:r=!1,branches:o,onMountAutoFocus:a,onUnmountAutoFocus:i,...l}=e,[u,f]=s.useState(null),p=(0,g.f)(a),m=(0,g.f)(i),h=s.useRef(null),b=(0,d.f)(t,f),j=s.useRef(o);s.useEffect(()=>{j.current=o});let C=s.useCallback(e=>!!e&&(!!u?.contains(e)||!!j.current?.some(t=>t.contains(e))),[u]),N=s.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;s.useEffect(()=>{if(r){let e=function(e){if(N.paused||!u)return;let t=e.target;C(t)?h.current=t:O(h.current,{select:!0})},t=function(e){if(N.paused||!u)return;let t=e.relatedTarget;null!==t&&(C(t)||O(h.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&O(u)};x(e,"handleFocusIn"),x(t,"handleFocusOut"),x(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return u&&r.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[r,u,N.paused,C]),s.useEffect(()=>{if(u){A.add(N);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(y,E);u.addEventListener(y,p),u.dispatchEvent(t),t.defaultPrevented||(k(L(D(u)),{select:!0}),document.activeElement===e&&O(u))}return()=>{u.removeEventListener(y,p),setTimeout(()=>{let t=new CustomEvent(w,E);u.addEventListener(w,m),u.dispatchEvent(t),t.defaultPrevented||O(e??document.body,{select:!0}),u.removeEventListener(w,m),A.remove(N)},0)}}},[u,p,m,N]);let S=s.useCallback(e=>{if(!n&&!r||N.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,a]=R(t);r&&a?e.shiftKey||o!==a?e.shiftKey&&o===r&&(e.preventDefault(),n&&O(a,{select:!0})):(e.preventDefault(),n&&O(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,N.paused]);return(0,c.jsx)(v.V.div,{tabIndex:-1,...l,ref:b,onKeyDown:S})},"FocusScope")),C=s.createContext(null);function N({registry:e,children:t}){return e?(0,c.jsx)(C.Provider,{value:e,children:t}):t}function S(){let[e,t]=s.useState([]);return{nodes:e,registry:s.useMemo(()=>({add:x(e=>t(t=>t.includes(e)?t:[...t,e]),"add"),remove:x(e=>t(t=>t.filter(t=>t!==e)),"remove")}),[])}}function k(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(O(r,{select:t}),document.activeElement!==n)return}function R(e){let t=D(e);return[M(t,e),M(t.reverse(),e)]}function D(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:x(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function M(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):T(r,{upTo:t})))return r}function T(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function P(e){return e instanceof HTMLInputElement&&"select"in e}function O(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&P(e)&&t&&e.select()}}x(N,"FocusScopeBranchProvider"),x(S,"useFocusScopeBranchRegistry"),x(function(e){let t=s.useContext(C);s.useEffect(()=>{if(e&&t)return t.add(e),()=>t.remove(e)},[e,t])}
1,"useFocusScopeBranch"),x(k,"focusFirst"),x(R,"getTabbableEdges"),x(D,"getTabbableCandidates"),x(M,"findVisible"),x(T,"isHidden"),x(P,"isSelectableInput"),x(O,"focus");var A=F();function F(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=I(e,t)).unshift(t)},remove(t){e=I(e,t),e[0]?.resume()}}}function I(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function L(e){return e.filter(e=>"A"!==e.tagName)}x(F,"createFocusScopesStack"),x(I,"arrayRemove"),x(L,"removeLinks");var _=e.i(96613),z=e.i(44532),W=Object.defineProperty,V=s.forwardRef(W(function(e,t){let{container:n,...r}=e,[o,a]=s.useState(!1);(0,z.f)(()=>a(!0),[]);let i=n||o&&globalThis?.document?.body;return i?_.createPortal((0,c.jsx)(v.V.div,{...r,ref:t}),i):null},"name",{value:"Portal",configurable:!0})),B=e.i(65706),K=Object.defineProperty,X=(e,t)=>K(e,"name",{value:t,configurable:!0}),U=0,Y=null;function H(){s.useEffect(()=>{Y||(Y={start:Z(),end:Z()});let{start:e,end:t}=Y;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),U++,()=>{1===U&&(Y?.start.remove(),Y?.end.remove(),Y=null),U=Math.max(0,U-1)}},[])}function Z(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}X(function(e){return H(),e.children},"FocusGuards"),X(H,"useFocusGuards"),X(Z,"createFocusGuard");var q=function(){return(q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function G(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var $=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),J="width-before-scroll-bar";function Q(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var ee="u">typeof window?s.useLayoutEffect:s.useEffect,et=new WeakMap,en=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,a={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),r={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),r}}}}).options=q({async:!0,ssr:!1},t),a),er=function(){},eo=s.forwardRef(function(e,t){var n,r,o,a,i=s.useRef(null),l=s.useState({onScrollCapture:er,onWheelCapture:er,onTouchMoveCapture:er}),c=l[0],u=l[1],d=e.forwardProps,f=e.children,p=e.className,m=e.removeScrollBar,h=e.enabled,v=e.shards,g=e.sideCar,b=e.noRelative,x=e.noIsolation,y=e.inert,w=e.allowPinchZoom,E=e.as,j=e.gapMode,C=G(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=(n=[i,t],r=function(e){return n.forEach(function(t){return Q(t,e)})}
1,(o=(0,s.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=r,a=o.facade,ee(function(){var e=et.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||Q(e,null)}),r.forEach(function(e){t.has(e)||Q(e,o)})}et.set(a,n)},[n]),a),S=q(q({},C),c);return s.createElement(s.Fragment,null,h&&s.createElement(g,{sideCar:en,removeScrollBar:m,shards:v,noRelative:b,noIsolation:x,inert:y,setCallbacks:u,allowPinchZoom:!!w,lockRef:i,gapMode:j}),d?s.cloneElement(s.Children.only(f),q(q({},S),{ref:N})):s.createElement(void 0===E?"div":E,q({},S,{className:p,ref:N}),f))});eo.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eo.classNames={fullWidth:J,zeroRight:$};var ea=function(e){var t=e.sideCar,n=G(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return s.createElement(r,q({},n))};ea.isSideCarExport=!0;var ei=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=l||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},el=function(){var e=ei();return function(t,n){s.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ec=function(){var e=el();return function(t){return e(t.styles,t.dynamic),null}},es={left:0,top:0,right:0,gap:0},eu=function(e){return parseInt(e||"",10)||0},ed=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[eu(n),eu(r),eu(o)]},ef=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return es;var t=ed(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ep=ec(),em="data-scroll-locked",eh=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(l,"px ").concat(r,";\n  }\n  body[").concat(em,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(i,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(l,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat($," {\n    right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(J," {\n    margin-right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat($," .").concat($," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(J," .").concat(J," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(em,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n  }\n")},ev=function(){var e=parseInt(document.body.getAttribute(em)||"0",10);return isFinite(e)?e:0},eg=function(){s.useEffect(function(){return document.body.setAttribute(em,(ev()+1).toString()),function(){var e=ev()-1;e<=0?document.body.removeAttribute(em):document.body.setAttribute(em,e.toString())}},[])},eb=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;eg();var a=s.useMemo(function(){return ef(o)},[o]);return s.createElement(ep,{styles:eh(a,!t,o,n?"":"!important")})},ex=!1;if("u">typeof window)try{var ey=Object.defineProperty({},"passive",{get:function(){return ex=!0,!0}});window.addEventListener("test",ey,ey),window.removeEventListener("test",ey,ey)}catch(e){ex=!1}var ew=!!ex&&{passive:!1},eE=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},ej=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),eC(e,r)){var o=eN(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},eC=function(e,t){return"v"===e?eE(t,"overflowY"):eE(t,"overflowX")},eN=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},eS=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),l=i*r,c=n.target,s=t.contains(c),u=!1,d=l>0,f=0,p=0;
1do{if(!c)break;var m=eN(e,c),h=m[0],v=m[1]-m[2]-i*h;(h||v)&&eC(e,c)&&(f+=v,p+=h);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!s&&c!==document.body||s&&(t.contains(c)||t===c))return d&&(o&&1>Math.abs(f)||!o&&l>f)?u=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(u=!0),u},ek=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eR=function(e){return[e.deltaX,e.deltaY]},eD=function(e){return e&&"current"in e?e.current:e},eM=0,eT=[];let eP=(i=function(e){var t=s.useRef([]),n=s.useRef([0,0]),r=s.useRef(),o=s.useState(eM++)[0],a=s.useState(ec)[0],i=s.useRef(e);s.useEffect(function(){i.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(eD),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=s.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=ek(e),l=n.current,c="deltaX"in e?e.deltaX:l[0]-a[0],s="deltaY"in e?e.deltaY:l[1]-a[1],u=e.target,d=Math.abs(c)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=ej(d,u);if(!m)return!0;if(m?o=d:(o="v"===d?"h":"v",m=ej(d,u)),!m)return!1;if(!r.current&&"changedTouches"in e&&(c||s)&&(r.current=o),!o)return!0;var h=r.current||o;return eS(h,t,e,"h"===h?c:s,!0)},[]),c=s.useCallback(function(e){if(eT.length&&eT[eT.length-1]===a){var n="deltaY"in e?eR(e):ek(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(i.current.shards||[]).map(eD).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=s.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=s.useCallback(function(e){n.current=ek(e),r.current=void 0},[]),f=s.useCallback(function(t){u(t.type,eR(t),t.target,l(t,e.lockRef.current))},[]),p=s.useCallback(function(t){u(t.type,ek(t),t.target,l(t,e.lockRef.current))},[]);s.useEffect(function(){return eT.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,ew),document.addEventListener("touchmove",c,ew),document.addEventListener("touchstart",d,ew),function(){eT=eT.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,ew),document.removeEventListener("touchmove",c,ew),document.removeEventListener("touchstart",d,ew)}},[]);var m=e.removeScrollBar,h=e.inert;return s.createElement(s.Fragment,null,h?s.createElement(a,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?s.createElement(eb,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},en.useMedium(i),ea);var eO=s.forwardRef(function(e,t){return s.createElement(eo,q({},e,{ref:t,sideCar:eP}))});eO.classNames=eo.classNames;var eA=new WeakMap,eF=new WeakMap,eI={},eL=0,e_=function(e){return e&&(e.host||e_(e.parentNode))},ez=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=e_(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});eI[n]||(eI[n]=new WeakMap);var a=eI[n],i=[],l=new Set,c=new Set(o),s=function(e){!e||l.has(e)||(l.add(e),s(e.parentNode))};o.forEach(s);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))u(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,c=(eA.get(e)||0)+1,s=(a.get(e)||0)+1;eA.set(e,c),a.set(e,s),i.push(e),1===c&&o&&eF.set(e,!0),1===s&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};
1return u(t),l.clear(),eL++,function(){i.forEach(function(e){var t=eA.get(e)-1,o=a.get(e)-1;eA.set(e,t),a.set(e,o),t||(eF.has(e)||e.removeAttribute(r),eF.delete(e)),o||e.removeAttribute(n)}),--eL||(eA=new WeakMap,eA=new WeakMap,eF=new WeakMap,eI={})}},eW=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),ez(r,o,n,"aria-hidden")):function(){return null}},eV=e.i(35852),eB=Object.defineProperty,eK=(e,t)=>eB(e,"name",{value:t,configurable:!0}),eX="Dialog",[eU,eY]=(0,f.f)(eX),[eH,eZ]=eU(eX),eq=eK(e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,l=s.useRef(null),u=s.useRef(null),{nodes:d,registry:f}=S(),[h,v]=(0,m.f)({prop:r,defaultProp:o??!1,onChange:a,caller:eX}),[g,b]=s.useState(0),[x,y]=s.useState(0);return(0,c.jsx)(eH,{scope:t,triggerRef:l,contentRef:u,contentId:(0,p.f)(),titleId:(0,p.f)(),descriptionId:(0,p.f)(),titlePresent:g>0,descriptionPresent:x>0,setTitleCount:b,setDescriptionCount:y,open:h,onOpenChange:v,onOpenToggle:s.useCallback(()=>v(e=>!e),[v]),modal:i,branchNodes:d,branchRegistry:f,children:n})},"Dialog"),eG=s.forwardRef(eK(function(e,t){let{__scopeDialog:n,...r}=e,o=eZ("DialogTrigger",n),a=(0,d.f)(t,o.triggerRef);return(0,c.jsx)(v.V.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":to(o.open),...r,ref:a,onClick:(0,u.f)(e.onClick,o.onOpenToggle)})},"DialogTrigger")),e$="DialogPortal",[eJ,eQ]=eU(e$,{forceMount:void 0}),e0=eK(e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=eZ(e$,t);return(0,c.jsx)(eJ,{scope:t,forceMount:n,children:s.Children.map(r,e=>(0,c.jsx)(B.f,{present:n||a.open,children:(0,c.jsx)(V,{asChild:!0,container:o,children:e})}))})},"DialogPortal"),e1="DialogOverlay",e2=s.forwardRef(eK(function(e,t){let n=eQ(e1,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=eZ(e1,e.__scopeDialog);return a.modal?(0,c.jsx)(B.f,{present:r||a.open,children:(0,c.jsx)(e5,{...o,ref:t})}):null},"DialogOverlay")),e6=(0,eV.B)("DialogOverlay.RemoveScroll"),e5=s.forwardRef(eK(function(e,t){let{__scopeDialog:n,...r}=e,o=eZ(e1,n),a=(0,h.y)(),i=(0,d.f)(t,a);return(0,c.jsx)(eO,{as:e6,allowPinchZoom:!0,shards:s.useMemo(()=>[o.contentRef,...o.branchNodes.map(e=>({current:e}))],[o.contentRef,o.branchNodes]),children:(0,c.jsx)(v.V.div,{"data-state":to(o.open),...r,ref:i,style:{pointerEvents:"auto",...r.style}})})},"DialogOverlayImpl")),e3="DialogContent",e4=s.forwardRef(eK(function(e,t){let n=eQ(e3,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=eZ(e3,e.__scopeDialog);return(0,c.jsx)(B.f,{present:r||a.open,children:a.modal?(0,c.jsx)(e9,{...o,ref:t}):(0,c.jsx)(e8,{...o,ref:t})})},"DialogContent")),e9=s.forwardRef(eK(function(e,t){let n=eZ(e3,e.__scopeDialog),r=s.useRef(null),o=(0,d.f)(t,n.contentRef,r);return s.useEffect(()=>{let e=r.current;if(e)return eW(e)},[]),(0,c.jsx)(e7,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:(0,u.f)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,u.f)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,u.f)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),e8=s.forwardRef(eK(function(e,t){let n=eZ(e3,e.__scopeDialog),r=s.useRef(!1),o=s.useRef(!1);return(0,c.jsx)(e7,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})},"DialogContentNonModal")),e7=s.forwardRef(eK(function(e,t){let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,"aria-describedby":i,children:l,...s}=e,u=eZ(e3,n);return H(),(0,c.jsx)(N,{registry:u.branchRegistry,children:(0,c.jsx)(j,{asChild:!0,loop:!0,trapped:r,branches:u.branchNodes,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,c.jsx)(h.V,{role:"dialog",id:u.contentId,"aria-labelledby":u.titlePresent?u.titleId:void 0,"aria-describedby":u.descriptionPresent?tr(i,u.descriptionId):i,"data-state":to(u.open),...s,ref:t,deferPointerDownOutside:!0,onDismiss:()=>u.onOpenChange(!1),children:l})})})},"DialogContentImpl")),te=s.forwardRef(eK(function(e,t){let{__scopeDialog:n,...r}=e,o=eZ("DialogTitle",n),{setTitleCount:a}=o;return(0,z.f)(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,c.jsx)(v.V.h2,{id:o.titleId,...r,ref:t})},"DialogTitle")),tt=s.forwardRef(eK(function(e,t){let{__scopeDialog:n,...r}=e,o=eZ("DialogDescription",n),{setDescriptionCount:a}=o;return(0,z.f)(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,c.jsx)(v.V.p,{id:o.descriptionId,...r,ref:t})},"DialogDescription")),tn=s.forwardRef(eK(function(e,t){let{__scopeDialog:n,...r}=e,o=eZ("DialogClose",n);return(0,c.jsx)(v.V.button,{type:"button",...r,ref:t,onClick:(0,u.f)(e.onClick,()=>o.onOpenChange(!1))})},"DialogClose"));function tr(...e){let t=new Set;for(let n of e)if("string"==typeof n)for(let e of String(n).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(" "):void 0}function to(e){return e?"open":"closed"}eK(tr,"concatAriaDescribedby"),eK(to,"getState");var ta=e.i(77293),ta=ta,ti=e.i(75157);function tl({...e}){return(0,c.jsx)(e0,{"data-slot":"dialog-portal",...e})}function tc({className:e,...t}){return(0,c.jsx)(e2,{"data-slot":"dialog-overlay",className:(0,ti.f)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/60 backdrop-blur-sm",e),...t})}e.s(["N",0,function({...e}){return(0,c.jsx)(eq,{"data-slot":"dialog",...e})},"d",0,function({className:e,children:t,showCloseButton:n=!0,...r}){return(0,c.jsxs)(tl,{"data-slot":"dialog-portal",children:[(0,c.jsx)(tc,{}),(0,c.jsxs)(e4,{"data-slot":"dialog-content",className:(0,ti.f)("bg-white data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-[calc(100%-1rem)] max-w-[calc(100%-1rem)] md:w-[calc(100%-2rem)] md:max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
1ded-xl border border-slate-200 p-6 shadow-2xl duration-200 outline-none sm:max-w-lg",e),...r,children:[t,n&&(0,c.jsxs)(tn,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,c.jsx)(ta.f,{}),(0,c.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})},"C",0,function({className:e,...t}){return(0,c.jsx)(tt,{"data-slot":"dialog-description",className:(0,ti.f)("text-muted-foreground text-sm",e),...t})},"s",0,function({className:e,...t}){return(0,c.jsx)("div",{"data-slot":"dialog-header",className:(0,ti.f)("flex flex-col gap-2 text-center sm:text-left",e),...t})},"F",0,function({className:e,...t}){return(0,c.jsx)(te,{"data-slot":"dialog-title",className:(0,ti.f)("text-lg leading-none font-semibold",e),...t})},"a",0,function({...e}){return(0,c.jsx)(eG,{"data-slot":"dialog-trigger",...e})}],76639),e.s(["f",0,function({className:e,...t}){return(0,c.jsx)("div",{"data-slot":"skeleton",className:(0,ti.f)("bg-accent animate-pulse rounded-md",e),...t})}],2747);let ts=(0,e.i(89505).f)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["f",0,ts],7911)}])})();

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.