@thednp/shorty 2.0.0-alpha5 → 2.0.0-alpha6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/shorty.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated by dts-bundle-generator v6.12.0
1
+ // Generated by dts-bundle-generator v6.13.0
2
2
 
3
3
  export interface NavigatorUABrand {
4
4
  readonly brand: string;
@@ -25,7 +25,6 @@ export interface CustomElement extends HTMLElement {
25
25
  disconnectedCallback?: () => void;
26
26
  adoptedCallback?: () => void;
27
27
  attributeChangedCallback?: () => void;
28
- [key: string]: any;
29
28
  }
30
29
  export interface BoundingClientRect {
31
30
  width: number;
@@ -284,14 +283,14 @@ declare const SHORTY: {
284
283
  dispatchEvent: (element: EventTarget, event: Event) => boolean;
285
284
  distinct: <T>(value: T, index: number, arr: T[]) => boolean;
286
285
  Data: {
287
- set: <T_1 extends new (...args: ConstructorParameters<T_1>) => InstanceType<T_1>>(element: HTMLElement, component: T_1, instance: InstanceType<T_1>) => void;
288
- getAllFor: <T_2 extends new (...args: ConstructorParameters<T_2>) => InstanceType<T_2>>(component: T_2) => Map<HTMLElement, InstanceType<T_2>> | null;
289
- get: <T_3 extends new (...args: ConstructorParameters<T_3>) => InstanceType<T_3>>(element: HTMLElement, component: T_3) => InstanceType<T_3> | null;
290
- remove: <T_4 extends new (...args: ConstructorParameters<T_4>) => InstanceType<T_4>>(element: HTMLElement, component: T_4) => void;
286
+ set: <T_1>(element: HTMLElement, component: string, instance: T_1) => void;
287
+ getAllFor: <T_2>(component: string) => Map<HTMLElement, T_2> | null;
288
+ get: <T_3>(element: HTMLElement, component: string) => T_3 | null;
289
+ remove: <T_4>(element: HTMLElement, component: string) => void;
291
290
  };
292
- getInstance: <T_5 extends new (...args: ConstructorParameters<T_5>) => InstanceType<T_5>>(target: HTMLElement, component: T_5) => InstanceType<T_5> | null;
293
- createElement: (param?: string | undefined) => HTMLElement | undefined;
294
- createElementNS: (ns: string, param?: string | undefined) => HTMLElement | undefined;
291
+ getInstance: <T_5>(target: HTMLElement, component: string) => T_5 | null;
292
+ createElement: (param?: string | Partial<HTMLElement> | undefined) => HTMLElement | undefined;
293
+ createElementNS: (ns: string, param?: string | Partial<HTMLElement> | undefined) => HTMLElement | undefined;
295
294
  createCustomEvent: <T_6 extends OriginalEvent>(eventType: string, config?: CustomEventInit<any> | undefined) => T_6;
296
295
  toUpperCase: (source: string) => string;
297
296
  toLowerCase: (source: string) => string;
@@ -319,56 +318,57 @@ declare const SHORTY: {
319
318
  y: number;
320
319
  }) => OffsetRect;
321
320
  getWindow: (node?: Node | undefined) => Window;
322
- isArray: (obj?: any) => obj is any[];
323
- isCanvas: (element?: Node | undefined) => element is HTMLCanvasElement;
324
- isString: (str?: string | undefined) => str is string;
325
- isCustomElement: <T_7 extends CustomElement>(element?: Node | T_7 | undefined) => element is T_7;
326
- isElement: (element?: Element | Node | undefined) => element is Element;
321
+ isArray: (obj?: unknown) => obj is any[];
322
+ isCanvas: (element?: unknown) => element is HTMLCanvasElement;
323
+ isString: (str?: unknown) => str is string;
324
+ isCustomElement: <T_7 extends CustomElement>(element?: unknown) => element is T_7;
325
+ isElement: (element?: unknown) => element is Element;
327
326
  isJSON: (str?: string | undefined) => boolean;
328
- isMap: <T_8 extends Map<any, any>>(obj?: T_8 | undefined) => obj is T_8;
329
- isWeakMap: <T_9 extends WeakMap<any, unknown>>(obj?: T_9 | undefined) => obj is T_9;
330
- isNode: (node?: Node | undefined) => node is Node;
331
- isNumber: (num?: number | undefined) => num is number;
332
- isHTMLElement: (element?: Node | HTMLElement | undefined) => element is HTMLElement;
333
- isHTMLImageElement: (element?: HTMLImageElement | undefined) => element is HTMLImageElement;
334
- isSVGElement: (element?: SVGElement | undefined) => element is SVGElement;
335
- isNodeList: (obj?: NodeList | undefined) => obj is NodeList;
336
- isHTMLCollection: (obj?: HTMLCollection | undefined) => obj is HTMLCollection;
327
+ isMap: (obj?: unknown) => obj is Map<any, any>;
328
+ isWeakMap: (obj?: unknown) => obj is WeakMap<any, any>;
329
+ isNode: (node?: unknown) => node is Node;
330
+ isNumber: (num?: unknown) => num is number;
331
+ isHTMLElement: (element?: unknown) => element is HTMLElement;
332
+ isHTMLImageElement: (element?: unknown) => element is HTMLImageElement;
333
+ isSVGElement: (element?: unknown) => element is SVGElement;
334
+ isNodeList: (obj?: unknown) => obj is NodeList;
335
+ isHTMLCollection: (obj?: unknown) => obj is HTMLCollection;
337
336
  isScaledElement: (element?: HTMLElement | undefined) => boolean;
338
- isTableElement: (element?: HTMLTableElement | HTMLTableCellElement | undefined) => element is HTMLTableElement | HTMLTableCellElement;
339
- isShadowRoot: (element?: Node | ShadowRoot | undefined) => element is ShadowRoot;
340
- isDocument: (obj?: Node | Document | undefined) => obj is Document;
341
- isElementsArray: (obj?: any) => obj is HTMLElement[];
342
- isFunction: <T_10 extends (...arg0: any[]) => any>(fn?: T_10 | undefined) => fn is T_10;
343
- isObject: (obj?: object | undefined) => obj is object;
344
- isWindow: (obj?: Node | Window | undefined) => obj is Window;
345
- isMedia: (element?: HTMLCanvasElement | HTMLImageElement | SVGElement | HTMLVideoElement | undefined) => element is HTMLCanvasElement | HTMLImageElement | SVGElement | HTMLVideoElement;
337
+ isTableElement: (element?: unknown) => element is HTMLTableElement | HTMLTableCellElement;
338
+ isShadowRoot: (element?: unknown) => element is ShadowRoot;
339
+ isDocument: (obj?: unknown) => obj is Document;
340
+ isElementsArray: (obj?: unknown) => obj is HTMLElement[];
341
+ isFunction: (fn?: unknown) => fn is (...arg0: any[]) => any;
342
+ isObject: (obj?: unknown) => obj is object;
343
+ isWindow: (obj?: unknown) => obj is Window;
344
+ isMedia: (element?: unknown) => element is HTMLCanvasElement | HTMLImageElement | SVGElement | HTMLVideoElement;
346
345
  isRTL: (node?: Node | undefined) => boolean;
347
346
  closest: (element: HTMLElement, selector: string) => HTMLElement | null;
348
- querySelector: (selector: string | Node, parent?: ParentNode | undefined) => HTMLElement | null;
347
+ querySelector: (selector: string | HTMLElement, parent?: ParentNode | undefined) => HTMLElement | null;
349
348
  getCustomElements: (parent?: ParentNode | undefined) => CustomElement[];
350
349
  getElementById: (id: string, context?: Node | undefined) => HTMLElement | null;
351
350
  querySelectorAll: (selector: string, parent?: ParentNode | undefined) => NodeListOf<HTMLElement>;
352
351
  getElementsByClassName: (selector: string, parent?: ParentNode | undefined) => HTMLCollectionOf<HTMLElement>;
353
352
  getElementsByTagName: (selector: string, parent?: ParentNode | undefined) => HTMLCollectionOf<HTMLElement>;
354
353
  matches: (target: Element, selector: string) => boolean;
354
+ hasOwn: <T_8 extends object, K extends PropertyKey>(obj: T_8, prop: K) => obj is T_8 & Record<K, unknown>;
355
355
  normalizeValue: (value?: string | number | boolean | undefined) => string | number | boolean | ((...args: any[]) => any) | null;
356
- normalizeOptions: <T_11 extends {
356
+ normalizeOptions: <T_9 extends {
357
357
  [key: string]: any;
358
- }>(element: HTMLElement, defaultOps: T_11, inputOps: Partial<T_11>, ns?: string | undefined) => T_11;
358
+ }>(element: HTMLElement, defaultOps: T_9, inputOps: Partial<T_9>, ns?: string | undefined) => T_9;
359
359
  reflow: (element: HTMLElement) => number;
360
360
  noop: () => void;
361
361
  focus: (element: HTMLOrSVGElement, options?: FocusOptions | undefined) => void;
362
362
  getUID: (element: HTMLElement, key?: string | undefined) => number;
363
- ArrayFrom: <T_12>(arr: ArrayLike<T_12> | Iterable<T_12>) => T_12[];
363
+ ArrayFrom: <T_10>(arr: ArrayLike<T_10> | Iterable<T_10>) => T_10[];
364
364
  Float32ArrayFrom: (arr: ArrayLike<number> | Iterable<number>) => Float32Array;
365
365
  Float64ArrayFrom: (arr: ArrayLike<number> | Iterable<number>) => Float64Array;
366
366
  ObjectAssign: {
367
- <T_13, U>(target: T_13, source: U): T_13 & U;
368
- <T_14, U_1, V>(target: T_14, source1: U_1, source2: V): T_14 & U_1 & V;
369
- <T_15, U_2, V_1, W>(target: T_15, source1: U_2, source2: V_1, source3: W): T_15 & U_2 & V_1 & W;
370
- <T_16, U_3, V_2, W_1, Q>(target: T_16, source1: U_3, source2: V_2, source3: W_1, source4: Q): T_16 & U_3 & V_2 & W_1 & Q;
371
- <T_17, U_4, V_3, W_2, Q_1, R>(target: T_17, source1: U_4, source2: V_3, source3: W_2, source4: Q_1, source5: R): T_17 & U_4 & V_3 & W_2 & Q_1 & R;
367
+ <T_11, U>(target: T_11, source: U): T_11 & U;
368
+ <T_12, U_1, V>(target: T_12, source1: U_1, source2: V): T_12 & U_1 & V;
369
+ <T_13, U_2, V_1, W>(target: T_13, source1: U_2, source2: V_1, source3: W): T_13 & U_2 & V_1 & W;
370
+ <T_14, U_3, V_2, W_1, Q>(target: T_14, source1: U_3, source2: V_2, source3: W_1, source4: Q): T_14 & U_3 & V_2 & W_1 & Q;
371
+ <T_15, U_4, V_3, W_2, Q_1, R>(target: T_15, source1: U_4, source2: V_3, source3: W_2, source4: Q_1, source5: R): T_15 & U_4 & V_3 & W_2 & Q_1 & R;
372
372
  (target: any, ...sources: any[]): any;
373
373
  };
374
374
  ObjectEntries: <O extends Record<string, any>>(obj: O) => [
package/dist/shorty.js CHANGED
@@ -1,2 +1,2 @@
1
- var SHORTY=function(){"use strict";const le="aria-checked",de="aria-description",pe="aria-describedby",me="aria-expanded",fe="aria-haspopup",ge="aria-hidden",Ee="aria-label",ve="aria-labelledby",be="aria-modal",he="aria-pressed",ye="aria-selected",we="aria-valuemin",Ae="aria-valuemax",Se="aria-valuenow",Ne="aria-valuetext",U="abort",F="beforeunload",W="blur",Q="change",j="contextmenu",L="DOMContentLoaded",q="DOMMouseScroll",Y="error",G="focus",J="focusin",K="focusout",X="gesturechange",Z="gestureend",$="gesturestart",_="keydown",tt="keypress",et="keyup",nt="load",ot="click",st="dblclick",ct="mousedown",rt="mouseup",it="hover",at="mouseenter",ut="mouseleave",lt="mousein",dt="mouseout",pt="mouseover",mt="mousemove",ft="mousewheel",gt="move",Et="orientationchange",vt="pointercancel",bt="pointerdown",ht="pointerleave",yt="pointermove",wt="pointerup",At="readystatechange",St="reset",Nt="resize",Mt="select",Tt="selectend",kt="selectstart",Ct="scroll",Dt="submit",Lt="touchstart",Ot="touchmove",It="touchcancel",zt="touchend",xt="unload",Me={DOMContentLoaded:L,DOMMouseScroll:q,abort:U,beforeunload:F,blur:W,change:Q,click:ot,contextmenu:j,dblclick:st,error:Y,focus:G,focusin:J,focusout:K,gesturechange:X,gestureend:Z,gesturestart:$,hover:it,keydown:_,keypress:tt,keyup:et,load:nt,mousedown:ct,mousemove:mt,mousein:lt,mouseout:dt,mouseenter:at,mouseleave:ut,mouseover:pt,mouseup:rt,mousewheel:ft,move:gt,orientationchange:Et,pointercancel:vt,pointerdown:bt,pointerleave:ht,pointermove:yt,pointerup:wt,readystatechange:At,reset:St,resize:Nt,scroll:Ct,select:Mt,selectend:Tt,selectstart:kt,submit:Dt,touchcancel:It,touchend:zt,touchmove:Ot,touchstart:Lt,unload:xt},Te="loadstart",ke={start:"mousedown",end:"mouseup",move:"mousemove",cancel:"mouseleave"},Ce={down:"mousedown",up:"mouseup"},De="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],Le={start:"touchstart",end:"touchend",move:"touchmove",cancel:"touchcancel"},Oe={in:"focusin",out:"focusout"},Ie={Backspace:"Backspace",Tab:"Tab",Enter:"Enter",Shift:"Shift",Control:"Control",Alt:"Alt",Pause:"Pause",CapsLock:"CapsLock",Escape:"Escape",Scape:"Space",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown",Insert:"Insert",Delete:"Delete",Meta:"Meta",ContextMenu:"ContextMenu",ScrollLock:"ScrollLock"},ze="Alt",xe="ArrowDown",Be="ArrowUp",He="ArrowLeft",Ve="ArrowRight",Pe="Backspace",Re="CapsLock",Ue="Control",Fe="Delete",We="Enter",Qe="Escape",je="Insert",qe="Meta",Ye="Pause",Ge="ScrollLock",Je="Shift",Ke="Space",Xe="Tab",Bt="animationDuration",Ht="animationDelay",O="animationName",M="animationend",Vt="transitionDuration",Pt="transitionDelay",T="transitionend",I="transitionProperty",Ze="addEventListener",$e="removeEventListener",_e={linear:"linear",easingSinusoidalIn:"cubic-bezier(0.47,0,0.745,0.715)",easingSinusoidalOut:"cubic-bezier(0.39,0.575,0.565,1)",easingSinusoidalInOut:"cubic-bezier(0.445,0.05,0.55,0.95)",easingQuadraticIn:"cubic-bezier(0.550,0.085,0.680,0.530)",easingQuadraticOut:"cubic-bezier(0.250,0.460,0.450,0.940)",easingQuadraticInOut:"cubic-bezier(0.455,0.030,0.515,0.955)",easingCubicIn:"cubic-bezier(0.55,0.055,0.675,0.19)",easingCubicOut:"cubic-bezier(0.215,0.61,0.355,1)",easingCubicInOut:"cubic-bezier(0.645,0.045,0.355,1)",easingQuarticIn:"cubic-bezier(0.895,0.03,0.685,0.22)",easingQuarticOut:"cubic-bezier(0.165,0.84,0.44,1)",easingQuarticInOut:"cubic-bezier(0.77,0,0.175,1)",easingQuinticIn:"cubic-bezier(0.755,0.05,0.855,0.06)",easingQuinticOut:"cubic-bezier(0.23,1,0.32,1)",easingQuinticInOut:"cubic-bezier(0.86,0,0.07,1)",easingExponentialIn:"cubic-bezier(0.95,0.05,0.795,0.035)",easingExponentialOut:"cubic-bezier(0.19,1,0.22,1)",easingExponentialInOut:"cubic-bezier(1,0,0,1)",easingCircularIn:"cubic-bezier(0.6,0.04,0.98,0.335)",easingCircularOut:"cubic-bezier(0.075,0.82,0.165,1)",easingCircularInOut:"cubic-bezier(0.785,0.135,0.15,0.86)",easingBackIn:"cubic-bezier(0.6,-0.28,0.735,0.045)",easingBackOut:"cubic-bezier(0.175,0.885,0.32,1.275)",easingBackInOut:"cubic-bezier(0.68,-0.55,0.265,1.55)"},tn="offsetHeight",en="offsetWidth",nn="scrollHeight",on="scrollWidth",sn="tabindex",y=navigator.userAgentData,{userAgent:cn}=navigator,w=cn,Rt=/iPhone|iPad|iPod|Android/i;let z=!1;y?z=y.brands.some(t=>Rt.test(t.brand)):z=Rt.test(w);const rn=z,Ut=/(iPhone|iPod|iPad)/,an=y?y.brands.some(t=>Ut.test(t.brand)):Ut.test(w),un=w?w.includes("Firefox"):!1,{head:A}=document,ln=["webkitPerspective","perspective"].some(t=>t in A.style),Ft=(t,e,n,o)=>{const s=o||!1;t.addEventListener(e,n,s)},Wt=(t,e,n,o)=>{const s=o||!1;t.removeEventListener(e,n,s)},Qt=(t,e,n,o)=>{const s=c=>{c.target===t&&(n.apply(t,[c]),Wt(t,e,s,o))};Ft(t,e,s,o)},jt=()=>{},dn=(()=>{let t=!1;try{const e=Object.defineProperty({},"passive",{get:()=>(t=!0,t)});Qt(document,L,jt,e)}catch{}return t})(),pn=["webkitTransform","transform"].some(t=>t in A.style),mn="ontouchstart"in window||"msMaxTouchPoints"in navigator,fn=["webkitAnimation","animation"].some(t=>t in A.style),gn=["webkitTransition","transition"].some(t=>t in A.style),qt=(t,e)=>t.getAttribute(e),En=(t,e,n)=>e.getAttributeNS(t,n),vn=(t,e)=>t.hasAttribute(e),bn=(t,e,n)=>e.hasAttributeNS(t,n),x=(t,e,n)=>t.setAttribute(e,n),hn=(t,e,n,o)=>e.setAttributeNS(t,n,o),yn=(t,e)=>t.removeAttribute(e),wn=(t,e,n)=>e.removeAttributeNS(t,n),An=(t,...e)=>{t.classList.add(...e)},Sn=(t,...e)=>{t.classList.remove(...e)},Nn=(t,e)=>t.classList.contains(e),{body:Mn}=document,{documentElement:Tn}=document,kn=t=>Array.from(t),a=t=>t&&t.nodeType===1||!1,S=new Map,k={set:(t,e,n)=>{if(!a(t))return;S.has(e)||S.set(e,new Map),S.get(e).set(t,n)},getAllFor:t=>S.get(t)||null,get:(t,e)=>{if(!a(t)||!e)return null;const n=k.getAllFor(e);return t&&n&&n.get(t)||null},remove:(t,e)=>{const n=k.getAllFor(e);!n||!a(t)||(n.delete(t),n.size===0&&S.delete(e))}},Cn=(t,e)=>k.get(t,e),p=t=>typeof t=="string"||!1,l=t=>t&&[1,2,3,4,5,6,7,8,9,10,11].some(e=>t.nodeType===e)||!1,B=t=>t&&t.constructor.name==="Window"||!1,H=t=>t&&t.nodeType===9||!1,d=t=>B(t)?t.document:H(t)?t:l(t)?t.ownerDocument:window.document,v=t=>Object.entries(t),Yt=t=>{if(!t)return;if(p(t))return d().createElement(t);const{tagName:e}=t,n=Yt(e);if(!n)return;const o={...t};return delete o.tagName,v(o).forEach(([s,c])=>{p(s)&&p(c)&&x(n,s,c)}),n},Gt=(t,e)=>{if(!t||!e)return;if(p(e))return d().createElementNS(t,e);const{tagName:n}=e,o=Gt(t,n);if(!o)return;const s={...e};return delete s.tagName,v(s).forEach(([c,i])=>{p(c)&&p(i)&&x(o,c,i)}),o},V=(t,e)=>t.dispatchEvent(e),Dn=(t,e,n)=>n.indexOf(t)===e,m=(t,e)=>{const n=getComputedStyle(t),o=e.replace("webkit","Webkit").replace(/([A-Z])/g,"-$1").toLowerCase();return n.getPropertyValue(o)},Jt=t=>{const e=m(t,O),n=m(t,Ht),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},Kt=t=>{const e=m(t,O),n=m(t,Bt),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},Ln=(t,e)=>{let n=0;const o=new Event(M),s=Kt(t),c=Jt(t);if(s){const i=u=>{u.target===t&&(e.apply(t,[u]),t.removeEventListener(M,i),n=1)};t.addEventListener(M,i),setTimeout(()=>{n||V(t,o)},s+c+17)}else e.apply(t,[o])},Xt=t=>{const e=m(t,I),n=m(t,Pt),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},Zt=t=>{const e=m(t,I),n=m(t,Vt),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},On=(t,e)=>{let n=0;const o=new Event(T),s=Zt(t),c=Xt(t);if(s){const i=u=>{u.target===t&&(e.apply(t,[u]),t.removeEventListener(T,i),n=1)};t.addEventListener(T,i),setTimeout(()=>{n||V(t,o)},s+c+17)}else e.apply(t,[o])},In=t=>Float32Array.from(Array.from(t)),zn=t=>Float64Array.from(Array.from(t)),xn=(t,e)=>t.focus(e),P=t=>["true",!0].includes(t)?!0:["false",!1].includes(t)?!1:["null","",null,void 0].includes(t)?null:t!==""&&!Number.isNaN(+t)?+t:t,$t=t=>t.toLowerCase(),Bn=(t,e,n,o)=>{const s={...n},c={...t.dataset},i={...e},u={},g="title";return v(c).forEach(([r,E])=>{const D=o&&typeof r=="string"&&r.includes(o)?r.replace(o,"").replace(/[A-Z]/g,mo=>$t(mo)):r;u[D]=P(E)}),v(s).forEach(([r,E])=>{s[r]=P(E)}),v(e).forEach(([r,E])=>{r in s?i[r]=s[r]:r in u?i[r]=u[r]:i[r]=r===g?qt(t,g):E}),i},R=(t,...e)=>Object.assign(t,...e),Hn=t=>Object.keys(t),Vn=t=>Object.values(t),_t=t=>typeof t=="object"||!1,Pn=(t,e)=>{const n=new CustomEvent(t,{cancelable:!0,bubbles:!0});return _t(e)&&R(n,e),n},Rn={passive:!0},Un=t=>t.offsetHeight,Fn=(t,e)=>{v(e).forEach(([n,o])=>{if(o&&p(n)&&n.includes("--"))t.style.setProperty(n,o);else{const s={};s[n]=o,R(t.style,s)}})},C=t=>t&&t.constructor.name==="Map"||!1,te=t=>typeof t=="number"||!1,f=new Map,Wn={set:(t,e,n,o)=>{!a(t)||(o&&o.length?(f.has(t)||f.set(t,new Map),f.get(t).set(o,setTimeout(e,n))):f.set(t,setTimeout(e,n)))},get:(t,e)=>{if(!a(t))return null;const n=f.get(t);return e&&n&&C(n)?n.get(e)||null:te(n)?n:null},clear:(t,e)=>{if(!a(t))return;const n=f.get(t);e&&e.length&&C(n)?(clearTimeout(n.get(e)),n.delete(e),n.size===0&&f.delete(t)):(clearTimeout(n),f.delete(t))}},Qn=t=>t.toUpperCase(),b=(t,e)=>{const{width:n,height:o,top:s,right:c,bottom:i,left:u}=t.getBoundingClientRect();let g=1,r=1;if(e&&a(t)){const{offsetWidth:E,offsetHeight:D}=t;g=E>0?Math.round(n)/E:1,r=D>0?Math.round(o)/D:1}return{width:n/g,height:o/r,top:s/r,right:c/g,bottom:i/r,left:u/g,x:u/g,y:s/r}},jn=t=>d(t).body,N=t=>d(t).documentElement,qn=t=>d(t).head,Yn=t=>{const e=B(t),n=e?t.scrollX:t.scrollLeft,o=e?t.scrollY:t.scrollTop;return{x:n,y:o}},ee=t=>t&&t.constructor.name==="ShadowRoot"||!1,Gn=t=>t.nodeName==="HTML"?t:a(t)&&t.assignedSlot||l(t)&&t.parentNode||ee(t)&&t.host||N(t),ne=t=>{if(!a(t))return!1;const{width:e,height:n}=b(t),{offsetWidth:o,offsetHeight:s}=t;return Math.round(e)!==o||Math.round(n)!==s},Jn=(t,e,n)=>{const o=a(e),s=b(t,o&&ne(e)),c={x:0,y:0};if(o){const i=b(e,!0);c.x=i.x+e.clientLeft,c.y=i.y+e.clientTop}return{x:s.left+n.x-c.x,y:s.top+n.y-c.y,width:s.width,height:s.height}};let oe=0,se=0;const h=new Map,ce=(t,e)=>{let n=e?oe:se;if(e){const o=ce(t),s=h.get(o)||new Map;h.has(o)||h.set(o,s),C(s)&&!s.has(e)?(s.set(e,n),oe+=1):n=s.get(e)}else{const o=t.id||t;h.has(o)?n=h.get(o):(h.set(o,n),se+=1)}return n},Kn=t=>{var e;return t?H(t)?t.defaultView:l(t)?(e=t==null?void 0:t.ownerDocument)==null?void 0:e.defaultView:t:window},re=t=>Array.isArray(t)||!1,Xn=t=>t&&t.nodeName==="CANVAS"||!1,ie=t=>t&&!!t.shadowRoot||!1,Zn=t=>t&&[1,2,3,4,5,6,7,8].some(e=>t.nodeType===e)||!1,$n=t=>{if(!l(t))return!1;const{top:e,bottom:n}=b(t),{clientHeight:o}=N(t);return e<=o&&n>=0},_n=t=>{if(!l(t))return!1;const{clientWidth:e,clientHeight:n}=N(t),{top:o,left:s,bottom:c,right:i}=b(t,!0);return o>=0&&s>=0&&c<=n&&i<=e},to=t=>re(t)&&t.every(a)||!1,eo=t=>typeof t=="function"||!1,no=t=>t&&t.constructor.name==="HTMLCollection"||!1,oo=t=>t&&t.tagName==="IMG"||!1,so=t=>{if(!p(t))return!1;try{JSON.parse(t)}catch{return!1}return!0},co=t=>t&&t.constructor.name==="WeakMap"||!1,ro=t=>t&&t.nodeType===1&&["SVG","Image","Video","Canvas"].some(e=>t.constructor.name.includes(e))||!1,io=t=>t&&t.constructor.name==="NodeList"||!1,ao=t=>N(t).dir==="rtl",uo=t=>t&&t.constructor.name.includes("SVG")||!1,lo=t=>t&&["TABLE","TD","TH"].includes(t.tagName)||!1,ae=(t,e)=>t?t.closest(e)||ae(t.getRootNode().host,e):null,po=(t,e)=>l(t)?t:(e&&l(e)?e:d()).querySelector(t),ue=(t,e)=>(l(e)?e:d()).getElementsByTagName(t);return{ariaChecked:le,ariaDescription:de,ariaDescribedBy:pe,ariaExpanded:me,ariaHidden:ge,ariaHasPopup:fe,ariaLabel:Ee,ariaLabelledBy:ve,ariaModal:be,ariaPressed:he,ariaSelected:ye,ariaValueMin:we,ariaValueMax:Ae,ariaValueNow:Se,ariaValueText:Ne,nativeEvents:Me,abortEvent:U,blurEvent:W,moveEvent:gt,changeEvent:Q,errorEvent:Y,resetEvent:St,resizeEvent:Nt,scrollEvent:Ct,submitEvent:Dt,loadEvent:nt,loadstartEvent:Te,unloadEvent:xt,readystatechangeEvent:At,beforeunloadEvent:F,orientationchangeEvent:Et,contextmenuEvent:j,DOMContentLoadedEvent:L,DOMMouseScrollEvent:q,selectEvent:Mt,selectendEvent:Tt,selectstartEvent:kt,mouseClickEvents:Ce,mouseclickEvent:ot,mousedblclickEvent:st,mousedownEvent:ct,mouseupEvent:rt,mousehoverEvent:it,mouseHoverEvents:De,mouseenterEvent:at,mouseleaveEvent:ut,mouseinEvent:lt,mouseoutEvent:dt,mouseoverEvent:pt,mousemoveEvent:mt,mousewheelEvent:ft,mouseSwipeEvents:ke,touchEvents:Le,touchstartEvent:Lt,touchmoveEvent:Ot,touchcancelEvent:It,touchendEvent:zt,pointercancelEvent:vt,pointerdownEvent:bt,pointerleaveEvent:ht,pointermoveEvent:yt,pointerupEvent:wt,focusEvents:Oe,focusEvent:G,focusinEvent:J,focusoutEvent:K,gesturechangeEvent:X,gestureendEvent:Z,gesturestartEvent:$,bezierEasings:_e,animationDuration:Bt,animationDelay:Ht,animationName:O,animationEndEvent:M,transitionDuration:Vt,transitionDelay:Pt,transitionEndEvent:T,transitionProperty:I,isMobile:rn,isApple:an,isFirefox:un,support3DTransform:ln,supportPassive:dn,supportTransform:pn,supportTouch:mn,supportAnimation:fn,supportTransition:gn,addEventListener:Ze,removeEventListener:$e,keyboardEventKeys:Ie,keydownEvent:_,keypressEvent:tt,keyupEvent:et,keyAlt:ze,keyArrowDown:xe,keyArrowLeft:He,keyArrowRight:Ve,keyArrowUp:Be,keyBackspace:Pe,keyCapsLock:Re,keyControl:Ue,keyDelete:Fe,keyEnter:We,keyEscape:Qe,keyInsert:je,keyMeta:qe,keyPause:Ye,keyScrollLock:Ge,keyShift:Je,keySpace:Ke,keyTab:Xe,offsetHeight:tn,offsetWidth:en,scrollHeight:nn,scrollWidth:on,userAgentData:y,userAgent:w,tabindex:sn,addClass:An,removeClass:Sn,hasClass:Nn,on:Ft,off:Wt,one:Qt,documentBody:Mn,documentElement:Tn,documentHead:A,dispatchEvent:V,distinct:Dn,Data:k,getInstance:Cn,createElement:Yt,createElementNS:Gt,createCustomEvent:Pn,toUpperCase:Qn,toLowerCase:$t,Timer:Wn,emulateAnimationEnd:Ln,emulateTransitionEnd:On,isElementInScrollRange:$n,isElementInViewport:_n,passiveHandler:Rn,getElementAnimationDuration:Kt,getElementAnimationDelay:Jt,getElementTransitionDuration:Zt,getElementTransitionDelay:Xt,getNodeScroll:Yn,getParentNode:Gn,getRectRelativeToOffsetParent:Jn,getWindow:Kn,isArray:re,isCanvas:Xn,isString:p,isCustomElement:ie,isElement:Zn,isJSON:so,isMap:C,isWeakMap:co,isNode:l,isNumber:te,isHTMLElement:a,isHTMLImageElement:oo,isSVGElement:uo,isNodeList:io,isHTMLCollection:no,isScaledElement:ne,isTableElement:lo,isShadowRoot:ee,isDocument:H,isElementsArray:to,isFunction:eo,isObject:_t,isWindow:B,isMedia:ro,isRTL:ao,closest:ae,querySelector:po,getCustomElements:t=>[...ue("*",t)].filter(ie),getElementById:(t,e)=>d(e).getElementById(t)||null,querySelectorAll:(t,e)=>(l(e)?e:d()).querySelectorAll(t),getElementsByClassName:(t,e)=>(e&&l(e)?e:d()).getElementsByClassName(t),getElementsByTagName:ue,matches:(t,e)=>t.matches(e),normalizeValue:P,normalizeOptions:Bn,reflow:Un,noop:jt,focus:xn,getUID:ce,ArrayFrom:kn,Float32ArrayFrom:In,Float64ArrayFrom:zn,ObjectAssign:R,ObjectEntries:v,ObjectKeys:Hn,ObjectValues:Vn,getBoundingClientRect:b,getDocument:d,getDocumentBody:jn,getDocumentElement:N,getDocumentHead:qn,getElementStyle:m,setElementStyle:Fn,hasAttribute:vn,hasAttributeNS:bn,getAttribute:qt,getAttributeNS:En,setAttribute:x,setAttributeNS:hn,removeAttribute:yn,removeAttributeNS:wn}}();
1
+ var SHORTY=function(){"use strict";const le="aria-checked",de="aria-description",me="aria-describedby",pe="aria-expanded",fe="aria-haspopup",ge="aria-hidden",Ee="aria-label",ve="aria-labelledby",be="aria-modal",he="aria-pressed",ye="aria-selected",we="aria-valuemin",Ae="aria-valuemax",Se="aria-valuenow",Ne="aria-valuetext",F="abort",W="beforeunload",Q="blur",q="change",Y="contextmenu",L="DOMContentLoaded",G="DOMMouseScroll",j="error",J="focus",K="focusin",X="focusout",Z="gesturechange",$="gestureend",_="gesturestart",tt="keydown",et="keypress",nt="keyup",ot="load",st="click",ct="dblclick",rt="mousedown",it="mouseup",at="hover",ut="mouseenter",lt="mouseleave",dt="mousein",mt="mouseout",pt="mouseover",ft="mousemove",gt="mousewheel",Et="move",vt="orientationchange",bt="pointercancel",ht="pointerdown",yt="pointerleave",wt="pointermove",At="pointerup",St="readystatechange",Nt="reset",Tt="resize",Mt="select",kt="selectend",Ct="selectstart",Dt="scroll",Ot="submit",Lt="touchstart",It="touchmove",zt="touchcancel",xt="touchend",Bt="unload",Te={DOMContentLoaded:L,DOMMouseScroll:G,abort:F,beforeunload:W,blur:Q,change:q,click:st,contextmenu:Y,dblclick:ct,error:j,focus:J,focusin:K,focusout:X,gesturechange:Z,gestureend:$,gesturestart:_,hover:at,keydown:tt,keypress:et,keyup:nt,load:ot,mousedown:rt,mousemove:ft,mousein:dt,mouseout:mt,mouseenter:ut,mouseleave:lt,mouseover:pt,mouseup:it,mousewheel:gt,move:Et,orientationchange:vt,pointercancel:bt,pointerdown:ht,pointerleave:yt,pointermove:wt,pointerup:At,readystatechange:St,reset:Nt,resize:Tt,scroll:Dt,select:Mt,selectend:kt,selectstart:Ct,submit:Ot,touchcancel:zt,touchend:xt,touchmove:It,touchstart:Lt,unload:Bt},Me="loadstart",ke={start:"mousedown",end:"mouseup",move:"mousemove",cancel:"mouseleave"},Ce={down:"mousedown",up:"mouseup"},De="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],Oe={start:"touchstart",end:"touchend",move:"touchmove",cancel:"touchcancel"},Le={in:"focusin",out:"focusout"},Ie={Backspace:"Backspace",Tab:"Tab",Enter:"Enter",Shift:"Shift",Control:"Control",Alt:"Alt",Pause:"Pause",CapsLock:"CapsLock",Escape:"Escape",Scape:"Space",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown",Insert:"Insert",Delete:"Delete",Meta:"Meta",ContextMenu:"ContextMenu",ScrollLock:"ScrollLock"},ze="Alt",xe="ArrowDown",Be="ArrowUp",He="ArrowLeft",Ve="ArrowRight",Pe="Backspace",Re="CapsLock",Ue="Control",Fe="Delete",We="Enter",Qe="Escape",qe="Insert",Ye="Meta",Ge="Pause",je="ScrollLock",Je="Shift",Ke="Space",Xe="Tab",Ht="animationDuration",Vt="animationDelay",I="animationName",M="animationend",Pt="transitionDuration",Rt="transitionDelay",k="transitionend",z="transitionProperty",Ze="addEventListener",$e="removeEventListener",_e={linear:"linear",easingSinusoidalIn:"cubic-bezier(0.47,0,0.745,0.715)",easingSinusoidalOut:"cubic-bezier(0.39,0.575,0.565,1)",easingSinusoidalInOut:"cubic-bezier(0.445,0.05,0.55,0.95)",easingQuadraticIn:"cubic-bezier(0.550,0.085,0.680,0.530)",easingQuadraticOut:"cubic-bezier(0.250,0.460,0.450,0.940)",easingQuadraticInOut:"cubic-bezier(0.455,0.030,0.515,0.955)",easingCubicIn:"cubic-bezier(0.55,0.055,0.675,0.19)",easingCubicOut:"cubic-bezier(0.215,0.61,0.355,1)",easingCubicInOut:"cubic-bezier(0.645,0.045,0.355,1)",easingQuarticIn:"cubic-bezier(0.895,0.03,0.685,0.22)",easingQuarticOut:"cubic-bezier(0.165,0.84,0.44,1)",easingQuarticInOut:"cubic-bezier(0.77,0,0.175,1)",easingQuinticIn:"cubic-bezier(0.755,0.05,0.855,0.06)",easingQuinticOut:"cubic-bezier(0.23,1,0.32,1)",easingQuinticInOut:"cubic-bezier(0.86,0,0.07,1)",easingExponentialIn:"cubic-bezier(0.95,0.05,0.795,0.035)",easingExponentialOut:"cubic-bezier(0.19,1,0.22,1)",easingExponentialInOut:"cubic-bezier(1,0,0,1)",easingCircularIn:"cubic-bezier(0.6,0.04,0.98,0.335)",easingCircularOut:"cubic-bezier(0.075,0.82,0.165,1)",easingCircularInOut:"cubic-bezier(0.785,0.135,0.15,0.86)",easingBackIn:"cubic-bezier(0.6,-0.28,0.735,0.045)",easingBackOut:"cubic-bezier(0.175,0.885,0.32,1.275)",easingBackInOut:"cubic-bezier(0.68,-0.55,0.265,1.55)"},tn="offsetHeight",en="offsetWidth",nn="scrollHeight",on="scrollWidth",sn="tabindex",w=navigator.userAgentData,{userAgent:cn}=navigator,A=cn,Ut=/iPhone|iPad|iPod|Android/i;let x=!1;w?x=w.brands.some(t=>Ut.test(t.brand)):x=Ut.test(A);const rn=x,Ft=/(iPhone|iPod|iPad)/,an=w?w.brands.some(t=>Ft.test(t.brand)):Ft.test(A),un=A?A.includes("Firefox"):!1,{head:S}=document,ln=["webkitPerspective","perspective"].some(t=>t in S.style),Wt=(t,e,n,o)=>{const s=o||!1;t.addEventListener(e,n,s)},Qt=(t,e,n,o)=>{const s=o||!1;t.removeEventListener(e,n,s)},qt=(t,e,n,o)=>{const s=c=>{(c.target===t||c.currentTarget===t)&&(n.apply(t,[c]),Qt(t,e,s,o))};Wt(t,e,s,o)},Yt=()=>{},dn=(()=>{let t=!1;try{const e=Object.defineProperty({},"passive",{get:()=>(t=!0,t)});qt(document,L,Yt,e)}catch{}return t})(),mn=["webkitTransform","transform"].some(t=>t in S.style),pn="ontouchstart"in window||"msMaxTouchPoints"in navigator,fn=["webkitAnimation","animation"].some(t=>t in S.style),gn=["webkitTransition","transition"].some(t=>t in S.style),Gt=(t,e)=>t.getAttribute(e),En=(t,e,n)=>e.getAttributeNS(t,n),vn=(t,e)=>t.hasAttribute(e),bn=(t,e,n)=>e.hasAttributeNS(t,n),B=(t,e,n)=>t.setAttribute(e,n),hn=(t,e,n,o)=>e.setAttributeNS(t,n,o),yn=(t,e)=>t.removeAttribute(e),wn=(t,e,n)=>e.removeAttributeNS(t,n),An=(t,...e)=>{t.classList.add(...e)},Sn=(t,...e)=>{t.classList.remove(...e)},Nn=(t,e)=>t.classList.contains(e),{body:Tn}=document,{documentElement:Mn}=document,kn=t=>Array.from(t),m=t=>t!=null&&typeof t=="object"||!1,a=t=>m(t)&&typeof t.nodeType=="number"&&[1,2,3,4,5,6,7,8,9,10,11].some(e=>t.nodeType===e)||!1,u=t=>a(t)&&t.nodeType===1||!1,N=new Map,C={set:(t,e,n)=>{if(!u(t))return;N.has(e)||N.set(e,new Map),N.get(e).set(t,n)},getAllFor:t=>N.get(t)||null,get:(t,e)=>{if(!u(t)||!e)return null;const n=C.getAllFor(e);return t&&n&&n.get(t)||null},remove:(t,e)=>{const n=C.getAllFor(e);!n||!u(t)||(n.delete(t),n.size===0&&N.delete(e))}},Cn=(t,e)=>C.get(t,e),p=t=>typeof t=="string"||!1,H=t=>m(t)&&t.constructor.name==="Window"||!1,V=t=>a(t)&&t.nodeType===9||!1,d=t=>H(t)?t.document:V(t)?t:a(t)?t.ownerDocument:window.document,b=t=>Object.entries(t),jt=t=>{if(!t)return;if(p(t))return d().createElement(t);const{tagName:e}=t,n=jt(e);if(!n)return;const o={...t};return delete o.tagName,b(o).forEach(([s,c])=>{p(s)&&p(c)&&B(n,s,c)}),n},Jt=(t,e)=>{if(!t||!e)return;if(p(e))return d().createElementNS(t,e);const{tagName:n}=e,o=Jt(t,n);if(!o)return;const s={...e};return delete s.tagName,b(s).forEach(([c,i])=>{p(c)&&p(i)&&B(o,c,i)}),o},P=(t,e)=>t.dispatchEvent(e),Dn=(t,e,n)=>n.indexOf(t)===e,f=(t,e)=>{const n=getComputedStyle(t),o=e.replace("webkit","Webkit").replace(/([A-Z])/g,"-$1").toLowerCase();return n.getPropertyValue(o)},Kt=t=>{const e=f(t,I),n=f(t,Vt),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},Xt=t=>{const e=f(t,I),n=f(t,Ht),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},On=(t,e)=>{let n=0;const o=new Event(M),s=Xt(t),c=Kt(t);if(s){const i=l=>{l.target===t&&(e.apply(t,[l]),t.removeEventListener(M,i),n=1)};t.addEventListener(M,i),setTimeout(()=>{n||P(t,o)},s+c+17)}else e.apply(t,[o])},Zt=t=>{const e=f(t,z),n=f(t,Rt),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},$t=t=>{const e=f(t,z),n=f(t,Pt),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},Ln=(t,e)=>{let n=0;const o=new Event(k),s=$t(t),c=Zt(t);if(s){const i=l=>{l.target===t&&(e.apply(t,[l]),t.removeEventListener(k,i),n=1)};t.addEventListener(k,i),setTimeout(()=>{n||P(t,o)},s+c+17)}else e.apply(t,[o])},In=t=>Float32Array.from(Array.from(t)),zn=t=>Float64Array.from(Array.from(t)),xn=(t,e)=>t.focus(e),Bn=(t,e)=>m(t)&&(Object.hasOwn(t,e)||e in t),R=t=>["true",!0].includes(t)?!0:["false",!1].includes(t)?!1:["null","",null,void 0].includes(t)?null:t!==""&&!Number.isNaN(+t)?+t:t,_t=t=>t.toLowerCase(),Hn=(t,e,n,o)=>{const s={...n},c={...t.dataset},i={...e},l={},E="title";return b(c).forEach(([r,v])=>{const O=o&&typeof r=="string"&&r.includes(o)?r.replace(o,"").replace(/[A-Z]/g,fo=>_t(fo)):r;l[O]=R(v)}),b(s).forEach(([r,v])=>{s[r]=R(v)}),b(e).forEach(([r,v])=>{r in s?i[r]=s[r]:r in l?i[r]=l[r]:i[r]=r===E?Gt(t,E):v}),i},U=(t,...e)=>Object.assign(t,...e),Vn=t=>Object.keys(t),Pn=t=>Object.values(t),Rn=(t,e)=>{const n=new CustomEvent(t,{cancelable:!0,bubbles:!0});return m(e)&&U(n,e),n},Un={passive:!0},Fn=t=>t.offsetHeight,Wn=(t,e)=>{b(e).forEach(([n,o])=>{if(o&&p(n)&&n.includes("--"))t.style.setProperty(n,o);else{const s={};s[n]=o,U(t.style,s)}})},D=t=>m(t)&&t.constructor.name==="Map"||!1,te=t=>typeof t=="number"||!1,g=new Map,Qn={set:(t,e,n,o)=>{!u(t)||(o&&o.length?(g.has(t)||g.set(t,new Map),g.get(t).set(o,setTimeout(e,n))):g.set(t,setTimeout(e,n)))},get:(t,e)=>{if(!u(t))return null;const n=g.get(t);return e&&n&&D(n)?n.get(e)||null:te(n)?n:null},clear:(t,e)=>{if(!u(t))return;const n=g.get(t);e&&e.length&&D(n)?(clearTimeout(n.get(e)),n.delete(e),n.size===0&&g.delete(t)):(clearTimeout(n),g.delete(t))}},qn=t=>t.toUpperCase(),h=(t,e)=>{const{width:n,height:o,top:s,right:c,bottom:i,left:l}=t.getBoundingClientRect();let E=1,r=1;if(e&&u(t)){const{offsetWidth:v,offsetHeight:O}=t;E=v>0?Math.round(n)/v:1,r=O>0?Math.round(o)/O:1}return{width:n/E,height:o/r,top:s/r,right:c/E,bottom:i/r,left:l/E,x:l/E,y:s/r}},Yn=t=>d(t).body,T=t=>d(t).documentElement,Gn=t=>d(t).head,jn=t=>{const e=H(t),n=e?t.scrollX:t.scrollLeft,o=e?t.scrollY:t.scrollTop;return{x:n,y:o}},ee=t=>a(t)&&t.constructor.name==="ShadowRoot"||!1,Jn=t=>t.nodeName==="HTML"?t:u(t)&&t.assignedSlot||a(t)&&t.parentNode||ee(t)&&t.host||T(t),ne=t=>{if(!u(t))return!1;const{width:e,height:n}=h(t),{offsetWidth:o,offsetHeight:s}=t;return Math.round(e)!==o||Math.round(n)!==s},Kn=(t,e,n)=>{const o=u(e),s=h(t,o&&ne(e)),c={x:0,y:0};if(o){const i=h(e,!0);c.x=i.x+e.clientLeft,c.y=i.y+e.clientTop}return{x:s.left+n.x-c.x,y:s.top+n.y-c.y,width:s.width,height:s.height}};let oe=0,se=0;const y=new Map,ce=(t,e)=>{let n=e?oe:se;if(e){const o=ce(t),s=y.get(o)||new Map;y.has(o)||y.set(o,s),D(s)&&!s.has(e)?(s.set(e,n),oe+=1):n=s.get(e)}else{const o=t.id||t;y.has(o)?n=y.get(o):(y.set(o,n),se+=1)}return n},Xn=t=>{var e;return t?V(t)?t.defaultView:a(t)?(e=t==null?void 0:t.ownerDocument)==null?void 0:e.defaultView:t:window},re=t=>Array.isArray(t)||!1,Zn=t=>a(t)&&t.nodeName==="CANVAS"||!1,ie=t=>u(t)&&!!t.shadowRoot||!1,$n=t=>a(t)&&[1,2,3,4,5,6,7,8].some(e=>t.nodeType===e)||!1,_n=t=>{if(!a(t))return!1;const{top:e,bottom:n}=h(t),{clientHeight:o}=T(t);return e<=o&&n>=0},to=t=>{if(!a(t))return!1;const{clientWidth:e,clientHeight:n}=T(t),{top:o,left:s,bottom:c,right:i}=h(t,!0);return o>=0&&s>=0&&c<=n&&i<=e},eo=t=>re(t)&&t.every(u)||!1,no=t=>typeof t=="function"||!1,oo=t=>m(t)&&t.constructor.name==="HTMLCollection"||!1,so=t=>u(t)&&t.tagName==="IMG"||!1,co=t=>{if(!p(t))return!1;try{JSON.parse(t)}catch{return!1}return!0},ro=t=>m(t)&&t.constructor.name==="WeakMap"||!1,io=t=>a(t)&&["SVG","Image","Video","Canvas"].some(e=>t.constructor.name.includes(e))||!1,ao=t=>m(t)&&t.constructor.name==="NodeList"||!1,uo=t=>T(t).dir==="rtl",lo=t=>a(t)&&t.constructor.name.includes("SVG")||!1,mo=t=>a(t)&&["TABLE","TD","TH"].includes(t.nodeName)||!1,ae=(t,e)=>t?t.closest(e)||ae(t.getRootNode().host,e):null,po=(t,e)=>u(t)?t:(a(e)?e:d()).querySelector(t),ue=(t,e)=>(a(e)?e:d()).getElementsByTagName(t);return{ariaChecked:le,ariaDescription:de,ariaDescribedBy:me,ariaExpanded:pe,ariaHidden:ge,ariaHasPopup:fe,ariaLabel:Ee,ariaLabelledBy:ve,ariaModal:be,ariaPressed:he,ariaSelected:ye,ariaValueMin:we,ariaValueMax:Ae,ariaValueNow:Se,ariaValueText:Ne,nativeEvents:Te,abortEvent:F,blurEvent:Q,moveEvent:Et,changeEvent:q,errorEvent:j,resetEvent:Nt,resizeEvent:Tt,scrollEvent:Dt,submitEvent:Ot,loadEvent:ot,loadstartEvent:Me,unloadEvent:Bt,readystatechangeEvent:St,beforeunloadEvent:W,orientationchangeEvent:vt,contextmenuEvent:Y,DOMContentLoadedEvent:L,DOMMouseScrollEvent:G,selectEvent:Mt,selectendEvent:kt,selectstartEvent:Ct,mouseClickEvents:Ce,mouseclickEvent:st,mousedblclickEvent:ct,mousedownEvent:rt,mouseupEvent:it,mousehoverEvent:at,mouseHoverEvents:De,mouseenterEvent:ut,mouseleaveEvent:lt,mouseinEvent:dt,mouseoutEvent:mt,mouseoverEvent:pt,mousemoveEvent:ft,mousewheelEvent:gt,mouseSwipeEvents:ke,touchEvents:Oe,touchstartEvent:Lt,touchmoveEvent:It,touchcancelEvent:zt,touchendEvent:xt,pointercancelEvent:bt,pointerdownEvent:ht,pointerleaveEvent:yt,pointermoveEvent:wt,pointerupEvent:At,focusEvents:Le,focusEvent:J,focusinEvent:K,focusoutEvent:X,gesturechangeEvent:Z,gestureendEvent:$,gesturestartEvent:_,bezierEasings:_e,animationDuration:Ht,animationDelay:Vt,animationName:I,animationEndEvent:M,transitionDuration:Pt,transitionDelay:Rt,transitionEndEvent:k,transitionProperty:z,isMobile:rn,isApple:an,isFirefox:un,support3DTransform:ln,supportPassive:dn,supportTransform:mn,supportTouch:pn,supportAnimation:fn,supportTransition:gn,addEventListener:Ze,removeEventListener:$e,keyboardEventKeys:Ie,keydownEvent:tt,keypressEvent:et,keyupEvent:nt,keyAlt:ze,keyArrowDown:xe,keyArrowLeft:He,keyArrowRight:Ve,keyArrowUp:Be,keyBackspace:Pe,keyCapsLock:Re,keyControl:Ue,keyDelete:Fe,keyEnter:We,keyEscape:Qe,keyInsert:qe,keyMeta:Ye,keyPause:Ge,keyScrollLock:je,keyShift:Je,keySpace:Ke,keyTab:Xe,offsetHeight:tn,offsetWidth:en,scrollHeight:nn,scrollWidth:on,userAgentData:w,userAgent:A,tabindex:sn,addClass:An,removeClass:Sn,hasClass:Nn,on:Wt,off:Qt,one:qt,documentBody:Tn,documentElement:Mn,documentHead:S,dispatchEvent:P,distinct:Dn,Data:C,getInstance:Cn,createElement:jt,createElementNS:Jt,createCustomEvent:Rn,toUpperCase:qn,toLowerCase:_t,Timer:Qn,emulateAnimationEnd:On,emulateTransitionEnd:Ln,isElementInScrollRange:_n,isElementInViewport:to,passiveHandler:Un,getElementAnimationDuration:Xt,getElementAnimationDelay:Kt,getElementTransitionDuration:$t,getElementTransitionDelay:Zt,getNodeScroll:jn,getParentNode:Jn,getRectRelativeToOffsetParent:Kn,getWindow:Xn,isArray:re,isCanvas:Zn,isString:p,isCustomElement:ie,isElement:$n,isJSON:co,isMap:D,isWeakMap:ro,isNode:a,isNumber:te,isHTMLElement:u,isHTMLImageElement:so,isSVGElement:lo,isNodeList:ao,isHTMLCollection:oo,isScaledElement:ne,isTableElement:mo,isShadowRoot:ee,isDocument:V,isElementsArray:eo,isFunction:no,isObject:m,isWindow:H,isMedia:io,isRTL:uo,closest:ae,querySelector:po,getCustomElements:t=>[...ue("*",t)].filter(ie),getElementById:(t,e)=>d(e).getElementById(t)||null,querySelectorAll:(t,e)=>(a(e)?e:d()).querySelectorAll(t),getElementsByClassName:(t,e)=>(e&&a(e)?e:d()).getElementsByClassName(t),getElementsByTagName:ue,matches:(t,e)=>t.matches(e),hasOwn:Bn,normalizeValue:R,normalizeOptions:Hn,reflow:Fn,noop:Yt,focus:xn,getUID:ce,ArrayFrom:kn,Float32ArrayFrom:In,Float64ArrayFrom:zn,ObjectAssign:U,ObjectEntries:b,ObjectKeys:Vn,ObjectValues:Pn,getBoundingClientRect:h,getDocument:d,getDocumentBody:Yn,getDocumentElement:T,getDocumentHead:Gn,getElementStyle:f,setElementStyle:Wn,hasAttribute:vn,hasAttributeNS:bn,getAttribute:Gt,getAttributeNS:En,setAttribute:B,setAttributeNS:hn,removeAttribute:yn,removeAttributeNS:wn}}();
2
2
  //# sourceMappingURL=shorty.js.map