PageSourceSearch

https://chshmh.com/_next/static/chunks/5661-3ed24156b5298163.js

js chshmh.com collected 2026-10-02 07:29:15 UTC 14,733 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5661],{97859:function(e,t,n){n.d(t,{RR:function(){return g},YF:function(){return f},cv:function(){return d},dp:function(){return m},uY:function(){return p}});var r=n(51050),l=n(2265),o=n(54887),i="undefined"!=typeof document?l.useLayoutEffect:function(){};function u(e,t){let n,r,l;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!u(e[r],t[r]))return!1;return!0}if((n=(l=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,l[r]))return!1;for(r=n;0!=r--;){let n=l[r];if(("_owner"!==n||!e.$$typeof)&&!u(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function a(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c(e,t){let n=a(e);return Math.round(t*n)/n}function s(e){let t=l.useRef(e);return i(()=>{t.current=e}),t}function f(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:f=[],platform:d,elements:{reference:p,floating:g}={},transform:m=!0,whileElementsMounted:h,open:v}=e,[y,b]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,w]=l.useState(f);u(x,f)||w(f);let[C,k]=l.useState(null),[R,S]=l.useState(null),P=l.useCallback(e=>{e!==T.current&&(T.current=e,k(e))},[]),F=l.useCallback(e=>{e!==A.current&&(A.current=e,S(e))},[]),M=p||C,E=g||R,T=l.useRef(null),A=l.useRef(null),N=l.useRef(y),L=null!=h,I=s(h),O=s(d),j=s(v),z=l.useCallback(()=>{if(!T.current||!A.current)return;let e={placement:t,strategy:n,middleware:x};O.current&&(e.platform=O.current),(0,r.oo)(T.current,A.current,e).then(e=>{let t={...e,isPositioned:!1!==j.current};D.current&&!u(N.current,t)&&(N.current=t,o.flushSync(()=>{b(t)}))})},[x,t,n,O,j]);i(()=>{!1===v&&N.current.isPositioned&&(N.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[v]);let D=l.useRef(!1);i(()=>(D.current=!0,()=>{D.current=!1}),[]),i(()=>{if(M&&(T.current=M),E&&(A.current=E),M&&E){if(I.current)return I.current(M,E,z);z()}},[M,E,z,I,L]);let B=l.useMemo(()=>({reference:T,floating:A,setReference:P,setFloating:F}),[P,F]),H=l.useMemo(()=>({reference:M,floating:E}),[M,E]),Y=l.useMemo(()=>{let e={position:n,left:0,top:0};if(!H.floating)return e;let t=c(H.floating,y.x),r=c(H.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...a(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,H.floating,y.x,y.y]);return l.useMemo(()=>({...y,update:z,refs:B,elements:H,floatingStyles:Y}),[y,z,B,H,Y])}let d=(e,t)=>{let n=(0,r.cv)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>{let n=(0,r.uY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},g=(e,t)=>{let n=(0,r.RR)(e);return{name:n.name,fn:n.fn,options:[e,t]}},m=(e,t)=>{let n=(0,r.dp)(e);return{name:n.name,fn:n.fn,options:[e,t]}}},89750:function(e,t,n){n.d(t,{ij:function(){return r}});function r(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}},34630:function(e,t,n){n.d(t,{__:function(){return h},bE:function(){return m},t0:function(){return p},wp:function(){return g}});var r=n(2265),l=n(13323),o=n(64518),i=n(12340),u=n(93689),a=n(6885),c=n(92807),s=n(91133),f=n(27847);let d=(0,r.createContext)(null);function p(){let e=(0,r.useContext)(d);if(null===e){let e=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,p),e}return e}function g(e){var t,n,l;let o=null!=(n=null==(t=(0,r.useContext)(d))?void 0:t.value)?n:void 0;return(null!=(l=null==e?void 0:e.length)?l:0)>0?[o,...e].filter(Boolean).join(" "):o}function m(){let{inherit:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=g(),[n,o]=(0,r.useState)([]),i=e?[t,...n].filter(Boolean):n;return[i.length>0?i.join(" "):void 0,(0,r.useMemo)(()=>function(e){let t=(0,l.z)(e=>(o(t=>[...t,e]),()=>o(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),n=(0,r.useMemo)(()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value}),[t,e.slot,e.name,e.props,e.value]);return r.createElement(d.Provider,{value:n},e.children)},[o])]}d.displayName="LabelContext";let h=Object.assign((0,f.yV)(function(e,t){var n;let d=(0,r.useId)(),g=p(),m=(0,c.Q)(),h=(0,a.B)(),{id:v="headlessui-label-".concat(d),htmlFor:y=null!=m?m:null==(n=g.props)?void 0:n.htmlFor,passive:b=!1,...x}=e,w=(0,u.T)(t);(0,o.e)(()=>g.register(v),[v,g.register]);let C=(0,l.z)(e=>{let t=e.currentTarget;if(!(e.target!==e.currentTarget&&s.jF(e.target))&&(s.dz(t)&&e.preventDefault(),g.props&&"onClick"in g.props&&"function"==typeof g.props.onClick&&g.props.onClick(e),s.dz(t))){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let n=e.getAttribute("aria-disabled");if("true"===n||""===n)return;(s.LL(e)&&("file"===e.type||"radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}}),k=(0,i.x)({...g.slot,disabled:h||!1}),R={ref:w,...g.props,id:v,htmlFor:y,onClick:C};return b&&("onClick"in R&&(delete R.htmlFor,delete R.onClick),"onClick"in x&&delete x.onClick),(0,f.L6)()({ourProps:R,theirProps:x,slot:k,defaultTag:y?"label":"div",name:g.name||"Label"})}),{})},1265:function(e,t,n){let r;n.d(t,{t:function(){return l}});var l=((r=l||{})[r.Left=0]="Left",r[r.Right=2]="Right",r)},40993:function(e,t,n){n.d(t,{h:function(){return u}});var r=n(2265),l=n(16015),o=n(64518);function i(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function u(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],[u,a]=(0,r.useState)(()=>i(t));return(0,o.e)(()=>
1{if(!t||!e)return;let n=(0,l.k)();return n.requestAnimationFrame(function e(){n.requestAnimationFrame(e),a(e=>{let n=i(t);return n.width===e.width&&n.height===e.height?e:n})}),()=>{n.dispose()}},[t,e]),n?{width:"".concat(u.width,"px"),height:"".concat(u.height,"px")}:u}},54971:function(e,t,n){n.d(t,{a:function(){return u}});var r=n(2265),l=n(1265),o=n(47634),i=n(13323);function u(e){let t=(0,r.useRef)(null);return{onPointerDown:(0,i.z)(n=>{t.current=n.pointerType,(0,o.P)(n.currentTarget)||"mouse"!==n.pointerType||n.button!==l.t.Left||(n.preventDefault(),e(n))}),onClick:(0,i.z)(n=>{"mouse"!==t.current&&((0,o.P)(n.currentTarget)||e(n))})}}},18303:function(e,t,n){let r;n.d(t,{G:function(){return c},a:function(){return a}});var l=n(2265),o=n(91133),i=n(70208),u=((r=u||{})[r.Ignore=0]="Ignore",r[r.Select=1]="Select",r[r.Close=2]="Close",r);let a={Ignore:{kind:0},Select:e=>({kind:1,target:e}),Close:{kind:2}};function c(e,t){let{trigger:n,action:r,close:u,select:a}=t,c=(0,l.useRef)(null),s=(0,l.useRef)(null),f=(0,l.useRef)(null);(0,i.I)(e&&null!==n,"pointerdown",e=>{o.UG(null==e?void 0:e.target)&&null!=n&&n.contains(e.target)&&(s.current=e.x,f.current=e.y,c.current=e.timeStamp)}),(0,i.I)(e&&null!==n,"pointerup",e=>{var t,n;let l=c.current;if(null===l||(c.current=null,!o.sP(e.target))||5>Math.abs(e.x-(null!=(t=s.current)?t:e.x))&&5>Math.abs(e.y-(null!=(n=f.current)?n:e.y)))return;let i=r(e);switch(i.kind){case 0:return;case 1:e.timeStamp-l>200&&(a(i.target),u());break;case 2:u()}},{capture:!0})}},15518:function(e,t,n){n.d(t,{g:function(){return o}});var r=n(2265);function l(e){return[e.screenX,e.screenY]}function o(){let e=(0,r.useRef)([-1,-1]);return{wasMoved(t){let n=l(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=l(t)}}}},30054:function(e,t,n){n.d(t,{AZ:function(){return g},ES:function(){return v},HO:function(){return y},L:function(){return m},U8:function(){return h},Vy:function(){return p}});var r=n(61896),l=n(97859),o=n(51050),i=n(2265),u=n(90945),a=n(13323),c=n(64518),s=n(91133);let f=(0,i.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});f.displayName="FloatingContext";let d=(0,i.createContext)(null);function p(e){return(0,i.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}function g(){return(0,i.useContext)(f).setReference}function m(){return(0,i.useContext)(f).getReferenceProps}function h(){let{getFloatingProps:e,slot:t}=(0,i.useContext)(f);return(0,i.useCallback)(function(){for(var n=arguments.length,r=Array(n),l=0;l<n;l++)r[l]=arguments[l];return Object.assign({},e(...r),{"data-anchor":t.anchor})},[e,t])}function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,i.useContext)(d),n=(0,i.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t})]);(0,c.e)(()=>{null==t||t(null!=n?n:null)},[t,n]);let r=(0,i.useContext)(f);return(0,i.useMemo)(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}function y(e){var t,n,u;let p,g,m,{children:h,enabled:v=!0}=e,[y,x]=(0,i.useState)(null),[w,C]=(0,i.useState)(0),k=(0,i.useRef)(null),[R,S]=(0,i.useState)(null);(0,c.e)(()=>{if(!R)return;let e=new MutationObserver(()=>{let e=window.getComputedStyle(R).maxHeight,t=parseFloat(e);if(isNaN(t))return;let n=parseInt(e);isNaN(n)||t!==n&&(R.style.maxHeight="".concat(Math.ceil(t),"px"))});return e.observe(R,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[R]);let P=v&&null!==y&&null!==R,{to:F="bottom",gap:M=0,offset:E=0,padding:T=0,inner:A}=(p=b(null!=(t=null==y?void 0:y.gap)?t:"var(--anchor-gap, 0)",R),g=b(null!=(n=null==y?void 0:y.offset)?n:"var(--anchor-offset, 0)",R),m=b(null!=(u=null==y?void 0:y.padding)?u:"var(--anchor-padding, 0)",R),{...y,gap:p,offset:g,padding:m}),[N,L="center"]=F.split(" ");(0,c.e)(()=>{P&&C(0)},[P]);let{refs:I,floatingStyles:O,context:j}=(0,r.YF)({open:P,placement:"selection"===N?"center"===L?"bottom":"bottom-".concat(L):"center"===L?"".concat(N):"".concat(N,"-").concat(L),strategy:"absolute",transform:!1,middleware:[(0,l.cv)({mainAxis:"selection"===N?0:M,crossAxis:E}),(0,l.uY)({padding:T}),"selection"!==N&&(0,l.RR)({padding:T}),"selection"===N&&A?(0,r.aN)({...A,padding:T,overflowRef:k,offset:w,minItemsVisible:4,referenceOverflowThreshold:T,onFallbackChange(e){var t,n;if(!e)return;let r=j.elements.floating;if(!r)return;
1let l=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,o=Math.min(4,r.childElementCount),i=0,u=0;for(let e of null!=(n=null==(t=j.elements.floating)?void 0:t.childNodes)?n:[])if(s.Re(e)){let t=e.offsetTop,n=t+e.clientHeight+l,a=r.scrollTop,c=a+r.clientHeight;if(t>=a&&n<=c)o--;else{u=Math.max(0,Math.min(n,c)-Math.max(t,a)),i=e.clientHeight;break}}o>=1&&C(e=>{let t=i*o-u+l;return e>=t?e:t})}}):null,(0,l.dp)({padding:T,apply(e){let{availableWidth:t,availableHeight:n,elements:r}=e;Object.assign(r.floating.style,{overflow:"auto",maxWidth:"".concat(t,"px"),maxHeight:"min(var(--anchor-max-height, 100vh), ".concat(n,"px)")})}})].filter(Boolean),whileElementsMounted:o.Me}),[z=N,D=L]=j.placement.split("-");"selection"===N&&(z="selection");let B=(0,i.useMemo)(()=>({anchor:[z,D].filter(Boolean).join(" ")}),[z,D]),H=(0,r.Rz)(j,{overflowRef:k,onChange:C}),{getReferenceProps:Y,getFloatingProps:_}=(0,r.NI)([H]),V=(0,a.z)(e=>{S(e),I.setFloating(e)});return i.createElement(d.Provider,{value:x},i.createElement(f.Provider,{value:{setFloating:V,setReference:I.setReference,styles:O,getReferenceProps:Y,getFloatingProps:_,slot:B}},h))}function b(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=(0,u.G)(),l=(0,a.z)((e,t)=>{if(null==e)return[n,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[n,null];let l=x(e,t);return[l,n=>{let o=function e(t){let n=/var\((.*)\)/.exec(t);if(n){let t=n[1].indexOf(",");if(-1===t)return[n[1]];let r=n[1].slice(0,t).trim(),l=n[1].slice(t+1).trim();return l?[r,...e(l)]:[r]}return[]}(e);{let i=o.map(e=>window.getComputedStyle(t).getPropertyValue(e));r.requestAnimationFrame(function u(){r.nextFrame(u);let a=!1;for(let[e,n]of o.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(i[e]!==r){i[e]=r,a=!0;break}}if(!a)return;let c=x(e,t);l!==c&&(n(c),l=c)})}return r.dispose}]}return[n,null]}),o=(0,i.useMemo)(()=>l(e,t)[0],[e,t]),[s=o,f]=(0,i.useState)();return(0,c.e)(()=>{let[n,r]=l(e,t);if(f(n),r)return r(f)},[e,t]),s}function x(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}d.displayName="PlacementContext"},92807:function(e,t,n){n.d(t,{Q:function(){return o}});var r=n(2265);let l=(0,r.createContext)(void 0);function o(){return(0,r.useContext)(l)}},47634:function(e,t,n){n.d(t,{P:function(){return l}});var r=n(91133);function l(e){let t=e.parentElement,n=null;for(;t&&!r.zO(t);)r.CD(t)&&(n=t),t=t.parentElement;let l=(null==t?void 0:t.getAttribute("disabled"))==="";return!(l&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(r.CD(t))return!1;t=t.previousElementSibling}return!0}(n))&&l}},34778:function(e,t,n){let r;n.d(t,{T:function(){return l},d:function(){return o}});var l=((r=l||{})[r.First=0]="First",r[r.Previous=1]="Previous",r[r.Next=2]="Next",r[r.Last=3]="Last",r[r.Specific=4]="Specific",r[r.Nothing=5]="Nothing",r);function o(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),l=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:-1===l&&(l=n.length);for(let e=l-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=l+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:!function(e){throw Error("Unexpected object: "+e)}(e)}}},3853:function(e,t,n){n.d(t,{On:function(){return l},hS:function(){return i},kn:function(){return o}});var r=n(16015);let l={Idle:{kind:"Idle"},Tracked:e=>({kind:"Tracked",position:e}),Moved:{kind:"Moved"}};function o(e){let t=e.getBoundingClientRect();return"".concat(t.x,",").concat(t.y)}function i(e,t,n){let l=(0,r.k)();if("Tracked"===t.kind){let r=function(){i!==o(e)&&(l.dispose(),n())},{position:i}=t,u=new ResizeObserver(r);u.observe(e),l.add(()=>u.disconnect()),l.addEventListener(window,"scroll",r,{passive:!0}),l.addEventListener(window,"resize",r)}return()=>
1l.dispose()}}}]);

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.