iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://statistaplus.com/_nuxt/CpqZuF7f.js
import{ax as B,P as j,L,O as K,e as F,r as g,A as W,y as G,ay as V,M as X,F as q}from"./BbPtyKFD.js";var A;let T=Symbol("headlessui.useid"),Y=0;const Fe=(A=B)!=null?A:function(){return j(T,()=>`${++Y}`)()};function $e(e){L(T,e)}function h(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function $(e,t,...n){if(e in t){let l=t[e];return typeof l=="function"?l(...n):l}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(l=>`"${l}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,$),o}var z=Object.defineProperty,J=(e,t,n)=>t in e?z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N=(e,t,n)=>(J(e,typeof t!="symbol"?t+"":t,n),n);let Q=class{constructor(){N(this,"current",this.detect()),N(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},O=new Q;function I(e){if(O.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=h(e);if(t)return t.ownerDocument}return document}let E=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Z=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Z||{}),ee=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(ee||{}),te=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(te||{});function M(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(E)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var k=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(k||{});function C(e,t=0){var n;return e===((n=I(e))==null?void 0:n.body)?!1:$(t,{0(){return e.matches(E)},1(){let o=e;for(;o!==null;){if(o.matches(E))return!0;o=o.parentElement}return!1}})}function Ae(e){let t=I(e);K(()=>{t&&!C(t.activeElement,0)&&re(e)})}var ne=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(ne||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function re(e){e==null||e.focus({preventScroll:!0})}let oe=["textarea","input"].join(",");function le(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,oe))!=null?n:!1}function ue(e,t=n=>n){return e.slice().sort((n,o)=>{let l=t(n),r=t(o);if(l===null||r===null)return 0;let i=l.compareDocumentPosition(r);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Ne(e,t){return ie(M(),t,{relativeTo:e})}function ie(e,t,{sorted:n=!0,relativeTo:o=null,skipElements:l=[]}={}){var r;let i=(r=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?r:document,u=Array.isArray(e)?n?ue(e):e:M(e);l.length>0&&u.length>1&&(u=u.filter(c=>!l.includes(c))),o=o??i.activeElement;let p=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),a=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,u.indexOf(o))-1;if(t&4)return Math.max(0,u.indexOf(o))+1;if(t&8)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=t&32?{preventScroll:!0}:{},v=0,m=u.length,f;do{if(v>=m||v+m<=0)return 0;let c=a+v;if(t&16)c=(c+m)%m;else{if(c<0)return 3;if(c>=m)return 1}f=u[c],f==null||f.focus(s),v+=p}while(f!==i.activeElement);return t&6&&le(f)&&f.select(),2}function ae(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function se(){return/Android/gi.test(window.navigator.userAgent)}function ce(){return ae()||se()}function w(e,t,n){O.isServer||F(o=>{document.addEventListener(e,t,n),o(()=>document.removeEventListener(e,t,n))})}function de(e,t,n){O.isServer||F(o=>{window.addEventListener(e,t,n),o(()=>window.removeEventListener(e,t,n))})}function xe(e,t,n=W(()=>!0)){function o(r,i){if(!n.value||r.defaultPrevented)return;let u=i(r);if(u===null||!u.getRootNode().contains(u))return;let p=function a(s){return typeof s=="function"?a(s()):Array.isArray(s)||s instanceof Set?s:[s]}(e);for(let a of p){if(a===null)continue;let s=a instanceof HTMLElement?a:h(a);if(s!=null&&s.contains(u)||r.composed&&r.composedPath().includes(s))return}return!C(u,k.Loose)&&u.tabIndex!==-1&&r.preventDefault(),t(r,u)}let l=g(null);w("pointerdown",r=>{var i,u;n.value&&(l.value=((u=(i=r.composedPath)==null?void 0:i.call(r))==null?void 0:u[0])||r.target)},!0),w("mousedown",r=>{var i,u;n.value&&(l.value=((u=(i=r.composedPath)==null?void 0:i.call(r))==null?void 0:u[0])||r.target)},!0),w("click",r=>{ce()||l.value&&(o(r,()=>l.value),l.value=null)},!0),w("touchend",r=>o(r,()=>r.target instanceof HTMLElement?r.target:null),!0),de("blur",r=>o(r,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function x(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Se(e,t){let n=g(x(e.value.type,e.value.as));return G(()=>{n.value=x(e.value.type,e.value.as)}),F(()=>{var o;n.value||h(t)&&h(t)instanceof HTMLButtonElement&&!((o=h(t))!=null&&o.hasAttribute("type"))&&(n.value="button")}),n}function S(e){return[e.screenX,e.screenY]}function De(){let e=g([-1,-1]);return{wasMoved(t){let n=S(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=S(t)}}}var fe=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(fe||{}),ve=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(ve||{});function Pe({visible:e=!0,features:t=0,ourProps:n,theirProps:o,...l}){var r;let i=U(o,n),u=Object.assign(l,{props:i});if(e||t&2&&i.static)return y(u);if(t&1){let p=(r=i.unmount)==null||r?0:1;return $(p,{0(){return null},1(){return y({...l,props:{...i,hidden:!0,style:{display:"none"}}})}})}return y(u)}function y({props:e,attrs:t,slots:n,slot:o,name:l}){var r,i;let{as:u,...p}=pe(e,["unmount","static"]),a=(r=n.default)==null?void 0:r.call(n,o),s={};if(o){let v=!1,m=[];for(let[f,c]of Object.entries(o))typeof c=="boolean"&&(v=!0),c===!0&&m.push(f);v&&(s["data-headlessui-state"]=m.join(" "))}if(u==="template"){if(a=H(a??[]),Object.keys(p).length>0||Object.keys(t).length>0){let[v,...m]=a??[];if(!me(v)||m.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${l} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(p).concat(Object.keys(t)).map(d=>d.trim()).filter((d,b,_)=>_.indexOf(d)===b).sort((d,b)=>d.localeCompare(b)).map(d=>` - ${d}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(d=>` - ${d}`).join(` `)].join(` `));let f=U((i=v.props)!=null?i:{},p,s),c=V(v,f,!0);for(let d in f)d.startsWith("on")&&(c.props||(c.props={}),c.props[d]=f[d]);return c}return Array.isArray(a)&&a.length===1?a[0]:a}return X(u,Object.assign({},p,s),{default:()=>a})}function H(e){return e.flatMap(t=>t.type===q?H(t.children):[t])}function U(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let o of e)for(let l in o)l.startsWith("on")&&typeof o[l]=="function"?(n[l]!=null||(n[l]=[]),n[l].push(o[l])):t[l]=o[l];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(o=>[o,void 0])));for(let o in n)Object.assign(t,{[o](l,...r){let i=n[o];for(let u of i){if(l instanceof Event&&l.defaultPrevented)return;u(l,...r)}}});return t}function je(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function pe(e,t=[]){let n=Object.assign({},e);for(let o of t)o in n&&delete n[o];return n}function me(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let R=Symbol("Context");var he=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(he||{});function Le(){return j(R,null)}function Te(e){L(R,e)}var ge=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ge||{});function we(e){throw new Error("Unexpected object: "+e)}var be=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(be||{});function Ie(e,t){let n=t.resolveItems();if(n.length<=0)return null;let o=t.resolveActiveIndex(),l=o??-1;switch(e.focus){case 0:{for(let r=0;r=0;--r)if(!t.resolveDisabled(n[r],r,n))return r;return o}case 2:{for(let r=l+1;r=0;--r)if(!t.resolveDisabled(n[r],r,n))return r;return o}case 4:{for(let r=0;r{let r=document.getElementById(l);if(r){let i=r.getAttribute("aria-label");return typeof i=="string"?i.trim():P(r).trim()}return null}).filter(Boolean);if(o.length>0)return o.join(", ")}return P(e).trim()}function Me(e){let t=g(""),n=g("");return()=>{let o=h(e);if(!o)return"";let l=o.innerText;if(t.value===l)return n.value;let r=ye(o).trim().toLowerCase();return t.value=l,n.value=r,r}}export{Pe as A,je as E,fe as N,ue as O,pe as T,Ae as _,C as a,Fe as b,be as c,De as d,ge as e,Ie as f,I as g,k as h,he as i,Z as j,$e as k,Le as l,h as o,Me as p,Se as s,Te as t,$ as u,Ne as v,xe as w};