PageSourceSearch

https://www.comfama.com/portal-servicios/3f8ce206ec6a3c076e9e6d9df3921fa785b55f11-7f42f7902d7a712d2219.js

js comfama.com collected 2026-10-02 02:48:58 UTC 21,240 bytes, 3 lines download raw bytes

1/*! For license information please see 3f8ce206ec6a3c076e9e6d9df3921fa785b55f11-7f42f7902d7a712d2219.js.LICENSE.txt */
2"use strict";(self.webpackChunkcomfama_portalservicios_archetype=self.webpackChunkcomfama_portalservicios_archetype||[]).push([[9354],{499:function(e,t,n){var o=n(4240),r=n(45871),a=n(74848);t.A=({content:e})=>{const t={renderNode:{[r.BLOCKS.PARAGRAPH]:(e,t)=>(0,a.jsx)("p",{children:t}),[r.BLOCKS.OL_LIST]:(e,t)=>(0,a.jsx)("ol",{type:"1",children:t}),[r.INLINES.HYPERLINK]:(e,t)=>{var n,o,r,i,s;return(0,a.jsx)("a",{href:null==e||null===(n=e.data)||void 0===n?void 0:n.uri,rel:"noopener noreferrer",target:null!=e&&null!==(o=e.data)&&void 0!==o&&null!==(r=o.uri)&&void 0!==r&&r.includes("www")||null!=e&&null!==(i=e.data)&&void 0!==i&&null!==(s=i.uri)&&void 0!==s&&s.includes("https")?"_blank":"_self",title:t,children:t})}}};return(0,a.jsx)("div",{className:"a-to-be-aware",children:(0,a.jsx)("div",{children:e&&e.raw&&(0,o.i)(JSON.parse(null==e?void 0:e.raw),t)})})}},3072:function(e,t){var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,r=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,u=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,_=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case p:case a:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case l:case u:case _:case h:case c:return e;default:return t}}case r:return t}}}function j(e){return x(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=u,t.Fragment=a,t.Lazy=_,t.Memo=h,t.Portal=r,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return j(e)||x(e)===d},t.isConcurrentMode=j,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return x(e)===u},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===_},t.isMemo=function(e){return x(e)===h},t.isPortal=function(e){return x(e)===r},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===s||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===_||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===u||e.$$typeof===g||e.$$typeof===y||e.$$typeof===b||e.$$typeof===v)},t.typeOf=x},3887:function(e,t,n){var o=n(32936),r=n(74848);const a=({label:e,name:t,id:n,type:a,placeholder:i,register:s,validationRules:c,error:l,maxLength:d,setValue:p,onChange:u,onBlurEvent:f,onFocusEvent:m,square:h,required:_,tooltip:v,onTypeValidation:g,disabled:y,role:b})=>{const x=(0,o.A)();return(0,r.jsxs)("div",{className:"f-a-input",children:[(0,r.jsxs)("div",{className:"f-a-input__label-wrapper "+(h?" __square":""),children:[(0,r.jsx)("label",{id:t+e,htmlFor:t,className:"f-a-input__label "+(_?" __required":""),children:e}),v&&(0,r.jsxs)("div",{className:"f-a-input__tooltip",children:[(0,r.jsx)("i",{"data-testid":"icon",className:"icon icon-question-circle",onClick:()=>{if(x){const e=document.getElementById("f-a-input__tooltip-box-wrapper");e&&e.classList.add("__open")}}}),(0,r.jsx)("div",{className:"f-a-input__tooltip-box-wrapper",id:"f-a-input__tooltip-box-wrapper",onClick:()=>{if(x){const e=document.getElementById("f-a-input__tooltip-box-wrapper");e&&e.classList.remove("__open")}},children:(0,r.jsx)("div",{className:"f-a-input__tooltip-box",children:v})})]})]}),(0,r.jsx)("div",{id:t,className:`f-a-input__box ${l?"__error":""}${h?" __square":""}`,children:g?(0,r.jsx)("input",{"data-testid":"input",tabIndex:"0",name:t,maxLength:d,placeholder:i,type:a,...s(t,c),onFocus:()=>{m&&m()},onBlur:()=>{f&&f()},id:n||`input${t}`,disabled:y||!1,role:b}):(0,r.jsx)("input",{"data-testid":"input",tabIndex:"0",name:t,maxLength:d,placeholder:i,type:a,...s(t,c),onChange:e=>{if(" "===e.target.value)p(t,"");else if(u(e),"number"===a){const n=e.target.value.replace(/\D/g,"");p(t,n)}else p(t,e.target.value.replace(/ {2}/g," "))},onFocus:()=>{m&&m()},onBlur:()=>{f&&f()},id:n||`input${t}`,disabled:y||!1,role:b})}),l&&(0,r.jsx)("span",{className:"f-a-input__error",children:l.message})]})};
2a.defaultProps={onChange:()=>{}},t.A=a},4146:function(e,t,n){var o=n(73404),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return o.isMemo(e)?i:s[e.$$typeof]||r}s[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[o.Memo]=i;var l=Object.defineProperty,d=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(m){var r=f(n);r&&r!==m&&e(t,r,o)}var i=d(n);p&&(i=i.concat(p(n)));for(var s=c(t),h=c(n),_=0;_<i.length;++_){var v=i[_];if(!(a[v]||o&&o[v]||h&&h[v]||s&&s[v])){var g=u(n,v);try{l(t,v,g)}catch(y){}}}}return t}},8151:function(e,t,n){n.d(t,{E:function(){return o}});const o="6Lfhu60gAAAAAG6AU6_D5bg_nyEKHO94sRtSE2aD"},18875:function(e,t,n){var o=n(96540),r=n(17325),a=n(20320),i=n(64691),s=n(68667),c=n(19871),l=n(88767),d=n(79771),p=n(499),u=n(74848);t.A=({children:e,desiredTab:t,subRoute:n,buttonCopy:f,buttonEvent:m,breadCrum:h,title:_,subtitle:v,secondTitle:g,secondSubtitle:y,note:b,disableButton:x,loader:j,notePosition:w,isSecondButton:N,buttonCopyTwo:S,buttonEventTwo:E,disableButtonTwo:L,loaderSecondButton:C,historicButton:O,historicButtonClass:R,historicButtonOnClickAction:I,historicButtonDisable:B,historicButtonText:$,showFirstButton:A=!0})=>{const{window:k,localStorage:P}=(0,c.A)(),{selectedTab:T}=(0,o.useContext)(i.A);(0,o.useEffect)(()=>{const e=P.getItem("CURRENT_TAB");t&&"none"!==t&&e&&"undefined"!==e&&("personas"===t?e===s.m.BUSINESS&&(location.href=k&&"localhost"===(null==k?void 0:k.location.hostname)?D("/empresas/"):D("/portal-servicios/empresas/")):location.href=k&&"localhost"===(null==k?void 0:k.location.hostname)?D("/personas/"):D("/portal-servicios/personas/"))},[null==T?void 0:T.get]);const D=e=>n?e+n:e;return(0,u.jsxs)("div",{className:"o-form-and-note-template",children:[h&&(0,u.jsx)(l.A,{content:h}),_||v?(0,u.jsxs)("div",{className:"o-form-and-note-template__headings",children:[(0,u.jsxs)("div",{className:"o-form-and-note-template__headings__titles",children:[_&&(0,u.jsx)("h1",{className:"o-form-and-note-template__headings__titles__title",children:_}),v&&(0,u.jsx)("p",{className:"o-form-and-note-template__headings__titles__subtitle",children:v})]}),(0,u.jsx)("div",{className:"o-form-and-note-template__headings__button",children:O&&(0,u.jsx)(r.A,{text:$||"Historico",isDisabled:B,classname:R,onClickAction:I,type:"button"})})]}):(0,u.jsx)("div",{className:"o-form-and-note-template__spacer"}),(0,u.jsx)("div",{className:"o-form-and-note-template__content",children:(0,u.jsxs)("div",{className:"o-form-and-note-template__content__body ",children:["left"===w?(0,u.jsx)(a.A,{image:b.image,title:b.title,content:b.content}):(0,u.jsx)(p.A,{content:b}),(0,u.jsxs)("div",{className:"o-form-and-note-template__content__body__form "+("left"===w?"--invert":""),children:[(g||y)&&(0,u.jsxs)("div",{className:"o-form-and-note-template__content__body__form__info",children:[g&&(0,u.jsx)("h3",{className:"o-form-and-note-template__content__body__form__info__title",children:g}),y&&(0,u.jsx)("span",{className:"o-form-and-note-template__content__body__form__info__subtitle",children:y})]}),e&&(0,u.jsx)("div",{className:"o-form-and-note-template__content__body__form__row",children:e}),(0,u.jsxs)("div",{className:"o-form-and-note-template__content__form__buttons",children:[N&&(0,u.jsx)("button",{className:"o-form-and-note-template__content__form__secondButton",disabled:C||L,onClick:()=>{E&&E()},children:C?(0,u.jsx)(d.A,{size:"__small"}):S||"Volver"}),A&&(0,u.jsx)("button",{className:"o-form-and-note-template__content__form__button",disabled:j||x,onClick:()=>{m&&m()},children:j?(0,u.jsx)(d.A,{size:"__small"}):f||"Aceptar"})]}),x&&location.pathname.startsWith("empresas")&&(0,u.jsx)("p",{className:"o-form-and-note-template__error",children:"* debes elegir una empresa en el menú"})]})]})})]})}}
2,20320:function(e,t,n){var o=n(4240),r=n(45871),a=n(5588),i=n(29390),s=n(74848);t.A=({image:e,title:t,content:n})=>{const c={renderNode:{[r.BLOCKS.PARAGRAPH]:(e,t)=>(0,s.jsx)("p",{children:t}),[r.BLOCKS.OL_LIST]:(e,t)=>(0,s.jsx)("ol",{type:"1",children:t}),[r.INLINES.HYPERLINK]:(e,t)=>{var n,o,r,a,i;return(0,s.jsx)("a",{href:null==e||null===(n=e.data)||void 0===n?void 0:n.uri,rel:"noopener noreferrer",target:null!=e&&null!==(o=e.data)&&void 0!==o&&null!==(r=o.uri)&&void 0!==r&&r.includes("www")||null!=e&&null!==(a=e.data)&&void 0!==a&&null!==(i=a.uri)&&void 0!==i&&i.includes("https")?"_blank":"_self",title:t,children:t})}}};return(0,s.jsxs)("div",{className:"a-to-be-aware-image",children:[(0,s.jsx)("div",{className:"a-to-be-aware-image__left",children:e&&e.gatsbyImage?(0,s.jsx)(a.G,{className:"a-to-be-aware-image__left__img",image:e.gatsbyImage,loading:"eager",alt:e.description?e.descripcion:e.title||"Imagen ¡Estamos para ayudarte!",title:e.description?e.descripcion:e.title||"Imagen ¡Estamos para ayudarte!"}):(null==e?void 0:e.file)&&(null==e?void 0:e.file.url)&&(0,s.jsx)("img",{src:(0,i.s)(e),alt:e.description?e.descripcion:e.title||"Imagen ¡Estamos para ayudarte!",title:e.description?e.descripcion:e.title||"Imagen ¡Estamos para ayudarte!",className:"a-to-be-aware-image__left__img"})}),(0,s.jsxs)("div",{className:"a-to-be-aware-image__right",children:[t&&(0,s.jsx)("h2",{children:t}),n&&n.raw&&(0,o.i)(JSON.parse(null==n?void 0:n.raw),c)]})]})}},73404:function(e,t,n){e.exports=n(3072)},73413:function(e,t,n){n.d(t,{A:function(){return x}});var o=n(96540),r=n(5556),a=n.n(r),i=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}var d=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(c(t)),t.handleErrored=t.handleErrored.bind(c(t)),t.handleChange=t.handleChange.bind(c(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(c(t)),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var a=r.prototype;return a.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},a.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},a.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},a.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},a.executeAsync=function(){var e=this;return new Promise(function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()})},a.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},a.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},a.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},a.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},a.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},a.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},a.componentDidMount=function(){this.explicitRender()},a.componentDidUpdate=function(){this.explicitRender()},a.handleRecaptchaRef=function(e){this.captcha=e},a.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,i));return o.createElement("div",s({},t,{ref:this.handleRecaptchaRef}))},r}(o.Component);d.displayName="ReCAPTCHA",d.propTypes={sitekey:a().string.isRequired,onChange:a().func,grecaptcha:a().object,theme:a().oneOf(["dark","light"]),type:a().oneOf(["image","audio"]),tabindex:a().number,onExpired:a().func,onErrored:a().func,size:a().oneOf(["compact","normal","invisible"]),stoken:a().string,hl:a().string,badge:a().oneOf(["bottomright","bottomleft","inline"]),isolated:a().bool}
2,d.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var p=n(4146),u=n.n(p);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},f.apply(this,arguments)}var m={},h=0;var _="onloadcallback";function v(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}var g,y,b=(g=function(){var e=v(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+_+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+_+"&render=explicit"},y=(y={callbackName:_,globalName:"grecaptcha",attributes:v().nonce?{nonce:v().nonce}:{}})||{},function(e){var t=e.displayName||e.name||"Component",n=function(t){var n,r;function a(e,n){var o;return(o=t.call(this,e,n)||this).state={},o.__scriptURL="",o}r=t,(n=a).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r;var i=a.prototype;return i.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+h++),this.__scriptLoaderID},i.setupScriptURL=function(){return this.__scriptURL="function"==typeof g?g():g,this.__scriptURL},i.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},i.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=m[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[y.callbackName]},i.componentDidMount=function(){var e=this,t=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),o=y,r=o.globalName,a=o.callbackName,i=o.scriptId;if(r&&void 0!==window[r]&&(m[t]={loaded:!0,observers:{}}),m[t]){var s=m[t];return s&&(s.loaded||s.errored)?void this.asyncScriptLoaderHandleLoad(s):void(s.observers[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var c={};c[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)},m[t]={loaded:!1,observers:c};var l=document.createElement("script");for(var d in l.src=t,l.async=!0,y.attributes)l.setAttribute(d,y.attributes[d]);i&&(l.id=i);var p=function(e){if(m[t]){var n=m[t].observers;for(var o in n)e(n[o])&&delete n[o]}};a&&"undefined"!=typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),l.onload=function(){var e=m[t];e&&(e.loaded=!0,p(function(t){return!a&&(t(e),!0)}))},l.onerror=function(){var e=m[t];e&&(e.errored=!0,p(function(t){return t(e),!0}))},document.body.appendChild(l)},i.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===y.removeOnUnmount)for(var t=document.getElementsByTagName("script"),n=0;n<t.length;n+=1)t[n].src.indexOf(e)>-1&&t[n].parentNode&&t[n].parentNode.removeChild(t[n]);var o=m[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===y.removeOnUnmount&&delete m[e])},i.render=function(){var t=y.globalName,n=this.props,r=(n.asyncScriptOnLoad,n.forwardedRef),a=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(n,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(a[t]=void 0!==window[t]?window[t]:void 0),a.ref=r,(0,o.createElement)(e,a)},a}(o.Component),r=(0,o.forwardRef)(function(e,t){return(0,o.createElement)(n,f({},e,{forwardedRef:t}))});return r.displayName="AsyncScriptLoader("+t+")",r.propTypes={asyncScriptOnLoad:a().func},u()(r,e)})(d),x=b},83793:function(e,t,n){var o=n(96540),r=n(79771),a=n(74848);const i=({name:e,options:t,label:n,register:i,validationRules:s,error:c,id:l,onChange:d,setValue:p,defaultValue:u,onDisplayEvent:f,onSelectEvent:m,forceChangeValue:h,required:_,square:v,loader:g,role:y,disabled:b=!1,isDefaultValue:x=!1})=>{const[j,w]=(0,o.useState)(),[N,S]=(0,o.useState)(!1);(0,o.useEffect)(()=>{t.length&&(t[0]&&p(e,t[0].value),w(t[0].name))},[]),(0,o.useEffect)(()=>{x&&w(u.name),u?(u&&j===u.name||!j)&&(p(e,u.value),w(u.name)):(p(e,t[0].value),w(t[0].name))},[u]),(0,o.useEffect)(()=>{h&&E(h.name,h.value)},[h]),(0,o.useLayoutEffect)(()=>{"requestType"===e&&(w("Selecciona"),p("requestType",""))},[t]);const E=(t,n)=>{p(e,n),w(t),d(t,n),S(!1)},L=()=>{const t=document.getElementById(`${l}select`),o=document.getElementById(`${l}options`),r=document.getElementById(`${l}currentOption`);if(n){const t=document.getElementById(e+n);t&&t.classList.toggle("__visible")}t&&o&&r&&(t.classList.toggle("__active"),o.classList.toggle("__active"),r.classList.toggle("__active"))};return(0,a.jsxs)("div",{className:"f-a-selectBox "+(v?" __square":""),role:y,"data-testid":"selectBox",children:[n&&(0,a.jsx)("label",{id:e+n,htmlFor:e,className:"f-a-selectBox__label"+(_?" __required":""),children:n}),N&&(0,a.jsx)("div",{className:"f-a-selectBox__background",onClick:()=>{b||(L(),S(!1))}}),(0,a.jsx)("div",{"data-testid":"select",tabIndex:0,className:"f-a-selectBox__select "+(c?"__error":""),id:`${l}select`,onClick:()=>{b||(f&&f(),S(!N),L())},children:(0,a.jsxs)("div",{className:"f-a-selectBox__select-inner",children:[(0,a.jsxs)("div",{className:"f-a-selectBox__select-content",children:[g&&(0,a.jsx)("div",{className:"f-a-selectBox__select-content__loader",children:(0,a.jsx)(r.A,{size:"__small"})}),(0,a.jsx)("p",{"data-testid":"currentOption",id:`${l}currentOption`,className:u&&j!==u.name?"__green":"",children:j})]}),v?N?(0,a.jsx)("span",{className:"icon-caret-up f-a-selectBox__icon"}):(0,a.jsx)("span",{className:"icon-caret-down f-a-selectBox__icon"}):N?(0,a.jsx)("span",{className:"icon-chevron-up f-a-selectBox__icon"}):(0,a.jsx)("span",{className:"icon-chevron-down1 f-a-selectBox__icon"})]})}),(0,a.jsx)("ul",{className:"f-a-selectBox__option-container",id:`${l}options`,"data-testid":"options",children:t&&t.map((t,o)=>(0,a.jsx)("li",{className:"f-a-selectBox__option",onClick:()=>{m&&m(),((t,o)=>{const r=document.getElementById(`${l}select`),a=document.getElementById(`${l}options`),i=document.getElementById(`${l}currentOption`);if(r&&a&&i&&(r.classList.toggle("__active"),r.classList.remove("__error"),a.classList.toggle("__active"),i.classList.toggle("__active")),p(e,o),w(t),d(t,o),n){const t=document.getElementById(e+n);t&&t.classList.remove("__visible")}S(!1)})(t.name,t.value)},children:(0,a.jsx)("p",{children:t.name})},o))}),(0,a.jsx)("input",{type:"hidden",name:e,id:e,...i(e,s)}),c&&(0,a.jsx)("span",{className:"f-a-selectBox__error",children:c.message})]})};i.defaultProps={id:"f-a-",onChange:()=>{}},t.A=i}}]);
3//# sourceMappingURL=3f8ce206ec6a3c076e9e6d9df3921fa785b55f11-7f42f7902d7a712d2219.js.map

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.