PageSourceSearch

https://www.herzindagi.com/_next/static/chunks/263-b71bc30b4307bb00.js

js herzindagi.com collected 2026-10-02 03:19:54 UTC 20,791 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[263],{12665:(e,t,n)=>{n.d(t,{H5:()=>c,iq:()=>a,xA:()=>d});var r=n(12115),l=n(79065),o=n(50025),i=n(85986),u=n(53182);function a(){let{defaultContainers:e=[],portals:t,mainTreeNode:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,u._)(()=>{var r,l;let u=(0,i.TW)(n),a=[];for(let t of e)null!==t&&(o.vq(t)?a.push(t):"current"in t&&o.vq(t.current)&&a.push(t.current));if(null!=t&&t.current)for(let e of t.current)a.push(e);for(let e of null!=(r=null==u?void 0:u.querySelectorAll("html > *, body > *"))?r:[])e!==document.body&&e!==document.head&&o.vq(e)&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(l=null==n?void 0:n.getRootNode())?void 0:l.host))||a.some(t=>e.contains(t))||a.push(e));return a});return{resolveContainers:r,contains:(0,u._)(e=>r().some(t=>t.contains(e)))}}let s=(0,r.createContext)(null);function c(e){let{children:t,node:n}=e,[u,a]=(0,r.useState)(null),c=d(null!=n?n:u);return r.createElement(s.Provider,{value:c},t,null===c&&r.createElement(l.j,{features:l.u.Hidden,ref:e=>{var t,n;if(e){for(let r of null!=(n=null==(t=(0,i.TW)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&o.vq(r)&&null!=r&&r.contains(e)){a(r);break}}}}))}function d(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=(0,r.useContext)(s))?e:t}}
1,13533:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(12115);let l=r.forwardRef(function(e,t){let{title:n,titleId:l,...o}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),n?r.createElement("title",{id:l},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"}))})},17349:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(12115);let l=r.forwardRef(function(e,t){let{title:n,titleId:l,...o}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),n?r.createElement("title",{id:l},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"}))})},29371:(e,t,n)=>{n.d(t,{a:()=>o});var r=n(12115),l=n(79802);function o(){let e=(0,r.useRef)(!1);return(0,l.s)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},43569:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(12115);let l=r.forwardRef(function(e,t){let{title:n,titleId:l,...o}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),n?r.createElement("title",{id:l},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))})},44097:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(12115);let l=r.forwardRef(function(e,t){let{title:n,titleId:l,...o}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),n?r.createElement("title",{id:l},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))})},60649:(e,t,n)=>{n.d(t,{O:()=>o,u:()=>i});var r=n(12115),l=n(21891),o=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(o||{});function i(){let e=(0,r.useRef)(0);return(0,l.M)(!0,"keydown",t=>{"Tab"===t.key&&(e.current=+!!t.shiftKey)},!0),e}},84931:(e,t,n)=>{n.d(t,{e:()=>o});var r=n(12115);let l=(0,r.createContext)(()=>{});function o(e){let{value:t,children:n}=e;return r.createElement(l.Provider,{value:t},n)}},89129:(e,t,n)=>{n.d(t,{_:()=>L,e:()=>P});var r=n(12115),l=n(91553),o=n(53182),i=n(29371),u=n(79802),a=n(84585),s=n(21982),c=n(17342),d=n(22369),f=n(55668),v=n(14700),p=n(20536),m=n(69159);function h(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||!(0,m.zv)(null!=(t=e.as)?t:C)||1===r.Children.count(e.children)}let g=(0,r.createContext)(null);g.displayName="TransitionContext";var w=(e=>(e.Visible="visible",e.Hidden="hidden",e))(w||{});let E=(0,r.createContext)(null);function b(e){return"children"in e?b(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function F(e,t){let n=(0,a.Y)(e),u=(0,r.useRef)([]),s=(0,i.a)(),c=(0,l.L)(),d=(0,o._)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.mK.Hidden,r=u.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==r&&((0,p.Y)(t,{[m.mK.Unmount](){u.current.splice(r,1)},[m.mK.Hidden](){u.current[r].state="hidden"}}),c.microTask(()=>{var e;!b(u)&&s.current&&(null==(e=n.current)||e.call(n))}))}),f=(0,o._)(e=>{let t=u.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):u.current.push({el:e,state:"visible"}),()=>d(e,m.mK.Unmount)}),v=(0,r.useRef)([]),h=(0,r.useRef)(Promise.resolve()),g=(0,r.useRef)({enter:[],leave:[]}),w=(0,o._)((e,n,r)=>{v.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==e})),null==t||t.chains.current[n].push([e,new Promise(e=>{v.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(g.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())}
1)]),"enter"===n?h.current=h.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),E=(0,o._)((e,t,n)=>{Promise.all(g.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=v.current.shift())||e()}).then(()=>n(t))});return(0,r.useMemo)(()=>({children:u,register:f,unregister:d,onStart:w,onStop:E,wait:h,chains:g}),[f,d,u,w,E,g,h])}E.displayName="NestingContext";let C=r.Fragment,k=m.Ac.RenderStrategy,y=(0,m.FX)(function(e,t){let{show:n,appear:l=!1,unmount:i=!0,...a}=e,d=(0,r.useRef)(null),v=h(e),p=(0,c.P)(...v?[d,t]:null===t?[]:[t]);(0,s.g)();let w=(0,f.O_)();if(void 0===n&&null!==w&&(n=(w&f.Uw.Open)===f.Uw.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[C,y]=(0,r.useState)(n?"visible":"hidden"),L=F(()=>{n||y("hidden")}),[P,D]=(0,r.useState)(!0),R=(0,r.useRef)([n]);(0,u.s)(()=>{!1!==P&&R.current[R.current.length-1]!==n&&(R.current.push(n),D(!1))},[R,n]);let _=(0,r.useMemo)(()=>({show:n,appear:l,initial:P}),[n,l,P]);(0,u.s)(()=>{n?y("visible"):b(L)||null===d.current||y("hidden")},[n,L]);let O={unmount:i},S=(0,o._)(()=>{var t;P&&D(!1),null==(t=e.beforeEnter)||t.call(e)}),x=(0,o._)(()=>{var t;P&&D(!1),null==(t=e.beforeLeave)||t.call(e)}),A=(0,m.Ci)();return r.createElement(E.Provider,{value:L},r.createElement(g.Provider,{value:_},A({ourProps:{...O,as:r.Fragment,children:r.createElement(T,{ref:p,...O,...a,beforeEnter:S,beforeLeave:x})},theirProps:{},defaultTag:r.Fragment,features:k,visible:"visible"===C,name:"Transition"})))}),T=(0,m.FX)(function(e,t){var n,l;let{transition:i=!0,beforeEnter:a,afterEnter:w,beforeLeave:y,afterLeave:T,enter:L,enterFrom:P,enterTo:D,entered:R,leave:_,leaveFrom:O,leaveTo:S,...x}=e,[A,M]=(0,r.useState)(null),U=(0,r.useRef)(null),B=h(e),I=(0,c.P)(...B?[U,t,M]:null===t?[]:[t]),j=null==(n=x.unmount)||n?m.mK.Unmount:m.mK.Hidden,{show:W,appear:N,initial:Y}=function(){let e=(0,r.useContext)(g);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[H,X]=(0,r.useState)(W?"visible":"hidden"),q=function(){let e=(0,r.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:K,unregister:V}=q;(0,u.s)(()=>K(U),[K,U]),(0,u.s)(()=>{if(j===m.mK.Hidden&&U.current)return W&&"visible"!==H?void X("visible"):(0,p.Y)(H,{hidden:()=>V(U),visible:()=>K(U)})},[H,U,K,V,W,j]);let G=(0,s.g)();(0,u.s)(()=>{if(B&&G&&"visible"===H&&null===U.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[U,H,G,B]);let Z=Y&&!N,z=N&&W&&Y,$=(0,r.useRef)(!1),J=F(()=>{$.current||(X("hidden"),V(U))},q),Q=(0,o._)(e=>{$.current=!0,J.onStart(U,e?"enter":"leave",e=>{"enter"===e?null==a||a():"leave"===e&&(null==y||y())})}),ee=(0,o._)(e=>{let t=e?"enter":"leave";$.current=!1,J.onStop(U,t,e=>{"enter"===e?null==w||w():"leave"===e&&(null==T||T())}),"leave"!==t||b(J)||(X("hidden"),V(U))});(0,r.useEffect)(()=>{B&&i||(Q(W),ee(W))},[W,B,i]);let et=!(!i||!B||!G||Z),[,en]=(0,d.p)(et,A,W,{start:Q,end:ee}),er=(0,m.oE)({ref:I,className:(null==(l=(0,v.x)(x.className,z&&L,z&&P,en.enter&&L,en.enter&&en.closed&&P,en.enter&&!en.closed&&D,en.leave&&_,en.leave&&!en.closed&&O,en.leave&&en.closed&&S,!en.transition&&W&&R))?void 0:l.trim())||void 0,...(0,d.B)(en)}),el=0;"visible"===H&&(el|=f.Uw.Open),"hidden"===H&&(el|=f.Uw.Closed),W&&"hidden"===H&&(el|=f.Uw.Opening),W||"visible"!==H||(el|=f.Uw.Closing);let eo=(0,m.Ci)();return r.createElement(E.Provider,{value:J},r.createElement(f.El,{value:el},eo({ourProps:er,theirProps:x,defaultTag:C,features:k,visible:"visible"===H,name:"Transition.Child"})))}),L=(0,m.FX)(function(e,t){let n=null!==(0,r.useContext)(g),l=null!==(0,f.O_)();return r.createElement(r.Fragment,null,!n&&l?r.createElement(y,{ref:t,...e}):r.createElement(T,{ref:t,...e}))}),P=Object.assign(y,{Child:L,Root:y})},93221:(e,t,n)=>{n.d(t,{M:()=>o});var r=n(12115),l=n(84585);function o(e,t,n,o){let i=(0,l.Y)(n);(0,r.useEffect)(()=>{function n(e){i.current(e)}return(e=null!=e?e:window).addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)},[e,t,o])}},96867:(e,t,n)=>{n.d(t,{lG:()=>et,Xi:()=>ee,Lj:()=>Q});var r=n(12115),l=n(88499),o=n(93221),i=n(74236),u=n(53182),a=n(76598),s=n(79802),c=n(71691),d=n(59032),f=n(20797),v=n(12665),p=n(59879),m=n(21982),h=n(80490),g=n(17342),w=n(84931),E=n(55668),b=n(51116),F=n(47396),C=n(15714),k=n(20536),y=n(69159),T=n(49221),L=n(91553),P=n(29371),D=n(19390),R=n(60649);function _(e,t){let n=(0,r.useRef)([]),l=(0,u._)(e);(0,r.useEffect)(()=>{let e=[...n.current];for(let[r,o]of t.entries())if(n.current[r]!==o){let r=l(t,e);return n.current=t,r}},[l,...t])}var O=n(79065),S=n(50025),x=n(99795);let A=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){if(!S.Lk(e.target)||e.target===document.body||A[0]===e.target)return;let t=e.target;t=t.closest(x.Uo),A.unshift(null!=t?t:e.target),(A=A.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});var M=n(28165),U=n(85986);function B(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)S.vq(n.current)&&t.add(n.current);return t}var I=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.Re
1storeFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(I||{});let j=Object.assign((0,y.FX)(function(e,t){let n=(0,r.useRef)(null),l=(0,g.P)(n,t),{initialFocus:a,initialFocusFallback:s,containers:c,features:d=15,...v}=e;(0,m.g)()||(d=0);let p=(0,f.g)(n.current);!function(e,t){let{ownerDocument:n}=t,l=!!(8&e),o=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useRef)(A.slice());return _((e,n)=>{let[r]=e,[l]=n;!0===l&&!1===r&&(0,M._)(()=>{t.current.splice(0)}),!1===l&&!0===r&&(t.current=A.slice())},[e,A,t]),(0,u._)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(l);_(()=>{l||(0,U.X7)(null==n?void 0:n.body)&&(0,x.pW)(o())},[l]),(0,D.X)(()=>{l&&(0,x.pW)(o())})}(d,{ownerDocument:p});let h=function(e,t){let{ownerDocument:n,container:l,initialFocus:o,initialFocusFallback:u}=t,a=(0,r.useRef)(null),s=(0,i.S)(!!(1&e),"focus-trap#initial-focus"),c=(0,P.a)();return _(()=>{if(0===e)return;if(!s){null!=u&&u.current&&(0,x.pW)(u.current);return}let t=l.current;t&&(0,M._)(()=>{if(!c.current)return;let r=null==n?void 0:n.activeElement;if(null!=o&&o.current){if((null==o?void 0:o.current)===r){a.current=r;return}}else if(t.contains(r)){a.current=r;return}if(null!=o&&o.current)(0,x.pW)(o.current);else{if(16&e){if((0,x.CU)(t,x.BD.First|x.BD.AutoFocus)!==x.Me.Error)return}else if((0,x.CU)(t,x.BD.First)!==x.Me.Error)return;if(null!=u&&u.current&&((0,x.pW)(u.current),(null==n?void 0:n.activeElement)===u.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}a.current=null==n?void 0:n.activeElement})},[u,s,e]),a}(d,{ownerDocument:p,container:n,initialFocus:a,initialFocusFallback:s});!function(e,t){let{ownerDocument:n,container:r,containers:l,previousActiveElement:i}=t,u=(0,P.a)(),a=!!(4&e);(0,o.M)(null==n?void 0:n.defaultView,"focus",e=>{if(!a||!u.current)return;let t=B(l);S.sb(r.current)&&t.add(r.current);let n=i.current;if(!n)return;let o=e.target;S.sb(o)?W(t,o)?(i.current=o,(0,x.pW)(o)):(e.preventDefault(),e.stopPropagation(),(0,x.pW)(n)):(0,x.pW)(i.current)},!0)}(d,{ownerDocument:p,container:n,containers:c,previousActiveElement:h});let w=(0,R.u)(),E=(0,u._)(e=>{if(!S.sb(n.current))return;let t=n.current;(0,k.Y)(w.current,{[R.O.Forwards]:()=>{(0,x.CU)(t,x.BD.First,{skipElements:[e.relatedTarget,s]})},[R.O.Backwards]:()=>{(0,x.CU)(t,x.BD.Last,{skipElements:[e.relatedTarget,s]})}})}),b=(0,i.S)(!!(2&d),"focus-trap#tab-lock"),F=(0,L.L)(),C=(0,r.useRef)(!1),T=(0,y.Ci)();return r.createElement(r.Fragment,null,b&&r.createElement(O.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:E,features:O.u.Focusable}),T({ourProps:{ref:l,onKeyDown(e){"Tab"==e.key&&(C.current=!0,F.requestAnimationFrame(()=>{C.current=!1}))},onBlur(e){if(!(4&d))return;let t=B(c);S.sb(n.current)&&t.add(n.current);let r=e.relatedTarget;S.Lk(r)&&"true"!==r.dataset.headlessuiFocusGuard&&(W(t,r)||(C.current?(0,x.CU)(n.current,(0,k.Y)(w.current,{[R.O.Forwards]:()=>x.BD.Next,[R.O.Backwards]:()=>x.BD.Previous})|x.BD.WrapAround,{relativeTo:e.target}):S.Lk(e.target)&&(0,x.pW)(e.target)))}},theirProps:v,defaultTag:"div",name:"FocusTrap"}),b&&r.createElement(O.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:E,features:O.u.Focusable}))}),{features:I});function W(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var N=n(75663),Y=n(89129),H=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(H||{}),X=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(X||{});let q={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},K=(0,r.createContext)(null);function V(e){let t=(0,r.useContext)(K);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,V),t}return t}function G(e,t){return(0,k.Y)(t.type,q,e,t)}K.displayName="DialogContext";let Z=(0,y.FX)(function(e,t){let n=(0,r.useId)(),{id:k="headlessui-dialog-".concat(n),open:L,onClose:P,initialFocus:D,role:R="dialog",autoFocus:_=!0,__demoMode:O=!1,unmount:S=!1,...x}=e,A=(0,r.useRef)(!1);
1R="dialog"===R||"alertdialog"===R?R:(A.current||(A.current=!0,console.warn("Invalid role [".concat(R,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let M=(0,E.O_)();void 0===L&&null!==M&&(L=(M&E.Uw.Open)===E.Uw.Open);let U=(0,r.useRef)(null),B=(0,g.P)(U,t),W=(0,f.g)(U.current),Y=+!L,[H,X]=(0,r.useReducer)(G,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),q=(0,u._)(()=>P(!1)),V=(0,u._)(e=>X({type:0,id:e})),Z=!!(0,m.g)()&&0===Y,[J,Q]=(0,N.k2)(),ee=(0,v.xA)(),{resolveContainers:et}=(0,v.iq)({mainTreeNode:ee,portals:J,defaultContainers:[{get current(){var en;return null!=(en=H.panelRef.current)?en:U.current}}]}),er=null!==M&&(M&E.Uw.Closing)===E.Uw.Closing;(0,a.v)(!O&&!er&&Z,{allowed:(0,u._)(()=>{var e,t;return[null!=(t=null==(e=U.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,u._)(()=>{var e;return[null!=(e=null==ee?void 0:ee.closest("body > *:not(#headlessui-portal-root)"))?e:null]})});let el=F.D.get(null);(0,s.s)(()=>{if(Z)return el.actions.push(k),()=>el.actions.pop(k)},[el,k,Z]);let eo=(0,C.y)(el,(0,r.useCallback)(e=>el.selectors.isTop(e,k),[el,k]));(0,d.j)(eo,et,e=>{e.preventDefault(),q()}),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"!=typeof document?document.defaultView:null,n=arguments.length>2?arguments[2]:void 0,r=(0,i.S)(e,"escape");(0,o.M)(t,"keydown",e=>{r&&(e.defaultPrevented||e.key===l.D.Escape&&n(e))})}(eo,null==W?void 0:W.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),q()}),(0,p.K)(!O&&!er&&Z,W,et),(0,c.O)(Z,U,q);let[ei,eu]=(0,T.rU)(),ea=(0,r.useMemo)(()=>[{dialogState:Y,close:q,setTitleId:V,unmount:S},H],[Y,q,V,S,H]),es=(0,h._)({open:0===Y}),ec={ref:B,id:k,role:R,tabIndex:-1,"aria-modal":O?void 0:0===Y||void 0,"aria-labelledby":H.titleId,"aria-describedby":ei,unmount:S},ed=!function(){var e;let[t]=(0,r.useState)(()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,l]=(0,r.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,s.s)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){l(e.matches)}},[t]),n}(),ef=I.None;Z&&!O&&(ef|=I.RestoreFocus,ef|=I.TabLock,_&&(ef|=I.AutoFocus),ed&&(ef|=I.InitialFocus));let ev=(0,y.Ci)();return r.createElement(E.$x,null,r.createElement(b.a,{force:!0},r.createElement(N.ZL,null,r.createElement(K.Provider,{value:ea},r.createElement(N.Ee,{target:U},r.createElement(b.a,{force:!1},r.createElement(eu,{slot:es},r.createElement(Q,null,r.createElement(j,{initialFocus:D,initialFocusFallback:U,containers:et,features:ef},r.createElement(w.e,{value:q},ev({ourProps:ec,theirProps:x,slot:es,defaultTag:z,features:$,visible:0===Y,name:"Dialog"})))))))))))}),z="div",$=y.Ac.RenderStrategy|y.Ac.Static,J=(0,y.FX)(function(e,t){let{transition:n=!1,open:l,...o}=e,i=(0,E.O_)(),u=e.hasOwnProperty("open")||null!==i,a=e.hasOwnProperty("onClose");if(!u&&!a)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!u)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!a)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!i&&"boolean"!=typeof e.open)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(e.open));if("function"!=typeof e.onClose)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(e.onClose));return(void 0!==l||n)&&!o.static?r.createElement(v.H5,null,r.createElement(Y.e,{show:l,transition:n,unmount:o.unmount},r.createElement(Z,{ref:t,...o}))):r.createElement(v.H5,null,r.createElement(Z,{ref:t,open:l,...o}))}),Q=(0,y.FX)(function(e,t){let n=(0,r.useId)(),{id:l="headlessui-dialog-panel-".concat(n),transition:o=!1,...i}=e,[{dialogState:a,unmount:s},c]=V("Dialog.Panel"),d=(0,g.P)(t,c.panelRef),f=(0,h._)({open:0===a}),v=(0,u._)(e=>{e.stopPropagation()}),p=o?Y._:r.Fragment,m=(0,y.Ci)();return r.createElement(p,{...o?{unmount:s}:{}},m({ourProps:{ref:d,id:l,onClick:v},theirProps:i,slot:f,defaultTag:"div",name:"Dialog.Panel"}))}),ee=(0,y.FX)(function(e,t){let{transition:n=!1,...l}=e,[{dialogState:o,unmount:i}]=V("Dialog.Backdrop"),u=(0,h._)({open:0===o}),a=n?Y._:r.Fragment,s=(0,y.Ci)();return r.createElement(a,{...n?{unmount:i}:{}},s({ourProps:{ref:t,"aria-hidden":!0},theirProps:l,slot:u,defaultTag:"div",name:"Dialog.Backdrop"}))}),et=Object.assign(J,{Panel:Q,Title:(0,y.FX)(function(e,t){let n=(0,r.useId)(),{id:l="headlessui-dialog-title-".concat(n),...o}=e,[{dialogState:i,setTitleId:u}]=V("Dialog.Title"),a=(0,g.P)(t);(0,r.useEffect)(()=>(u(l),()=>u(null)),[l,u]);let s=(0,h._)({open:0===i});return(0,y.Ci)()({ourProps:{ref:a,id:l},theirProps:o,slot:s,defaultTag:"h2",name:"Dialog.Title"})}),Description:T.VY})}}]);

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.