@thednp/shorty 2.0.0-alpha6 → 2.0.0-alpha8

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.js CHANGED
@@ -1,2 +1,2 @@
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}}();
1
+ var SHORTY=function(t){"use strict";const dt="aria-checked",mt="aria-description",Et="aria-describedby",vt="aria-expanded",gt="aria-haspopup",ft="aria-hidden",bt="aria-label",yt="aria-labelledby",ht="aria-modal",At="aria-pressed",wt="aria-selected",St="aria-valuemin",kt="aria-valuemax",Dt="aria-valuenow",Tt="aria-valuetext",Q="abort",q="beforeunload",G="blur",K="change",J="contextmenu",z="DOMContentLoaded",Y="DOMMouseScroll",X="error",Z="focus",p="focusin",$="focusout",_="gesturechange",x="gestureend",ee="gesturestart",te="keydown",ne="keypress",oe="keyup",se="load",ae="click",ce="dblclick",ie="mousedown",re="mouseup",ue="hover",le="mouseenter",de="mouseleave",me="mousein",Ee="mouseout",ve="mouseover",ge="mousemove",fe="mousewheel",be="move",ye="orientationchange",he="pointercancel",Ae="pointerdown",we="pointerleave",Se="pointermove",ke="pointerup",De="readystatechange",Te="reset",Me="resize",Ne="select",Ce="selectend",Le="selectstart",Oe="scroll",Ie="submit",ze="touchstart",He="touchmove",Be="touchcancel",Ve="touchend",Pe="unload",Mt={DOMContentLoaded:z,DOMMouseScroll:Y,abort:Q,beforeunload:q,blur:G,change:K,click:ae,contextmenu:J,dblclick:ce,error:X,focus:Z,focusin:p,focusout:$,gesturechange:_,gestureend:x,gesturestart:ee,hover:ue,keydown:te,keypress:ne,keyup:oe,load:se,mousedown:ie,mousemove:ge,mousein:me,mouseout:Ee,mouseenter:le,mouseleave:de,mouseover:ve,mouseup:re,mousewheel:fe,move:be,orientationchange:ye,pointercancel:he,pointerdown:Ae,pointerleave:we,pointermove:Se,pointerup:ke,readystatechange:De,reset:Te,resize:Me,scroll:Oe,select:Ne,selectend:Ce,selectstart:Le,submit:Ie,touchcancel:Be,touchend:Ve,touchmove:He,touchstart:ze,unload:Pe},Nt="loadstart",Ct={start:"mousedown",end:"mouseup",move:"mousemove",cancel:"mouseleave"},Lt={down:"mousedown",up:"mouseup"},Ot="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],It={start:"touchstart",end:"touchend",move:"touchmove",cancel:"touchcancel"},zt={in:"focusin",out:"focusout"},Ht={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"},Bt="Alt",Vt="ArrowDown",Pt="ArrowUp",Ft="ArrowLeft",Rt="ArrowRight",Wt="Backspace",Ut="CapsLock",jt="Control",Qt="Delete",qt="Enter",Gt="Escape",Kt="Insert",Jt="Meta",Yt="Pause",Xt="ScrollLock",Zt="Shift",pt="Space",$t="Tab",Fe="animationDuration",Re="animationDelay",H="animationName",N="animationend",We="transitionDuration",Ue="transitionDelay",C="transitionend",B="transitionProperty",_t="addEventListener",xt="removeEventListener",en={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",nn="offsetWidth",on="scrollHeight",sn="scrollWidth",an="tabindex",S=navigator.userAgentData,{userAgent:cn}=navigator,k=cn,je=/iPhone|iPad|iPod|Android/i;let V=!1;S?V=S.brands.some(e=>je.test(e.brand)):V=je.test(k);const rn=V,Qe=/(iPhone|iPod|iPad)/,un=S?S.brands.some(e=>Qe.test(e.brand)):Qe.test(k),ln=k?k.includes("Firefox"):!1,{head:D}=document,dn=["webkitPerspective","perspective"].some(e=>e in D.style),qe=(e,n,o,s)=>{const a=s||!1;e.addEventListener(n,o,a)},Ge=(e,n,o,s)=>{const a=s||!1;e.removeEventListener(n,o,a)},Ke=(e,n,o,s)=>{const a=c=>{(c.target===e||c.currentTarget===e)&&(o.apply(e,[c]),Ge(e,n,a,s))};qe(e,n,a,s)},Je=()=>{},mn=(()=>{let e=!1;try{const n=Object.defineProperty({},"passive",{get:()=>(e=!0,e)});Ke(document,z,Je,n)}catch{}return e})(),En=["webkitTransform","transform"].some(e=>e in D.style),vn="ontouchstart"in window||"msMaxTouchPoints"in navigator,gn=["webkitAnimation","animation"].some(e=>e in D.style),fn=["webkitTransition","transition"].some(e=>e in D.style),Ye=(e,n)=>e.getAttribute(n),bn=(e,n,o)=>n.getAttributeNS(e,o),yn=(e,n)=>e.hasAttribute(n),hn=(e,n,o)=>n.hasAttributeNS(e,o),P=(e,n,o)=>e.setAttribute(n,o),An=(e,n,o,s)=>n.setAttributeNS(e,o,s),wn=(e,n)=>e.removeAttribute(n),Sn=(e,n,o)=>n.removeAttributeNS(e,o),kn=(e,...n)=>{e.classList.add(...n)},Dn=(e,...n)=>{e.classList.remove(...n)},Tn=(e,n)=>e.classList.contains(n),{body:Mn}=document,{documentElement:Nn}=document,Cn=e=>Array.from(e),E=e=>e!=null&&typeof e=="object"||!1,u=e=>E(e)&&typeof e.nodeType=="number"&&[1,2,3,4,5,6,7,8,9,10,11].some(n=>e.nodeType===n)||!1,l=e=>u(e)&&e.nodeType===1||!1,T=new Map,L={set:(e,n,o)=>{if(!l(e))return;T.has(n)||T.set(n,new Map),T.get(n).set(e,o)},getAllFor:e=>T.get(e)||null,get:(e,n)=>{if(!l(e)||!n)return null;const o=L.getAllFor(n);return e&&o&&o.get(e)||null},remove:(e,n)=>{const o=L.getAllFor(n);!o||!l(e)||(o.delete(e),o.size===0&&T.delete(n))}},Ln=(e,n)=>L.get(e,n),v=e=>typeof e=="string"||!1,F=e=>E(e)&&e.constructor.name==="Window"||!1,R=e=>u(e)&&e.nodeType===9||!1,m=e=>F(e)?e.document:R(e)?e:u(e)?e.ownerDocument:window.document,h=e=>Object.entries(e),Xe=e=>{if(!e)return;if(v(e))return m().createElement(e);const{tagName:n}=e,o=Xe(n);if(!o)return;const s={...e};return delete s.tagName,h(s).forEach(([a,c])=>{v(a)&&v(c)&&P(o,a,c)}),o},Ze=(e,n)=>{if(!e||!n)return;if(v(n))return m().createElementNS(e,n);const{tagName:o}=n,s=Ze(e,o);if(!s)return;const a={...n};return delete a.tagName,h(a).forEach(([c,r])=>{v(c)&&v(r)&&P(s,c,r)}),s},W=(e,n)=>e.dispatchEvent(n),On=(e,n,o)=>o.indexOf(e)===n,g=(e,n)=>{const o=getComputedStyle(e),s=n.replace("webkit","Webkit").replace(/([A-Z])/g,"-$1").toLowerCase();return o.getPropertyValue(s)},pe=e=>{const n=g(e,H),o=g(e,Re),s=o.includes("ms")?1:1e3,a=n&&n!=="none"?parseFloat(o)*s:0;return Number.isNaN(a)?0:a},$e=e=>{const n=g(e,H),o=g(e,Fe),s=o.includes("ms")?1:1e3,a=n&&n!=="none"?parseFloat(o)*s:0;return Number.isNaN(a)?0:a},In=(e,n)=>{let o=0;const s=new Event(N),a=$e(e),c=pe(e);if(a){const r=d=>{d.target===e&&(n.apply(e,[d]),e.removeEventListener(N,r),o=1)};e.addEventListener(N,r),setTimeout(()=>{o||W(e,s)},a+c+17)}else n.apply(e,[s])},_e=e=>{const n=g(e,B),o=g(e,Ue),s=o.includes("ms")?1:1e3,a=n&&n!=="none"?parseFloat(o)*s:0;return Number.isNaN(a)?0:a},xe=e=>{const n=g(e,B),o=g(e,We),s=o.includes("ms")?1:1e3,a=n&&n!=="none"?parseFloat(o)*s:0;return Number.isNaN(a)?0:a},zn=(e,n)=>{let o=0;const s=new Event(C),a=xe(e),c=_e(e);if(a){const r=d=>{d.target===e&&(n.apply(e,[d]),e.removeEventListener(C,r),o=1)};e.addEventListener(C,r),setTimeout(()=>{o||W(e,s)},a+c+17)}else n.apply(e,[s])},Hn=e=>Float32Array.from(Array.from(e)),Bn=e=>Float64Array.from(Array.from(e)),Vn=(e,n)=>e.focus(n),U=e=>["true",!0].includes(e)?!0:["false",!1].includes(e)?!1:["null","",null,void 0].includes(e)?null:e!==""&&!Number.isNaN(+e)?+e:e,et=e=>e.toLowerCase(),Pn=(e,n,o,s)=>{const a={...o},c={...e.dataset},r={...n},d={},b="title";return h(c).forEach(([i,y])=>{const I=s&&typeof i=="string"&&i.includes(s)?i.replace(s,"").replace(/[A-Z]/g,Ao=>et(Ao)):i;d[I]=U(y)}),h(a).forEach(([i,y])=>{a[i]=U(y)}),h(n).forEach(([i,y])=>{i in a?r[i]=a[i]:i in d?r[i]=d[i]:r[i]=i===b?Ye(e,b):y}),r},j=(e,...n)=>Object.assign(e,...n),Fn=(e,n)=>E(e)&&(Object.hasOwn(e,n)||n in e),Rn=e=>Object.keys(e),Wn=e=>Object.values(e),Un=(e,n)=>{const o=new CustomEvent(e,{cancelable:!0,bubbles:!0});return E(n)&&j(o,n),o},jn={passive:!0},Qn=e=>e.offsetHeight,qn=(e,n)=>{h(n).forEach(([o,s])=>{if(s&&v(o)&&o.includes("--"))e.style.setProperty(o,s);else{const a={};a[o]=s,j(e.style,a)}})},O=e=>E(e)&&e.constructor.name==="Map"||!1,tt=e=>typeof e=="number"||!1,f=new Map,Gn={set:(e,n,o,s)=>{!l(e)||(s&&s.length?(f.has(e)||f.set(e,new Map),f.get(e).set(s,setTimeout(n,o))):f.set(e,setTimeout(n,o)))},get:(e,n)=>{if(!l(e))return null;const o=f.get(e);return n&&o&&O(o)?o.get(n)||null:tt(o)?o:null},clear:(e,n)=>{if(!l(e))return;const o=f.get(e);n&&n.length&&O(o)?(clearTimeout(o.get(n)),o.delete(n),o.size===0&&f.delete(e)):(clearTimeout(o),f.delete(e))}},Kn=e=>e.toUpperCase(),A=(e,n)=>{const{width:o,height:s,top:a,right:c,bottom:r,left:d}=e.getBoundingClientRect();let b=1,i=1;if(n&&l(e)){const{offsetWidth:y,offsetHeight:I}=e;b=y>0?Math.round(o)/y:1,i=I>0?Math.round(s)/I:1}return{width:o/b,height:s/i,top:a/i,right:c/b,bottom:r/i,left:d/b,x:d/b,y:a/i}},Jn=e=>m(e).body,M=e=>m(e).documentElement,Yn=e=>m(e).head,Xn=e=>{const n=F(e),o=n?e.scrollX:e.scrollLeft,s=n?e.scrollY:e.scrollTop;return{x:o,y:s}},nt=e=>u(e)&&e.constructor.name==="ShadowRoot"||!1,Zn=e=>e.nodeName==="HTML"?e:l(e)&&e.assignedSlot||u(e)&&e.parentNode||nt(e)&&e.host||M(e),ot=e=>{if(!l(e))return!1;const{width:n,height:o}=A(e),{offsetWidth:s,offsetHeight:a}=e;return Math.round(n)!==s||Math.round(o)!==a},pn=(e,n,o)=>{const s=l(n),a=A(e,s&&ot(n)),c={x:0,y:0};if(s){const r=A(n,!0);c.x=r.x+n.clientLeft,c.y=r.y+n.clientTop}return{x:a.left+o.x-c.x,y:a.top+o.y-c.y,width:a.width,height:a.height}};let st=0,at=0;const w=new Map,ct=(e,n)=>{let o=n?st:at;if(n){const s=ct(e),a=w.get(s)||new Map;w.has(s)||w.set(s,a),O(a)&&!a.has(n)?(a.set(n,o),st+=1):o=a.get(n)}else{const s=e.id||e;w.has(s)?o=w.get(s):(w.set(s,o),at+=1)}return o},$n=e=>{var n;return e?R(e)?e.defaultView:u(e)?(n=e==null?void 0:e.ownerDocument)==null?void 0:n.defaultView:e:window},it=e=>Array.isArray(e)||!1,_n=e=>u(e)&&e.nodeName==="CANVAS"||!1,rt=e=>l(e)&&!!e.shadowRoot||!1,xn=e=>u(e)&&[1,2,3,4,5,6,7,8].some(n=>e.nodeType===n)||!1,eo=e=>{if(!u(e))return!1;const{top:n,bottom:o}=A(e),{clientHeight:s}=M(e);return n<=s&&o>=0},to=e=>{if(!u(e))return!1;const{clientWidth:n,clientHeight:o}=M(e),{top:s,left:a,bottom:c,right:r}=A(e,!0);return s>=0&&a>=0&&c<=o&&r<=n},no=e=>it(e)&&e.every(l)||!1,oo=e=>typeof e=="function"||!1,so=e=>E(e)&&e.constructor.name==="HTMLCollection"||!1,ao=e=>l(e)&&e.tagName==="IMG"||!1,co=e=>{if(!v(e))return!1;try{JSON.parse(e)}catch{return!1}return!0},io=e=>E(e)&&e.constructor.name==="WeakMap"||!1,ro=e=>u(e)&&["SVG","Image","Video","Canvas"].some(n=>e.constructor.name.includes(n))||!1,uo=e=>E(e)&&e.constructor.name==="NodeList"||!1,lo=e=>M(e).dir==="rtl",mo=e=>u(e)&&e.constructor.name.includes("SVG")||!1,Eo=e=>u(e)&&["TABLE","TD","TH"].includes(e.nodeName)||!1,ut=(e,n)=>e?e.closest(n)||ut(e.getRootNode().host,n):null,vo=(e,n)=>l(e)?e:(u(n)?n:m()).querySelector(e),lt=(e,n)=>(u(n)?n:m()).getElementsByTagName(e),go=e=>[...lt("*",e)].filter(rt),fo=(e,n)=>m(n).getElementById(e)||null,bo=(e,n)=>(u(n)?n:m()).querySelectorAll(e),yo=(e,n)=>(n&&u(n)?n:m()).getElementsByClassName(e),ho=(e,n)=>e.matches(n);return t.ArrayFrom=Cn,t.DOMContentLoadedEvent=z,t.DOMMouseScrollEvent=Y,t.Data=L,t.Float32ArrayFrom=Hn,t.Float64ArrayFrom=Bn,t.ObjectAssign=j,t.ObjectEntries=h,t.ObjectHasOwn=Fn,t.ObjectKeys=Rn,t.ObjectValues=Wn,t.Timer=Gn,t.abortEvent=Q,t.addClass=kn,t.addEventListener=_t,t.animationDelay=Re,t.animationDuration=Fe,t.animationEndEvent=N,t.animationName=H,t.ariaChecked=dt,t.ariaDescribedBy=Et,t.ariaDescription=mt,t.ariaExpanded=vt,t.ariaHasPopup=gt,t.ariaHidden=ft,t.ariaLabel=bt,t.ariaLabelledBy=yt,t.ariaModal=ht,t.ariaPressed=At,t.ariaSelected=wt,t.ariaValueMax=kt,t.ariaValueMin=St,t.ariaValueNow=Dt,t.ariaValueText=Tt,t.beforeunloadEvent=q,t.bezierEasings=en,t.blurEvent=G,t.changeEvent=K,t.closest=ut,t.contextmenuEvent=J,t.createCustomEvent=Un,t.createElement=Xe,t.createElementNS=Ze,t.dispatchEvent=W,t.distinct=On,t.documentBody=Mn,t.documentElement=Nn,t.documentHead=D,t.emulateAnimationEnd=In,t.emulateTransitionEnd=zn,t.errorEvent=X,t.focus=Vn,t.focusEvent=Z,t.focusEvents=zt,t.focusinEvent=p,t.focusoutEvent=$,t.gesturechangeEvent=_,t.gestureendEvent=x,t.gesturestartEvent=ee,t.getAttribute=Ye,t.getAttributeNS=bn,t.getBoundingClientRect=A,t.getCustomElements=go,t.getDocument=m,t.getDocumentBody=Jn,t.getDocumentElement=M,t.getDocumentHead=Yn,t.getElementAnimationDelay=pe,t.getElementAnimationDuration=$e,t.getElementById=fo,t.getElementStyle=g,t.getElementTransitionDelay=_e,t.getElementTransitionDuration=xe,t.getElementsByClassName=yo,t.getElementsByTagName=lt,t.getInstance=Ln,t.getNodeScroll=Xn,t.getParentNode=Zn,t.getRectRelativeToOffsetParent=pn,t.getUID=ct,t.getWindow=$n,t.hasAttribute=yn,t.hasAttributeNS=hn,t.hasClass=Tn,t.isApple=un,t.isArray=it,t.isCanvas=_n,t.isCustomElement=rt,t.isDocument=R,t.isElement=xn,t.isElementInScrollRange=eo,t.isElementInViewport=to,t.isElementsArray=no,t.isFirefox=ln,t.isFunction=oo,t.isHTMLCollection=so,t.isHTMLElement=l,t.isHTMLImageElement=ao,t.isJSON=co,t.isMap=O,t.isMedia=ro,t.isMobile=rn,t.isNode=u,t.isNodeList=uo,t.isNumber=tt,t.isObject=E,t.isRTL=lo,t.isSVGElement=mo,t.isScaledElement=ot,t.isShadowRoot=nt,t.isString=v,t.isTableElement=Eo,t.isWeakMap=io,t.isWindow=F,t.keyAlt=Bt,t.keyArrowDown=Vt,t.keyArrowLeft=Ft,t.keyArrowRight=Rt,t.keyArrowUp=Pt,t.keyBackspace=Wt,t.keyCapsLock=Ut,t.keyControl=jt,t.keyDelete=Qt,t.keyEnter=qt,t.keyEscape=Gt,t.keyInsert=Kt,t.keyMeta=Jt,t.keyPause=Yt,t.keyScrollLock=Xt,t.keyShift=Zt,t.keySpace=pt,t.keyTab=$t,t.keyboardEventKeys=Ht,t.keydownEvent=te,t.keypressEvent=ne,t.keyupEvent=oe,t.loadEvent=se,t.loadstartEvent=Nt,t.matches=ho,t.mouseClickEvents=Lt,t.mouseHoverEvents=Ot,t.mouseSwipeEvents=Ct,t.mouseclickEvent=ae,t.mousedblclickEvent=ce,t.mousedownEvent=ie,t.mouseenterEvent=le,t.mousehoverEvent=ue,t.mouseinEvent=me,t.mouseleaveEvent=de,t.mousemoveEvent=ge,t.mouseoutEvent=Ee,t.mouseoverEvent=ve,t.mouseupEvent=re,t.mousewheelEvent=fe,t.moveEvent=be,t.nativeEvents=Mt,t.noop=Je,t.normalizeOptions=Pn,t.normalizeValue=U,t.off=Ge,t.offsetHeight=tn,t.offsetWidth=nn,t.on=qe,t.one=Ke,t.orientationchangeEvent=ye,t.passiveHandler=jn,t.pointercancelEvent=he,t.pointerdownEvent=Ae,t.pointerleaveEvent=we,t.pointermoveEvent=Se,t.pointerupEvent=ke,t.querySelector=vo,t.querySelectorAll=bo,t.readystatechangeEvent=De,t.reflow=Qn,t.removeAttribute=wn,t.removeAttributeNS=Sn,t.removeClass=Dn,t.removeEventListener=xt,t.resetEvent=Te,t.resizeEvent=Me,t.scrollEvent=Oe,t.scrollHeight=on,t.scrollWidth=sn,t.selectEvent=Ne,t.selectendEvent=Ce,t.selectstartEvent=Le,t.setAttribute=P,t.setAttributeNS=An,t.setElementStyle=qn,t.submitEvent=Ie,t.support3DTransform=dn,t.supportAnimation=gn,t.supportPassive=mn,t.supportTouch=vn,t.supportTransform=En,t.supportTransition=fn,t.tabindex=an,t.toLowerCase=et,t.toUpperCase=Kn,t.touchEvents=It,t.touchcancelEvent=Be,t.touchendEvent=Ve,t.touchmoveEvent=He,t.touchstartEvent=ze,t.transitionDelay=Ue,t.transitionDuration=We,t.transitionEndEvent=C,t.transitionProperty=B,t.unloadEvent=Pe,t.userAgent=k,t.userAgentData=S,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t}({});
2
2
  //# sourceMappingURL=shorty.js.map