PageSourceSearch

https://developers.portone.io/_build/assets/dist-BrJXLXTz.js

js portone.io collected 2026-10-02 05:58:23 UTC 19,289 bytes, 1 lines download raw bytes

1import{D as e,E as t,I as n,N as r,O as i,_ as a,a as o,b as s,c,f as l,g as u,h as d,i as f,m as p,o as m,x as h}from"./solid-8ANnU_Wg.js";import{b as g,c as _,f as ee,g as v,m as y,p as te,s as b,u as x,v as ne,y as S}from"./web-DeHyZyKE.js";import{A as re,E as C,F as w,I as T,N as E,R as ie,V as D,_ as ae,d as O,f as k,g as A,h as j,i as M,j as N,n as P,p as oe,r as se,u as ce,v as le,w as ue}from"./dist-CCor599j.js";import{i as de,n as fe,o as pe,r as me}from"./QZDH5R5B-D4h8GIyj.js";import{t as he}from"./LR7LBJN3-6gmGi5EI.js";import{r as F}from"./OYES4GOP-B3H_s5sF.js";import{l as ge}from"./QJIB6BDF-Oigeex1g.js";import{n as _e}from"./3VFJM5NZ-DocKo3xD.js";var ve=S(`<option>`),ye=S(`<div aria-hidden=true><input type=text style=font-size:16px><select tabindex=-1><option></option><!$><!/>`);function be(n){let i,[o,c]=r(n,[`ref`,`onChange`,`collection`,`selectionManager`,`isOpen`,`isMultiple`,`isVirtualized`,`focusTrigger`]),u=ge(),[p,h]=s(!1),S=e=>{let t=o.collection.getItem(e);return l(m,{get when(){return t?.type===`item`},get children(){var n=b(ve);return y(n,`value`,e),x(n,()=>t?.textValue),a(()=>y(n,`selected`,o.selectionManager.isSelected(e))),n}})};return d(e(()=>o.selectionManager.selectedKeys(),(e,t)=>{t&&pe(e,t)||(h(!0),i?.dispatchEvent(new Event(`input`,{bubbles:!0,cancelable:!0})),i?.dispatchEvent(new Event(`change`,{bubbles:!0,cancelable:!0})))},{defer:!0})),(()=>{var e=b(ye),n=e.firstChild,r=n.nextSibling,s=r.firstChild.nextSibling,[d,re]=_(s.nextSibling);n.addEventListener(`focus`,()=>o.focusTrigger()),r.addEventListener(`change`,e=>{ce(e,o.onChange),p()||o.selectionManager.setSelectedKeys(new Set([e.target.value])),h(!1)});var C=T(e=>i=e,o.ref);return typeof C==`function`&&g(C,r),v(r,t({get multiple(){return o.isMultiple},get name(){return u.name()},get required(){return u.isRequired()},get disabled(){return u.isDisabled()},get size(){return o.collection.getSize()},get value(){return o.selectionManager.firstSelectedKey()??``}},c),!1,!0),x(r,l(m,{get when(){return o.isVirtualized},get fallback(){return l(f,{get each(){return[...o.collection.getKeys()]},children:S})},get children(){return l(f,{get each(){return[...o.selectionManager.selectedKeys()]},children:S})}}),d,re),a(t=>{var r=w,i=o.selectionManager.isFocused()||o.isOpen?-1:0,a=u.isRequired(),s=u.isDisabled(),c=u.isReadOnly();return t.e=ne(e,r,t.e),i!==t.t&&te(n,`tabindex`,t.t=i),a!==t.a&&y(n,`required`,t.a=a),s!==t.o&&y(n,`disabled`,t.o=s),c!==t.i&&y(n,`readOnly`,t.i=c),t},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),ee(),e})()}var I=new WeakMap;function L(e){let t=I.get(e);if(t!=null)return t;t=0;for(let n of e)n.type===`item`&&t++;return I.set(e,t),t}var R=class{collection;ref;collator;constructor(e,t,n){this.collection=e,this.ref=t,this.collator=n}getKeyBelow(e){let t=this.collection().getKeyAfter(e);for(;t!=null;){let e=this.collection().getItem(t);if(e&&e.type===`item`&&!e.disabled)return t;t=this.collection().getKeyAfter(t)}}getKeyAbove(e){let t=this.collection().getKeyBefore(e);for(;t!=null;){let e=this.collection().getItem(t);if(e&&e.type===`item`&&!e.disabled)return t;t=this.collection().getKeyBefore(t)}}getFirstKey(){let e=this.collection().getFirstKey();for(;e!=null;){let t=this.collection().getItem(e);if(t&&t.type===`item`&&!t.disabled)return e;e=this.collection().getKeyAfter(e)}}getLastKey(){let e=this.collection().getLastKey();for(;e!=null;){let t=this.collection().getItem(e);if(t&&t.type===`item`&&!t.disabled)return e;e=this.collection().getKeyBefore(e)}}getItem(e){return this.ref?.()?.querySelector(`[data-key="${e}"]`)??null}getKeyPageAbove(e){let t=this.ref?.(),n=this.getItem(e);if(!t||!n)return;let r=Math.max(0,n.offsetTop+n.offsetHeight-t.offsetHeight),i=e;for(;i&&n&&n.offsetTop>r;)i=this.getKeyAbove(i),n=i==null?null:this.getItem(i);return i}getKeyPageBelow(e){let t=this.ref?.(),n=this.getItem(e);if(!t||!n)return;let r=Math.min(t.scrollHeight,n.offsetTop-n.offsetHeight+t.offsetHeight),i=e;for(;i&&n&&n.offsetTop<r;)i=this.getKeyBelow(i),n=i==null?null:this.getItem(i);return i}getKeyForSearch(e,t){let n=this.collator?.();if(!n)return;let r=t==null?this.getFirstKey():this.getKeyBelow(t);for(;r!=null;){let t=this.collection().getItem(r);if(t){let i=t.textValue.slice(0,e.length);if(t.textValue&&n.compare(i,e)===0)return r}r=this.getKeyBelow(r)}}};function xe(e,t,n){let r=he({usage:`search`,sensitivity:`base`});return me({selectionManager:()=>D(e.selectionManager),keyboardDelegate:u(()=>D(e.keyboardDelegate)||new R(e.collection,t,r)),autoFocus:()=>D(e.autoFocus),deferAutoFocus:()=>D(e.deferAutoFocus),shouldFocusWrap:()=>D(e.shouldFocusWrap),disallowEmptySelection:()=>D(e.disallowEmptySelection),selectOnFocus:()=>D(e.selectOnFocus),disallowTypeAhead:()=>D(e.disallowTypeAhead),shouldUseVirtualFocus:()=>D(e.shouldUseVirtualFocus),allowsTabNavigation:()=>D(e.allowsTabNavigation),isVirtualized:()=>D(e.isVirtualized),scrollToKey:t=>D(e.scrollToKey)?.(t),orientation:()=>D(e.orientation)},t,n)}se({},{Item:()=>B,ItemDescription:()=>V,ItemIndicator:()=>H,ItemLabel:()=>U,Listbox:()=>Te,Root:()=>W,Section:()=>G,useListboxContext:()=>Ce});var Se=p();function Ce(){let e=n(Se);if(e===void 0)throw Error("[kobalte]: `useListboxContext` must be used within a `Listbox` component");return e}var we=p();function z(){let e=n(we);if(e===void 0)throw Error("[kobalte]: `useListboxItemContext` must be used within a `Listbox.Item` component");return e}function B(e){let n,i=Ce(),[a,o]=r(N({id:`${i.generateId(`item`)}-${h()}`},e),[`ref`,`item`,`aria-label`,`aria-labelledby`,`aria-describedby`,`onPointerMove`,`onPointerDown`,`onPointerUp`,`onClick`,`onKeyDown`,`onMouseDown`,`onFocus`]),[c,d]=s(),[f,p]=s(),m=()=>i.listState().selectionManager(),g=()=>m().focusedKey()===a.item.key,_=de({key:()=>a.item.key,selectionManager:m,shouldSelectOnPressUp:i.shouldSelectOnPressUp,allowsDifferentPressOrigin:()=>i.shouldSelectOnPressUp()&&i.shouldFocusOnHover(),shouldUseVirtualFocus:i.shouldUseVirtualFocus,disabled:()=>a.item.disabled},()=>n),ee=()=>{if(m().selectionMode()!==`none`)return _.isSelected()},v=u(()=>!(C()&&re())),y=()=>v()?a[`aria-label`]:void 0,te=()=>v()?c():void 0,b=()=>v()?f():void 0,x=()=>
1{if(!i.isVirtualized())return;let e=i.listState().collection().getItem(a.item.key)?.index;return e==null?void 0:e+1},ne=()=>{if(i.isVirtualized())return L(i.listState().collection())},S=e=>{ce(e,a.onPointerMove),e.pointerType===`mouse`&&!_.isDisabled()&&i.shouldFocusOnHover()&&(j(e.currentTarget),m().setFocused(!0),m().setFocusedKey(a.item.key))},w=u(()=>({"data-disabled":_.isDisabled()?``:void 0,"data-selected":_.isSelected()?``:void 0,"data-highlighted":g()?``:void 0})),E={isSelected:_.isSelected,dataset:w,generateId:oe(()=>o.id),registerLabelId:F(d),registerDescriptionId:F(p)};return l(we.Provider,{value:E,get children(){return l(M,t({as:`li`,ref(e){var t=T(e=>n=e,a.ref);typeof t==`function`&&t(e)},role:`option`,get tabIndex(){return _.tabIndex()},get"aria-disabled"(){return _.isDisabled()},get"aria-selected"(){return ee()},get"aria-label"(){return y()},get"aria-labelledby"(){return te()},get"aria-describedby"(){return b()},get"aria-posinset"(){return x()},get"aria-setsize"(){return ne()},get"data-key"(){return _.dataKey()},get onPointerDown(){return O([a.onPointerDown,_.onPointerDown])},get onPointerUp(){return O([a.onPointerUp,_.onPointerUp])},get onClick(){return O([a.onClick,_.onClick])},get onKeyDown(){return O([a.onKeyDown,_.onKeyDown])},get onMouseDown(){return O([a.onMouseDown,_.onMouseDown])},get onFocus(){return O([a.onFocus,_.onFocus])},onPointerMove:S},w,o))}})}function V(e){let n=z(),r=N({id:n.generateId(`description`)},e);return d(()=>i(n.registerDescriptionId(r.id))),l(M,t({as:`div`},()=>n.dataset(),r))}function H(e){let n=z(),[i,a]=r(N({id:n.generateId(`indicator`)},e),[`forceMount`]);return l(m,{get when(){return i.forceMount||n.isSelected()},get children(){return l(M,t({as:`div`,"aria-hidden":`true`},()=>n.dataset(),a))}})}function U(e){let n=z(),r=N({id:n.generateId(`label`)},e);return d(()=>i(n.registerLabelId(r.id))),l(M,t({as:`div`},()=>n.dataset(),r))}function W(e){let n,i=N({id:`listbox-${h()}`,selectionMode:`single`,virtualized:!1},e),[a,s]=r(i,`ref.children.renderItem.renderSection.value.defaultValue.onChange.options.optionValue.optionTextValue.optionDisabled.optionGroupChildren.state.keyboardDelegate.autoFocus.selectionMode.shouldFocusWrap.shouldUseVirtualFocus.shouldSelectOnPressUp.shouldFocusOnHover.allowDuplicateSelectionEvents.disallowEmptySelection.selectionBehavior.selectOnFocus.disallowTypeAhead.allowsTabNavigation.virtualized.scrollToItem.scrollRef.onKeyDown.onMouseDown.onFocusIn.onFocusOut`.split(`.`)),d=u(()=>a.state?a.state:fe({selectedKeys:()=>a.value,defaultSelectedKeys:()=>a.defaultValue,onSelectionChange:a.onChange,allowDuplicateSelectionEvents:()=>D(a.allowDuplicateSelectionEvents),disallowEmptySelection:()=>D(a.disallowEmptySelection),selectionBehavior:()=>D(a.selectionBehavior),selectionMode:()=>D(a.selectionMode),dataSource:()=>a.options??[],getKey:()=>a.optionValue,getTextValue:()=>a.optionTextValue,getDisabled:()=>a.optionDisabled,getSectionChildren:()=>a.optionGroupChildren})),f=xe({selectionManager:()=>d().selectionManager(),collection:()=>d().collection(),autoFocus:()=>D(a.autoFocus),shouldFocusWrap:()=>D(a.shouldFocusWrap),keyboardDelegate:()=>a.keyboardDelegate,disallowEmptySelection:()=>D(a.disallowEmptySelection),selectOnFocus:()=>D(a.selectOnFocus),disallowTypeAhead:()=>D(a.disallowTypeAhead),shouldUseVirtualFocus:()=>D(a.shouldUseVirtualFocus),allowsTabNavigation:()=>D(a.allowsTabNavigation),isVirtualized:()=>a.virtualized,scrollToKey:()=>a.scrollToItem},()=>n,()=>a.scrollRef?.()),p={listState:d,generateId:oe(()=>s.id),shouldUseVirtualFocus:()=>i.shouldUseVirtualFocus,shouldSelectOnPressUp:()=>i.shouldSelectOnPressUp,shouldFocusOnHover:()=>i.shouldFocusOnHover,isVirtualized:()=>a.virtualized};return l(Se.Provider,{value:p,get children(){return l(M,t({as:`ul`,ref(e){var t=T(e=>n=e,a.ref);typeof t==`function`&&t(e)},role:`listbox`,get tabIndex(){return f.tabIndex()},get"aria-multiselectable"(){return d().selectionManager().selectionMode()===`multiple`?!0:void 0},get onKeyDown(){return O([a.onKeyDown,f.onKeyDown])},get onMouseDown(){return O([a.onMouseDown,f.onMouseDown])},get onFocusIn(){return O([a.onFocusIn,f.onFocusIn])},get onFocusOut(){return O([a.onFocusOut,f.onFocusOut])}},s,{get children(){return l(m,{get when(){return!a.virtualized},get fallback(){return a.children?.(d().collection)},get children(){return l(ie,{get each(){return[...d().collection()]},by:`key`,children:e=>l(c,{get children(){return[l(o,{get when(){return e().type===`section`},get children(){return a.renderSection?.(e())}}),l(o,{get when(){return e().type===`item`},get children(){return a.renderItem?.(e())}})]}})})}})}}))}})}function G(e){return l(M,t({as:`li`,role:`presentation`},e))}var Te=Object.assign(W,{Item:B,ItemDescription:V,ItemIndicator:H,ItemLabel:U,Section:G}),K=`focusScope.autoFocusOnMount`,q=`focusScope.autoFocusOnUnmount`,Ee={bubbles:!1,cancelable:!0},De={stack:[],active(){return this.stack[0]},add(e){e!==this.active()&&this.active()?.pause(),this.stack=E(this.stack,e),this.stack.unshift(e)},remove(e){this.stack=E(this.stack,e),this.active()?.resume()}};function Oe(e,t){let[n,r]=s(!1),a={pause(){r(!0)},resume(){r(!1)}},o=null,c=t=>e.onMountAutoFocus?.(t),l=t=>e.onUnmountAutoFocus?.(t),u=()=>le(t()),f=()=>{let e=u().createElement(`span`);return e.setAttribute(`data-focus-trap`,``),e.tabIndex=0,Object.assign(e.style,w),e},p=()=>{let e=t();return e?ae(e,!0).filter(e=>!e.hasAttribute(`data-focus-trap`)):[]},m=()=>{let e=p();return e.length>0?e[0]:null},h=()=>{let e=p();return e.length>0?e[e.length-1]:null},g=()=>{let e=t();if(!e)return!1;let n=A(e);return!n||k(e,n)?!1:ue(n)};d(()=>{let e=t();if(!e)return;De.add(a);let n=A(e);if(!k(e,n)){let t=new CustomEvent(K,Ee);e.addEventListener(K,c),e.dispatchEvent(t),t.defaultPrevented||setTimeout(()=>{j(m()),A(e)===n&&j(e)},0)}i(()=>{e.removeEventListener(K,c),setTimeout(()=>{let t=new CustomEvent(q,Ee);g()&&t.preventDefault(),e.addEventListener(q,l),e.dispatchEvent(t),t.defaultPrevented||j(n??u().body),e.removeEventListener(q,l),De.remove(a)},0)})}),d(()=>{let r=t();if(!r||!D(e.trapFocus)||n())return;let a=e=>{let t=e.target;t?.closest(`[data-kb-top-layer]`)||(k(r,t)?o=t:j(o))},s=e=>{let t=e.relatedTarget??A(r);t?.closest(`[data-kb-top-layer]`)||k(r,t)||j(o)};u().addEventListener(`focusin`,a),u().addEventListener(`focusout`,s),i(()=>{u().removeEventListener(`focusin`,a),u().removeEventListener(`focusout`,s)})}),d(()=>{let r=t();if(!r||!D(e.trapFocus)||n())return;let a=f();r.insertAdjacentElement(`afterbegin`,a);let o=f();r.insertAdjacentElement(`beforeend`,o);function s(e){let t=m(),n=h();e.relatedTarget===t?j(n):j(t)}
1a.addEventListener(`focusin`,s),o.addEventListener(`focusin`,s);let c=new MutationObserver(e=>{for(let t of e)t.previousSibling===o&&(o.remove(),r.insertAdjacentElement(`beforeend`,o)),t.nextSibling===a&&(a.remove(),r.insertAdjacentElement(`afterbegin`,a))});c.observe(r,{childList:!0,subtree:!1}),i(()=>{a.removeEventListener(`focusin`,s),o.removeEventListener(`focusin`,s),a.remove(),o.remove(),c.disconnect()})})}var ke=7e3,Ae=null,je=`data-live-announcer`;function Me(e,t=`assertive`,n=ke){Ae||=new Ne,Ae.announce(e,t,n)}var Ne=class{node;assertiveLog;politeLog;constructor(){this.node=document.createElement(`div`),this.node.dataset.liveAnnouncer=`true`,Object.assign(this.node.style,w),this.assertiveLog=this.createLog(`assertive`),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog(`polite`),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}createLog(e){let t=document.createElement(`div`);return t.setAttribute(`role`,`log`),t.setAttribute(`aria-live`,e),t.setAttribute(`aria-relevant`,`additions`),t}destroy(){this.node&&=(document.body.removeChild(this.node),null)}announce(e,t=`assertive`,n=ke){if(!this.node)return;let r=document.createElement(`div`);r.textContent=e,t===`assertive`?this.assertiveLog.appendChild(r):this.politeLog.appendChild(r),e!==``&&setTimeout(()=>{r.remove()},n)}clear(e){this.node&&((!e||e===`assertive`)&&(this.assertiveLog.innerHTML=``),(!e||e===`polite`)&&(this.politeLog.innerHTML=``))}};function Pe(e){d(()=>{D(e.isDisabled)||i(Fe(D(e.targets),D(e.root)))})}var J=new WeakMap,Y=[];function Fe(e,t=document.body){let n=new Set(e),r=new Set,i=e=>{for(let t of e.querySelectorAll(`[${je}], [${_e}]`))n.add(t);let t=e=>{if(n.has(e)||e.parentElement&&r.has(e.parentElement)&&e.parentElement.getAttribute(`role`)!==`row`)return NodeFilter.FILTER_REJECT;for(let t of n)if(e.contains(t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),o=t(e);if(o===NodeFilter.FILTER_ACCEPT&&a(e),o!==NodeFilter.FILTER_REJECT){let e=i.nextNode();for(;e!=null;)a(e),e=i.nextNode()}},a=e=>{let t=J.get(e)??0;e.getAttribute(`aria-hidden`)===`true`&&t===0||(t===0&&e.setAttribute(`aria-hidden`,`true`),r.add(e),J.set(e,t+1))};Y.length&&Y[Y.length-1].disconnect(),i(t);let o=new MutationObserver(e=>{for(let t of e)if(!(t.type!==`childList`||t.addedNodes.length===0)&&![...n,...r].some(e=>e.contains(t.target))){for(let e of t.removedNodes)e instanceof Element&&(n.delete(e),r.delete(e));for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&(e.dataset.liveAnnouncer===`true`||e.dataset.reactAriaTopLayer===`true`)?n.add(e):e instanceof Element&&i(e)}});o.observe(t,{childList:!0,subtree:!0});let s={observe(){o.observe(t,{childList:!0,subtree:!0})},disconnect(){o.disconnect()}};return Y.push(s),()=>{o.disconnect();for(let e of r){let t=J.get(e);if(t==null)return;t===1?(e.removeAttribute(`aria-hidden`),J.delete(e)):J.set(e,t-1)}s===Y[Y.length-1]?(Y.pop(),Y.length&&Y[Y.length-1].observe()):Y.splice(Y.indexOf(s),1)}}var X=(e,t)=>{if(e.contains(t))return!0;let n=t;for(;n;){if(n===e)return!0;n=n._$host??n.parentElement}return!1},Z=new Map,Q=e=>{d(()=>{let t=P(e.style)??{},n=P(e.properties)??[],r={};for(let n in t)r[n]=e.element.style[n];let a=Z.get(e.key);a?a.activeCount++:Z.set(e.key,{activeCount:1,originalStyles:r,properties:n.map(e=>e.key)}),Object.assign(e.element.style,e.style);for(let t of n)e.element.style.setProperty(t.key,t.value);i(()=>{let t=Z.get(e.key);if(t){if(t.activeCount!==1){t.activeCount--;return}Z.delete(e.key);for(let[n,r]of Object.entries(t.originalStyles))e.element.style[n]=r;for(let n of t.properties)e.element.style.removeProperty(n);e.element.style.length===0&&e.element.removeAttribute(`style`),e.cleanup?.()}})})},Ie=(e,t)=>{switch(t){case`x`:return[e.clientWidth,e.scrollLeft,e.scrollWidth];case`y`:return[e.clientHeight,e.scrollTop,e.scrollHeight]}},Le=(e,t)=>{let n=getComputedStyle(e),r=t===`x`?n.overflowX:n.overflowY;return r===`auto`||r===`scroll`||e.tagName===`HTML`&&r===`visible`},Re=(e,t,n)=>{let r=t===`x`&&window.getComputedStyle(e).direction===`rtl`?-1:1,i=e,a=0,o=0,s=!1;do{let[e,c,l]=Ie(i,t),u=l-e-r*c;(c!==0||u!==0)&&Le(i,t)&&(a+=u,o+=c),i===(n??document.documentElement)?s=!0:i=i._$host??i.parentElement}while(i&&!s);return[a,o]},[ze,Be]=s([]),Ve=e=>ze().indexOf(e)===ze().length-1,He=e=>{let n=t({element:null,enabled:!0,hideScrollbar:!0,preventScrollbarShift:!0,preventScrollbarShiftMode:`padding`,restoreScrollPosition:!0,allowPinchZoom:!1},e),r=h(),a=[0,0],o=null,s=null;d(()=>{P(n.enabled)&&(Be(e=>[...e,r]),i(()=>{Be(e=>e.filter(e=>e!==r))}))}),d(()=>
1{if(!P(n.enabled)||!P(n.hideScrollbar))return;let{body:e}=document,t=window.innerWidth-e.offsetWidth;if(P(n.preventScrollbarShift)){let r={overflow:`hidden`},i=[];t>0&&(P(n.preventScrollbarShiftMode)===`padding`?r.paddingRight=`calc(${window.getComputedStyle(e).paddingRight} + ${t}px)`:r.marginRight=`calc(${window.getComputedStyle(e).marginRight} + ${t}px)`,i.push({key:`--scrollbar-width`,value:`${t}px`}));let a=window.scrollY,o=window.scrollX;Q({key:`prevent-scroll`,element:e,style:r,properties:i,cleanup:()=>{P(n.restoreScrollPosition)&&t>0&&window.scrollTo(o,a)}})}else Q({key:`prevent-scroll`,element:e,style:{overflow:`hidden`}})}),d(()=>{!Ve(r)||!P(n.enabled)||(document.addEventListener(`wheel`,l,{passive:!1}),document.addEventListener(`touchstart`,c,{passive:!1}),document.addEventListener(`touchmove`,u,{passive:!1}),i(()=>{document.removeEventListener(`wheel`,l),document.removeEventListener(`touchstart`,c),document.removeEventListener(`touchmove`,u)}))});let c=e=>{a=We(e),o=null,s=null},l=e=>{let t=e.target,r=P(n.element),i=Ue(e),a=Math.abs(i[0])>Math.abs(i[1])?`x`:`y`,o=$(t,a,a===`x`?i[0]:i[1],r),s;s=r&&X(r,t)?!o:!0,s&&e.cancelable&&e.preventDefault()},u=e=>{let t=P(n.element),r=e.target,i;if(e.touches.length===2)i=!P(n.allowPinchZoom);else{if(o==null||s===null){let t=We(e).map((e,t)=>a[t]-e),n=Math.abs(t[0])>Math.abs(t[1])?`x`:`y`;o=n,s=n===`x`?t[0]:t[1]}if(r.type===`range`)i=!1;else{let e=$(r,o,s,t);i=t&&X(t,r)?!e:!0}}i&&e.cancelable&&e.preventDefault()}},Ue=e=>[e.deltaX,e.deltaY],We=e=>e.changedTouches[0]?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0],$=(e,t,n,r)=>{let[i,a]=Re(e,t,r!==null&&X(r,e)?r:void 0);return!(n>0&&Math.abs(i)<=1||n<0&&Math.abs(a)<1)},Ge=He;export{B as a,U as c,R as d,L as f,Oe as i,W as l,Pe as n,V as o,be as p,Me as r,H as s,Ge as t,G as u};

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.