"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[67],{168:(t,e,s)=>{var n=s(0),i=s(3);function r(t){return Array.isArray?Array.isArray(t):"[object Array]"===u(t)}function c(t){return"string"==typeof t}function o(t){return"number"==typeof t}function h(t){return"object"==typeof t}function a(t){return null!=t}function l(t){return!t.trim().length}function u(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const d=t=>`Missing ${t} property in key`,g=t=>`Property 'weight' in key '${t}' must be a positive integer`,f=Object.prototype.hasOwnProperty;class p{constructor(t){this._keys=[],this._keyMap={};let e=0;t.forEach((t=>{let s=m(t);this._keys.push(s),this._keyMap[s.id]=s,e+=s.weight})),this._keys.forEach((t=>{t.weight/=e}))}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function m(t){let e=null,s=null,n=null,i=1,o=null;if(c(t)||r(t))n=t,e=x(t),s=M(t);else{if(!f.call(t,"name"))throw new Error(d("name"));const r=t.name;if(n=r,f.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(g(r));e=x(r),s=M(r),o=t.getFn}return{path:e,id:s,weight:i,src:n,getFn:o}}function x(t){return r(t)?t:t.split(".")}function M(t){return r(t)?t.join("."):t}var y={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx{if(a(t))if(e[l]){const d=t[e[l]];if(!a(d))return;if(l===e.length-1&&(c(d)||o(d)||function(t){return!0===t||!1===t||function(t){return h(t)&&null!==t}(t)&&"[object Boolean]"==u(t)}(d)))s.push(function(t){return null==t?"":function(t){if("string"==typeof t)return t;let e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(t)}(d));else if(r(d)){n=!0;for(let t=0,s=d.length;t{this._keysMap[t.id]=e}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,c(this.docs[0])?this.docs.forEach(((t,e)=>{this._addString(t,e)})):this.docs.forEach(((t,e)=>{this._addObject(t,e)})),this.norm.clear())}add(t){const e=this.size();c(t)?this._addString(t,e):this._addObject(t,e)}removeAt(t){this.records.splice(t,1);for(let e=t,s=this.size();e{let i=e.getFn?e.getFn(t):this.getFn(t,e.path);if(a(i))if(r(i)){let t=[];const e=[{nestedArrIndex:-1,value:i}];for(;e.length;){const{nestedArrIndex:s,value:n}=e.pop();if(a(n))if(c(n)&&!l(n)){let e={v:n,i:s,n:this.norm.get(n)};t.push(e)}else r(n)&&n.forEach(((t,s)=>{e.push({nestedArrIndex:s,value:t})}))}s.$[n]=t}else if(c(i)&&!l(i)){let t={v:i,n:this.norm.get(i)};s.$[n]=t}})),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function C(t,e,{getFn:s=y.getFn,fieldNormWeight:n=y.fieldNormWeight}={}){const i=new v({getFn:s,fieldNormWeight:n});return i.setKeys(t.map(m)),i.setSources(e),i.create(),i}function _(t,{errors:e=0,currentLocation:s=0,expectedLocation:n=0,distance:i=y.distance,ignoreLocation:r=y.ignoreLocation}={}){const c=e/t.length;if(r)return c;const o=Math.abs(n-s);return i?c+o/i:o?1:c}const k=32;function S(t){let e={};for(let s=0,n=t.length;s{this.chunks.push({pattern:t,alphabet:S(t),startIndex:e})},l=this.pattern.length;if(l>k){let t=0;const e=l%k,s=l-e;for(;t{const{isMatch:f,score:p,indices:m}=function(t,e,s,{location:n=y.location,distance:i=y.distance,threshold:r=y.threshold,findAllMatches:c=y.findAllMatches,minMatchCharLength:o=y.minMatchCharLength,includeMatches:h=y.includeMatches,ignoreLocation:a=y.ignoreLocation}={}){if(e.length>k)throw new Error("Pattern length exceeds max of 32.");const l=e.length,u=t.length,d=Math.max(0,Math.min(n,u));let g=r,f=d;const p=o>1||h,m=p?Array(u):[];let x;for(;(x=t.indexOf(e,f))>-1;){let t=_(e,{currentLocation:x,expectedLocation:d,distance:i,ignoreLocation:a});if(g=Math.min(t,g),f=x+l,p){let t=0;for(;t=h;r-=1){let c=r-1,o=s[t.charAt(c)];if(p&&(m[c]=+!!o),y[r]=(y[r+1]<<1|1)&o,n&&(y[r]|=(M[r+1]|M[r])<<1|1|M[r+1]),y[r]&C&&(L=_(e,{errors:n,currentLocation:c,expectedLocation:d,distance:i,ignoreLocation:a}),L<=g)){if(g=L,f=c,f<=d)break;h=Math.max(1,2*d-f)}}if(_(e,{errors:n+1,currentLocation:d,expectedLocation:d,distance:i,ignoreLocation:a})>g)break;M=y}const S={isMatch:f>=0,score:Math.max(.001,L)};if(p){const t=function(t=[],e=y.minMatchCharLength){let s=[],n=-1,i=-1,r=0;for(let c=t.length;r=e&&s.push([n,i]),n=-1)}return t[r-1]&&r-n>=e&&s.push([n,r-1]),s}(m,o);t.length?h&&(S.indices=t):S.isMatch=!1}return S}(t,e,d,{location:n+g,distance:i,threshold:r,findAllMatches:c,minMatchCharLength:o,includeMatches:s,ignoreLocation:h});f&&(u=!0),l+=p,f&&m&&(a=[...a,...m])}));let d={isMatch:u,score:u?l/this.chunks.length:1};return u&&s&&(d.indices=a),d}}class I{constructor(t){this.pattern=t}static isMultiMatch(t){return b(t,this.multiRegex)}static isSingleMatch(t){return b(t,this.singleRegex)}search(){}}function b(t,e){const s=t.match(e);return s?s[1]:null}class E extends I{constructor(t,{location:e=y.location,threshold:s=y.threshold,distance:n=y.distance,includeMatches:i=y.includeMatches,findAllMatches:r=y.findAllMatches,minMatchCharLength:c=y.minMatchCharLength,isCaseSensitive:o=y.isCaseSensitive,ignoreLocation:h=y.ignoreLocation}={}){super(t),this._bitapSearch=new w(t,{location:e,threshold:s,distance:n,includeMatches:i,findAllMatches:r,minMatchCharLength:c,isCaseSensitive:o,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class N extends I{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let e,s=0;const n=[],i=this.pattern.length;for(;(e=t.indexOf(this.pattern,s))>-1;)s=e+i,n.push([e,s-1]);const r=!!n.length;return{isMatch:r,score:r?0:1,indices:n}}}const $=[class extends I{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const e=t===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}},N,class extends I{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const e=t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}},class extends I{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const e=!t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}},class extends I{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const e=!t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}},class extends I{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const e=t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]}}},class extends I{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const e=-1===t.indexOf(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}},E],j=$.length,A=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,F=new Set([E.type,N.type]);const R=[];function O(t,e){for(let s=0,n=R.length;s!(!t[W]&&!t.$or),H=t=>({[W]:Object.keys(t).map((e=>({[e]:t[e]})))});function K(t,e,{auto:s=!0}={}){const n=t=>{let i=Object.keys(t);const o=(t=>!!t[z])(t);if(!o&&i.length>1&&!q(t))return n(H(t));if((t=>!r(t)&&h(t)&&!q(t))(t)){const n=o?t[z]:i[0],r=o?t.$val:t[n];if(!c(r))throw new Error((t=>`Invalid value for key ${t}`)(n));const h={keyId:M(n),pattern:r};return s&&(h.searcher=O(r,e)),h}let a={children:[],operator:i[0]};return i.forEach((e=>{const s=t[e];r(s)&&s.forEach((t=>{a.children.push(n(t))}))})),a};return q(t)||(t=H(t)),n(t)}function B(t,e){const s=t.matches;e.matches=[],a(s)&&s.forEach((t=>{if(!a(t.indices)||!t.indices.length)return;const{indices:s,value:n}=t;let i={indices:s,value:n};t.key&&(i.key=t.key.src),t.idx>-1&&(i.refIndex=t.idx),e.matches.push(i)}))}function D(t,e){e.score=t.score}class P{constructor(t,e={},s){this.options={...y,...e},this.options.useExtendedSearch,this._keyStore=new p(this.options.keys),this.setCollection(t,s)}setCollection(t,e){if(this._docs=t,e&&!(e instanceof v))throw new Error("Incorrect 'index' type");this._myIndex=e||C(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){a(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const e=[];for(let s=0,n=this._docs.length;s{let s=1;t.matches.forEach((({key:t,norm:n,score:i})=>{const r=t?t.weight:null;s*=Math.pow(0===i&&r?Number.EPSILON:i,(r||1)*(e?1:n))})),t.score=s}))}(a,{ignoreFieldNorm:h}),i&&a.sort(r),o(e)&&e>-1&&(a=a.slice(0,e)),function(t,e,{includeMatches:s=y.includeMatches,includeScore:n=y.includeScore}={}){const i=[];return s&&i.push(B),n&&i.push(D),t.map((t=>{const{idx:s}=t,n={item:e[s],refIndex:s};return i.length&&i.forEach((e=>{e(t,n)})),n}))}(a,this._docs,{includeMatches:s,includeScore:n})}_searchStringList(t){const e=O(t,this.options),{records:s}=this._myIndex,n=[];return s.forEach((({v:t,i:s,n:i})=>{if(!a(t))return;const{isMatch:r,score:c,indices:o}=e.searchIn(t);r&&n.push({item:t,idx:s,matches:[{score:c,value:t,norm:i,indices:o}]})})),n}_searchLogical(t){const e=K(t,this.options),s=(t,e,n)=>{if(!t.children){const{keyId:s,searcher:i}=t,r=this._findMatches({key:this._keyStore.get(s),value:this._myIndex.getValueForItemAtKeyId(e,s),searcher:i});return r&&r.length?[{idx:n,item:e,matches:r}]:[]}const i=[];for(let r=0,c=t.children.length;r{if(a(t)){let c=s(e,t,n);c.length&&(i[n]||(i[n]={idx:n,item:t,matches:[]},r.push(i[n])),c.forEach((({matches:t})=>{i[n].matches.push(...t)})))}})),r}_searchObjectList(t){const e=O(t,this.options),{keys:s,records:n}=this._myIndex,i=[];return n.forEach((({$:t,i:n})=>{if(!a(t))return;let r=[];s.forEach(((s,n)=>{r.push(...this._findMatches({key:s,value:t[n],searcher:e}))})),r.length&&i.push({idx:n,item:t,matches:r})})),i}_findMatches({key:t,value:e,searcher:s}){if(!a(e))return[];let n=[];if(r(e))e.forEach((({v:e,i,n:r})=>{if(!a(e))return;const{isMatch:c,score:o,indices:h}=s.searchIn(e);c&&n.push({score:o,key:t,value:e,idx:i,norm:r,indices:h})}));else{const{v:i,n:r}=e,{isMatch:c,score:o,indices:h}=s.searchIn(i);c&&n.push({score:o,key:t,value:i,norm:r,indices:h})}return n}}P.version="7.0.0",P.createIndex=C,P.parseIndex=function(t,{getFn:e=y.getFn,fieldNormWeight:s=y.fieldNormWeight}={}){const{keys:n,records:i}=t,r=new v({getFn:e,fieldNormWeight:s});return r.setKeys(n),r.setIndexRecords(i),r},P.config=y,P.parseQuery=K,function(...t){R.push(...t)}(class{constructor(t,{isCaseSensitive:e=y.isCaseSensitive,includeMatches:s=y.includeMatches,minMatchCharLength:n=y.minMatchCharLength,ignoreLocation:i=y.ignoreLocation,findAllMatches:r=y.findAllMatches,location:c=y.location,threshold:o=y.threshold,distance:h=y.distance}={}){this.query=null,this.options={isCaseSensitive:e,includeMatches:s,minMatchCharLength:n,findAllMatches:r,ignoreLocation:i,location:c,threshold:o,distance:h},this.pattern=e?t:t.toLowerCase(),this.query=function(t,e={}){return t.split("|").map((t=>{let s=t.trim().split(A).filter((t=>t&&!!t.trim())),n=[];for(let t=0,i=s.length;t(0,n.jsxs)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M12.1 21.75C6.44998 21.75 1.84998 17.15 1.84998 11.5C1.84998 5.85 6.44998 1.25 12.1 1.25C17.75 1.25 22.35 5.85 22.35 11.5C22.35 17.15 17.75 21.75 12.1 21.75ZM12.1 2.75C7.26998 2.75 3.34998 6.68 3.34998 11.5C3.34998 16.32 7.26998 20.25 12.1 20.25C16.93 20.25 20.85 16.32 20.85 11.5C20.85 6.68 16.93 2.75 12.1 2.75Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M22.6 22.7504C22.41 22.7504 22.22 22.6804 22.07 22.5304L20.07 20.5304C19.78 20.2404 19.78 19.7604 20.07 19.4704C20.36 19.1804 20.84 19.1804 21.13 19.4704L23.13 21.4704C23.42 21.7604 23.42 22.2404 23.13 22.5304C22.98 22.6804 22.79 22.7504 22.6 22.7504Z",fill:"currentColor"})]});(0,s(1).createEntrypoint)("information_search_cards",(function(t){if(!t.cards)return(0,n.jsx)(i.Fragment,{});const e=(0,Q.useMemo)((()=>t.cards),t.cards),s=(0,Q.useMemo)((()=>new P(e,{keys:["title","subtitle","text"]})),[t.cards]),[r,c]=(0,Q.useState)(e),[o,h]=(0,Q.useState)("");return(0,Q.useEffect)((()=>{if(""===o)return void c(e);const t=s.search(o).map((t=>t.item));c(t)}),[o]),(0,n.jsxs)("section",{className:"_r5DnC9Q",children:[(0,n.jsxs)("div",{className:"LD6HQi66",children:[(0,n.jsx)("h1",{className:"eiT87uto",children:t.title}),t.text&&(0,n.jsx)("div",{className:"uHXS6xuD",dangerouslySetInnerHTML:{__html:t.text}}),(0,n.jsxs)("div",{className:"zMdpplNr",children:[(0,n.jsx)("input",{type:"text",value:o,onInput:t=>{return e=t.currentTarget.value,void h(e.trim());var e},placeholder:"Search...",className:"qqUMCiz1"}),(0,n.jsx)(T,{})]})]}),(0,n.jsx)("div",{className:"kjbitub3",children:r.map((t=>(0,n.jsxs)("div",{className:"a0BBiErp",children:[(0,n.jsx)("h3",{className:"FScip3HX",children:t.title}),(0,n.jsx)("h3",{className:"VtE8sEDS",children:t.subtitle}),t.text&&(0,n.jsx)("h3",{className:"Qrtlhz_7",dangerouslySetInnerHTML:{__html:t.text}})]})))})]})}))}},t=>{t.O(0,[1],(()=>t(t.s=168))),t.O()}]);