1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1585],{1585:function(e,t,n){"use strict";n.r(t);var r=n(5893),a=n(4154),s=n.n(a),i=n(4080),o=n(7294),l=n(3235),u=n(1163);let c=()=>{let{t:e}=(0,l.$G)(),t=(0,u.useRouter)(),[n,a]=(0,o.useState)(!0),[c,d]=(0,o.useState)(!1),[f,h]=(0,o.useState)(!1),[m,p]=(0,o.useState)({isShowing1:!0,isShowing2:!1,isShowing3:!1}),g=e=>{1==e?p(e=>({isShowing1:!0,isShowing2:!1,isShowing3:!1})):2==e?p(e=>({isShowing1:!1,isShowing2:!0,isShowing3:!1})):3==e&&p(e=>({isShowing1:!1,isShowing2:!1,isShowing3:!0}))};return(0,r.jsxs)("div",{className:"".concat(s()["bg-backgound-about-us"]," w-full flex flex-col xl:flex-row"),children:[(0,r.jsx)("div",{className:"relative basis-2/6 flex flex-col",children:(0,r.jsxs)("div",{className:"max-w-3xl p-4 xl:p-14",children:[(0,r.jsx)("p",{className:"".concat("th"===t.locale?"font-Anantason-Reno":"font-MHRS"," ").concat(s()["text-header-desciption-title"]," text-4xl"),children:e("about_us.stages.mahorasop.title")}),(0,r.jsx)("p",{className:"".concat("th"===t.locale?"font-Anuphan":"font-Droid-Sans-Mono"," ").concat(s()["text-header-desciption-subtitle"]," text-lg mt-7"),children:e("about_us.stages.mahorasop.description")}),(0,r.jsxs)("div",{className:"flex flex-row",children:[(0,r.jsx)("button",{onClick:()=>g(1),className:"".concat("th"===t.locale?"font-Anantason-Reno":"font-Mono45-Headline"," border-2 border-black mt-7 px-4 py-1"),children:e("about_us.stages.stage_maholan")}),(0,r.jsx)("button",{onClick:()=>g(2),className:"".concat("th"===t.locale?"font-Anantason-Reno":"font-Mono45-Headline"," border-y-2 border-black mt-7 px-4 py-1"),children:e("about_us.stages.stage_viman")}),(0,r.jsx)("button",{onClick:()=>g(3),className:"".concat("th"===t.locale?"font-Anantason-Reno":"font-Mono45-Headline"," border-2 border-black mt-7 px-4 py-1"),children:e("about_us.stages.stage_sawan")})]})]})}),(0,r.jsxs)("div",{className:"basis-4/6 p-4 xl:p-14",children:[(0,r.jsx)(i.u,{show:m.isShowing1,className:"".concat(m.isShowing1?"":"hidden"),enter:"transition ease-in-out duration-500 transform",enterFrom:"translate-y-full",enterTo:"translate-y-0",leave:"transition ease-in-out duration-500 transform",leaveFrom:"translate-y-0",leaveTo:"translate-y-full",children:(0,r.jsxs)("div",{className:"".concat(m.isShowing1?"":"hidden"),children:[(0,r.jsx)("p",{className:"".concat("th"===t.locale?"font-Anantason-Reno":"font-Mono45-Headline"," ").concat(s()["text-header-description-subtitle"]," text-2xl"),children:e("about_us.stages.maholan.title")}),(0,r.jsx)("p",{className:"".concat("th"===t.locale?"font-Anuphan":"font-Droid-Sans-Mono"," ").concat(s()["text-header-description-subtitle"]," text-lg mt-7"),children:e("about_us.stages.maholan.description")}),(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)("img",{className:"w-full h-full object-cover",src:"https://storage.googleapis.com/mhrs-nft/mahorasop.com/1_Maholan.webp"})})]})}),(0,r.jsx)(i.u,{show:m.isShowing2,className:"".concat(m.isShowing2?"":"hidden"),enter:"transition ease-in-out duration-500 transform",enterFrom:"translate-y-full",enterTo:"translate-y-0",leave:"transition ease-in-out duration-500 transform",leaveFrom:"translate-y-0",leaveTo:"translate-y-full",children:(0,r.jsxs)("div",{className:"".concat(m.isShowing2?"":"hidden"),children:[(0,r.jsx)("p",{className:"".concat("th"===t.locale?"font-Anantason-Reno":"font-Mono45-Headline"," ").concat(s()["text-header-description-subtitle"]," text-2xl"),children:e("about_us.stages.viman.title")}),(0,r.jsx)("p",{className:"".concat("th"===t.locale?"font-Anuphan":"font-Droid-Sans-Mono"," ").concat(s()["text-header-description-subtitle"]," text-lg mt-7"),children:e("about_us.stages.viman.description")}),(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)("img",{className:"w-full h-full object-cover",src:"https://storage.googleapis.com/mhrs-nft/mahorasop.com/2_Viman.webp"})})]})}),(0,r.jsx)(i.u,{show:m.isShowing3,className:"".concat(m.isShowing3?"":"hidden"),enter:"transition ease-in-out duration-500 transform",enterFrom:"translate-y-full",enterTo:"translate-y-0",leave:"transition ease-in-out duration-500 transform",leaveFrom:"translate-y-0",leaveTo:"translate-y-full",children:(0,r.jsxs)("div",{className:"".concat(m.isShowing3?"":"hidden"),children:[(0,r.jsx)("p",{className:"".concat("th"===t.locale?"font-Anantason-Reno":"font-Mono45-Headline"," ").concat(s()["text-header-description-subtitle"]," text-2xl"),children:e("about_us.stages.sawan.title")}),(0,r.jsx)("p",{className:"".concat("th"===t.locale?"font-Anuphan":"font-Droid-Sans-Mono"," ").concat(s()["text-header-description-subtitle"]," text-lg mt-7"),children:e("about_us.stages.sawan.description")}),(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)("img",{className:"w-full h-full object-cover",src:"https://storage.googleapis.com/mhrs-nft/mahorasop.com/3_Sawan.webp"})})]})})]})]})};t.default=c},4154:function(e){e.exports={"bg-backgound-about-us":"AboutUs_bg-backgound-about-us__bDlLl","bg-backgound-header":"AboutUs_bg-backgound-header__amjHR","bg-backgound-header-left":"AboutUs_bg-backgound-header-left__clmYt","bg-backgound-header-right":"AboutUs_bg-backgound-header-right__1dMSp","bg-backgound-black-texture":"AboutUs_bg-backgound-black-texture__AXP4A","bg-backgound-header-description":"AboutUs_bg-backgound-header-description__jWzTt","text-header-title":"AboutUs_text-header-title__Txnxp","text-header-description-title":"AboutUs_text-header-description-title__Y40je","text-header-description-subtitle":"AboutUs_text-header-description-subtitle__FbXzl","text-browse-title":"AboutUs_text-browse-title__TYyIg","button-archive":"AboutUs_button-archive__XAO2G","button-ticket":"AboutUs_button-ticket__ISRA8"}},1163:function(e,t,n){e.exports=n(6885)},4080:function(e,t,n){"use strict";n.d(t,{u:function(){return O}});var r,a=n(7294),s=n(2351),i=n(6567),o=n(2984),l=n(4879),u=n(6723),c=n(3855),d=n(2180),f=n(3784),h=n(9362);function m(e,...t){e&&t.length>0&&e.classList.add(...t)}function p(e,...t){e&&t.length>0&&e.classList.remove(...t)}var g=n(4192),b=n(3781),v=n(4067);function x(e=""){return e.split(" ").filter(e=>e.trim().length>1)}let w=(0,a.createContext)(null);w.displayName="TransitionContext";var y=((r=y||{}).Visible="visible",r.Hidden="hidden",r);let E=(0,a.createContext)(null);function S(e){return"children"in e?S(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function j(e,t){let n=(0,c.E)(e),r=(0,a.useRef)([]),i=(0,l.t)(),u=(0,g.G)(),d=(0,b.z)((e,t=s.l4.Hidden)=>{let a=r.current.findIndex(({el:t})=>t===e);-1!==a&&((0,o.E)(t,{[s.l4.Unmount](){r.current.splice(a,1)},[s.l4.Hidden](){r.current[a].state="hidden"}}),u.microTask(()=>{var e;!S(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),f=(0,b.z)(e=>{let t=r.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>d(e,s.l4.Unmount)}),h=(0,a.useRef)([]),m=(0,a.useRef)(Promise.resolve()),p=(0,a.useRef)({enter:[],leave:[],idle:[]}),v=(0,b.z)((e,n,r)=>{h.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),null==t||t.chains.current[n].push([e,new Promise(e=>{h.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(p.current[n].map(([e,t])=>t)).then(()=>e())}
1)]),"enter"===n?m.current=m.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),x=(0,b.z)((e,t,n)=>{Promise.all(p.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=h.current.shift())||e()}).then(()=>n(t))});return(0,a.useMemo)(()=>({children:r,register:f,unregister:d,onStart:v,onStop:x,wait:m,chains:p}),[f,d,r,v,x,p,m])}function _(){}E.displayName="NestingContext";let N=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function k(e){var t;let n={};for(let r of N)n[r]=null!=(t=e[r])?t:_;return n}let T=s.AN.RenderStrategy,A=(0,s.yV)(function(e,t){let{show:n,appear:r=!1,unmount:o,...l}=e,c=(0,a.useRef)(null),h=(0,f.T)(c,t);(0,d.H)();let m=(0,i.oJ)();if(void 0===n&&null!==m&&(n=(m&i.ZM.Open)===i.ZM.Open),![!0,!1].includes(n))throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[p,g]=(0,a.useState)(n?"visible":"hidden"),b=j(()=>{g("hidden")}),[v,x]=(0,a.useState)(!0),y=(0,a.useRef)([n]);(0,u.e)(()=>{!1!==v&&y.current[y.current.length-1]!==n&&(y.current.push(n),x(!1))},[y,n]);let _=(0,a.useMemo)(()=>({show:n,appear:r,initial:v}),[n,r,v]);(0,a.useEffect)(()=>{if(n)g("visible");else if(S(b)){let e=c.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&g("hidden")}else g("hidden")},[n,b]);let N={unmount:o};return a.createElement(E.Provider,{value:b},a.createElement(w.Provider,{value:_},(0,s.sY)({ourProps:{...N,as:a.Fragment,children:a.createElement(F,{ref:h,...N,...l})},theirProps:{},defaultTag:a.Fragment,features:T,visible:"visible"===p,name:"Transition"})))}),F=(0,s.yV)(function(e,t){var n;let r,{beforeEnter:y,afterEnter:_,beforeLeave:N,afterLeave:A,enter:F,enterFrom:C,enterTo:O,entered:R,leave:M,leaveFrom:H,leaveTo:P,...L}=e,U=(0,a.useRef)(null),z=(0,f.T)(U,t),D=L.unmount?s.l4.Unmount:s.l4.Hidden,{show:Y,appear:Z,initial:V}=function(){let e=(0,a.useContext)(w);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[I,$]=(0,a.useState)(Y?"visible":"hidden"),q=function(){let e=(0,a.useContext)(E);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:G,unregister:B}=q,J=(0,a.useRef)(null);(0,a.useEffect)(()=>G(U),[G,U]),(0,a.useEffect)(()=>{if(D===s.l4.Hidden&&U.current){if(Y&&"visible"!==I){$("visible");return}return(0,o.E)(I,{hidden:()=>B(U),visible:()=>G(U)})}},[I,U,G,B,Y,D]);let X=(0,c.E)({enter:x(F),enterFrom:x(C),enterTo:x(O),entered:x(R),leave:x(M),leaveFrom:x(H),leaveTo:x(P)}),W=(n={beforeEnter:y,afterEnter:_,beforeLeave:N,afterLeave:A},r=(0,a.useRef)(k(n)),(0,a.useEffect)(()=>{r.current=k(n)},[n]),r),K=(0,d.H)();(0,a.useEffect)(()=>{if(K&&"visible"===I&&null===U.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[U,I,K]);let Q=V&&!Z,ee=!K||Q||J.current===Y?"idle":Y?"enter":"leave",et=function(e=0){let[t,n]=(0,a.useState)(e),r=(0,l.t)(),s=(0,a.useCallback)(e=>{r.current&&n(t=>t|e)},[t,r]),i=(0,a.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:s,hasFlag:i,removeFlag:(0,a.useCallback)(e=>{r.current&&n(t=>t&~e)},[n,r]),toggleFlag:(0,a.useCallback)(e=>{r.current&&n(t=>t^e)},[n])}}(0),en=(0,b.z)(e=>(0,o.E)(e,{enter:()=>{et.addFlag(i.ZM.Opening),W.current.beforeEnter()},leave:()=>{et.addFlag(i.ZM.Closing),W.current.beforeLeave()},idle:()=>{}})),er=(0,b.z)(e=>(0,o.E)(e,{enter:()=>{et.removeFlag(i.ZM.Opening),W.current.afterEnter()},leave:()=>{et.removeFlag(i.ZM.Closing),W.current.afterLeave()},idle:()=>{}})),ea=j(()=>{$("hidden"),B(U)},q);(function({container:e,direction:t,classes:n,onStart:r,onStop:a}){let s=(0,l.t)(),i=(0,g.G)(),d=(0,c.E)(t);(0,u.e)(()=>{let t=(0,h.k)();i.add(t.dispose);let l=e.current;if(l&&"idle"!==d.current&&s.current){var u,c,f,g;let e,s,i,b,v,x,w;return t.dispose(),r.current(d.current),t.add((u=l,c=n.current,f="enter"===d.current,g=()=>{t.dispose(),a.current(d.current)},s=f?"enter":"leave",i=(0,h.k)(),b=void 0!==g?(e={called:!1},(...t)=>{if(!e.called)return e.called=!0,g(...t)}):()=>{}
1,"enter"===s&&(u.removeAttribute("hidden"),u.style.display=""),v=(0,o.E)(s,{enter:()=>c.enter,leave:()=>c.leave}),x=(0,o.E)(s,{enter:()=>c.enterTo,leave:()=>c.leaveTo}),w=(0,o.E)(s,{enter:()=>c.enterFrom,leave:()=>c.leaveFrom}),p(u,...c.enter,...c.enterTo,...c.enterFrom,...c.leave,...c.leaveFrom,...c.leaveTo,...c.entered),m(u,...v,...w),i.nextFrame(()=>{p(u,...w),m(u,...x),function(e,t){let n=(0,h.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:a}=getComputedStyle(e),[s,i]=[r,a].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t}),o=s+i;if(0!==o){n.group(n=>{n.setTimeout(()=>{t(),n.dispose()},o),n.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&n.dispose()})});let r=n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t(),r())})}else t();n.add(()=>t()),n.dispose}(u,()=>(p(u,...v),m(u,...c.entered),b()))}),i.dispose)),t.dispose}},[t])})({container:U,classes:X,direction:ee,onStart:(0,c.E)(e=>{ea.onStart(U,e,en)}),onStop:(0,c.E)(e=>{ea.onStop(U,e,er),"leave"!==e||S(ea)||($("hidden"),B(U))})}),(0,a.useEffect)(()=>{Q&&(D===s.l4.Hidden?J.current=null:J.current=Y)},[Y,Q,I]);let es=L;return Z&&Y&&(es={...es,className:(0,v.A)(L.className,...X.current.enter,...X.current.enterFrom)}),a.createElement(E.Provider,{value:ea},a.createElement(i.up,{value:(0,o.E)(I,{visible:i.ZM.Open,hidden:i.ZM.Closed})|et.flags},(0,s.sY)({ourProps:{ref:z},theirProps:es,defaultTag:"div",features:T,visible:"visible"===I,name:"Transition.Child"})))}),C=(0,s.yV)(function(e,t){let n=null!==(0,a.useContext)(w),r=null!==(0,i.oJ)();return a.createElement(a.Fragment,null,!n&&r?a.createElement(A,{ref:t,...e}):a.createElement(F,{ref:t,...e}))}),O=Object.assign(A,{Child:C,Root:A})},4192:function(e,t,n){"use strict";n.d(t,{G:function(){return s}});var r=n(7294),a=n(9362);function s(){let[e]=(0,r.useState)(a.k);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}},3781:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});var r=n(7294),a=n(3855);let s=function(e){let t=(0,a.E)(e);return r.useCallback((...e)=>t.current(...e),[t])}},4879:function(e,t,n){"use strict";n.d(t,{t:function(){return s}});var r=n(7294),a=n(6723);function s(){let e=(0,r.useRef)(!1);return(0,a.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},6723:function(e,t,n){"use strict";n.d(t,{e:function(){return s}});var r=n(7294),a=n(7896);let s=(e,t)=>{a.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},3855:function(e,t,n){"use strict";n.d(t,{E:function(){return s}});var r=n(7294),a=n(6723);function s(e){let t=(0,r.useRef)(e);return(0,a.e)(()=>{t.current=e},[e]),t}},2180:function(e,t,n){"use strict";n.d(t,{H:function(){return s}});var r=n(7294),a=n(7896);function s(){let[e,t]=(0,r.useState)(a.O.isHandoffComplete);return e&&!1===a.O.isHandoffComplete&&t(!1),(0,r.useEffect)(()=>{!0!==e&&t(!0)},[e]),(0,r.useEffect)(()=>a.O.handoff(),[]),e}},3784:function(e,t,n){"use strict";n.d(t,{T:function(){return o},h:function(){return i}});var r=n(7294),a=n(3781);let s=Symbol();function i(e,t=!0){return Object.assign(e,{[s]:t})}function o(...e){let t=(0,r.useRef)(e);(0,r.useEffect)(()=>{t.current=e},[e]);let n=(0,a.z)(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[s]))?void 0:n}},6567:function(e,t,n){"use strict";n.d(t,{ZM:function(){return i},oJ:function(){return o},up:function(){return l}});var r,a=n(7294);let s=(0,a.createContext)(null);s.displayName="OpenClosedContext";var i=((r=i||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function o(){return(0,a.useContext)(s)}function l({value:e,children:t}){return a.createElement(s.Provider,{value:e},t)}},4067:function(e,t,n){"use strict";function r(...e){return e.filter(Boolean).join(" ")}n.d(t,{A:function(){return r}})},9362:function(e,t,n){"use strict";n.d(t,{k:function(){return function e(){let t=[],n={addEventListener:(e,t,r,a)=>(e.addEventListener(t,r,a),n.add(()=>e.removeEventListener(t,r,a))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>n.requestAnimationFrame(()=>n.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return n.add(()=>clearTimeout(t))},microTask(...e){let t={current:!0};return(0,r.Y)(()=>{t.current&&e[0]()}),n.add(()=>{t.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}}});var r=n(1021)},7896:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=Object.defineProperty,a=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,s=(e,t,n)=>(a(e,"symbol"!=typeof t?t+"":t,n),n);let i=new class{constructor(){s(this,"current",this.detect()),s(this,"handoffState","pending"),s(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server"
1:"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},2984:function(e,t,n){"use strict";function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let a=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,r),a}n.d(t,{E:function(){return r}})},1021:function(e,t,n){"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}n.d(t,{Y:function(){return r}})},2351:function(e,t,n){"use strict";n.d(t,{AN:function(){return l},l4:function(){return u},sY:function(){return c},yV:function(){return h}});var r,a,s=n(7294),i=n(4067),o=n(2984),l=((r=l||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),u=((a=u||{})[a.Unmount=0]="Unmount",a[a.Hidden=1]="Hidden",a);function c({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:a,visible:s=!0,name:i}){let l=f(t,e);if(s)return d(l,n,r,i);let u=null!=a?a:0;if(2&u){let{static:e=!1,...t}=l;if(e)return d(t,n,r,i)}if(1&u){let{unmount:e=!0,...t}=l;return(0,o.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},n,r,i)})}return d(l,n,r,i)}function d(e,t={},n,r){let{as:a=n,children:o,refName:l="ref",...u}=p(e,["unmount","static"]),c=void 0!==e.ref?{[l]:e.ref}:{},d="function"==typeof o?o(t):o;"className"in u&&u.className&&"function"==typeof u.className&&(u.className=u.className(t));let h={};if(t){let e=!1,n=[];for(let[r,a]of Object.entries(t))"boolean"==typeof a&&(e=!0),!0===a&&n.push(r);e&&(h["data-headlessui-state"]=n.join(" "))}if(a===s.Fragment&&Object.keys(m(u)).length>0){if(!(0,s.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(u).map(e=>` - ${e}`).join(` 2`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` 3`)].join(` 4`));let e=d.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>(0,i.A)(null==e?void 0:e.className(...t),u.className):(0,i.A)(null==e?void 0:e.className,u.className);return(0,s.cloneElement)(d,Object.assign({},f(d.props,m(p(u,["ref"]))),h,c,function(...e){return{ref:e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(d.ref,c.ref),t?{className:t}:{}))}return(0,s.createElement)(a,Object.assign({},p(u,["ref"]),a!==s.Fragment&&c,a!==s.Fragment&&h),d)}function f(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){for(let a of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;a(t,...r)}}});return t}function h(e){var t;return Object.assign((0,s.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function m(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function p(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}}}]);
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.