PageSourceSearch

https://labiche-renard.com/_next/static/chunks/9523-9bb4abde96d2475c.js

js labiche-renard.com collected 2026-10-05 01:24:06 UTC 31,801 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9523],{2866:function(e,t,r){r.d(t,{B:function(){return a}});var s=r(7294),i=r(7536),a=function(e){var t=e.as,r=e.errors,a=e.name,n=e.message,o=e.render,l=function(e,t){if(null==e)return{};var r,s,i={},a=Object.keys(e);for(s=0;s<a.length;s++)t.indexOf(r=a[s])>=0||(i[r]=e[r]);return i}(e,["as","errors","name","message","render"]),u=(0,i.Gc)(),f=(0,i.U2)(r||u.formState.errors,a);if(!f)return null;var d=f.message,c=f.types,h=Object.assign({},l,{children:d||n});return s.isValidElement(t)?s.cloneElement(t,h):o?o({message:d||n,messages:c}):s.createElement(t||s.Fragment,h)}},8228:function(e,t,r){r.d(t,{D:function(){return c}});var s=r(7294),i=r(2161),a=r(2937),n=r(81),o=r(3989);class l extends o.l{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;let r=this.options;this.options=this.client.defaultMutationOptions(e),(0,i.VS)(r,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.currentMutation)||e.removeObserver(this)}}onMutationUpdate(e){this.updateResult();let t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let e=this.currentMutation?this.currentMutation.state:(0,a.R)(),t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){n.V.batch(()=>{if(this.mutateOptions&&this.hasListeners()){var t,r,s,i,a,n,o,l;e.onSuccess?(null==(t=(r=this.mutateOptions).onSuccess)||t.call(r,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(s=(i=this.mutateOptions).onSettled)||s.call(i,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):e.onError&&(null==(a=(n=this.mutateOptions).onError)||a.call(n,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(o=(l=this.mutateOptions).onSettled)||o.call(l,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)})})}}var u=r(464),f=r(5945),d=r(4798);function c(e,t,r){let a=(0,i.lV)(e,t,r),o=(0,f.NL)({context:a.context}),[c]=s.useState(()=>new l(o,a));s.useEffect(()=>{c.setOptions(a)},[c,a]);let p=(0,u.$)(s.useCallback(e=>c.subscribe(n.V.batchCalls(e)),[c]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),y=s.useCallback((e,t)=>{c.mutate(e,t).catch(h)},[c]);if(p.error&&(0,d.L)(c.options.useErrorBoundary,[p.error]))throw p.error;return{...p,mutate:y,mutateAsync:p.mutate}}function h(){}},9576:function(e,t,r){r.d(t,{ZP:function(){return R}});class s extends Error{constructor(e,t,r){let s=e.status||0===e.status?e.status:"",i=e.statusText||"",a=`${s} ${i}`.trim(),n=a?`status code ${a}`:"an unknown error";super(`Request failed with ${n}`),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="HTTPError",this.response=e,this.request=t,this.options=r}}class i extends Error{constructor(e){super("Request timed out"),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.request=e}}let a=e=>null!==e&&"object"==typeof e,n=(...e)=>{for(let t of e)if((!a(t)||Array.isArray(t))&&void 0!==t)throw TypeError("The `options` argument must be an object");return l({},...e)},o=(e={},t={})=>{let r=new globalThis.Headers(e),s=t instanceof globalThis.Headers,i=new globalThis.Headers(t);for(let[e,t]of i.entries())s&&"undefined"===t||void 0===t?r.delete(e):r.set(e,t);return r},l=(...e)=>{let t={},r={};for(let s of e)if(Array.isArray(s))Array.isArray(t)||(t=[]),t=[...t,...s];else if(a(s)){for(let[e,r]of Object.entries(s))a(r)&&e in t&&(r=l(t[e],r)),t={...t,[e]:r};a(s.headers)&&(r=o(r,s.headers),t.headers=r)}return t},u=(()=>{let e=!1,t=!1,r="function"==typeof globalThis.ReadableStream,s="function"==typeof globalThis.Request;return r&&s&&(t=new globalThis.Request("https://a.com",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type")),e&&!t})(),f="function"==typeof globalThis.AbortController,d="function"==typeof globalThis.ReadableStream,c="function"==typeof globalThis.FormData,h=["get","post","put","patch","head","delete"],p={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},y=Symbol("stop"),m=e=>h.includes(e)?e.toUpperCase():e,b=[413,429,503],g={limit:2,methods:["get","put","head","delete","options","trace"],statusCodes:[408,413,429,500,502,503,504],afterStatusCodes:b,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY},v=(e={})=>
1{if("number"==typeof e)return{...g,limit:e};if(e.methods&&!Array.isArray(e.methods))throw Error("retry.methods must be an array");if(e.statusCodes&&!Array.isArray(e.statusCodes))throw Error("retry.statusCodes must be an array");return{...g,...e,afterStatusCodes:b}};async function _(e,t,r){return new Promise((s,a)=>{let n=setTimeout(()=>{t&&t.abort(),a(new i(e))},r.timeout);r.fetch(e).then(s).catch(a).then(()=>{clearTimeout(n)})})}let w=!!globalThis.DOMException;function A(e){if(w)return new DOMException(e?.reason??"The operation was aborted.","AbortError");let t=Error(e?.reason??"The operation was aborted.");return t.name="AbortError",t}async function x(e,{signal:t}){return new Promise((r,s)=>{if(t){if(t.aborted){s(A(t));return}t.addEventListener("abort",i,{once:!0})}function i(){s(A(t)),clearTimeout(a)}let a=setTimeout(()=>{t?.removeEventListener("abort",i),r()},e)})}class S{static create(e,t){let r=new S(e,t),i=async()=>{if(r._options.timeout>2147483647)throw RangeError("The `timeout` option cannot be greater than 2147483647");await Promise.resolve();let e=await r._fetch();for(let t of r._options.hooks.afterResponse){let s=await t(r.request,r._options,r._decorateResponse(e.clone()));s instanceof globalThis.Response&&(e=s)}if(r._decorateResponse(e),!e.ok&&r._options.throwHttpErrors){let t=new s(e,r.request,r._options);for(let e of r._options.hooks.beforeError)t=await e(t);throw t}if(r._options.onDownloadProgress){if("function"!=typeof r._options.onDownloadProgress)throw TypeError("The `onDownloadProgress` option must be a function");if(!d)throw Error("Streams are not supported in your environment. `ReadableStream` is missing.");return r._stream(e.clone(),r._options.onDownloadProgress)}return e},a=r._options.retry.methods.includes(r.request.method.toLowerCase()),n=a?r._retry(i):i();for(let[e,s]of Object.entries(p))n[e]=async()=>{r.request.headers.set("accept",r.request.headers.get("accept")||s);let i=await n,a=i.clone();if("json"===e){if(204===a.status)return"";let e=await a.clone().arrayBuffer(),r=e.byteLength;if(0===r)return"";if(t.parseJson)return t.parseJson(await a.text())}return a[e]()};return n}constructor(e,t={}){if(Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"abortController",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_retryCount",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._input=e,this._options={credentials:this._input.credentials||"same-origin",...t,headers:o(this._input.headers,t.headers),hooks:l({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},t.hooks),method:m(t.method??this._input.method),prefixUrl:String(t.prefixUrl||""),retry:v(t.retry),throwHttpErrors:!1!==t.throwHttpErrors,timeout:void 0===t.timeout?1e4:t.timeout,fetch:t.fetch??globalThis.fetch.bind(globalThis)},"string"!=typeof this._input&&!(this._input instanceof URL||this._input instanceof globalThis.Request))throw TypeError("`input` must be a string, URL, or Request");if(this._options.prefixUrl&&"string"==typeof this._input){if(this._input.startsWith("/"))throw Error("`input` must not begin with a slash when using `prefixUrl`");this._options.prefixUrl.endsWith("/")||(this._options.prefixUrl+="/"),this._input=this._options.prefixUrl+this._input}if(f){if(this.abortController=new globalThis.AbortController,this._options.signal){let e=this._options.signal;this._options.signal.addEventListener("abort",()=>{this.abortController.abort(e.reason)})}this._options.signal=this.abortController.signal}if(u&&(this._options.duplex="half"),this.request=new globalThis.Request(this._input,this._options),this._options.searchParams){let e="string"==typeof this._options.searchParams?this._options.searchParams.replace(/^\?/,""):new URLSearchParams(this._options.searchParams).toString(),t=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,"?"+e);(c&&this._options.body instanceof globalThis.FormData||this._options.body instanceof URLSearchParams)&&!(this._options.headers&&this._options.headers["content-type"])&&this.request.headers.delete("content-type"),this.request=new globalThis.Request(new globalThis.Request(t,{...this.request}),this._options)}void 0!==this._options.json&&(this._options.body=JSON.stringify(this._options.json),this.request.headers.set("content-type",this._options.headers.get("content-type")??"application/json"),this.request=new globalThis.Request(this.request,{body:this._options.body}))}_calculateRetryDelay(e){if(this._retryCount++,this._retryCount<this._options.retry.limit&&!(e instanceof i)){if(e instanceof s){if(!this._options.retry.statusCodes.includes(e.response.status))return 0;let t=e.response.headers.get("Retry-After");if(t&&this._options.retry.afterStatusCodes.includes(e.response.status)){let e=Number(t);return(Number.isNaN(e)?e=Date.parse(t)-Date.now():e*=1e3,void 0!==this._options.retry.maxRetryAfter&&e>this._options.retry.maxRetryAfter)?0:e}if(413===e.response.status)return 0}return Math.min(this._options.retry.backoffLimit,.3*2**(this._retryCount-1)*1e3)}return 0}_decorateResponse(e){return this._options.parseJson&&(e.json=async()=>this._options.parseJson(await e.text())),e}async _retry(e){try{return await e()}catch(r){let t=Math.min(this._calculateRetryDelay(r),2147483647);if(0!==t&&this._retryCount>0){for(let e of(await x(t,{signal:this._options.signal}),this._options.hooks.beforeRetry)){let t=await e({request:this.request,options:this._options,error:r,retryCount:this._retryCount});if(t===y)return}return this._retry(e)}throw r}}async _fetch(){for(let e of this._options.hooks.beforeRequest){let t=await e(this.request,this._options);if(t instanceof Request){this.request=t;break}if(t instanceof Response)return t}return!1===this._options.timeout?this._options.fetch(this.request.clone()):_(this.request.clone(),this.abortController,this._options)}_stream(e,t){let r=Number(e.headers.get("content-length"))||0,s=0;return 204===e.status?(t&&t({percent:1,totalBytes:r,transferredBytes:s},new Uint8Array),new globalThis.Response(null,{status:e.status,statusText:e.statusText,headers:e.headers})):new globalThis.Response(new globalThis.ReadableStream({async start(i){let a=e.body.getReader();async function n(){let{done:e,value:o}=await a.read();if(e){i.close();return}if(t){s+=o.byteLength;let e=0===r?0:s/r;t({percent:e,transferredBytes:s,totalBytes:r},o)}i.enqueue(o),await n()}t&&t({percent:0,transferredBytes:0,totalBytes:r},new Uint8Array),await n()}}),{status:e.status,statusText:e.statusText,headers:e.headers})}}/*! MIT License © Sindre Sorhus */let V=e=>{let t=(t,r)=>S.create(t,n(e,r));for(let r of h)t[r]=(t,s)=>S.create(t,n(e,s,{method:r}));return t.create=e=>V(n(e)),t.extend=t=>V(n(e,t)),t.stop=y,t},T=V();var R=T},7536:function(e,t,r){r.d(t,{Gc:function(){return A},U2:function(){return b},cI:function(){return eb}});var s=r(7294),i=e=>"checkbox"===e.type,a=e=>e instanceof Date,n=e=>null==e;let o=e=>"object"==typeof e;var l=e=>!n(e)&&!Array.isArray(e)&&o(e)&&!a(e),u=e=>l(e)&&e.target?i(e.target)?e.target.checked:e.target.value:e,f=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,d=(e,t)=>e.has(f(t)),c=e=>{let t=e.constructor&&e.constructor.prototype;return l(t)&&t.hasOwnProperty("isPrototypeOf")},h="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function p(e){let t;let r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(h&&(e instanceof Blob||e instanceof FileList))&&(r||l(e))))return e;else if(t=r?[]:{},r||c(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=p(e[r]));else t=e;return t}var y=e=>Array.isArray(e)?e.filter(Boolean):[],m=e=>void 0===e,b=(e,t,r)=>{if(!t||!l(e))return r;let s=y(t.split(/[,[\].]+?/)).reduce((e,t)=>
1n(e)?e:e[t],e);return m(s)||s===e?m(e[t])?r:e[t]:s};let g={BLUR:"blur",FOCUS_OUT:"focusout"},v={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},_={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},w=s.createContext(null),A=()=>s.useContext(w);var x=(e,t,r,s=!0)=>{let i={defaultValues:t._defaultValues};for(let a in e)Object.defineProperty(i,a,{get:()=>(t._proxyFormState[a]!==v.all&&(t._proxyFormState[a]=!s||v.all),r&&(r[a]=!0),e[a])});return i},S=e=>l(e)&&!Object.keys(e).length,V=(e,t,r,s)=>{r(e);let{name:i,...a}=e;return S(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!s||v.all))},T=e=>Array.isArray(e)?e:[e],R=e=>"string"==typeof e,O=(e,t,r,s,i)=>R(e)?(s&&t.watch.add(e),b(r,e,i)):Array.isArray(e)?e.map(e=>(s&&t.watch.add(e),b(r,e))):(s&&(t.watchAll=!0),r),k=e=>/^\w*$/.test(e),D=e=>y(e.replace(/["|']|\]/g,"").split(/\.|\[/));function F(e,t,r){let s=-1,i=k(t)?[t]:D(t),a=i.length,n=a-1;for(;++s<a;){let t=i[s],a=r;if(s!==n){let r=e[t];a=l(r)||Array.isArray(r)?r:isNaN(+i[s+1])?{}:[]}e[t]=a,e=e[t]}return e}var C=(e,t,r,s,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[s]:i||!0}}:{};let E=(e,t,r)=>{for(let s of r||Object.keys(e)){let r=b(e,s);if(r){let{_f:e,...s}=r;if(e&&t(e.name)){if(e.ref.focus){e.ref.focus();break}if(e.refs&&e.refs[0].focus){e.refs[0].focus();break}}else l(s)&&E(s,t)}}};var q=e=>({isOnSubmit:!e||e===v.onSubmit,isOnBlur:e===v.onBlur,isOnChange:e===v.onChange,isOnAll:e===v.all,isOnTouch:e===v.onTouched}),L=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),j=(e,t,r)=>{let s=y(b(e,r));return F(s,"root",t[r]),F(e,r,s),e},U=e=>"boolean"==typeof e,M=e=>"file"===e.type,P=e=>"function"==typeof e,N=e=>{if(!h)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},B=e=>R(e),I=e=>"radio"===e.type,H=e=>e instanceof RegExp;let $={value:!1,isValid:!1},J={value:!0,isValid:!0};var W=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!m(e[0].attributes.value)?m(e[0].value)||""===e[0].value?J:{value:e[0].value,isValid:!0}:J:$}return $};let G={isValid:!1,value:null};var Y=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,G):G;function Z(e,t,r="validate"){if(B(e)||Array.isArray(e)&&e.every(B)||U(e)&&!e)return{type:r,message:B(e)?e:"",ref:t}}var z=e=>l(e)&&!H(e)?e:{value:e,message:""},K=async(e,t,r,s,a)=>{let{ref:o,refs:u,required:f,maxLength:d,minLength:c,min:h,max:p,pattern:y,validate:g,name:v,valueAsNumber:w,mount:A,disabled:x}=e._f,V=b(t,v);if(!A||x)return{};let T=u?u[0]:o,O=e=>{s&&T.reportValidity&&(T.setCustomValidity(U(e)?"":e||""),T.reportValidity())},k={},D=I(o),F=i(o),E=(w||M(o))&&m(o.value)&&m(V)||N(o)&&""===o.value||""===V||Array.isArray(V)&&!V.length,q=C.bind(null,v,r,k),L=(e,t,r,s=_.maxLength,i=_.minLength)=>{let a=e?t:r;k[v]={type:e?s:i,message:a,ref:o,...q(e?s:i,a)}};if(a?!Array.isArray(V)||!V.length:f&&(!(D||F)&&(E||n(V))||U(V)&&!V||F&&!W(u).isValid||D&&!Y(u).isValid)){let{value:e,message:t}=B(f)?{value:!!f,message:f}:z(f);if(e&&(k[v]={type:_.required,message:t,ref:T,...q(_.required,t)},!r))return O(t),k}if(!E&&(!n(h)||!n(p))){let e,t;let s=z(p),i=z(h);if(n(V)||isNaN(V)){let r=o.valueAsDate||new Date(V),a=e=>new Date(new Date().toDateString()+" "+e),n="time"==o.type,l="week"==o.type;R(s.value)&&V&&(e=n?a(V)>a(s.value):l?V>s.value:r>new Date(s.value)),R(i.value)&&V&&(t=n?a(V)<a(i.value):l?V<i.value:r<new Date(i.value))}else{let r=o.valueAsNumber||(V?+V:V);n(s.value)||(e=r>s.value),n(i.value)||(t=r<i.value)}if((e||t)&&(L(!!e,s.message,i.message,_.max,_.min),!r))return O(k[v].message),k}if((d||c)&&!E&&(R(V)||a&&Array.isArray(V))){let e=z(d),t=z(c),s=!n(e.value)&&V.length>+e.value,i=!n(t.value)&&V.length<+t.value;if((s||i)&&(L(s,e.message,t.message),!r))return O(k[v].message),k}if(y&&!E&&R(V)){let{value:e,message:t}=z(y);if(H(e)&&!V.match(e)&&(k[v]={type:_.pattern,message:t,ref:o,...q(_.pattern,t)},!r))return O(t),k}if(g){if(P(g)){let e=await g(V,t),s=Z(e,T);if(s&&(k[v]={...s,...q(_.validate,s.message)},!r))return O(s.message),k}else if(l(g)){let e={};for(let s in g){if(!S(e)&&!r)break;let i=Z(await g[s](V,t),T,s);i&&(e={...i,...q(s,i.message)},O(i.message),r&&(k[v]=e))}if(!S(e)&&(k[v]={ref:T,...e},!r))return k}}return O(!0),k};function Q(e,t){let r=Array.isArray(t)?t:k(t)?[t]:D(t),s=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,s=0;for(;s<r;)e=m(e)?s++:e[t[s++]];return e}(e,r),i=r.length-1,a=r[i];return s&&delete s[a],0!==i&&(l(s)&&S(s)||Array.isArray(s)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!m(e[t]))return!1;return!0}(s))&&Q(e,r.slice(0,-1)),e}function X(){let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}}var ee=e=>n(e)||!o(e);function et(e,t){if(ee(e)||ee(t))return e===t;if(a(e)&&a(t))return e.getTime()===t.getTime();let r=Object.keys(e),s=Object.keys(t);if(r.length!==s.length)return!1;for(let i of r){let r=e[i];if(!s.includes(i))return!1;if("ref"!==i){let e=t[i];if(a(r)&&a(e)||l(r)&&l(e)||Array.isArray(r)&&Array.isArray(e)?!et(r,e):r!==e)return!1}}return!0}var er=e=>"select-multiple"===e.type,es=e=>I(e)||i(e),ei=e=>N(e)&&e.isConnected,ea=e=>{for(let t in e)if(P(e[t]))return!0;return!1};function en(e,t={}){let r=Array.isArray(e);if(l(e)||r)for(let r in e)Array.isArray(e[r])||l(e[r])&&!ea(e[r])?(t[r]=Array.isArray(e[r])?[]:{},en(e[r],t[r])):n(e[r])||(t[r]=!0);return t}var eo=(e,t)=>(function e(t,r,s){let i=Array.isArray(t);if(l(t)||i)for(let i in t)Array.isArray(t[i])||l(t[i])&&!ea(t[i])?m(r)||ee(s[i])?s[i]=Array.isArray(t[i])?en(t[i],[]):{...en(t[i])}:e(t[i],n(r)?{}:r[i],s[i]):s[i]=!et(t[i],r[i]);return s})(e,t,en(t)),el=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:s})=>m(e)?e:t?""===e?NaN:e?+e:e:r&&R(e)?new Date(e):s?s(e):e;function eu(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:M(t)?t.files:I(t)?Y(e.refs).value:er(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?W(e.refs).value:el(m(t.value)?e.ref.value:t.value,e)}var ef=(e,t,r,s)=>{let i={};for(let r of e){let e=b(t,r);e&&F(i,r,e._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:s}},ed=e=>m(e)?e:H(e)?e.source:l(e)?H(e.value)?e.value.source:e.value:e,ec=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function eh(e,t,r){let s=b(e,r);if(s||k(r))return{error:s,name:r};let i=r.split(".");for(;i.length;){let s=i.join("."),a=b(t,s),n=b(e,s);if(a&&!Array.isArray(a)&&r!==s)break;if(n&&n.type)return{name:s,error:n};i.pop()}return{name:r}}var ep=(e,t,r,s,i)=>!i.isOnAll&&(!r&&i.isOnTouch?!(t||e):(r?s.isOnBlur:i.isOnBlur)?!e:(r?!s.isOnChange:!i.isOnChange)||e),ey=(e,t)=>!y(b(e,t)).length&&Q(e,t);let em={mode:v.onSubmit,reValidateMode:v.onChange,shouldFocusError:!0};function eb(e={}){let t=s.useRef(),r=s.useRef(),[o,f]=s.useState({isDirty:!1,isValidating:!1,isLoading:P(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:P(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={},t){let r,s={...em,...e},o={submitCount:0,isDirty:!1,isLoading:P(s.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},f={},c=(l(s.defaultValues)||l(s.values))&&p(s.defaultValues||s.values)||{},_=s.shouldUnregister?{}:p(c),w={action:!1,mount:!1,watch:!1},A={mount:new Set,unMount:new Set,array:new Set,watch:new Set},x=0,V={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},k={values:X(),array:X(),state:X()},D=e.resetOptions&&e.resetOptions.keepDirtyValues,C=q(s.mode),B=q(s.reValidateMode),I=s.criteriaMode===v.all,H=e=>t=>{clearTimeout(x),x=setTimeout(e,t)},$=async e=>{if(V.isValid||e){let e=s.resolver?S((await z()).errors):await en(f,!0);e!==o.isValid&&k.state.next({isValid:e})}},J=e=>V.isValidating&&k.state.next({isValidating:e}),W=(e,t)=>{F(o.errors,e,t),k.state.next({errors:o.errors})},G=(e,t,r,s)=>{let i=b(f,e);if(i){let a=b(_,e,m(r)?b(c,e):r);m(a)||s&&s.defaultChecked||t?F(_,e,t?a:eu(i._f)):ev(e,a),w.mount&&$()}},Y=(e,t,r,s,i)=>{let a=!1,n=!1,l={name:e};if(!r||s){V.isDirty&&(n=o.isDirty,o.isDirty=l.isDirty=eb(),a=n!==l.isDirty);let r=et(b(c,e),t);n=b(o.dirtyFields,e),r?Q(o.dirtyFields,e):F(o.dirtyFields,e,!0),l.dirtyFields=o.dirtyFields,a=a||V.dirtyFields&&!r!==n}if(r){let t=b(o.touchedFields,e);t||(F(o.touchedFields,e,r),l.touchedFields=o.touchedFields,a=a||V.touchedFields&&t!==r)}return a&&i&&k.state.next(l),a?l:{}},Z=(t,s,i,a)=>{let n=b(o.errors,t),l=V.isValid&&U(s)&&o.isValid!==s;if(e.delayError&&i?(r=H(()=>W(t,i)))(e.delayError):(clearTimeout(x),r=null,i?F(o.errors,t,i):Q(o.errors,t)),(i?!et(n,i):n)||!S(a)||l){let e={...a,...l&&U(s)?{isValid:s}:{},errors:o.errors,name:t};o={...o,...e},k.state.next(e)}J(!1)},z=async e=>s.resolver(_,s.context,ef(e||A.mount,f,s.criteriaMode,s.shouldUseNativeValidation)),ea=async e=>{let{errors:t}=await z();if(e)for(let r of e){let e=b(t,r);e?F(o.errors,r,e):Q(o.errors,r)}else o.errors=t;return t},en=async(e,t,r={valid:!0})=>{for(let i in e){let a=e[i];if(a){let{_f:e,...i}=a;if(e){let i=A.array.has(e.name),n=await K(a,_,I,s.shouldUseNativeValidation&&!t,i);if(n[e.name]&&(r.valid=!1,t))break;t||(b(n,e.name)?i?j(o.errors,n,e.name):F(o.errors,e.name,n[e.name]):Q(o.errors,e.name))}i&&await en(i,t,r)}}return r.valid},eb=(e,t)=>(e&&t&&F(_,e,t),!et(eS(),c)),eg=(e,t,r)=>O(e,A,{...w.mount?_:m(t)?c:R(e)?{[e]:t}:t},r,t),ev=(e,t,r={})=>{let s=b(f,e),a=t;if(s){let r=s._f;r&&(r.disabled||F(_,e,el(t,r)),a=N(r.ref)&&n(t)?"":t,er(r.ref)?[...r.ref.options].forEac
1h(e=>e.selected=a.includes(e.value)):r.refs?i(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(a)?!!a.find(t=>t===e.value):a===e.value)):r.refs[0]&&(r.refs[0].checked=!!a):r.refs.forEach(e=>e.checked=e.value===a):M(r.ref)?r.ref.value="":(r.ref.value=a,r.ref.type||k.values.next({name:e,values:{..._}})))}(r.shouldDirty||r.shouldTouch)&&Y(e,a,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&ex(e)},e_=(e,t,r)=>{for(let s in t){let i=t[s],n=`${e}.${s}`,o=b(f,n);!A.array.has(e)&&ee(i)&&(!o||o._f)||a(i)?ev(n,i,r):e_(n,i,r)}},ew=(e,r,s={})=>{let i=b(f,e),a=A.array.has(e),l=p(r);F(_,e,l),a?(k.array.next({name:e,values:{..._}}),(V.isDirty||V.dirtyFields)&&s.shouldDirty&&k.state.next({name:e,dirtyFields:eo(c,_),isDirty:eb(e,l)})):!i||i._f||n(l)?ev(e,l,s):e_(e,l,s),L(e,A)&&k.state.next({...o}),k.values.next({name:e,values:{..._}}),w.mount||t()},eA=async e=>{let t=e.target,i=t.name,a=!0,n=b(f,i);if(n){let l,d;let c=t.type?eu(n._f):u(e),h=e.type===g.BLUR||e.type===g.FOCUS_OUT,p=!ec(n._f)&&!s.resolver&&!b(o.errors,i)&&!n._f.deps||ep(h,b(o.touchedFields,i),o.isSubmitted,B,C),y=L(i,A,h);F(_,i,c),h?(n._f.onBlur&&n._f.onBlur(e),r&&r(0)):n._f.onChange&&n._f.onChange(e);let m=Y(i,c,h,!1),v=!S(m)||y;if(h||k.values.next({name:i,type:e.type,values:{..._}}),p)return V.isValid&&$(),v&&k.state.next({name:i,...y?{}:m});if(!h&&y&&k.state.next({...o}),J(!0),s.resolver){let{errors:e}=await z([i]),t=eh(o.errors,f,i),r=eh(e,f,t.name||i);l=r.error,i=r.name,d=S(e)}else l=(await K(n,_,I,s.shouldUseNativeValidation))[i],(a=isNaN(c)||c===b(_,i,c))&&(l?d=!1:V.isValid&&(d=await en(f,!0)));a&&(n._f.deps&&ex(n._f.deps),Z(i,d,l,m))}},ex=async(e,t={})=>{let r,i;let a=T(e);if(J(!0),s.resolver){let t=await ea(m(e)?e:a);r=S(t),i=e?!a.some(e=>b(t,e)):r}else e?((i=(await Promise.all(a.map(async e=>{let t=b(f,e);return await en(t&&t._f?{[e]:t}:t)}))).every(Boolean))||o.isValid)&&$():i=r=await en(f);return k.state.next({...!R(e)||V.isValid&&r!==o.isValid?{}:{name:e},...s.resolver||!e?{isValid:r}:{},errors:o.errors,isValidating:!1}),t.shouldFocus&&!i&&E(f,e=>e&&b(o.errors,e),e?a:A.mount),i},eS=e=>{let t={...c,...w.mount?_:{}};return m(e)?t:R(e)?b(t,e):e.map(e=>b(t,e))},eV=(e,t)=>({invalid:!!b((t||o).errors,e),isDirty:!!b((t||o).dirtyFields,e),isTouched:!!b((t||o).touchedFields,e),error:b((t||o).errors,e)}),eT=(e,t,r)=>{let s=(b(f,e,{_f:{}})._f||{}).ref;F(o.errors,e,{...t,ref:s}),k.state.next({name:e,errors:o.errors,isValid:!1}),r&&r.shouldFocus&&s&&s.focus&&s.focus()},eR=(e,t={})=>{for(let r of e?T(e):A.mount)A.mount.delete(r),A.array.delete(r),t.keepValue||(Q(f,r),Q(_,r)),t.keepError||Q(o.errors,r),t.keepDirty||Q(o.dirtyFields,r),t.keepTouched||Q(o.touchedFields,r),s.shouldUnregister||t.keepDefaultValue||Q(c,r);k.values.next({values:{..._}}),k.state.next({...o,...t.keepDirty?{isDirty:eb()}:{}}),t.keepIsValid||$()},eO=(e,t={})=>{let r=b(f,e),i=U(t.disabled);return F(f,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),A.mount.add(e),m(t.value)||F(_,e,t.value),r?i&&F(_,e,t.disabled?void 0:b(_,e,eu(r._f))):G(e,!0,t.value),{...i?{disabled:t.disabled}:{},...s.progressive?{required:!!t.required,min:ed(t.min),max:ed(t.max),minLength:ed(t.minLength),maxLength:ed(t.maxLength),pattern:ed(t.pattern)}:{},name:e,onChange:eA,onBlur:eA,ref:i=>{if(i){eO(e,t),r=b(f,e);let s=m(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,a=es(s),n=r._f.refs||[];(a?n.find(e=>e===s):s===r._f.ref)||(F(f,e,{_f:{...r._f,...a?{refs:[...n.filter(ei),s,...Array.isArray(b(c,e))?[{}]:[]],ref:{type:s.type,name:e}}:{ref:s}}}),G(e,!1,void 0,s))}else(r=b(f,e,{}))._f&&(r._f.mount=!1),(s.shouldUnregister||t.shouldUnregister)&&!(d(A.array,e)&&w.action)&&A.unMount.add(e)}}},ek=()=>s.shouldFocusError&&E(f,e=>e&&b(o.errors,e),A.mount),eD=(e,t)=>async r=>{r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let i=p(_);if(k.state.next({isSubmitting:!0}),s.resolver){let{errors:e,values:t}=await z();o.errors=e,i=t}else await en(f);Q(o.errors,"root"),S(o.errors)?(k.state.next({errors:{}}),await e(i,r)):(t&&await t({...o.errors},r),ek(),setTimeout(ek)),k.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:S(o.errors),submitCount:o.submitCount+1,errors:o.errors})},eF=(r,s={})=>{let i=r||c,a=p(i),n=r&&!S(r)?a:c;if(s.keepDefaultValues||(c=i),!s.keepValues){if(s.keepDirtyValues||D)for(let e of A.mount)b(o.dirtyFields,e)?F(n,e,b(_,e)):ew(e,b(n,e));else{if(h&&m(r))for(let e of A.mount){let t=b(f,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(N(e)){let t=e.closest("form");if(t){t.reset();break}}}}f={}}_=e.shouldUnregister?s.keepDefaultValues?p(c):{}:p(n),k.array.next({values:{...n}}),k.values.next({values:{...n}})}A={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""}
1,w.mount||t(),w.mount=!V.isValid||!!s.keepIsValid,w.watch=!!e.shouldUnregister,k.state.next({submitCount:s.keepSubmitCount?o.submitCount:0,isDirty:s.keepDirty?o.isDirty:!!(s.keepDefaultValues&&!et(r,c)),isSubmitted:!!s.keepIsSubmitted&&o.isSubmitted,dirtyFields:s.keepDirtyValues?o.dirtyFields:s.keepDefaultValues&&r?eo(c,r):{},touchedFields:s.keepTouched?o.touchedFields:{},errors:s.keepErrors?o.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},eC=(e,t)=>eF(P(e)?e(_):e,t);return{control:{register:eO,unregister:eR,getFieldState:eV,handleSubmit:eD,setError:eT,_executeSchema:z,_getWatch:eg,_getDirty:eb,_updateValid:$,_removeUnmounted:()=>{for(let e of A.unMount){let t=b(f,e);t&&(t._f.refs?t._f.refs.every(e=>!ei(e)):!ei(t._f.ref))&&eR(e)}A.unMount=new Set},_updateFieldArray:(e,t=[],r,s,i=!0,a=!0)=>{if(s&&r){if(w.action=!0,a&&Array.isArray(b(f,e))){let t=r(b(f,e),s.argA,s.argB);i&&F(f,e,t)}if(a&&Array.isArray(b(o.errors,e))){let t=r(b(o.errors,e),s.argA,s.argB);i&&F(o.errors,e,t),ey(o.errors,e)}if(V.touchedFields&&a&&Array.isArray(b(o.touchedFields,e))){let t=r(b(o.touchedFields,e),s.argA,s.argB);i&&F(o.touchedFields,e,t)}V.dirtyFields&&(o.dirtyFields=eo(c,_)),k.state.next({name:e,isDirty:eb(e,t),dirtyFields:o.dirtyFields,errors:o.errors,isValid:o.isValid})}else F(_,e,t)},_getFieldArray:t=>y(b(w.mount?_:c,t,e.shouldUnregister?b(c,t,[]):[])),_reset:eF,_resetDefaultValues:()=>P(s.defaultValues)&&s.defaultValues().then(e=>{eC(e,s.resetOptions),k.state.next({isLoading:!1})}),_updateFormState:e=>{o={...o,...e}},_subjects:k,_proxyFormState:V,get _fields(){return f},get _formValues(){return _},get _state(){return w},set _state(value){w=value},get _defaultValues(){return c},get _names(){return A},set _names(value){A=value},get _formState(){return o},set _formState(value){o=value},get _options(){return s},set _options(value){s={...s,...value}}},trigger:ex,register:eO,handleSubmit:eD,watch:(e,t)=>P(e)?k.values.subscribe({next:r=>e(eg(void 0,t),r)}):eg(e,t,!0),setValue:ew,getValues:eS,reset:eC,resetField:(e,t={})=>{b(f,e)&&(m(t.defaultValue)?ew(e,b(c,e)):(ew(e,t.defaultValue),F(c,e,t.defaultValue)),t.keepTouched||Q(o.touchedFields,e),t.keepDirty||(Q(o.dirtyFields,e),o.isDirty=t.defaultValue?eb(e,b(c,e)):eb()),!t.keepError&&(Q(o.errors,e),V.isValid&&$()),k.state.next({...o}))},clearErrors:e=>{e&&T(e).forEach(e=>Q(o.errors,e)),k.state.next({errors:e?o.errors:{}})},unregister:eR,setError:eT,setFocus:(e,t={})=>{let r=b(f,e),s=r&&r._f;if(s){let e=s.refs?s.refs[0]:s.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:eV}}(e,()=>f(e=>({...e}))),formState:o});let c=t.current.control;return c._options=e,!function(e){let t=s.useRef(e);t.current=e,s.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}({subject:c._subjects.state,next:e=>{V(e,c._proxyFormState,c._updateFormState,!0)&&f({...c._formState})}}),s.useEffect(()=>{e.values&&!et(e.values,r.current)?(c._reset(e.values,c._options.resetOptions),r.current=e.values):c._resetDefaultValues()},[e.values,c]),s.useEffect(()=>{c._state.mount||(c._updateValid(),c._state.mount=!0),c._state.watch&&(c._state.watch=!1,c._subjects.state.next({...c._formState})),c._removeUnmounted()}),t.current.formState=x(o,c),t.current}}}]);

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.