PageSourceSearch

https://opensnow.com/_nuxt/paIiTHw_2.js

js opensnow.com collected 2026-10-01 10:32:39 UTC 3,236 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`f764f49567e6b0ecf4d75f5cc38e95bb992eec2e`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`8b20ace3-52ad-432f-a18b-8b2c427eaf38`,e._sentryDebugIdIdentifier=`sentry-dbid-8b20ace3-52ad-432f-a18b-8b2c427eaf38`)}catch{}})();import{B as e,Ct as t,D as n,Et as r,F as i,I as a,M as o,N as s,P as c,St as l,X as u,Z as d,bn as f,ft as p,hn as m,it as h,st as g,z as _,zt as v}from"./5pVCgjj7.js";import{t as y}from"./Bc-CUMQn.js";import{n as b,t as x}from"./BhndQMzZ.js";import{t as S}from"./DVKFZ80y2.js";import{t as C}from"./BsOyAKH_2.js";var w={__name:`CompareMenu`,props:{canShowSort:{type:Boolean,default:!1},containerClass:{type:String,default:null},navItems:{type:Array,default:null},scrollBehavior:{type:String,default:`smooth`},selectedNavItem:{type:Number,default:0},showNavItems:{type:Boolean,default:!0},sort:{type:String,default:null},sortOptions:{type:Array,default:null}},emits:[`nav-item-click`,`sort-change`],setup(e,{expose:n,emit:r}){n();let i=e,a=r,s=l(`buttonContainer`),c=l(`buttons`),u=v(i.selectedNavItem),f=o(()=>Array.isArray(i.sortOptions)?i.sortOptions.map(e=>{if(typeof e==`string`)return{key:e,value:e};let{field:t,isAllAccess:n,label:r}=e;return{isAllAccess:n,key:r,value:t}}):null),p=(e,t)=>({active:t===u.value,canShowChipActiveIcon:!1,additionalClassNames:`tw-mr-1.5 last:tw-mr-0`,to:e.to,type:x.chipCard}),m=e=>{u.value=e},g=(e,t,n)=>{m(n),a(`nav-item-click`,e,t)},_=e=>a(`sort-change`,e),y=(e,t=i.scrollBehavior)=>{let n=s.value,r=c.value?.[u.value]?.$el;S({parent:n,activeElement:r,options:{inline:`center`,behavior:t},immediate:e})};h(()=>y(!0,`instant`)),t(()=>i.selectedNavItem,async e=>{let t=u.value===e;u.value=e,t&&(await d(),y(!1))},{flush:`post`}),t(u,()=>y(!1));let b={props:i,$emit:a,buttonContainer:s,buttons:c,optimisticSelectedNavItem:u,mappedSortOptions:f,getButtonProps:p,handleNavItemPress:m,handleNavItemClick:g,handleSortChange:_,handleScrollActiveElementIntoView:y,onMounted:h,useTemplateRef:l,ButtonTypes:x,get scrollActiveElementIntoView(){return S}};return Object.defineProperty(b,`__isScriptSetup`,{enumerable:!1,value:!0}),b}},T={key:0,ref:`buttonContainer`,class:`tw-overflow-x-auto tw-whitespace-nowrap hide-scrollbar-on-mobile`},E={key:1,class:`tw-flex tw-items-center lg:tw-mt-1.5`},D={class:`tw-overflow-x-auto hide-scrollbar-on-mobile`};function O(t,o,l,d,h,v){let y=b,x=C;return g(),a(`div`,{class:m(l.containerClass)},[l.showNavItems?(g(),a(`div`,T,[(g(!0),a(n,null,p(l.navItems,(e,t)=>(g(),c(y,u({key:t,ref_for:!0,ref:`buttons`},{ref_for:!0},d.getButtonProps(e,t),{onMousedown:e=>d.handleNavItemPress(t),onClick:n=>d.handleNavItemClick(n,e,t)}),{default:r(()=>[_(f(e.text),1)]),_:2},1040,[`onMousedown`,`onClick`]))),128))],512)):i(``,!0),o[0]||=_(),l.canShowSort?(g(),a(`div`,E,[s(`div`,D,[e(x,{"container-class":`tw-pl-1.5`,options:d.mappedSortOptions,"model-value":l.sort,"onUpdate:modelValue":d.handleSortChange},null,8,[`options`,`model-value`])])])):i(``,!0)],2)}var k=y(w,[[`render`,O],[`__file`,`CompareMenu.vue`]]);export{k as t};
2//# sourceMappingURL=paIiTHw_2.js.map

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.