PageSourceSearch

https://mahjongo.com/_next/static/chunks/5545-dbd4e096113442ea.js

js mahjongo.com collected 2026-10-02 20:19:14 UTC 19,541 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5545],{23274:function(e,t,r){var n,a;void 0!==(a="function"==typeof(n=function(){var e,t,r,n,a,l={},i={},o={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},u={currentLocale:o.currentLocale,zeroFormat:o.zeroFormat,nullFormat:o.nullFormat,defaultFormat:o.defaultFormat,scalePercentBy100:o.scalePercentBy100};function s(e,t){this._input=e,this._value=t}return(n=function(e){var t,r,i,o;if(n.isNumeral(e))t=e.value();else if(0===e||void 0===e)t=0;else if(null===e||a.isNaN(e))t=null;else if("string"==typeof e){if(u.zeroFormat&&e===u.zeroFormat)t=0;else if(u.nullFormat&&e===u.nullFormat||!e.replace(/[^0-9]+/g,"").length)t=null;else{for(r in l)if((o="function"==typeof l[r].regexps.unformat?l[r].regexps.unformat():l[r].regexps.unformat)&&e.match(o)){i=l[r].unformat;break}t=(i=i||n._.stringToNumber)(e)}}else t=Number(e)||null;return new s(e,t)}).version="2.0.6",n.isNumeral=function(e){return e instanceof s},n._=a={numberToFormat:function(e,t,r){var a,l,o,u,s,c,f,d=i[n.options.currentLocale],m=!1,b=!1,p=0,h="",g="",v=!1;if(l=Math.abs(e=e||0),n._.includes(t,"(")?(m=!0,t=t.replace(/[\(|\)]/g,"")):(n._.includes(t,"+")||n._.includes(t,"-"))&&(s=n._.includes(t,"+")?t.indexOf("+"):e<0?t.indexOf("-"):-1,t=t.replace(/[\+|\-]/g,"")),n._.includes(t,"a")&&(a=!!(a=t.match(/a(k|m|b|t)?/))&&a[1],n._.includes(t," a")&&(h=" "),t=t.replace(RegExp(h+"a[kmbt]?"),""),l>=1e12&&!a||"t"===a?(h+=d.abbreviations.trillion,e/=1e12):l<1e12&&l>=1e9&&!a||"b"===a?(h+=d.abbreviations.billion,e/=1e9):l<1e9&&l>=1e6&&!a||"m"===a?(h+=d.abbreviations.million,e/=1e6):(l<1e6&&l>=1e3&&!a||"k"===a)&&(h+=d.abbreviations.thousand,e/=1e3)),n._.includes(t,"[.]")&&(b=!0,t=t.replace("[.]",".")),o=e.toString().split(".")[0],u=t.split(".")[1],c=t.indexOf(","),p=(t.split(".")[0].split(",")[0].match(/0/g)||[]).length,u?(n._.includes(u,"[")?(u=(u=u.replace("]","")).split("["),g=n._.toFixed(e,u[0].length+u[1].length,r,u[1].length)):g=n._.toFixed(e,u.length,r),o=g.split(".")[0],g=n._.includes(g,".")?d.delimiters.decimal+g.split(".")[1]:"",b&&0===Number(g.slice(1))&&(g="")):o=n._.toFixed(e,0,r),h&&!a&&Number(o)>=1e3&&h!==d.abbreviations.trillion)switch(o=String(Number(o)/1e3),h){case d.abbreviations.thousand:h=d.abbreviations.million;break;case d.abbreviations.million:h=d.abbreviations.billion;break;case d.abbreviations.billion:h=d.abbreviations.trillion}if(n._.includes(o,"-")&&(o=o.slice(1),v=!0),o.length<p)for(var x=p-o.length;x>0;x--)o="0"+o;return c>-1&&(o=o.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+d.delimiters.thousands)),0===t.indexOf(".")&&(o=""),f=o+g+(h||""),m?f=(m&&v?"(":"")+f+(m&&v?")":""):s>=0?f=0===s?(v?"-":"+")+f:f+(v?"-":"+"):v&&(f="-"+f),f},stringToNumber:function(e){var t,r,n,a=i[u.currentLocale],l=e,o={thousand:3,million:6,billion:9,trillion:12};if(u.zeroFormat&&e===u.zeroFormat)r=0;else if(u.nullFormat&&e===u.nullFormat||!e.replace(/[^0-9]+/g,"").length)r=null;else{for(t in r=1,"."!==a.delimiters.decimal&&(e=e.replace(/\./g,"").replace(a.delimiters.decimal,".")),o)if(n=RegExp("[^a-zA-Z]"+a.abbreviations[t]+"(?:\\)|(\\"+a.currency.symbol+")?(?:\\))?)?$"),l.match(n)){r*=Math.pow(10,o[t]);break}r*=((e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1)*Number(e=e.replace(/[^0-9\.]+/g,""))}return r},isNaN:function(e){return"number"==typeof e&&isNaN(e)},includes:function(e,t){return -1!==e.indexOf(t)},insert:function(e,t,r){return e.slice(0,r)+t+e.slice(r)},reduce:function(e,t){if(this===null)throw TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw TypeError(t+" is not a function");var r,n=Object(e),a=n.length>>>0,l=0;if(3==arguments.length)r=arguments[2];else{for(;l<a&&!(l in n);)l++;if(l>=a)throw TypeError("Reduce of empty array with no initial value");r=n[l++]}for(;l<a;l++)l in n&&(r=t(r,n[l],l,n));return r},multiplier:function(e){var t=e.toString().split(".");return t.length<2?1:Math.pow(10,t[1].length)},correctionFactor:function(){var e=Array.prototype.slice.call(arguments);return e.reduce(function(e,t){var r=a.multiplier(t);return e>r?e:r},1)},toFixed:function(e,t,r,n){var a,l,i,o,u=e.toString().split("."),s=t-(n||0);return i=Math.pow(10,a=2===u.length?Math.min(Math.max(u[1].length,s),t):s),o=(r(e+"e+"+a)/i).toFixed(a),n>t-a&&(l=RegExp("\\.?0{1,"+(n-(t-a))+"}$"),o=o.replace(l,"")),o}},n.options=u,n.formats=l,n.locales=i,n.locale=function(e){return e&&(u.currentLocale=e.toLowerCase()),u.currentLocale},n.localeData=function(e){if(!e)return i[u.currentLocale];if(!i[e=e.toLowerCase()])throw Error("Unknown locale : "+e);return i[e]},n.reset=function(){for(var e in o)u[e]=o[e]},n.zeroFormat=function(e){u.zeroFormat="string"==typeof e?e:null},n.nullFormat=function(e){u.nullFormat="string"==typeof e?e:null},n.defaultFormat=function(e){u.defaultFormat="string"==typeof e?e:"0.0"},n.register=function(e,t,r){if(t=t.toLowerCase(),this[e+"s"][t])throw TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=r,r},n.validate=function(e,t){var r,a,l,i,o,u,s,c;if("string"!=typeof e&&(e+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",e)),(e=e.trim()).match(/^\d+$/))return!0;
1if(""===e)return!1;try{s=n.localeData(t)}catch(e){s=n.localeData(n.locale())}return l=s.currency.symbol,o=s.abbreviations,r=s.delimiters.decimal,a="."===s.delimiters.thousands?"\\.":s.delimiters.thousands,(null===(c=e.match(/^[^\d]+/))||(e=e.substr(1),c[0]===l))&&(null===(c=e.match(/[^\d]+$/))||(e=e.slice(0,-1),c[0]===o.thousand||c[0]===o.million||c[0]===o.billion||c[0]===o.trillion))&&(u=RegExp(a+"{2}"),!e.match(/[^\d.,]/g)&&!((i=e.split(r)).length>2)&&(i.length<2?!!i[0].match(/^\d+.*\d$/)&&!i[0].match(u):1===i[0].length?!!i[0].match(/^\d+$/)&&!i[0].match(u)&&!!i[1].match(/^\d+$/):!!i[0].match(/^\d+.*\d$/)&&!i[0].match(u)&&!!i[1].match(/^\d+$/)))},n.fn=s.prototype={clone:function(){return n(this)},format:function(e,t){var r,a,i,o=this._value,s=e||u.defaultFormat;if(t=t||Math.round,0===o&&null!==u.zeroFormat)a=u.zeroFormat;else if(null===o&&null!==u.nullFormat)a=u.nullFormat;else{for(r in l)if(s.match(l[r].regexps.format)){i=l[r].format;break}a=(i=i||n._.numberToFormat)(o,s,t)}return a},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var t=a.correctionFactor.call(null,this._value,e);return this._value=a.reduce([this._value,e],function(e,r,n,a){return e+Math.round(t*r)},0)/t,this},subtract:function(e){var t=a.correctionFactor.call(null,this._value,e);return this._value=a.reduce([e],function(e,r,n,a){return e-Math.round(t*r)},Math.round(this._value*t))/t,this},multiply:function(e){return this._value=a.reduce([this._value,e],function(e,t,r,n){var l=a.correctionFactor(e,t);return Math.round(e*l)*Math.round(t*l)/Math.round(l*l)},1),this},divide:function(e){return this._value=a.reduce([this._value,e],function(e,t,r,n){var l=a.correctionFactor(e,t);return Math.round(e*l)/Math.round(t*l)}),this},difference:function(e){return Math.abs(n(this._value).subtract(e).value())}},n.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),n.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(e,t,r){var a,l=n._.includes(t," BPS")?" ":"";return e*=1e4,t=t.replace(/\s?BPS/,""),a=n._.numberToFormat(e,t,r),n._.includes(a,")")?((a=a.split("")).splice(-1,0,l+"BPS"),a=a.join("")):a=a+l+"BPS",a},unformat:function(e){return+(1e-4*n._.stringToNumber(e)).toFixed(15)}}),t={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},r="("+(r=(e={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(t.suffixes.filter(function(t){return 0>e.suffixes.indexOf(t)})).join("|")).replace("B","B(?!PS)")+")",n.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(r)},format:function(r,a,l){var i,o,u,s=n._.includes(a,"ib")?t:e,c=n._.includes(a," b")||n._.includes(a," ib")?" ":"";for(i=0,a=a.replace(/\s?i?b/,"");i<=s.suffixes.length;i++)if(o=Math.pow(s.base,i),u=Math.pow(s.base,i+1),null===r||0===r||r>=o&&r<u){c+=s.suffixes[i],o>0&&(r/=o);break}return n._.numberToFormat(r,a,l)+c},unformat:function(r){var a,l,i=n._.stringToNumber(r);if(i){for(a=e.suffixes.length-1;a>=0;
1a--){if(n._.includes(r,e.suffixes[a])){l=Math.pow(e.base,a);break}if(n._.includes(r,t.suffixes[a])){l=Math.pow(t.base,a);break}}i*=l||1}return i}}),n.register("format","currency",{regexps:{format:/(\$)/},format:function(e,t,r){var a,l,i=n.locales[n.options.currentLocale],o={before:t.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:t.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(t=t.replace(/\s?\$\s?/,""),a=n._.numberToFormat(e,t,r),e>=0?(o.before=o.before.replace(/[\-\(]/,""),o.after=o.after.replace(/[\-\)]/,"")):!(e<0)||n._.includes(o.before,"-")||n._.includes(o.before,"(")||(o.before="-"+o.before),l=0;l<o.before.length;l++)switch(o.before[l]){case"$":a=n._.insert(a,i.currency.symbol,l);break;case" ":a=n._.insert(a," ",l+i.currency.symbol.length-1)}for(l=o.after.length-1;l>=0;l--)switch(o.after[l]){case"$":a=l===o.after.length-1?a+i.currency.symbol:n._.insert(a,i.currency.symbol,-(o.after.length-(1+l)));break;case" ":a=l===o.after.length-1?a+" ":n._.insert(a," ",-(o.after.length-(1+l)+i.currency.symbol.length-1))}return a}}),n.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(e,t,r){var a=("number"!=typeof e||n._.isNaN(e)?"0e+0":e.toExponential()).split("e");return t=t.replace(/e[\+|\-]{1}0/,""),n._.numberToFormat(Number(a[0]),t,r)+"e"+a[1]},unformat:function(e){var t=n._.includes(e,"e+")?e.split("e+"):e.split("e-"),r=Number(t[0]),a=Number(t[1]);return a=n._.includes(e,"e-")?a*=-1:a,n._.reduce([r,Math.pow(10,a)],function(e,t,r,a){var l=n._.correctionFactor(e,t);return e*l*(t*l)/(l*l)},1)}}),n.register("format","ordinal",{regexps:{format:/(o)/},format:function(e,t,r){var a=n.locales[n.options.currentLocale],l=n._.includes(t," o")?" ":"";return t=t.replace(/\s?o/,""),l+=a.ordinal(e),n._.numberToFormat(e,t,r)+l}}),n.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(e,t,r){var a,l=n._.includes(t," %")?" ":"";return n.options.scalePercentBy100&&(e*=100),t=t.replace(/\s?\%/,""),a=n._.numberToFormat(e,t,r),n._.includes(a,")")?((a=a.split("")).splice(-1,0,l+"%"),a=a.join("")):a=a+l+"%",a},unformat:function(e){var t=n._.stringToNumber(e);return n.options.scalePercentBy100?.01*t:t}}),n.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,r){var n=Math.floor(e/60/60),a=Math.floor((e-3600*n)/60),l=Math.round(e-3600*n-60*a);return n+":"+(a<10?"0"+a:a)+":"+(l<10?"0"+l:l)},unformat:function(e){var t=e.split(":"),r=0;return 3===t.length?r+=3600*Number(t[0])+60*Number(t[1])+Number(t[2]):2===t.length&&(r+=60*Number(t[0])+Number(t[1])),Number(r)}}),n})?n.call(t,r,t,e):n)&&(e.exports=a)},12392:function(){},14080:function(e,t,r){"use strict";let n,a,l;r.d(t,{O:function(){return L}});var i=r(98939),o=r(2392),u=r(73855),s=r(49017),c=r(42937),f=r(70197),d=r(68136),m=r(6516),b=r(62800),p=r(83709);function h(e){let{onFocus:t}=e,[r,n]=(0,i.useState)(!0),a=(0,b.t)();return r?i.createElement(p._,{as:"button",type:"button",features:p.A.Focusable,onFocus:e=>{e.preventDefault();let r,l=50;r=requestAnimationFrame(function e(){if(l--<=0){r&&cancelAnimationFrame(r);return}if(t()){if(cancelAnimationFrame(r),!a.current)return;n(!1);return}r=requestAnimationFrame(e)})}}):null}var g=r(71435),v=r(18416),x=r(8631),_=r(53273),y=r(41641);let T=i.createContext(null);function F(e){let{children:t}=e,r=i.useRef({groups:new Map,get(e,t){var r;let n=this.groups.get(e);n||(n=new Map,this.groups.set(e,n));let a=null!=(r=n.get(t))?r:0;return n.set(t,a+1),[Array.from(n.keys()).indexOf(t),function(){let e=n.get(t);e>1?n.set(t,e-1):n.delete(t)}]}});return i.createElement(T.Provider,{value:r},t)}function E(e){let t=i.useContext(T);if(!t)throw Error("You must wrap your component in a <StableCollection>");let r=function(){var e,t,r;let n=null!=(r=null==(t=null==(e=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?r:null;if(!n)return Symbol();let a=[],l=n;for(;l;)a.push(l.index),l=l.return;return"$."+a.join(".")}(),[n,a]=t.current.get(e,r);return i.useEffect(()=>a,[]),n}var w=((n=w||{})[n.Forwards=0]="Forwards",n[n.Backwards=1]="Backwards",n),P=((a=P||{})[a.Less=-1]="Less",a[a.Equal=0]="Equal",a[a.Greater=1]="Greater",a),N=((l=N||{})[l.SetSelectedIndex=0]="SetSelectedIndex",l[l.RegisterTab=1]="RegisterTab",l[l.UnregisterTab=2]="UnregisterTab",l[l.RegisterPanel=3]="RegisterPanel",l[l.UnregisterPanel=4]="UnregisterPanel",l);let M={0(e,t){var r;let n=(0,g.z2)(e.tabs,e=>e.current),a=(0,g.z2)(e.panels,e=>e.current),l=n.filter(e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))}),i={...e,tabs:n,panels:a};if(t.index<0||t.index>
1n.length-1){let r=(0,v.E)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,v.E)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===l.length)return i;let a=(0,v.E)(r,{0:()=>n.indexOf(l[0]),1:()=>n.indexOf(l[l.length-1])});return{...i,selectedIndex:-1===a?e.selectedIndex:a}}let o=n.slice(0,t.index),u=[...n.slice(t.index),...o].find(e=>l.includes(e));if(!u)return i;let s=null!=(r=n.indexOf(u))?r:e.selectedIndex;return -1===s&&(s=e.selectedIndex),{...i,selectedIndex:s}},1(e,t){if(e.tabs.includes(t.tab))return e;let r=e.tabs[e.selectedIndex],n=(0,g.z2)([...e.tabs,t.tab],e=>e.current),a=e.selectedIndex;return e.info.current.isControlled||-1===(a=n.indexOf(r))&&(a=e.selectedIndex),{...e,tabs:n,selectedIndex:a}},2:(e,t)=>({...e,tabs:e.tabs.filter(e=>e!==t.tab)}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:(0,g.z2)([...e.panels,t.panel],e=>e.current)},4:(e,t)=>({...e,panels:e.panels.filter(e=>e!==t.panel)})},B=(0,i.createContext)(null);function I(e){let t=(0,i.useContext)(B);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Tab.Group /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,I),t}return t}B.displayName="TabsDataContext";let k=(0,i.createContext)(null);function O(e){let t=(0,i.useContext)(k);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Tab.Group /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,O),t}return t}function R(e,t){return(0,v.E)(t.type,M,e,t)}k.displayName="TabsActionsContext";let S=i.Fragment,A=y.AN.RenderStrategy|y.AN.Static,L=Object.assign((0,y.yV)(function(e,t){var r,n;let a=(0,s.M)(),{id:l="headlessui-tabs-tab-".concat(a),...f}=e,{orientation:b,activation:p,selectedIndex:h,tabs:T,panels:F}=I("Tab"),w=O("Tab"),P=I("Tab"),N=(0,i.useRef)(null),M=(0,m.T)(N,t);(0,c.e)(()=>w.registerTab(N),[w,N]);let B=E("tabs"),k=T.indexOf(N);-1===k&&(k=B);let R=k===h,S=(0,u.z)(e=>{var t;let r=e();if(r===g.fE.Success&&"auto"===p){let e=null==(t=(0,_.r)(N))?void 0:t.activeElement,r=P.tabs.findIndex(t=>t.current===e);-1!==r&&w.change(r)}return r}),A=(0,u.z)(e=>{let t=T.map(e=>e.current).filter(Boolean);if(e.key===o.R.Space||e.key===o.R.Enter){e.preventDefault(),e.stopPropagation(),w.change(k);return}switch(e.key){case o.R.Home:case o.R.PageUp:return e.preventDefault(),e.stopPropagation(),S(()=>(0,g.jA)(t,g.TO.First));case o.R.End:case o.R.PageDown:return e.preventDefault(),e.stopPropagation(),S(()=>(0,g.jA)(t,g.TO.Last))}if(S(()=>(0,v.E)(b,{vertical:()=>e.key===o.R.ArrowUp?(0,g.jA)(t,g.TO.Previous|g.TO.WrapAround):e.key===o.R.ArrowDown?(0,g.jA)(t,g.TO.Next|g.TO.WrapAround):g.fE.Error,horizontal:()=>e.key===o.R.ArrowLeft?(0,g.jA)(t,g.TO.Previous|g.TO.WrapAround):e.key===o.R.ArrowRight?(0,g.jA)(t,g.TO.Next|g.TO.WrapAround):g.fE.Error}))===g.fE.Success)return e.preventDefault()}),L=(0,i.useRef)(!1),z=(0,u.z)(()=>{var e;L.current||(L.current=!0,null==(e=N.current)||e.focus({preventScroll:!0}),w.change(k),(0,x.Y)(()=>{L.current=!1}))}),C=(0,u.z)(e=>{e.preventDefault()}),$=(0,i.useMemo)(()=>{var t;return{selected:R,disabled:null!=(t=e.disabled)&&t}},[R,e.disabled]),D={ref:M,onKeyDown:A,onMouseDown:C,onClick:z,id:l,role:"tab",type:(0,d.f)(e,N),"aria-controls":null==(n=null==(r=F[k])?void 0:r.current)?void 0:n.id,"aria-selected":R,tabIndex:R?0:-1};return(0,y.sY)({ourProps:D,theirProps:f,slot:$,defaultTag:"button",name:"Tabs.Tab"})}),{Group:(0,y.yV)(function(e,t){let{defaultIndex:r=0,vertical:n=!1,manual:a=!1,onChange:l,selectedIndex:o=null,...s}=e,d=n?"vertical":"horizontal",b=a?"manual":"auto",p=null!==o,v=(0,f.E)({isControlled:p}),x=(0,m.T)(t),[_,T]=(0,i.useReducer)(R,{info:v,selectedIndex:null!=o?o:r,tabs:[],panels:[]}),E=(0,i.useMemo)(()=>({selectedIndex:_.selectedIndex}),[_.selectedIndex]),w=(0,f.E)(l||(()=>{})),P=(0,f.E)(_.tabs),N=(0,i.useMemo)(()=>({orientation:d,activation:b,..._}),[d,b,_]),M=(0,u.z)(e=>(T({type:1,tab:e}),()=>T({type:2,tab:e}))),I=(0,u.z)(e=>(T({type:3,panel:e}),()=>T({type:4,panel:e}))),O=(0,u.z)(e=>{A.current!==e&&w.current(e),p||T({type:0,index:e})}),A=(0,f.E)(p?e.selectedIndex:_.selectedIndex),L=(0,i.useMemo)(()=>({registerTab:M,registerPanel:I,change:O}),[]);return(0,c.e)(()=>{T({type:0,index:null!=o?o:r})},[o]),(0,c.e)(()=>
1{if(void 0===A.current||_.tabs.length<=0)return;let e=(0,g.z2)(_.tabs,e=>e.current);e.some((e,t)=>_.tabs[t]!==e)&&O(e.indexOf(_.tabs[A.current]))}),i.createElement(F,null,i.createElement(k.Provider,{value:L},i.createElement(B.Provider,{value:N},N.tabs.length<=0&&i.createElement(h,{onFocus:()=>{var e,t;for(let r of P.current)if((null==(e=r.current)?void 0:e.tabIndex)===0)return null==(t=r.current)||t.focus(),!0;return!1}}),(0,y.sY)({ourProps:{ref:x},theirProps:s,slot:E,defaultTag:S,name:"Tabs"}))))}),List:(0,y.yV)(function(e,t){let{orientation:r,selectedIndex:n}=I("Tab.List"),a=(0,m.T)(t);return(0,y.sY)({ourProps:{ref:a,role:"tablist","aria-orientation":r},theirProps:e,slot:{selectedIndex:n},defaultTag:"div",name:"Tabs.List"})}),Panels:(0,y.yV)(function(e,t){let{selectedIndex:r}=I("Tab.Panels"),n=(0,m.T)(t),a=(0,i.useMemo)(()=>({selectedIndex:r}),[r]);return(0,y.sY)({ourProps:{ref:n},theirProps:e,slot:a,defaultTag:"div",name:"Tabs.Panels"})}),Panel:(0,y.yV)(function(e,t){var r,n,a,l;let o=(0,s.M)(),{id:u="headlessui-tabs-panel-".concat(o),tabIndex:f=0,...d}=e,{selectedIndex:b,tabs:h,panels:g}=I("Tab.Panel"),v=O("Tab.Panel"),x=(0,i.useRef)(null),_=(0,m.T)(x,t);(0,c.e)(()=>v.registerPanel(x),[v,x,u]);let T=E("panels"),F=g.indexOf(x);-1===F&&(F=T);let w=F===b,P=(0,i.useMemo)(()=>({selected:w}),[w]),N={ref:_,id:u,role:"tabpanel","aria-labelledby":null==(n=null==(r=h[F])?void 0:r.current)?void 0:n.id,tabIndex:w?f:-1};return w||null!=(a=d.unmount)&&!a||null!=(l=d.static)&&l?(0,y.sY)({ourProps:N,theirProps:d,slot:P,defaultTag:"div",features:A,visible:w,name:"Tabs.Panel"}):i.createElement(p._,{as:"span","aria-hidden":"true",...N})})})},64579:function(e,t,r){"use strict";var n=r(98939);let a=n.forwardRef(function(e,t){let{title:r,titleId:a,...l}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":a},l),r?n.createElement("title",{id:a},r):null,n.createElement("path",{d:"M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"}))});t.Z=a}}]);

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.