PageSourceSearch

https://www.sonepar.at/_next/static/chunks/8183-194cd6894e946c26.js

js sonepar.at collected 2026-09-24 10:50:37 UTC 43,000 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8183],{724:(t,e,a)=>{a.d(e,{f:()=>u});var r=a(53779),n=a(85587),i=a(52856),o=a(1068),l=a(60004),s=(0,n.h)(),u=(0,l.forwardRef)(({className:t,defaultValue:e,disabled:a,helperText:n,id:u,label:c,limitReachedLabel:f,maxLength:d,rows:h=5,spellCheck:m=!1,value:p,visuallyHiddenLabel:g=!1,onChange:y,...v},b)=>{let C=(0,i.k)("watts-text-area"),N=u||C,x=`${N}-helper-text`,[w,P]=(0,l.useState)(e?.toString().length||p?.toString().length||0);return(0,s.jsxs)("div",{className:(0,r.$)("watts-text-area",t),children:[(0,s.jsx)("label",{className:(0,r.$)("watts-text-area__label",{"sr-only":g}),htmlFor:N,children:c}),(0,s.jsx)("textarea",{id:N,"aria-describedby":n&&!a?x:void 0,"aria-errormessage":n?.status==="error"?x:void 0,"aria-invalid":n?.status==="error",defaultValue:e,disabled:a,maxLength:d,ref:b,rows:h,spellCheck:m,value:p,onChange:t=>{y?.(t),P(t.target.value.length)},...v}),(n||d)&&(0,s.jsxs)("div",{className:"watts-text-area__info","data-counter-only":!n,children:[!!n&&(0,s.jsx)(o.E,{id:x,status:n.status??"info",text:n.text,disabled:!!a}),d&&!a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{"aria-atomic":"true","aria-live":"assertive",className:"watts-text-area__counter",children:[w,"/",d]}),w===d&&(0,s.jsx)("span",{className:"sr-only",role:"alert","aria-live":"polite",children:f})]})]})]})});u.displayName="TextArea"},22050:(t,e,a)=>{a.d(e,{s:()=>c});var r=a(53779),n=a(85587),i=a(52856),o=a(69222),l={s:"m",m:"l"},s=a(60004),u=(0,n.h)(),c=(0,s.forwardRef)(({className:t,id:e,label:a,link:n,variant:s="default",radioSize:c="m",visuallyHiddenLabel:f,...d},h)=>{let m=(0,i.k)("watts-radio");return(0,u.jsxs)("label",{className:(0,r.$)("watts-radio",`watts-radio--${c}`,`watts-radio--${s}`,t),children:[(0,u.jsx)("input",{ref:h,id:e||m,type:"radio",...d}),(0,u.jsxs)("span",{className:(0,r.$)("watts-radio__label",{"sr-only":f}),children:[a,!!n&&(0,u.jsx)(o.N,{title:n.text,href:n.href,size:l[c],children:n.text})]})]})});c.displayName="Radio"},46865:(t,e,a)=>{a.d(e,{L:()=>h});var r=a(53779),n=a(85587),i=a(52856),o=a(12028),l=a(60004),s=(0,n.h)(),u=(0,l.forwardRef)(({alwaysRenderContent:t,content:e,isChecked:a,icon:n,id:l,label:u,...c},f)=>{let d=(0,i.k)(l??"watts-picker-option");return(0,s.jsxs)("label",{className:(0,r.$)("watts-picker__option","watts-picker__option--card"),htmlFor:d,children:[(0,s.jsxs)("div",{className:"watts-picker__option-label-wrapper",children:[(0,s.jsx)("input",{className:"watts-picker__option-dot",id:d,ref:f,type:"radio",...c}),!!n&&(0,s.jsx)(o.I,{className:"watts-picker__option-icon",icon:n}),(0,s.jsx)("span",{className:"watts-picker__option-label",children:u})]}),!!e&&(0,s.jsx)("div",{className:(0,r.$)({"watts-picker__option-content--hidden":!t&&!a}),children:e})]})});u.displayName="PickerCardOption";var c=(0,l.forwardRef)(({icon:t,id:e,label:a,...n},l)=>{let u=(0,i.k)(e??"watts-picker-option");return(0,s.jsxs)("label",{className:(0,r.$)("watts-picker__option","watts-picker__option--inline"),htmlFor:u,children:[(0,s.jsx)("input",{className:"watts-picker__option-dot",id:u,ref:l,type:"radio",...n}),!!t&&(0,s.jsx)(o.I,{className:"watts-picker__option-icon",icon:t}),(0,s.jsx)("span",{className:"watts-picker__option-label",children:a})]})});c.displayName="PickerInlineOption";var f=(0,l.forwardRef)(({id:t,label:e,...a},n)=>{let o=(0,i.k)(t??"watts-picker-option");return(0,s.jsxs)("label",{className:(0,r.$)("watts-picker__option","watts-picker__option--table"),htmlFor:o,children:[(0,s.jsx)("input",{className:"watts-picker__option-dot",id:o,ref:n,type:"radio",...a}),(0,s.jsx)("span",{className:"watts-picker__option-label",children:e})]})});f.displayName="PickerTableOption";var d=(0,n.h)(),h=(0,l.forwardRef)(({className:t,direction:e,id:a,label:n,...o},s)=>{let h=(0,i.k)("watts-picker"),m=a||h,p=o.options.find(t=>t.checked)?.value,g=o.options.find(t=>t.defaultChecked)?.value,[y,v]=(0,l.useState)(()=>p??g??"");return(0,l.useEffect)(()=>{void 0!==p&&v(p)},[p]),(0,d.jsxs)("div",{"aria-labelledby":m,className:(0,r.$)("watts-picker",`watts-picker--${e??"vertical"}`,`watts-picker--${o.variant}`,t),ref:s,role:"radiogroup",onChange:t=>{v(t.target.value),o.onChange?.(t)},...(t=>{let{alwaysRenderContent:e,options:a,variant:r,...n}=t;return n})(o),children:[(0,d.jsx)("label",{className:"sr-only",id:m,children:n}),"card"===o.variant&&o.options.map((t,e)=>(0,d.jsx)(u,{isChecked:t.value===y,alwaysRenderContent:o.alwaysRenderContent??!0,name:m,...t},`${m}-option-${e}`)),"inline"===o.variant&&o.options.map((t,e)=>(0,d.jsx)(c,{name:m,...t},`${m}-option-${e}`)),"table"===o.variant&&o.options.map((t,e)=>(0,d.jsx)(f,{name:m,...t},`${m}-option-${e}`))]})});h.displayName="Picker"},66124:(t,e,a)=>{a.d(e,{C:()=>u});var r=a(53779),n=a(85587),i=a(52856),o=a(82726),l=a(69222),s=(0,n.h)(),u=({steps:t,currentStepIndex:e,className:a,goBackAction:n,...u})=>{let c=(0,r.$)("watts-stepper",a),f=(0,i.k)("watts-stepper"),d=t.length,{href:h,...m}=n,p=h?l.N:o.$;return(0,s.jsxs)("div",{className:c,...u,children:[(0,s.jsxs)("div",{className:"watts-stepper__title-wrapper",children:[(0,s.jsx)(p,{...m,icon:"arrow-left",size:"s",variant:"ghost",disabled:0===e,href:h||void 0}),(0,s.jsxs)("label",{htmlFor:f,"aria-live":"polite",children:[e
1+1,"/",d," - ",t[e]]})]}),(0,s.jsx)("progress",{id:f,max:d,value:e+1})]})};u.displayName="Stepper"},66888:(t,e,a)=>{a.d(e,{G:()=>p});var r=a(53779),n=a(85587),i=a(52856),o=a(1068),l=a(34142),s=a(35428),u=a(12028),c=a(82726),f=a(60004),d=(0,n.h)(),h=(0,f.forwardRef)(({"aria-expanded":t,"aria-controls":e,"aria-activedescendant":a,"data-value":r,id:n,autocomplete:i,clearLabel:o,value:l,variant:s,onClick:h,onChange:m,onKeyDown:p,onValueChange:g,onClear:y,...v},b)=>{let C=(0,f.useRef)();(0,f.useEffect)(()=>{C.current!==r&&(g?.(r),C.current=r)},[r,g,C]);let N=(0,f.useMemo)(()=>!!(i&&l&&o&&"mini"!==s),[i,o,l,s]),x=(0,f.useCallback)(()=>{b&&"current"in b&&b.current&&(b.current.click(),b.current.focus())},[b]);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("input",{role:"combobox","aria-expanded":t,"aria-controls":e,"aria-activedescendant":a,"data-value":r,ref:b,id:n,autoComplete:i?"on":"off",readOnly:!i,type:"text",value:l,onClick:h,onChange:m,onKeyDown:p,...v}),(0,d.jsxs)("div",{className:"watts-combobox__wrapper-right",children:[N&&o&&(0,d.jsx)(c.$,{className:"watts-combobox__input__button-clear",size:"s",icon:"cross-small",title:o,variant:"ghost",disabled:v.disabled,onClick:y}),(0,d.jsx)(u.I,{size:"m",icon:t?"chevron-small-up":"chevron-small-down",onClick:x})]})]})});h.displayName="ComboboxInput";var m=(0,n.h)(),p=(0,f.forwardRef)(({className:t,id:e,label:a,labelProps:n,clearLabel:u,noMatchLabel:c,options:d,autocomplete:p=!1,defaultSelectedOption:g,helperText:y,onValueChange:v,comboboxSize:b="m",variant:C="default",visuallyHiddenLabel:N=!1,...x},w)=>{let P=(0,f.useRef)(null),S=(0,f.useRef)(null),k=(0,f.useRef)(null),F=(0,i.k)("watts-combobox"),A=e||F,j=`${A}-helper-text`,_=p||d.length>15,{reset:I,inputProps:E,labelId:O,listboxProps:$}=(0,s.m)({inputId:A,options:d,ref:P,autocomplete:_,defaultSelectedOption:g});return(0,f.useImperativeHandle)(w,()=>({input:S.current,reset:I})),(0,m.jsxs)("div",{ref:P,className:(0,r.$)("watts-combobox",`watts-combobox--${C}`,t),children:[(0,m.jsx)("label",{...n,id:O,className:(0,r.$)("watts-combobox__label",{"sr-only":N},n?.className),htmlFor:A,children:a}),(0,m.jsxs)("div",{className:(0,r.$)("watts-combobox__wrapper",`watts-combobox__wrapper--${b}`),"data-disabled":x.disabled,"data-invalid":y?.status==="error",children:[(0,m.jsx)(h,{ref:S,id:A,"aria-describedby":y&&j,"aria-errormessage":y?.status==="error"?j:void 0,"aria-invalid":y?.status==="error",className:"watts-combobox__input",autocomplete:_,onValueChange:v,clearLabel:u,onClear:()=>{I()},variant:C,...x,...E}),(0,m.jsx)(l.W,{ref:k,noMatchLabel:c,...$})]}),!!y&&(0,m.jsx)(o.E,{id:j,disabled:!!x.disabled,status:y.status??"info",text:y.text})]})});p.displayName="Combobox"},71775:(t,e,a)=>{a.d(e,{r:()=>H});var r=a(50496),n=a(96533),i=a(45561),o=function(){var t;function e(t){var a=t.onCountryChange,r=t.onCallingCodeChange;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.onCountryChange=a,this.onCallingCodeChange=r}return t=[{key:"reset",value:function(t){var e=t.country,a=t.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(e,a)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberMatchesInput=!0,this.nationalPrefix=void 0,this.carrierCode=void 0,this.complexPrefixBeforeNationalSignificantNumber=void 0}},{key:"update",value:function(t){for(var e=0,a=Object.keys(t);e<a.length;e++){var r=a[e];this[r]=t[r]}}},{key:"initCountryAndCallingCode",value:function(t,e){this.setCountry(t),this.setCallingCode(e)}},{key:"setCountry",value:function(t){this.country=t,this.onCountryChange(t)}
1},{key:"setCallingCode",value:function(t){this.callingCode=t,this.onCallingCodeChange(t,this.country)}},{key:"startInternationalNumber",value:function(t,e){this.international=!0,this.initCountryAndCallingCode(t,e)}},{key:"appendDigits",value:function(t){this.digits+=t}},{key:"appendNationalSignificantNumberDigits",value:function(t){this.nationalSignificantNumber+=t}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}],function(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,r=Array(e);a<e;a++)r[a]=t[a];return r}var s=/x/;function u(t,e){if(e<1)return"";for(var a="";e>1;)1&e&&(a+=t),e>>=1,t+=t;return a+t}function c(t,e){return")"===t[e]&&e++,function(t){for(var e=[],a=0;a<t.length;)"("===t[a]?e.push(a):")"===t[a]&&e.pop(),a++;var r=0,n="";e.push(t.length);for(var i=0;i<e.length;i++){var o=e[i];n+=t.slice(r,o),r=o+1}return n}(t.slice(0,e))}var f=a(33438),d=a(43036),h=a(56289);function m(t,e,a){var r,n,i=a.metadata,o=a.useNationalPrefixFormattingRule,l=a.getSeparatorAfterNationalPrefix,s=(0,h.A)(t.nationalSignificantNumber,e,{carrierCode:t.carrierCode,useInternationalFormat:t.international,withNationalPrefix:o,metadata:i});if(!o&&(t.nationalPrefix?s=t.nationalPrefix+l(e)+s:t.complexPrefixBeforeNationalSignificantNumber&&(s=t.complexPrefixBeforeNationalSignificantNumber+" "+s)),r=s,n=t,(0,d.Ay)(r)===n.getNationalDigits())return s}var p=function(){var t;function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")}return t=[{key:"parse",value:function(t){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(t),1!==this.context.length)throw Error("Non-finalized contexts left when pattern parse ended");var e=this.context[0],a=e.branches,r=e.instructions;if(a)return{op:"|",args:a.concat([v(r)])};if(0===r.length)throw Error("Pattern is required");return 1===r.length?r[0]:r}},{key:"startContext",value:function(t){this.context.push(t)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(t){if(!t)throw Error("Pattern is required");var e=t.match(y);if(!e){if(g.test(t))throw Error("Illegal characters found in a pattern: ".concat(t));this.getContext().instructions=this.getContext().instructions.concat(t.split(""));return}var a=e[1],r=t.slice(0,e.index),n=t.slice(e.index+a.length);switch(a){case"(?:":r&&this.parsePattern(r),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw Error('")" operator must be preceded by "(?:" operator');if(r&&this.parsePattern(r),0===this.getContext().instructions.length)throw Error('No instructions found after "|" operator in an "or" group');var i=this.getContext().branches;i.push(v(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:i});break;case"|":if(!this.getContext().or)throw Error('"|" operator can only be used inside "or" groups');if(r&&this.parsePattern(r),!this.getContext().branches)if(1===this.context.length)this.getContext().branches=[];else throw Error('"branches" not found in an "or" group context');this.getContext().branches.push(v(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":r&&this.parsePattern(r),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:function(t){for(var e=[],a=0;a<t.length;){if("-"===t[a]){if(0===a||a===t.length-1)throw Error("Couldn't parse a one-of set pattern: ".concat(t));
1for(var r=t[a-1].charCodeAt(0)+1,n=t[a+1].charCodeAt(0)-1,i=r;i<=n;)e.push(String.fromCharCode(i)),i++}else e.push(t[a]);a++}return e}(r)});break;default:throw Error("Unknown operator: ".concat(a))}n&&this.parsePattern(n)}}],function(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(),g=/[\(\)\[\]\?\:\|]/,y=RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function v(t){return 1===t.length?t[0]:t}function b(t,e){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return(a=a.call(t)).next.bind(a);if(Array.isArray(t)||(a=function(t,e){if(t){if("string"==typeof t)return C(t,void 0);var a=Object.prototype.toString.call(t).slice(8,-1);if("Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return C(t,e)}}(t))||e&&t&&"number"==typeof t.length){a&&(t=a);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,r=Array(e);a<e;a++)r[a]=t[a];return r}var N=function(){var t;function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.matchTree=new p().parse(t)}return t=[{key:"match",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=e.allowOverflow;if(!t)throw Error("String is required");var r=function t(e,a,r){if("string"==typeof a){var n=e.join("");return 0===a.indexOf(n)?e.length===a.length?{match:!0,matchedChars:e}:{partialMatch:!0}:0===n.indexOf(a)?r&&e.length>a.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,a.length)}:void 0}if(Array.isArray(a)){for(var i=e.slice(),o=0;o<a.length;){var l=t(i,a[o],r&&o===a.length-1);if(!l)return;if(l.overflow)return l;if(l.match){if(0===(i=i.slice(l.matchedChars.length)).length)if(o===a.length-1)return{match:!0,matchedChars:e};else return{partialMatch:!0}}else if(l.partialMatch)return{partialMatch:!0};else throw Error("Unsupported match result:\n".concat(JSON.stringify(l,null,2)));o++}return r?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-i.length)}}switch(a.op){case"|":for(var s,u,c=b(a.args);!(u=c()).done;){var f=t(e,u.value,r);if(f)if(f.overflow)return f;else if(f.match)return{match:!0,matchedChars:f.matchedChars};else if(f.partialMatch)s=!0;else throw Error("Unsupported match result:\n".concat(JSON.stringify(f,null,2)))}if(s)return{partialMatch:!0};return;case"[]":for(var d,h=b(a.args);!(d=h()).done;){var m=d.value;if(e[0]===m){if(1===e.length)return{match:!0,matchedChars:e};if(r)return{overflow:!0};return{match:!0,matchedChars:[m]}}}return;default:throw Error("Unsupported instruction tree: ".concat(a))}}(t.split(""),this.matchTree,!0);if(r&&r.match&&delete r.matchedChars,!r||!r.overflow||a)return r}}],function(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(),x=a(11169),w=a(79142);function P(t,e){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return(a=a.call(t)).next.bind(a);if(Array.isArray(t)||(a=function(t,e){if(t){if("string"==typeof t)return S(t,void 0);var a=Object.prototype.toString.call(t).slice(8,-1);if("Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return S(t,e)}}(t))||e&&t&&"number"==typeof t.length){a&&(t=a);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,r=Array(e);a<e;a++)r[a]=t[a];return r}var k=u("9",15),F=/[- ]/,A=RegExp("["+x.uD+"]*\\$1["+x.uD+"]*(\\$\\d["+x.uD+"]*)*$"),j=function(){var t;function e(t){t.state;var a=t.metadata;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.metadata=a,this.resetFormat()}return t=[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(t,e){this.resetFormat(),t?(this.isNANP="1"===t.callingCode(),this.matchingFormats=t.formats(),e.nationalSignificantNumber&&this.narrowDownMatchingFormats(e)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(t,e){var a=this;if(r=e.nationalSignificantNumber,n=this.metadata,"IS_POSSIBLE"===(0,f.A)(r,n))for(var r,n,i,o=P(this.matchingFormats);!(i=o()).done;){var l=i.value,s=function(t,e,a){var r=a.metadata,n=a.shouldTryNationalPrefixFormattingRule,i=a.getSeparatorAfterNationalPrefix;if(new RegExp("^(?:".concat(e.pattern(),")$")).test(t.nationalSignificantNumber))return function(t,e,a){var r=a.metadata,n=a.shouldTryNationalPrefixFormattingRule,i=a.getSeparatorAfterNationalPrefix;if(t.nationalSignificantNumber,t.international,t.nationalPrefix,t.carrierCode,n(e)){var o=m(t,e,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:i,metadata:r});if(o)return o}return m(t,e,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:i,metadata:r})}(t,e,{metadata:r,shouldTryNationalPrefixFormattingRule:n,getSeparatorAfterNationalPrefix:i})}(e,l,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(t){return a.shouldTryNationalPrefixFormattingRule(t,{international:e.international,nationalPrefix:e.nationalPrefix})},getSeparatorAfterNationalPrefix:function(t){return a.getSeparatorAfterNationalPrefix(t)}});if(s)return this.resetFormat(),this.chosenFormat=l,this.setNationalNumberTemplate(s.replace(/\d/g,"x"),e),this.populatedNationalNumberTemplate=s,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf("x"),s}return this.formatNationalNumberWithNextDigits(t,e)}},{key:"formatNationalNumberWithNextDigits",value:function(t,e){var a=this.chosenFormat,r=this.chooseFormat(e);if(r)if(r===a)return this.formatNextNationalNumberDigits(t);else return this.formatNextNationalNumberDigits(e.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(t){var e=this,a=t.nationalSignificantNumber,r=t.nationalPrefix,n=t.international,i=a.length-3;i<0&&(i=0),this.matchingFormats=this.matchingFormats.filter(function(t){return e.formatSuits(t,n,r)&&e.formatMatches(t,a,i)}),this.chosenFormat&&-1===this.matchingFormats.indexOf(this.chosenFormat)&&this.resetFormat()}},{key:"formatSuits",value:function(t,e,a){return!(a&&!t.usesNationalPrefix()&&!t.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!e&&!a&&t.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(t,e,a){var r=t.leadingDigitsPatterns().length;if(0===r)return!0;a=Math.min(a,r-1);var n=t.leadingDigitsPatterns()[a];if(e.length<3)try{return void 0!==new N(n).match(e,{allowOverflow:!0})}catch(t){return console.error(t),!0}return new RegExp("^(".concat(n,")")).test(e)}},{key:"getFormatFormat",value:function(t,e){return e?t.internationalFormat():t.format()}},{key:"chooseFormat",value:function(t){for(var e,a=this,r=P(this.matchingFormats.slice());!(e=r()).done;){var n=function(){var r=e.value;return a.chosenFormat===r?"break":A.test(a.getFormatFormat(r,t.international))?a.createTemplateForFormat(r,t)?(a.chosenFormat=r,"break"):(a.matchingFormats=a.matchingFormats.filter(function(t){return t!==r}),"continue"):"continue"}();if("break"===n)break;if("continue"===n)continue}return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(t,e){if(!(t.pattern().indexOf("|")>=0)){var a=this.getTemplateForFormat(t,e);if(a)return this.setNationalNumberTemplate(a,e),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(t){return this.isNANP||t&&t.nationalPrefixFormattingRule()&&F.test(t.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(t,e){var a=t.IDDPrefix,r=t.missingPlus;return a?e&&!1===e.spacing?a:a+" ":r?"":"+"}},{key:"getTemplate",value:function(t){if(this.template){for(var e=-1,a=0,r=t.international?this.getInternationalPrefixBeforeCountryCallingCode(t,{spacing:!1}):"";a<r.length+t.getDigitsWithoutInternationalPrefix().length;)e=this.template.indexOf("x",e+1),a++;return c(this.template,e+1)}}},{key:"setNationalNumberTemplate",value:function(t,e){this.nationalNumberTemplate=t,this.populatedNationalNumberTemplate=t,this.populatedNationalNumberTemplatePosition=-1,e.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(e).replace(/[\d\+]/g,"x")+u("x",e.callingCode.length)+" "+t:this.template=t}},{key:"getTemplateForFormat",value:function(t,e){var a,r=e.nationalSignificantNumber,n=e.international,i=e.nationalPrefix,o=e.complexPrefixBeforeNationalSignificantNumber,l=t.pattern();l=l.replace(/\[([^\[\]])*\]/g,"\\d").replace(/\d(?=[^,}][^,}])/g,"\\d");var s=k.match(l)[0];if(!(r.length>s.length)){var c=RegExp("^"+l+"$"),f=r.replace(/\d/g,"9");c.test(f)&&(s=f);var m=this.getFormatFormat(t,n);if(this.shouldTryNationalPrefixFormattingRule(t,{international:n,nationalPrefix:i})){var p=m.replace(h._,t.nationalPrefixFormattingRule());if((0,d.Ay)(t.nationalPrefixFormattingRule())===(i||"")+(0,d.Ay)("$1")&&(m=p,a=!0,i))for(var g=i.length;g>0;)m=m.replace(/\d/,"x"),g--}var y=s.replace(new RegExp(l),m).replace(/9/g,"x");return!a&&(o?y=u("x",o.length)+" "+y:i&&(y=u("x",i.length)+this.getSeparatorAfterNationalPrefix(t)+y)),n&&(y=(0,w.A)(y)),y}}},{key:"formatNextNationalNumberDigits",value:function(t){var e=function(t,e,a){for(var r,n=function(t,e){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return(a=a.call(t)).next.bind(a);if(Array.isArray(t)||(a=function(t,e){if(t){if("string"==typeof t)return l(t,void 0);var a=Object.prototype.toString.call(t).slice(8,-1);if("Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return l(t,e)}}(t))){a&&(t=a);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(a.split(""));!(r=n()).done;){var i=r.value;if(0>t.slice(e+1).search(s))return;e=t.search(s),t=t.replace(s,i)}return[t,e]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,t);return e?(this.populatedNationalNumberTemplate=e[0],this.populatedNationalNumberTemplatePosition=e[1],c(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)):void this.resetFormat()}},{key:"shouldTryNationalPrefixFormattingRule",value:function(t,e){var a=e.international,r=e.nationalPrefix;if(t.nationalPrefixFormattingRule()){var n=t.usesNationalPrefix();if(n&&r||!n&&!a)return!0}}}],function(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(),_=a(57108),I=a(65802),E=a(66546),O=a(19327);function $(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var a,r,n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i=[],o=!0,l=!1;try{for(n=n.call(t);!(o=(a=n.next()).done)&&(i.push(a.value),!e||i.length!==e);o=!0);}catch(t){l=!0,r=t}finally{try{o||null==n.return||n.return()}finally{if(l)throw r}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return T(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if("Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return T(t,e)}}
1(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,r=Array(e);a<e;a++)r[a]=t[a];return r}var R=RegExp("^"+("["+x.uD+x.OA)+"]+$","i"),D="(?:["+x.tz+"]["+x.uD+x.OA+"]*|["+x.uD+x.OA+"]+)",M=RegExp("[^"+x.uD+x.OA+"]+.*$"),L=/[^\d\[\]]/,B=function(){var t;function e(t){var a=t.defaultCountry,r=t.defaultCallingCode,n=t.metadata,i=t.onNationalSignificantNumberChange;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.defaultCountry=a,this.defaultCallingCode=r,this.metadata=n,this.onNationalSignificantNumberChange=i}return t=[{key:"input",value:function(t,e){var a,r,n,i,o,l=$((n=(r=$("+"===(a=function(t){var e,a=t.search(D);if(!(a<0))return"+"===(t=t.slice(a))[0]&&(e=!0,t=t.slice(1)),t=t.replace(M,""),e&&(t="+"+t),t}(t)||"")[0]?[a.slice(1),!0]:[a],2))[0],i=r[1],R.test(n)||(n=""),[n,i]),2),s=l[0],u=l[1],c=(0,d.Ay)(s);return u&&!e.digits&&(e.startInternationalNumber(),c||(o=!0)),c&&this.inputDigits(c,e),{digits:c,justLeadingPlus:o}}},{key:"inputDigits",value:function(t,e){var a=e.digits,r=a.length<3&&a.length+t.length>=3;if(e.appendDigits(t),r&&this.extractIddPrefix(e),this.isWaitingForCountryCallingCode(e)){if(!this.extractCountryCallingCode(e))return}else e.appendNationalSignificantNumberDigits(t);e.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(e.getNationalDigits(),function(t){return e.update(t)})}},{key:"isWaitingForCountryCallingCode",value:function(t){var e=t.international,a=t.callingCode;return e&&!a}},{key:"extractCountryCallingCode",value:function(t){var e=(0,_.A)("+"+t.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),a=e.countryCallingCode,r=e.number;if(a)return t.setCallingCode(a),t.update({nationalSignificantNumber:r}),!0}},{key:"reset",value:function(t){if(t){this.hasSelectedNumberingPlan=!0;var e=t._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=e&&L.test(e)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(t,e){if(this.hasSelectedNumberingPlan){var a=(0,E.A)(t,this.metadata),r=a.nationalPrefix,n=a.nationalNumber,i=a.carrierCode;if(n!==t)return this.onExtractedNationalNumber(r,i,n,t,e),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(t,e,a){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(t,a);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var r=(0,E.A)(t,this.metadata),n=r.nationalPrefix,i=r.nationalNumber,o=r.carrierCode;if(i!==e)return this.onExtractedNationalNumber(n,o,i,t,a),!0}}},{key:"onExtractedNationalNumber",value:function(t,e,a,r,n){var i,o,l=r.lastIndexOf(a);if(l>=0&&l===r.length-a.length){o=!0;var s=r.slice(0,l);s!==t&&(i=s)}n({nationalPrefix:t,carrierCode:e,nationalSignificantNumber:a,nationalSignificantNumberMatchesInput:o,complexPrefixBeforeNationalSignificantNumber:i}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(t){return!!this.extractAnotherNationalSignificantNumber(t.getNationalDigits(),t.nationalSignificantNumber,function(e){return t.update(e)})||(this.extractIddPrefix(t)||this.fixMissingPlus(t)?(this.extractCallingCodeAndNationalSignificantNumber(t),!0):void 0)}},{key:"extractIddPrefix",value:function(t){var e=t.international,a=t.IDDPrefix,r=t.digits;if(t.nationalSignificantNumber,!e&&!a){var n=(0,O.A)(r,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(void 0!==n&&n!==r)return t.update({IDDPrefix:r.slice(0,r.length-n.length)}),this.startInternationalNumber(t,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(t){if(!t.international){var e=(0,I.A)(t.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),a=e.countryCallingCode;if(e.number,a)return t.update({missingPlus:!0}),this.startInternationalNumber(t,{country:t.country,callingCode:a}),!0}}},{key:"startInternationalNumber",value:function(t,e){var a=e.country,r
1=e.callingCode;t.startInternationalNumber(a,r),t.nationalSignificantNumber&&(t.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(t){this.extractCountryCallingCode(t)&&this.extractNationalSignificantNumber(t.getNationalDigits(),function(e){return t.update(e)})}}],function(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(),z=a(29902),W=a(19166),V=a(12685);function G(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,r=Array(e);a<e;a++)r[a]=t[a];return r}var U=function(){var t;function e(t,a){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.metadata=new n.Ay(a);var r,i=function(t){if(Array.isArray(t))return t}(r=this.getCountryAndCallingCode(t))||function(t,e){var a,r,n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i=[],o=!0,l=!1;try{for(n=n.call(t);!(o=(a=n.next()).done)&&(i.push(a.value),i.length!==e);o=!0);}catch(t){l=!0,r=t}finally{try{o||null==n.return||n.return()}finally{if(l)throw r}}return i}}(r,2)||function(t,e){if(t){if("string"==typeof t)return G(t,2);var a=Object.prototype.toString.call(t).slice(8,-1);if("Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return G(t,e)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],l=i[1];this.defaultCountry=o,this.defaultCallingCode=l,this.reset()}return t=[{key:"getCountryAndCallingCode",value:function(t){var e,a;return t&&((0,V.A)(t)?(e=t.defaultCountry,a=t.defaultCallingCode):e=t),e&&!this.metadata.hasCountry(e)&&(e=void 0),[e,a]}},{key:"input",value:function(t){var e=this.parser.input(t,this.state),a=e.digits;if(e.justLeadingPlus)this.formattedOutput="+";else if(a){if(this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state),this.metadata.hasSelectedNumberingPlan()&&(r=this.formatter.format(a,this.state)),void 0===r&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var r,n=this.state.getNationalDigits();n&&(r=this.formatter.format(n,this.state))}this.formattedOutput=r?this.getFullNumber(r):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var t=this;return this.state=new o({onCountryChange:function(e){t.country=e},onCallingCodeChange:function(e,a){t.metadata.selectNumberingPlan(a,e),t.formatter.reset(t.metadata.numberingPlan,t.state),t.parser.reset(t.metadata.numberingPlan)}}),this.formatter=new j({state:this.state,metadata:this.metadata}),this.parser=new B({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){t.determineTheCountryIfNeeded(),t.formatter.reset(t.metadata.numberingPlan,t.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){if(this.isInternational())return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){if(this.state.digits)return this._getCountry()}},{key:"_getCountry",value:function(){var t=this.state.country;return t}},{key:"determineTheCountryIfNeeded",value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:"getFullNumber",value:function(t){var e=this;if(this.isInternational()){var a=function(t){return e.formatter.getInternationalPrefixBeforeCountryCallingCode(e.state,{spacing:!!t})+t},r=this.state.callingCode;return a(r?t?"".concat(r," ").concat(t):r:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return t}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var t=this.state,e=t.nationalSignificantNumber,a=t.complexPrefixBeforeNationalSignificantNumber,r=t.nationalPrefix,n=e,i=a||r;return i&&(n=i+n),n}},{key:"getNonFormattedNumber",value:function(){var t=this.state.nationalSignificantNumberMatchesInput;
1return this.getFullNumber(t?this.getNonFormattedNationalNumberWithPrefix():this.state.getNationalDigits())}},{key:"getNonFormattedTemplate",value:function(){var t=this.getNonFormattedNumber();if(t)return t.replace(/[\+\d]/g,"x")}},{key:"isCountryCallingCodeAmbiguous",value:function(){var t=this.state.callingCode,e=this.metadata.getCountryCodesForCallingCode(t);return e&&e.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry((0,z.A)(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var t=this.state,e=t.digits,a=t.callingCode,r=t.country,n=t.nationalSignificantNumber;if(e){if(this.isInternational())if(a)return"+"+a+n;else return"+"+e;else if(r||a)return"+"+(r?this.metadata.countryCallingCode():a)+n}}},{key:"getNumber",value:function(){var t=this.state,e=t.nationalSignificantNumber,a=t.carrierCode,r=t.callingCode,o=this._getCountry();if(e&&(o||r)){if(o&&o===this.defaultCountry){var l=new n.Ay(this.metadata.metadata);l.selectNumberingPlan(o);var s=l.numberingPlan.callingCode(),u=this.metadata.getCountryCodesForCallingCode(s);if(u.length>1){var c=(0,W.A)(e,{countries:u,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});c&&(o=c)}}var f=new i.A(o||r,e,this.metadata.metadata);return a&&(f.carrierCode=a),f}}},{key:"isPossible",value:function(){var t=this.getNumber();return!!t&&t.isPossible()}},{key:"isValid",value:function(){var t=this.getNumber();return!!t&&t.isValid()}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}],function(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();function q(t,e,a){return a||(a=e,e=void 0),new U(e,a).input(t)}function H(){return(0,r.A)(q,arguments)}},77029:(t,e,a)=>{a.d(e,{G3:()=>d,_Y:()=>h});var r,n=a(60004),i=a(89034),o=function(){return(o=Object.assign||function(t){for(var e,a=1,r=arguments.length;a<r;a++)for(var n in e=arguments[a])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)},l=function(t){var e;t?function(t){if(t)for(;t.lastChild;)t.lastChild.remove()}("string"==typeof t?document.getElementById(t):t):(e=document.querySelector(".grecaptcha-badge"))&&e.parentNode&&document.body.removeChild(e.parentNode)},s=function(t,e){l(e),window.___grecaptcha_cfg=void 0;var a,r=document.querySelector("#"+t);r&&r.remove(),(a=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))&&a.remove()},u=function(t){var e=t.render,a=t.onLoadCallbackName,r=t.language,n=t.onLoad,i=t.useRecaptchaNet,o=t.useEnterprise,l=t.scriptProps,s=void 0===l?{}:l,u=s.nonce,c=void 0===u?"":u,f=s.defer,d=s.async,h=s.id,m=s.appendTo,p=(void 0===h?"":h)||"google-recaptcha-v3";if(document.querySelector("#"+p))n();else{var g,y="https://www."+((g={useEnterprise:o,useRecaptchaNet:i}).useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(g.useEnterprise?"enterprise.js":"api.js"),v=document.createElement("script");
1v.id=p,v.src=y+"?render="+e+("explicit"===e?"&onload="+a:"")+(r?"&hl="+r:""),c&&(v.nonce=c),v.defer=!!(void 0!==f&&f),v.async=!!(void 0!==d&&d),v.onload=n,("body"===m?document.body:document.getElementsByTagName("head")[0]).appendChild(v)}},c=function(t){void 0===i||i.env,console.warn(t)};(r||(r={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var f=(0,n.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});function d(t){var e=t.reCaptchaKey,a=t.useEnterprise,i=void 0!==a&&a,l=t.useRecaptchaNet,d=void 0!==l&&l,h=t.scriptProps,m=t.language,p=t.container,g=t.children,y=(0,n.useState)(null),v=y[0],b=y[1],C=(0,n.useRef)(e),N=JSON.stringify(h),x=JSON.stringify(null==p?void 0:p.parameters);(0,n.useEffect)(function(){if(e){var t=(null==h?void 0:h.id)||"google-recaptcha-v3",a=(null==h?void 0:h.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[a]=function(){var t=i?window.grecaptcha.enterprise:window.grecaptcha,a=o({badge:"inline",size:"invisible",sitekey:e},(null==p?void 0:p.parameters)||{});C.current=t.render(null==p?void 0:p.element,a)},u({render:(null==p?void 0:p.element)?"explicit":e,onLoadCallbackName:a,useEnterprise:i,useRecaptchaNet:d,scriptProps:h,language:m,onLoad:function(){if(window&&window.grecaptcha){var t=i?window.grecaptcha.enterprise:window.grecaptcha;t.ready(function(){b(t)})}else c("<GoogleRecaptchaProvider /> "+r.SCRIPT_NOT_AVAILABLE)},onError:function(){c("Error loading google recaptcha script")}}),function(){s(t,null==p?void 0:p.element)}}c("<GoogleReCaptchaProvider /> recaptcha key not provided")},[i,d,N,x,m,e,null==p?void 0:p.element]);var w=(0,n.useCallback)(function(t){if(!v||!v.execute)throw Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return v.execute(C.current,{action:t})},[v,C]),P=(0,n.useMemo)(function(){return{executeRecaptcha:v?w:void 0,container:null==p?void 0:p.element}},[w,v,null==p?void 0:p.element]);return n.createElement(f.Provider,{value:P},g)}f.Consumer;var h=function(){return(0,n.useContext)(f)};function m(t,e){return t(e={exports:{}},e.exports),e.exports}var p="function"==typeof Symbol&&Symbol.for,g=p?Symbol.for("react.element"):60103,y=p?Symbol.for("react.portal"):60106,v=p?Symbol.for("react.fragment"):60107,b=p?Symbol.for("react.strict_mode"):60108,C=p?Symbol.for("react.profiler"):60114,N=p?Symbol.for("react.provider"):60109,x=p?Symbol.for("react.context"):60110,w=p?Symbol.for("react.async_mode"):60111,P=p?Symbol.for("react.concurrent_mode"):60111,S=p?Symbol.for("react.forward_ref"):60112,k=p?Symbol.for("react.suspense"):60113,F=p?Symbol.for("react.suspense_list"):60120,A=p?Symbol.for("react.memo"):60115,j=p?Symbol.for("react.lazy"):60116,_=p?Symbol.for("react.block"):60121,I=p?Symbol.for("react.fundamental"):60117,E=p?Symbol.for("react.responder"):60118,O=p?Symbol.for("react.scope"):60119;function $(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case g:switch(t=t.type){case w:case P:case v:case C:case b:case k:return t;default:switch(t=t&&t.$$typeof){case x:case S:case j:case A:case N:return t;default:return e}}case y:return e}}}function T(t){return $(t)===P}var R={AsyncMode:w,ConcurrentMode:P,ContextConsumer:x,ContextProvider:N,Element:g,ForwardRef:S,Fragment:v,Lazy:j,Memo:A,Portal:y,Profiler:C,StrictMode:b,Suspense:k,isAsyncMode:function(t){return T(t)||$(t)===w},isConcurrentMode:T,isContextConsumer:function(t){return $(t)===x},isContextProvider:function(t){return $(t)===N},isElement:function(t){return"object"==typeof t&&null!==t&&t.$$typeof===g},isForwardRef:function(t){return $(t)===S},isFragment:function(t){return $(t)===v},isLazy:function(t){return $(t)===j},isMemo:function(t){return $(t)===A},isPortal:function(t){return $(t)===y},isProfiler:function(t){return $(t)===C},isStrictMode:function(t){return $(t)===b},isSuspense:function(t){return $(t)===k},isValidElementType:function(t){return"string"==typeof t||"function"==typeof t||t===v||t===P||t===C||t===b||t===k||t===F||"object"==typeof t&&null!==t&&(t.$$typeof===j||t.$$typeof===A||t.$$typeof===N||t.$$typeof===x||t.$$typeof===S||t.$$typeof===I||t.$$typeof===E||t.$$typeof===O||t.$$typeof===_)},typeOf:$},D=m(function(t,e){}),M=(D.AsyncMode,D.ConcurrentMode,D.ContextConsumer,D.ContextProvider,D.Element,D.ForwardRef,D.Fragment,D.Lazy,D.Memo,D.Portal,D.Profiler,D.StrictMode,D.Suspense,D.isAsyncMode,D.isConcurrentMode,D.isContextConsumer,D.isContextProvider,D.isElement,D.isForwardRef,D.isFragment,D.isLazy,D.isMemo,D.isPortal,D.isProfiler,D.isStrictMode,D.isSuspense,D.isValidElementType,D.typeOf,m(function(t){t.exports=R})),L={};L[M.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},L[M.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype}}]);

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.