PageSourceSearch

https://www.carolinemenjivar.com/_next/static/immutable/chunks/10fmuu4ql1p2b.js

js carolinemenjivar.com collected 2026-09-25 03:57:58 UTC 1,395,327 bytes, 6,487 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67098,e=>{"use strict";let t,a,n,r,o;var i,s,l,d,c,u,p,m,h=e.i(91398),g=e.i(68160),f=e.i(58678),v=e.i(3828),b=e.i(91788),y=e.i(50461),x="u">typeof window?window:void 0,S="u">typeof globalThis?globalThis:x,w=null==S?void 0:S.navigator,C=null==S?void 0:S.document,T=null==S?void 0:S.location,$=null==S?void 0:S.fetch,E=null!=S&&S.XMLHttpRequest&&"withCredentials"in new S.XMLHttpRequest?S.XMLHttpRequest:void 0,I=null==S?void 0:S.AbortController,N=null==S?void 0:S.CompressionStream,_=null==w?void 0:w.userAgent;function k(){return!(!x||!1===x.navigator.onLine)}var M="u">typeof globalThis?globalThis:x;M&&"u"<typeof self&&(M.self=M),M&&"u"<typeof File&&(M.File=function(){});var A=null!=x?x:{},R={DEBUG:!1,LIB_VERSION:"0.2.4",LIB_NAME:"browser-common"};function O(e,t,a,n,r,o,i){try{var s=e[o](i),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,r)}function B(e){return function(){var t=this,a=arguments;return new Promise(function(n,r){var o=e.apply(t,a);function i(e){O(o,n,r,i,s,"next",e)}function s(e){O(o,n,r,i,s,"throw",e)}i(void 0)})}}function P(){return(P=Object.assign.bind()).apply(null,arguments)}function L(e,t){if(null==e)return{};var a={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;a[n]=e[n]}return a}var D=e=>{if("string"!=typeof e)return e;try{return JSON.parse(e)}catch(t){return e}};function j(e){return"string"==typeof e||e}function G(e){return"string"==typeof e?e:void 0}var F,H,U,K,z=["$feature_flag","$feature_flag_response","$feature_flag_has_experiment","$feature_flag_id","$feature_flag_version","$feature_flag_reason","$feature_flag_request_id","$feature_flag_evaluated_at","$feature_flag_error","locally_evaluated","$groups","$process_person_profile","$geoip_disable","$current_url","$pathname","$session_id","$window_id","$lib","$lib_version","$device_id","$is_server"],V=((F={}).AnonymousId="anonymous_id",F.DistinctId="distinct_id",F.Props="props",F.EnablePersonProcessing="enable_person_processing",F.PersonMode="person_mode",F.FeatureFlagDetails="feature_flag_details",F.FeatureFlags="feature_flags",F.FeatureFlagPayloads="feature_flag_payloads",F.BootstrapFeatureFlagDetails="bootstrap_feature_flag_details",F.BootstrapFeatureFlags="bootstrap_feature_flags",F.BootstrapFeatureFlagPayloads="bootstrap_feature_flag_payloads",F.OverrideFeatureFlags="override_feature_flags",F.Queue="queue",F.AiQueue="ai_queue",F.LogsQueue="logs_queue",F.OptedOut="opted_out",F.SessionId="session_id",F.SessionStartTimestamp="session_start_timestamp",F.SessionLastTimestamp="session_timestamp",F.PersonProperties="person_properties",F.GroupProperties="group_properties",F.InstalledAppBuild="installed_app_build",F.InstalledAppVersion="installed_app_version",F.SessionReplay="session_replay",F.SessionReplayEventTriggerActivatedSession="session_replay_event_trigger_activated_session",F.SurveyLastSeenDate="survey_last_seen_date",F.SurveysSeen="surveys_seen",F.Surveys="surveys",F.RemoteConfig="remote_config",F.FlagsEndpointWasHit="flags_endpoint_was_hit",F.DeviceId="device_id",F),W=((H={}).GZipJS="gzip-js",H.Base64="base64",H),Z=["$snapshot","$pageview","$pageleave","$set","survey dismissed","survey sent","survey shown","$identify","$groupidentify","$create_alias","$$client_ingestion_warning","$web_experiment_applied","$feature_enrollment_update","$feature_flag_called"],Y=["token"],J="NativeGzipValidationError",q=e=>e.length>=2&&31===e[0]&&139===e[1],X=(e,t)=>e===W.GZipJS||t===W.GZipJS||"gzip"===t,Q=e=>!(!e||"object"!=typeof e)&&"NotReadableError"===("name"in e?String(e.name):""),ee=e=>{var t=Error("Native gzip produced invalid output: "+e);throw t.name=J,t},et=(U=B(function*(e,t){18>e.size&&ee("too-short");var a=new Uint8Array((yield e.slice(0,10).arrayBuffer()));q(a)&&8===a[2]||ee("invalid-header");var n=new DataView((yield e.slice(e.size-8).arrayBuffer()));n.getUint32(0,!0)!==(e=>{for(var t=(()=>{if(K)return K;K=[];for(var e=0;256>e;e++){for(var t=e,a=0;8>a;a++)t=1&t?0xedb88320^t>>>1:t>>>1;K[e]=t>>>0}return K})(),a=0xffffffff,n=0;e.length>n;n++)a=t[255&(a^e[n])]^a>>>8;return(0xffffffff^a)>>>0})(t)&&ee("invalid-crc");var r=t.length>>>0;n.getUint32(4,!0)!==r&&ee("invalid-size")}),function(e,t){return U.apply(this,arguments)});function ea(){return(ea=B(function*(e,t,a){void 0===t&&(t=!0);try{var n,r=(new TextEncoder).encode(e),o=new globalThis.CompressionStream("gzip"),i=o.writable.getWriter(),s=i.write(r).then(()=>i.close()).catch((n=B(function*(e){try{yield i.abort(e)}catch(e){}throw e}),function(e){return n.apply(this,arguments)})),l=new Response(o.readable).blob(),d=(yield Promise.all([l,s]))[0];return yield et(d,r),d}catch(e){if(null!=a&&a.rethrow)throw e;return t&&console.error("Failed to gzip compress data",e),null}})).apply(this,arguments)}var en=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hub
1spot","ia_archiver","leikibot","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercel-screenshot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleother","google-cloudvertexbot","googleweblight","mediapartners-google","storebot-google","google-inspectiontool","bytespider"],er=function(e,t){if(void 0===t&&(t=[]),!e)return!1;var a=e.toLowerCase();return en.concat(t).some(e=>{var t=e.toLowerCase();return -1!==a.indexOf(t)})};function eo(e,t){return -1!==e.indexOf(t)}var ei=function(e){return e.trim()},es=function(e){return e.replace(/^\$/,"")};function el(e){var t,a=[];return null!=(t=JSON.stringify(e,function(e,t){if("bigint"==typeof t)return t.toString();if("function"!=typeof t&&"symbol"!=typeof t){if(t instanceof Error)return{name:t.name,message:t.message,stack:t.stack};if(t&&"object"==typeof t){for(;a.length>0&&a[a.length-1]!==this;)a.pop();if(a.includes(t))return"[Circular]";a.push(t)}return t}}))?t:"null"}var ed=Object.prototype,ec=ed.hasOwnProperty,eu=ed.toString,ep=Array.isArray||function(e){return"[object Array]"===eu.call(e)},em=e=>"function"==typeof e,eh=e=>e===Object(e)&&!ep(e),eg=e=>{if(eh(e)){for(var t in e)if(ec.call(e,t))return!1;return!0}return!1},ef=e=>void 0===e,ev=e=>"[object String]"==eu.call(e),eb=e=>ev(e)&&0===e.trim().length,ey=e=>null===e,ex=e=>ef(e)||ey(e),eS=e=>"[object Number]"==eu.call(e)&&e==e,ew=e=>eS(e)&&e>0,eC=e=>"[object Boolean]"===eu.call(e),eT=e=>eo(Z,e),e$=e=>eo(Y,e);function eE(e){return null===e||"object"!=typeof e}function eI(e,t){return({}).toString.call(e)==="[object "+t+"]"}function eN(e){return"u">typeof Event&&function(e,t){try{return e instanceof t}catch(e){return!1}}(e,Event)}var e_=[!0,"true",1,"1","yes"],ek=[!1,"false",0,"0","no"];function eM(e,t,a,n,r){return t>a&&(n.warn("min cannot be greater than max."),t=a),eS(e)?e>a?(n.warn(" cannot be  greater than max: "+a+". Using max value instead."),a):t>e?(n.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(n.warn(" must be a number. using max or fallback. max: "+a+", fallback: "+r),eM(r||a,t,a,n))}class eA{constructor(e){this.$e={},this.ze=e.ze,this.Ze=eM(e.bucketSize,0,100,e.Ge),this.Qe=eM(e.refillRate,0,this.Ze,e.Ge),this.Je=eM(e.refillInterval,0,864e5,e.Ge)}Ke(e,t){var a=Math.floor((t-e.lastAccess)/this.Je);a>0&&(e.tokens=Math.min(e.tokens+a*this.Qe,this.Ze),e.lastAccess=e.lastAccess+a*this.Je)}consumeRateLimit(e){var t,a=Date.now(),n=String(e),r=this.$e[n];return r?this.Ke(r,a):this.$e[n]=r={tokens:this.Ze,lastAccess:a},0===r.tokens||(r.tokens--,0===r.tokens&&(null==(t=this.ze)||t.call(this,e)),0===r.tokens)}stop(){this.$e={}}}var eR="Mobile",eO="Android",eB="Tablet",eP=eO+" "+eB,eL="iPad",eD="Apple",ej=eD+" Watch",eG="Safari",eF="BlackBerry",eH="Samsung",eU=eH+"Browser",eK=eH+" Internet",ez="Chrome",eV=ez+" OS",eW=ez+" iOS",eZ="Internet Explorer",eY=eZ+" "+eR,eJ="Opera",eq=eJ+" Mini",eX="Edge",eQ="Microsoft "+eX,e0="Firefox",e1=e0+" iOS",e2="Nintendo",e3="PlayStation",e5="Xbox",e4=eO+" "+eR,e6=eR+" "+eG,e8="Windows",e9=e8+" Phone",e7="Nokia",te="Ouya",tt="Generic",ta=tt+" "+eR.toLowerCase(),tn=tt+" "+eB.toLowerCase(),tr="Konqueror",to="Oculus Browser",ti="Vivaldi",ts="Yandex",tl="Whale",td="DuckDuckGo",tc="Pale Moon",tu="Waterfox",tp="Brave",tm="Google Search App",th="(\\d+(\\.\\d+)?)",tg=RegExp("Version/"+th),tf=RegExp(e5,"i"),tv=RegExp(e3+" \\w+","i"),tb=RegExp(e2+" \\w+","i"),ty=RegExp(eF+"|PlayBook|BB10","i"),tx={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},tS=function(e,t,a,n){var r;return t=t||"",(null!=a&&a.brave?tp:null)||(null!=n&&n.detectGoogleSearchApp&&eo(e,"GSA/")?tm:eo(e," OPR/")&&eo(e,"Mini")?eq:eo(e," OPR/")?eJ:ty.test(e)?eF:eo(e,"IE"+eR)||eo(e,"WPDesktop")?eY:eo(e,"OculusBrowser")?to:eo(e,eU)?eK:eo(e,eX)||eo(e,"Edg/")?eQ:eo(e,ti+"/")?ti:eo(e,"YaBrowser/")?ts:eo(e,tl+"/")?tl:eo(e,td+"/")||eo(e,"Ddg/")?td:eo(e,"FBIOS")?"Facebook "+eR:eo(e,"UCWEB")||eo(e,"UCBrowser")?"UC Browser":eo(e,"CriOS")?eW:eo(e,"CrMo")||eo(e,ez)?ez:eo(e,eO)&&eo(e,eG)?e4:eo(e,"FxiOS")?e1:eo(e.toLowerCase(),tr.toLowerCase())?tr:eo(e,tp+"/")?tp:(r=t)&&eo(r,eD)||eo(e,eG)&&!eo(e,ez)&&!eo(e,eO)?eo(e,eR)?e6:eG:eo(e,"PaleMoon/")?tc:eo(e,tu+"/")?tu:eo(e,e0)?e0:eo(e,"MSIE")||eo(e,"Trident/")?eZ:eo(e,"Gecko")?e0:"")},tw={[eY]:[RegExp("rv:"+th)],[eQ]:[RegExp(eX+"?\\/"+th)],[ez]:[RegExp("("+ez+"|CrMo)\\/"+th)],[eW]:[RegExp("CriOS\\/"+th)],"UC Browser":[RegExp("(UCBrowser|UCWEB)\\/"+th)],[eG]:[tg],[e6]:[tg],[eJ]:[RegExp("(Opera|OPR)\\/"+th)],[e0]:[RegExp(e0+"\\/"+th)],[e1]:[RegExp("FxiOS\\/"+th)],[tr]:[RegExp("Konqueror[:/]?"+th,"i")],[eF]:[RegExp(eF+" "+th),tg],[e4]:[RegExp("android\\s"+th,"i")],[eK]:[RegExp(eU+"\\/"+th)],[to]:[RegExp("OculusBrowser\\/"+th)],[ti]:[RegExp(ti+"\\/"+th)],[ts]:[RegExp("YaBrowser\\/"+th)],[tl]:[RegExp(tl+"\\/"+th)],[tp]:[RegExp(tp+"\\/"+th)],[td]:[RegExp("(DuckDuckGo|Ddg)\\/"+th)],[tc]:[RegExp("PaleMoon\\/"+th)],[tu]:[RegExp(tu+"\\/"+th)],[tm]:[RegExp("GSA\\/"+th)],[eZ]:[RegExp("(rv:|MSIE )"+th)],Mozilla:[RegExp("rv:"+th)]},tC=function(e,t,a,n){var r=tw[tS(e,t,a,n)];if(ef(r))return null;for(var o=0;r.length>
1o;o++){var i=e.match(r[o]);if(i)return parseFloat(i[i.length-2])}return null},tT=[[RegExp(e5+"; "+e5+" (.*?)[);]","i"),e=>[e5,e&&e[1]||""]],[RegExp(e2,"i"),[e2,""]],[RegExp(e3,"i"),[e3,""]],[ty,[eF,""]],[RegExp(e8,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[e9,""];if(new RegExp(eR).test(t)&&!/IEMobile\b/.test(t))return[e8+" "+eR,""];var a=/Windows NT ([0-9.]+)/i.exec(t);if(a&&a[1]){var n=tx[a[1]]||"";return/arm/i.test(t)&&(n="RT"),[e8,n]}return[e8,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>e&&e[3]?["iOS",[e[3],e[4],e[5]||"0"].join(".")]:["iOS",""]],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=ef(e[2])?e[3]:e[2]),["watchOS",t]}],[RegExp("("+eO+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+eO+")","i"),e=>e&&e[2]?[eO,[e[2],e[3],e[4]||"0"].join(".")]:[eO,""]],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];return e&&e[1]&&(t[1]=[e[1],e[2],e[3]||"0"].join(".")),t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[eV,""]],[/Linux|debian/i,["Linux",""]]],t$=function(e){return tb.test(e)?e2:tv.test(e)?e3:tf.test(e)?e5:RegExp(te,"i").test(e)?te:RegExp("("+e9+"|WPDesktop)","i").test(e)?e9:/iPad/.test(e)?eL:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?ej:ty.test(e)?eF:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":RegExp(e7,"i").test(e)?e7:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?new RegExp(eR).test(e)&&!/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)||/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?eO:eP:RegExp("(pda|"+eR+")","i").test(e)?ta:RegExp(eB,"i").test(e)&&!RegExp(eB+" pc","i").test(e)?tn:""},tE=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function tI(e,t){return"string"==typeof e&&tE.test(e)?e:t()}function tN(e){return e?e.split("#")[0]:e}function t_(e,t){var a=setTimeout(e,t);return(null==a?void 0:a.unref)&&(null==a||a.unref()),a}var tk=e=>e instanceof Error,tM={trace:{text:"TRACE",number:1},debug:{text:"DEBUG",number:5},info:{text:"INFO",number:9},warn:{text:"WARN",number:13},error:{text:"ERROR",number:17},fatal:{text:"FATAL",number:21}},tA=tM.info;function tR(e){var t=[];for(var a in e){var n=e[a];ey(n)||ef(n)||t.push({key:a,value:function e(t){if(eC(t))return{boolValue:t};if("number"==typeof t)return Number.isFinite(t)?Number.isInteger(t)?{intValue:t}:{doubleValue:t}:{stringValue:String(t)};if("string"==typeof t)return{stringValue:t};if(ep(t))return{arrayValue:{values:t.map(t=>e(t))}};try{return{stringValue:JSON.stringify(t)}}catch(e){return{stringValue:String(t)}}}(n)})}return t}function tO(e,t,a){return P({},e.resourceAttributes,{"service.name":e.serviceName||"unknown_service"},e.environment&&{"deployment.environment":e.environment},e.serviceVersion&&{"service.version":e.serviceVersion},{"telemetry.sdk.name":t,"telemetry.sdk.version":a})}function tB(e,t,a,n){return{resourceLogs:[{resource:{attributes:tR(t)},scopeLogs:[{scope:{name:a,version:n},logRecords:e}]}]}}let tP=class{constructor(e,t,a,n,r,o,i){var s;void 0===o&&(o=()=>Promise.resolve()),this._instance=e,this.Te=t,this.Ge=a,this.Ye=n,this.Xe=r,this.et=o,this.tt=i,this.rt=null,this.it=0,this.nt=0,this.st=0,this.ot=0,this.ut=!1,this.ht=t.maxBufferSize,this.dt=Math.max(null!=(s=t.maxQueueSize)?s:t.maxBufferSize,t.maxBufferSize),this.ct=t.flushIntervalMs,this.vt=t.maxBatchRecordsPerPost,this.ft=t.rateCapWindowMs,this.yt=t.maxLogsPerInterval}reset(){this.bt(),this.rt=null,this.st=0,this.ot=0,this.ut=!1,this.it=0,this.nt=0,this.vt=this.Te.maxBatchRecordsPerPost}onReconnect(){this.nt=0,this._t()}captureLog(e){if(!this._instance.isDisabled&&!this._instance.optedOut&&null!=e&&e.body){var t=this.wt(e);if(null!==t)if(t.body){if(this.xt()){var a,n,r,o,i,s,l,d,c={record:(a=this.Ye(),r=(n=tM[t.level||"info"]||tA).text,o=n.number,i=String(Date.now())+"000000",s={},a.distinctId&&(s.posthogDistinctId=a.distinctId),a.sessionId&&(s.sessionId=a.sessionId),a.windowId&&(s["window.id"]=a.windowId),ex(a.sessionStartTimestamp)||(s.sessionStartTimestamp=String(a.sessionStartTimestamp)),ex(a.lastActivityTimestamp)||(s.lastActivityTimestamp=String(a.lastActivityTimestamp)),a.currentUrl&&(s["url.full"]=a.currentUrl),a.screenName&&(s["screen.name"]=a.screenName),a.appState&&(s["app.state"]=a.appState),a.activeFeatureFlags&&a.activeFeatureFlags.length>0&&(s.feature_flags=a.activeFeatureFlags),l=P({},s,t.attributes||{}),d={timeUnixNano:i,observedTimeUnixNano:i,severityNumber:o,severityText:r,body:{stringValue:t.body},attributes:tR(l)},t.trace_id&&(d.traceId=t.trace_id),t.span_id&&(d.spanId=t.span_id),ef(t.trace_flags)||(d.flags=t.trace_flags),d)};this.Xe(()=>this.kt(c))}}else this.Ge.info("Log was rejected in beforeSend function")}}wt(e){var t=this.Te.beforeSend;if(!t)return e;var a=ep(t)?t:[t],n=e;for(var r of a)try{var o=r(n);if(!o)return this.Ge.info("Log was rejected in beforeSend function"),null;n=o}catch(e){return this.Ge.error("Error in beforeSend function for log:",e),null}return n}xt(){if(void 0===this.yt)return!0;var e=Date.now(),t=e-this.st;return this.ft>t&&t>=0||(this.st=e,this.ot=0,this.ut=!1),this.yt>this.ot?(this.ot++,!0):(this.ut||(this.Ge.warn("captureLog dropping logs: exceeded "+this.yt+" logs per "+this.ft+"ms"),this.ut=!0),!1)}flush(){var e=this;return B(function*(){if(!e._instance.isDisabled)return e.rt||(e.rt=e.St().finally(()=>{e.rt=null})),e.rt})()}St(){var e=this;return B(function*(){e.bt();var t=null!=(r=e._instance.getPersistedProperty(V.LogsQueue))?r:[];if(0!==t.length)for(var a=t.length,n=0;t.length>0&&a>n;){e.it=0;var r,o,i,s=Math.min(t.length,e.vt),l=t.slice(0,s),d=tB(l.map(e=>e.record),e.Ct(),null!=(o=e.tt)?o:e._instance.getLibraryId(),e._instance.getLibraryVersion()),c=yield e._instance.Tt(d);if("too-large"===c.kind&&l.length>1)e.vt=Math.max(1,Math.floor(l.length/2)),e.Ge.warn("Received 413 when sending logs batch of size "+l.length+", reducing batch size to "+e.vt);else if("retry-later"===c.kind||("too-large"===c.kind?e.Ge.warn("Dropping a single log record after 413 with batch size 1 — the record 
1is larger than the server cap and cannot be split further."):"ok"===c.kind&&e.Te.maxBatchRecordsPerPost>e.vt&&(e.vt=Math.min(e.Te.maxBatchRecordsPerPost,e.vt+1)),yield e.It(l.length),t=null!=(i=e._instance.getPersistedProperty(V.LogsQueue))?i:[],n+=l.length,"fatal"===c.kind))throw c.error}})()}It(e){var t=this;return B(function*(){var a,n=Math.max(0,e-t.it),r=null!=(a=t._instance.getPersistedProperty(V.LogsQueue))?a:[];t._instance.setPersistedProperty(V.LogsQueue,r.slice(n)),yield t.et()})()}Ct(){return tO(this.Te,this._instance.getLibraryId(),this._instance.getLibraryVersion())}kt(e){var t;if(!this._instance.optedOut){var a=null!=(t=this._instance.getPersistedProperty(V.LogsQueue))?t:[];this.dt>a.length||(a.shift(),this.it++,this.Ge.info("Logs queue is full, dropping oldest record.")),a.push(e),this._instance.setPersistedProperty(V.LogsQueue,a),this.ht>a.length?this.Mt():this._t()}}Mt(e){void 0===e&&(e=this.ct),this.Et||(this.Et=t_(()=>{this.Et=void 0,this._t()},e))}Rt(){var e=Math.min(Math.max(0,this.nt-1),6);return this.ct*Math.pow(2,e)}Pt(){var e=this._instance.getPersistedProperty(V.LogsQueue);return!!e&&e.length>0}shutdown(e){var t=this;return B(function*(){t.bt();var a=t.flush().catch(()=>{});void 0!==e?yield Promise.race([a,new Promise(t=>t_(t,e))]):yield a})()}flushWithTimeout(e){var t=this;return B(function*(){var a=!1,n=t.flush(),r=new Promise(t=>t_(()=>{a=!0,t()},e));try{yield Promise.race([n,r])}finally{a&&n.catch(()=>{})}})()}_t(){this.flush().then(()=>{this.nt=0},e=>{this.nt++,this.Ge.error("PostHog logs flush failed:",e)}).finally(()=>{!this._instance.isDisabled&&this.Pt()&&this.Mt(this.Rt())})}bt(){this.Et&&(clearTimeout(this.Et),this.Et=void 0)}};var tL=[0,5,10,25,50,75,100,250,500,750,1e3,2500,5e3,7500,1e4];function tD(e){return String(e)+"000000"}function tj(e,t,a,n){var r="";return n&&(r=Object.keys(n).sort().map(e=>JSON.stringify(e)+":"+JSON.stringify(n[e])).join(",")),e+"\0"+t+"\0"+(null!=a?a:"")+"\0"+r}let tG=class{constructor(e,t,a){this._instance=e,this.Te=t,this.Ge=a,this.Ot=new Map,this.rt=null,this.Ft=!1,this.Lt=new Map,this.$t=new Set,this.At=0}count(e,t,a){void 0===t&&(t=1),this.Nt({name:e,type:"count",value:t,unit:null==a?void 0:a.unit,attributes:null==a?void 0:a.attributes})}
1gauge(e,t,a){this.Nt({name:e,type:"gauge",value:t,unit:null==a?void 0:a.unit,attributes:null==a?void 0:a.attributes})}histogram(e,t,a){this.Nt({name:e,type:"histogram",value:t,unit:null==a?void 0:a.unit,attributes:null==a?void 0:a.attributes})}flush(){var e,t=this,a=this.rt,n=(e=B(function*(){a&&(yield a.catch(()=>{})),yield t.Dt()}),function(){return e.apply(this,arguments)})().finally(()=>{this.rt===n&&(this.rt=null)});return this.rt=n,n}drainWindow(){if(0===this.Ot.size)return null;var e=this.Ot;return this.Ot=new Map,this.Ft=!1,this.Lt=new Map,this.$t=new Set,this.qt(e)}reset(){this.At++,this.bt(),this.Ot=new Map,this.rt=null,this.Ft=!1,this.Lt=new Map,this.$t=new Set}Nt(e){if(!this._instance.isDisabled&&!this._instance.optedOut){var t=this.wt(e);if(null!==t)if(t.name&&"string"==typeof t.name)if("number"==typeof t.value&&Number.isFinite(t.value))if("count"===t.type&&0>t.value)this.Ge.warn("Dropping count '"+t.name+"': counters are monotonic, value must be >= 0");else{try{a=t.attributes?P({},t.attributes):void 0,n=tj(t.type,t.name,t.unit,a)}catch(e){return void this.Ge.warn("Dropping metric '"+t.name+"': attributes could not be serialized",e)}var a,n,r=this.Ot.get(n);if(!r){if(!this.jt())return;r={name:t.name,type:t.type,unit:t.unit,attributes:a,windowStartMs:Date.now()},this.Ot.set(n,r)}var o=this.Lt.get(t.name);void 0===o?this.Lt.set(t.name,t.type):o===t.type||this.$t.has(t.name)||(this.$t.add(t.name),this.Ge.warn("Metric name '"+t.name+"' is already used as a "+o+"; recording it as a "+t.type+" too will blend both series in charts. Use a distinct name.")),this.Ht(r,t.value),this.Mt()}else this.Ge.warn("Dropping metric '"+t.name+"': value must be a finite number");else this.Ge.warn("Dropping metric with empty name")}}jt(){return this.Te.maxSeriesPerFlush>this.Ot.size||(this.Ft||(this.Ft=!0,this.Ge.warn("Metric series cap reached ("+this.Te.maxSeriesPerFlush+" per flush window); dropping new series until the next flush. Reduce attribute cardinality.")),!1)}Ht(e,t){var a;switch(e.type){case"count":e.total=(null!=(a=e.total)?a:0)+t;break;case"gauge":e.last=t;break;case"histogram":e.hist||(e.hist={count:0,sum:0,min:t,max:t,bucketCounts:Array(tL.length+1).fill(0)});var n=e.hist;n.count+=1,n.sum+=t,n.min=Math.min(n.min,t),n.max=Math.max(n.max,t),n.bucketCounts[function(e,t){for(var a=0;t.length>a;a++)if(t[a]>=e)return a;return t.length}(t,tL)]+=1}}wt(e){var t=this.Te.beforeSend;if(!t)return e;var a=ep(t)?t:[t],n=e;for(var r of a)try{var o=r(n);if(!o)return this.Ge.info("Metric was rejected in beforeSend function"),null;n=o}catch(e){return this.Ge.error("Error in beforeSend function for metric:",e),null}return n}Mt(){this.Et||(this.Et=t_(()=>{this.Et=void 0,this.flush().catch(e=>{this.Ge.error("Metrics flush failed:",e)})},this.Te.flushIntervalMs))}bt(){this.Et&&(clearTimeout(this.Et),this.Et=void 0)}Dt(){var e=this;return B(function*(){if(0!==e.Ot.size){var t=e.Ot;e.Ot=new Map,e.Ft=!1,e.Lt=new Map,e.$t=new Set;var a=e.At,n=yield e._instance.Bt(e.qt(t));if(a===e.At)switch(n.kind){case"ok":return;case"retry-later":return e.Ut(t),void e.Mt();case"too-large":return void e.Ge.warn("Metrics batch exceeded the server size limit and was dropped");case"fatal":return void e.Ge.error("Failed to send metrics batch:",n.error)}}})()}qt(e){var t,a,n,r,o,i,s;return t=this.zt(e),o=this.Te,i=this._instance.getLibraryId(),s=this._instance.getLibraryVersion(),a=P({},o.resourceAttributes,{"service.name":o.serviceName||"unknown_service"},o.environment&&{"deployment.environment":o.environment},o.serviceVersion&&{"service.version":o.serviceVersion},{"telemetry.sdk.name":i,"telemetry.sdk.version":s}),n=this._instance.getLibraryId(),r=this._instance.getLibraryVersion(),{resourceMetrics:[{resource:{attributes:tR(a)},scopeMetrics:[{scope:{name:n,version:r},metrics:t}]}]}}zt(e){var t=tD(Date.now()),a=new Map;for(var n of e.values()){var r,o=tj(n.type,n.name,n.unit,void 0),i=a.get(o);i||(i=P({name:n.name},n.unit&&{unit:n.unit}),"count"===n.type?i.sum={aggregationTemporality:1,isMonotonic:!0,dataPoints:[]}:"gauge"===n.type?i.gauge={dataPoints:[]}:i.histogram={aggregationTemporality:1,dataPoints:[]},a.set(o,i));var s=tR(null!=(r=n.attributes)?r:{}),l=tD(n.windowStartMs);if("count"===n.type){var d,c={attributes:s,startTimeUnixNano:l,timeUnixNano:t,asDouble:null!=(d=n.total)?d:0};i.sum.dataPoints.push(c)}else if("gauge"===n.type){var u,p={attributes:s,timeUnixNano:t,asDouble:null!=(u=n.last)?u:0};i.gauge.dataPoints.push(p)}else n.hist&&i.histogram.dataPoints.push({attributes:s,startTimeUnixNano:l,timeUnixNano:t,count:n.hist.count,sum:n.hist.sum,min:n.hist.min,max:n.hist.max,bucketCounts:n.hist.bucketCounts,explicitBounds:tL})}return Array.from(a.values())}Ut(e){var t,a;for(var n of e){var r=n[0],o=n[1],i=this.Ot.get(r);if(i)switch(i.windowStartMs=Math.min(i.windowStartMs,o.windowStartMs),i.type){case"count":i.total=(null!=(t=i.total)?t:0)+(null!=(a=o.total)?a:0);break;case"gauge":break;case"histogram":if(o.hist)if(i.hist){i.hist.count+=o.hist.count,i.hist.sum+=o.hist.sum,i.hist.min=Math.min(i.hist.min,o.hist.min),i.hist.max=Math.max(i.hist.max,o.hist.max);for(var s=0;i.hist.bucketCounts.length>s;s++)i.hist.bucketCounts[s]+=o.hist.bucketCounts[s]}else i.hist=o.hist}else this.jt()&&this.Ot.set(r,o)}}};class tF{constructor(e,t,a){void 0===a&&(a=[]),this.coercers=e,this.stackParser=t,this.modifiers=a}buildFromUnknown(e,t){void 0===t&&(t={});var a=t&&t.mechanism||{handled:!0,type:"generic"},n=this.buildCoercingContext(a,t,0).apply(e),r=this.buildParsingContext(t),o=this.parseStacktrace(n,r);return{$exception_list:this.convertToExceptionList(o,a),$exception_level:"error"}}modifyFrames(e){var t=this;return B(function*(){for(var a of e)a.stacktrace&&a.stacktrace.frames&&ep(a.stacktrace.frames)&&(a.stacktrace.frames=yield t.applyModifiers(a.stacktrace.frames));return e})()}coerceFallback(e){var t;return{type:"Error",value:"Unknown error",stack:null==(t=e.syntheticException)?void 0:t.stack,synthetic:!0}}parseStacktrace(e,t){var a,n;return null!=e.cause&&(a=this.parseStacktrace(e.cause,t)),""!=e.stack&&null!=e.stack&&(n=this.applyChunkIds(this.stackParser(e.stack,e.synthetic?t.ski
1pFirstLines:0),t.chunkIdMap)),P({},e,{cause:a,stack:n})}applyChunkIds(e,t){return e.map(e=>(e.filename&&t&&(e.chunk_id=t[e.filename]),e))}applyCoercers(e,t){for(var a of this.coercers)if(a.match(e))return a.coerce(e,t);return this.coerceFallback(t)}applyModifiers(e){var t=this;return B(function*(){var a=e;for(var n of t.modifiers)a=yield n(a);return a})()}convertToExceptionList(e,t){var a,n,r,o={type:e.type,value:e.value,mechanism:{type:null!=(a=t.type)?a:"generic",handled:null==(n=t.handled)||n,synthetic:null!=(r=e.synthetic)&&r}};e.stack&&(o.stacktrace={type:"raw",frames:e.stack});var i=[o];return null!=e.cause&&i.push(...this.convertToExceptionList(e.cause,P({},t,{handled:!0}))),i}buildParsingContext(e){var t;return{chunkIdMap:function(e){var t=globalThis._posthogChunkIds;if(t){var a=Object.keys(t);return nI&&a.length===nE||(nE=a.length,nI=a.reduce((a,n)=>{n$||(n$={});var r=n$[n];if(r)a[r[0]]=r[1];else for(var o=e(n),i=o.length-1;i>=0;i--){var s=o[i],l=null==s?void 0:s.filename,d=t[n];if(l&&d){a[l]=d,n$[n]=[l,d];break}}return a},{})),nI}}(this.stackParser),skipFirstLines:null!=(t=e.skipFirstLines)?t:1}}buildCoercingContext(e,t,a){void 0===a&&(a=0);var n=(a,n)=>{if(4>=n){var r=this.buildCoercingContext(e,t,n);return this.applyCoercers(a,r)}};return P({},t,{syntheticException:0==a?t.syntheticException:void 0,mechanism:e,apply:e=>n(e,a),next:e=>n(e,a+1)})}}function tH(e,t,a,n,r){var o={platform:e,filename:t,function:"<anonymous>"===a?"?":a,in_app:!0};return ef(n)||(o.lineno=n),ef(r)||(o.colno=r),o}var tU=(e,t)=>{var a=-1!==e.indexOf("safari-extension"),n=-1!==e.indexOf("safari-web-extension");return a||n?[-1!==e.indexOf("@")?e.split("@")[0]:"?",a?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},tK=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,tz=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,tV=/\((\S*)(?::(\d+))(?::(\d+))\)/,tW=(e,t)=>{var a=tK.exec(e);if(a)return tH(t,a[1],"?",+a[2],+a[3]);var n=tz.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){var r=tV.exec(n[2]);r&&(n[2]=r[1],n[3]=r[2],n[4]=r[3])}var o=tU(n[1]||"?",n[2]);return tH(t,o[1],o[0],n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},tZ=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,tY=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tJ=(e,t)=>{var a=tZ.exec(e);if(a){if(a[3]&&a[3].indexOf(" > eval")>-1){var n=tY.exec(a[3]);n&&(a[1]=a[1]||"eval",a[3]=n[1],a[4]=n[2],a[5]="")}var r=a[3],o=a[1]||"?",i=tU(o,r);return tH(t,r=i[1],o=i[0],a[4]?+a[4]:void 0,a[5]?+a[5]:void 0)}},tq=/\(error: (.*)\)/;class tX{match(e){return this.isDOMException(e)||this.isDOMError(e)}coerce(e,t){var a=ev(e.stack);return{type:this.getType(e),value:this.getValue(e),stack:a?e.stack:void 0,cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return this.isDOMError(e)?"DOMError":"DOMException"}getValue(e){var t=e.name||(this.isDOMError(e)?"DOMError":"DOMException");return e.message?t+": "+e.message:t}isDOMException(e){return eI(e,"DOMException")}isDOMError(e){return eI(e,"DOMError")}}class tQ{match(e){return e instanceof Error}coerce(e,t){return{type:this.getType(e),value:this.getMessage(e,t),stack:this.getStack(e),cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return e.name||e.constructor.name}getMessage(e,t){var a=e.message;return String(a.error&&"string"==typeof a.error.message?a.error.message:a)}getStack(e){return e.stacktrace||e.stack||void 0}}class t0{match(e){return eI(e,"ErrorEvent")&&null!=e.error}coerce(e,t){var a;return t.apply(e.error)||{type:"ErrorEvent",value:e.message,stack:null==(a=t.syntheticException)?void 0:a.stack,synthetic:!0}}}var t1=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;class t2{match(e){return"string"==typeof e}coerce(e,t){var a,n=this.getInfos(e),r=n[0],o=n[1];return{type:null!=r?r:"Error",value:null!=o?o:e,stack:null==(a=t.syntheticException)?void 0:a.stack,synthetic:!0}}getInfos(e){var t="Error",a=e,n=e.match(t1);return n&&(t=n[1],a=n[2]),[t,a]}}var t3=["fatal","error","warning","log","info","debug"];function t5(e,t){void 0===t&&(t=40);var a=Object.keys(e);
1if(a.sort(),!a.length)return"[object has no keys]";for(var n=a.length;n>0;n--){var r=a.slice(0,n).join(", ");if(t>=r.length)return n===a.length?r:r.length>t?r.slice(0,t)+"...":r}return""}class t4{match(e){return"object"==typeof e&&null!==e}coerce(e,t){var a,n=this.getErrorPropertyFromObject(e);return n?t.apply(n):{type:this.getType(e),value:this.getValue(e),stack:null==(a=t.syntheticException)?void 0:a.stack,level:this.isSeverityLevel(e.level)?e.level:"error",synthetic:!0}}getType(e){return eN(e)?e.constructor.name:"Error"}getValue(e){if("name"in e&&"string"==typeof e.name){var t="'"+e.name+"' captured as exception";return"message"in e&&"string"==typeof e.message&&(t+=" with message: '"+e.message+"'"),t}if("message"in e&&"string"==typeof e.message)return e.message;var a=this.getObjectClassName(e);return(a&&"Object"!==a?"'"+a+"'":"Object")+" captured as exception with keys: "+t5(e)}isSeverityLevel(e){return ev(e)&&!eb(e)&&t3.indexOf(e)>=0}getErrorPropertyFromObject(e){for(var t in e)if(({}).hasOwnProperty.call(e,t)){var a=e[t];if(tk(a))return a}}getObjectClassName(e){try{var t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){return}}}class t6{match(e){return eN(e)}coerce(e,t){var a,n=e.constructor.name;return{type:n,value:n+" captured as exception with keys: "+t5(e),stack:null==(a=t.syntheticException)?void 0:a.stack,synthetic:!0}}}class t8{match(e){return eE(e)}coerce(e,t){var a;return{type:"Error",value:"Primitive value captured as exception: "+String(e),stack:null==(a=t.syntheticException)?void 0:a.stack,synthetic:!0}}}class t9{match(e){return eI(e,"PromiseRejectionEvent")||this.isCustomEventWrappingRejection(e)}isCustomEventWrappingRejection(e){if(!eN(e))return!1;try{var t=e.detail;return null!=t&&"object"==typeof t&&"reason"in t}catch(e){return!1}}coerce(e,t){var a,n=this.getUnhandledRejectionReason(e);return eE(n)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(n),stack:null==(a=t.syntheticException)?void 0:a.stack,synthetic:!0}:t.apply(n)}getUnhandledRejectionReason(e){try{if("reason"in e)return e.reason;if("detail"in e&&null!=e.detail&&"object"==typeof e.detail&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}}var t7="$message",ae="$timestamp",at=new Set([t7,ae]),aa={enabled:!0,max_bytes:32768};function an(e){var t;return e?{enabled:null!=(t=e.enabled)?t:aa.enabled,max_bytes:function(e,t){if(!eS(e)||e===1/0||e===-1/0)return t;var a=Math.floor(e);return 0>a?t:a}(e.max_bytes,aa.max_bytes)}:P({},aa)}class ar{constructor(e){this.Vt=[],this.Wt=0,this.Te=an(e)}setConfig(e){this.Te=an(e),this.Zt()}add(e){var t=function(e){var t;try{t=el(e)}catch(e){return}try{var a=JSON.parse(t);if(!eh(a))return;var n=a[t7],r=a[ae];if(!ev(n)||0===n.trim().length||!ev(r)&&!eS(r))return;return{step:a,json:t}}catch(e){return}}(e);if(t){var a=function(e){if("u">typeof TextEncoder)return(new TextEncoder).encode(e).length;for(var t=encodeURIComponent(e),a=0,n=0;t.length>n;n++)"%"===t[n]?(a+=1,n+=2):a+=1;return a}(t.json);a>this.Te.max_bytes||(this.Vt.push({step:t.step,bytes:a}),this.Wt+=a,this.Zt())}}getAttachable(){return this.Vt.map(e=>e.step)}clear(){this.Vt=[],this.Wt=0}size(){return this.Vt.length}Zt(){for(;this.Wt>this.Te.max_bytes&&this.Vt.length>0;){var e=this.Vt.shift();e&&(this.Wt-=e.bytes)}}}var ao=function(e,t){var a=(void 0===t?{}:t).debugEnabled,n={k(t){if(x&&(R.DEBUG||x.POSTHOG_DEBUG||a)&&!ef(x.console)&&x.console){for(var n=("__rrweb_original__"in x.console[t])?x.console[t].__rrweb_original__:x.console[t],r=arguments.length,o=Array(r>1?r-1:0),i=1;r>i;i++)o[i-1]=arguments[i];n(e,...o)}},debug(){for(var e=arguments.length,t=Array(e),a=0;e>a;a++)t[a]=arguments[a];n.k("debug",...t)},info(){for(var e=arguments.length,t=Array(e),a=0;e>a;a++)t[a]=arguments[a];n.k("log",...t)},warn(){for(var e=arguments.length,t=Array(e),a=0;e>a;a++)t[a]=arguments[a];n.k("warn",...t)},error(){for(var e=arguments.length,t=Array(e),a=0;e>a;a++)t[a]=arguments[a];n.k("error",...t)},critical(){for(var t=arguments.length,a=Array(t),n=0;t>n;n++)a[n]=arguments[n];console.error(e,...a)},uninitializedWarning(e){n.error("You must initialize PostHog before calling "+e)},createLogger:(t,a)=>ao(e+" "+t,a)};return n},ai=ao("[PostHog.js]"),as=ai.createLogger,al=as("[ExternalScriptsLoader]"),ad=(e,t,a)=>{if(e.config.disable_external_dependency_loading)return al.warn(t+" was requested but loading of external scripts is disabled."),a("Loading of external scripts is disabled");var n=null==C?void 0:C.querySelectorAll("script");
1if(n){for(var r,o=0;n.length>o;o++)if(r=function(){if(n[o].src===t){var e=n[o];return e.__posthog_loading_callback_fired?{v:a()}:(e.addEventListener("load",t=>{e.__posthog_loading_callback_fired=!0,a(void 0,t)}),e.onerror=e=>a(e),{v:void 0})}}())return r.v}var i=()=>{if(!C)return a("document not found");var n=C.createElement("script");if(n.type="text/javascript",n.crossOrigin="anonymous",n.src=t,n.onload=e=>{n.__posthog_loading_callback_fired=!0,a(void 0,e)},n.onerror=e=>a(e),e.config.prepare_external_dependency_script&&(n=e.config.prepare_external_dependency_script(n)),!n)return a("prepare_external_dependency_script returned null");if("head"===e.config.external_scripts_inject_target)C.head.appendChild(n);else{var r,o=C.querySelectorAll("body > script");o.length>0?null==(r=o[0].parentNode)||r.insertBefore(n,o[0]):C.body.appendChild(n)}};null!=C&&C.body?i():null==C||C.addEventListener("DOMContentLoaded",i)};A.__PosthogExtensions__=A.__PosthogExtensions__||{},A.__PosthogExtensions__.loadExternalDependency=(e,t,a)=>{if("remote-config"!==t){var n;if(e.config.strict_script_versioning)n=e.requestRouter.endpointFor("assets","/static/"+e.version+"/"+t+".js");else{var r="/static/"+t+".js?v="+e.version;"toolbar"===t&&(r=r+"&t="+3e5*Math.floor(Date.now()/3e5)),n=e.requestRouter.endpointFor("assets",r)}ad(e,n,a)}else{var o=e.requestRouter.endpointFor("assets","/array/"+e.config.token+"/config.js");ad(e,o,a)}},A.__PosthogExtensions__.loadSiteApp=(e,t,a)=>{var n=e.requestRouter.endpointFor("api",t);ad(e,n,a)},R.DEBUG=!1,R.LIB_VERSION="1.407.8",R.LIB_NAME="web";var ac="$people_distinct_id",au="$device_id",ap="$device_model",am="__alias",ah="__timers",ag="$autocapture_disabled_server_side",af="$heatmaps_enabled_server_side",av="$exception_capture_enabled_server_side",ab="$error_tracking_suppression_rules",ay="$error_tracking_capture_extension_exceptions",ax="$web_vitals_enabled_server_side",aS="$dead_clicks_enabled_server_side",aw="$product_tours_enabled_server_side",aC="$web_vitals_allowed_metrics",aT="$session_recording_remote_config",a$="$replay_sample_rate",aE="$replay_override_sampling",aI="$replay_override_linked_flag",aN="$replay_override_url_trigger",a_="$replay_override_event_trigger",ak="$sesid",aM="$session_is_sampled",aA="$enabled_feature_flags",aR="$active_feature_flags",aO="$early_access_features",aB="$feature_flag_details",aP="$feature_flag_payloads",aL="$feature_flag_request_id",aD="$minimal_flag_called_events",aj="$override_feature_flags",aG="$override_feature_flag_payloads",aF="$stored_person_properties",aH="$stored_group_properties",aU="$surveys",aK="$surveys_loaded_at",az="$surveys_activated",aV="$surveys_activated_session",aW="ph_product_tours",aZ="$flag_call_reported",aY="$flag_call_reported_session_id",aJ="$feature_flag_errors",aq="$feature_flag_evaluated_at",aX="$user_state",aQ="$client_session_props",a0="$capture_rate_limit",a1="$initial_campaign_params",a2="$initial_referrer_info",a3="$initial_person_info",a5="$epp",a4="$posthog_cookieless",a6="$cookieless_mode",a8="$sdk_debug_extensions_init_method",a9="$sdk_debug_extensions_init_time_ms",a7="$sdk_debug_recording_script_not_loaded",ne="PostHog loadExternalDependency extension not found.",nt="on_reject",na="always",nn="anonymous",nr="identified",no="identified_only",ni="visibilitychange",ns="beforeunload",nl="$pageview",nd="$pageleave",nc="$identify",nu="$groupidentify";function np(e,t){ep(e)&&e.forEach(t)}function nm(e,t){if(!ex(e))if(ep(e))e.forEach(t);else if(e instanceof FormData)e.forEach((e,a)=>t(e,a));else for(var a in e)ec.call(e,a)&&t(e[a],a)}var nh=function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),n=1;t>n;n++)a[n-1]=arguments[n];for(var r of a)for(var o in r)void 0!==r[o]&&(e[o]=r[o]);return e};function ng(e){for(var t=Object.keys(e),a=t.length,n=Array(a);a--;)n[a]=[t[a],e[t[a]]];return n}var nf=function(e){try{return e()}catch(e){return}},nv=function(e){return function(){try{for(var t=arguments.length,a=Array(t),n=0;t>n;n++)a[n]=arguments[n];return e.apply(this,a)}catch(e){ai.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),ai.critical(e)}}},nb=function(e){var t={};return nm(e,function(e,a){(ev(e)&&e.length>0||eS(e))&&(t[a]=e)}),t},ny=["herokuapp.com","vercel.app","netlify.app"];function nx(e,t,a,n){var r=null!=n?n:{},o=r.capture,i=r.passive;null==e||e.addEventListener(t,a,{capture:void 0!==o&&o,passive:void 0===i||i})}function nS(e){return"ph_toolbar_internal"===e.name}var nw=e=>{if(C){try{for(var t=e+"=",a=C.cookie.split(";").filter(e=>e.length),n=0;a.length>n;n++){for(var r=a[n];" "==r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(t))return decodeURIComponent(r.substring(t.length,r.length))}}catch(e){}return null}};Math.trunc||(Math.trunc=function(e){return 0>e?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return eS(e)&&isFinite(e)&&Math.floor(e)===e});
1class nC{constructor(e){if(this.bytes=e,16!==e.length)throw TypeError("not 128-bit length")}static fromFieldsV7(e,t,a,n){if(!Number.isInteger(e)||!Number.isInteger(t)||!Number.isInteger(a)||!Number.isInteger(n)||0>e||0>t||0>a||0>n||e>0xffffffffffff||t>4095||a>0x3fffffff||n>0xffffffff)throw RangeError("invalid field value");var r=new Uint8Array(16);return r[0]=e/0x10000000000,r[1]=e/0x100000000,r[2]=e/0x1000000,r[3]=e/65536,r[4]=e/256,r[5]=e,r[6]=112|t>>>8,r[7]=t,r[8]=128|a>>>24,r[9]=a>>>16,r[10]=a>>>8,r[11]=a,r[12]=n>>>24,r[13]=n>>>16,r[14]=n>>>8,r[15]=n,new nC(r)}toString(){for(var e="",t=0;this.bytes.length>t;t++)e=e+(this.bytes[t]>>>4).toString(16)+(15&this.bytes[t]).toString(16),3!==t&&5!==t&&7!==t&&9!==t||(e+="-");if(36!==e.length)throw Error("Invalid UUIDv7 was generated");return e}clone(){return new nC(this.bytes.slice(0))}equals(e){return 0===this.compareTo(e)}compareTo(e){for(var t=0;16>t;t++){var a=this.bytes[t]-e.bytes[t];if(0!==a)return Math.sign(a)}return 0}}class nT{generate(){var e=this.generateOrAbort();if(!ef(e))return e;this.S=0;var t=this.generateOrAbort();if(ef(t))throw Error("Could not generate UUID after timestamp reset");return t}generateOrAbort(){var e=Date.now();if(e>this.S)this.S=e,this.C();else{if(this.S>=e+1e4)return;this.I++,this.I>0x3ffffffffff&&(this.S++,this.C())}return nC.fromFieldsV7(this.S,Math.trunc(this.I/0x40000000),0x3fffffff&this.I,this.M.nextUint32())}C(){this.I=1024*this.M.nextUint32()+(1023&this.M.nextUint32())}constructor(){this.S=0,this.I=0,this.M=new nk}}var n$,nE,nI,nN,n_=e=>{if("u">typeof UUIDV7_DENY_WEAK_RNG&&UUIDV7_DENY_WEAK_RNG)throw Error("no cryptographically strong RNG available");for(var t=0;e.length>t;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};x&&!ef(x.crypto)&&crypto.getRandomValues&&(n_=e=>crypto.getRandomValues(e));class nk{nextUint32(){return this.R.length>this.O||(n_(this.R),this.O=0),this.R[this.O++]}constructor(){this.R=new Uint32Array(8),this.O=1/0}}var nM=()=>nA().toString(),nA=()=>(nN||(nN=new nT)).generate(),nR="",nO=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,nB={N:()=>!!C,D(e){ai.error("cookieStore error: "+e)},A:nw,F(e){var t;try{t=JSON.parse(nB.A(e))||{}}catch(e){}return t},q(e,t,a,n,r){if(!C)return!1;try{var o="",i="",s=function(e,t){if(t){var a=function(e,t){if(void 0===t&&(t=C),nR)return nR;if(!t||["localhost","127.0.0.1"].includes(e))return"";for(var a=e.split("."),n=Math.min(a.length,8),r="dmn_chk_"+nM();!nR&&n--;){var o=a.slice(n).join("."),i=r+"=1;domain=."+o+";path=/";t.cookie=i+";max-age=3",t.cookie.includes(r)&&(t.cookie=i+";max-age=0",nR=o)}return nR}(e);if(!a){var n,r=(n=e.match(nO))?n[0]:"";r!==a&&ai.info("Warning: cookie subdomain discovery mismatch",r,a),a=r}return a?"; domain=."+a:""}return""}(C.location.hostname,n);if(a){var l=new Date;l.setTime(l.getTime()+864e5*a),o="; expires="+l.toUTCString()}r&&(i="; secure");var d=e+"="+encodeURIComponent(JSON.stringify(t))+o+"; SameSite=Lax; path=/"+s+i;return d.length>3686.4&&ai.warn("cookieStore warning: large cookie, len="+d.length),C.cookie=d,!0}catch(e){return!1}},P(e,t){if(null!=C&&C.cookie)try{nB.q(e,"",-1,t)}catch(e){return}}},nP=null,nL={N(){if(!ey(nP))return nP;var e=!0;if(ef(x))e=!1;else try{var t="__mplssupport__";nL.q(t,"xyz"),'"xyz"'!==nL.A(t)&&(e=!1),nL.P(t)}catch(t){e=!1}return e||ai.error("localStorage unsupported; falling back to cookie store"),nP=e,e},D(e){ai.error("localStorage error: "+e)},A(e){try{return null==x?void 0:x.localStorage.getItem(e)}catch(e){nL.D(e)}return null},F(e){try{return JSON.parse(nL.A(e))||{}}catch(e){}return null},q(e,t){try{return null==x||x.localStorage.setItem(e,JSON.stringify(t)),!0}catch(e){nL.D(e)}return!1},P(e){try{null==x||x.localStorage.removeItem(e)}catch(e){nL.D(e)}}},nD=[au,"distinct_id",ak,aM,a5,a3,aX],nj={},nG={N:()=>!0,D(e){ai.error("memoryStorage error: "+e)},A:e=>nj[e]||null,F:e=>nj[e]||null,q:(e,t)=>(nj[e]=t,!0),P(e){delete nj[e]}},nF=null,nH={N(){if(!ey(nF))return nF;if(nF=!0,ef(x))nF=!1;else try{var e="__support__";nH.q(e,"xyz"),'"xyz"'!==nH.A(e)&&(nF=!1),nH.P(e)}catch(e){nF=!1}return nF},D(e){ai.error("sessionStorage error: ",e)},A(e){try{return null==x?void 0:x.sessionStorage.getItem(e)}catch(e){nH.D(e)}return null},F(e){try{return JSON.parse(nH.A(e))||null}catch(e){}return null},q(e,t){try{return null==x||x.sessionStorage.setItem(e,JSON.stringify(t)),!0}catch(e){nH.D(e)}return!1},P(e){try{null==x||x.sessionStorage.removeItem(e)}catch(e){nH.D(e)}}};
1class nU{constructor(e){this._instance=e}get Te(){return this._instance.config}get consent(){return this.Gt()?0:this.Qt}isOptedOut(){return this.Te.cookieless_mode===na||this.isRejected()||-1===this.consent&&this.Te.cookieless_mode===nt}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return 0===this.consent}isRejected(){return 0===this.consent||-1===this.consent&&this.Te.opt_out_capturing_by_default}optInOut(e){this.Jt.q(this.Kt,+!!e,this.Te.cookie_expiration,this.Te.cross_subdomain_cookie,this.Te.secure_cookie)}reset(){this.Jt.P(this.Kt,this.Te.cross_subdomain_cookie)}get Kt(){var e=this._instance.config,t=e.token,a=e.opt_out_capturing_cookie_prefix;return e.consent_persistence_name||(a?a+t:"__ph_opt_in_out_"+t)}get Qt(){var e=this.Jt.A(this.Kt);return eo(e_,e)?1:eo(ek,e)?0:-1}get Jt(){var e=this.Te.opt_out_capturing_persistence_type,t="localStorage"===e?nL:nB;if(!this.Yt||this.Yt!==t){this.Yt=t;var a="localStorage"===e?nB:nL;a.A(this.Kt)&&(this.Yt.A(this.Kt)||this.optInOut(eo(e_,a.A(this.Kt))),a.P(this.Kt,this.Te.cross_subdomain_cookie))}return this.Yt}Gt(){return!!this.Te.respect_dnt&&[null==w?void 0:w.doNotTrack,null==w?void 0:w.msDoNotTrack,A.doNotTrack].some(e=>eo(e_,e))}}function nK(e,t){var a,n=null==e||null==(a=e.config)?void 0:a.get_current_url;if(!em(n))return t;try{var r=n(t);return ev(r)&&r?r:t}catch(e){return ai.error("Error in get_current_url, falling back to window.location.href",e),t}}var nz="__POSTHOG_TOOLBAR__";function nV(e){return e instanceof Element&&(e.id===nz||!(null==e.closest||!e.closest(".toolbar-global-fade-container")))}function nW(e){return!!e&&1===e.nodeType}function nZ(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function nY(e){return!!e&&3===e.nodeType}function nJ(e){return!!e&&11===e.nodeType&&nW(e.host)}function nq(e){return e?ei(e).split(/\s+/):[]}function nX(e,t){var a,n,r=ef(n=null==x||null==(a=x.location)?void 0:a.href)?void 0:nK(t,n);return!!(r&&e&&e.some(e=>r.match(e)))}function nQ(e){var t="";switch(typeof e.className){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return nq(t)}function n0(e){return ex(e)?null:ei(e).split(/(\s+)/).filter(e=>rm(e)).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function n1(e){var t="";return ro(e)&&!ri(e)&&e.childNodes&&e.childNodes.length&&nm(e.childNodes,function(e){var a;nY(e)&&e.textContent&&(t+=null!=(a=n0(e.textContent))?a:"")}),ei(t)}function n2(e){var t;return ef(e.target)?e.srcElement||null:null!=(t=e.target)&&t.shadowRoot?e.composedPath()[0]||null:e.target||null}var n3=["a","button","form","input","select","textarea","label"];function n5(e,t){if(ef(t))return!0;var a,n=function(e){if(t.some(t=>(function(e,t){var a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector;try{return!!a&&a.call(e,t)}catch(e){return!1}})(e,t)))return{v:!0}};for(var r of e)if(a=n(r))return a.v;return!1}function n4(e){var t=e.parentNode;return!(!t||!nW(t))&&t}var n6=[".ph-no-autocapture","[data-ph-no-autocapture]"],n8=["next","previous","prev",">","<"],n9=[...n8,"+","-","−","–"],n7=(e,t)=>/[a-z0-9]/i.test(t)?e.includes(t):e===t,re=[".ph-no-rageclick",".ph-no-capture"],rt=["","text","search","email","password","url","tel","number"];function ra(e,t){if(!x||rn(e)||(eC(t)?(n=!!t&&re,r=void 0,o=!1):(n=null!=(i=null==t?void 0:t.css_selector_ignorelist)?i:re,r=null==t?void 0:t.content_ignorelist,o=null!=(s=null==t?void 0:t.ignore_text_selection)&&s),!1===n)||o&&!(!(a=e)||!nW(a))&&(nZ(a,"textarea")||(nZ(a,"input")?eo(rt,(a.getAttribute("type")||"").toLowerCase()):function(e){if(e.isContentEditable)return!0;var t=null==e.getAttribute?void 0:e.getAttribute("contenteditable");return"true"===t||""===t}(a))))return!1;var a,n,r,o,i,s,l=rr(e,!1).targetElementList;return!function(e,t){var a;if(!1===e||ef(e))return!1;if(!0===e)a=n8;else{if(!ep(e))return!1;if(e.length>10)return ai.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;a=e.map(e=>e.toLowerCase())}return t.some(e=>{var t=e.safeText,n=e.ariaLabel;return a.some(e=>n7(t,e)||n7(n,e))})}(r,l.map(e=>{var t;return{safeText:n1(e).toLowerCase(),ariaLabel:(null==(t=e.getAttribute("aria-label"))?void 0:t.toLowerCase().trim())||""}}))&&!n5(l,n)}var rn=e=>!e||nZ(e,"html")||!nW(e),rr=(e,t)=>{if(!x||rn(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var a=!1,n=[e],r=e;r.parentNode&&!nZ(r,"body");)if(nJ(r.parentNode))n.push(r.parentNode.host),r=r.parentNode.host;else{var o=n4(r);if(!o)break;if(t||n3.indexOf(o.tagName.toLowerCase())>-1)a=!0;else try{var i=x.getComputedStyle(o);i&&"pointer"===i.getPropertyValue("cursor")&&(a=!0)}catch(e){}n.push(o),r=o}return{parentIsUsefulElement:a,targetElementList:n}};function ro(e){for(var t=new Set,a=0,n=e;n.parentNode&&!nZ(n,"body");n=n.parentNode){if(a++>=1e3||t.has(n))return!1;t.add(n);var r=nQ(n);if(eo(r,"ph-sensitive")||eo(r,"ph-no-capture"))return!1}if(eo(nQ(e),"ph-include"))return!0;var o=e.type||"";if(ev(o))switch(o.toLowerCase()){case"hidden":case"password":return!1}
1var i=e.name||e.id||"";return!ev(i)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(i.replace(/[^a-zA-Z0-9]/g,""))}function ri(e){return!!(nZ(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||nZ(e,"select")||nZ(e,"textarea")||"true"===e.getAttribute("contenteditable"))}var rs="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",rl=RegExp("^(?:"+rs+")$"),rd=new RegExp(rs),rc="\\d{3}-?\\d{2}-?\\d{4}",ru=RegExp("^("+rc+")$"),rp=RegExp("("+rc+")");function rm(e,t){return void 0===t&&(t=!0),!(ex(e)||ev(e)&&(e=ei(e),(t?rl:rd).test((e||"").replace(/[- ]/g,""))||(t?ru:rp).test(e)))&&!0}function rh(e){var t=n1(e);return rm(t=(t+" "+function e(t){var a="";return t&&t.childNodes&&t.childNodes.length&&nm(t.childNodes,function(t){var n;if(t&&"span"===(null==(n=t.tagName)?void 0:n.toLowerCase()))try{var r=n1(t);a=(a+" "+r).trim(),t.childNodes&&t.childNodes.length&&(a=(a+" "+e(t)).trim())}catch(e){ai.error("[AutoCapture]",e)}}),a}(e)).trim())?t:""}function rg(e){return e.replace(/"|\\"/g,'\\"')}var rf=as("[Dead Clicks]"),rv=()=>!0,rb=e=>{var t,a=!(null==(t=e.instance.persistence)||!t.get_property(aS)),n=e.instance.config.capture_dead_clicks;return eC(n)?n:!!eh(n)||a};class ry{get lazyLoadedDeadClicksAutocapture(){return this.Xt}constructor(e,t,a){this.instance=e,this.isEnabled=t,this.onCapture=a,this.startIfEnabledOrStop()}onRemoteConfig(e){if(e.ok){var t=e.config;"captureDeadClicks"in t&&(this.instance.persistence&&this.instance.persistence.register({[aS]:t.captureDeadClicks}),this.startIfEnabledOrStop())}}startIfEnabledOrStop(){this.isEnabled(this)?this.er(()=>{this.tr()}):this.stop()}er(e){var t,a;null!=(t=A.__PosthogExtensions__)&&t.initDeadClicksAutocapture?e():null==(a=A.__PosthogExtensions__)||null==a.loadExternalDependency||a.loadExternalDependency(this.instance,"dead-clicks-autocapture",t=>{t?rf.error("failed to load script",t):e()})}tr(){var e;if(C){if(!this.Xt&&null!=(e=A.__PosthogExtensions__)&&e.initDeadClicksAutocapture){var t=eh(this.instance.config.capture_dead_clicks)?P({},this.instance.config.capture_dead_clicks):{};t.__onCapture=this.onCapture,this.onCapture&&(t.capture_dead_swipes=!1),this.Xt=A.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,t),this.Xt.start(C),rf.info("starting...")}}else rf.error("`document` not found. Cannot start.")}stop(){this.Xt&&(this.Xt.stop(),this.Xt=void 0,rf.info("stopping..."))}}var rx=as("[SegmentIntegration]"),rS="posthog-js";function rw(e,t){var a=void 0===t?{}:t,n=a.organization,r=a.projectId,o=a.prefix,i=a.severityAllowList,s=void 0===i?["error"]:i,l=a.sendExceptionsToPostHog,d=void 0===l||l;return t=>{if("*"!==s&&!s.includes(t.level)||!e.__loaded)return t;t.tags||(t.tags={});var a=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/person/"+e.get_distinct_id());t.tags["PostHog Person URL"]=a,e.sessionRecordingStarted()&&(t.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var i,l,c,u,p,m,h=(null==(i=t.exception)?void 0:i.values)||[],g=h.map(e=>P({},e,{stacktrace:e.stacktrace?P({},e.stacktrace,{type:"raw",frames:(e.stacktrace.frames||[]).map(e=>P({},e,{platform:"web:javascript"}))}):void 0})),f={$exception_message:(null==(l=h[0])?void 0:l.value)||t.message,$exception_type:null==(c=h[0])?void 0:c.type,$exception_level:t.level,$exception_list:g,$sentry_event_id:t.event_id,$sentry_exception:t.exception,$sentry_exception_message:(null==(u=h[0])?void 0:u.value)||t.message,$sentry_exception_type:null==(p=h[0])?void 0:p.type,$sentry_tags:t.tags};return n&&r&&(f.$sentry_url=(o||"https://sentry.io/organizations/")+n+"/issues/?project="+r+"&query="+t.event_id),d&&(null==(m=e.exceptions)||m.sendExceptionEvent(f)),t}}class rC{constructor(e,t,a,n,r,o){this.name=rS,this.setupOnce=function(i){i(rw(e,{organization:t,projectId:a,prefix:n,severityAllowList:r,sendExceptionsToPostHog:null==o||o}))}}}class rT{constructor(e){this.rr=(e,t,a)=>{a&&(a.noSessionId||a.activityTimeout||a.sessionPastMaximumLength||a.crossTabAdoption)&&(ai.info("[PageViewManager] Session rotated, clearing pageview state",{sessionId:e,changeReason:a}),this.ir=void 0,this._instance.scrollManager.resetContext())},this._instance=e,this.nr()}nr(){var e;this.sr=null==(e=this._instance.sessionManager)?void 0:e.onSessionId(this.rr)}destroy(){var e;null==(e=this.sr)||e.call(this),this.sr=void 0}doPageView(e,t){var a,n=this.ar(e,t);return this.ir={pathname:null!=(a=null==x?void 0:x.location.pathname)?a:"",pageViewId:t,timestamp:e},this._instance.scrollManager.resetContext(),n}doPageLeave(e){var t;return this.ar(e,null==(t=this.ir)?void 0:t.pageViewId)}doEvent(){var e;return{$pageview_id:null==(e=this.ir)?void 0:e.pageViewId}}ar(e,t){var a=this.ir;if(!a)return{$pageview_id:t};var n={$pageview_id:t,$prev_pageview_id:a.pageViewId},r=this._instance.scrollManager.getContext();if(r&&!this._instance.config.disable_scroll_properties){var o=r.maxScrollHeight,i=r.lastScrollY,s=r.maxScrollY,l=r.maxContentHeight,d=r.lastContentY,c=r.maxContentY;
1if(!(ef(o)||ef(i)||ef(s)||ef(l)||ef(d)||ef(c))){o=Math.ceil(o),i=Math.ceil(i),s=Math.ceil(s),l=Math.ceil(l),d=Math.ceil(d),c=Math.ceil(c);var u=o>1?eM(i/o,0,1,ai):1,p=o>1?eM(s/o,0,1,ai):1,m=l>1?eM(d/l,0,1,ai):1,h=l>1?eM(c/l,0,1,ai):1;n=nh(n,{$prev_pageview_last_scroll:i,$prev_pageview_last_scroll_percentage:u,$prev_pageview_max_scroll:s,$prev_pageview_max_scroll_percentage:p,$prev_pageview_last_content:d,$prev_pageview_last_content_percentage:m,$prev_pageview_max_content:c,$prev_pageview_max_content_percentage:h})}}return a.pathname&&(n.$prev_pageview_pathname=a.pathname),a.timestamp&&(n.$prev_pageview_duration=(e.getTime()-a.timestamp.getTime())/1e3),n}}var r$=["flags","surveys"],rE={[ac]:{exposure:"hidden"},[am]:{exposure:"hidden"},__cmpns:{exposure:"hidden"},[ah]:{exposure:"hidden"},[ag]:{exposure:"event"},[af]:{exposure:"hidden"},[av]:{exposure:"event"},[ab]:{exposure:"hidden"},[ay]:{exposure:"event"},[ax]:{exposure:"event"},[aS]:{exposure:"event"},[aw]:{exposure:"hidden"},[aC]:{exposure:"event"},[aT]:{exposure:"hidden"},$session_recording_enabled_server_side:{exposure:"hidden"},[ak]:{exposure:"hidden"},[aM]:{exposure:"event"},[a$]:{exposure:"event",shouldSkipFromEventProperties:e=>ey(e)},$session_past_minimum_duration:{exposure:"event"},$session_recording_url_trigger_activated_session:{exposure:"event"},$session_recording_event_trigger_activated_session:{exposure:"event"},$debug_first_full_snapshot_timestamp:{exposure:"event"},$sess_rec_flush_size:{exposure:"hidden"},[aA]:{exposure:"derived",storageGroup:"flags",shouldSkipFromEventProperties:(e,t)=>t(),transformToEventProperties(e){if(!eh(e))return{};for(var t={},a=Object.keys(e),n=0;a.length>n;n++)t["$feature/"+a[n]]=e[a[n]];return t}}
1,[aR]:{exposure:"event",storageGroup:"flags"},[aO]:{exposure:"hidden"},[aB]:{exposure:"hidden",storageGroup:"flags"},[aP]:{exposure:"event",storageGroup:"flags"},[aL]:{exposure:"event",storageGroup:"flags",volatile:!0},[aD]:{exposure:"hidden",storageGroup:"flags"},[aj]:{exposure:"event"},[aG]:{exposure:"hidden"},[aF]:{exposure:"hidden"},[aH]:{exposure:"hidden"},[aU]:{exposure:"hidden",storageGroup:"surveys"},[aK]:{exposure:"hidden",storageGroup:"surveys",volatile:!0},[az]:{exposure:"event"},[aV]:{exposure:"hidden"},[aW]:{exposure:"hidden"},$product_tours_activated:{exposure:"hidden"},$product_tours_activated_session:{exposure:"hidden"},$conversations_widget_session_id:{exposure:"event"},$conversations_ticket_id:{exposure:"event"},$conversations_widget_state:{exposure:"event"},$conversations_user_traits:{exposure:"event"},[aZ]:{exposure:"hidden"},[aY]:{exposure:"hidden"},[aJ]:{exposure:"hidden"},[aq]:{exposure:"hidden",storageGroup:"flags",volatile:!0},[aX]:{exposure:"hidden"},[aQ]:{exposure:"hidden"},[a0]:{exposure:"hidden"},[a1]:{exposure:"hidden"},[a2]:{exposure:"hidden"},[a3]:{exposure:"hidden"},[a5]:{exposure:"hidden"},[aE]:{exposure:"event"},[aI]:{exposure:"event"},[aN]:{exposure:"event"},[a_]:{exposure:"event"},[a8]:{exposure:"event"},[a9]:{exposure:"event"},[a7]:{exposure:"event"},$sdk_debug_replay_event_trigger_status:{exposure:"event"},$sdk_debug_replay_linked_flag_trigger_status:{exposure:"event"},$sdk_debug_replay_matched_recording_trigger_groups:{exposure:"event"},$sdk_debug_replay_remote_trigger_matching_config:{exposure:"event"},$sdk_debug_replay_trigger_groups_count:{exposure:"event"},$sdk_debug_replay_url_trigger_status:{exposure:"event"},$session_recording_start_reason:{exposure:"event"}},rI=[["$posthog_sr_group_event_trigger_",{exposure:"hidden"}],["$posthog_sr_group_url_trigger_",{exposure:"hidden"}],["$posthog_sr_group_sampling_",{exposure:"hidden"}]],rN=e=>{var t=rE[e];if(t)return t;for(var a of rI){var n=a[1];if(0===e.indexOf(a[0]))return n}},r_=(e,t)=>{try{return JSON.stringify(e,(e,t)=>"bigint"==typeof t?t.toString():t,t)}catch(t){return el(e)}},rk=e=>{var t=null==C?void 0:C.createElement("a");return ef(t)?null:(t.href=e,t)},rM=function(e,t){for(var a,n=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),r=0;n.length>r;r++){var o=n[r].split("=");if(o[0]===t){a=o;break}}if(!ep(a)||2>a.length)return"";var i=a[1];try{i=decodeURIComponent(i)}catch(e){ai.error("Skipping decoding for malformed query param: "+i)}return i.replace(/\+/g," ")},rA=function(e,t,a){if(!e||!t||!t.length)return e;for(var n=e.split("#"),r=n[1],o=(n[0]||"").split("?"),i=o[1],s=o[0],l=(i||"").split("&"),d=[],c=0;l.length>c;c++){var u=l[c].split("=");ep(u)&&(t.includes(u[0])?d.push(u[0]+"="+a):d.push(l[c]))}var p=s;return null!=i&&(p+="?"+d.join("&")),null!=r&&(p+="#"+r),p},rR=function(e,t){var a=e.match(RegExp(t+"=([^&]*)"));return a?a[1]:null},rO=(e,t)=>e>=t&&k(),rB=(e,t,a,n)=>{if(0===e){if(k()){var r=t+1;return r===a&&n(),r}return t}return 0},rP="https?://(.*)",rL=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],rD=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid",...rL],rj="<masked>",rG=["li_fat_id"];function rF(e,t,a){if(!C)return{};var n,r=t?[...rL,...a||[]]:[],o=rH(rA(C.URL,r,rj),e);return nh((n={},nm(rG,function(e){var t=nw(e);n[e]=t||null}),n),o)}function rH(e,t){var a=rD.concat(t||[]),n={};return nm(a,function(t){var a=rM(e,t);n[t]=a||null}),n}function rU(e){var t=e?0===e.search(rP+"google.([^/?]*)")?"google":0===e.search(rP+"bing.com")?"bing":0===e.search(rP+"yahoo.com")?"yahoo":0===e.search(rP+"duckduckgo.com")?"duckduckgo":null:null,a={};if(!ey(t)){a.$search_engine=t;var n=C?rM(C.referrer,"yahoo"!=t?"q":"p"):"";n.length&&(a.ph_keyword=n)}return a}function rK(){return navigator.language||navigator.userLanguage}var rz="$direct";function rV(){return(null==C?void 0:C.referrer)||rz}function rW(e,t,a){void 0===a&&(a=!1);var n=e?[...rL,...t||[]]:[],r=a?tN(null==T?void 0:T.href):null==T?void 0:T.href,o=null==r?void 0:r.substring(0,1e3);return{r:rV().substring(0,1e3),u:o?rA(o,n,rj):void 0}}function rZ(e,t){void 0===t&&(t=!1);var a,n=e.r,r=e.u,o=t?tN(r):r,i={$referrer:n,$referring_domain:null==n?void 0:n==rz?rz:null==(a=rk(n))?void 0:a.host};
1if(o){i.$current_url=o;var s=rk(o);i.$host=null==s?void 0:s.host,i.$pathname=null==s?void 0:s.pathname,nh(i,rH(o))}return n&&nh(i,rU(n)),i}function rY(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return}}var rJ={flags:aq,surveys:aK},rq=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"],rX="main";class rQ{constructor(e,t,a){if(void 0===a&&(a=!0),this.lr={},this.ur=!1,this.hr=!1,this.Te=e,this.dr=a,this.props={},this.cr=!1,this.vr=(e=>{var t="";return e.token&&(t=e.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),e.persistence_name?"ph_"+e.persistence_name:"ph_"+t+"_posthog"})(e),this.Jt=this.pr(e),this.hr=this.gr(e),this.load(),e.debug&&ai.info("Persistence loaded",e.persistence,P({},this.props)),this.update_config(e,e,t),this.save(),x){var n=()=>this.flush();nx(x,"beforeunload",n,{capture:!1}),nx(x,"pagehide",n,{capture:!1})}}mr(){var e,t=null==(e=this.Te)?void 0:e.persistence_save_debounce_ms;return eS(t)&&t>0?t:0}isDisabled(){return!!this.yr}pr(e){-1===rq.indexOf(e.persistence.toLowerCase())&&(ai.critical("Unknown persistence type "+e.persistence+"; falling back to localStorage+cookie"),e.persistence="localStorage+cookie");var t,a,n,r,o=(t=e.cookie_persisted_properties||[],a=e.__preview_cookie_wins_on_conflict||!1,void 0===t&&(t=[]),void 0===a&&(a=!1),n=[...nD,...t],P({},nL,{F(e){try{var t={};try{t=nB.F(e)||{}}catch(e){}var n,r=JSON.parse(nL.A(e)||"{}");if(a){var o={};for(var i in t){var s=t[i];ey(s)||""===s||(o[i]=s)}n=nh(r,o)}else n=nh(t,r);return nL.q(e,n),n}catch(e){}return null},q(e,t,a,r,o,i){var s=nL.q(e,t,void 0,void 0,i);try{var l={};n.forEach(e=>{t[e]&&(l[e]=t[e])}),Object.keys(l).length&&nB.q(e,l,a,r,o,i)}catch(e){nL.D(e)}return s},P(e,t){try{null==x||x.localStorage.removeItem(e),nB.P(e,t)}catch(e){nL.D(e)}}})),i=!1,s=e.persistence.toLowerCase();return"localstorage"===s&&nL.N()?(r=nL,i=!0):"localstorage+cookie"===s&&o.N()?(r=o,i=!0):"sessionstorage"===s&&nH.N()?r=nH:"memory"===s?r=nG:"cookie"===s?r=nB:o.N()?(r=o,i=!0):r=nB,this.ur=i,r}br(e){return this.vr+"__"+e}gr(e){return this.ur&&!!e.split_storage}_r(e){var t=null!=e?e:this.Te.feature_flag_cache_ttl_ms;if(!t||0>=t)return!1;var a=this.props[aq];return!a||"number"!=typeof a||Date.now()-a>t}properties(){var e={};return nm(this.props,(t,a)=>{var n=rN(a);if("derived"===(null==n?void 0:n.exposure)){if(null!=n.shouldSkipFromEventProperties&&n.shouldSkipFromEventProperties(t,a===aA?()=>this._r():()=>!1))return;n.transformToEventProperties&&nh(e,n.transformToEventProperties(t))}else if(!n||"event"===n.exposure){if(null!=n&&null!=n.shouldSkipFromEventProperties&&n.shouldSkipFromEventProperties(t,()=>!1))return;e[a]=t}}),e}load(){if(!this.yr){var e=this.Jt.F(this.vr);e&&(this.props=nh({},e)),this.hr&&this.wr()}}wr(){for(var e of r$){var t=nL.F(this.br(e));if(t&&!eg(t)){var a=this.kr(e);a.persisted=!0,this.Sr(e)||(a.fingerprint=this.Cr(t,e)),this.Tr(e,t)||nh(this.props,t)}}}Sr(e){return Object.keys(this.props).some(t=>{var a;return(null==(a=rN(t))?void 0:a.storageGroup)===e})}Tr(e,t){var a=rJ[e];if(!a)return!1;var n=t[a],r=this.props[a];return eS(n)&&eS(r)&&r>n}refreshKey(e){var t;if(!this.yr){var a=this.hr?null==(t=rN(e))?void 0:t.storageGroup:void 0,n=a?nL.F(this.br(a)):this.Jt.F(this.vr);if(n&&e in n)this.Ir(e,n[e]);else{if(a){var r=this.Jt.F(this.vr);if(r&&e in r)return void this.Ir(e,r[e])}this.Mr(e)}}}save(){if(!this.yr){var e=this.mr();e>0?ef(this.Er)&&(this.Er=setTimeout(()=>{this.Er=void 0,this.Rr()},e)):this.Rr()}}flush(){ef(this.Er)||(clearTimeout(this.Er),this.Er=void 0,this.Rr())}Rr(){this.yr||(this.hr?this.Pr():this.Or(this.Jt,this.vr,this.props,rX))}Pr(){var e=this.Fr(),t=e.main,a=e.groups;for(var n of(this.Or(this.Jt,this.vr,t,rX),r$)){var r,o=a[n];(!eg(o)||null!=(r=this.lr[n])&&r.persisted)&&this.Or(nL,this.br(n),o,n)}}Fr(){var e={},t={flags:{},surveys:{}};return nm(this.props,(a,n)=>{var r,o=null==(r=rN(n))?void 0:r.storageGroup;o?t[o][n]=a:e[n]=a}),{main:e,groups:t}}Cr(e,t){if(t===rX)return JSON.stringify(e)+"|"+this.Lr+"|"+this.$r+"|"+this.Ar;var a={};return nm(e,(e,t)=>{var n;a[t]=null!=(n=rN(t))&&n.volatile?"__volatile__":e}),JSON.stringify(a)}Or(e,t,a,n){var r,o=this.kr(n);if(n===rX||o.dirty||ef(o.fingerprint)){try{if((r=this.Cr(a,n))===o.fingerprint)return void(o.dirty=!1)}catch(e){r=void 0}e.q(t,a,this.Lr,this.$r,this.Ar,this.Te.debug)?(o.dirty=!1,n!==rX&&
1(o.persisted=!0),ef(r)||(o.fingerprint=r)):this.Te.debug&&ai.warn('failed to persist storage entry "'+t+'"; will retry on next save')}}remove(e){var t=(void 0===e?{}:e).keepGroupEntries,a=void 0!==t&&t;if(ef(this.Er)||(clearTimeout(this.Er),this.Er=void 0),this.Jt.P(this.vr,!1),this.Jt.P(this.vr,!0),!a&&this.dr)for(var n of r$)nL.P(this.br(n));a?delete this.lr[rX]:this.lr={}}clear(){this.remove(),this.props={}}register_once(e,t,a){if(eh(e)){ef(t)&&(t="None"),this.Lr=ef(a)?this.Nr:a;var n=!1;if(nm(e,(e,a)=>{this.props.hasOwnProperty(a)&&this.props[a]!==t||(this.Ir(a,e),n=!0)}),n)return this.save(),!0}return!1}register(e,t){if(eh(e)){this.Lr=ef(t)?this.Nr:t;var a=!1;if(nm(e,(t,n)=>{e.hasOwnProperty(n)&&this.props[n]!==t&&(this.Ir(n,t),a=!0)}),a)return this.save(),!0}return!1}unregister(e){e in this.props&&(this.Mr(e),this.save())}update_campaign_params(){if(!this.cr){var e=rF(this.Te.custom_campaign_params,this.Te.mask_personal_data_properties,this.Te.custom_personal_data_properties);eg(nb(e))||this.register(e),this.cr=!0}}update_search_keyword(){var e;this.register((e=null==C?void 0:C.referrer)?rU(e):{})}update_referrer_info(){var e;this.register_once({$referrer:rV(),$referring_domain:null!=C&&C.referrer&&(null==(e=rk(C.referrer))?void 0:e.host)||rz},void 0)}set_initial_person_info(){this.props[a1]||this.props[a2]||this.register_once({[a3]:rW(this.Te.mask_personal_data_properties,this.Te.custom_personal_data_properties,this.Te.disable_capture_url_hashes)},void 0)}get_initial_props(){var e,t,a,n={};nm([a2,a1],e=>{var t=this.props[e];t&&nm(t,function(e,t){n["$initial_"+es(t)]=e})});var r=this.props[a3];return r&&nh(n,(void 0===(e=this.Te.disable_capture_url_hashes)&&(e=!1),t=rZ(r,e),a={},nm(t,function(e,t){a["$initial_"+es(t)]=e}),a)),n}safe_merge(e){return nm(this.props,function(t,a){a in e||(e[a]=t)}),e}
1update_config(e,t,a){this.Nr=this.Lr=e.cookie_expiration,this.set_disabled(e.disable_persistence||!!a),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie);var n=e.persistence!==t.persistence||!((e,t)=>{if(e.length!==t.length)return!1;var a=[...e].sort(),n=[...t].sort();return a.every((e,t)=>e===n[t])})(e.cookie_persisted_properties||[],t.cookie_persisted_properties||[]),r=n?this.pr(e):this.Jt,o=this.gr(e);if(n||o!==this.hr){var i=this.props;this.clear(),this.Jt=r,this.hr=o,this.props=i,this.save()}}set_disabled(e){this.yr=e,this.yr?this.remove():this.save()}set_cross_subdomain(e){e!==this.$r&&(this.$r=e,this.remove({keepGroupEntries:!0}),this.save())}set_secure(e){e!==this.Ar&&(this.Ar=e,this.remove({keepGroupEntries:!0}),this.save())}set_event_timer(e,t){var a=this.props[ah]||{};a[e]=t,this.Ir(ah,a),this.save()}remove_event_timer(e){var t=this.props[ah]||{},a=t[e];return ef(a)||(delete t[e],this.Ir(ah,t),this.save()),a}get_property(e){return this.props[e]}set_property(e,t){this.Ir(e,t),this.save()}Ir(e,t){var a;this.props[e]=t,null!=(a=rN(e))&&a.volatile||this.Dr(e)}Mr(e){delete this.props[e],this.Dr(e)}Dr(e){var t,a=null==(t=rN(e))?void 0:t.storageGroup;a&&(this.kr(a).dirty=!0)}kr(e){return this.lr[e]||(this.lr[e]={})}}var r0="gzip-js",r1="base64",r2="events",r3="cancelEvents",r5="survey shown",r4="survey dismissed",r6="survey sent",r8="popover",r9=as("[RateLimiter]");class r7{constructor(e){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=e=>{var t=e.text;if(t&&t.length)try{(JSON.parse(t).quota_limited||[]).forEach(e=>{r9.info((e||"events")+" is quota limited."),this.serverLimits[e]=(new Date).getTime()+6e4})}catch(e){return void r9.warn('could not rate limit - continuing. Error: "'+(null==e?void 0:e.message)+'"',{text:t})}},this.instance=e,this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}get captureEventsPerSecond(){var e;return(null==(e=this.instance.config.rate_limiting)?void 0:e.events_per_second)||10}get captureEventsBurstLimit(){var e;return Math.max((null==(e=this.instance.config.rate_limiting)?void 0:e.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond)}clientRateLimitContext(e){void 0===e&&(e=!1);var t,a,n,r=this.captureEventsBurstLimit,o=this.captureEventsPerSecond,i=(new Date).getTime(),s=null!=(t=null==(a=this.instance.persistence)?void 0:a.get_property(a0))?t:{tokens:r,last:i};s.tokens+=(i-s.last)/1e3*o,s.last=i,s.tokens>r&&(s.tokens=r);var l=1>s.tokens;return l||e||(s.tokens=Math.max(0,s.tokens-1)),!l||this.lastEventRateLimited||e||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+o+" events per second and "+r+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=l,null==(n=this.instance.persistence)||n.set_property(a0,s),{isRateLimited:l,remainingTokens:s.tokens}}isServerRateLimited(e){var t=this.serverLimits[e||"events"]||!1;return!1!==t&&(new Date).getTime()<t}}var oe=as("[RemoteConfig]");class ot{constructor(e){this._instance=e}get remoteConfig(){var e;return null==(e=A._POSTHOG_REMOTE_CONFIG)||null==(e=e[this._instance.config.token])?void 0:e.config}qr(e){var t,a;null!=(t=A.__PosthogExtensions__)&&t.loadExternalDependency?null==(a=A.__PosthogExtensions__)||null==a.loadExternalDependency||a.loadExternalDependency(this._instance,"remote-config",()=>e(this.remoteConfig)):e()}jr(e){this._instance._send_request({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback(t){e(t.json)}})}load(){try{if(this.remoteConfig)return oe.info("Using preloaded remote config",this.remoteConfig),this.Hr(this.remoteConfig),void this.Br();if(this._instance.Ur())return void oe.warn("Remote config is disabled. Falling back to local config.");this.qr(e=>{e?(this.Hr(e),this.Br()):(oe.info("No config found after loading remote JS config. Falling back to JSON."),this.jr(e=>{this.Hr(e),this.Br()}))})}catch(e){oe.error("Error loading remote config",e)}}stop(){this.zr&&(clearInterval(this.zr),this.zr=void 0)}
vendor: 4,869 bytes, line 1
1refresh(){!this._instance.Ur()&&C&&"hidden"!==C.visibilityState&&this._instance.reloadFeatureFlags()}Br(){var e;if(!this.zr){var t=null!=(e=this._instance.config.remote_config_refresh_interval_ms)?e:3e5;0!==t&&(this.zr=setInterval(()=>{this.refresh()},t))}}Hr(e){var t;e||oe.error("Failed to fetch remote config from PostHog."),this._instance.Hr(e?{ok:!0,config:e}:{ok:!1}),!1!==(null==e?void 0:e.hasFeatureFlags)&&(this._instance.config.advanced_disable_feature_flags_on_first_load||null==(t=this._instance.featureFlags)||t.ensureFlagsLoaded())}}var oa=Uint8Array,on=Uint16Array,or=Uint32Array,oo=new oa([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),oi=new oa([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),os=new oa([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ol=function(e,t){for(var a=new on(31),n=0;31>n;++n)a[n]=t+=1<<e[n-1];var r=new or(a[30]);for(n=1;30>n;++n)for(var o=a[n];a[n+1]>o;++o)r[o]=o-a[n]<<5|n;return[a,r]},od=ol(oo,2),oc=od[1];od[0][28]=258,oc[258]=28;for(var ou=ol(oi,0)[1],op=new on(32768),om=0;32768>om;++om){var oh=(43690&om)>>>1|(21845&om)<<1;op[om]=((65280&(oh=(61680&(oh=(52428&oh)>>>2|(13107&oh)<<2))>>>4|(3855&oh)<<4))>>>8|(255&oh)<<8)>>>1}var og=function(e,t,a){for(var n=e.length,r=0,o=new on(t);n>r;++r)++o[e[r]-1];var i,s=new on(t);for(r=0;t>r;++r)s[r]=s[r-1]+o[r-1]<<1;if(a){i=new on(1<<t);var l=15-t;for(r=0;n>r;++r)if(e[r])for(var d=r<<4|e[r],c=t-e[r],u=s[e[r]-1]++<<c,p=u|(1<<c)-1;p>=u;++u)i[op[u]>>>l]=d}else for(i=new on(n),r=0;n>r;++r)i[r]=op[s[e[r]-1]++]>>>15-e[r];return i},of=new oa(288);for(om=0;144>om;++om)of[om]=8;for(om=144;256>om;++om)of[om]=9;for(om=256;280>om;++om)of[om]=7;for(om=280;288>om;++om)of[om]=8;var ov=new oa(32);for(om=0;32>om;++om)ov[om]=5;var ob=og(of,9,0),oy=og(ov,5,0),ox=function(e){return(e/8|0)+(7&e&&1)},oS=function(e,t,a){(null==a||a>e.length)&&(a=e.length);var n=new(e instanceof on?on:e instanceof or?or:oa)(a-t);return n.set(e.subarray(t,a)),n},ow=function(e,t,a){var n=t/8|0;e[n]|=a<<=7&t,e[n+1]|=a>>>8},oC=function(e,t,a){var n=t/8|0;e[n]|=a<<=7&t,e[n+1]|=a>>>8,e[n+2]|=a>>>16},oT=function(e,t){for(var a=[],n=0;e.length>n;++n)e[n]&&a.push({s:n,f:e[n]});var r=a.length,o=a.slice();if(!r)return[new oa(0),0];if(1==r){var i=new oa(a[0].s+1);return i[a[0].s]=1,[i,1]}a.sort(function(e,t){return e.f-t.f}),a.push({s:-1,f:25001});var s=a[0],l=a[1],d=0,c=1,u=2;for(a[0]={s:-1,f:s.f+l.f,l:s,r:l};c!=r-1;)s=a[a[u].f>a[d].f?d++:u++],l=a[d!=c&&a[u].f>a[d].f?d++:u++],a[c++]={s:-1,f:s.f+l.f,l:s,r:l};var p=o[0].s;for(n=1;r>n;++n)o[n].s>p&&(p=o[n].s);var m=new on(p+1),h=o$(a[c-1],m,0);if(h>t){n=0;var g=0,f=h-t,v=1<<f;for(o.sort(function(e,t){return m[t.s]-m[e.s]||e.f-t.f});r>n;++n){var b=o[n].s;if(t>=m[b])break;g+=v-(1<<h-m[b]),m[b]=t}for(g>>>=f;g>0;){var y=o[n].s;t>m[y]?g-=1<<t-m[y]++-1:++n}for(;n>=0&&g;--n){var x=o[n].s;m[x]==t&&(--m[x],++g)}h=t}return[new oa(m),h]},o$=function(e,t,a){return -1==e.s?Math.max(o$(e.l,t,a+1),o$(e.r,t,a+1)):t[e.s]=a},oE=function(e){for(var t=e.length;t&&!e[--t];);for(var a=new on(++t),n=0,r=e[0],o=1,i=function(e){a[n++]=e},s=1;t>=s;++s)if(e[s]==r&&s!=t)++o;else{if(!r&&o>2){for(;o>138;o-=138)i(32754);o>2&&(i(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(i(r),--o;o>6;o-=6)i(8304);o>2&&(i(o-3<<5|8208),o=0)}for(;o--;)i(r);o=1,r=e[s]}return[a.subarray(0,n),t]},oI=function(e,t){for(var a=0,n=0;t.length>n;++n)a+=e[n]*t[n];return a},oN=function(e,t,a){var n=a.length,r=ox(t+2);e[r]=255&n,e[r+1]=n>>>8,e[r+2]=255^e[r],e[r+3]=255^e[r+1];for(var o=0;n>o;++o)e[r+o+4]=a[o];return 8*(r+4+n)},o_=function(e,t,a,n,r,o,i,s,l,d,c){ow(t,c++,a),++r[256];for(var u=oT(r,15),p=u[0],m=u[1],h=oT(o,15),g=h[0],f=h[1],v=oE(p),b=v[0],y=v[1],x=oE(g),S=x[0],w=x[1],C=new on(19),T=0;b.length>T;++T)C[31&b[T]]++;for(T=0;S.length>T;++T)C[31&S[T]]++;for(var $=oT(C,7),E=$[0],I=$[1],N=19;N>4&&!E[os[N-1]];--N);var _,k,M,A,R=d+5<<3,O=oI(r,of)+oI(o,ov)+i,B=oI(r,p)+oI(o,g)+i+14+3*N+oI(C,E)+(2*C[16]+3*C[17]+7*C[18]);if(O>=R&&B>=R)return oN(t,c,e.subarray(l,l+d));if(ow(t,c,1+(O>B)),c+=2,O>B){_=og(p,m,0),k=p,M=og(g,f,0),A=g;var P=og(E,I,0);for(ow(t,c,y-257),ow(t,c+5,w-1),ow(t,c+10,N-4),c+=14,T=0;N>T;++T)ow(t,c+3*T,E[os[T]]);c+=3*N;for(var L=[b,S],D=0;2>D;++D){var j=L[D];for(T=0;j.length>T;++T)ow(t,c,P[G=31&j[T]]),c+=E[G],G>15&&(ow(t,c,j[T]>>>5&127),c+=j[T]>>>12)}}else _=ob,k=of,M=oy,A=ov;for(T=0;s>T;++T)if(n[T]>255){oC(t,c,_[257+(G=n[T]>>>18&31)]),c+=k[G+257],G>7&&(ow(t,c,n[T]>>>23&31),c+=oo[G]);var G,F=31&n[T];oC(t,c,M[F]),c+=A[F],F>3&&(oC(t,c,n[T]>>>5&8191),c+=oi[F])}else oC(t,c,_[n[T]]),c+=k[n[T]];return oC(t,c,_[256]),c+k[256]},ok=new or([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),oM=function(){for(var e=new or(256),t=0;256>t;++t){for(var a=t,n=9;--n;)a=(1&a&&0xedb88320)^a>>>1;e[t]=a}return e}(),oA=function(e,t,a){for(;a;++t)e[t]=a,a>>>=8},oR=!!E||!!$,oO="text/plain",oB=!1,oP=(e,t)=>
1{var a=e.split("#"),n=a[1],r=a[0].split("?"),o=r[0],i=r[1];if(!i)return e;var s=i.split("&").filter(e=>e.split("=")[0]!==t).join("&");return o+(s?"?"+s:"")+(n?"#"+n:"")},oL=function(e,t,a){void 0===a&&(a=!0);var n,r,o,i,s,l=e.split("?"),d=l[0],c=l[1],u=P({},t),p=null!=(s=null==c?void 0:c.split("&").map(e=>{var t,n=e.split("="),r=n[0],o=a&&null!=(t=u[r])?t:n[1];return delete u[r],r+"="+o}))?s:[],m=(void 0===n&&(n="&"),i=[],nm(u,function(e,t){ef(e)||ef(t)||"undefined"===t||(r=encodeURIComponent(e instanceof File?e.name:e.toString()),o=encodeURIComponent(t),i[i.length]=o+"="+r)}),i.join(n));return m&&p.push(m),p.length>0?d+"?"+p.join("&"):d},oD=e=>{if(e.Vr)return e.Vr;var t=e.data,a=e.compression;if(t){if(a===r0){var n,r,o,i,s,l,d,c,u=(n=function(e){var t=e.length;if("u">typeof TextEncoder)return(new TextEncoder).encode(e);for(var a=new oa(e.length+(e.length>>>1)),n=0,r=function(e){a[n++]=e},o=0;t>o;++o){if(n+5>a.length){var i=new oa(n+8+(t-o<<1));i.set(a),a=i}var s=e.charCodeAt(o);128>s?r(s):(2048>s?r(192|s>>>6):(s>55295&&57344>s?(r(240|(s=65536+(1047552&s)|1023&e.charCodeAt(++o))>>>18),r(128|s>>>12&63)):r(224|s>>>12),r(128|s>>>6&63)),r(128|63&s))}return oS(a,0,n)}(r_(t)),r={mtime:0},o=0xffffffff,i={p(e){for(var t=o,a=0;e.length>a;++a)t=oM[255&t^e[a]]^t>>>8;o=t},d:()=>0xffffffff^o},s=n.length,i.p(n),c=(l=10+(r.filename&&r.filename.length+1||0),d=function(e,t,a,n){var r=e.length,o=new oa(n+r+5*(1+Math.floor(r/7e3))+8),i=o.subarray(n,o.length-8),s=0;if(!t||8>r)for(var l=0;r>=l;l+=65535){var d=l+65535;r>d?s=oN(i,s,e.subarray(l,d)):(i[l]=!0,s=oN(i,s,e.subarray(l,r)))}else{for(var c=ok[t-1],u=c>>>13,p=8191&c,m=(1<<a)-1,h=new on(32768),g=new on(m+1),f=Math.ceil(a/3),v=2*f,b=function(t){return(e[t]^e[t+1]<<f^e[t+2]<<v)&m},y=new or(25e3),x=new on(288),S=new on(32),w=0,C=0,T=(l=0,0),$=0,E=0;r>l;++l){var I=b(l),N=32767&l,_=g[I];if(h[N]=_,g[I]=N,l>=$){var k=r-l;if((w>7e3||T>24576)&&k>423){s=o_(e,i,0,y,x,S,C,T,E,l-E,s),T=w=C=0,E=l;for(var M=0;286>M;++M)x[M]=0;for(M=0;30>M;++M)S[M]=0}var A=2,R=0,O=p,B=N-_&32767;if(k>2&&I==b(l-B))for(var P=Math.min(u,k)-1,L=Math.min(32767,l),D=Math.min(258,k);L>=B&&--O&&N!=_;){if(e[l+A]==e[l+A-B]){for(var j=0;D>j&&e[l+j]==e[l+j-B];++j);if(j>A){if(A=j,R=B,j>P)break;var G=Math.min(B,j-2),F=0;for(M=0;G>M;++M){var H=l-B+M+32768&32767,U=H-h[H]+32768&32767;U>F&&(F=U,_=H)}}}B+=(N=_)-(_=h[N])+32768&32767}if(R){y[T++]=0x10000000|oc[A]<<18|ou[R];var K=31&oc[A],z=31&ou[R];C+=oo[K]+oi[z],++x[257+K],++S[z],$=l+A,++w}else y[T++]=e[l],++x[e[l]]}}s=o_(e,i,!0,y,x,S,C,T,E,l-E,s)}return oS(o,0,n+ox(s)+8)}(n,null==r.level?6:r.level,null==r.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(n.length)))):12+r.mem,l)).length,function(e,t){var a=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=2>t.level?4:2*(9==t.level),e[9]=3,0!=t.mtime&&oA(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),a){e[3]=8;for(var n=0;a.length>=n;++n)e[n+10]=a.charCodeAt(n)}}(d,r),oA(d,c-8,i.d()),oA(d,c-4,s),d);return{contentType:oO,body:u.buffer.slice(u.byteOffset,u.byteOffset+u.byteLength),estimatedSize:u.byteLength}}if(a===r1){let e;var p,m="data="+encodeURIComponent("string"==typeof(e=(p=r_(t))?btoa(encodeURIComponent(p).replace(/%([0-9A-F]{2})/g,(e,t)=>String.fromCharCode(parseInt(t,16)))):p)?e:r_(e));return{contentType:"application/x-www-form-urlencoded",body:m,estimatedSize:new Blob([m]).size}}var h=r_(t);return{contentType:"application/json",body:h,estimatedSize:new Blob([h]).size}}},oj=e=>{var t,a,n=()=>"sendBeacon"===e.transport?{url:oL(e.url,{compression:r1}),encodedBody:oD(P({},e,{compression:r1,Vr:void 0}))}:{url:oP(e.url,"compression"),encodedBody:oD(P({},e,{compression:void 0,Vr:void 0}))};try{t=oD(e)}catch(t){if(X(e.compression,rM(e.url,"compression")))return ai.error("Failed to gzip request body, sending uncompressed payload",t),n();throw t}return!(t&&X(e.compression,rM(e.url,"compression")))||((a=t.body)instanceof ArrayBuffer?q(new Uint8Array(a)):ArrayBuffer.isView(a)&&q(new Uint8Array(a.buffer,a.byteOffset,a.byteLength)))?{url:e.url,encodedBody:t}:(oB=!0,n())},oG=e=>{try{return oj(e)}catch(t){return ai.error(t),void(null==e.callback||e.callback({statusCode:0,error:t}))}},oF=(hL=B(function*(e){var t=r_(e.data),a=yield function(e,t,a){return ea.apply(this,arguments)}(t,R.DEBUG,{rethrow:!0});if(!a)return e;var n=yield a.arrayBuffer();return P({},e,{Vr:{contentType:oO,body:n,estimatedSize:n.byteLength}})}),function(e){return hL.apply(this,arguments)}),oH=/Failed to fetch|NetworkError|Load failed/i,oU=e=>{var t=oG(e);
1if(t){var a,n=t.url,r=t.encodedBody,o=null!=r?r:{},i=o.contentType,s=o.body,l=o.estimatedSize,d=new Headers;nm(e.headers,function(e,t){d.append(t,e)}),i&&d.append("Content-Type",i);var c=null,u=!1;if(I){var p=new I;c={signal:p.signal,timeout:setTimeout(()=>{var t,a;u=!0,p.abort(((a=Error("PostHog request timed out"+((t=e.timeout)?" after "+t+"ms":""))).name="AbortError",a))},e.timeout)}}var m=t=>{u&&"AbortError"===(null==t?void 0:t.name)||"TypeError"===(null==t?void 0:t.name)&&oH.test((null==t?void 0:t.message)||"")?ai.warn(t):ai.error(t),null==e.callback||e.callback({statusCode:0,error:t})};try{$(n,P({method:(null==e?void 0:e.method)||"GET",headers:d,keepalive:"POST"===e.method&&!e.Wr&&52428.8>(l||0),body:s,signal:null==(a=c)?void 0:a.signal},e.fetchOptions)).then(t=>t.text().then(a=>{var n={statusCode:t.status,text:a};if(200===t.status)try{n.json=JSON.parse(a)}catch(e){ai.error(e)}null==e.callback||e.callback(n)})).catch(m).finally(()=>c?clearTimeout(c.timeout):null)}catch(e){c&&clearTimeout(c.timeout),m(e)}}},oK=e=>{try{var t,a=oj(e),n=a.url,r=a.encodedBody,o=null!=r?r:{},i=o.body,s=o.estimatedSize;if(!i)return;var l=i instanceof Blob?i:new Blob([i],{type:o.contentType});if(w.sendBeacon(n,l))return;var d=ep(e.data)?e.data:null==(t=e.data)?void 0:t.batch;if(ep(d)&&d.length>1&&(null!=s?s:0)>16384){var c=Math.ceil(d.length/2),u=t=>ep(e.data)?t:P({},e.data,{batch:t});return oK(P({},e,{data:u(d.slice(0,c))})),void oK(P({},e,{data:u(d.slice(c))}))}ai.warn("Beacon of ~"+(null!=s?s:0)+" bytes was rejected by the browser, falling back to fetch"),oU(P({},e,{Wr:!0}))}catch(e){ai.warn("Beacon send failed",e)}},oz=(e,t,a,n)=>{var r="query"===n?"POST"===t?"sent_at":"_":void 0;return oL(a===r0?oP(e,"compression"):e,P({},r?{[r]:Date.now().toString()}:{},a===r0?{}:{compression:a}))},oV=[];$&&oV.push({transport:"fetch",method:oU}),E&&oV.push({transport:"XHR",method(e){var t=oG(e);if(t){var a=new E,n=t.encodedBody;a.open(e.method||"GET",t.url,!0);var r=null!=n?n:{},o=r.contentType,i=r.body;nm(e.headers,function(e,t){a.setRequestHeader(t,e)}),o&&a.setRequestHeader("Content-Type",o),e.timeout&&(a.timeout=e.timeout),a.onreadystatechange=()=>{if(4===a.readyState){var t={statusCode:a.status,text:a.responseText};if(200===a.status)try{t.json=JSON.parse(a.responseText)}catch(e){}null==e.callback||e.callback(t)}},a.send(i)}}}),null!=w&&w.sendBeacon&&oV.push({transport:"sendBeacon",method:oK});class oW{constructor(e,t){this.Zr=!0,this.Gr=[],this.Qr=eM((null==t?void 0:t.flush_interval_ms)||3e3,250,5e3,ai.createLogger("flush interval"),3e3),this.Jr=e}enqueue(e){this.Gr.push(e),this.Kr||this.Yr()}unload(){this.Xr();var e=Object.values(this.Gr.length>0?this.ei():{});[...e.filter(e=>0===e.url.indexOf("/e")),...e.filter(e=>0!==e.url.indexOf("/e"))].map(e=>{this.ti(P({},e,{transport:"sendBeacon"}))})}enable(){this.Zr=!1,this.Yr()}Yr(){var e=this;this.Zr||(this.Kr=setTimeout(()=>{if(this.Xr(),this.Gr.length>0){var t=this.ei();for(var a in t)!function(){var n=t[a],r=(new Date).getTime();n.data&&ep(n.data)&&nm(n.data,e=>{e.offset=Math.abs(e.timestamp-r),delete e.timestamp}),e.ti(n)}()}},this.Qr))}ti(e){try{this.Jr(e)}catch(e){ai.error(e)}}Xr(){clearTimeout(this.Kr),this.Kr=void 0}ei(){var e={};return nm(this.Gr,t=>{var a,n=(t?t.batchKey:null)||t.url;ef(e[n])&&(e[n]=P({},t,{data:[]})),null==(a=e[n].data)||a.push(t.data)}),this.Gr=[],e}}var oZ=["retriesPerformedSoFar"];class oY{constructor(e){this.ri=!1,this.ii=3e3,this.Gr=[],this._instance=e,this.Gr=[],this.ni=!0,!ef(x)&&"onLine"in x.navigator&&(this.ni=x.navigator.onLine,this.si=()=>{this.ni=!0,this.oi()},this.ai=()=>{this.ni=!1},nx(x,"online",this.si),nx(x,"offline",this.ai))}get length(){return this.Gr.length}retriableRequest(e){var t=e.retriesPerformedSoFar,a=L(e,oZ);ew(t)&&(a.url=oL(a.url,{retry_count:t})),this._instance._send_request(P({},a,{callback:e=>{if(200!==e.statusCode&&(400>e.statusCode||e.statusCode>=500)){if((0===e.statusCode?3:10)>(null!=t?t:0))return void this.kt(P({retriesPerformedSoFar:t},a));0===e.statusCode&&ai.warn("Request failed before receiving an HTTP response; this can happen due to network issues, CORS, browser blocking, or ad blockers. Stopped retrying after "+(null!=t?t:0)+" retries.")}null==a.callback||a.callback(e)}}))}kt(e){var t,a,n=e.retriesPerformedSoFar||0;e.retriesPerformedSoFar=n+1;var r=Math.ceil((a=Math.min(18e5,t=3e3*Math.pow(2,n)))+(Math.random()-.5)*(a-t/2)),o=Date.now()+r;this.Gr.push({retryAt:o,requestOptions:e});var i="Enqueued failed request for retry in "+r;navigator.onLine||(i+=" (Browser is offline)"),ai.warn(i),this.ri||(this.ri=!0,this.li())}li(){(this.ui&&clearTimeout(this.ui),0===this.Gr.length)?(this.ri=!1,this.ui=void 0):this.ui=setTimeout(()=>{this.ni&&this.Gr.length>0&&this.oi(),this.li()},this.ii)}oi(){var e=Date.now(),t=[],a=this.Gr.filter(a=>e>a.retryAt||(t.push(a),!1));if(this.Gr=t,a.length>0)for(var n of a)this.retriableRequest(n.requestOptions)}unload(){for(var e of(this.ui&&(clearTimeout(this.ui),this.ui=void 0),this.ri=!1,ef(x)||(this.si&&(x.removeEventListener("online",this.si),this.si=void 0),this.ai&&(x.removeEventListener("offline",this.ai),this.ai=void 0)),this.Gr)){var t=e.requestOptions;try{this._instance._send_request(P({},t,{transport:"sendBeacon"}))}catch(e){ai.error(e)}}this.Gr=[]}}class oJ{constructor(e){this.hi=()=>{this.di||(this.di={});var e,t,a,n,r=this.scrollElement(),o=this.scrollY(),i=r?Math.max(0,r.scrollHeight-r.clientHeight):0,s=o+((null==r?void 0:r.clientHeight)||0),l=(null==r?void 0:r.scrollHeight)||0;this.di.lastScrollY=Math.ceil(o),this.di.maxScrollY=Math.max(o,null!=(e=this.di.maxScrollY)?e:0),this.di.maxScrollHeight=Math.max(i,null!=(t=this.di.maxScrollHeight)?t:0),this.di.lastContentY=s,this.di.maxContentY=Math.max(s,null!=(a=this.di.maxContentY)?a:0),this.di.maxContentHeight=Math.max(l,null!=(n=this.di.maxContentHeight)?n:0)},this._instance=e}get ci(){return this._instance.config.scroll_root_selector}getContext(){return this.di}resetContext(){var e=this.di;return setTimeout(this.hi,0),e}startMeasuringScrollPosition(){nx(x,"scroll",this.hi,{capture:!0}),nx(x,"scrollend",this.hi,{capture:!0}),nx(x,"resize",this.hi)}scrollElement(){if(!this.ci)return null==x?void 0:x.document.documentElement;for(var e of ep(this.ci)?this.ci:[this.ci]){var t=null==x?void 0:x.document.querySelector(e);
1if(t)return t}}vi(e){if(this.ci){var t=this.scrollElement();return t&&t["y"===e?"scrollTop":"scrollLeft"]||0}return x?"y"===e?x.scrollY||x.pageYOffset||x.document.documentElement.scrollTop||0:x.scrollX||x.pageXOffset||x.document.documentElement.scrollLeft||0:0}scrollY(){return this.vi("y")}scrollX(){return this.vi("x")}}var oq=e=>rW(null==e?void 0:e.config.mask_personal_data_properties,null==e?void 0:e.config.custom_personal_data_properties,null==e?void 0:e.config.disable_capture_url_hashes);class oX{constructor(e,t,a,n){this.fi=e=>{var t=this.pi();if(!t||t.sessionId!==e){var a={sessionId:e,props:this.gi(this._instance)};this.mi.register({[aQ]:a})}},this._instance=e,this.yi=t,this.mi=a,this.gi=n||oq,this.yi.onSessionId(this.fi)}pi(){return this.mi.props[aQ]}getSetOnceProps(){var e,t=null==(e=this.pi())?void 0:e.props;return t?"r"in t?rZ(t,this._instance.config.disable_capture_url_hashes):{$referring_domain:t.referringDomain,$pathname:t.initialPathName,utm_source:t.utm_source,utm_campaign:t.utm_campaign,utm_medium:t.utm_medium,utm_content:t.utm_content,utm_term:t.utm_term}:{}}getSessionProps(){var e={};return nm(nb(this.getSetOnceProps()),(t,a)=>{"$current_url"===a&&(a="url"),e["$session_entry_"+es(a)]=t}),e}}class oQ{on(e,t){return this.bi[e]||(this.bi[e]=[]),this.bi[e].push(t),()=>{this.bi[e]=this.bi[e].filter(e=>e!==t)}}emit(e,t){for(var a of this.bi[e]||[])a(t);for(var n of this.bi["*"]||[])n(e,t)}constructor(){this.bi={}}}var o0=as("[SessionId]");class o1{on(e,t){return this.wi.on(e,t)}constructor(e,t,a){if(this.xi=null,this.ki=[],this.Si=void 0,this.Ci=!1,this.wi=new oQ,this.Ti=(e,t)=>!(!ew(e)||!ew(t))&&Math.abs(e-t)>this.sessionTimeoutMs,!e.persistence)throw Error("SessionIdManager requires a PostHogPersistence instance");if(e.config.cookieless_mode===na)throw Error('SessionIdManager cannot be used with cookieless_mode="always"');this.Te=e.config,this.mi=e.persistence,this.Ii=void 0,this.Mi=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.Ei=t||nM,this.Ri=a||nM;var n,r=this.Te.persistence_name||this.Te.token;if(this._sessionTimeoutMs=1e3*eM(this.Te.session_idle_timeout_seconds||1800,60,36e3,o0.createLogger("session_idle_timeout_seconds"),1800),e.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.Pi(),this.Oi="ph_"+r+"_window_id",this.Fi="ph_"+r+"_primary_window_exists",this.Li()){var o=nH.F(this.Oi),i=nH.F(this.Fi);o&&!i?this.Ii=o:nH.P(this.Oi),nH.q(this.Fi,!0)}if(null!=(n=this.Te.bootstrap)&&n.sessionID)try{var s=(()=>{var e=this.Te.bootstrap.sessionID.replace(/-/g,"");if(32!==e.length)throw Error("Not a valid UUID");if("7"!==e[12])throw Error("Not a UUIDv7");return parseInt(e.substring(0,12),16)})();this.$i(this.Te.bootstrap.sessionID,(new Date).getTime(),s)}catch(e){o0.error("Invalid sessionID in bootstrap",e)}this.Ai()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(e){return ef(this.ki)&&(this.ki=[]),this.ki.push(e),this.Mi&&e(this.Mi,this.Ii),()=>{this.ki=this.ki.filter(t=>t!==e)}}Li(){return"memory"!==this.Te.persistence&&!this.mi.yr&&nH.N()}Ni(e){e!==this.Ii&&(this.Ii=e,this.Li()&&nH.q(this.Oi,e))}Di(){return this.Ii?this.Ii:this.Li()?nH.F(this.Oi):null}qi(e){var t=this.xi;return!ey(t)&&!ey(e)&&5e3>Math.abs(e-t)}$i(e,t,a){var n=t!==this._sessionActivityTimestamp,r=e===this.Mi&&a===this._sessionStartTimestamp;this._sessionStartTimestamp=a,this._sessionActivityTimestamp=t,this.Mi=e,r&&!n||r&&this.qi(t)||(this.xi=t,this.mi.register({[ak]:[t,e,a]}))}ji(){var e,t=null==(e=this.Te)?void 0:e.persistence_save_debounce_ms;return ew(t)&&t>0}Hi(){this.ji()?this.mi.refreshKey(ak):(this.mi.flush(),this.mi.load())}Bi(){var e;if(!ey(this._sessionActivityTimestamp)&&this._sessionActivityTimestamp!==this.xi){this.Hi();var t=this.Ui();t[1]===this.Mi&&t[2]===this._sessionStartTimestamp&&(this.xi=this._sessionActivityTimestamp,this.mi.register({[ak]:[this._sessionActivityTimestamp,null!=(e=this.Mi)?e:null,this._sessionStartTimestamp]}),this.mi.flush())}}zi(){var e=this.Ui()[0];return Math.max(ew(e)?e:0,ew(this._sessionActivityTimestamp)?this._sessionActivityTimestamp:0)}Vi(e){return this.Hi(),this.Ti(e,this.zi())}Ui(){var e=this.mi.props[ak];return ep(e)&&2===e.length&&e.push(e[0]),e||[0,null,0]}resetSessionId(){this.xi=null,clearTimeout(this.Wi),this.Wi=void 0,this.$i(null,null,null)}destroy(){this.Ci=!0,this.Bi(),clearTimeout(this.Wi),this.Wi=void 0,this.Si&&x&&(x.removeEventListener(ns,this.Si,{capture:!1}),this.Si=void 0),this.ki=[]}Ai(){this.Si=()=>{this.Bi(),this.Li()&&nH.P(this.Fi)}
1,nx(x,ns,this.Si,{capture:!1})}checkAndGetSessionAndWindowId(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=null),this.Te.cookieless_mode===na)throw Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var a=t||(new Date).getTime(),n=this.Ui(),r=n[1],o=n[2],i=this.zi(),s=this.Di(),l=ew(o)&&Math.abs(a-o)>864e5,d=!1,c=!1,u=!r,p=r,m=!u&&!e&&this.Ti(a,i);if(m){(m=this.Vi(a))||o0.info("cross-tab refresh kept the session alive",{sessionId:r});var h=this.Ui();r=h[1],o=h[2]}u||m||l?(r=this.Ei(),s=this.Ri(),o0.info("new session ID generated",{sessionId:r,windowId:s,changeReason:{noSessionId:u,activityTimeout:m,sessionPastMaximumLength:l}}),o=a,d=!0):(s||(s=this.Ri(),d=!0),(c=r!==p)&&(o0.info("adopted cross-tab session id",{sessionId:r,windowId:s}),d=!0));var g=ew(i)&&e&&!l?i:a,f=ew(o)?o:(new Date).getTime();this.Ni(s),this.$i(r,g,f),e||this.Pi();var v={noSessionId:u,activityTimeout:m,sessionPastMaximumLength:l,crossTabAdoption:c};return d&&this.ki.forEach(e=>e(r,s,v)),{sessionId:r,windowId:s,sessionStartTimestamp:f,changeReason:d?v:void 0,lastActivityTimestamp:i}}Pi(){this.Ci||(clearTimeout(this.Wi),this.Wi=setTimeout(()=>{if(!this.Ci)if(this.Vi((new Date).getTime())){var e=this.Mi;this.resetSessionId(),this.wi.emit("forcedIdleReset",{idleSessionId:e})}else this.Pi()},1.1*this.sessionTimeoutMs))}}var o2=function(e,t){if(!e)return!1;var a=e.userAgent;if(a&&er(a,t))return!0;try{var n=null==e?void 0:e.userAgentData;if(null!=n&&n.brands&&n.brands.some(e=>er(null==e?void 0:e.brand,t)))return!0}catch(e){}return!!e.webdriver};function o3(){return(o3=B(function*(){var e=null==w?void 0:w.userAgentData;if(null!=e&&e.getHighEntropyValues)try{var t=yield e.getHighEntropyValues(["model"]),a=null==t?void 0:t.model;return ev(a)&&a.length>0?a:void 0}catch(e){return void ai.info("Unable to resolve $device_model from userAgentData.getHighEntropyValues",e)}})).apply(this,arguments)}var o5=function(e,t){if(!function(e){try{new RegExp(e)}catch(e){return!1}return!0}(t))return!1;try{return new RegExp(t).test(e)}catch(e){return!1}};function o4(e,t,a){return r_({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:a})}var o6={exact:(e,t)=>t.some(t=>e.some(e=>t===e)),is_not:(e,t)=>t.every(t=>e.every(e=>t!==e)),regex:(e,t)=>t.some(t=>e.some(e=>o5(t,e))),not_regex:(e,t)=>t.every(t=>e.every(e=>!o5(t,e))),icontains:(e,t)=>t.map(o8).some(t=>e.map(o8).some(e=>t.includes(e))),not_icontains:(e,t)=>t.map(o8).every(t=>e.map(o8).every(e=>!t.includes(e))),gt:(e,t)=>t.some(t=>{var a=parseFloat(t);return!isNaN(a)&&e.some(e=>a>parseFloat(e))}),lt:(e,t)=>t.some(t=>{var a=parseFloat(t);return!isNaN(a)&&e.some(e=>a<parseFloat(e))})},o8=e=>e.toLowerCase();function o9(e,t){return!e||Object.entries(e).every(e=>{var a=e[1],n=null==t?void 0:t[e[0]];if(ef(n)||ey(n))return!1;var r=[String(n)],o=o6[a.operator];return!!o&&o(a.values,r)})}var o7="custom",ie="i.posthog.com",it=/^\/static\//;class ia{constructor(e){this.Zi={},this.instance=e}get apiHost(){var e=this.instance.config.api_host.trim().replace(/\/$/,"");return"https://app.posthog.com"===e?"https://us.i.posthog.com":e}get flagsApiHost(){var e=this.instance.config.flags_api_host;return e?e.trim().replace(/\/$/,""):this.apiHost}get uiHost(){var e,t=null==(e=this.instance.config.ui_host)?void 0:e.replace(/\/$/,"");return t||(t=this.apiHost.replace("."+ie,".posthog.com")),"https://app.posthog.com"===t?"https://us.posthog.com":t}get region(){return this.Zi[this.apiHost]||(this.Zi[this.apiHost]=/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"us":/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"eu":o7),this.Zi[this.apiHost]}Gi(e){if(it.test(e)){var t=this.instance.config.asset_host;if("string"==typeof t)return t.trim().replace(/\/$/,"")||void 0}}endpointFor(e,t){if(void 0===t&&(t=""),t&&(t="/"===t[0]?t:"/"+t),"ui"===e)return this.uiHost+t;if("flags"===e)return this.flagsApiHost+t;if("assets"===e){var a=this.Gi(t);if(a)return""+a+t}if(this.region===o7)return this.apiHost+t;var n=ie+t;switch(e){case"assets":return"https://"+this.region+"-assets."+n;case"api":return"https://"+this.region+"."+n}}}function ir(e){var t;return!(null==(t=e.conditions)||null==(t=t.events)||null==(t=t.values)||!t.length)}var io=as("[Surveys]"),ii="seenSurvey_",is=e=>{try{var t=""+ii+(e.current_iteration&&e.current_iteration>0?e.id+"_"+e.current_iteration:e.id);if(localStorage.getItem(t))return;localStorage.setItem(t,"true")}catch(e){io.error("Failed to persist survey seen state",e)}}
1,il=["popover","widget","api"],id={ignoreConditions:!1,ignoreDelay:!1,displayType:r8},ic=as("[PostHog ExternalIntegrations]"),iu={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class ip{constructor(e){this._instance=e}er(e,t){var a;null==(a=A.__PosthogExtensions__)||null==a.loadExternalDependency||a.loadExternalDependency(this._instance,e,e=>{if(e)return ic.error("failed to load script",e);t()})}startIfEnabledOrStop(){var e,t=this;for(var a of Object.entries(null!=(e=this._instance.config.integrations)?e:{}))!function(){var e,n,r,o=a[0],i=a[1];!i||null!=(e=A.__PosthogExtensions__)&&null!=(e=e.integrations)&&e[o]||t.er(iu[o],()=>{var e;null==(e=A.__PosthogExtensions__)||null==(e=e.integrations)||null==(e=e[o])||e.start(t._instance)}),!i&&null!=(n=A.__PosthogExtensions__)&&null!=(n=n.integrations)&&n[o]&&(null==(r=A.__PosthogExtensions__)||null==(r=r.integrations)||null==(r=r[o])||r.stop())}()}}var im={},ih=0,ig=()=>{},iv='Consent opt in/out is not valid with cookieless_mode="always" and will be ignored',ib="Surveys module not available",iy="sanitize_properties is deprecated. Use before_send instead",ix="Invalid value for property_denylist config: ",iS=["token","distinct_id",a6],iw="posthog",iC=!oR&&-1===(null==_?void 0:_.indexOf("MSIE"))&&-1===(null==_?void 0:_.indexOf("Mozilla")),iT=e=>{var t;return P({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,asset_host:null,token:"",autocapture:!0,cross_subdomain_cookie:function(e){var t=null==e?void 0:e.hostname;if(!ev(t))return!1;var a=t.split(".").slice(-2).join(".");for(var n of ny)if(a===n)return!1;return!0}(null==C?void 0:C.location),persistence:"localStorage+cookie",persistence_name:"",cookie_persisted_properties:[],loaded:ig,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageleave:"if_capture_pageview",defaults:null!=e?e:"unset",__preview_deferred_init_extensions:!1,__preview_external_dependency_versioned_paths:!1,__preview_cookie_wins_on_conflict:!1,debug:T&&ev(null==T?void 0:T.search)&&-1!==T.search.indexOf("__posthog_debug=true")||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_conversations:!1,disable_product_tours:!1,disableDeviceModel:!1,disable_external_dependency_loading:!1,strict_script_versioning:!1,enable_recording_console_log:void 0,secure_cookie:"https:"===(null==x||null==(t=x.location)?void 0:t.protocol),ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_feature_flags_dedup_per_session:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error(e){ai.error("Bad HTTP status: "+e.statusCode+" "+e.text)},get_device_id:e=>e,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:no,before_send:void 0,get_current_url:void 0,request_queue_config:{flush_interval_ms:3e3},error_tracking:{},_onCapture:ig},{rageclick:e&&e>="2026-05-30"?{content_ignorelist:n9,ignore_text_selection:!0}
1:!e||"2025-11-30">e||{content_ignorelist:!0},capture_pageview:!e||"2025-05-24">e||"history_change",session_recording:e&&e>="2026-06-25"?{strictMinimumDuration:!0,canvasCapture:{resolutionScale:.6},streamNetworkBody:!0}:e&&e>="2026-05-30"?{strictMinimumDuration:!0,canvasCapture:{resolutionScale:.6}}:e&&e>="2025-11-30"?{strictMinimumDuration:!0}:{},external_scripts_inject_target:e&&e>="2026-01-30"?"head":"body",internal_or_test_user_hostname:e&&e>="2026-01-30"?/^(localhost|127\.0\.0\.1)$/:void 0,persistence_save_debounce_ms:e&&e>="2026-05-30"?250:0,split_storage:!(!e||"2026-05-30">e),detect_google_search_app:!(!e||"2026-05-30">e),disable_capture_url_hashes:!(!e||"2026-06-25">e)})},i$=[["process_person","person_profiles"],["xhr_headers","request_headers"],["cookie_name","persistence_name"],["disable_cookie","disable_persistence"],["__preview_disable_beacon","disable_beacon"],["store_google","save_campaign_params"],["verbose","debug"]],iE=e=>{var t={};for(var a of i$){var n=a[0],r=a[1];ef(e[n])||(t[r]=e[n])}var o=nh({},t,e),i=e.__preview_external_dependency_versioned_paths;return ef(i)||(ef(e.strict_script_versioning)&&(o.strict_script_versioning=!!i),ev(i)&&ef(e.asset_host)&&(o.asset_host=i)),ep(e.property_blacklist)&&(ef(e.property_denylist)?o.property_denylist=e.property_blacklist:ep(e.property_denylist)?o.property_denylist=[...e.property_blacklist,...e.property_denylist]:ai.error(ix+e.property_denylist)),o};class iI{constructor(){this.__forceAllowLocalhost=!1}get Qi(){return this.__forceAllowLocalhost}set Qi(e){ai.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=e}}class iN{Ji(e,t){if(e){var a=this.Ki.indexOf(e);-1!==a&&this.Ki.splice(a,1)}return this.Ki.push(t),null==t.initialize||t.initialize(),t}Yi(){return this.config.cookieless_mode===na||this.config.cookieless_mode===nt&&this.consent.isRejected()}get decideEndpointWasHit(){var e,t;return null!=(e=null==(t=this.featureFlags)?void 0:t.hasLoadedFlags)&&e}get flagsEndpointWasHit(){var e,t;return null!=(e=null==(t=this.featureFlags)?void 0:t.hasLoadedFlags)&&e}constructor(){this.webPerformance=new iI,this.Xi=!1,this.version=R.LIB_VERSION,this.en=new oQ,this.Ki=[],this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=iT(),this.SentryIntegration=rC,this.sentryIntegration=e=>{var t;return t=rw(this,e),{name:rS,processEvent:e=>t(e)}},this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.tn=!1,this.rn=null,this.nn=null,this.sn=null,this.scrollManager=new oJ(this),this.pageViewManager=new rT(this),this.rateLimiter=new r7(this),this.requestRouter=new ia(this),this.consent=new nU(this),this.externalIntegrations=new ip(this);var e,t=null!=(e=iN.__defaultExtensionClasses)?e:{};this.featureFlags=t.featureFlags&&new t.featureFlags(this),this.toolbar=t.toolbar&&new t.toolbar(this),this.surveys=t.surveys&&new t.surveys(this),this.conversations=t.conversations&&new t.conversations(this),this.logs=t.logs&&new t.logs(this),this.metrics=t.metrics&&new t.metrics(this),this.experiments=t.experiments&&new t.experiments(this),this.exceptions=t.exceptions&&new t.exceptions(this),this.people={set:(e,t,a)=>{var n=ev(e)?{[e]:t}:e;this.setPersonProperties(n),null==a||a({})},set_once:(e,t,a)=>{var n=ev(e)?{[e]:t}:e;this.setPersonProperties(void 0,n),null==a||a({})}},this.on("eventCaptured",e=>ai.info('send "'+(null==e?void 0:e.event)+'"',e))}init(e,t,a){if(a&&a!==iw){var n,r=null!=(n=im[a])?n:new iN;return r._init(e,t,a),im[a]=r,im[iw][a]=r,r}return this._init(e,t,a)}_init(e,t,a){void 0===t&&(t={});var n,r,o=ev(e)?e.trim():"";if(!o)return ai.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return console.warn("[PostHog.js]","You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config=iT(t.defaults),t.debug=this.an(t.debug),this.ln=t,this.un=[],t.person_profiles?this.nn=t.person_profiles:t.process_person&&(this.nn=t.process_person);var i=iT(t.defaults),s=iE(t),l=nh({},i,s,{name:a,token:o});eh(i.rageclick)&&eh(s.rageclick)&&(l.rageclick=nh({},i.rageclick,s.rageclick)),eh(i.session_recording)&&eh(s.session_recording)&&(l.session_recording=nh({},i.session_recording,s.session_recording)),this.set_config(l),this.config.on_xhr_error&&ai.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=t.disable_compression?void 0:r0;var d=this.hn();this.persistence=new rQ(this.config,d),this.sessionPersistence="sessionStorage"===this.config.persistence||"memory"===this.config.persistence?this.persistence:new rQ(P({},this.config,{persistence:"sessionStorage"}),d,!1);var c=P({},this.persistence.props),u=P({},this.sessionPersistence.props);this.register({$initialization_time:(new Date).toISOString()}),this.dn=new oW(e=>this.cn(e),this.config.request_queue_config),this.vn=new oY(this),this.__request_queue=[];var p=this.Yi();if(p||(this.sessionManager=new o1(this),this.sessionPropsManager=new oX(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(ai.info("Deferring extension initialization to improve startup performance"),setTimeout(()=>{this.fn(p)},0)):(ai.info("Initializing extensions synchronously"),this.fn(p)),R.DEBUG=R.DEBUG||this.config.debug,R.DEBUG&&ai.info("Starting in debug mode",{this:this,config:t,thisC:P({},this.config),p:c,s:u}),!this.config.identity_distinct_id||null!=(n=t.bootstrap)&&n.distinctID||(t.bootstrap=P({},t.bootstrap,{distinctID:this.config.identity_distinct_id,isIdentifiedID:!0}
1)),void 0!==(null==(r=t.bootstrap)?void 0:r.distinctID)){var m=t.bootstrap.distinctID,h=this.get_distinct_id(),g=this.persistence.get_property(aX);if(t.bootstrap.isIdentifiedID&&null!=h&&h!==m&&g===nn)this.identify(m);else if(t.bootstrap.isIdentifiedID&&null!=h&&h!==m&&g===nr)ai.warn("Bootstrap distinctID differs from an already-identified user. The existing identity is preserved. Call reset() before reinitializing if you intend to switch users.");else{var f=this.config.get_device_id(nM()),v=t.bootstrap.isIdentifiedID?f:m;this.persistence.set_property(aX,t.bootstrap.isIdentifiedID?nr:nn),this.register({distinct_id:m,$device_id:v})}}if(p)this.register_once({distinct_id:a4,$device_id:null},"");else if(!this.get_distinct_id()){var b=this.config.get_device_id(nM());this.register_once({distinct_id:b,$device_id:b},""),this.persistence.set_property(aX,nn)}return nx(x,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),t.segment?function(e,t){var a=e.config.segment;if(!a)return t();!function(e,t){var a=e.config.segment;if(!a)return t();var n=a=>{var n=()=>a.anonymousId()||nM();e.config.get_device_id=n,a.id()&&(e.register({distinct_id:a.id(),$device_id:n()}),e.persistence.set_property(aX,nr)),t()},r=a.user();"then"in r&&em(r.then)?r.then(n):n(r)}(e,()=>{var n;a.register(("u">typeof Promise&&Promise.resolve||rx.warn("This browser does not have Promise support, and can not use the segment integration"),n=(t,a)=>{if(!a)return t;t.event.userId||t.event.anonymousId===e.get_distinct_id()||(rx.info("No userId set, resetting PostHog"),e.reset()),t.event.userId&&t.event.userId!==e.get_distinct_id()&&(rx.info("UserId set, identifying with PostHog"),e.identify(t.event.userId));var n=e.calculateEventProperties(a,t.event.properties);return t.event.properties=Object.assign({},n,t.event.properties),t},{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:e=>n(e,e.event.event),page:e=>n(e,nl),identify:e=>n(e,nc),screen:e=>n(e,"$screen")})).then(()=>{t()})})}(this,()=>this.pn()):this.pn(),em(this.config._onCapture)&&this.config._onCapture!==ig&&(ai.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",e=>this.config._onCapture(e.event,e))),this.config.ip&&ai.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this.config.disableDeviceModel||(function(){return o3.apply(this,arguments)})().then(e=>{e&&this.register({[ap]:e})}).catch(ig),this}fn(e){var t,a,n,r,o,i,s,l,d=performance.now(),c=P({},iN.__defaultExtensionClasses,this.config.__extensionClasses),u=[];c.featureFlags&&this.Ki.push(this.featureFlags=null!=(t=this.featureFlags)?t:new c.featureFlags(this)),c.exceptions&&this.Ki.push(this.exceptions=null!=(a=this.exceptions)?a:new c.exceptions(this)),c.historyAutocapture&&this.Ki.push(this.historyAutocapture=new c.historyAutocapture(this)),c.tracingHeaders&&this.Ki.push(this.tracingHeaders=new c.tracingHeaders(this)),c.siteApps&&this.Ki.push(this.siteApps=new c.siteApps(this)),c.sessionRecording&&!e&&this.Ki.push(this.sessionRecording=new c.sessionRecording(this)),this.config.disable_scroll_properties||u.push(()=>{this.scrollManager.startMeasuringScrollPosition()}),c.autocapture&&this.Ki.push(this.autocapture=new c.autocapture(this)),c.surveys&&this.Ki.push(this.surveys=null!=(n=this.surveys)?n:new c.surveys(this)),c.logs&&this.Ki.push(this.logs=null!=(r=this.logs)?r:new c.logs(this)),c.metrics&&this.Ki.push(this.metrics=null!=(o=this.metrics)?o:new c.metrics(this)),c.conversations&&this.Ki.push(this.conversations=null!=(i=this.conversations)?i:new c.conversations(this)),c.productTours&&this.Ki.push(this.productTours=new c.productTours(this)),c.heatmaps&&this.Ki.push(this.heatmaps=new c.heatmaps(this)),c.webVitalsAutocapture&&this.Ki.push(this.webVitalsAutocapture=new c.webVitalsAutocapture(this)),c.exceptionObserver&&this.Ki.push(this.exceptionObserver=new c.exceptionObserver(this)),c.deadClicksAutocapture&&this.Ki.push(this.deadClicksAutocapture=new c.deadClicksAutocapture(this,rb)),c.toolbar&&this.Ki.push(this.toolbar=null!=(s=this.toolbar)?s:new c.toolbar(this)),c.experiments&&this.Ki.push(this.experiments=null!=(l=this.experiments)?l:new c.experiments(this)),this.Ki.forEach(e
1=>{e.initialize&&u.push(()=>{null==e.initialize||e.initialize()})}),u.push(()=>{if(this.gn){var e=this.gn;this.gn=void 0,this.Hr(e)}}),this.mn(u,d)}mn(e,t){for(;e.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-t>=30&&e.length>0)return void setTimeout(()=>{this.mn(e,t)},0);var a=e.shift();if(a)try{a()}catch(e){ai.error("Error initializing extension:",e)}}var n=Math.round(performance.now()-t);this.register_for_session({[a8]:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",[a9]:n}),this.config.__preview_deferred_init_extensions&&ai.info("PostHog extensions initialized ("+n+"ms)")}Hr(e){if(!C||!C.body)return ai.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout(()=>{this.Hr(e)},500);if(this.config.__preview_deferred_init_extensions&&(this.gn=e),this.yn=e,this.compression=void 0,e.ok){var t,a=e.config;a.supportedCompression&&!this.config.disable_compression&&(this.compression=eo(a.supportedCompression,r0)?r0:eo(a.supportedCompression,r1)?r1:void 0),null!=(t=a.analytics)&&t.endpoint&&(this.analyticsDefaultEndpoint=a.analytics.endpoint)}this.set_config({person_profiles:this.nn?this.nn:no}),this.Ki.forEach(t=>null==t.onRemoteConfig?void 0:t.onRemoteConfig(e))}pn(){try{this.config.loaded(this)}catch(e){ai.critical("`loaded` function failed",e)}if(this.bn(),this.config.internal_or_test_user_hostname&&null!=T&&T.hostname){var e=T.hostname,t=this.config.internal_or_test_user_hostname;("string"==typeof t?e===t:t.test(e))&&this.setInternalOrTestUser()}this.config.capture_pageview&&setTimeout(()=>{(this.consent.isOptedIn()||this.Yi())&&this._n()},1),this.wn=new ot(this),this.wn.load()}bn(){var e;this.is_capturing()&&this.config.request_batching&&(null==(e=this.dn)||e.enable())}_dom_loaded(){this.is_capturing()&&np(this.__request_queue,e=>this.cn(e)),this.__request_queue=[],this.bn()}_handle_unload(){var e,t,a,n,r;null==(e=this.surveys)||null==e.handlePageUnload||e.handlePageUnload(),null==(t=this.metrics)||t.flush("sendBeacon"),this.config.request_batching?(this.xn()&&this.capture(nd),null==(a=this.logs)||a.flushLogs("sendBeacon"),null==(n=this.dn)||n.unload(),null==(r=this.vn)||r.unload()):this.xn()&&this.capture(nd,null,{transport:"sendBeacon"})}_send_request(e){this.__loaded?iC?this.__request_queue.push(e):this.rateLimiter.isServerRateLimited(e.batchKey)?e.fireCallbackOnDrop&&(null==e.callback||e.callback({statusCode:429})):(e.transport=e.transport||this.config.api_transport,e.headers=P({},this.config.request_headers,e.headers),e.compression="best-available"===e.compression?this.compression:e.compression,(ef(this.config.disable_beacon)?this.config.__preview_disable_beacon:this.config.disable_beacon)&&(e.disableTransport=["sendBeacon"]),e.fetchOptions=e.fetchOptions||this.config.fetch_options,(e=>{var t,a,n,r,o,i=P({},e);i.timeout=i.timeout||6e4;var s,l,d,c,u,p=null!=(n=i.transport)?n:"fetch";"sendBeacon"===p&&ef(i.compression)&&i.data&&(i.compression=r1),"POST"===i.method&&i.data&&("capture-body"===i.timestampMode?i.data={api_key:null!=(l=null==(u=(c=ep(s=i.data)?s:[s])[0])||null==(d=u.properties)?void 0:d.token)?l:null==u?void 0:u.token,batch:c,sent_at:(new Date).toISOString()}:"body"===i.timestampMode&&(t=i.data,void 0===a&&(a=(new Date).toISOString()),i.data=ep(t)?t.map(e=>P({},e,{sent_at:a})):P({},t,{sent_at:a}))),i.url=oz(i.url,i.method,i.compression,i.timestampMode);var m=oV.filter(e=>!i.disableTransport||!e.transport||!i.disableTransport.includes(e.transport)),h=null!=(r=null==(o=function(e){for(var t=0;e.length>t;t++)if(e[t].transport===p)return e[t]}(m))?void 0:o.method)?r:m[0].method;if(!h)throw Error("No available transport method");"sendBeacon"!==p&&i.data&&i.compression===r0&&N&&"u">typeof Promise&&!oB?oF(i).then(e=>{h(e)}).catch(t=>{Q(t)?(oB=!0,h(P({},i,{compression:void 0,url:oz(e.url,e.method,void 0,e.timestampMode)}))):((e=>{if(!e||"object"!=typeof e)return!1;var t="name"in e?String(e.name):"";return Q(e)||t===J})(t)&&(oB=!0),h(i))}):h(i)})(P({},e,{callback:t=>{var a,n;this.rateLimiter.checkForLimiting(t),400>t.statusCode||null==(a=(n=this.config).on_request_error)||a.call(n,t),null==e.callback||e.callback(t)}}))):e.fireCallbackOnDrop&&(null==e.callback||e.callback({statusCode:0}))}
1cn(e){this.vn?this.vn.retriableRequest(e):this._send_request(e)}_execute_array(e){ih++;try{var t,a=[],n=[],r=[];np(e,e=>{if(e)if(ep(t=e[0]))r.push(e);else if(em(e))try{e.call(this)}catch(t){ai.error("Error executing queued PostHog call",e,t)}else ep(e)&&"alias"===t?a.push(e):ep(e)&&-1!==t.indexOf("capture")&&em(this[t])?r.push(e):n.push(e)});var o=function(e,t){np(e,function(e){try{if(ep(e[0])){var a=t;nm(e,function(e){a=a[e[0]].apply(a,e.slice(1))})}else t[e[0]].apply(t,e.slice(1))}catch(t){ai.error("Error executing queued PostHog call",e,t)}})};o(a,this),o(n,this),o(r,this)}finally{ih--}}push(e){if(ih>0&&ep(e)&&ev(e[0])){var t=iN.prototype[e[0]];em(t)&&t.apply(this,e.slice(1))}else this._execute_array([e])}capture(e,t,a){var n,r,o,i,s;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.dn){if(this.is_capturing())if(!ef(e)&&ev(e)){var l=!this.config.opt_out_useragent_filter&&this._is_bot();if(!l||this.config.__preview_capture_bot_pageviews){var d=null!=a&&a.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(null==d||!d.isRateLimited){null!=t&&t.$current_url&&!ev(null==t?void 0:t.$current_url)&&(ai.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),null==t||delete t.$current_url),"$exception"!==e||null!=a&&a.kn||ai.warn("Using `posthog.capture('$exception')` is unreliable because it does not attach required metadata. Use `posthog.captureException(error)` instead, which attaches required metadata automatically."),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var c,u,p,m,h=new Date,g=(null==a?void 0:a.timestamp)||h,f=tI(null==a?void 0:a.uuid,nM),v={uuid:f,event:e,properties:this.calculateEventProperties(e,t||{},g,f)};e===nl&&this.config.__preview_capture_bot_pageviews&&l&&(v.event="$bot_pageview",v.properties.$browser_type="bot"),d&&(v.properties.$lib_rate_limit_remaining_tokens=d.remainingTokens);var b="$feature_flag_called"===e&&!1===v.properties.$feature_flag_has_experiment&&!0===this.get_property(aD);(null==a?void 0:a.$set)&&!b&&(v.$set=null==a?void 0:a.$set);var y=null==a?void 0:a.$unset;y&&(v.$unset=y);var x,S,w,C=b?void 0:this.Sn(null==a?void 0:a.$set_once,e!==nu,e===nc);if(C&&(v.$set_once=C),null!=a&&a._noTruncate||(r=this.config.properties_string_max_length,o=v,i=e=>ev(e)?e.slice(0,r):e,s=new Set,v=function e(t,a){if(t!==Object(t))return i?i(t):t;if(!s.has(t)){var n;if(s.add(t),ep(t))n=[],np(t,t=>{n.push(e(t))});else{var r={};nm(t,(t,a)=>{s.has(t)||(r[a]=e(t,a))}),n=r}return n}}(o)),v.timestamp=g,ef(null==a?void 0:a.timestamp)||(v.properties.$event_time_override_provided=!0,v.properties.$event_time_override_system_time=h),b&&(v.properties=(c=v.properties,void 0===(u=iS)&&(u=[]),p={},m=e=>{void 0!==c[e]&&(p[e]=c[e])},z.forEach(m),u.forEach(m),p)),e===r4||e===r6){var T=null==t?void 0:t.$survey_id,$=null==t?void 0:t.$survey_iteration;is({id:T,current_iteration:$}),v.$set=P({},v.$set,{[(x={id:T,current_iteration:$},w="$survey_"+(S=e===r6?"responded":"dismissed")+"/"+x.id,x.current_iteration&&x.current_iteration>0&&(w="$survey_"+S+"/"+x.id+"/"+x.current_iteration),w)]:!0})}else e===r5&&(v.$set=P({},v.$set,{$survey_last_seen_date:(new Date).toISOString()}));if("product tour shown"===e){var E=null==t?void 0:t.$product_tour_type;E&&(v.$set=P({},v.$set,{["$product_tour_last_seen_date/"+E]:(new Date).toISOString()}))}var I=P({},v.properties.$set,v.$set);if(eg(I)||this.setPersonPropertiesForFlags(I),!ex(this.config.before_send)){var N=this.wt(v);if(!N)return;(v=N).uuid=tI(v.uuid,nM)}this.en.emit("eventCaptured",v);var _=null!=(n=null==a?void 0:a._url)?n:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),k={method:"POST",url:_,data:v,compression:"best-available",timestampMode:"recordings"===(null==a?void 0:a._batchKey)||/\/s\/(?:\?|$)/.test(_)?"body":"capture-body",batchKey:null==a?void 0:a._batchKey,transport:null==a?void 0:a.transport};return!this.config.request_batching||a&&(null==a||!a._batchKey)||null!=a&&a.send_instantly?this.cn(k):this.dn.enqueue(k),v}ai.critical("This capture call is ignored due to client rate limiting.")}}else ai.error("No event name provided to posthog.capture")}else ai.uninitializedWarning("posthog.capture")}_addCaptureHook(e){return this.on("eventCaptured",t=>e(t.event,t))}calculateEventProperties(e,t,a,n,r){if(a=a||new Date,!this.persistence||!this.sessionPersistence)return t;var o,i=r?void 0:this.persistence.remove_event_timer(e),s=P({},t);if(s.token=this.config.token,s.$config_defaults=this.config.defaults,this.Yi()&&(s[a6]=!0),"$snapshot"===e){var l=P({},this.persistence.properties(),this.sessionPersistence.properties());return s.distinct_id=l.distinct_id,(!ev(s.distinct_id)&&!eS(s.distinct_id)||eb(s.distinct_id))&&ai.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),s}var d,c=function(e,t,a,n){if(void 0===n&&(n=!1),!_)return{};var r,o,i,s,l,d=e?[...rL,...t||[]]:[],c=function(e){for(var t=0;tT.length>t;t++){var a=tT[t],n=a[1],r=a[0].exec(e),o=r&&(em(n)?n(r,e):n);if(o)return o}return["",""]}(_),u=c[0],p=c[1],m=null!=(l="u">typeof navigator?navigator:void 0)&&l.brave?{brave:!0}:{},h={};ef(a)||(h.detectGoogleSearchApp=a);var g={},f=null==(r=navigator)||null==(r=r.userAgentData)?void 0:r.platform,v=null==(o=navigator)?void 0:o.maxTouchPoints,b=null==x||null==(i=x.screen)?void 0:i.width,y=null==x||null==(s=x.screen)?void 0:s.height,S=null==x?void 0:x.devicePixelRatio;ef(f)||(g.userAgentDataPlatform=f),ef(v)||(g.maxTouchPoints=v),ef(b)||(g.screenWidth=b),ef(y)||(g.screenHeight=y),ef(S)||(g.devicePixelRatio=S);var w,C,$,E,I,N,k=nh(nb({$os:u,$os_version:p,$browser:tS(_,navigator.vendor,m,h),$device:t$(_),$device_type:(N=t$(_))===eL||N===eP||"Kobo"===N||"
1Kindle Fire"===N||N===tn?eB:N===e2||N===e5||N===e3||N===te?"Console":N===ej?"Wearable":N?eR:"Android"===(null==g?void 0:g.userAgentDataPlatform)&&(null!=(C=null==g?void 0:g.maxTouchPoints)?C:0)>0?600>Math.min(null!=($=null==g?void 0:g.screenWidth)?$:0,null!=(E=null==g?void 0:g.screenHeight)?E:0)/(null!=(I=null==g?void 0:g.devicePixelRatio)?I:1)?eR:eB:"Desktop",$timezone:rY(),$timezone_offset:function(){try{return(new Date).getTimezoneOffset()}catch(e){return}}()}),{$current_url:rA(n?tN(null==T?void 0:T.href):null==T?void 0:T.href,d,rj),$host:null==T?void 0:T.host,$pathname:null==T?void 0:T.pathname,$raw_user_agent:_.length>1e3?_.substring(0,997)+"...":_,$browser_version:tC(_,navigator.vendor,m,h),$browser_language:rK(),$browser_language_prefix:"string"==typeof(w=rK())?w.split("-")[0]:void 0,$screen_height:null==x?void 0:x.screen.height,$screen_width:null==x?void 0:x.screen.width,$viewport_height:null==x?void 0:x.innerHeight,$viewport_width:null==x?void 0:x.innerWidth,$lib:R.LIB_NAME,$lib_version:R.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3});return R.SDK_DIST_CHANNEL&&(k.$sdk_dist_channel=R.SDK_DIST_CHANNEL),k}(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties,this.config.detect_google_search_app,this.config.disable_capture_url_hashes);if(this.sessionManager){var u=this.sessionManager.checkAndGetSessionAndWindowId(r,a.getTime()),p=u.windowId;s.$session_id=u.sessionId,s.$window_id=p}this.sessionPropsManager&&nh(s,this.sessionPropsManager.getSessionProps());try{this.sessionRecording&&nh(s,this.sessionRecording.sdkDebugProperties),s.$sdk_debug_retry_queue_size=null==(o=this.vn)?void 0:o.length}catch(e){s.$sdk_debug_error_capturing_properties=String(e)}if(this.requestRouter.region===o7&&(s.$lib_custom_api_host=this.config.api_host),d=e!==nl||r?e!==nd||r?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(a):this.pageViewManager.doPageView(a,n),s=nh(s,d),e===nl&&C&&(s.title=C.title),!ef(i)){var m=a.getTime()-i;s.$duration=parseFloat((m/1e3).toFixed(3))}_&&this.config.opt_out_useragent_filter&&(s.$browser_type=this._is_bot()?"bot":"browser");var h=this.persistence.properties(),g=this.sessionPersistence.properties();nm(["$referrer","$referring_domain"],e=>{e in h&&delete g[e]}),(s=nh({},c,h,g,s)).$is_identified=this._isIdentified(),ep(this.config.property_denylist)?nm(this.config.property_denylist,function(e){delete s[e]}):ai.error(ix+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var f=this.config.sanitize_properties;f&&(ai.error(iy),s=f(s,e));var v=this.Cn();return s.$process_person_profile=v,v&&!r&&this.Tn("_calculate_event_properties"),s}Sn(e,t,a){if(void 0===t&&(t=!0),void 0===a&&(a=!1),!this.persistence||!this.Cn()||this.Xi&&!a)return e;var n,r=nh({},this.persistence.get_initial_props(),(null==(n=this.sessionPropsManager)?void 0:n.getSetOnceProps())||{},e||{}),o=this.config.sanitize_properties;return o&&(ai.error(iy),r=o(r,"$set_once")),t&&(this.Xi=!0),eg(r)?void 0:r}register(e,t){var a;null==(a=this.persistence)||a.register(e,t)}register_once(e,t,a){var n;null==(n=this.persistence)||n.register_once(e,t,a)}register_for_session(e){var t;null==(t=this.sessionPersistence)||t.register(e)}unregister(e){var t;null==(t=this.persistence)||t.unregister(e)}unregister_for_session(e){var t;null==(t=this.sessionPersistence)||t.unregister(e)}In(e,t){this.register({[e]:t})}getFeatureFlag(e,t){var a;return null==(a=this.featureFlags)?void 0:a.getFeatureFlag(e,t)}getFeatureFlagPayload(e){var t;return null==(t=this.featureFlags)?void 0:t.getFeatureFlagPayload(e)}getFeatureFlagResult(e,t){var a;return null==(a=this.featureFlags)?void 0:a.getFeatureFlagResult(e,t)}getAllFeatureFlags(){var e,t;return null!=(e=null==(t=this.featureFlags)?void 0:t.getAllFeatureFlags())?e:[]}isFeatureEnabled(e,t){var a,n;return null!=(a=null==(n=this.featureFlags)?void 0:n.isFeatureEnabled(e,t))?a:null==t?void 0:t.defaultValue}reloadFeatureFlags(){var e;null==(e=this.featureFlags)||e.reloadFeatureFlags()}updateFlags(e,t,a){var n;null==(n=this.featureFlags)||n.updateFlags(e,t,a)}updateEarlyAccessFeatureEnrollment(e,t,a){var n;null==(n=this.featureFlags)||n.updateEarlyAccessFeatureEnrollment(e,t,a)}getEarlyAccessFeatures(e,t,a){var n;return void 0===t&&(t=!1),null==(n=this.featureFlags)?void 0:n.getEarlyAccessFeatures(e,t,a)}on(e,t){return this.en.on(e,t)}onFeatureFlags(e){return this.featureFlags?this.featureFlags.onFeatureFlags(e):(e([],{},{errorsLoading:!0}),()=>{})}onSurveysLoaded(e){return this.surveys?this.surveys.onSurveysLoaded(e):(e([],{isLoaded:!1,error:ib}),()=>{})}onSessionId(e){var t,a;return null!=(t=null==(a=this.sessionManager)?void 0:a.onSessionId(e))?t:()=>{}}getSurveys(e,t){void 0===t&&(t=!1),this.surveys?this.surveys.getSurveys(e,t):e([],{isLoaded:!1,error:ib})}getActiveMatchingSurveys(e,t){void 0===t&&(t=!1),this.surveys?this.surveys.getActiveMatchingSurveys(e,t):e([],{isLoaded:!1,error:ib})}renderSurvey(e,t){var a;null==(a=this.surveys)||a.renderSurvey(e,t)}displaySurvey(e,t){var a;void 0===t&&(t=id),null==(a=this.surveys)||a.displaySurvey(e,t)}cancelPendingSurvey(e){var t;null==(t=this.surveys)||t.cancelPendingSurvey(e)}canRenderSurvey(e){var t,a;return null!=(t=null==(a=this.surveys)?void 0:a.canRenderSurvey(e))?t:{visible:!1,disabledReason:ib}}canRenderSurveyAsync(e,t){var a,n;return void 0===t&&(t=!1),null!=(a=null==(n=this.surveys)?void 0:n.canRenderSurveyAsync(e,t))?a:Promise.resolve({visible:!1,disabledReason:ib})}Mn(e){return!e||eb(e)?(ai.critical("Unique user id has not been set in posthog.identify"),!1):e===a4?(ai.critical('The string "'+e+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.'),!1):!["distinct_id","distinctid"].includes(e.toLowerCase())&&!["undefined","null"].includes(e.toLowerCase())||(ai.critical('The string "'+e+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and n
1ot a hardcoded string.'),!1)}identify(e,t,a){if(!this.__loaded||!this.persistence)return ai.uninitializedWarning("posthog.identify");if(eS(e)&&(e=e.toString(),ai.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),this.Mn(e)&&this.Tn("posthog.identify")){var n=this.get_distinct_id();this.register({$user_id:e}),this.get_property(au)||this.register_once({$had_persisted_distinct_id:!0,$device_id:n},""),e!==n&&e!==this.get_property(am)&&(this.unregister(am),this.register({distinct_id:e}));var r,o=(this.persistence.get_property(aX)||nn)===nn;e!==n&&o?(this.persistence.set_property(aX,nr),this.setPersonPropertiesForFlags({$set:t||{},$set_once:a||{}},!1),this.capture(nc,{distinct_id:e,$anon_distinct_id:n},{$set:t||{},$set_once:a||{}}),this.sn=o4(e,t,a),null==(r=this.featureFlags)||r.setAnonymousDistinctId(n)):(t||a)&&this.setPersonProperties(t,a),e!==n&&(this.reloadFeatureFlags(),this.unregister(aZ))}}setPersonProperties(e,t){if((e||t)&&this.Tn("posthog.setPersonProperties")){var a=o4(this.get_distinct_id(),e,t);this.sn!==a?(this.setPersonPropertiesForFlags({$set:e||{},$set_once:t||{}},!0),this.capture("$set",{$set:e||{},$set_once:t||{}}),this.sn=a):ai.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}unsetPersonProperties(e){var t,a=(ep(e)?e:[e]).filter(e=>ev(e)&&e.length>0);0!==a.length&&this.Tn("posthog.unsetPersonProperties")&&(null==(t=this.featureFlags)||t.unsetPersonPropertiesForFlags(a,!0),this.capture("$set",{$unset:a}),this.sn=null)}group(e,t,a){if(e&&t){var n=this.getGroups(),r=n[e]!==t;if(r&&this.resetGroupPropertiesForFlags(e),this.register({$groups:P({},n,{[e]:t})}),r||a){var o={$group_type:e,$group_key:t};a&&(o.$group_set=a),this.capture(nu,o)}a&&this.setGroupPropertiesForFlags({[e]:a}),r&&!a&&this.reloadFeatureFlags()}else ai.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(e,t){var a;void 0===t&&(t=!0),null==(a=this.featureFlags)||a.setPersonPropertiesForFlags(e,t)}resetPersonPropertiesForFlags(e){var t;void 0===e&&(e=!0),null==(t=this.featureFlags)||t.resetPersonPropertiesForFlags(e)}setGroupPropertiesForFlags(e,t){var a;void 0===t&&(t=!0),this.Tn("posthog.setGroupPropertiesForFlags")&&(null==(a=this.featureFlags)||a.setGroupPropertiesForFlags(e,t))}resetGroupPropertiesForFlags(e){var t;null==(t=this.featureFlags)||t.resetGroupPropertiesForFlags(e)}reset(e){if(ai.info("reset"),!this.__loaded)return ai.uninitializedWarning("posthog.reset");var t,a,n,r,o,i,s,l,d,c,u,p=this.get_property(au),m=this.get_property(ap),h=this.get_property(aT);if(this.consent.reset(),null==(t=this.persistence)||t.clear(),null==(a=this.sessionPersistence)||a.clear(),ef(h)||null==(u=this.persistence)||u.register({[aT]:h}),null==(n=this.surveys)||n.reset(),null==(r=this.wn)||r.stop(),null==(o=this.featureFlags)||o.reset(),null==(i=this.conversations)||i.reset(),null==(s=this.logs)||s.reset(),null==(l=this.metrics)||l.reset(),null==(d=this.persistence)||d.set_property(aX,nn),null==(c=this.sessionManager)||c.resetSessionId(),this.sn=null,this.config.cookieless_mode===na)this.register_once({distinct_id:a4,$device_id:null},"");else{var g=this.config.get_device_id(nM());this.register_once({distinct_id:g,$device_id:e?g:p},""),e||ef(m)||this.register({[ap]:m})}this.register({$last_posthog_reset:(new Date).toISOString()},1),delete this.config.identity_distinct_id,delete this.config.identity_hash,this.reloadFeatureFlags()}shutdown(e){var t=this;return B(function*(){var e,a,n,r,o;t.__loaded?(null==(e=t.logs)||e.flushLogs("sendBeacon"),null==(a=t.metrics)||a.flush("sendBeacon"),null==(n=t.dn)||n.unload(),null==(r=t.vn)||r.unload(),null==(o=t.featureFlags)||o.destroy()):ai.uninitializedWarning("posthog.shutdown")})()}setIdentity(e,t){var a;this.config.identity_distinct_id=e,this.config.identity_hash=t,this.alias(e),null==(a=this.conversations)||a.En()}clearIdentity(){var e;delete this.config.identity_distinct_id,delete this.config.identity_hash,null==(e=this.conversations)||e.Rn()}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var e,t;return null!=(e=null==(t=this.sessionManager)?void 0:t.checkAndGetSessionAndWindowId(!0).sessionId)?e:""}get_session_replay_url(e){if(!this.sessionManager)return"";var t=this.sessionManager.checkAndGetSessionAndWindowId(!0),a=t.sessionStartTimestamp,n=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+t.sessionId);if(null!=e&&e.withTimestamp&&a){var r,o=null!=(r=e.timestampLookBack)?r:10;if(!a)return n;n+="?t="+Math.max(Math.floor(((new Date).getTime()-a)/1e3)-o,0)}return n}alias(e,t){return e===this.get_property(ac)?(ai.critical("Attempting to create alias for existing People user - aborting."),-2):this.Tn("posthog.alias")?(ef(t)&&(t=this.get_distinct_id()),e!==t?(this.In(am,e),this.capture("$create_alias",{alias:e,distinct_id:t})):(ai.warn("alias matches current distinct_id - skipping api call."),this.identify(e),-1)):void 0}set_config(e){var t=P({},this.config);if(eh(e)){nh(this.config,iE(e));var a,n,r,o,i,s,l,d,c,u,p,m=this.hn();null==(a=this.persistence)||a.update_config(this.config,t,m),this.sessionPersistence="sessionStorage"===this.config.persistence||"memory"===this.config.persistence?this.persistence:new rQ(P({},this.config,{persistence:"sessionStorage"}),m,!1);var h=this.an(this.config.debug);eC(h)&&(this.config.debug=h),eC(this.config.debug)&&(this.config.debug?(R.DEBUG=!0,nL.N()&&nL.q("ph_debug",!0),ai.info("set_config",{config:e,oldConfig:t,newConfig:P({},this.config)})):(R.DEBUG=!1,nL.N()&&nL.P("ph_debug"))),null==(n=this.exceptionObserver)||n.onConfigChange(),null==(r=this.exceptions)||r.onConfigChange(),null==(o=this.sessionRecording)||o.startIfEnabledOrStop(),null==(i=this.tracingHeaders)||i.startIfEnabledOrStop(),null==(s=this.autocapture)||s.startIfEnabled(),null==(l=this.heatmaps)||l.startIfEnabled(),null==(d=this.exceptionObserver)||d.startIfEnabledOrStop(),null==(c=this.deadClicksAutocapture)||
1c.startIfEnabledOrStop(),null==(u=this.surveys)||u.loadIfEnabled(),this.Pn(),null==(p=this.externalIntegrations)||p.startIfEnabledOrStop()}}_overrideSDKInfo(e,t){R.LIB_NAME=e,R.LIB_VERSION=t}startSessionRecording(e){var t,a,n,r,o,i=!0===e,s={sampling:i||!(null==e||!e.sampling),linked_flag:i||!(null==e||!e.linked_flag),url_trigger:i||!(null==e||!e.url_trigger),event_trigger:i||!(null==e||!e.event_trigger)};Object.values(s).some(Boolean)&&(null==(t=this.sessionManager)||t.checkAndGetSessionAndWindowId(),s.sampling&&(null==(a=this.sessionRecording)||a.overrideSampling()),s.linked_flag&&(null==(n=this.sessionRecording)||n.overrideLinkedFlag()),s.url_trigger&&(null==(r=this.sessionRecording)||r.overrideTrigger("url")),s.event_trigger&&(null==(o=this.sessionRecording)||o.overrideTrigger("event"))),this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var e;return!(null==(e=this.sessionRecording)||!e.started)}captureException(e,t){if(this.exceptions){var a=Error("PostHog syntheticException"),n=this.exceptions.buildProperties(e,{handled:!0,syntheticException:a});return this.exceptions.sendExceptionEvent(P({},n,t))}}addExceptionStep(e,t){var a;null==(a=this.exceptions)||a.addExceptionStep(e,t)}captureLog(e){var t;null==(t=this.logs)||t.captureLog(e)}get logger(){var e,t;return null!=(e=null==(t=this.logs)?void 0:t.logger)?e:iN.On}startExceptionAutocapture(e){this.set_config({capture_exceptions:null==e||e})}stopExceptionAutocapture(){this.set_config({capture_exceptions:!1})}loadToolbar(e){var t,a;return null!=(t=null==(a=this.toolbar)?void 0:a.loadToolbar(e))&&t}get_property(e){var t;return null==(t=this.persistence)?void 0:t.props[e]}getSessionProperty(e){var t;return null==(t=this.sessionPersistence)?void 0:t.props[e]}toString(){var e,t=null!=(e=this.config.name)?e:iw;return t!==iw&&(t=iw+"."+t),t}_isIdentified(){var e,t;return(null==(e=this.persistence)?void 0:e.get_property(aX))===nr||(null==(t=this.sessionPersistence)?void 0:t.get_property(aX))===nr}Cn(){var e,t;return!("never"===this.config.person_profiles||this.config.person_profiles===no&&!this._isIdentified()&&eg(this.getGroups())&&(null==(e=this.persistence)||null==(e=e.props)||!e[am])&&(null==(t=this.persistence)||null==(t=t.props)||!t[a5]))}xn(){return!0===this.config.capture_pageleave||"if_capture_pageview"===this.config.capture_pageleave&&(!0===this.config.capture_pageview||"history_change"===this.config.capture_pageview)}createPersonProfile(){this.Cn()||this.Tn("posthog.createPersonProfile")&&this.setPersonProperties({},{})}setInternalOrTestUser(){this.Tn("posthog.setInternalOrTestUser")&&this.setPersonProperties({$internal_or_test_user:!0})}Tn(e){return"never"===this.config.person_profiles?(ai.error(e+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.In(a5,!0),!0)}hn(){if("always"===this.config.cookieless_mode)return!0;var e=this.consent.isOptedOut();return this.config.disable_persistence||e&&!(!this.config.opt_out_persistence_by_default&&this.config.cookieless_mode!==nt)}Pn(){var e,t,a,n,r=this.hn();return(null==(e=this.persistence)?void 0:e.yr)!==r&&(null==(a=this.persistence)||a.set_disabled(r)),(null==(t=this.sessionPersistence)?void 0:t.yr)!==r&&(null==(n=this.sessionPersistence)||n.set_disabled(r)),r}opt_in_capturing(e){var t;if(this.config.cookieless_mode!==na){if(this.Yi()){this.reset(!0),null==(r=this.sessionManager)||r.destroy(),null==(o=this.pageViewManager)||o.destroy(),this.sessionManager=new o1(this),this.pageViewManager=new rT(this),this.persistence&&(this.sessionPropsManager=new oX(this,this.sessionManager,this.persistence));var a,n,r,o,i,s,l,d,c=null!=(i=null==(s=this.config.__extensionClasses)?void 0:s.sessionRecording)?i:null==(l=iN.__defaultExtensionClasses)?void 0:l.sessionRecording;c&&(this.sessionRecording=this.Ji(this.sessionRecording,new c(this)),this.yn&&(null==(d=this.sessionRecording)||null==d.onRemoteConfig||d.onRemoteConfig(this.yn)))}this.consent.optInOut(!0),this.Pn(),this.bn(),null==(t=this.sessionRecording)||t.startIfEnabledOrStop(),this.config.cookieless_mode==nt&&(null==(a=this.surveys)||a.loadIfEnabled()),(ef(null==e?void 0:e.captureEventName)||null!=e&&e.captureEventName)&&this.capture(null!=(n=null==e?void 0:e.captureEventName)?n:"$opt_in",null==e?void 0:e.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this._n()}else ai.warn(iv)}opt_out_capturing(){var e,t,a;this.config.cookieless_mode!==na?(this.config.cookieless_mode===nt&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.Pn(),this.config.cookieless_mode===nt&&(this.register({distinct_id:a4,$device_id:null}),null==(e=this.sessionRecording)||e.stopRecording(),this.sessionRecording=void 0,null==(t=this.sessionManager)||t.destroy(),null==(a=this.pageViewM
1anager)||a.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,this.config.capture_pageview&&this._n(),this.bn())):ai.warn(iv)}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var e=this.consent.consent;return 1===e?"granted":0===e?"denied":"pending"}is_capturing(){return this.config.cookieless_mode===na||(this.config.cookieless_mode===nt?this.consent.isRejected()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.Pn()}_is_bot(){return w?o2(w,this.config.custom_blocked_useragents):void 0}_n(){C&&("visible"===C.visibilityState?this.tn||(this.tn=!0,this.capture(nl,{title:C.title},{send_instantly:!0}),this.rn&&(C.removeEventListener(ni,this.rn),this.rn=null)):this.rn||(this.rn=this._n.bind(this),nx(C,ni,this.rn)))}debug(e){!1===e?(null==x||x.console.log("You've disabled debug mode."),this.set_config({debug:!1})):(null==x||x.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),this.set_config({debug:!0}))}Ur(){var e,t,a,n,r=this.ln||{};return"advanced_disable_flags"in r?!!r.advanced_disable_flags:!1!==this.config.advanced_disable_flags?!!this.config.advanced_disable_flags:!0===this.config.advanced_disable_decide?(ai.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(t="advanced_disable_decide",a=(e="advanced_disable_flags")in r&&!ex(r[e]),n=t in r&&!ex(r[t]),a?r[e]:!!n&&(ai&&ai.warn("Config field '"+t+"' is deprecated. Please use '"+e+"' instead. The old field will be removed in a future major version."),r[t]))}wt(e){if(ex(this.config.before_send))return e;var t,a=Object.keys(null!=(t=e.properties)?t:{}).filter(e$),n=ep(this.config.before_send)?this.config.before_send:[this.config.before_send],r=e;for(var o of n){if(ex(r=o(r))){var i="Event '"+e.event+"' was rejected in beforeSend function";return eT(e.event)?ai.warn(i+". This can cause unexpected behavior."):ai.info(i),null}r.properties&&!eg(r.properties)||ai.warn("Event '"+e.event+"' has no properties after beforeSend function, this is likely an error.")}for(var s of a)if(r.properties&&ex(r.properties[s]))return ai.warn("Event '"+e.event+"' had its '"+s+"' property removed in a beforeSend function. This property is required for ingestion, so the event will be dropped."),null;return r}getPageViewId(){var e;return null==(e=this.pageViewManager.ir)?void 0:e.pageViewId}captureTraceFeedback(e,t){this.capture("$ai_feedback",{$ai_trace_id:String(e),$ai_feedback_text:t})}captureTraceMetric(e,t,a){this.capture("$ai_metric",{$ai_trace_id:String(e),$ai_metric_name:t,$ai_metric_value:String(a)})}an(e){var t=eC(e)&&!e,a=nL.N()&&"true"===nL.A("ph_debug");return!t&&(!!a||e)}}iN.__defaultExtensionClasses={},iN.On={trace:hD=()=>{},debug:hD,info:hD,warn:hD,error:hD,fatal:hD},function(e,t){for(var a=0;t.length>a;a++)e.prototype[t[a]]=nv(e.prototype[t[a]])}(iN,["identify"]);class i_{constructor(e){this.disabled=!1===e;var t=eh(e)?e:{};this.thresholdPx=t.threshold_px||30,this.timeoutMs=t.timeout_ms||1e3,this.clickCount=t.click_count||3,this.clicks=[]}isRageClick(e,t,a){if(this.disabled)return!1;var n=this.clicks[this.clicks.length-1];if(n&&Math.abs(e-n.x)+Math.abs(t-n.y)<this.thresholdPx&&this.timeoutMs>a-n.timestamp){if(this.clicks.push({x:e,y:t,timestamp:a}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:e,y:t,timestamp:a}];return!1}}var ik="$copy_autocapture",iM=as("[AutoCapture]");function iA(e,t){return t.length>e?t.slice(0,e)+"...":t}var iR=as("[ExceptionAutocapture]"),iO=()=>{},iB=as("[TracingHeaders]"),iP=as("[Web Vitals]"),iL="disabled",iD="lazy_loading",ij="awaiting_config",iG="missing_config";as("[SessionRecording]"),as("[SessionRecording]");var iF="[SessionRecording]",iH=as(iF),iU=as("[Heatmaps]");function iK(e){return eh(e)&&"clientX"in e&&"clientY"in e&&eS(e.clientX)&&eS(e.clientY)}var iz=as("[Product Tours]"),iV=e=>{var t;return!e.config.disable_product_tours&&!(null==(t=e.persistence)||!t.get_property(aw))},iW=["$set_once","$set"],iZ=as("[SiteApps]"),iY="Error while initializing PostHog app with config id ";function iJ(e,t,a){if(ex(e))return!1;switch(a){case"exact":return e===t;case"contains":return RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*"),"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch(e){return!1}default:return!1}}class iq{constructor(e){this.Fn=new oQ,this.Ln=(e,t)=>this.$n(e,t)&&this.An(e,t)&&this.Nn(e,t)&&this.Dn(e,t),this.$n=(e,t)=>null==t||!t.event||(null==e?void 0:e.event)===(null==t?void 0:t.event),this._instance=e,this.qn=new Set,this.jn=new Set}init(){var e,t;ef(null==(e=this._instance)?void 0:e._addCaptureHook)||null==(t=this._instance)||t._addCaptureHook((e,t)=>{this.on(e,t)})}register(e){var t,a;if(!ef(null==(t=this._instance)?void 0:t._addCaptureHook)&&(e.forEach(e
1=>{var t,a;null==(t=this.jn)||t.add(e),null==(a=e.steps)||a.forEach(e=>{var t;null==(t=this.qn)||t.add((null==e?void 0:e.event)||"")})}),null!=(a=this._instance)&&a.autocapture)){var n,r=new Set;e.forEach(e=>{var t;null==(t=e.steps)||t.forEach(e=>{null!=e&&e.selector&&r.add(null==e?void 0:e.selector)})}),null==(n=this._instance)||n.autocapture.setElementSelectors(r)}}on(e,t){var a;null!=t&&0!=e.length&&(this.qn.has(e)||this.qn.has(t.event))&&this.jn&&(null==(a=this.jn)?void 0:a.size)>0&&this.jn.forEach(e=>{this.Hn(t,e)&&this.Fn.emit("actionCaptured",e.name)})}Bn(e){this.onAction("actionCaptured",t=>e(t))}Hn(e,t){if(null==(null==t?void 0:t.steps))return!1;for(var a of t.steps)if(this.Ln(e,a))return!0;return!1}onAction(e,t){return this.Fn.on(e,t)}An(e,t){if(null!=t&&t.url){var a,n=null==e||null==(a=e.properties)?void 0:a.$current_url;if(!n||"string"!=typeof n||!iJ(n,t.url,t.url_matching||"contains"))return!1}return!0}Nn(e,t){return!!this.Un(e,t)&&!!this.zn(e,t)&&!!this.Vn(e,t)}Un(e,t){if(null==t||!t.href)return!0;var a=this.Wn(e);if(a.length>0)return a.some(e=>iJ(e.href,t.href,t.href_matching||"exact"));var n,r,o=(null==e||null==(n=e.properties)?void 0:n.$elements_chain)||"";return!!o&&iJ((r=o.match(/(?::|")href="(.*?)"/))?r[1]:"",t.href,t.href_matching||"exact")}zn(e,t){if(null==t||!t.text)return!0;var a=this.Wn(e);if(a.length>0)return a.some(e=>iJ(e.text,t.text,t.text_matching||"exact")||iJ(e.$el_text,t.text,t.text_matching||"exact"));var n,r,o,i,s=(null==e||null==(n=e.properties)?void 0:n.$elements_chain)||"";return!!s&&(r=function(e){for(var t,a=[],n=/(?::|")text="(.*?)"/g;!ex(t=n.exec(e));)a.includes(t[1])||a.push(t[1]);return a}(s),o=t.text,i=t.text_matching||"exact",r.some(e=>iJ(e,o,i)))}Vn(e,t){if(null==t||!t.selector)return!0;var a,n,r=null==e||null==(a=e.properties)?void 0:a.$element_selectors;if(null!=r&&r.includes(t.selector))return!0;var o=(null==e||null==(n=e.properties)?void 0:n.$elements_chain)||"";if(t.selector_regex&&o)try{return new RegExp(t.selector_regex).test(o)}catch(e){}return!1}Wn(e){var t;return null==(null==e||null==(t=e.properties)?void 0:t.$elements)?[]:null==e?void 0:e.properties.$elements}Dn(e,t){return null==t||!t.properties||0===t.properties.length||o9(t.properties.reduce((e,t)=>{var a=ep(t.value)?t.value.map(String):null!=t.value?[String(t.value)]:[];return e[t.key]={values:a,operator:t.operator||"exact"},e},{}),null==e?void 0:e.properties)}}class iX{constructor(e){var t;this.Zn=[],this._instance=e,this.Gn=new Map,this.Qn=new Map,this.Jn=new Map,null==(t=this._instance)||null==t.onSessionId||t.onSessionId(e=>this.Kn(e))}Yn(e,t){return!!e&&o9(e.propertyFilters,null==t?void 0:t.properties)}Xn(e,t){var a=new Map;return e.forEach(e=>{var n;null==(n=e.conditions)||null==(n=n[t])||null==(n=n.values)||n.forEach(t=>{if(null!=t&&t.name){var n=a.get(t.name)||[];n.push(e.id),a.set(t.name,n)}})}),a}es(e,t,a){var n=(a===r2?this.Gn:this.Qn).get(e),r=[];return this.ts(e=>{r=e.filter(e=>null==n?void 0:n.includes(e.id))}),r.filter(n=>{var r,o=null==(r=n.conditions)||null==(r=r[a])||null==(r=r.values)?void 0:r.find(t=>t.name===e);return this.Yn(o,t)})}register(e){var t;ef(null==(t=this._instance)?void 0:t._addCaptureHook)||(this.rs(e),this.ns(e))}ns(e){var t=e.filter(e=>{var t,a;return(null==(t=e.conditions)?void 0:t.actions)&&(null==(a=e.conditions)||null==(a=a.actions)||null==(a=a.values)?void 0:a.length)>0});0!==t.length&&(null==this.ss&&(this.ss=new iq(this._instance),this.ss.init(),this.ss.Bn(e=>{this.onAction(e)})),t.forEach(e=>{var t,a,n,r,o;e.conditions&&null!=(t=e.conditions)&&t.actions&&null!=(a=e.conditions)&&null!=(a=a.actions)&&a.values&&(null==(n=e.conditions)||null==(n=n.actions)||null==(n=n.values)?void 0:n.length)>0&&(null==(r=this.ss)||r.register(e.conditions.actions.values),null==(o=e.conditions)||null==(o=o.actions)||null==(o=o.values)||o.forEach(t=>{if(t&&t.name){var a=this.Jn.get(t.name);a&&a.push(e.id),this.Jn.set(t.name,a||[e.id])}}))}))}rs(e){var t,a=e.filter(e=>{var t,a;return(null==(t=e.conditions)?void 0:t.events)&&(null==(a=e.conditions)||null==(a=a.events)||null==(a=a.values)?void 0:a.length)>0}),n=e.filter(e=>{var t,a;return(null==(t=e.conditions)?void 0:t.cancelEvents)&&(null==(a=e.conditions)||null==(a=a.cancelEvents)||null==(a=a.values)?void 0:a.length)>0});0===a.length&&0===n.length||(null==(t=this._instance)||t._addCaptureHook((e,t)=>{this.onEvent(e,t)}),this.Gn=this.Xn(e,r2),this.Qn=this.Xn(e,r3))}onEvent(e,t){var a,n,r=this.os(),o=(null==t||null==(a=t.properties)?void 0:a.$survey_id)||(null==t||null==(n=t.properties)?void 0:n.$product_tour_id);if(o&&this.getActivatedIds().includes(o)){var i=this.ls(e,o);if("consume"===i)return r.info("event consumed activated item, remov
1ing it",{event:e,itemId:o}),void this.us([o]);if("persist"===i)return r.info("shown item promoted to persisted activation",{event:e,itemId:o}),void this.hs(o)}if(this.Qn.has(e)){var s=this.es(e,t,r3);s.length>0&&(r.info("cancel event matched, cancelling items",{event:e,itemsToCancel:s.map(e=>e.id)}),this.us(s.map(e=>e.id)),s.forEach(e=>this.ds(e.id)))}if(this.Gn.has(e)){r.info("event name matched",{event:e,eventPayload:t,items:this.Gn.get(e)});var l=this.es(e,t,r2);this.cs(l.map(e=>e.id))}}onAction(e){this.Jn.has(e)&&this.cs(this.Jn.get(e)||[])}cs(e){0!==e.length&&(this.Zn=[...new Set([...this.Zn,...e])],this.os().info("updating activated items",{activatedItems:this.getActivatedIds()}))}hs(e){this.Zn=this.Zn.filter(t=>t!==e);var t=this.vs();t.includes(e)||(this.fs([...t,e]),this.ps())}us(e){var t=new Set(e);this.Zn=this.Zn.filter(e=>!t.has(e));var a=this.gs(),n=a.filter(e=>!t.has(e));n.length!==a.length&&(this.fs(n),0===n.length&&this.ys())}gs(){var e,t=this.bs();return(null==(e=this._instance)||null==(e=e.persistence)?void 0:e.props[t])||[]}vs(){var e,t,a=this.gs();if(0===a.length)return[];var n=null==(e=this._instance)||null==(e=e.persistence)?void 0:e.props[this._s()],r=null==(t=this._instance)||null==t.get_session_id?void 0:t.get_session_id();return r&&n===r?a:[]}ps(){var e,t=null==(e=this._instance)||null==e.get_session_id?void 0:e.get_session_id();t&&this.ws(t)}ys(){this.xs()}Kn(e){var t,a=null==(t=this._instance)||null==(t=t.persistence)?void 0:t.props[this._s()];a&&a!==e&&(this.gs().length>0&&this.fs([]),this.ys())}getActivatedIds(){return[...new Set([...this.vs(),...this.Zn])].filter(e=>!this.ks(e))}reset(){this.Zn=[],this.gs().length>0&&this.fs([]),this.ys()}getEventToItemsMap(){return this.Gn}Ss(){return this.ss}}class iQ extends iX{constructor(e){super(e)}bs(){return az}_s(){return aV}Cs(){return r5}ts(e){var t;null==(t=this._instance)||t.getSurveys(e)}ds(e){var t;null==(t=this._instance)||t.cancelPendingSurvey(e)}os(){return io}fs(e){var t;null==(t=this._instance)||null==(t=t.persistence)||t.register({[az]:e})}ws(e){var t;null==(t=this._instance)||null==(t=t.persistence)||t.register({[aV]:e})}xs(){var e;null==(e=this._instance)||null==(e=e.persistence)||e.unregister(aV)}ks(){return!1}ls(e,t){var a,n,r;return this.ts(e=>{r=e.find(e=>e.id===t)}),!r||ir(a=r)&&!(null==(n=a.conditions)||null==(n=n.events)||!n.repeatedActivation)||"always"===a.schedule?e===r5?"consume":"ignore":e===r5?"persist":e===r4||e===r6?"consume":"ignore"}getSurveys(){return this.getActivatedIds()}getEventToSurveys(){return this.getEventToItemsMap()}}var i0="SDK is not enabled or survey functionality is not yet loaded",i1="Disabled. Not loading surveys.",i2=null!=x&&x.location?rR(x.location.hash,"__posthog")||rR(location.hash,"state"):null,i3="_postHogToolbarParams",i5=as("[Toolbar]"),i4=as("[FeatureFlags]"),i6=as("[FeatureFlags]",{debugEnabled:!0}),i8="\" failed. Feature flags didn't load in time.",i9=e=>{for(var t={},a=0;e.length>a;a++)t[e[a]]=!0;return t},i7=e=>{var t={};for(var a of ng(e||{})){var n=a[1];n&&(t[a[0]]=n)}return t},se=as("[Error tracking]"),st="Refusing to render web experiment since the viewer is a likely bot",sa={icontains:(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>-1===t.toLowerCase().indexOf(e.toLowerCase()),regex:(e,t)=>o5(t,e),not_regex:(e,t)=>!o5(t,e),exact:(e,t)=>t===e,is_not:(e,t)=>t!==e};class sn{get Te(){return this._instance.config}constructor(e){var t=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(e){void 0===e&&(e=!1),t.getWebExperiments(e=>{sn.Ts("retrieved web experiments from the server"),t.Is=new Map,e.forEach(e=>{if(e.feature_flag_key){t.Is&&(sn.Ts("setting flag key ",e.feature_flag_key," to web experiment ",e),null==(a=t.Is)||a.set(e.feature_flag_key,e));var a,n=t._instance.getFeatureFlag(e.feature_flag_key);ev(n)&&e.variants[n]&&t.Ms(e.name,n,e.variants[n].transforms)}else if(e.variants)for(var r in e.variants){var o=e.variants[r];sn.Es(o,t._instance)&&t.Ms(e.name,r,o.transforms)}})},e)},this._instance=e,this._instance.onFeatureFlags(e=>{this.onFeatureFlags(e)})}initialize(){}onFeatureFlags(e){if(this._is_bot())sn.Ts(st);else if(!this.Te.disable_web_experiments){if(ex(this.Is))return this.Is=new Map,this.loadIfEnabled(),void this.previewWebExperiment();
vendor: 1,546 bytes, line 1
1sn.Ts("applying feature flags",e),e.forEach(e=>{var t;if(this.Is&&null!=(t=this.Is)&&t.has(e)){var a,n=this._instance.getFeatureFlag(e),r=null==(a=this.Is)?void 0:a.get(e);n&&null!=r&&r.variants[n]&&this.Ms(r.name,n,r.variants[n].transforms)}})}}previewWebExperiment(){var e=sn.getWindowLocation();if(null!=e&&e.search){var t=rM(null==e?void 0:e.search,"__experiment_id"),a=rM(null==e?void 0:e.search,"__experiment_variant");t&&a&&(sn.Ts("previewing web experiments "+t+" && "+a),this.getWebExperiments(e=>{this.Rs(parseInt(t),a,e)},!1,!0))}}loadIfEnabled(){this.Te.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(e,t,a){if(this.Te.disable_web_experiments&&!a)return e([]);var n=this._instance.get_property("$web_experiments");if(n&&!t)return e(n);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this.Te.token),method:"GET",timestampMode:"query",callback:t=>e(200===t.statusCode&&t.json&&t.json.experiments||[])})}Rs(e,t,a){var n=a.filter(t=>t.id===e);n&&n.length>0&&(sn.Ts("Previewing web experiment ["+n[0].name+"] with variant ["+t+"]"),this.Ms(n[0].name,t,n[0].variants[t].transforms))}static Es(e,t){return!ex(e.conditions)&&sn.Ps(e,t)&&sn.Os(e)}static Ps(e,t){if(ex(e.conditions)||ex(null==(n=e.conditions)?void 0:n.url))return!0;var a=sn.getWindowLocation();if(a){var n,r,o,i,s=nK(t,a.href);return null==(r=e.conditions)||!r.url||sa[null!=(o=null==(i=e.conditions)?void 0:i.urlMatchType)?o:"icontains"](e.conditions.url,s)}return!1}
1static getWindowLocation(){return null==x?void 0:x.location}static Os(e){if(ex(e.conditions)||ex(null==(a=e.conditions)?void 0:a.utm))return!0;var t=rF();if(t.utm_source){var a,n,r,o,i,s,l,d,c,u=null==(n=e.conditions)||null==(n=n.utm)||!n.utm_campaign||(null==(r=e.conditions)||null==(r=r.utm)?void 0:r.utm_campaign)==t.utm_campaign,p=null==(o=e.conditions)||null==(o=o.utm)||!o.utm_source||(null==(i=e.conditions)||null==(i=i.utm)?void 0:i.utm_source)==t.utm_source,m=null==(s=e.conditions)||null==(s=s.utm)||!s.utm_medium||(null==(l=e.conditions)||null==(l=l.utm)?void 0:l.utm_medium)==t.utm_medium,h=null==(d=e.conditions)||null==(d=d.utm)||!d.utm_term||(null==(c=e.conditions)||null==(c=c.utm)?void 0:c.utm_term)==t.utm_term;return u&&m&&h&&p}return!1}static Ts(e){for(var t=arguments.length,a=Array(t>1?t-1:0),n=1;t>n;n++)a[n-1]=arguments[n];ai.info("[WebExperiments] "+e,a)}Ms(e,t,a){this._is_bot()?sn.Ts(st):"control"!==t?a.forEach(a=>{if(a.selector){sn.Ts("applying transform of variant "+t+" for experiment "+e+" ",a);var n,r=null==(n=document)?void 0:n.querySelectorAll(a.selector);null==r||r.forEach(e=>{a.html&&(e.innerHTML=a.html),a.css&&e.setAttribute("style",a.css)})}}):sn.Ts("Control variants leave the page unmodified.")}_is_bot(){return w&&this._instance?o2(w,this.Te.custom_blocked_useragents):void 0}}var sr=as("[Conversations]"),so="Conversations not available yet.",si="console",ss={featureFlags:class{constructor(e){this.Fs=!1,this.Ls=!1,this.$s=!1,this.As=!1,this.Ns=!1,this.Ds=!1,this.qs=!1,this.js=!1,this.Hs=0,this.Bs=()=>{var e=this.Us();this.Hs=0,e&&this.reloadFeatureFlags()},this._instance=e,this.featureFlagEventHandlers=[],x&&nx(x,"online",this.Bs)}destroy(){null==x||x.removeEventListener("online",this.Bs)}get Te(){return this._instance.config}get mi(){return this._instance.persistence}zs(e){return this._instance.get_property(e)}Vs(){var e,t;return null!=(e=null==(t=this.mi)?void 0:t._r(this.Te.feature_flag_cache_ttl_ms))&&e}Ws(){return!!this.Vs()&&(this.js||this.$s||(this.js=!0,i4.warn("Feature flag cache is stale, triggering refresh..."),this.reloadFeatureFlags()),!0)}Zs(){var e,t=null!=(e=this.Te.evaluation_contexts)?e:this.Te.evaluation_environments;return!this.Te.evaluation_environments||this.Te.evaluation_contexts||this.qs||(i4.warn("evaluation_environments is deprecated. Use evaluation_contexts instead. evaluation_environments will be removed in a future version."),this.qs=!0),null!=t&&t.length?t.filter(e=>{var t=e&&"string"==typeof e&&e.trim().length>0;return t||i4.error("Invalid evaluation context found:",e,"Expected non-empty string"),t}):[]}Gs(){return this.Zs().length>0}Qs(){var e=this.Te.flag_keys;if(!ef(e)){if(ep(e))return e.filter(e=>{var t=e&&"string"==typeof e&&e.trim().length>0;return t||i4.error("Invalid flag key found:",e,"Expected non-empty string"),t});i4.error("Invalid flag_keys found:",e,"Expected array of non-empty strings")}}initialize(){var e,t,a=this._instance.config,n=null!=(e=null==(t=a.bootstrap)?void 0:t.featureFlags)?e:{};if(Object.keys(n).length){var r,o,i=null!=(r=null==(o=a.bootstrap)?void 0:o.featureFlagPayloads)?r:{},s=Object.keys(n).filter(e=>!!n[e]).reduce((e,t)=>(e[t]=n[t]||!1,e),{}),l=Object.keys(i).filter(e=>s[e]).reduce((e,t)=>(i[t]&&(e[t]=i[t]),e),{});this.receivedFeatureFlags({featureFlags:s,featureFlagPayloads:l})}}updateFlags(e,t,a){var n,r,o=null!=a&&a.merge&&null!=(n=this.zs(aA))?n:{},i=null!=a&&a.merge&&null!=(r=this.zs(aP))?r:{},s=P({},o,e),l=P({},i,t),d={};for(var c of Object.entries(s)){var u=c[0],p=c[1];d[u]={key:u,enabled:j(p),variant:G(p),reason:void 0,metadata:ef(null==l?void 0:l[u])?void 0:{id:0,version:void 0,description:void 0,payload:l[u]}}}this.receivedFeatureFlags({flags:d})}get hasLoadedFlags(){return this.Ls}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this.zs(aB),t=this.zs(aj),a=this.zs(aG);if(!a&&!t)return e||{};var n=nh({},e||{});for(var r of[...new Set([...Object.keys(a||{}),...Object.keys(t||{})])]){var o,i,s=n[r],l=null==t?void 0:t[r],d=ef(l)?null!=(o=null==s?void 0:s.enabled)&&o:!!l,c=ef(l)?s.variant:"string"==typeof l?l:void 0,u=null==a?void 0:a[r],p=P({},s,{enabled:d,variant:d?null!=c?c:null==s?void 0:s.variant:void 0});d!==(null==s?void 0:s.enabled)&&(p.original_enabled=null==s?void 0:s.enabled),c!==(null==s?void 0:s.variant)&&(p.original_variant=null==s?void 0:s.variant),u&&(p.metadata=P({},null==s?void 0:s.metadata,{payload:u,original_payload:null==s||null==(i=s.metadata)?void 0:i.payload})),n[r]=p}return this.Fs||(i4.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:a,finalDetails:n}),this.Fs=!0),n}getAllFeatureFlags(){var e=this.getFlagVariants(),t=this.getFlagPayloads();return Object.keys(e).map(a=>{var n=e[a];
1return{key:a,enabled:j(n),variant:G(n),payload:D(t[a])}})}getFlagVariants(){var e=this.zs(aA),t=this.zs(aj);if(!t)return e||{};for(var a=nh({},e),n=Object.keys(t),r=0;n.length>r;r++)a[n[r]]=t[n[r]];return this.Fs||(i4.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:a}),this.Fs=!0),a}getFlagPayloads(){var e=this.zs(aP),t=this.zs(aG);if(!t)return e||{};for(var a=nh({},e||{}),n=Object.keys(t),r=0;n.length>r;r++)a[n[r]]=t[n[r]];return this.Fs||(i4.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:a}),this.Fs=!0),a}reloadFeatureFlags(){this.As||this.Te.advanced_disable_feature_flags||this.Us()||this.Js||(this._instance.en.emit("featureFlagsReloading",!0),this.Js=setTimeout(()=>{this.Ks()},5))}Ys(){clearTimeout(this.Js),this.Js=void 0}ensureFlagsLoaded(){this.Ls||this.$s||this.Js||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.As=e}Ks(e){var t;if(this.Ys(),!this._instance.Ur()&&!this.Us())if(this.$s)this.Ns=!0;else{var a=this.Te.token,n=this.zs(au),r={token:a,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:P({},(null==(t=this.mi)?void 0:t.get_initial_props())||{},this.zs(aF)||{},{$lib:R.LIB_NAME,$lib_version:R.LIB_VERSION}),group_properties:this.zs(aH),timezone:rY()};ey(n)||ef(n)||(r.$device_id=n),(null!=e&&e.disableFlags||this.Te.advanced_disable_feature_flags)&&(r.disable_flags=!0),this.Gs()&&(r.evaluation_contexts=this.Zs());var o=this.Qs();ef(o)||(r.flag_keys=o);var i=!!this.Te.advanced_only_evaluate_survey_feature_flags,s=this._instance.requestRouter.endpointFor("flags","/flags/?v=2"+(this.Te.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":""));this.$s=!0,this._instance._send_request({method:"POST",url:s,data:r,compression:this.Te.disable_compression?void 0:r1,timestampMode:"body",timeout:this.Te.feature_flag_request_timeout_ms,callback:e=>{var t,a,n,o=!0;if(this.Xs(e.statusCode),200===e.statusCode&&(this.Ns||(this.$anon_distinct_id=void 0),o=!1),this.$s=!1,!r.disable_flags||this.Ns){this.Ds=!o;var s=[];e.error?e.error instanceof Error?s.push("AbortError"===e.error.name?"timeout":"connection_error"):s.push("unknown_error"):200!==e.statusCode&&s.push("api_error_"+e.statusCode),null!=(t=e.json)&&t.errorsWhileComputingFlags&&s.push("errors_while_computing_flags");var l,d=!(null==(a=e.json)||null==(a=a.quotaLimited)||!a.includes("feature_flags"));(d&&s.push("quota_limited"),null==(n=this.mi)||n.register({[aJ]:s}),d)?i4.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset.  Please visit https://posthog.com/docs/billing/limits-alerts to learn more."):(r.disable_flags||this.receivedFeatureFlags(null!=(l=e.json)?l:{},o,{partialResponse:i}),this.Ns&&(this.Ns=!1,this.Ks()))}}})}}Us(){return rO(this.Hs,3)}Xs(e){this.Hs=rB(e,this.Hs,3,()=>i4.warn("Feature flag requests are failing before receiving an HTTP response; this can happen due to network issues, CORS, browser blocking, or ad blockers. Stopped refreshing feature flags; will try again when connectivity changes."))}getFeatureFlag(e,t){var a;if(void 0===t&&(t={}),!t.fresh||this.Ds)if(this.Ls||this.getFlags()&&this.getFlags().length>0){if(!this.Ws()){var n=this.getFeatureFlagResult(e,t);return null!=(a=null==n?void 0:n.variant)?a:null==n?void 0:n.enabled}}else i4.warn('getFeatureFlag for key "'+e+i8)}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){var t=this.getFeatureFlagResult(e,{send_event:!1});return null==t?void 0:t.payload}getFeatureFlagResult(e,t){if(void 0===t&&(t={}),!t.fresh||this.Ds)if(this.Ls||this.getFlags()&&this.getFlags().length>0){if(!this.Ws()){var a=this.getFlagVariants(),n=e in a,r=a[e],o=this.getFlagPayloads()[e],i=String(r),s=this.zs(aL)||void 0,l=this.zs(aq)||void 0,d=this.zs(aZ)||{};if(this.Te.advanced_feature_flags_dedup_per_session){var c,u=this._instance.get_session_id(),p=this.zs(aY);u&&u!==p&&(d={},null==(c=this.mi)||c.register({[aZ]:d,[aY]:u}))}if((t.send_event||!("send_event"in t))&&(!(e in d)||!d[e].includes(i))){ep(d[e])?d[e].push(i):d[e]=[i],null==(f=this.mi)||f.register({[aZ]:d});var m=this.getFeatureFlagDetails(e),h=[...null!=(v=this.zs(aJ))?v:[]];ef(r)&&h.push("flag_missing");var g={$feature_flag:e,$feature_flag_response:r,$feature_flag_payload:o||null,$feature_flag_request_id:s,$feature_flag_evaluated_at:l,$feature_flag_bootstrapped_response:(null==(b=this.Te.bootstrap)||null==(b=b.featureFlags)?void 0:b[e])||null,$feature_flag_bootstrapped_payload:(null==(y=this.Te.bootstrap)||null==(y=y.featureFlagPayloads)?void 0:y[e])||null,$used_bootstrap_value:!this.Ds};ef(null==m||null==(x=m.metadata)?void 0:x.has_experiment)||(g.$feature_flag_has_experiment=m.metadata.has_experiment),ef(null==m||null==(S=m.metadata)?void 0:S.version)||(g.$feature_flag_version=m.metadata.version);var f,v,b,y,x,S,w,C,T,$,E,I,N=null!=(w=null==m||null==(C=m.reason)?void 0:C.description)?w:null==m||null==(T=m.reason)?void 0:T.code;N&&(g.$feature_flag_reason=N),null!=m&&null!=($=m.metadata)&&$.id&&(g.$feature_flag_id=m.metadata.id),ef(null==m?void 0:m.original_variant)&&ef(null==m?void 0:m.original_enabled)||(g.$feature_flag_original_response=ef(m.original_variant)?m.original_enabled:m.original_variant),null!=m&&null!=(E=m.metadata)&&E.original_payload&&(g.$feature_flag_original_payload=null==m||null==(I=m.metadata)?void 0:I.original_payload),h.length&&(g.$feature_flag_error=h.join(",")),this._instance.capture("$feature_flag_called",g)}if(n)return{key:e,enabled:!!r,variant:"string"==typeof r?r:void 0,payload:D(o)}}}else i4.warn('getFeatureFlagResult for key "'+e+i8)}getRemoteConfigPayload(e,t){var a=this.Te.token,n={distinct_id:this._instance.get_distinct_id(),token:a,person_properties:{$lib:R.LIB_NAME,$lib_version:R.LIB_VERSION}};this.Gs()&&(n.evaluation_contexts=this.Zs());var r=this.Qs();ef(r)||(n.flag_keys=r),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2"),data:n,compression:this.Te.disable_compression?void 0:r1,timestampMode:"body",timeout:this.Te.feature_flag_request_timeout_ms,callback(a){var n,r=null==(n=a.json)?void 0:n.featureFlagPayloads;t((null==r?void 0:r[e])||void 0)}})}isFeatureEnabled(e,t){if(void 0===t&&(t={}),t.fresh&&!this.Ds)return t.defaultValue;if(!(this.Ls||this.getFlags()&&this.getFlags().length>0))return i4.warn('isFeatureEnabled for key "'+e+i8),t.defaultValue;var a=this.getFeatureFlag(e,t);return ef(a)?t.defaultValue:!!a}
1addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter(t=>t!==e)}receivedFeatureFlags(e,t,a){if(this.mi){this.Ls=!0;var n=this.getFlagVariants(),r=this.getFlagPayloads(),o=this.getFlagsWithDetails();!function(e,t,a,n,r,o){void 0===a&&(a={}),void 0===n&&(n={}),void 0===r&&(r={});var i,s=((i=e.flags)?(e.featureFlags=Object.fromEntries(Object.keys(i).map(e=>{var t;return[e,null!=(t=i[e].variant)?t:i[e].enabled]})),e.featureFlagPayloads=Object.fromEntries(Object.keys(i).filter(e=>i[e].enabled).filter(e=>{var t;return null==(t=i[e].metadata)?void 0:t.payload}).map(e=>{var t;return[e,null==(t=i[e].metadata)?void 0:t.payload]}))):e.featureFlags&&i4.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),e),l=s.flags,d=s.featureFlags,c=s.featureFlagPayloads;if(d){var u=e.requestId,p=e.evaluatedAt;if(ep(d)){i4.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var m={};if(d)for(var h=0;d.length>h;h++)m[d[h]]=!0;t&&t.register({[aR]:d,[aA]:m,[aD]:!1})}else{var g=d,f=c,v=l;if(null!=o&&o.partialResponse)g=P({},a,g),f=P({},n,f),v=P({},r,v);else if(e.errorsWhileComputingFlags)if(l){var b=new Set(Object.keys(l).filter(e=>{var t;return!(null!=(t=l[e])&&t.failed)}));g=P({},a,Object.fromEntries(Object.entries(g).filter(e=>b.has(e[0])))),f=P({},n,Object.fromEntries(Object.entries(f||{}).filter(e=>b.has(e[0])))),v=P({},r,Object.fromEntries(Object.entries(v||{}).filter(e=>b.has(e[0]))))}else g=P({},a,g),f=P({},n,f),v=P({},r,v);t&&t.register(P({[aR]:Object.keys(i7(g)),[aA]:g||{},[aP]:f||{},[aB]:v||{},[aD]:!0===e.minimalFlagCalledEvents},u?{[aL]:u}:{},p?{[aq]:p}:{}))}}}(e,this.mi,n,r,o,a),t||(this.js=!1),this.eo(t)}}override(e,t){void 0===t&&(t=!1),i4.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this.mi)return i4.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(!1===e)return this.mi.unregister(aj),this.mi.unregister(aG),this.eo(),i6.info("All overrides cleared");if(ep(e)){var t,a=i9(e);return this.mi.register({[aj]:a}),this.eo(),i6.info("Flag overrides set",{flags:e})}if(e&&"object"==typeof e&&("flags"in e||"payloads"in e)){if(this.Fs=!!(null!=(t=e.suppressWarning)&&t),"flags"in e){if(!1===e.flags)this.mi.unregister(aj),i6.info("Flag overrides cleared");else if(e.flags){if(ep(e.flags)){var n=i9(e.flags);this.mi.register({[aj]:n})}else this.mi.register({[aj]:e.flags});i6.info("Flag overrides set",{flags:e.flags})}}return"payloads"in e&&(!1===e.payloads?(this.mi.unregister(aG),i6.info("Payload overrides cleared")):e.payloads&&(this.mi.register({[aG]:e.payloads}),i6.info("Payload overrides set",{payloads:e.payloads}))),void this.eo()}if(e&&"object"==typeof e)return this.mi.register({[aj]:e}),this.eo(),i6.info("Flag overrides set",{flags:e});i4.warn("Invalid overrideOptions provided to overrideFeatureFlags",{overrideOptions:e})}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.Ls){var t=this.ro(),a=t.flags,n=t.flagVariants;try{e(a,n)}catch(e){i4.error("Error while running feature flags callback",e)}}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,a){var n,r=(this.zs(aO)||[]).find(t=>t.flagKey===e),o={["$feature_enrollment/"+e]:t},i={$feature_flag:e,$feature_enrollment:t,$set:o};r&&(i.$early_access_feature_name=r.name),a&&(i.$feature_enrollment_stage=a),this._instance.capture("$feature_enrollment_update",i),this.setPersonPropertiesForFlags(o,!1);var s=P({},this.getFlagVariants(),{[e]:t});null==(n=this.mi)||n.register({[aR]:Object.keys(i7(s)),[aA]:s}),this.eo()}getEarlyAccessFeatures(e,t,a){void 0===t&&(t=!1);var n=this.zs(aO),r=a?"&"+a.map(e=>"stage="+e).join("&"):"";if(n&&!t)return e(n);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this.Te.token+r),method:"GET",timestampMode:"query",callback:t=>{var a,n;if(t.json){var r=t.json.earlyAccessFeatures;return null==(a=this.mi)||a.unregister(aO),null==(n=this.mi)||n.register({[aO]:r}),e(r)}}})}ro(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter(e=>t[e]),flagVariants:Object.keys(t).filter(e=>t[e]).reduce((e,a)=>(e[a]=t[a],e),{})}}eo(e){var t=this.ro(),a=t.flags,n=t.flagVariants;
1this.featureFlagEventHandlers.forEach(t=>{try{t(a,n,{errorsLoading:e})}catch(e){i4.error("Error while running feature flags callback",e)}})}setPersonPropertiesForFlags(e,t){void 0===t&&(t=!0);var a=this.zs(aF)||{},n=(null==e?void 0:e.$set)||(null!=e&&e.$set_once?{}:e),r=null==e?void 0:e.$set_once,o={};if(r)for(var i in r)({}).hasOwnProperty.call(r,i)&&(i in a||(o[i]=r[i]));this._instance.register({[aF]:P({},a,o,n)}),t&&this._instance.reloadFeatureFlags()}unsetPersonPropertiesForFlags(e,t){void 0===t&&(t=!0);var a=P({},this.zs(aF)||{});e.forEach(e=>{delete a[e]}),this._instance.register({[aF]:a}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(e){void 0===e&&(e=!0),this._instance.unregister(aF),e&&this._instance.reloadFeatureFlags()}setGroupPropertiesForFlags(e,t){void 0===t&&(t=!0);var a=this.zs(aH)||{};0!==Object.keys(a).length&&Object.keys(a).forEach(t=>{a[t]=P({},a[t],e[t]),delete e[t]}),this._instance.register({[aH]:P({},a,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this.zs(aH)||{};this._instance.register({[aH]:P({},t,{[e]:{}})})}else this._instance.unregister(aH)}reset(){this.Ls=!1,this.$s=!1,this.As=!1,this.Ns=!1,this.Ds=!1,this.$anon_distinct_id=void 0,this.Ys(),this.Fs=!1,this.Hs=0}}},sl=P({productTours:class{get mi(){return this._instance.persistence}constructor(e){this.fa=null,this.pa=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(e.ok){var t,a,n=e.config;if("productTours"in n){if(this.mi&&this.mi.register({[aw]:!!n.productTours}),!iV(this._instance))return!this.fa&&ex(null==(t=this.mi)?void 0:t.props[aW])||iz.info("product tours disabled; stopping and clearing cached tours"),null==(a=this.fa)||a.stop(),this.fa=null,void this.clearCache();this.loadIfEnabled()}}}loadIfEnabled(){!this.fa&&iV(this._instance)&&this.er(()=>this.ga())}er(e){var t,a;null!=(t=A.__PosthogExtensions__)&&t.generateProductTours?e():null==(a=A.__PosthogExtensions__)||null==a.loadExternalDependency||a.loadExternalDependency(this._instance,"product-tours",t=>{t?iz.error("Could not load product tours script",t):e()})}ga(){var e;!this.fa&&null!=(e=A.__PosthogExtensions__)&&e.generateProductTours&&(this.fa=A.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(void 0===t&&(t=!1),!ep(this.pa)||t){var a=this.mi;if(a){var n=a.props[aW];if(ep(n)&&!t)return this.pa=n,void e(n,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",timestampMode:"query",callback:t=>{if(iV(this._instance)){var n=t.statusCode;if(200!==n||!t.json){var r="Product Tours API could not be loaded, status: "+n;return iz.error(r),void e([],{isLoaded:!1,error:r})}var o=ep(t.json.product_tours)?t.json.product_tours:[];this.pa=o,a&&a.register({[aW]:o}),e(o,{isLoaded:!0})}else e([],{isLoaded:!0})}})}else e(this.pa,{isLoaded:!0})}getActiveProductTours(e){ex(this.fa)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.fa.getActiveProductTours(e)}showProductTour(e){var t;null==(t=this.fa)||t.showTourById(e)}previewTour(e){this.fa?this.fa.previewTour(e):this.er(()=>{var t;this.ga(),null==(t=this.fa)||t.previewTour(e)})}dismissProductTour(){var e;null==(e=this.fa)||e.dismissTour("user_clicked_skip")}nextStep(){var e;null==(e=this.fa)||e.nextStep()}previousStep(){var e;null==(e=this.fa)||e.previousStep()}clearCache(){var e;this.pa=null,null==(e=this.mi)||e.unregister(aW)}resetTour(e){var t;null==(t=this.fa)||t.resetTour(e)}resetAllTours(){var e;null==(e=this.fa)||e.resetAllTours()}cancelPendingTour(e){var t;null==(t=this.fa)||t.cancelPendingTour(e)}}},ss),sd=P({surveys:class{get Te(){return this._instance.config}constructor(e){this.Fa=void 0,this._surveyManager=null,this.La=!1,this.$a=[],this.Aa=null,this.Na=null,this._instance=e,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this.Te.disable_surveys){if(!e.ok)return io.warn("Remote config unavailable. Not loading surveys.");var t=e.config.surveys;if(ex(t))return io.warn("Flags not loaded yet. Not loading surveys.");var a=ep(t);this.Fa=a?t.length>0:t,io.info("flags response received, isSurveysEnabled: "+this.Fa),this.loadIfEnabled()}}reset(){try{var e;null==(e=this._surveyEventReceiver)||e.reset(),localStorage.removeItem("lastSeenSurveyDate");for(var t=[],a=0;a<localStorage.length;a++){var n=localStorage.key(a);(null!=n&&n.startsWith(ii)||null!=n&&n.startsWith("inProgressSurvey_"))&&t.push(n)}
1t.forEach(e=>localStorage.removeItem(e))}catch(e){}}loadIfEnabled(){if(!this._surveyManager)if(this.La)io.info("Already initializing surveys, skipping...");else if(this.Te.disable_surveys)io.info(i1);else if(this.Te.cookieless_mode&&this._instance.consent.isOptedOut())io.info("Not loading surveys in cookieless mode without consent.");else{var e=null==A?void 0:A.__PosthogExtensions__;if(e){if(!ef(this.Fa)||this.Te.advanced_enable_surveys){var t=this.Fa||this.Te.advanced_enable_surveys;this.La=!0;try{var a=e.generateSurveys;if(a)return void this.Da(a,t);var n=e.loadExternalDependency;if(!n)return void this.qa(ne);n(this._instance,"surveys",a=>{a||!e.generateSurveys?this.qa("Could not load surveys script",a):this.Da(e.generateSurveys,t)})}catch(e){throw this.qa("Error initializing surveys",e),e}finally{this.La=!1}}}else io.error("PostHog Extensions not found.")}}Da(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new iQ(this._instance),io.info("Surveys loaded successfully"),this.ja({isLoaded:!0})}qa(e,t){io.error(e,t),this.ja({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.$a.push(e),this._surveyManager&&this.ja({isLoaded:!0}),()=>{this.$a=this.$a.filter(t=>t!==e)}}getSurveys(e,t){if(void 0===t&&(t=!1),this.Te.disable_surveys)return io.info(i1),e([]);var a,n=this._instance.get_property(aU);n&&!t?(e(n,{isLoaded:!0}),this.Ha()&&this.getSurveys(()=>{},!0)):"u">typeof Promise&&this.Aa?this.Aa.then(t=>e(t.surveys,t.context)):("u">typeof Promise&&(this.Aa=new Promise(e=>{a=e})),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.Te.token),method:"GET",timestampMode:"query",timeout:this.Te.surveys_request_timeout_ms,callback:t=>{this.Aa=null;var n=t.statusCode;if(200!==n||!t.json){var r="Surveys API could not be loaded, status: "+n;io.error(r),this.Na=Date.now();var o={isLoaded:!1,error:r};return e([],o),void(null==a||a({surveys:[],context:o}))}this.Na=null;var i,s,l=t.json.surveys||[],d=l.filter(e=>{var t;return!(!e.start_date||e.end_date)&&(ir(e)||!(null==(t=e.conditions)||null==(t=t.actions)||null==(t=t.values)||!t.length))});d.length>0&&(null==(s=this._surveyEventReceiver)||s.register(d)),null==(i=this._instance.persistence)||i.register({[aU]:l,[aK]:Date.now()});var c={isLoaded:!0};e(l,c),null==a||a({surveys:l,context:c})}}))}Ha(){return this.Ba()&&!this.Aa&&!this.Ua()}Ba(){var e=this._instance.get_property(aK);return eS(e)&&Date.now()-e>3e5}Ua(){return eS(this.Na)&&3e5>Date.now()-this.Na}markSurveyAsSeen(e,t){var a;is({id:e,current_iteration:null!=(a=null==t?void 0:t.iteration)?a:null});try{localStorage.setItem("lastSeenSurveyDate",(new Date).toISOString())}catch(e){}}ja(e){for(var t of this.$a)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(e){io.error("Error in survey callback",e)}}getActiveMatchingSurveys(e,t){if(void 0===t&&(t=!1),!ex(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);io.warn("init was not called")}za(e){var t=null;return this.getSurveys(a=>{var n;t=null!=(n=a.find(t=>t.id===e))?n:null}),t}Va(e){if(ex(this._surveyManager))return{eligible:!1,reason:i0};var t="string"==typeof e?this.za(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}Wa(e){if(ex(this._surveyManager))return{eligible:!1,reason:i0};var t="string"==typeof e?this.za(e):e;return t?this._surveyManager.checkSurveyRenderability(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(ex(this._surveyManager))return io.warn("init was not called"),{visible:!1,disabledReason:i0};var t=this.Wa(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return ex(this._surveyManager)?(io.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:i0})):new Promise(a=>{this.getSurveys(t=>{var n,r=null!=(n=t.find(t=>t.id===e))?n:null;if(r){var o=this.Wa(r);a({visible:o.eligible,disabledReason:o.reason})}else a({visible:!1,disabledReason:"Survey not found"})},t)})}renderSurvey(e,t,a){var n;if(ex(this._surveyManager))io.warn("init was not called");else{var r="string"==typeof e?this.za(e):e;if(null!=r&&r.id)if(il.includes(r.type)){var o=null==C?void 0:C.querySelector(t);if(o)return null!=(n=r.appearance)&&n.surveyPopupDelaySeconds?(io.info("Rendering survey "+r.id+" with delay of "+r.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout(()=>{var e,t;io.info("Rendering survey "+r.id+" with delay of "+(null==(e=r.appearance)?void 0:e.surveyPopupDelaySeconds)+" seconds"),null==(t=this._surveyManager)||t.renderSurvey(r,o,a),io.info("Survey "+r.id+" rendered")},1e3*r.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(r,o,a);io.warn("Survey element not found")}else io.warn("Surveys of type "+r.type+" cannot be rendered in the app");else io.warn("Survey not found")}}displaySurvey(e,t){var a;if(ex(this._surveyManager))io.warn("init was not called");else{var n=this.za(e);if(n){var r=n;if(null!=(a=n.appearance)&&a.surveyPopupDelaySeconds&&t.ignoreDelay&&(r=P({},n,{appearance:P({},n.appearance,{surveyPopupDelaySeconds:0})}
1)),t.displayType!==r8&&t.initialResponses&&io.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),!1===t.ignoreConditions){var o=this.Va(n);if(!o.eligible)return void io.warn("Survey is not eligible to be displayed: ",o.reason)}"inline"!==t.displayType?this._surveyManager.handlePopoverSurvey(r,t):this.renderSurvey(r,t.selector,t.properties)}else io.warn("Survey not found")}}cancelPendingSurvey(e){ex(this._surveyManager)?io.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;null==(e=this._surveyManager)||null==e.handlePageUnload||e.handlePageUnload()}}},ss),sc=P({experiments:sn},ss),su=P({},ss,{sessionRecording:class{get Te(){return this._instance.config}get mi(){return this._instance.persistence}get started(){var e;return!(null==(e=this.io)||!e.isStarted)}get status(){var e,t;return this.no===ij||this.no===iG?this.no:null!=(e=null==(t=this.io)?void 0:t.status)?e:this.no}constructor(e){if(this._forceAllowLocalhostNetworkCapture=!1,this.no=iL,this.so=void 0,this._instance=e,!this._instance.sessionManager)throw iH.error("started without valid sessionManager"),Error(iF+" started without valid sessionManager. This is a bug.");if(this.Te.cookieless_mode===na)throw Error(iF+' cannot be used with cookieless_mode="always"')}initialize(){this.startIfEnabledOrStop()}get oo(){var e,t=!(null==(e=this._instance.get_property(aT))||!e.enabled),a=!this.Te.disable_session_recording,n=this.Te.disable_session_recording||this._instance.consent.isOptedOut();return x&&t&&a&&!n}startIfEnabledOrStop(e){var t;if(!this.oo||null==(t=this.io)||!t.isStarted){var a=!ef(Object.assign)&&!ef(Array.from);this.oo&&a?(this.ao(e),iH.info("starting")):(this.no=iL,this.stopRecording())}}ao(e){var t,a,n;this.oo&&(this.no!==ij&&this.no!==iG&&(this.no=iD),null!=A&&null!=(t=A.__PosthogExtensions__)&&null!=(t=t.rrweb)&&t.record&&null!=(a=A.__PosthogExtensions__)&&a.initSessionRecording?this.lo(e):null==(n=A.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this._instance,this.uo,t=>{if(t)return iH.error("could not load recorder",t);this.lo(e)}))}stopRecording(){var e,t;null==(e=this.so)||e.call(this),this.so=void 0,null==(t=this.io)||t.stop()}ho(){var e,t;null==(e=this.so)||e.call(this),this.so=void 0,null==(t=this.io)||t.discard()}do(){var e,t;null==(e=this.mi)||e.unregister(aM),null==(t=this.mi)||t.unregister(a$)}co(e,t){if(ex(e))return null;var a=eS(e)?e:parseFloat(e);return"number"!=typeof a||!Number.isFinite(a)||0>a||a>1?(iH.warn(t+" must be between 0 and 1. Ignoring invalid value:",e),null):a}vo(e){if(this.mi){var t,a,n=this.mi,r=()=>{var t,a=!1===e.sessionRecording?void 0:e.sessionRecording,r=this.co(null==(t=this.Te.session_recording)?void 0:t.sampleRate,"session_recording.sampleRate"),o=this.co(null==a?void 0:a.sampleRate,"remote config sampleRate"),i=null!=r?r:o;ex(i)&&this.do();var s=null==a?void 0:a.minimumDurationMilliseconds;n.register({[aT]:P({cache_timestamp:Date.now(),enabled:!!a},a,{networkPayloadCapture:P({capturePerformance:e.capturePerformance},null==a?void 0:a.networkPayloadCapture),canvasRecording:{enabled:null==a?void 0:a.recordCanvas,fps:null==a?void 0:a.canvasFps,quality:null==a?void 0:a.canvasQuality},sampleRate:i,minimumDurationMilliseconds:ef(s)?null:s,endpoint:null==a?void 0:a.endpoint,triggerMatchType:null==a?void 0:a.triggerMatchType,masking:null==a?void 0:a.masking,urlTriggers:null==a?void 0:a.urlTriggers,version:null==a?void 0:a.version,triggerGroups:null==a?void 0:a.triggerGroups})})};r(),null==(t=this.so)||t.call(this),this.so=null==(a=this._instance.sessionManager)?void 0:a.onSessionId(r)}}onRemoteConfig(e){var t=e.ok?e.config:void 0;return t&&"sessionRecording"in t?!1===t.sessionRecording?(this.vo(t),void this.ho()):(this.vo(t),void this.startIfEnabledOrStop()):(this.no===ij&&(this.no=iG,iH.warn("config refresh failed, recording will not start until page reload")),void this.startIfEnabledOrStop())}log(e,t){var a;void 0===t&&(t="log"),null!=(a=this.io)&&a.log?this.io.log(e,t):iH.warn("log called before recorder was ready")}get uo(){var e,t,a=null==(e=this._instance)||null==(e=e.persistence)?void 0:e.get_property(aT);return(null==a||null==(t=a.scriptConfig)?void 0:t.script)||"lazy-recorder"}fo(){var e,t,a=this._instance.get_property(aT);
1if(!a)return!1;try{t="object"==typeof a?a:JSON.parse(a)}catch(e){return iH.warn("persisted remote config for session recording is invalid and will be ignored",e),!1}var n=null!=(e=t.cache_timestamp)?e:Date.now();return 36e5>=Date.now()-n}lo(e){var t,a;if(null==(t=A.__PosthogExtensions__)||!t.initSessionRecording)return iH.warn("Called on script loaded before session recording is available. This can be caused by adblockers."),void this._instance.register_for_session({[a7]:!0});if(this.io||(this.io=null==(a=A.__PosthogExtensions__)?void 0:a.initSessionRecording(this._instance),this.io._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),!this.fo()){if(this.no===iG||this.no===ij)return;return this.no=ij,iH.info("persisted remote config is stale, requesting fresh config before starting"),void new ot(this._instance).load()}this.no=iD,this.io.start(e)}onRRwebEmit(e){var t;null==(t=this.io)||null==t.onRRwebEmit||t.onRRwebEmit(e)}overrideLinkedFlag(){var e,t;this.io||null==(t=this.mi)||t.register({[aI]:!0}),null==(e=this.io)||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.io||null==(t=this.mi)||t.register({[aE]:!0}),null==(e=this.io)||e.overrideSampling()}overrideTrigger(e){var t,a;this.io||null==(a=this.mi)||a.register({["url"===e?aN:a_]:!0}),null==(t=this.io)||t.overrideTrigger(e)}get sdkDebugProperties(){var e;return(null==(e=this.io)?void 0:e.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(e,t){var a;return!(null==(a=this.io)||!a.tryAddCustomEvent(e,t))}}},{autocapture:class{constructor(e){this.po=!1,this.mo=null,this.yo=!1,this.bo=!1,this.instance=e,this.rageclicks=new i_(e.config.rageclick),this._o=null}initialize(){this.startIfEnabled()}get Te(){var e,t,a=eh(this.instance.config.autocapture)?this.instance.config.autocapture:{};return a.url_allowlist=null==(e=a.url_allowlist)?void 0:e.map(e=>new RegExp(e)),a.url_ignorelist=null==(t=a.url_ignorelist)?void 0:t.map(e=>new RegExp(e)),a}wo(){if(this.isBrowserSupported()){if(x&&C){var e=e=>{e=e||(null==x?void 0:x.event);try{this.xo(e)}catch(e){iM.error("Failed to capture event",e)}};if(nx(C,"submit",e,{capture:!0}),nx(C,"change",e,{capture:!0}),nx(C,"click",e,{capture:!0}),this.Te.capture_copied_text){var t=e=>{e=e||(null==x?void 0:x.event);try{this.xo(e,ik)}catch(e){iM.error("Failed to capture copy/cut event",e)}};nx(C,"copy",t,{capture:!0}),nx(C,"cut",t,{capture:!0})}}}else iM.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.po&&(this.wo(),this.po=!0)}onRemoteConfig(e){if(this.yo=!0,e.ok){var t=e.config;t.elementsChainAsString&&(this.bo=t.elementsChainAsString);var a=t.autocapture_opt_out;eC(a)&&(this.instance.persistence&&this.instance.persistence.register({[ag]:a}),this.mo=a),this.startIfEnabled()}else this.startIfEnabled()}setElementSelectors(e){this._o=e}getElementSelectors(e){var t,a=[];return null==(t=this._o)||t.forEach(t=>{var n=null==C?void 0:C.querySelectorAll(t);null==n||n.forEach(n=>{e===n&&a.push(t)})}),a}get isEnabled(){var e,t,a=null==(e=this.instance.persistence)?void 0:e.props[ag],n=this.mo,r=this.instance.Ur()&&!this.yo;if(ey(n)&&!eC(a)&&!r)return!1;var o=null!=(t=this.mo)?t:!!a;return!!this.instance.config.autocapture&&!o}xo(e,t){if(void 0===t&&(t="$autocapture"),this.isEnabled){var a,n=n2(e);nY(n)&&(n=n.parentNode||null),"$autocapture"===t&&"click"===e.type&&e instanceof MouseEvent&&this.instance.config.rageclick&&null!=(a=this.rageclicks)&&a.isRageClick(e.clientX,e.clientY,e.timeStamp||(new Date).getTime())&&ra(n,this.instance.config.rageclick)&&this.xo(e,"$rageclick");var r=t===ik;if(n&&function(e,t,a,n,r,o){if(!x||rn(e)||null!=a&&a.url_allowlist&&!nX(a.url_allowlist,o)||null!=a&&a.url_ignorelist&&nX(a.url_ignorelist,o))return!1;if(null!=a&&a.dom_event_allowlist){var i,s=a.dom_event_allowlist;if(s&&!s.some(e=>t.type===e))return!1}var l=rr(e,n),d=l.parentIsUsefulElement,c=l.targetElementList;if(!function(e,t){var a=null==t?void 0:t.element_allowlist;if(ef(a))return!0;var n,r=function(e){if(a.some(t=>e.tagName.toLowerCase()===t))return{v:!0}};for(var o of e)if(n=r(o))return n.v;return!1}(c,a)||!n5(c,null==a?void 0:a.css_selector_allowlist)||n5(c,null!=(i=null==a?void 0:a.css_selector_ignorelist)?i:n6))return!1;try{var u=x.getComputedStyle(e);
1if(u&&"pointer"===u.getPropertyValue("cursor")&&"click"===t.type)return!0}catch(e){}var p=e.tagName.toLowerCase();switch(p){case"html":return!1;case"form":return(r||["submit"]).indexOf(t.type)>=0;case"input":case"select":case"textarea":return(r||["change","click"]).indexOf(t.type)>=0;default:return d?(r||["click"]).indexOf(t.type)>=0:(r||["click"]).indexOf(t.type)>=0&&(n3.indexOf(p)>-1||"true"===e.getAttribute("contenteditable"))}}(n,e,this.Te,r,r?["copy","cut"]:void 0,this.instance)){var o=function(e,t){var a,n,r=t.e,o=t.maskAllElementAttributes,i=t.maskAllText,s=t.elementAttributeIgnoreList,l=t.elementsChainAsString,d=t.disableCaptureUrlHashes;if(!nW(e))return{props:{}};for(var c=[e],u=new Set([e]),p=e;p.parentNode&&!nZ(p,"body")&&1e3>c.length;)if(nJ(p.parentNode)){var m=p.parentNode.host;if(u.has(m))break;u.add(m),c.push(m),p=m}else{if(!nW(p.parentNode)||u.has(p.parentNode))break;u.add(p.parentNode),c.push(p.parentNode),p=p.parentNode}var h,g=[],f={},v=!1,b=!1;if(nm(c,e=>{var t=ro(e);if(nZ(e,"a")){var a=e.getAttribute("href");v=!!(t&&a&&rm(a))&&(d?tN(a):a)}eo(nQ(e),"ph-no-capture")&&(b=!0),g.push(function(e,t,a,n,r){void 0===r&&(r=!1);var o=e.tagName.toLowerCase(),i={tag_name:o};n3.indexOf(o)>-1&&!a&&(i.$el_text="a"===o.toLowerCase()||"button"===o.toLowerCase()?iA(1024,rh(e)):iA(1024,n1(e)));var s=nQ(e);s.length>0&&(i.classes=s.filter(function(e){return""!==e})),nm(e.attributes,function(a){var o;if((!ri(e)||-1!==["name","id","class","aria-label"].indexOf(a.name))&&(null==n||!n.includes(a.name))&&!t&&rm(a.value)&&(!ev(o=a.name)||"_ngcontent"!==o.substring(0,10)&&"_nghost"!==o.substring(0,7))){var s=a.value;"class"===a.name&&(s=nq(s).join(" ")),i["attr__"+a.name]=iA(1024,"href"===a.name&&r?tN(s):s)}});for(var l=1,d=1,c=e;c=function(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!nW(t))return t}(c);)l++,c.tagName===e.tagName&&d++;return i.nth_child=l,i.nth_of_type=d,i}(e,o,i,s,d)),nh(f,function(e){if(!ro(e))return{};var t={};return nm(e.attributes,function(e){if(e.name&&0===e.name.indexOf("data-ph-capture-attribute")){var a=e.name.replace("data-ph-capture-attribute-",""),n=e.value;a&&n&&rm(n)&&(t[a]=n)}}),t}(e))}),b)return{props:{},explicitNoCapture:b};if(i||(g[0].$el_text=nZ(e,"a")||nZ(e,"button")?rh(e):n1(e)),v){g[0].attr__href=v;var y,S,w=null==(y=rk(v))?void 0:y.host,C=null==x||null==(S=x.location)?void 0:S.host;w&&C&&w!==C&&(h=v)}return{props:nh({$event_type:r.type,$ce_version:1},l?{}:{$elements:g},{$elements_chain:g.map(e=>{var t,a,n={text:null==(t=e.$el_text)?void 0:t.slice(0,400),tag_name:e.tag_name,href:null==(a=e.attr__href)?void 0:a.slice(0,2048),attr_class:function(e){var t=e.attr__class;if(t)return ep(t)?t:nq(t)}(e),attr_id:e.attr__id,nth_child:e.nth_child,nth_of_type:e.nth_of_type,attributes:{}};return ng(e).filter(e=>0===e[0].indexOf("attr__")).forEach(e=>n.attributes[e[0]]=e[1]),n}).map(e=>{var t,a,n="";if(e.tag_name&&(n+=e.tag_name),e.attr_class)for(var r of(e.attr_class.sort(),e.attr_class))n+="."+r.replace(/"/g,"");var o=P({},e.text?{text:e.text}:{},{"nth-child":null!=(t=e.nth_child)?t:0,"nth-of-type":null!=(a=e.nth_of_type)?a:0},e.href?{href:e.href}:{},e.attr_id?{attr_id:e.attr_id}:{},e.attributes),i={};return ng(o).sort((e,t)=>e[0].localeCompare(t[0])).forEach(e=>{var t=e[1];return i[rg(e[0].toString())]=rg(t.toString())}),(n+=":")+ng(i).map(e=>e[0]+'="'+e[1]+'"').join("")}).join(";")},null!=(a=g[0])&&a.$el_text?{$el_text:null==(n=g[0])?void 0:n.$el_text}:{},h&&"click"===r.type?{$external_click_url:h}:{},f)}}(n,{e:e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.Te.element_attribute_ignorelist,elementsChainAsString:this.bo,disableCaptureUrlHashes:this.instance.config.disable_capture_url_hashes}),i=o.props;if(o.explicitNoCapture)return!1;var s=this.getElementSelectors(n);if(s&&s.length>0&&(i.$element_selectors=s),t===ik){var l,d=n0(null==x||null==(l=x.getSelection())?void 0:l.toString()),c=e.type||"clipboard";if(!d)return!1;i.$selected_content=d,i.$copy_type=c}return this.instance.capture(t,i),!0}}}isBrowserSupported(){return em(null==C?void 0:C.querySelectorAll)}},historyAutocapture:class{constructor(e){var t;this._instance=e,this.ko=(null==x||null==(t=x.location)?void 0:t.pathname)||""}initialize(){this.startIfEnabled()}get isEnabled(){return"history_change"===this._instance.config.capture_pageview}startIfEnabled(){this.isEnabled&&(ai.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.So&&this.So(),this.So=void 0,ai.info("History API monitoring stopped")}monitorHistoryChanges(){x&&x.history&&(this.Co("pushState"),this.Co("replaceState"),this.To())}Co(e){var t;if(x&&(null==(t=x.history[e])||!t.__posthog_wrapped__)){var a=this;!function(e,t,a){try{if(!(t in e))return iO;var n={next:e[t]},r=a(function(){for(var e=arguments.length,t=Array(e),a=0;e>a;a++)t[a]=arguments[a];return n.next.apply(this,t)});em(r)&&(r.prototype=r.prototype||{},Object.defineProperties(r,{__posthog_wrapped__:{enumerable:!1,value:!0},__posthog_layer__:{enumerable:!1,value:n}})),e[t]=r}catch(e){return iO}}(x.history,e,t=>function(n,r,o){t.call(this,n,r,o),a.Io(e)})}}Io(e){try{var t,a=null==x||null==(t=x.location)?void 0:t.pathname;if(!a)return;a!==this.ko&&this.isEnabled&&this._instance.capture(nl,{navigation_type:e}),this.ko=a}catch(t){ai.error("Error capturing "+e+" pageview",t)}}To(){if(!this.So){var e=()=>{this.Io("popstate")};nx(x,"popstate",e),this.So=()=>{x&&x.removeEventListener("popstate",e)}}}},heatmaps:class{get Te(){return this.instance.config}constructor(e){var t;this.Mo=!1,this.po=!1,this.Eo=null,this.instance=e,this.Mo=!(null==(t=this.instance.persistence)||!t.props[af]),this.rageclicks=new i_(e.config.rageclick)}initialize(){this.startIfEnabled()}get flushIntervalMilliseconds(){var e=5e3;return eh(this.Te.capture_heatmaps)&&this.Te.capture_heatmaps.flush_interval_milliseconds&&(e=this.Te.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return ex(this.Te.capture_heatmaps)?ex(this.Te.enable_heatmaps)?this.Mo:this.Te.enable_heatmaps:!1!==this.Te.capture_heatmaps}startIfEnabled(){if(this.isEnabled)this.po||(iU.info("starting..."),this.Ro(),this.ke());else{var e;clearInterval(null!=(e=this.Eo)?e:void 0),this.Po(),this.getAndClearBuffer()}}onRemoteConfig(e){if(e.ok){var t=e.config;if("heatmaps"in t){var a=!!t.heatmaps;this.instance.persistence&&this.instance.persistence.register({[af]:a}),this.Mo=a,this.startIfEnabled()}}}getAndClearBuffer(){var e=this.R;return this.R=void 0,e}Oo(e){iK(e.originalEvent)&&this.pe(e.originalEvent,"deadclick")}ke(){this.Eo&&clearInterval(this.Eo),this.Eo="visible"===(null==C?void 0:C.visibilityState)?setInterval(this.oi.bind(this),this.flushIntervalMilliseconds):null}Ro(){x&&C&&(this.Fo=this.oi.bind(this),nx(x,ns,this.Fo),this.Lo=e=>this.pe(e||(null==x?void 0:x.event)),nx(C,"click",this.Lo,{capture:!0}),this.$o=e=>this.Ao(e||(null==x?void 0:x.event)),nx(C,"mousemove",this.$o,{capture:!0}),this.No=new ry(this.instance,rv,this.Oo.bind(this)),this.No.startIfEnabledOrStop(),this.Do=this.ke.bind(this),nx(C,ni,this.Do),this.po=!0)}Po(){var e;x&&C&&(this.Fo&&x.removeEventListener(ns,this.Fo),this.Lo&&C.removeEventListener("click",this.Lo,{capture:!0}),this.$o&&C.removeEventListener("mousemove",this.$o,{capture:!0}),this.Do&&C.removeEventListener(ni,this.Do),clearTimeout(this.qo),null==(e=this.No)||e.stop(),this.po=!1)}jo(e,t){var a=this.instance.scrollManager.scrollY(),n=this.instance.scrollManager.scrollX(),r=this.instance.scrollManager.scrollElement(),o=function(e,t,a){for(var n=e;
1n&&nW(n)&&!nZ(n,"body")&&n!==a;){var r,o,i,s=void 0;try{s=null==(r=null!=(o=null==(i=n.ownerDocument)?void 0:i.defaultView)?o:x)?void 0:r.getComputedStyle(n).position}catch(e){break}if(eo(t,s))return!0;n=n4(n)}return!1}(n2(e),["fixed","sticky"],r);return{x:e.clientX+(o?0:n),y:e.clientY+(o?0:a),target_fixed:o,type:t}}pe(e,t){var a;if(void 0===t&&(t="click"),!nV(e.target)&&iK(e)){var n=this.jo(e,t);null!=(a=this.rageclicks)&&a.isRageClick(e.clientX,e.clientY,(new Date).getTime())&&ra(n2(e),this.instance.config.rageclick)&&this.Nt(P({},n,{type:"rageclick"})),this.Nt(n)}}Ao(e){!nV(e.target)&&iK(e)&&(clearTimeout(this.qo),this.qo=setTimeout(()=>{this.Nt(this.jo(e,"mousemove"))},500))}Nt(e){if(x){var t=this.Te.disable_capture_url_hashes?tN(x.location.href):x.location.href,a=this.Te.custom_personal_data_properties,n=rA(t,this.Te.mask_personal_data_properties?[...rL,...a||[]]:[],rj);this.R=this.R||{},this.R[n]||(this.R[n]=[]),this.R[n].push(e)}}oi(){this.R&&!eg(this.R)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},deadClicksAutocapture:ry,webVitalsAutocapture:class{constructor(e){var t;this.Mo=!1,this.po=!1,this.R={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.Ho=()=>{clearTimeout(this.Bo),0!==this.R.metrics.length&&(this._instance.capture("$web_vitals",this.R.metrics.reduce((e,t)=>P({},e,{["$web_vitals_"+t.name+"_event"]:P({},t),["$web_vitals_"+t.name+"_value"]:t.value}),{})),this.R={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.Uo=e=>{this.R=this.R||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var t,a=this.zo();if(!ef(a))if(ex(null==e?void 0:e.name)||ex(null==e?void 0:e.value))iP.error("Invalid metric received",e);else if(!this.Vo||this.Vo>e.value){this.R.url!==a&&(this.Ho(),this.Bo=setTimeout(this.Ho,this.flushToCaptureTimeoutMs)),ef(this.R.url)&&(this.R.url=a),this.R.firstMetricTimestamp=ef(this.R.firstMetricTimestamp)?Date.now():this.R.firstMetricTimestamp,e.attribution&&e.attribution.interactionTargetElement&&(e.attribution.interactionTargetElement=void 0);var n=null==(t=this._instance.sessionManager)?void 0:t.checkAndGetSessionAndWindowId(!0),r=P({},e,{$current_url:a,timestamp:Date.now()});ef(n)||(r.$session_id=n.sessionId,r.$window_id=n.windowId),this.R.metrics.push(r),this.R.metrics.length===this.allowedMetrics.length&&this.Ho()}else iP.error("Ignoring metric with value >= "+this.Vo,e)},this.Wo=()=>{if(!this.po){var e,t,a,n,r=A.__PosthogExtensions__;if(!ef(r)&&!ef(r.postHogWebVitalsCallbacks)){var o=r.postHogWebVitalsCallbacks;e=o.onLCP,t=o.onCLS,a=o.onFCP,n=o.onINP}e&&t&&a&&n?(this.allowedMetrics.indexOf("LCP")>-1&&e(this.Uo.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&t(this.Uo.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&a(this.Uo.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&n(this.Uo.bind(this)),this.po=!0):iP.error("web vitals callbacks not loaded - not starting")}},this._instance=e,this.Mo=!(null==(t=this._instance.persistence)||!t.props[ax]),this.startIfEnabled()}get Zo(){return this._instance.config.capture_performance}get allowedMetrics(){var e,t,a=eh(this.Zo)?null==(e=this.Zo)?void 0:e.web_vitals_allowed_metrics:void 0;return ex(a)?(null==(t=this._instance.persistence)?void 0:t.props[aC])||["CLS","FCP","INP","LCP"]:a}get flushToCaptureTimeoutMs(){return(eh(this.Zo)?this.Zo.web_vitals_delayed_flush_ms:void 0)||5e3}get useAttribution(){var e=eh(this.Zo)?this.Zo.web_vitals_attribution:void 0;return null!=e&&e}get Vo(){var e=eh(this.Zo)&&eS(this.Zo.__web_vitals_max_value)?this.Zo.__web_vitals_max_value:9e5;return e>0&&6e4>=e?9e5:e}get isEnabled(){var e=null==T?void 0:T.protocol;if("http:"!==e&&"https:"!==e)return iP.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=eh(this.Zo)?this.Zo.web_vitals:eC(this.Zo)?this.Zo:void 0;return eC(t)?t:this.Mo}startIfEnabled(){this.isEnabled&&!this.po&&(iP.info("enabled, starting..."),this.er(this.Wo))}onRemoteConfig(e){if(e.ok){var t=e.config;if("capturePerformance"in t){var a=eh(t.capturePerformance)&&!!t.capturePerformance.web_vitals,n=eh(t.capturePerformance)?t.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[ax]:a}),this._instance.persistence.register({[aC]:n})),this.Mo=a,this.startIfEnabled()}}}er(e){var t,a;null!=(t=A.__PosthogExtensions__)&&t.postHogWebVitalsCallbacks?e():null==(a=A.__PosthogExtensions__)||null==a.loadExternalDependency||a.loadExternalDependency(this._instance,this.useAttribution?"web-vitals-with-attribution":"web-vitals",t=>{t?iP.error("failed to load script",t):e()})}zo(){var e=x?this._instance.config.disable_capture_url_hashes?tN(x.location.href):x.location.href:void 0;if(e){var t=this._instance.config.custom_personal_data_properties;return rA(e,this._instance.config.mask_personal_data_properties?[...rL,...t||[]]:[],rj)}iP.error("Could not determine current URL")}}},{exceptionObserver:class{constructor(e){var t;this.Wo=()=>{var e;if(x&&this.isEnabled&&null!=(e=A.__PosthogExtensions__)&&e.errorWrappingFunctions){var t=A.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,a=A.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,n=A.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.Go&&this.Te.capture_unhandled_errors&&(this.Go=t(this.captureException.bind(this))),!this.Qo&&this.Te.capture_unhandled_rejections&&(this.Qo=a(this.captureException.bind(this))),!this.Jo&&this.Te.capture_console_errors&&(this.Jo=n(this.captureException.bind(this)))}catch(e){iR.error("failed to start",e),this.Ko()}}},this._instance=e,this.Yo=!(null==(t=this._instance.persistence)||!t.props[av]),this.Xo=new eA(P({},function(e){var t,a,n,r;return void 0===e&&(e={}),{refillRate:null!=(t=null!=(a=e.exceptionRateLimiterRefillRate)?a:e.__exceptionRateLimiterRefillRate)?t:1,bucketSize:null!=(n=null!=(r=e.exceptionRateLimiterBucketSize)?r:e.__exceptionRateLimiterBucketSize)?n:10}}(this._instance.config.error_tracking),{refillInterval:1e4,Ge:iR})),this.Te=this.ea(),this.startIfEnabledOrStop()}ea(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return eh(e)?t=P({},t,e):(ef(e)?this.Yo:e)&&(t=P({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.Te.capture_console_errors||this.Te.capture_unhandled_errors||this.Te.capture_unhandled_rejections}startIfEnabledOrStop(){this.isEnabled?(iR.info("enabled"),this.Ko(),this.er(this.Wo)):this.Ko()}er(e){var t,a;null!=(t=A.__PosthogExtensions__)&&t.errorWrappingFunctions?e():null==(a=A.__PosthogExtensions__)||null==a.loadExternalDependency||a.loadExternalDependency(this._instance,"exception-autocapture",t=>{if(t)return iR.error("failed to load script",t);e()})}Ko(){var e,t,a;null==(e=this.Go)||e.call(this),this.Go=void 0,null==(t=this.Qo)||t.call(this),this.Qo=void 0,null==(a=this.Jo)||a.call(this),this.Jo=void 0}onRemoteConfig(e){if(e.ok){var t=e.config;"autocaptureExceptions"in t&&(this.Yo=!!t.autocaptureExceptions,this._instance.persistence&&this._instance.persistence.register({[av]:this.Yo}),this.Te=this.ea(),this.startIfEnabledOrStop())}}onConfigChange(){this.Te=this.ea()}captureException(e){var t,a,n,r=null!=(t=null==e||null==(a=e.$exception_list)||null==(a=a[0])?void 0:a.type)?t:"Exception";this.Xo.consumeRateLimit(r)?iR.info("Skipping exception capture because of client rate limiting.",{exception:r}):null==(n=this._instance.exceptions)||n.sendExceptionEvent(e)}},exceptions:class{constructor(e){var t,a;this.ta=[],this.ra=new tF([new tX,new t9,new t0,new tQ,new t6,new t4,new t2,new t8],function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),n=1;t>n;n++)a[n-1]=arguments[n];return function(t,n){void 0===n&&(n=0);for(var r=[],o=t.split("\n"),i=n;o.length>i;i++){var s=o[i];if(1024>=s.length){var l=tq.test(s)?s.replace(tq,"$1"):s;if(!l.match(/\S*Error: /)){for(var d of a){var c=d(l,e);if(c){r.push(c);break}}if(r.length>=50)break}}}if(!r.length)return[];var u=Array.from(r);return u.reverse(),u.slice(0,50).map(e=>P({},e,{filename:e.filename||(u[u.length-1]||{}).filename,function:e.function||"?"}))}}("web:javascript",tW,tJ)),this._instance=e,this.ta=null!=(t=null==(a=this._instance.persistence)?void 0:a.get_property(ab))?t:[],this.ia=an(this.na()),this.sa=new ar(this.ia)}onConfigChange(){this.ia=an(this.na()),this.sa.setConfig(this.ia)}onRemoteConfig(e){var t,a,n;if(e.ok){var r=e.config;if("errorTracking"in r){var o=null!=(t=null==(a=r.errorTracking)?void 0:a.suppressionRules)?t:[],i=null==(n=r.errorTracking)?void 0:n.captureExtensionExceptions;this.ta=o,this._instance.persistence&&this._instance.persistence.register({[ab]:this.ta,[ay]:i}
1)}}}get oa(){var e,t=!!this._instance.get_property(ay),a=this._instance.config.error_tracking.captureExtensionExceptions;return null!=(e=null!=a?a:t)&&e}buildProperties(e,t){return this.ra.buildFromUnknown(e,{syntheticException:null==t?void 0:t.syntheticException,mechanism:{handled:null==t?void 0:t.handled}})}addExceptionStep(e,t){if(this.ia.enabled)try{if(!ev(e)||0===e.trim().length)return void se.warn("Ignoring exception step because message must be a non-empty string");var a=function(e){if(!e)return{sanitizedProperties:{},droppedKeys:[]};var t=[];return{sanitizedProperties:Object.keys(e).reduce((a,n)=>(at.has(n)?t.push(n):a[n]=e[n],a),{}),droppedKeys:t}}(this.aa(t)),n=a.sanitizedProperties,r=a.droppedKeys;r.length>0&&se.warn("Ignoring reserved exception step fields",{droppedKeys:r}),this.sa.add(P({[t7]:e,[ae]:(new Date).toISOString()},n))}catch(e){se.error("Failed to add exception step. Ignoring breadcrumb.",e)}}sendExceptionEvent(e){try{var t=e.$exception_list;if(this.la(t)){if(this.ua(t))return this.ha("Exception dropped: matched a suppression rule"),void se.info("Skipping exception capture because a suppression rule matched");if(!this.oa&&this.da(t))return this.ha("Exception dropped: thrown by a browser extension"),void se.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.ca(t))return this.ha("Exception dropped: thrown by the PostHog SDK"),void se.info("Skipping exception capture because it was thrown by the PostHog SDK")}var a=this.ia.enabled&&ex(e.$exception_steps)?this.va(e):e;try{var n=this._instance.capture("$exception",a,{_noTruncate:!0,_batchKey:"exceptionEvent",kn:!0});return n&&this.sa.clear(),n}catch(e){return se.error("Failed to capture exception event. Dropping this exception.",e),void this.sa.clear()}}catch(e){return void se.error("Failed to process exception event. Ignoring this exception.",e)}}va(e){try{var t=this.sa.getAttachable();return 0===t.length?e:P({},e,{$exception_steps:t})}catch(t){return se.error("Failed to read buffered exception steps. Capturing exception without steps.",t),e}}ha(e){this.ia.enabled&&this.sa.add({[t7]:e,[ae]:(new Date).toISOString()})}aa(e){return eh(e)?P({},e):{}}na(){var e,t;return null!=(e=null==(t=this._instance.config.error_tracking)?void 0:t.exception_steps)?e:{}}ua(e){if(0===e.length)return!1;var t=e.reduce((e,t)=>{var a=t.type,n=t.value;return ev(a)&&a.length>0&&e.$exception_types.push(a),ev(n)&&n.length>0&&e.$exception_values.push(n),e},{$exception_types:[],$exception_values:[]});return this.ta.some(e=>{var a=e.values.map(e=>{var a,n=o6[e.operator],r=ep(e.value)?e.value:[e.value],o=null!=(a=t[e.key])?a:[];return r.length>0&&n(r,o)});return"OR"===e.type?a.some(Boolean):a.every(Boolean)})}da(e){return e.flatMap(e=>{var t,a;return null!=(t=null==(a=e.stacktrace)?void 0:a.frames)?t:[]}).some(e=>e.filename&&e.filename.startsWith("chrome-extension://"))}ca(e){if(e.length>0){var t,a,n,r,o=null!=(t=null==(a=e[0].stacktrace)?void 0:a.frames)?t:[],i=o[o.length-1];return null!=(n=null==i||null==(r=i.filename)?void 0:r.includes("posthog.com/static"))&&n}return!1}la(e){return!ex(e)&&ep(e)}}},sl,{siteApps:class{constructor(e){this.ma=0,this._instance=e,this.ya=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}ba(e,t){if(t){var a=this.globalsForEvent(t);this.ya.push(a),this.ya.length>1e3&&(this.ya=this.ya.slice(10))}}get siteAppLoaders(){var e;return null==(e=A._POSTHOG_REMOTE_CONFIG)||null==(e=e[this._instance.config.token])?void 0:e.siteApps}initialize(){if(this.isEnabled){var e=this._instance._addCaptureHook(this.ba.bind(this));this._a=()=>{e(),this.ya=[],this._a=void 0}}}globalsForEvent(e){if(!e)throw Error("Event payload is required");var t,a,n,r,o,i,s,l={},d=this._instance.get_property("$groups")||[];for(var c of Object.entries(this._instance.get_property("$stored_group_properties")||{})){var u=c[0];l[u]={id:d[u],type:u,properties:c[1]}}var p=e.$set_once,m=e.$set;return{event:P({},L(e,iW),{properties:P({},e.properties,m?{$set:P({},null!=(t=null==(a=e.properties)?void 0:a.$set)?t:{},m)}:{},p?{$set_once:P({},null!=(n=null==(r=e.properties)?void 0:r.$set_once)?n:{},p)}:{}),elements_chain:null!=(o=null==(i=e.properties)?void 0:i.$elements_chain)?o:"",distinct_id:null==(s=e.properties)?void 0:s.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:l}}wa(e){var t,a=null==(t=e.tagName)?void 0:t.toLowerCase();return"style"===a&&this._instance.config.prepare_external_dependency_stylesheet?this._instance.config.prepare_external_dependency_stylesheet(e)||(iZ.error("prepare_external_dependency_stylesheet returned null"),null):"script"===a&&this._instance.config.prepare_external_dependency_script?this._instance.config.prepare_external_dependency_script(e)||(iZ.error("prepare_external_dependency_script returned null"),null):e}xa(){if(!this._instance.config.prepare_external_dependency_stylesheet&&!this._instance.config.prepare_external_dependency_script)return()=>{};var e,t,a,n,r,o,i,s,l=null==C?void 0:C.defaultView,d=null==l||null==(e=l.Node)?void 0:e.prototype;if(!l||!d)return()=>{};if(this.ma++,this.ka)return this.Sa();var c=[],u=this,p=new WeakSet,m=(e,t,a)=>{if(null!=e&&e[t]){var n=e[t];e[t]=a(n),c.push(()=>{e[t]=n})}},h=e=>{if(p.has(e))return e;var t=u.wa(e);return t&&p.add(t),t},g=e=>e.map(e=>"string"==typeof e?e:h(e)).filter(e=>!ey(e));return m(d,"appendChild",e=>function(t){var a=h(t);return a?e.call(this,a):t}),m(d,"insertBefore",e=>function(t,a){var n=h(t);return n?e.call(this,n,a):t}),m(d,"replaceChild",e=>function(t,a){var n=h(t);return n?e.call(this,n,a):a}),[null==(t=l.Element)?void 0:t.prototype,null==(a=l.Document)?void 0:a.prototype,null==(n=l.DocumentFragment)?void 0:n.prototype].forEach(e
1=>{m(e,"append",e=>function(){for(var t=arguments.length,a=Array(t),n=0;t>n;n++)a[n]=arguments[n];return e.apply(this,g(a))}),m(e,"prepend",e=>function(){for(var t=arguments.length,a=Array(t),n=0;t>n;n++)a[n]=arguments[n];return e.apply(this,g(a))})}),[null==(r=l.Element)?void 0:r.prototype,null==(o=l.CharacterData)?void 0:o.prototype,null==(i=l.DocumentType)?void 0:i.prototype].forEach(e=>{m(e,"before",e=>function(){for(var t=arguments.length,a=Array(t),n=0;t>n;n++)a[n]=arguments[n];return e.apply(this,g(a))}),m(e,"after",e=>function(){for(var t=arguments.length,a=Array(t),n=0;t>n;n++)a[n]=arguments[n];return e.apply(this,g(a))}),m(e,"replaceWith",e=>function(){for(var t=arguments.length,a=Array(t),n=0;t>n;n++)a[n]=arguments[n];var r=g(a);return a.length&&!r.length?void 0:e.apply(this,r)})}),m(null==(s=l.Element)?void 0:s.prototype,"insertAdjacentElement",e=>function(t,a){var n=h(a);return n?e.call(this,t,n):null}),this.ka=()=>{c.forEach(e=>e()),this.ka=void 0},this.Sa()}Sa(){var e=!1;return()=>{var t;e||(e=!0,this.ma--,0===this.ma&&(null==(t=this.ka)||t.call(this)))}}Ca(e,t){void 0===t&&(t=!0);var a=this.xa();try{var n=e(a);return t&&a(),n}catch(e){throw a(),e}}setupSiteApp(e){var t=this.apps[e.id],a=()=>{var a;!t.errored&&this.ya.length&&(iZ.info("Processing "+this.ya.length+" events for site app with id "+e.id),this.ya.forEach(e=>this.Ca(()=>null==t.processEvent?void 0:t.processEvent(e))),t.processedBuffer=!0),Object.values(this.apps).every(e=>e.processedBuffer||e.errored)&&(null==(a=this._a)||a.call(this))},n=!1,r=r=>{t.errored=!r,t.loaded=!0,iZ.info("Site app with id "+e.id+" "+(r?"loaded":"errored")),n&&a()};try{var o=this.Ca(t=>e.init({posthog:this._instance,callback(e){t(),r(e)}}),!1).processEvent;o&&(t.processEvent=o),n=!0}catch(t){iZ.error(iY+e.id,t),r(!1)}if(n&&t.loaded)try{a()}catch(a){iZ.error("Error while processing buffered events PostHog app with config id "+e.id,a),t.errored=!0}}Ta(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var a of e)this.setupSiteApp(a)}Ia(e){var t=this;if(0!==Object.keys(this.apps).length){var a=this.globalsForEvent(e),n=function(n){try{t.Ca(()=>null==n.processEvent?void 0:n.processEvent(a))}catch(t){iZ.error("Error while processing event "+e.event+" for site app "+n.id,t)}};for(var r of Object.values(this.apps))n(r)}}onRemoteConfig(e){var t,a,n,r=this;if(null!=(t=this.siteAppLoaders)&&t.length)return this.isEnabled?(this.Ta(),void this._instance.on("eventCaptured",e=>this.Ia(e))):void iZ.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if(null==(a=this._a)||a.call(this),e.ok){var o=e.config;if(null!=(n=o.siteApps)&&n.length)if(this.isEnabled)for(var i of o.siteApps)!function(){var e,t=i.id,a=i.url;A["__$$ph_site_app_"+t]=r._instance,null==(e=A.__PosthogExtensions__)||null==e.loadSiteApp||e.loadSiteApp(r._instance,a,e=>{if(e)return iZ.error(iY+t,e)})}();else iZ.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}}},sd,{tracingHeaders:class{constructor(e){this.Ma=void 0,this.Ea=void 0,this.Ra=void 0,this.Wo=()=>{var e,t,a=this.Pa();a?(ef(this.Ma)&&(this.Ma=null==(e=A.__PosthogExtensions__)||null==(e=e.tracingHeadersPatchFns)?void 0:e._patchXHR(a,()=>this._instance.get_distinct_id(),this._instance.sessionManager)),ef(this.Ea)&&(this.Ea=null==(t=A.__PosthogExtensions__)||null==(t=t.tracingHeadersPatchFns)?void 0:t._patchFetch(a,()=>this._instance.get_distinct_id(),this._instance.sessionManager))):this.Ko()},this._instance=e}initialize(){this.startIfEnabledOrStop()}er(e){var t,a;null!=(t=A.__PosthogExtensions__)&&t.tracingHeadersPatchFns?e():null==(a=A.__PosthogExtensions__)||null==a.loadExternalDependency||a.loadExternalDependency(this._instance,"tracing-headers",t=>{if(t)return iB.error("failed to load script",t);e()})}Oa(){var e,t;return null!=(e=null!=(t=this._instance.config.tracing_headers)?t:this._instance.config.addTracingHeaders)?e:this._instance.config.__add_tracing_headers}Pa(){var e=this.Oa();return ep(e)?(ep(this.Ra)?this.Ra.splice(0,this.Ra.length,...e):this.Ra=[...e],e.length>0?this.Ra:void 0):(ep(this.Ra)&&this.Ra.splice(0),this.Ra=e||void 0,this.Ra)}Ko(){var e,t;null==(e=this.Ma)||e.call(this),null==(t=this.Ea)||t.call(this),this.Ma=void 0,this.Ea=void 0}startIfEnabledOrStop(){this.Pa()?this.er(this.Wo):this.Ko()}}},{toolbar:class{constructor(e){this.instance=e}Za(e){A.ph_toolbar_state=e}Ga(){var e;return null!=(e=A.ph_toolbar_state)?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,a){if(void 0===e&&(e=void 0),void 0===t&&(t=void 0),void 0===a&&(a=void 0),nS(this.instance.config)||!x||!C)return!1;e=null!=e?e:x.location,a=null!=a?a:x.history;try{if(!t){try{x.localStorage.setItem("test","test"),x.localStorage.removeItem("test")}catch(e){return!1}t=null==x?void 0:x.localStorage}var n,r=i2||rR(e.hash,"__posthog")||rR(e.hash,"state"),o=r?nf(()=>JSON.parse(atob(decodeURIComponent(r))))||nf(()=>JSON.parse(decodeURIComponent(r))):null;return o&&"ph_authorize"===o.action?((n=o).source="url",n&&Object.keys(n).length>0&&(o.desiredHash?e.hash=o.desiredHash:a?a.replaceState(a.state,"",e.pathname+e.search):e.hash="")):((n=JSON.parse(t.getItem(i3)||"{}")).source="localstorage",delete n.userIntent),!(!n.token||this.instance.config.token!==n.token||(this.loadToolbar(n),0))}catch(e){return!1}}Qa(e){var t=A.ph_load_toolbar||A.ph_load_editor;!ex(t)&&em(t)?t(e,this.instance):i5.warn("No toolbar load function found")}loadToolbar(e){var t,a=!(null==C||!C.getElementById(nz));if(!x||a)return!1;var n="custom"===this.instance.requestRouter.region&&this.instance.config.advanced_disable_toolbar_metrics,r=P({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},n?{instrument:!1}:{});return(x.localStorage.setItem(i3,JSON.stringify(P({},r,{source:void 0}))),2===this.Ga())?this.Qa(r):0===this.Ga()&&(this.Za(1),null==(t=A.__PosthogExtensions__)||null==t.loadExternalDependency||t.loadExternalDependency(this.instance,"toolbar",e=>{e?(i5.error("[Toolbar] Failed to load",e),this.Za(0)):(this.Za(2),this.Qa(r))}),nx(x,"turbolinks:load",()=>{this.Za(0),this.loadToolbar(r)})),!0}Ja(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,a){return void 0===e&&(e=void 0),void 0===t&&(t=void 0),void 0===a&&(a=void 0),this.maybeLoadToolbar(e,t,a)}}},sc,{conversations:class{constructor(e){this.Ka=void 0,this._conversationsManager=null,this.Ya=!1,this.Xa=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_conversations&&e.ok){var t=e.config.conversations;ex(t)||(eC(t)?this.Ka=t:(this.Ka=t.enabled,this.Xa=t),this.loadIfEnabled())}}reset(){var e;null==(e=this._conversationsManager)||e.reset(),this._conversationsManager=null,this.Ka=void 0,this.Xa=null}loadIfEnabled(){if(!(this._conversationsManager||this.Ya||this._instance.config.disable_conversations||nS(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=null==A?void 0:A.__PosthogExtensions__;if(e&&!ef(this.Ka)&&this.Ka)if(this.Xa&&this.Xa.token){this.Ya=!0;try{var t=e.initConversations;if(t)return this.el(t),void(this.Ya=!1);var a=e.loadExternalDependency;if(!a)return void this.tl(ne);a(this._instance,"conversations",t=>{t||!e.initConversations?this.tl("Could not load conversations script",t):this.el(e.initConversations),this.Ya=!1})}catch(e){this.tl("Error initializing conversations",e),this.Ya=!1}}else sr.error("Conversations enabled but missing token in remote config.")}}
1el(e){if(this.Xa)try{this._conversationsManager=e(this.Xa,this._instance),sr.info("Conversations loaded successfully")}catch(e){this.tl("Error completing conversations initialization",e)}else sr.error("Cannot complete initialization: remote config is null")}tl(e,t){sr.error(e,t),this._conversationsManager=null,this.Ya=!1}show(){this._conversationsManager?this._conversationsManager.show():sr.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return!0===this.Ka&&!ey(this._conversationsManager)}isVisible(){var e,t;return null!=(e=null==(t=this._conversationsManager)?void 0:t.isVisible())&&e}sendMessage(e,t,a){var n=this;return B(function*(){return n._conversationsManager?n._conversationsManager.sendMessage(e,t,a):(sr.warn(so),null)})()}getMessages(e,t){var a=this;return B(function*(){return a._conversationsManager?a._conversationsManager.getMessages(e,t):(sr.warn(so),null)})()}markAsRead(e){var t=this;return B(function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(sr.warn(so),null)})()}getTickets(e){var t=this;return B(function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(sr.warn(so),null)})()}requestRestoreLink(e){var t=this;return B(function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(sr.warn(so),null)})()}restoreFromToken(e){var t=this;return B(function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(sr.warn(so),null)})()}restoreFromUrlToken(){var e=this;return B(function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(sr.warn(so),null)})()}getCurrentTicketId(){var e,t;return null!=(e=null==(t=this._conversationsManager)?void 0:t.getCurrentTicketId())?e:null}getWidgetSessionId(){var e,t;return null!=(e=null==(t=this._conversationsManager)?void 0:t.getWidgetSessionId())?e:null}En(){var e;null==(e=this._conversationsManager)||e.setIdentity()}Rn(){var e;null==(e=this._conversationsManager)||e.clearIdentity()}}},{logs:class{constructor(e){var t;this.rl=!1,this.il=!1,this.Ge=as("[logs]"),this.Gr=[],this.nl=[],this.Hs=0,this.sl=()=>{var e,t;this.Hs=0,null==(e=this.ol)||e.onReconnect(),null==(t=this.al)||t.onReconnect()},this._instance=e,this._instance&&null!=(t=this._instance.config.logs)&&t.captureConsoleLogs&&(this.rl=!0),x&&nx(x,"online",this.sl)}ll(e,t,a,n){var r,o,i,s,l,d,c,u,p,m,h,g,f,v,b=(r=null==(v=this._instance)||null==(v=v.config)?void 0:v.logs,p=null!=(o=null==r?void 0:r.flushIntervalMs)?o:3e3,m=null!=(i=null==r?void 0:r.maxBufferSize)?i:100,g=ef(h=null!=a&&a.consoleCapture?void 0:null!=(s=null==r?void 0:r.maxLogsPerInterval)?s:1e3)?Math.max(m,2048):Math.max(m,h),{serviceName:null!=(l=null!=(d=null==(f=null==r?void 0:r.resourceAttributes)?void 0:f["service.name"])?d:null==r?void 0:r.serviceName)?l:null==a?void 0:a.serviceNameDefault,serviceVersion:null!=(c=null==f?void 0:f["service.version"])?c:null==r?void 0:r.serviceVersion,environment:null!=(u=null==f?void 0:f["deployment.environment"])?u:null==r?void 0:r.environment,resourceAttributes:f,beforeSend:null==r?void 0:r.beforeSend,flushIntervalMs:p,maxBufferSize:m,maxQueueSize:g,maxBatchRecordsPerPost:100,rateCapWindowMs:p,maxLogsPerInterval:h,backgroundFlushBudgetMs:0,terminationFlushBudgetMs:0});return[new tP(this.ul(e,t),b,this.Ge,()=>this.hl(),e=>e(),void 0,n),b]}dl(){var e,t=null==(e=this._instance)||null==(e=e.config)?void 0:e.logs;if(!this.ol||this.cl!==t){null==(a=this.ol)||a.reset(),this.cl=t;var a,n=this.ll(()=>this.Gr,e=>{this.Gr=e});this.ol=n[0],this.vl=n[1]}return this.ol}fl(){var e,t=null==(e=this._instance)||null==(e=e.config)?void 0:e.logs;if(!this.al||this.pl!==t){null==(a=this.al)||a.reset(),this.pl=t;var a,n=this.ll(()=>this.nl,e=>{this.nl=e},{serviceNameDefault:"posthog-browser-logs",consoleCapture:!0},si);this.al=n[0],this.gl=n[1]}return this.al}initialize(){this.loadIfEnabled()}onRemoteConfig(e){var t;if(e.ok){var a=null==(t=e.config.logs)?void 0:t.captureConsoleLogs;!ex(a)&&a&&(this.rl=!0,this.loadIfEnabled())}}reset(){var e,t;this.Gr=[],null==(e=this.ol)||e.reset(),this.nl=[],null==(t=this.al)||t.reset(),this.Hs=0}captureLog(e){this.dl().captureLog(e)}le(e){this.fl().captureLog(e)}get logger(){return this.ml||(this.ml={trace:(e,t)=>this.captureLog({body:e,level:"trace",attributes:t}),debug:(e,t)=>this.captureLog({body:e,level:"debug",attributes:t}),info:(e,t)=>this.captureLog({body:e,level:"info",attributes:t}),warn:(e,t)=>this.captureLog({body:e,level:"warn",attributes:t}),error:(e,t)=>
1this.captureLog({body:e,level:"error",attributes:t}),fatal:(e,t)=>this.captureLog({body:e,level:"fatal",attributes:t})}),this.ml}flushLogs(e){e?this.yl(e):(this.ol&&this.ol.flush().catch(e=>this.Ge.error("PostHog logs flush failed:",e)),this.al&&this.al.flush().catch(e=>this.Ge.error("PostHog logs flush failed:",e)))}loadIfEnabled(){if(this.rl&&!this.il){var e=null==A?void 0:A.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",t=>{var a;t||null==(a=e.logs)||!a.initializeLogs?this.Ge.error("Could not load logs script",t):(e.logs.initializeLogs(this._instance),this.il=!0)}):this.Ge.error(ne)}else this.Ge.error("PostHog Extensions not found.")}}ul(e,t){var a=this._instance;return{get isDisabled(){return!1},get optedOut(){return!a.is_capturing()},getPersistedProperty:t=>t===V.LogsQueue?e():void 0,setPersistedProperty(e,a){e===V.LogsQueue&&t(null!=a?a:[])},Tt:e=>this.Tt(e),getLibraryId:()=>R.LIB_NAME,getLibraryVersion:()=>R.LIB_VERSION}}Tt(e){return new Promise(t=>{if(rO(this.Hs,3))t({kind:"fatal",error:Error("logs endpoint is unreachable, dropping batch")});else{var a=!1,n=e=>{a||(a=!0,clearTimeout(r),t(e))},r=setTimeout(()=>n({kind:"retry-later",error:Error("logs request timed out")}),9e4);this._instance._send_request({method:"POST",url:this.bl(),data:e,compression:"best-available",batchKey:"logs",fireCallbackOnDrop:!0,callback:e=>{var t,a=e.statusCode;(this._l(a),a>=200&&300>a)?n({kind:"ok"}):413===a?n({kind:"too-large"}):0!==a&&429!==a&&500>a?n({kind:"fatal",error:Error("logs request failed with status "+a)}):n({kind:"retry-later",error:null!=(t=e.error)?t:Error("logs request failed with status "+a)})}})}})}_l(e){(0!==e||this._instance.__loaded)&&(this.Hs=rB(e,this.Hs,3,()=>this.Ge.warn("Log requests are failing before receiving an HTTP response; this can happen due to network issues, CORS, browser blocking, or ad blockers. Stopped sending logs; will try again when connectivity changes.")))}yl(e){this.Gr.length>0&&this.wl(e,this.Gr,this.vl,R.LIB_NAME,e=>{this.Gr=e}),this.nl.length>0&&this.wl(e,this.nl,this.gl,si,e=>{this.nl=e})}wl(e,t,a,n,r){if(0!==t.length){var o=t.map(e=>e.record);r([]);var i=tB(o,tO(a,R.LIB_NAME,R.LIB_VERSION),n,R.LIB_VERSION);this._instance._send_request({method:"POST",url:this.bl(),data:i,compression:"best-available",batchKey:"logs",transport:e})}}bl(){return this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token)}hl(){var e,t={};if(t.distinctId=this._instance.get_distinct_id(),this._instance.sessionManager){var a=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0),n=a.windowId,r=a.sessionStartTimestamp,o=a.lastActivityTimestamp;t.sessionId=a.sessionId,t.windowId=n,ex(r)||(t.sessionStartTimestamp=r),ex(o)||(t.lastActivityTimestamp=o)}if(null!=A&&null!=(e=A.location)&&e.href&&(t.currentUrl=this._instance.config.disable_capture_url_hashes?tN(A.location.href):A.location.href),this._instance.featureFlags){var i=this._instance.featureFlags.getFlags();i&&i.length>0&&(t.activeFeatureFlags=i)}return t}}},{metrics:class{constructor(e){this.Ge=as("[metrics]"),this._instance=e}initialize(){}dl(){var e,t,a,n,r,o,i,s,l=null==(i=this._instance)||null==(i=i.config)?void 0:i.metrics;return this.ol&&this.cl===l||(null==(s=this.ol)||s.reset(),this.cl=l,this.ol=new tG(this.ul(),{serviceName:null!=(e=null==(o=null==l?void 0:l.resourceAttributes)?void 0:o["service.name"])?e:null==l?void 0:l.serviceName,serviceVersion:null!=(t=null==o?void 0:o["service.version"])?t:null==l?void 0:l.serviceVersion,environment:null!=(a=null==o?void 0:o["deployment.environment"])?a:null==l?void 0:l.environment,resourceAttributes:o,beforeSend:null==l?void 0:l.beforeSend,flushIntervalMs:null!=(n=null==l?void 0:l.flushIntervalMs)?n:1e4,maxSeriesPerFlush:null!=(r=null==l?void 0:l.maxSeriesPerFlush)?r:1e3},this.Ge)),this.ol}count(e,t,a){void 0===t&&(t=1),this.dl().count(e,t,a)}gauge(e,t,a){this.dl().gauge(e,t,a)}histogram(e,t,a){this.dl().histogram(e,t,a)}flush(e){if(!this.ol)return Promise.resolve();if(e){var t=this.ol.drainWindow();return t&&this.Bt(t,e),Promise.resolve()}return this.ol.flush().catch(e=>this.Ge.error("PostHog metrics flush failed:",e))}reset(){var e;null==(e=this.ol)||e.reset()}ul(){var e=this._instance,t=this;return{get isDisabled(){return!1},get optedOut(){return!e.is_capturing()},Bt:e=>t.Bt(e),getLibraryId:()=>R.LIB_NAME,getLibraryVersion:()=>R.LIB_VERSION}}Bt(e,t){return new Promise(a=>{var n=!1,r=e=>{n||(n=!0,clearTimeout(o),a(e))},o=setTimeout(()=>r({kind:"retry-later",error:Error("metrics request timed out")}),9e4);this._instance._send_request(P({method:"POST",url:this.xl(),data:e,compression:"best-available",batchKey:"metrics"},t&&{transport:t},{fireCallbackOnDrop:!0,callback(e){var t,a=e.statusCode;a>=200&&300>a?r({kind:"ok"}):413===a?r({kind:"too-large"}):0!==a&&429!==a&&500>a?r({kind:"fatal",error:Error("metrics request failed with status "+a)}):r({kind:"retry-later",error:null!=(t=e.error)?t:Error("metrics request failed with status "+a)})}}))})}xl(){return this._instance.requestRouter.endpointFor("api","/i/v1/metrics")+"?token="+encodeURIComponent(this._instance.config.token)}}});iN.__defaultExtensionClasses=P({},su);var sp=(R.SDK_DIST_CHANNEL="npm",hj=im[iw]=new iN,function(){function e(){e.done||(e.done=!0,iC=!1,nm(im,function(e){e._dom_loaded()}))}null!=C&&C.addEventListener?"complete"===C.readyState?e():nx(C,"DOMContentLoaded",e,{capture:!1}):x&&ai.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")}(),hj);let sm=new Set(["$pageleave","link_clicked","donate_button_clicked","popup_shown"]);function sh(e){return e&&sm.has(e.event)&&"off"===y.default.env.NEXT_PUBLIC_ENGAGEMENT_CAPTURE?null:e}let sg=!1;function sf(){return window.self!==window.top?null:(sg||(sp.init("phc_tQNXVHXkHs5Hwv6WXVtLRUBVjZn2Urr9kCmnm6FeKLbQ",{api_host:y.default.env.NEXT_PUBLIC_POSTHOG_HOST||"https://us.i.posthog.com",defaults:"2026-05-30",capture_pageview:!1,capture_pageleave:!0,autocapture:!1,disable_surveys:!0,persistence:"memory",before_send:sh}),sg=!0),sp)}function sv(e,t){sf()?.capture(e,t)}e.i(74384);var sb=e.i(87197),sy=e.i(88644);let sx=({onPasswordSubmit:e,error:t,isLoading:a})=>{let[n,r]=(0,b.useState)(""),o=async t=>{t.preventDefault(),await e(n)};return(0,h.jsx)("div",{style:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#f9fafb",fontFamily:"system-ui, -apple-system, sans-serif"}
1,children:(0,h.jsx)("div",{style:{maxWidth:"400px",width:"100%",padding:"2rem",backgroundColor:"white",borderRadius:"8px",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1)",margin:"1rem"},children:(0,h.jsxs)("form",{onSubmit:o,children:[(0,h.jsxs)("div",{style:{marginBottom:"1rem"},children:[(0,h.jsx)("label",{htmlFor:"password",style:{display:"block",fontSize:"0.875rem",fontWeight:"500",color:"#374151",marginBottom:"0.5rem"},children:"Password"}),(0,h.jsx)("input",{type:"password",id:"password",value:n,onChange:e=>r(e.target.value),required:!0,style:{width:"100%",padding:"0.5rem 0.75rem",border:"1px solid #d1d5db",borderRadius:"6px",fontSize:"1rem",outline:"none",boxSizing:"border-box"},onFocus:e=>e.target.style.borderColor="#3b82f6",onBlur:e=>e.target.style.borderColor="#d1d5db"})]}),t&&(0,h.jsx)("div",{style:{padding:"0.5rem",backgroundColor:"#fef2f2",border:"1px solid #fecaca",borderRadius:"6px",marginBottom:"1rem"},children:(0,h.jsx)("p",{style:{color:"#dc2626",fontSize:"0.875rem",margin:0},children:t})}),(0,h.jsx)("button",{type:"submit",disabled:a,style:{width:"100%",padding:"0.5rem 1rem",backgroundColor:a?"#9ca3af":"#3b82f6",color:"white",border:"none",borderRadius:"6px",fontSize:"0.875rem",fontWeight:"500",cursor:a?"not-allowed":"pointer",transition:"background-color 0.2s"},onMouseOver:e=>{a||(e.currentTarget.style.backgroundColor="#2563eb")},onMouseOut:e=>{a||(e.currentTarget.style.backgroundColor="#3b82f6")},children:a?"Checking...":"Submit"})]})})})};var sS=e.i(78540),sw=e.i(7622);let sC=()=>{let e=(0,b.useRef)(!1);return(0,b.useEffect)(()=>{let t=t=>{("Tab"===t.key||"Enter"===t.key||" "===t.key)&&(e.current=!0)},a=()=>{e.current=!1};return window.addEventListener("keydown",t),window.addEventListener("mousedown",a),()=>{window.removeEventListener("keydown",t),window.removeEventListener("mousedown",a)}},[]),e};var sT=e.i(90620),s$=e.i(35985),sE=e.i(51221),sI=e.i(61572),sN=e.i(38299),s_=e.i(9392),sk=e.i(79328);e.i(56453);var sM=e.i(14385),sA=e.i(96224);e.i(13481);var sR=e.i(79158),sO=e.i(63032),sB=e.i(34956),sP=e.i(50822),sL=e.i(9929),sD=e.i(37846),sj=e.i(30115),sG=e.i(39128);e.i(27313);var sF=e.i(75209);e.i(31987);var sH=e.i(46195),sU=e.i(5807);function sK({blockData:e,handleOpen:t,flipLayout:a=!1,isHeroVideo:n=!1,homeHeroBlockId:r,textShadowColor:o,playButtonColor:i,bgColor:s}){let l,d,c,{theme:u}=(0,sB.useSiteTheme)(),{palette:p}=(0,sO.useSiteColorPalette)(),m=s??e?.bgColor,g=e?.videoButtonStyle||"filled",f=i??e?.playButtonColor;if(void 0!==f&&String(f).includes("bg"))switch(g){case"filled":d=f;break;case"bordered":l=f,c=e?.playButtonBorderColor?.includes("bg")&&e?.playButtonBorderColor!==void 0?e?.playButtonBorderColor:p?.[m]?.[sk.COLOR_DEFAULTS.playButton.bordered.borderColor]}else switch(g){case"filled":d=p?.[m]?.[sP.CssVarMap.get(sk.COLOR_DEFAULTS.playButton.filled.backgroundColor)];break;case"bordered":c=e?.playButtonBorderColor?.includes("bg")&&e?.playButtonBorderColor!==void 0?e?.playButtonBorderColor:p?.[m]?.[sk.COLOR_DEFAULTS.playButton.bordered.borderColor]}let v=p?.[m]?.bgButtonBackgroundHover,b=p?.[v]?.bg,y="text"===l?p?.[m]?.bgText:p?.[l]?.bg;b===y&&(v=p?.[m]?.bgButtonBackground);let{filteredBgColors:x}=(0,sL.getMissingBgColors)(m,"text"===l&&y&&p?(0,sL.getMatchingBgColor)(y,p):l,d),S=function(e){if(!e||"string"!=typeof e)return null;let t=e.replace("#","");if(6!==t.length)return null;let a=parseInt(t.slice(0,2),16),n=parseInt(t.slice(2,4),16),r=parseInt(t.slice(4,6),16);return[a,n,r].some(e=>Number.isNaN(e))?null:{r:a,g:n,b:r}}(o),w=S&&r?{textShadow:`0px 0px 40px rgba(${S.r}, ${S.g}, ${S.b}, calc(var(--slider-text-shadow-opacity-${r}, 0) / 100)),
2                     0px 0px 40px rgba(${S.r}, ${S.g}, ${S.b}, calc(var(--slider-text-shadow-opacity-${r}, 0) / 100))`}:void 0,C=`var(--color-${x[x.length-1]})`,T=`var(--color-${x[x.length-1]}-text)`,$=`var(--color-${sk.COLOR_DEFAULTS.playButton.bordered.borderColorHover})`,E=`var(--color-${sk.COLOR_DEFAULTS.playButton.bordered.iconColorHover})`,I={"--vib-icon":"bordered"===g?l?`var(--color-${l})`:`var(--color-${sk.COLOR_DEFAULTS.playButton.bordered.iconColor})`:`var(--color-${sk.COLOR_DEFAULTS.playButton.filled.iconColor})`,"--vib-icon-hover":"filled"===g?T:E,"--vib-bg-hover":"filled"===g?C:$,"--vib-border":c?`var(--color-${c})`:"var(--color-headline-secondary)","--vib-pulse-color":"filled"===g?"var(--color-bg)":c?`var(--color-${c})`:"var(--color-headline-secondary)",outlineColor:"filled"===g&&l?`var(--color-${l})`:c?`var(--color-${c})`:"var(--color-text)"},N=(0,sG.cn)("absolute z-30 flex items-center gap-4",n?"bottom-[5%]":"bottom-[
21.5em]",a?n?"left-[5%]":"left-[1.5em]":n?"right-[5%]":"right-[1.5em]","max-md:bottom-[3vw] max-md:right-[3vw]","max-sm:bottom-[5vw] max-sm:right-[5vw]"),_=(0,sG.cn)("video-button-text font-button relative z-[1] uppercase font-bold tracking-[0.1em] mb-0","text-[color:var(--color-text)]","text-[calc((0.8vw+8px)*var(--button-font-size-multiplier))] min-w-[100px] max-w-[30vw]","max-sm:[font-size:var(--tw-font-size-button)] max-sm:max-w-[50vw]"),k=(0,sG.cn)("video-icon-button group relative z-[5] p-0","flex items-center justify-center",n?"w-[calc(40px+3.5vw)] h-[calc(40px+3.5vw)]":"w-[calc(40px+3vw)] h-[calc(40px+3vw)]","max-sm:w-[calc(44px+6vw)] max-sm:h-[calc(44px+6vw)]","transition-[background,outline,transform] duration-200 ease-out","focus-visible:outline-dashed focus-visible:outline-2","filled"===g?"focus-visible:outline-offset-[-4px]":"focus-visible:outline-offset-2",function(e){switch(e){case sD.THEME_CORNERS.ROUNDED:case sD.THEME_CORNERS.NONE:return"rounded-full";case sD.THEME_CORNERS.HALF_ROUNDED:return"rounded-tr-none rounded-bl-none rounded-tl-[20%] rounded-br-[20%]";default:return"rounded-full"}}(u?.corners)),M=(0,sG.cn)("bg-[var(--color-bg)] shadow-[0_0_0_0_var(--color-bg)]"),A=(0,sG.cn)("bg-transparent border-2","border-[color:var(--vib-border)]","shadow-[0_0_0_0_var(--vib-border)]"),R=n&&e?.animatePlayButton?"animate-vib-pulsing [transform-origin:center]":"";return(0,h.jsxs)("div",{className:N,children:[e?.showVideoButtonLabel&&(0,h.jsx)("div",{className:a?"order-2":"order-1",style:w,children:(0,h.jsx)(sU.default,{className:_,value:e?.videoButtonText||"Watch Now",name:"videoButtonText",toolbarOption:"headlinesOnly",charLimit:35,allowAllColors:!0,alignToolbarRight:!a,blockData:e})}),(0,h.jsx)(sj.Button,{type:"button",variant:"link",onClick:t,"data-track-click":"video","aria-label":e?.videoButtonText||"Play video",className:(0,sG.cn)(a?"order-1":"order-2",k,R,"filled"===g&&d?`color-${d}`:"","filled"===g?M:A),style:I,children:(0,h.jsx)(sF.Icon,{src:sH.SocialIconVideo,className:"absolute left-[50%] top-[50%] ml-[5%] h-auto w-[35%] -translate-x-[50%] -translate-y-[50%] transform"})})]})}var sz=e.i(26019);e.i(60673);var sV=e.i(70380),sW=e.i(51670),sZ=e.i(12860),sY=e.i(85280);let sJ=(0,sW.styled)("div",{label:"ImageContainer",...sZ.transientOptions})`
3  position: relative;
4  width: ${e=>e?.style?.width??"100%"};
5  margin: 0 auto;
6  display: flex;
7  justify-content: center;
8  align-items: center;
9
10  img {
11    ${e=>e.$dropShadow&&`box-shadow: ${e.$dropShadow}`};
12    ${e=>e.$isRound&&"border-radius: 50%"};
13    ${e=>e.$border&&e.$border.hasBorder?`border: ${e.$border.borderWidth} solid ${e.$border.borderColor} !important;`:""};
14  }
15
16  ${e=>e.$border&&e.$border.hasDoubleBorder?`
17          &::before {
18            content: '';
19            background: ${e.$border.outlineColor};
20            background-size: 100% 100%;
21            position: absolute;
22            top: -2px;
23            left: -2px;
24            height: calc(100% + 4px);
25            width: calc(100% + 4px);
26            z-index: 0;
27            border-radius: 50%;
28          }
29        `:""}
30
31  span.is-bg-image {
32    box-sizing: border-box;
33    display: block;
34    overflow: hidden;
35    width: initial;
36    height: initial;
37    background: none;
38    opacity: 1;
39    border: 0px;
40    margin: 0px;
41    padding: 0px;
42    position: absolute;
43    inset: 0px;
44
45    img {
46      position: absolute;
47      inset: 0px;
48      box-sizing: border-box;
49      padding: 0px;
50      border: none;
51      margin: auto;
52      display: block;
53      width: 0px;
54      height: 0px;
55      min-width: 100%;
56      max-width: 100%;
57      min-height: 100%;
58      max-height: 100%;
59      object-fit: cover;
60    }
61  }
62
63  span.is-video {
64    overflow: visible !important;
65    z-index: ${sA.default.zindex.abovePage};
66    box-sizing: border-box;
67    display: block;
68    width: initial;
69    height: initial;
70    background: none;
71    opacity: 1;
72    border: 0px;
73    margin: 0px;
74    padding: 0px;
75    position: absolute;
76    inset: 0px;
77  }
78
79  ${({theme:e})=>e.breakpoints.down("md")} {
80    ${e=>e?.style?.minHeight?`min-height: ${e?.style?.minHeight};`:""}
81  }
82`,sq=({src:e,height:t,width:a,isRound:n,border:r,dropShadow:o,isBgImage:i,alt:s,style:l,title:d,objectFit:c="cover",objectPosition:u="center",priority:p,loading:m="eager",sizes:g,isImgix:f=!0})=>{let v=(0,sY.useImageSize)(e),b=f?v:{aspectRatio:(0,sZ.parseUnit)(a).value/(0,sZ.parseUnit)(t).value,height:(0,sZ.parseUnit)(t).value,width:(0,sZ.parseUnit)(a).value},y="auto"===(0,sZ.parseUnit)(t).unit,x=Number.isFinite(b.aspectRatio)&&b.aspectRatio>0,S=(0,sI.default)(e)?(0,h.jsx)(h.Fragment,{}):(0,h.jsx)(sz.default,{src:e,alt:s,title:d,fill:!0,quality:75,style:{objectFit:c,objectPosition:u},priority:p,loading:m,sizes:g,fetchPriority:p?"high":void 0,loader:e.includes("imgix")?sV.imgixLoader:void 0});return(0,h.jsx)(sJ,{$isRound:n,$border:r,$dropShadow:o,style:{height:y?"auto":t,...y&&x?{aspectRatio:`${b.aspectRatio}`}:{},width:a||"100%",...l},children:i?(0,h.jsx)("span",{className:"is-bg-image",children:S}):S})},sX=new Set(["srcdoc"]);function sQ(e){if(!e)return"";try{let t=new DOMParser().parseFromString(e,"text/html").querySelector("iframe");
82if(!t||!(t.getAttribute("src")||"").toLowerCase().startsWith("https://"))return"";for(let e of Array.from(t.attributes)){let a=e.name.toLowerCase();(sX.has(a)||a.startsWith("on"))&&t.removeAttribute(e.name)}return t.outerHTML}catch{return""}}let s0=({blockData:e,embedCode:t="",url:a="",linkToUrl:n=!1,openInNewTab:r=!1,open:o,onClose:i,displayIconButton:s=!0,flipLayout:l=!1,playButtonColor:d,hasMaxHeight:c=!1,isHeroVideo:u=!1,homeHeroBlockId:p,textShadowColor:m,bgColor:g,playInline:f=!1,...v})=>{let x=(0,sE.useTheme)(),S=(0,sR.useMediaQuery)(x.breakpoints.down(sA.default.breakpoints.values.sm)),{createUrl:w,navigate:C}=(0,sb.useNavigation)(),T=(0,s_.usePublishedSiteLink)(),[$,E]=(0,b.useState)(!1),[I,N]=(0,b.useState)(t||""),[_,k]=(0,b.useState)(!1),M=b.default.useRef(null),A=sC(),R=b.default.useRef(null),O=b.default.useRef(null),B=b.default.useRef(null),[P,L]=(0,b.useState)(!1);(0,b.useEffect)(()=>{if(!$)return;let e=R.current?.querySelector("iframe");B.current=e,e&&(e.tabIndex=0,e.getAttribute("title")||e.setAttribute("title","Video player"))},[$,I]),(0,b.useEffect)(()=>{$&&L(!1)},[$]),(0,b.useEffect)(()=>{$&&(M.current=document.activeElement)},[$]),(0,b.useEffect)(()=>{"boolean"==typeof o&&E(o)},[o]);let D=(0,b.useMemo)(()=>(0,s$.extractVideoWidthHeight)(t||""),[t]),j=D?.aspectRatio||16/9;(0,b.useEffect)(()=>{N(sQ(t||""))},[t]),(0,b.useEffect)(()=>{n&&a?k(!1):f&&(0,sI.default)(v.src)?k(!0):k(!1)},[f,v.src,t,n,a]);let G=()=>{if(!n||!a)return"";let{as:e,linkType:t}=w({url:a});return"true"===y.default.env.NEXT_PUBLIC_IS_CMS&&(t===sM.HyperlinkType.PDF||t===sM.HyperlinkType.File)?T+a:e},F=()=>{f?((0,sI.default)(v.src)||N(function(e){try{let t=new DOMParser().parseFromString(e,"text/html").querySelector("iframe");if(t?.src){let e=new URL(t.src);return e.searchParams.set("autoplay","1"),t.src=e.toString(),t.outerHTML}return e}catch{return e}}(sQ(t||""))),k(!0)):E(!0)},H=()=>{E(!1),(0,sN.default)(i)&&i(),setTimeout(()=>{N(sQ(t||""))},150)},U=S?{width:"100vw",height:`calc(100vw / ${j})`}:{width:`min(var(--availW), calc(var(--availH) * ${j}))`,height:`min(var(--availH), calc(var(--availW) / ${j}))`},K=n&&a;return(0,h.jsx)(h.Fragment,{children:f&&!K?(0,h.jsx)(h.Fragment,{children:""!==I&&(0,h.jsxs)("div",{className:"relative max-w-full",style:{width:v.width,paddingTop:v.height},children:[!(0,sI.default)(v.src)&&(0,h.jsxs)("div",{className:"absolute inset-0 z-[1] overflow-hidden transition-all duration-300",style:{opacity:+!_,visibility:_?"hidden":"visible"},children:[(0,h.jsx)(sq,{src:v.src,...v,style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"}}),s&&(0,h.jsx)(sK,{blockData:e,handleOpen:F,flipLayout:l,isHeroVideo:u,homeHeroBlockId:p,textShadowColor:m,playButtonColor:d,bgColor:g})]}),_&&(0,h.jsx)("div",{className:"absolute inset-0 [&_iframe]:absolute [&_iframe]:inset-0 [&_iframe]:h-full [&_iframe]:w-full [&_iframe]:border-0",dangerouslySetInnerHTML:{__html:I}})]})}):K?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("span",{className:["relative flex items-center overflow-hidden w-full sm:w-auto",c?"max-h-[80vh]":""].join(" "),style:{width:v.width,height:v.height},children:(0,h.jsx)(sq,{...v,src:(0,sI.default)(v.src)?sk.VIDEO_PLACEHOLDER_IMAGE:v.src})}),s&&(0,h.jsx)("a",{href:G(),target:r||"true"===y.default.env.NEXT_PUBLIC_IS_CMS&&w({url:a}).isExternal?"_blank":void 0,rel:r||"true"===y.default.env.NEXT_PUBLIC_IS_CMS&&w({url:a}).isExternal?"noopener noreferrer":void 0,onClick:e=>{let{isExternal:t}=w({url:a});t||(e.preventDefault(),C({url:a})),"true"===y.default.env.NEXT_PUBLIC_IS_CMS&&t&&!r&&(e.preventDefault(),window.open(G(),"_blank","noopener,noreferrer"))},className:"contents",children:(0,h.jsx)(sK,{blockData:e,handleOpen:()=>{},flipLayout:l,isHeroVideo:u,homeHeroBlockId:p,textShadowColor:m,playButtonColor:d,bgColor:g})})]}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("span",{className:["relative flex items-center overflow-hidden w-full sm:w-auto",c?"max-h-[80vh]":""].join(" "),style:{width:v.width,height:v.height},children:(0,h.jsx)(sq,{...v,src:(0,sI.default)(v.src)?sk.VIDEO_PLACEHOLDER_IMAGE:v.src})}
82),s&&(0,h.jsx)(sK,{blockData:e,handleOpen:F,flipLayout:l,isHeroVideo:u,homeHeroBlockId:p,textShadowColor:m,playButtonColor:d,bgColor:g}),(0,h.jsx)(sT.Dialog,{open:$,onOpenChange:e=>e?E(!0):H(),children:(0,h.jsxs)(sT.DialogContent,{className:"left-0 top-0 h-[100dvh] w-screen max-w-none translate-x-0 translate-y-0 border-0 bg-transparent p-0 shadow-none",closeIconClassName:"!text-white",overlayClassName:S?"bg-black":void 0,style:{"--pad":"clamp(16px, 2vw, 28px)","--x-icon-space":"100px","--availW":"calc(100vw - (2 * var(--pad)))","--availH":"calc(100dvh - (2 * var(--pad)) - var(--x-icon-space) - env(safe-area-inset-top) - env(safe-area-inset-bottom))"},onOpenAutoFocus:e=>{e.preventDefault(),O.current?.focus()},onPointerDownOutside:e=>{H()},onEscapeKeyDown:e=>{H()},onCloseAutoFocus:e=>{e.preventDefault();var t=M.current;if(t)try{t.focus({preventScroll:!0})}catch{t.focus()}},isKeyboardUserRef:A,children:[(0,h.jsx)(sT.DialogTitle,{ref:O,className:"sr-only",children:"Video player"}),(0,h.jsx)("div",{ref:R,className:"relative grid h-full w-full place-items-center p-[var(--pad)] max-md:p-0",onClick:e=>{e.target===e.currentTarget&&H()},children:(0,h.jsx)("div",{className:"box-border overflow-hidden border-[clamp(8px,1vw,16px)] border-white bg-black max-md:border-0",style:U,children:(0,h.jsx)("div",{className:"relative h-full w-full [&_iframe]:absolute [&_iframe]:inset-0 [&_iframe]:h-full [&_iframe]:w-full [&_iframe]:border-0",dangerouslySetInnerHTML:{__html:I}})})})]})})]})})},s1=()=>{let{isOpen:e,embedCode:t,closePopup:a}=(0,sS.usePopup)(),n=(0,b.useRef)(null),r=(0,b.useMemo)(()=>(0,s$.extractVideoWidthHeight)(t||""),[t]),o=r?.aspectRatio||16/9,i={width:`min(var(--availW), calc(var(--availH) * ${o}))`,height:`min(var(--availH), calc(var(--availW) / ${o}))`};return(0,h.jsx)(sT.Dialog,{open:e,onOpenChange:e=>!e&&a(),children:(0,h.jsxs)(sT.DialogContent,{className:"left-0 top-0 h-[100dvh] w-screen max-w-none translate-x-0 translate-y-0 border-0 bg-transparent p-0 shadow-none",closeIconClassName:"!text-white",style:{"--pad":"clamp(16px, 2vw, 28px)","--x-icon-space":"100px","--availW":"calc(100vw - (2 * var(--pad)))","--availH":"calc(100dvh - (2 * var(--pad)) - var(--x-icon-space) - env(safe-area-inset-top) - env(safe-area-inset-bottom))"},onOpenAutoFocus:e=>{e.preventDefault(),n.current?.focus()},onPointerDownOutside:a,onEscapeKeyDown:a,children:[(0,h.jsx)(sT.DialogTitle,{ref:n,className:"sr-only",children:"Video player"}),(0,h.jsx)("div",{className:"relative grid h-full w-full place-items-center p-[var(--pad)]",onClick:e=>{e.target===e.currentTarget&&a()},children:(0,h.jsx)("div",{className:"box-border overflow-hidden border-[clamp(8px,1vw,16px)] border-white bg-black max-md:border-0",style:i,children:(0,h.jsx)("div",{className:"relative h-full w-full [&_iframe]:absolute [&_iframe]:inset-0 [&_iframe]:h-full [&_iframe]:w-full [&_iframe]:border-0",dangerouslySetInnerHTML:{__html:sQ(t||"")}})})})]})})};e.i(51159);var s2=e.i(49308);let s3=e=>!!e&&["basic","accordion"].includes(e.tags[0]),s5=(0,b.createContext)(null),s4=()=>{let e=(0,b.useContext)(s5),{data:t}=s2.trpc.icon.list.useQuery(void 0,{staleTime:3e5,refetchOnWindowFocus:!1,enabled:!e}),a=(0,b.useMemo)(()=>e??t??[],[e,t]),n=(0,b.useMemo)(()=>new Map(a.map(e=>[e.name,e])),[a]);return{icons:a,byName:n,isLoaded:!!e||!!t}};var s6=e.i(62686),s6=s6,s8=e.i(81099),s9=e.i(69718),s7=e.i(68489),le=b,lt=e.i(6462),la=e.i(91135),la=la,ln=e.i(34469),lr=e.i(17563),lo=e.i(58585),li=e.i(74872),ls=e.i(12186);let ll=(0,sW.styled)(lr.Box,{label:"AnnouncementBox",...sZ.transientOptions})`
83  position: relative;
84`,ld=(0,sW.styled)(li.Grid,{label:"AnnouncementImage",...sZ.transientOptions})`
85  overflow: hidden;
86  // Corners
87  ${e=>e.$corners===sD.THEME_CORNERS.ROUNDED&&e.$isRightSide&&e.$isLast&&`
88    border-radius: 0 0 0 .4em;
89  `}
90
91  ${e=>e.$corners===sD.THEME_CORNERS.ROUNDED&&!e.$isRightSide&&e.$isLast&&`
92    border-radius: 0 0 .4em 0;
93  `}
94
95  ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&e.$isRightSide&&e.$isLast&&`
96    border-radius: 0 0 0 .4em;
97  `}
98
99  ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&!e.$isRightSide&&e.$isLast&&`
100    border-radius: 0;
101  `}
102
103  ${({theme:e})=>e.breakpoints.down("sm")} {
104    border-radius: 0;
105  }
106`,lc=(0,sW.styled)(li.Grid,{label:"AnnouncementItem",...sZ.transientOptions})`
107  color: var(--color-text);
108
109  // Corners
110  ${e=>e.$corners===sD.THEME_CORNERS.ROUNDED&&e.$isRightSide&&e.$isLast&&`
111    border-radius: 0 0 .4em 0;
112  `}
113
114  ${e=>e.$corners===sD.THEME_CORNERS.ROUNDED&&!e.$isRightSide&&e.$isLast&&`
115    border-radius: 0 0 0 .4em;
116  `}
117
118  ${e=>
118e.$corners===sD.THEME_CORNERS.ROUNDED&&(e.$hasBackgroundImage||!e.$showImages)&&e.$isLast&&`
119    border-radius: 0 0 .4em .4em;
120  `}
121
122  ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&e.$isRightSide&&e.$isLast&&`
123    border-radius: 0;
124  `}
125
126  ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&!e.$isRightSide&&e.$isLast&&`
127    border-radius: 0 0 0 .4em;
128  `}
129
130  ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&(e.$hasBackgroundImage||!e.$showImages)&&e.$isLast&&`
131    border-radius: 0 0 0 .4em;
132  `}
133
134  ${({theme:e})=>e.breakpoints.down("sm")} {
135    ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&e.$isLast&&`
136      border-radius: 0 0 0 .4em;`}
137    ${e=>e.$corners===sD.THEME_CORNERS.ROUNDED&&e.$isLast&&"border-radius: 0 0 .4em .4em;"}
138  }
139
140  background: var(--color-bg);
141  position: relative;
142  padding: var(--standard-padding-vert) var(--medium-padding);
143
144  ${e=>e.$hasTopPadding?"":"padding-top: 0;"}
145
146  ${e=>e.$collapseBottomPadding?"padding-bottom: calc(var(--standard-padding-vert) / 3 * 2);":""}
147
148  text-align: ${e=>e.$showImages&&!e.$hasBackgroundImage&&!e.$isMobile||e.$hasBackgroundImage?"left":"center"};
149
150  & .eyebrow-rule {
151    ${e=>e.$showImages&&!e.$hasBackgroundImage&&!e.$isMobile||e.$hasBackgroundImage?`&:after {
152            left: calc(var(--medium-padding) * -1);
153            right: auto;
154            width: calc(100% + var(--medium-padding));
155          }`:""}
156  }
157
158  & [data-field='title'] {
159    margin-bottom: ${e=>e.$hasFeaturedLink?"1.75em":"0"};
160  }
161`,lu=(0,sW.styled)(lr.Box,{label:"BorderBannerWrapper",...sZ.transientOptions})`
162  ${({$outerBg:e,$innerBg:t,$showBorder:a})=>`
163    ${!a?`
164        .announcement-border, .announcement-banner {
165          display: none;
166        }
167      `:""}
168    .announcement-border, .announcement-banner {
169      background: var(--color-${e}-${t}-border-single);
170      
171      span {
172        color: var(--color-${e}-${t}-border-single-text);
173      } 
174    }
175    `}
176`,lp=(0,sW.styled)(lr.Box,{label:"AnnouncementBorder",...sZ.transientOptions})`
177  position: absolute;
178  top: 0;
179  left: ${e=>e.$hasBackgroundImage&&e.$isRightSide?"50%":"0"};
180  width: ${e=>e.$hasBackgroundImage?"50%":"100%"};
181  height: 0.8vw;
182  min-height: 12px;
183  z-index: 1;
184`,lm=(0,sW.styled)(lr.Box,{label:"AnnouncementBanner",...sZ.transientOptions})`
185  position: absolute;
186  top: ${e=>"calc("+-.0278*e.$bannerLength+"em - 0.444em)"};
187  left: ${e=>e.$hasBackgroundImage&&e.$isRightSide?"calc(50% - 1em)":"-1em"};
188  text-align: center;
189  font-weight: var(--font-weight-bold);
190  /* Also the em basis for the ribbon geometry above/below */
191  font-size: var(--tw-font-size-button);
192  padding: 0.3em 0.8em 0.3em 0.8em;
193  white-space: nowrap;
194  transform: ${e=>"skew("+e.$degree+"deg) rotate("+e.$degree+"deg)"};
195  z-index: 2;
196
197  ${({theme:e})=>e.breakpoints.down("sm")} {
198    top: -1em;
199    left: calc(-0.7em + var(--standard-padding-horiz));
200    font-size: var(--tw-font-size-button-sm);
201  }
202`,lh=(0,sW.styled)("div",{label:"StyledIntroWrapper",...sZ.transientOptions})`
203  ${e=>e.$disableMargin?`
204    & > div {
205      margin-bottom: 0;
206    }
207  `:`
208    &:not(:last-child) > div {
209      margin-bottom: ${e.$smallBottomMargin?"3vw":"var(--small-padding)"} ;
210    }
211  `}
212
213  ${({theme:e})=>e.breakpoints.down("md")} {
214    ${e=>e.$disableMargin?"":`
215    &:not(:last-child) > div {
216      margin-bottom: ${e.$smallBottomMargin?"3vw":"var(--small-padding)"} ;
217    }
218  `}
219  }
220
221  ${({theme:e})=>e.breakpoints.up("sm")} {
222    margin-left: var(--standard-padding-horiz);
223    margin-right: var(--standard-padding-horiz);
224  }
225`,lg=(0,sW.styled)("div",{label:"StyledIntroContainer",...sZ.transientOptions})`
226  text-align: ${e=>e.$alignment};
227
228  /* Remove trailing margin on the last element, except the rich-text
229     description whose paragraphs keep their own spacing. */
230  > div:last-child:not(.description-container) {
231    h2,
232    h6,
233    p {
234      margin-bottom: 0 !important;
235    }
236  }
237
238  h2 {
239    width: 100%;
240    margin-bottom: 0.25em;
241
242    ${({$blockId:e})=>e&&`
243      font-size: calc(var(--tw-font-size-headline-lg) + var(--slider-headline-${e}, 0) * 0.075vw) !important;
244    `}
245
246    ${({theme:e})=>e.breakpoints.down("md")} {
247      ${({$blockId:e})=>e&&`
248          font-size: calc(var(--tw-font-size-headline-lg) + var(--slider-headline-${e}, 0) * 0.05vw) !important;
249      `}
250    }
251  }
252
253  /* [data-field='…'] is the field wrapper emitted by BlockTextField (the
254     identity attribute that replaces the legacy name-as-class hook). This
255     container is the pilot of that migration — new selectors should use it. */
256  & [data-field='eyebrow'] h6 {
257    text-align: ${e=>e.$alignment};
258    margin-bottom: 0.35em;
259
260    ${({$blockId:e})=>e&&`
261      font-size: calc(var(--tw-font-size-eyebrow) + var(--slider-eyebrow-${e}, 0) * 0.015vw) !important;
262    `}
263  }
264
265  .section-default-color {
266    color: var(--color-text);
267  }
268
269  /* Declarations that sat on the inner editor element now sit on the field
270     wrapper: max-width/margin constrain from outside, text-align/font-size
271     inherit down (the editor content is font-size: inherit). */
272  & [data-field='description'] {
273    text-align: ${e=>e.$alignment};
274    ${e=>"center"===e.$alignment&&"margin-left: auto; margin-right: auto;"}
275    max-width: 700px;
276
277    ${({$blockId:e})=>e&&`
278      font-size: calc(var(--tw-font-size-body) + var(--slider-description-${e}, 0) * 0.01vw) !important;
279    `}
280  }
281
282  .MuiContainer-root {
283    max-width: 800px;
284  }
285
286  ${({theme:e})=>e.breakpoints.down("sm")} {
287    h2 {
288      font-size: calc(7.5vw * var(--header-font-size-multiplier));
289    }
290  }
291`,lf=(0,sW.styled)("div",{label:"Date"})`
292  border: 1px solid var(--color-flourish-primary);
293  color: var(--color-text-accent-primary);
294  display: inline-block;
295  font-weight: var(--font-weight-black);
296  letter-spacing: 0.1em;
297  margin-bottom: 0.8em;
298  padding: 0.4em 0.6em;
299  text-transform: uppercase;
300  font-family: var(--font-family-button);
301
302  ${({theme:e})=>e.breakpoints.down("sm")} {
303    border: none;
304    padding: 0;
305    align-self: center;
306  }
307`,lv=({condition:e,disableMargin:t,children:a,blockData:n})=>e?(0,h.jsx)(lh,{$disableMargin:t,$smallBottomMargin:"top-small"===n.marginTop,children:a}):(0,h.jsx)(h.Fragment,{children:a}),lb=({block:e,blockData:t,disablePadding:a,hasStyledWrapper:n=!1,disableMargin:r=!1,showAllOverride:o,showPageDescription:i,shouldAlignLeft:s=!1,list:l,listKey:d,charLimit:c,toolbarOption:u,toolbarComponents:p,disabled:m=!1,allowAllColors:g=!1,className:f,isNarrowEditor:v=!1})=>(0,h.jsx)(lv,{condition:n,disableMargin:r,blockData:t,children:!1!==t.headlineOn||!1!==t.showDescription||!1!==t.showEyebrow?(0,h.jsxs)(lg,{$disablePadding:a||!(t.showEyebrow||!1!==t.headlineOn||t.showDescription||o),$showDescription:!!t.showDescription,$alignment:s?"left":"center",className:`styledIntro ${f||""}`,$blockId:e.id,children:[(t.showEyebrow||o||!1!==t.headlineOn)&&(0,h.jsxs)(h.Fragment,{children:[(t.showEyebrow||o)&&(0,h.jsx)(sU.default,{value:t.eyebrow||"",name:"eyebrow",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:6,charLimit:45,list:l,listKey:d,disabled:m,allowAllColors:g,blockData:t}),!1!==t.headlineOn&&(0,h.jsx)(sU.default,{name:"headline",value:t.headline??"",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:2,charLimit:45,list:l,listKey:d,disabled:m,allowAllColors:g,blockData:t})]}),t.date&&(0,h.jsx)(lf,{children:(0,h.jsx)(sU.default,{name:"date",value:t.date||"",charLimit:50,toolbarOption:"none",list:l,listKey:d,disabled:m,allowAllColors:g,blockData:t})}),(t.showDescription||o||i)&&(0,h.jsx)("div",{className:"description-container",children:(0,h.jsx)(sU.default,{name:"description",className:"align-left-mobile",value:t.description||"",toolbarOption:u||"basic",toolbarComponents:"custom"===u?p:[],charLimit:c||350,list:l,listKey:d,disabled:m,allowAllColors:g,isNarrowEditor:v,blockData:t})})]}):(0,h.jsx)(h.Fragment,{})});var ly=e.i(27499),lx=e.i(5553),lS=e.i(13929),lw=e.i(60997),lC=e.i(75907),lT=e.i(44986),l$=e.i(59360),lE=e.i(66672),lI=e.i(29292),lN=e.i(88298),l_=e.i(1764),lk=e.i(41661);let lM=function(e,t){var a,n;return b.isValidElement(e)&&-1!==t.indexOf(null!=(a=e.type.muiName)?a:null==(n=e.type)||null==(n=n._payload)||null==(n=n.value)?void 0:n.muiName)};var lA=e.i(52753),lR=e.i(75136),lO=e.i(60452),lB=e.i(62508),lP=e.i(42698);function lL(e){return(0,lB.generateUtilityClass)("MuiListItem",e)}let lD=(0,lP.generateUtilityClasses)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),lj=(0,lP.generateUtilityClasses)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function lG(e){return(0,lB.generateUtilityClass)("MuiListItemSecondaryAction",e)}(0,lP.generateUtilityClasses)("MuiListItemSecondaryAction",["root","disableGutters"]);let lF=["className"],lH=(0,lN.default)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,a.disableGutters&&t.disableGutters]}})(({ownerState:e})=>(0,lC.default)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),lU=b.forwardRef(function(e,t){let a=(0,l_.default)({props:e,name:"MuiListItemSecondaryAction"}),{className:n}=a,r=(0,lw.default)(a,lF),o=b.useContext(lO.default),i=(0,lC.default)({},a,{disableGutters:o.disableGutters}),s=(e=>{let{disableGutters:t,classes:a}=e;return(0,l$.unstable_composeClasses)({root:["root",t&&"disableGutters"]},lG,a)})(i);return(0,h.jsx)(lH,(0,lC.default)({className:(0,lT.default)(s.root,n),ownerState:i,ref:t},r))});lU.muiName="ListItemSecondaryAction";let lK=["className"],lz=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected"],lV=(0,lN.default)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,a.dense&&t.dense,"flex-start"===a.alignItems&&t.alignItemsFlexStart,a.divider&&t.divider,!a.disableGutters&&t.gutters,!a.disablePadding&&t.padding,a.button&&t.button,a.hasSecondaryAction&&t.secondaryAction]}})(({theme:e,ownerState:t})=>(0,lC.default)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,lC.default)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${lj.root}`]:{paddingRight:48}},{[`&.${lD.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${lD.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,lI.alpha)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${lD.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,lI.alpha)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${lD.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${lD.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,lI.alpha)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,lI.alpha)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),lW=(0,lN.default)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),lZ=b.forwardRef(function(e,t){let a=(0,l_.default)({props:e,name:"MuiListItem"}),{alignItems:n="center",autoFocus:r=!1,button:o=!1,children:i,className:s,component:l,components:d={},componentsProps:c={},ContainerComponent:u="li",ContainerProps:{className:p}={},dense:m=!1,disabled:g=!1,disableGutters:f=!1,disablePadding:v=!1,divider:y=!1,focusVisibleClassName:x,secondaryAction:S,selected:w=!1}=a,C=(0,lw.default)(a.ContainerProps,lK),T=(0,lw.default)(a,lz),$=b.useContext(lO.default),E={dense:m||$.dense||!1,alignItems:n,disableGutters:f},I=b.useRef(null);(0,lA.default)(()=>{r&&I.current&&I.current.focus()},[r]);let N=b.Children.toArray(i),_=N.length&&lM(N[N.length-1],["ListItemSecondaryAction"]),k=(0,lC.default)({},a,{alignItems:n,autoFocus:r,button:o,dense:E.dense,disabled:g,disableGutters:f,disablePadding:v,divider:y,hasSecondaryAction:_,selected:w}),M=(e=>{let{alignItems:t,button:a,classes:n,dense:r,disabled:o,disableGutters:i,disablePadding:s,divider:l,hasSecondaryAction:d,selected:c}=e;return(0,l$.unstable_composeClasses)({root:["root",r&&"dense",!i&&"gutters",!s&&"padding",l&&"divider",o&&"disabled",a&&"button","flex-start"===t&&"alignItemsFlexStart",d&&"secondaryAction",c&&"selected"],container:["container"]},lL,n)})(k),A=(0,lR.default)(I,t),R=d.Root||lV,O=c.root||{}
307,B=(0,lC.default)({className:(0,lT.default)(M.root,O.className,s),disabled:g},T),P=l||"li";return(o&&(B.component=l||"div",B.focusVisibleClassName=(0,lT.default)(lD.focusVisible,x),P=lk.default),_)?(P=B.component||l?P:"div","li"===u&&("li"===P?P="div":"li"===B.component&&(B.component="div")),(0,h.jsx)(lO.default.Provider,{value:E,children:(0,h.jsxs)(lW,(0,lC.default)({as:u,className:(0,lT.default)(M.container,p),ref:A,ownerState:k},C,{children:[(0,h.jsx)(R,(0,lC.default)({},O,!(0,lE.isHostComponent)(R)&&{as:P,ownerState:(0,lC.default)({},k,O.ownerState)},B,{children:N})),N.pop()]}))})):(0,h.jsx)(lO.default.Provider,{value:E,children:(0,h.jsxs)(R,(0,lC.default)({},O,{as:P,ref:A,ownerState:k},!(0,lE.isHostComponent)(R)&&{ownerState:(0,lC.default)({},k,O.ownerState)},B,{children:[N,S&&(0,h.jsx)(lU,{children:S})]}))})});var lY=e.i(58448),lJ=e.i(57791),lJ=lJ;e.i(27902);var lq=e.i(20442),lX=e.i(58683);let lQ=(0,sW.styled)("footer",{label:"Footer",...sZ.transientOptions})`
308  position: relative;
309  background: var(--color-bg);
310  color: var(--color-text);
311  padding: var(--standard-padding-vert) var(--standard-padding-horiz);
312  ${({$collapseTopPadding:e})=>e&&"padding-top: 0px;"}
313  text-align: center;
314
315  ${e=>e.$isCMS&&`
316      ${lX.sharedEditSettingsCss};
317    `}
318
319  & [data-field='disclaimer'] {
320    ${({$showDisclaimerOutline:e})=>e&&`
321      border: 1px solid var(--color-flourish-primary);
322      padding: 1em 1.6em;
323
324      text-box: trim-both cap alphabetic;
325      @supports (text-box-trim: trim-both) {
326        padding-top: 1em;
327        padding-bottom: 1em;
328      }
329    `}
330    color: var(--color-text);
331    display: inline-block;
332    // margin-bottom: 20px;
333    max-width: 750px;
334    min-width: 75px;
335
336    strong,
337    em {
338      color: var(--color-text-accent-primary) !important;
339    }
340
341    a,
342    a:visited,
343    a:hover,
344    a:focus,
345    a:active {
346      color: var(--color-text-accent-secondary) !important;
347      text-decoration: underline !important;
348    }
349  }
350
351  & [data-field='info'] {
352    max-width: 650px;
353    margin: 0 auto;
354  }
355
356  .powered-by-run {
357    max-width: 900px;
358  }
359
360  .powered-by-run > a {
361    color: var(--color-text-accent-primary);
362    transition: all 0.2s;
363  }
364
365  .powered-by-run > a:focus,
366  .powered-by-run > a:focus-visible {
367    outline: 2px dashed var(--color-text);
368    outline-offset: 2px;
369  }
370
371  @media (hover: hover) and (pointer: fine) {
372    .powered-by-run > a:hover {
373      color: var(--color-text);
374    }
375  }
376
377  .run-footer_svg__line {
378    stroke: var(--color-text-accent-primary);
379  }
380
381  .run-footer-container {
382    & > div.powered-by-run {
383      margin-bottom: 3vw;
384      ${({theme:e})=>e.breakpoints.down("md")} {
385        margin-bottom: 3em;
386      }
387    }
388    & > div {
389      width: fit-content;
390      margin-left: auto;
391      margin-right: auto;
392      margin-bottom: 1.5em;
393      &:last-of-type {
394        margin-bottom: 0;
395      }
396    }
397  }
398`,l0=(0,sW.styled)("ul",{label:"FooterMenu"})`
399  display: flex;
400  align-items: center;
401  justify-content: center;
402  flex-grow: 1;
403  & > li {
404    padding-left: calc(1.5em + 0.5px);
405    padding-right: calc(1.5em - 0.5px);
406    width: auto;
407    &:not(:last-of-type) {
408      border-right: 0.5px solid var(--color-flourish-secondary);
409      ${({theme:e})=>e.breakpoints.down("md")} {
410        border: none;
411      }
412    }
413
414    a {
415      margin: auto;
416      color: var(--color-text);
417      text-transform: uppercase;
418      font-weight: var(--font-weight-bold);
419      letter-spacing: 0.25em;
420      white-space: nowrap;
421      transition: 0.2s;
422
423      @media (hover: hover) and (pointer: fine) {
424        &:hover {
425          color: var(--color-text-accent-primary);
426        }
427      }
428    }
429  }
430  ${({theme:e})=>e.breakpoints.down("md")} {
431    flex-direction: column;
432    & > li {
433      padding: 0;
434      padding-bottom: 1em;
435      &:last-of-type {
436        padding-bottom: 0;
437      }
438    }
439  }
440`;var l1=e.i(46356);let l2=1.13,l3=({name:e,fit:t=!1,fitFactor:a=l2})=>{let n,r,{byName:o}=s4(),i=o.get(e);if(!t)return i?(0,h.jsx)("span",{style:{display:"contents"},dangerouslySetInnerHTML:{__html:i.svg}}):null;let s=i?.canvasViewBox?{width:`${100*a}%`,aspectRatio:"1 / 1",display:"block"}:{width:`${100*a*.7}%`,aspectRatio:"1 / 1",maxWidth:"100%",maxHeight:"100%",display:"block"};return(0,h.jsx)("span",{className:"site-icon-fit",style:{aspectRatio:"1 / 1",display:"flex",alignItems:"center",justifyContent:"center"},children:i&&(0,h.jsx)("span",{style:s,dangerouslySetInnerHTML:{__html:i.canvasViewBox?(n=i.svg,r=i.canvasViewBox,n.replace(/(<svg[^>]*\sviewBox=")[^"]*(")/,`$1${r}$2`)):i.svg}})})},l5=["path","polygon","polyline","rect","circle","ellipse"],l4=(e,t)=>`
441  ${l5.map(t=>`& ${t}[class*='${e}']`).join(",\n  ")} {
442    fill: ${t};
443  }
444  ${l5.map(t=>`& ${t}[class*='${e}'][style*='stroke:']`).join(",\n  ")} {
445    /* strokes carry a hardcoded export color inline; retheme like the fill.
446       [style*='stroke:'] never matches stroke-width-only styles, so
447       stroke-less shapes don't grow outlines */
448    stroke: ${t} !important;
449  }`,l6=({dark:e,light:t,tertiary:a})=>[l4("dark",e),l4("light",t),a?l4("tertiary",a):""].join("\n");var l8=e.i(55264);let l9=(0,sW.styled)("span",{label:"IconFrame",...sZ.transientOptions})`
450  display: flex;
451  align-items: center;
452  justify-content: center;
453  aspect-ratio: 1 / 1;
454
455  & > .site-icon-fit {
456    width: 100%;
457  }
458
459  ${({$displayStyle:e,$circleColor:t})=>"solid"===e||"tinted"===e?`background: ${t}; border-radius: 100%;`:"outline"===e?`border: 2px solid ${t}; border-radius: 100%;`:""}
460
461  ${({$fills:e})=>l6(e)}
462`,l7=(e,t,a)=>{let{palette:n}=(0,sO.useSiteColorPalette)(),r=e=>l8.BgColorsArray.includes(e??"")?e:void 0,o=r(t)??(0,l1.defaultIconCircleBg)(n,r(a)),i="tinted"===e?(0,l1.iconCircleTint)(n,r(a))??"var(--color-bg)":o?`var(--color-${o})`:"var(--color-illustrated-icon-dark)",s="solid"===e?o?{dark:`var(--color-${o}-illustrated-icon-dark)`,light:`var(--color-${o}-illustrated-icon-light)`,tertiary:i}:{dark:"var(--color-illustrated-icon-light)",light:"var(--color-bg)",tertiary:i}:{dark:"var(--color-illustrated-icon-dark)",light:"var(--color-illustrated-icon-light)",..."tinted"===e?{tertiary:i}:{}},l=e=>n?.[e??""]?.bg,d="solid"===e?o?l(o):void 0:l(r(a))??l("bg0"),c=d&&"light"===(0,l1.iconLightnessCategory)(d)?s:{...s,dark:s.light,light:s.dark};return{circleColor:i,fills:s,basicFills:c}},de=({name:e,displayStyle:t,bgColor:a,contextBg:n})=>{let r=t??"none",{circleColor:o,fills:i,basicFills:s}=l7(r,a,n),{byName:l}=s4();return(0,h.jsx)(l9,{className:"site-icon-frame","data-icon-style":r,$displayStyle:r,$circleColor:o,$fills:s3(l.get(e))?s:i,children:(0,h.jsx)(l3,{name:e,fit:!0,fitFactor:"none"===r?.95:.7})})},dt=(0,sW.styled)("ul",{label:"BulletColumns"})`
463  position: relative;
464  column-count: ${e=>e.$isSingleColumn?1:2};
465  column-gap: 8%;
466
467  ${({$isSingleColumn:e,theme:t})=>e&&`
468    display: block;
469    /* fit-content (not max-content) so the list hugs its content for short
470       bullets yet never exceeds the available width. */
471    width: fit-content;
472    margin-left: auto;
473    margin-right: auto;
474    max-width: ${t.breakpoints.values.md}px;
475    ${t.breakpoints.down("sm")} {
476      &:last-of-type {
477        margin-bottom: 0;
478      }
479    }
480  `}
481
482  li {
483    break-inside: avoid;
484    margin-bottom: 1.5em;
485    display: flex;
486    align-items: flex-start;
487    min-height: 2.5em;
488    &:last-of-type {
489      margin-bottom: 0;
490    }
491  }
492
493  ${({theme:e})=>e.breakpoints.down("md")} {
494    column-gap: 5%;
495  }
496  ${({theme:e})=>e.breakpoints.down("sm")} {
497    column-count: 1;
498    display: block;
499    width: 100%;
500    margin: 0;
501  }
502`,da=(0,sW.styled)("div",{label:"CheckWrapper"})`
503  margin-right: 1.25em;
504  margin-bottom: -1.25em;
505
506  & .site-icon-frame {
507    width: 3em; //match to height of li
508  }
509
510  /* Bare glyphs sit centered in their canvas padding; pull them up so they
511     read on the first text line (body text is small in this block) */
512  & .site-icon-frame[data-icon-style='none'] {
513    margin-top: -0.45em;
514  }
515`;var dn=e.i(10798),lJ=lJ,dr=e.i(96641),dr=dr,di=e.i(93753);let ds=(0,sW.styled)(lr.Box,{label:"ListWrapper",...sZ.transientOptions})`
516  z-index: 1; // There's some weird sideways line that shows up on mobile if this isn't here
517  display: inline-grid;
518  grid-template-columns: repeat(3, 1fr);
519  position: relative;
520  flex-wrap: wrap;
521  margin: 0 auto 3em auto;
522  margin-left: var(--standard-padding-horiz);
523  margin-right: var(--standard-padding-horiz);
524  width: fit-content;
525  justify-content: center;
526  gap: 25px;
527  max-width: calc(100% - 2 * var(--standard-padding-horiz));
528
529  ${({theme:e})=>e.breakpoints.down("md")} {
530    grid-template-columns: repeat(2, 1fr);
531  }
532
533  ${({theme:e})=>e.breakpoints.down("sm")} {
534    grid-template-columns: repeat(1, 1fr);
535  }
536`,dl=(0,sW.styled)("div",{label:"ListColumn",...sZ.transientOptions})`
537  display: flex;
538  flex-direction: column;
539  align-items: center;
540  flex: 1; // Make each column take up equal width
541  text-align: center;
542`,dd=(0,sW.styled)(lr.Box,{label:"ListItem",...sZ.transientOptions})`
543  position: relative;
544  width: fit-content;
545
546  ${({theme:e})=>e.breakpoints.down("md")} {
547    flex: 0 1 50%;
548  }
549
550  ${({theme:e})=>e.breakpoints.down("sm")} {
551    flex: 0 1 100%;
552  }
553`,dc=(0,sW.styled)("button",{label:"Anchor",...sZ.transientOptions})`
554  background: none;
555  border: none;
556  padding: 0;
557  font: inherit;
558  cursor: pointer;
559
560  &:focus-visible {
561    outline: 2px dotted var(--color-text-accent-primary);
562    outline-offset: 2px;
563  }
564
565  span {
566    color: var(--color-text-accent-primary);
567    cursor: pointer;
568    transition: color 0.2s ease;
569  }
570
571  &:hover span {
572    color: var(--color-text-accent-secondary);
573  }
574`,du=(0,sW.styled)(lr.Box,{label:"CardsWrapper",...sZ.transientOptions})`
575  padding: calc(var(--standard-padding-vert) / 1.5)
576    var(--standard-padding-horiz) 0 var(--standard-padding-horiz);
577  position: relative;
578  display: flex;
579  flex-wrap: wrap;
580  align-items: stretch;
581  justify-items: center;
582  justify-content: center;
583  width: 100%;
584  padding-top: 0;
585
586  &:before {
587    content: '';
588    ${({$barColor:e})=>`
589      background: var(--color-${e});
590    `}
591    position: absolute;
592    top: 3em;
593    left: 0;
594    width: 100%;
595    height: ${e=>e.$shortFlourish?"calc(100% - 6em)":"calc(100% - 3em + var(--standard-padding-vert))"};
596    z-index: 0;
597
598    ${({theme:e})=>e.breakpoints.down("sm")} {
599      left: calc(var(--standard-padding-horiz) * -1);
600      width: calc(100% + (2 * var(--standard-padding-horiz)));
601    }
602  }
603
604  ${({$shortFlourish:e,$nextSectionBgColor:t,theme:a})=>e&&`
605    &:after {
606      content: '';
607      background: var(--color-${t});
608      position: absolute;
609      bottom: 0;
610      left: 0;
611      width: 100%;
612      height: 3em;
613      z-index: 0;
614    
615      ${a.breakpoints.down("sm")} {
616        left: calc(var(--standard-padding-horiz) * -1);
617        width: calc(100% + (2 * var(--standard-padding-horiz)));
618      }
619    }
620  `}
621
622  .internal-cards-wrapper {
623    width: 100%;
624    max-width: ${({$is2x2:e,$isSingleCard:t})=>e?"1600px":t?"900px":"none"};
625    display: flex;
626    flex-wrap: wrap;
627    align-items: stretch;
628    justify-items: center;
629    justify-content: center;
630    column-gap: 1em;
631    row-gap: 1em;
632    z-index: 2;
633  }
634
635  ${({theme:e})=>e.breakpoints.down("sm")} {
636    padding: 0;
637  }
638`,dp=(0,sW.styled)(lr.Box,{label:"Card",...sZ.transientOptions})`
639  background: var(--color-bg);
640  /* re-evaluate inside this card's color-bgN scope (color inherits computed) */
641  color: var(--color-text);
642  position: relative;
643  min-height: 275px;
644  ${({$is2x2:e,$isSingleCard:t})=>e?"flex: 0 1 calc((100% - 80px) / 2);":t?"flex: 0 1 calc((100% - 80px) / 1);":"flex: 0 1 calc((100% - 80px) / 3);"}
645  box-shadow: rgba(1, 1, 1, 0.2) 0 0 0.5em;
646
647  ${({$borderColor:e})=>`border-top: var(--bar-height) solid
648          var(--color-${e});`}
649
650  width: calc((100% - 80px) / 3);
651
652  ${({theme:e})=>e.breakpoints.down("md")} {
653    min-height: 175px;
654    flex: 0 1
655      calc((100% - 1em) / ${({$isSingleCard:e})=>e?"1":"2"});
656  }
657
658  ${({theme:e})=>e.breakpoints.down("sm")} {
659    flex: 0 1 100%;
660    border-top-width: var(--min-bar-height);
661  }
662`,dm=(0,sW.styled)("div",{label:"CardDetails",...sZ.transientOptions})`
663  margin: auto;
664  text-align: left;
665  padding: ${"3vw"};
666  height: 100%;
667  display: flex;
668  flex-direction: column;
669  justify-content: space-between;
670  row-gap: 1em;
671  align-items: start;
672
673  ${({theme:e})=>e.breakpoints.down("sm")} {
674    font-size: 4.5vw;
675    padding: ${"5vw"};
676  }
677
678  .card-text-wrapper {
679    width: 100%;
680
681    .cardTitle {
682      h2 {
683        width: fit-content;
684        margin-bottom: 0.5em;
685        text-align: left;
686        position: relative;
687        padding-bottom: 0.2em;
688
689        ${({theme:e})=>e.breakpoints.down("sm")} {
690          font-size: calc(5.5vw * var(--header-font-size-multiplier));
691        }
692
693        &:after {
694          content: '';
695          display: block;
696          position: absolute;
697          left: calc(${"3vw"} * -1);
698          bottom: 0;
699          height: 1px;
700          background: var(--color-headline-secondary);
701          width: calc(100% + ${"3vw"});
702
703          ${({theme:e})=>e.breakpoints.down("sm")} {
704            left: calc(${"5vw"} * -1);
705            width: calc(100% + ${"5vw"});
706          }
707        }
708      }
709    }
710
711    .social-wrapper-float {
712      float: ${e=>e.$numSocial>4?"none":"right"};
713      margin-bottom: 0.5em;
714      margin-left: ${e=>e.$numSocial>4?"0":"0.5em"};
715      position: relative;
716      z-index: 5;
717
718      .social-media-icons {
719        flex: 0 0 auto;
720        display: flex;
721        flex-wrap: wrap;
722        align-items: center;
723        justify-content: ${e=>e.$numSocial>4?"flex-start":"flex-end"};
724        row-gap: 0.5em;
725
726        ${({theme:e})=>e.breakpoints.down("md")} {
727          flex-wrap: wrap;
728          row-gap: 0.5em;
729          max-width: 100%;
730          justify-content: flex-start;
731        }
732
733        ${({theme:e})=>e.breakpoints.down("sm")} {
734          font-size: var(--tw-font-size-body-sm);
735        }
736      }
737
738      ${({theme:e})=>e.breakpoints.down("sm")} {
739        flex-direction: row;
740        justify-content: space-between;
741        align-items: center;
742      }
743    }
744  }
745`,dh=(0,sW.styled)(lS.Link,{label:"WebsiteLink",...sZ.transientOptions})`
746  &:focus-visible {
747    outline-offset: -5px;
748  }
749  display: flex;
750  align-items: center;
751  padding: 0.6em;
752  padding-right: 0.75em;
753  padding-left: ${"3vw"};
754  margin-left: -${"3vw"};
755  background-color: var(--color-bg);
756  color: var(--color-text);
757  ${({$innerBg:e})=>`
758    background: var(--color-${e}-button-background);
759  `}
760  max-width: calc(100% + ${"3vw"});
761
762  ${({theme:e})=>e.breakpoints.down("md")} {
763    padding-top: 0.75em;
764    padding-bottom: 0.75em;
765  }
766
767  ${({theme:e})=>e.breakpoints.down("sm")} {
768    padding-top: 0.5em;
769    padding-bottom: 0.5em;
770    padding-left: ${"5vw"};
771    margin-left: -${"5vw"};
772    max-width: calc(100% + ${"5vw"});
773  }
774
775  h6 {
776    ${({$innerBg:e})=>`
777      color: var(--color-${e}-button-text);
778    `}
779    font-size: var(--tw-font-size-body-sm);
780    margin: 0;
781    flex: 1;
782    text-overflow: ellipsis;
783    white-space: nowrap;
784    overflow: hidden;
785    line-height: 1;
786    text-box: trim-both cap alphabetic;
787  }
788
789  button {
790    padding: 0;
791    margin-left: 0.5em;
792
793    svg {
794      width: 0.75em;
795
796      ${({theme:e})=>e.breakpoints.down("lg")} {
797        width: 14px;
798      }
799
800      path {
801        &.launch-icon_svg__arrow {
802          ${({$innerBg:e})=>`
803            fill: var(--color-${e}-button-text) !important;
804          `}
805        }
806        &.launch-icon_svg__line-around {
807          ${({$innerBg:e})=>`
808            fill: var(--color-${e}-button-solid-accent) !important;
809          `}
810        }
811      }
812    }
813  }
814
815  &:hover {
816    transition: background-color 0.2s ease;
817    ${({$innerBg:e})=>`
818        background: var(--color-${e}-button-background-hover);
819        color: var(--color-${e}-button-text-hover);
820
821        h6 {
822          color: var(--color-${e}-button-text-hover);
823        }
824      `}
825
826    h3 {
827      ${({$innerBg:e})=>`
828        color: var(--color-${e}-button-text-hover);
829      `}
830    }
831
832    button {
833      svg {
834        path.launch-icon_svg__arrow {
835          ${({$innerBg:e})=>`
836            fill: var(--color-${e}-button-text-hover) !important;
837          `}
838        }
839        path.launch-icon_svg__line-around {
840          ${({$innerBg:e})=>`
841            fill: var(--color-${e}-button-solid-accent-hover) !important;
842          `}
843        }
844      }
845    }
846  }
847`;var dg=e.i(92395),dg=dg,df=e.i(26661),dv=e.i(61356),dv=dv;let db=(0,sW.styled)("div",{label:"FlourishWrapper",...sZ.transientOptions})`
848  display: flex;
849  align-items: center;
850  width: ${e=>e.$hasImage?"100%":"87.5%"};
851  ${e=>e.$hasImage?"":"margin: auto;"}
852  margin-bottom: 1em;
853
854  ${({theme:e})=>e.breakpoints.down("sm")} {
855    margin-bottom: 0.75em;
856  }
857
858  & svg {
859    margin-right: 0.5em;
860    margin-left: ${e=>e.$hasImage?"0":"0.5em"};
861    width: ${e=>e.$hasImage?"2em":"4em"};
862
863    ${({theme:e})=>e.breakpoints.down("sm")} {
864      margin-left: 0.5em;
865      width: 4em;
866    }
867  }
868
869  & path {
870    fill: var(--color-flourish-secondary);
871  }
872
873  .cta-flourish-line {
874    border-top: 1px solid var(--color-flourish-primary);
875    width: 100%;
876  }
877
878  ${({theme:e})=>e.breakpoints.down("sm")} {
879    width: 87.5%;
880    margin-left: auto;
881    margin-right: auto;
882  }
883`,dy=(0,sW.styled)("div",sZ.transientOptions)`
884  display: flex;
885  justify-content: center;
886  max-width: ${e=>e.$hasImage?"none":"1100px"};
887  margin: auto;
888
889  & > div {
890    width: ${e=>e.$hasImage?"50%":"auto"};
891  }
892
893  .cta-content-wrapper {
894    display: inline-flex;
895    flex-direction: column;
896    ${e=>e.$hasImage?"":"justify-content: center;"}
897    min-width: 200px;
898    ${e=>e.$hasImage?"":"width: auto;"}
899    text-align: ${e=>e.$hasImage?"left":"center"};
900    padding: var(--standard-padding-vert) var(--standard-padding-horiz);
901    padding: ${e=>e.$hasImage?"var(--standard-padding-vert) var(--standard-padding-horiz)":e.$hasDisabledPadding?"var(--medium-padding) var(--standard-padding-horiz)":"0"};
902
903    .cta-flourish {
904      display: inline-flex;
905      width: 100%;
906    }
907
908    .cta-content {
909      h2 {
910        margin-bottom: 0;
911      }
912
913      ${({theme:e})=>e.breakpoints.down("sm")} {
914        align-items: center;
915        width: 100%;
916      }
917    }
918
919    /* Rows own their bottom gap (Issues-style): the last row drops it so the
920       wrapper padding is the only trailing space. Headline sits tighter above
921       the description than above buttons/share. */
922    .cta-row {
923      margin-bottom: 2em;
924
925      &:has(+ .cta-row .description) {
926        margin-bottom: 1em;
927      }
928
929      &:last-child {
930        margin-bottom: 0;
931      }
932
933      ${({theme:e})=>e.breakpoints.down("sm")} {
934        &:not(:last-child) {
935          margin-bottom: 1em;
936        }
937      }
938    }
939
940    .cta-button {
941      display: inline-flex;
942      justify-content: center;
943
944      &:not(:last-child) {
945        margin-right: 1em;
946        margin-bottom: ${e=>e.$hasImage?"1em":"0"};
947
948        ${({theme:e})=>e.breakpoints.down("sm")} {
949          margin-right: 0;
950          margin-bottom: 0.75em;
951        }
952      }
953    }
954
955    .share-links {
956      .share-wrapper {
957        display: flex;
958        justify-content: ${e=>e.$hasImage?"flex-start":"center"};
959
960        ${({theme:e})=>e.breakpoints.down("sm")} {
961          justify-content: center;
962        }
963
964        & > button,
965        & > div {
966          border: none;
967          padding: 0px;
968          color: inherit;
969          cursor: pointer;
970
971          &.copy-link,
972          & > div {
973            ${({theme:e})=>e.breakpoints.down("md")} {
974              width: 1.75em;
975              height: 1.75em;
976            }
977            ${({theme:e})=>e.breakpoints.down("sm")} {
978              margin-left: 0.25em;
979              margin-right: 0.25em;
980            }
981          }
982
983          &:last-child {
984            &.copy-link,
985            & > div {
986              margin-right: 0;
987            }
988          }
989        }
990      }
991    }
992
993    ${e=>e.$flipContent&&`
994        order: 2;
995    `}
996
997    ${({theme:e})=>e.breakpoints.down("sm")} {
998      order: 2;
999      flex-wrap: wrap;
1000      text-align: center;
1001      width: auto;
1002    }
1003  }
1004
1005  .cta-image {
1006    z-index: 1;
1007
1008    ${e=>e.$flipContent&&`
1009      order: 1;
1010    `}
1011
1012    ${({theme:e})=>e.breakpoints.down("sm")} {
1013      order: 1;
1014      min-height: 68vw;
1015      width: 100%;
1016    }
1017  }
1018
1019  ${({theme:e})=>e.breakpoints.down("sm")} {
1020    width: 100%;
1021    flex-wrap: wrap;
1022    min-height: 22vw;
1023
1024    & > div {
1025      width: 100%;
1026    }
1027  }
1028`,dx=(0,sW.styled)("div",{label:"StyledDataDetails",...sZ.transientOptions})`
1029  color: var(--color-text);
1030
1031  .data-details-inner {
1032    position: relative;
1033    padding-top: ${e=>e.$hasTopPadding?"var(--standard-padding-vert)":"0"};
1034    padding-bottom: var(--standard-padding-vert);
1035    max-width: 1100px;
1036
1037    column-count: 2;
1038    column-gap: 5%;
1039
1040    /* TODO(mime): consolidate */
1041    ${e=>e.$hasTopBorder&&`&::before {
1042        top: 0;
1043        content: '';
1044        position: absolute;
1045        width: 100%;
1046        background: var(--color-flourish-secondary);
1047        height: var(--bar-height);
1048        min-height: var(--min-bar-height);
1049        left: 0;
1050        z-index: ${sA.default.zindex.abovePage};
1051      }`}
1052
1053    ${e=>e.$hasBottomBorder&&`&::after {
1054        bottom: 0;
1055        content: '';
1056        position: absolute;
1057        width: 100%;
1058        background: var(--color-flourish-secondary);
1059        height: var(--bar-height);
1060        min-height: var(--min-bar-height);
1061        left: 0;
1062        z-index: ${sA.default.zindex.abovePage};
1063      }`}
1064
1065    ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&`
1066      &::before {
1067        border-bottom-left-radius: 10px;
1068        border-bottom-right-radius: 10px;
1069      }
1070
1071      &::after {
1072        border-top-left-radius: 10px;
1073        border-top-right-radius: 10px;
1074      }
1075    `}
1076  }
1077
1078  ${({theme:e})=>e.breakpoints.down("md")} {
1079    .MuiContainer-root {
1080      padding-top: var(--standard-padding-vert);
1081      padding-bottom: var(--standard-padding-vert);
1082      column-count: 1;
1083    }
1084  }
1085
1086  ${({theme:e})=>e.breakpoints.down("sm")} {
1087    .data-details-inner {
1088      padding-top: ${e=>e.$hasTopPadding?"var(--standard-padding-vert)":"0"};
1089      padding-bottom: var(--standard-padding-vert);
1090    }
1091  }
1092`,dS=(0,sW.styled)("div")`
1093  display: grid;
1094  grid-template-columns: minmax(min-content, 1fr) 3fr;
1095  row-gap: 2em;
1096  break-inside: avoid;
1097
1098  ${({theme:e})=>e.breakpoints.down("md")} {
1099    display: block;
1100  }
1101
1102  ${({theme:e})=>e.breakpoints.down("sm")} {
1103    display: block;
1104    &:first-of-type {
1105      margin-bottom: 0;
1106    }
1107  }
1108`,dw=(0,sW.styled)("div",{label:"DataLabel",...sZ.transientOptions})`
1109  display: block;
1110  border-bottom: 1px solid var(--color-flourish-secondary);
1111  padding-right: 1em;
1112  padding-bottom: 0.3em;
1113  break-inside: avoid;
1114
1115  h6,
1116  p {
1117    word-break: normal;
1118  }
1119
1120  ${({theme:e})=>e.breakpoints.down("md")} {
1121    border-bottom: none;
1122    padding-top: 1em;
1123
1124    ${e=>!e.$title&&`
1125      display: none;
1126    `}
1127  }
1128`,dC=(0,sW.styled)("div",{label:"DataInfo",...sZ.transientOptions})`
1129  border-bottom: 1px solid var(--color-flourish-secondary);
1130  padding-bottom: 0.5em;
1131  break-inside: avoid;
1132
1133  p {
1134    word-break: normal;
1135  }
1136
1137  ${({theme:e})=>e.breakpoints.down("md")} {
1138    padding-bottom: 1em;
1139
1140    ${e=>!e.$title&&`
1141       padding-top: 1.3em;
1142       padding-bottom: 1.3em;
1143     `}
1144
1145    ${e=>e.$isLast&&`
1146       border-bottom: none;
1147     `}
1148  }
1149`;var dT=e.i(65341),dT=dT;function d$(e){let{site:t}=(0,ln.useSite)();return a=>{a.url&&t?.id&&sv("donate_button_clicked",{site_id:t.id,site_group_id:t.SiteGroup?.id,language_code:t.languageCode??void 0,source:e,amount:a.amount??"Other",currency:a.currency??"$",donation_url:a.url})}}let dE=({item:e,blockData:t,primarySiteFontButton:a})=>{let n=d$("donate_block"),r=a?{fontFamily:`"${a}"`}:void 0;return(0,h.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer","data-track-click":"donation",onClick:t=>{e.url?n(e):t.preventDefault()},className:(0,sG.cn)("group inline-block w-full focus-visible:outline-dotted focus-visible:outline-2 focus-visible:outline-offset-[-5px]",null===e.amount||"Other"===e.amount?"focus-visible:outline-[var(--color-text)]":"focus-visible:outline-[var(--color-button-text)]",e.url?"":"pointer-events-none"),children:(0,h.jsx)(sj.Button,{asChild:!0,size:"xl",variant:null===e.amount||"Other"===e.amount?"outlined":"contained",className:(0,sG.cn)("h-full w-full whitespace-nowrap py-[0.45em]",t.layoutType===sk.DONATE_LAYOUT_TYPE.TWO_COL&&"lg:text-site-button-headline-sm lg:supports-[text-box-trim:trim-both]:py-[0.75em]"),children:(0,h.jsx)("span",{children:(0,h.jsx)("span",{className:"button-content",children:null===e.amount||"Other"===e.amount?(0,h.jsx)("span",{className:"button-label",children:t.otherButtonText||"Other"}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("span",{className:"currency button-label",style:r,children:e.currency??"$"}),(0,h.jsx)("span",{className:"button-label",style:r,children:e.amount})]})})})})})},dI="true"===y.default.env.NEXT_PUBLIC_IS_CMS,dN=(0,s7.default)(()=>e.A(60925),{loadableGenerated:{modules:[51573]}}),d_=`(function(){
1150  function memStorage(){
1151    var m = {};
1152    return {
1153      getItem: function(k){ return Object.prototype.hasOwnProperty.call(m, k) ? m[k] : null; },
1154      setItem: function(k, v){ m[k] = String(v); },
1155      removeItem: function(k){ delete m[k]; },
1156      clear: function(){ m = {}; },
1157      key: function(i){ var keys = Object.keys(m); return i >= 0 && i < keys.length ? keys[i] : null; },
1158      get length(){ return Object.keys(m).length; }
1159    };
1160  }
1161  try { window.localStorage } catch (_) {
1162    Object.defineProperty(window, 'localStorage', { value: memStorage() });
1163  }
1164  try { window.sessionStorage } catch (_) {
1165    Object.defineProperty(window, 'sessionStorage', { value: memStorage() });
1166  }
1167  try { document.cookie } catch (_) {
1168    var jar = {};
1169    Object.defineProperty(Document.prototype, 'cookie', {
1170      get: function(){
1171        return Object.keys(jar).map(function(k){ return k + '=' + jar[k]; }).join('; ');
1172      },
1173      set: function(v){
1174        var parts = String(v).split(';');
1175        var eq = parts[0].indexOf('=');
1176        if (eq < 0) return;
1177        var name = parts[0].slice(0, eq).trim();
1178        if (!name) return;
1179        // Setting an already-expired cookie is how deletion works
1180        var expired = parts.slice(1).some(function(attr){
1181          var m = attr.trim().match(/^(expires=(.+)|max-age=(.+))$/i);
1182          if (!m) return false;
1183          return m[2] ? new Date(m[2]).getTime() < Date.now() : Number(m[3]) <= 0;
1184        });
1185        if (expired) delete jar[name];
1186        else jar[name] = parts[0].slice(eq + 1).trim();
1187      }
1188    });
1189  }
1190})();`,dk="data-embed-style-exclude",dM=()=>{let e=[],t=e=>e.replace(/<\/style/gi,"<\\/style"),a=n=>{let r;try{r=Array.from(n.cssRules)}catch{return!1}let o=[];for(let e of r)e instanceof CSSImportRule&&e.styleSheet&&a(e.styleSheet)||o.push(e.cssText);return o.length&&e.push(`<style>${t(o.join("\n"))}</style>`),!0};for(let n of Array.from(document.styleSheets)){if(n.disabled)continue;let r=n.ownerNode instanceof Element?n.ownerNode:null;if(!(!r||r.hasAttribute(dk)))if("STYLE"===r.tagName){let o=r.textContent||"";o.trim()?e.push(`<style>${t(o)}</style>`):a(n)}else a(n)||e.push(r.outerHTML)}return document.querySelectorAll('link[rel="stylesheet"]').forEach(t=>{t.sheet||e.push(t.outerHTML)}),(document.adoptedStyleSheets??[]).forEach(a),e.join("\n")},dA="__EMBED_CONTENT_SLOT__",dR=e=>e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;"),dO=({html:e,blockId:t,baseCss:a,ancestorKey:n,onActivate:r,insetCss:o,desktopHeight:i,tabletHeight:s,mobileHeight:l})=>{let d=(0,sE.useTheme)(),c=(0,b.useRef)(null),u=(0,b.useRef)(()=>{}),p=(0,b.useRef)(r);p.current=r;let m=(0,b.useRef)(null),g=(0,b.useRef)(!1),[f,v]=(0,b.useState)(0),[y,x]=(0,b.useState)(null),[S,w]=(0,b.useState)(void 0),[C,T]=(0,b.useState)(0),$=(0,b.useRef)(null);(0,b.useEffect)(()=>{let e,t=new MutationObserver(t=>{t.some(e=>"characterData"===e.type&&e.target.parentNode?.nodeName==="STYLE"||Array.from(e.addedNodes).concat(Array.from(e.removedNodes)).some(e=>"STYLE"===e.nodeName||e instanceof HTMLLinkElement&&"stylesheet"===e.rel))&&(clearTimeout(e),e=setTimeout(()=>{let e=dM();null!==$.current&&e!==$.current&&T(e=>e+1)},300))});return t.observe(document.head,{childList:!0,subtree:!0,characterData:!0}),()=>{t.disconnect(),clearTimeout(e)}},[]),(0,b.useEffect)(()=>{let e=e=>{if(e.source!==c.current?.contentWindow)return;let a=e.data;if(a&&"embed-resize"===a.type&&a.blockId===t&&"number"==typeof a.height&&x(a.height),a&&"embed-activate"===a.type&&a.blockId===t&&p.current(),a&&"embed-wheel"===a.type&&a.blockId===t&&"number"==typeof a.deltaY&&"number"==typeof a.deltaX){let e=1===a.deltaMode?16:2===a.deltaMode?window.innerHeight:1;window.scrollBy({top:a.deltaY*e,left:a.deltaX*e,behavior:"instant"})}};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[t]),(0,b.useEffect)(()=>{let e=()=>{let e=c.current?.contentWindow;if(!e)return;let a=e=>window.matchMedia(e.replace("@media ","")).matches,n=a(d.breakpoints.down("sm"))?l??s??i:a(d.breakpoints.down("lg"))?s??i:i;e.postMessage({type:"embed-set-height",blockId:t,height:n??null},"*")};u.current=e;let a=[d.breakpoints.down("sm"),d.breakpoints.down("lg")].map(e=>window.matchMedia(e.replace("@media ","")));return a.forEach(t=>t.addEventListener("change",e)),e(),()=>a.forEach(t=>t.removeEventListener("change",e))},[t,i,s,l,d]),(0,b.useEffect)(()=>{let n=dM();$.current=n;let{prefix:r,suffix:i}=(e=>{if(!e)return{prefix:"",suffix:""};let t=null,a=null;for(let n=e;n&&n!==document.body&&n!==document.documentElement;n=n.parentElement){let e=n.cloneNode(!1);e.style.cssText+=";margin-top:0 !important;margin-bottom:0 !important;padding-top:0 !important;padding-bottom:0 !important;border-top:0 !important;border-bottom:0 !important;min-height:0 !important;",a?e.appendChild(a):t=e,a=e}if(!a||!t)return{prefix:"",suffix:""};t.appendChild(document.createComment(dA));let[n,r]=a.outerHTML.split(`<!--${dA}-->`);return{prefix:n,suffix:r??""}})(c.current?.parentElement??null),s=dR(document.documentElement.className),l=dR(document.body.className),d=JSON.stringify(t),u=`(function(){
1191      var blockId = ${d};
1192      function post(){
1193        var h = Math.ceil(document.body.getBoundingClientRect().height);
1194        parent.postMessage({ type: 'embed-resize', blockId: blockId, height: h }, '*');
1195      }
1196      try {
1197        var ro = new ResizeObserver(post);
1198        ro.observe(document.body);
1199      } catch(_){}
1200      window.addEventListener('load', post);
1201      // Clicks/focus inside an iframe don't reach the parent, so forward them
1202      // so the CMS can select this block (open its config) on interaction.
1203      // Capture phase so embed handlers that stopPropagation can't suppress it.
1204      function activate(){
1205        parent.postMessage({ type: 'embed-activate', blockId: blockId }, '*');
1206      }
1207      window.addEventListener('pointerdown', activate, { capture: true, passive: true });
1208      window.addEventListener('focusin', activate, { capture: true });
1209      // Scroll input over the sandbox never reaches the page natively:
1210      // browsers don't chain scrolling out of this sandboxed iframe
1211      // (verified empirically — overriding overscroll-behavior does not help).
1212      // Forward wheel and touch-drag deltas to the parent instead, unless the
1213      // embed has its own scrollable element under the pointer, which should
1214      // consume the gesture itself until it hits its boundary.
1215      function scrollsItself(node){
1216        for (
1217          var el = node && node.nodeType === 1 ? node : null;
1218          el && el !== document.body;
1219          el = el.parentElement
1220        ) {
1221          if (el.scrollHeight > el.clientHeight + 1) {
1222            var oy = getComputedStyle(el).overflowY;
1223            if (oy === 'auto' || oy === 'scroll') return true;
1224          }
1225        }
1226        return false;
1227      }
1228      function forward(dx, dy, mode){
1229        parent.postMessage({
1230          type: 'embed-wheel',
1231          blockId: blockId,
1232          deltaX: dx,
1233          deltaY: dy,
1234          deltaMode: mode
1235        }, '*');
1236      }
1237      window.addEventListener('wheel', function(e){
1238        if (scrollsItself(e.target)) return;
1239        forward(e.deltaX, e.deltaY, e.deltaMode);
1240      }, { passive: true });
1241      // screen coordinates, not client: when the parent scrolls, the iframe
1242      // moves under the stationary finger, which would feed back into
1243      // client-coordinate deltas and oscillate.
1244      var touchX = null, touchY = null, touchScrollable = false;
1245      window.addEventListener('touchstart', function(e){
1246        if (e.touches.length !== 1) { touchY = null; return; }
1247        touchScrollable = scrollsItself(e.target);
1248        touchX = e.touches[0].screenX;
1249        touchY = e.touches[0].screenY;
1250      }, { passive: true });
1251      window.addEventListener('touchmove', function(e){
1252        if (e.touches.length !== 1 || touchY === null || touchScrollable) return;
1253        var t = e.touches[0];
1254        forward(touchX - t.screenX, touchY - t.screenY, 0);
1255        touchX = t.screenX;
1256        touchY = t.screenY;
1257      }, { passive: true });
1258      window.addEventListener('touchend', function(){ touchY = null; }, { passive: true });
1259      window.addEventListener('message', function(event){
1260        var data = event.data;
1261        if (!data || data.type !== 'embed-set-height' || data.blockId !== blockId) return;
1262        var styleEl = document.getElementById('embed-height-style');
1263        if (!styleEl) return;
1264        styleEl.textContent = typeof data.height === 'number'
1265          ? '[data-block-id=' + JSON.stringify(blockId) + '] iframe{height:' + data.height + 'px !important;}'
1266          : '';
1267      });
1268      post();
1269    })();`,p=`<!DOCTYPE html><html class="${s}"><head><script>${d_}</script>`+n+(a?`<style>${a}</style>`:"")+'<style id="embed-height-style"></style><style>html,body{margin:0;padding:0;background:transparent;overscroll-behavior:none;}</style>'+(o?`<style>${o}</style>`:"")+`</head><body class="${l}">`+(r?r+e+i:`<div data-block-id="${t}">${e}</div>`)+`<script>${u}</script>`+"</body></html>";w((e=>{if("u">typeof DOMParser)try{let t=new DOMParser().parseFromString(e,"text/html"),a=new Set;return t.querySelectorAll("iframe[allow]").forEach(e=>{(e.getAttribute("allow")||"").split(";").forEach(e=>{let t=e.trim();t&&a.add(t)})}),a.size?Array.from(a).join("; "):void 0}catch{return}})(e)),m.current=p,g.current=!1,v(e=>e+1)},[e,t,a,n,o,C]);let E={width:"100%",border:0,display:"block",background:"transparent",boxSizing:"border-box",height:null!==y?`${y}px`:i?`${i}px`:"100vh"};return(0,h.jsx)("iframe",{ref:c,title:"Embed preview","data-embed-sandbox":"",sandbox:"allow-scripts allow-forms allow-popups allow-modals allow-downloads allow-presentation allow-pointer-lock allow-orientation-lock allow-top-navigation",allow:S,src:f>0?"/embed-sandbox.html":void 0,onLoad:()=>
1269{let e=c.current?.contentWindow;e&&null!==m.current&&!g.current&&(g.current=!0,e.postMessage({type:"embed-sandbox-doc",html:m.current},"*")),u.current()},style:E},f)},dB=({html:e})=>{let t=(0,b.useRef)(null);return(0,b.useEffect)(()=>{let e=t.current;e&&e.querySelectorAll("script").forEach(e=>{let t=document.createElement("script");for(let a of Array.from(e.attributes))t.setAttribute(a.name,a.value);t.textContent=e.textContent,e.parentNode?.replaceChild(t,e)})},[e]),(0,h.jsx)("div",{ref:t,dangerouslySetInnerHTML:{__html:e}})},dP={IconPlus1:"IconMinus1",IconPlus1Accordion:"IconMinus1",IconPlus2:"IconMinus2",IconPlus1Thin:"IconMinus1Thin",IconPlus2Thin:"IconMinus2Thin"};var dL=e.i(79293),dD=e.i(52162),dj=e.i(57006),dG=e.i(71185),dF=e.i(55037),dH=e.i(74534),dU=e.i(76833),dK=e.i(93953),dz=e.i(64592),dV="Collapsible",[dW,dZ]=(0,dL.createContextScope)(dV),[dY,dJ]=dW(dV),dq=b.forwardRef((e,t)=>{let{__scopeCollapsible:a,open:n,defaultOpen:r,disabled:o,onOpenChange:i,...s}=e,[l,d]=(0,dF.useControllableState)({prop:n,defaultProp:r??!1,onChange:i,caller:dV});return(0,h.jsx)(dY,{scope:a,disabled:o,contentId:(0,dz.useId)(),open:l,onOpenToggle:b.useCallback(()=>d(e=>!e),[d]),children:(0,h.jsx)(dH.Primitive.div,{"data-state":d3(l),"data-disabled":o?"":void 0,...s,ref:t})})});dq.displayName=dV;var dX="CollapsibleTrigger",dQ=b.forwardRef((e,t)=>{let{__scopeCollapsible:a,...n}=e,r=dJ(dX,a);return(0,h.jsx)(dH.Primitive.button,{type:"button","aria-controls":r.contentId,"aria-expanded":r.open||!1,"data-state":d3(r.open),"data-disabled":r.disabled?"":void 0,disabled:r.disabled,...n,ref:t,onClick:(0,dG.composeEventHandlers)(e.onClick,r.onOpenToggle)})});dQ.displayName=dX;var d0="CollapsibleContent",d1=b.forwardRef((e,t)=>{let{forceMount:a,...n}=e,r=dJ(d0,e.__scopeCollapsible);return(0,h.jsx)(dK.Presence,{present:a||r.open,children:({present:e})=>(0,h.jsx)(d2,{...n,ref:t,present:e})})});d1.displayName=d0;var d2=b.forwardRef((e,t)=>{let{__scopeCollapsible:a,present:n,children:r,...o}=e,i=dJ(d0,a),[s,l]=b.useState(n),d=b.useRef(null),c=(0,dj.useComposedRefs)(t,d),u=b.useRef(0),p=u.current,m=b.useRef(0),g=m.current,f=i.open||s,v=b.useRef(f),y=b.useRef(void 0);return b.useEffect(()=>{let e=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,dU.useLayoutEffect)(()=>{let e=d.current;if(e){y.current=y.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();u.current=t.height,m.current=t.width,v.current||(e.style.transitionDuration=y.current.transitionDuration,e.style.animationName=y.current.animationName),l(n)}},[i.open,n]),(0,h.jsx)(dH.Primitive.div,{"data-state":d3(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!f,...o,ref:c,style:{"--radix-collapsible-content-height":p?`${p}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:f&&r})});function d3(e){return e?"open":"closed"}var d5=e.i(24537),d4="Accordion",d6=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[d8,d9,d7]=(0,dD.createCollection)(d4),[ce,ct]=(0,dL.createContextScope)(d4,[d7,dZ]),ca=dZ(),cn=b.default.forwardRef((e,t)=>{let{type:a,...n}=e;return(0,h.jsx)(d8.Provider,{scope:e.__scopeAccordion,children:"multiple"===a?(0,h.jsx)(cd,{...n,ref:t}):(0,h.jsx)(cl,{...n,ref:t})})});cn.displayName=d4;var[cr,co]=ce(d4),[ci,cs]=ce(d4,{collapsible:!1}),cl=b.default.forwardRef((e,t)=>{let{value:a,defaultValue:n,onValueChange:r=()=>{},collapsible:o=!1,...i}=e,[s,l]=(0,dF.useControllableState)({prop:a,defaultProp:n??"",onChange:r,caller:d4});return(0,h.jsx)(cr,{scope:e.__scopeAccordion,value:b.default.useMemo(()=>s?[s]:[],[s]),onItemOpen:l,onItemClose:b.default.useCallback(()=>o&&l(""),[o,l]),children:(0,h.jsx)(ci,{scope:e.__scopeAccordion,collapsible:o,children:(0,h.jsx)(cp,{...i,ref:t})})})}),cd=b.default.forwardRef((e,t)=>{let{value:a,defaultValue:n,onValueChange:r=()=>{},...o}=e,[i,s]=(0,dF.useControllableState)({prop:a,defaultProp:n??[],onChange:r,caller:d4}),l=b.default.useCallback(e=>s((t=[])=>[...t,e]),[s]),d=b.default.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return(0,h.jsx)(cr,{scope:e.__scopeAccordion,value:i,onItemOpen:l,onItemClose:d,children:(0,h.jsx)(ci,{scope:e.__scopeAccordion,collapsible:!0,children:(0,h.jsx)(cp,{...o,ref:t})})})}),[cc,cu]=ce(d4),cp=b.default.forwardRef((e,t)=>
1269{let{__scopeAccordion:a,disabled:n,dir:r,orientation:o="vertical",...i}=e,s=b.default.useRef(null),l=(0,dj.useComposedRefs)(s,t),d=d9(a),c="ltr"===(0,d5.useDirection)(r),u=(0,dG.composeEventHandlers)(e.onKeyDown,e=>{if(!d6.includes(e.key))return;let t=e.target,a=d().filter(e=>!e.ref.current?.disabled),n=a.findIndex(e=>e.ref.current===t),r=a.length;if(-1===n)return;e.preventDefault();let i=n,s=r-1,l=()=>{(i=n+1)>s&&(i=0)},u=()=>{(i=n-1)<0&&(i=s)};switch(e.key){case"Home":i=0;break;case"End":i=s;break;case"ArrowRight":"horizontal"===o&&(c?l():u());break;case"ArrowDown":"vertical"===o&&l();break;case"ArrowLeft":"horizontal"===o&&(c?u():l());break;case"ArrowUp":"vertical"===o&&u()}let p=i%r;a[p].ref.current?.focus()});return(0,h.jsx)(cc,{scope:a,disabled:n,direction:r,orientation:o,children:(0,h.jsx)(d8.Slot,{scope:a,children:(0,h.jsx)(dH.Primitive.div,{...i,"data-orientation":o,ref:l,onKeyDown:n?void 0:u})})})}),cm="AccordionItem",[ch,cg]=ce(cm),cf=b.default.forwardRef((e,t)=>{let{__scopeAccordion:a,value:n,...r}=e,o=cu(cm,a),i=co(cm,a),s=ca(a),l=(0,dz.useId)(),d=n&&i.value.includes(n)||!1,c=o.disabled||e.disabled;return(0,h.jsx)(ch,{scope:a,open:d,disabled:c,triggerId:l,children:(0,h.jsx)(dq,{"data-orientation":o.orientation,"data-state":cC(d),...s,...r,ref:t,disabled:c,open:d,onOpenChange:e=>{e?i.onItemOpen(n):i.onItemClose(n)}})})});cf.displayName=cm;var cv="AccordionHeader",cb=b.default.forwardRef((e,t)=>{let{__scopeAccordion:a,...n}=e,r=cu(d4,a),o=cg(cv,a);return(0,h.jsx)(dH.Primitive.h3,{"data-orientation":r.orientation,"data-state":cC(o.open),"data-disabled":o.disabled?"":void 0,...n,ref:t})});cb.displayName=cv;var cy="AccordionTrigger",cx=b.default.forwardRef((e,t)=>{let{__scopeAccordion:a,...n}=e,r=cu(d4,a),o=cg(cy,a),i=cs(cy,a),s=ca(a);return(0,h.jsx)(d8.ItemSlot,{scope:a,children:(0,h.jsx)(dQ,{"aria-disabled":o.open&&!i.collapsible||void 0,"data-orientation":r.orientation,id:o.triggerId,...s,...n,ref:t})})});cx.displayName=cy;var cS="AccordionContent",cw=b.default.forwardRef((e,t)=>{let{__scopeAccordion:a,...n}=e,r=cu(d4,a),o=cg(cS,a),i=ca(a);return(0,h.jsx)(d1,{role:"region","aria-labelledby":o.triggerId,"data-orientation":r.orientation,...i,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function cC(e){return e?"open":"closed"}cw.displayName=cS;var cT=e.i(18324);let c$=b.forwardRef(({className:e,...t},a)=>(0,h.jsx)(cf,{ref:a,className:(0,sG.cn)("group relative","after:pointer-events-none after:absolute after:inset-x-[var(--accordion-divider-inset,0px)] after:bottom-0 after:h-px after:content-[''] after:[background-color:color-mix(in_sRGB,var(--color-text)_25%,transparent)] max-md:after:inset-x-[var(--accordion-divider-inset-tablet,0px)]","last:after:hidden",e),...t}));c$.displayName="CampaignAccordionItem";let cE='[&_path]:transition-colors [&_polygon]:transition-colors [&_path[class*="dark"]]:fill-[var(--color-flourish-primary)] [&_polygon[class*="dark"]]:fill-[var(--color-flourish-primary)] [&_path[class*="light"]]:fill-[var(--color-flourish-secondary)] [&_polygon[class*="light"]]:fill-[var(--color-flourish-secondary)] group-hover:[&_path[class*="light"]]:fill-[var(--color-flourish-primary)] group-hover:[&_polygon[class*="light"]]:fill-[var(--color-flourish-primary)]',cI=b.forwardRef(({className:e,children:t,customIcon:a,customIconOpen:n,eyebrow:r,eyebrowClassName:o,iconWrapperClassName:i,...s},l)=>{let d=b.useRef(null);b.useImperativeHandle(l,()=>d.current,[]);let c=e=>{e.target.closest(".tiptap")||d.current?.click()},u=a&&n?(0,h.jsxs)("span",{className:(0,sG.cn)("relative inline-block h-8 w-8 shrink-0","[scale:var(--accordion-icon-scale,1)]"),children:[(0,h.jsx)("span",{className:(0,sG.cn)("absolute inset-0 transition-all duration-200",cE,"group-hover:rotate-90","group-data-[state=open]:rotate-90 group-data-[state=open]:opacity-0"),children:a}),(0,h.jsx)("span",{className:(0,sG.cn)("absolute inset-0 -rotate-90 opacity-0 transition-all duration-200",cE,"group-data-[state=open]:rotate-0 group-data-[state=open]:opacity-100"),children:n})]}):a?(0,h.jsx)("span",{className:(0,sG.cn)("inline-block h-8 w-8 shrink-0 transition-transform duration-200",cE,"[scale:var(--accordion-icon-scale,1)]","group-hover:rotate-180 group-data-[state=open]:rotate-180"),children:a}):(0,h.jsx)(cT.ChevronDown,{className:(0,sG.cn)("h-7 w-7 shrink-0 transition-transform duration-200","[color:var(--color-text)]","[scale:var(--accordion-icon-scale,1)]","group-hover:rotate-180 group-data-[state=open]:rotate-180")}
1269);return(0,h.jsxs)("div",{className:(0,sG.cn)("flex cursor-pointer items-start gap-8 max-md:gap-6",e),onClick:e=>{e.target===e.currentTarget&&d.current?.click()},children:[(0,h.jsxs)("div",{className:"min-w-0 flex-1 self-center",children:[r&&(0,h.jsx)("div",{className:(0,sG.cn)("cursor-pointer",o),onClick:c,children:r}),(0,h.jsx)(cb,{className:"mb-0 mt-0 flex",children:(0,h.jsx)(cx,{ref:d,className:(0,sG.cn)("flex w-full flex-1 items-center justify-between text-left",a?"min-h-[2rem]":"min-h-[1.75rem]","font-header text-site-body-md font-black [color:var(--color-text)]","bg-transparent shadow-none","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-text-accent-primary)] focus-visible:ring-offset-2","transition-colors duration-200"),...s,children:t})})]}),(0,h.jsx)("span",{className:(0,sG.cn)("flex shrink-0 cursor-pointer",i),onClick:c,children:u})]})});cI.displayName=cx.displayName;let cN=b.forwardRef(({className:e,children:t,...a},n)=>{let[r,o]=(0,b.useState)(!1);return(0,h.jsx)(cw,{ref:n,className:(0,sG.cn)("grid grid-rows-[0fr] data-[state=open]:grid-rows-[1fr]","data-[state=open]:animate-accordion-grid-down data-[state=closed]:animate-accordion-grid-up","[color:var(--color-text)]"),onAnimationStart:()=>o(!1),onAnimationEnd:e=>{"accordion-grid-down"===e.animationName&&o(!0)},...a,children:(0,h.jsx)("div",{className:(0,sG.cn)(r?"":"overflow-hidden","min-h-0"),children:(0,h.jsx)("div",{className:(0,sG.cn)("font-body",e),children:t})})})});cN.displayName=cw.displayName;var c_=e.i(23886),ck=e.i(99213);function cM(e){return(0,ck.default)(1,arguments),Math.floor(function(e){return(0,ck.default)(1,arguments),(0,c_.default)(e).getTime()}(e)/1e3)}var cA=e.i(76631),cR=e.i(96319),cO=e.i(75872),cB=e.i(51874),cP=e.i(10447);let cL=(0,sW.styled)("h6")`
1270  margin: 2em auto 1em auto;
1271  text-align: center;
1272  max-width: 900px;
1273
1274  &:first-of-type {
1275    margin-top: 0;
1276  }
1277`,cD=({blockData:e,data:t,onClick:a,usesExternalProvider:n,isMobilize:r=!1,uiShowAllRsvpButtons:o,bgColor:i,innerBgColor:s})=>{let l=t?.events?.some(e=>!(0,sI.default)(e.imageUrl)),{upcomingEvents:d,pastEvents:c}=(0,b.useMemo)(()=>{let a=new Date,n=(0,cB.addDays)(a,-1),o=t?.events??[],i=!1!==e.chronologicalSort;if(!e.showPastEvents){let e=o.filter(e=>e.occurrences.some(e=>new Date(e.end)>n));return{upcomingEvents:i?e.sort((e,t)=>{if(e.featured&&!t.featured)return -1;if(t.featured&&!e.featured)return 1;let n=new Date(e.occurrences.find(e=>new Date(e.start)>a)?.start??e.occurrences[0].start),r=new Date(t.occurrences.find(e=>new Date(e.start)>a)?.start??t.occurrences[0].start);return n.getTime()-r.getTime()}):e,pastEvents:[]}}let s=[],l=[];return o.forEach(e=>{let t=e.occurrences.filter(e=>new Date(e.end)>n),a=e.occurrences.filter(e=>new Date(e.end)<=n);t.length>0&&s.push({...e,occurrences:t.sort((e,t)=>new Date(e.start).getTime()-new Date(t.start).getTime())}),!r&&a.length>0&&l.push({...e,id:`${e.id}-past`,occurrences:a.sort((e,t)=>new Date(t.start).getTime()-new Date(e.start).getTime())})}),{upcomingEvents:i?s.sort((e,t)=>{if(e.featured&&!t.featured)return -1;if(t.featured&&!e.featured)return 1;let a=new Date(e.occurrences[0].start),n=new Date(t.occurrences[0].start);return a.getTime()-n.getTime()}):s,pastEvents:(i?l.sort((e,t)=>{let a=new Date(e.occurrences[0].start);return new Date(t.occurrences[0].start).getTime()-a.getTime()}):l).slice(0,20)}},[t,e.showPastEvents,e.chronologicalSort,r]);return 0===d.length+c.length?(0,h.jsx)("p",{style:{textAlign:"center"},children:e.noUpcomingEventsText||"There are no upcoming events."}):(0,h.jsxs)(h.Fragment,{children:[d.map(d=>(0,h.jsx)(cP.default,{blockData:e,event:d,index:t?.events?.indexOf(d)??-1,submitButtonText:e.submitBtnText,uiShowRsvpButton:o,onClick:a,hasMargin:!0,hasImages:l,usesExternalProvider:n,isMobilize:r,bgColor:s,hideShadows:i!==s},d.id)),e.showPastEvents&&c.length>0&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(cL,{children:e.pastEventsText||"Past Events"}),c.map((r,o)=>{let d=r.id.replace("-past",""),c=t?.events?.findIndex(e=>e.id===d)??-1;return(0,h.jsx)(cP.default,{blockData:e,event:r,index:c>=0?c+1e3:o+1e3,submitButtonText:e.submitBtnText,uiShowRsvpButton:!1,onClick:a,hasMargin:!0,hasImages:l,usesExternalProvider:n,bgColor:s,hideShadows:i!==s},r.id)})]})]})},cj=(0,s7.default)(()=>e.A(63585),{loadableGenerated:{modules:[21e3]},ssr:!1});var cG=e.i(71701),cF=e.i(98630),cH=e.i(55261),cU=e.i(21323),cK=e.i(15363),cz=e.i(48908),cV=e.i(58021);let cW
vendor: 12,697 bytes, line 1277
1277={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","(?:[025-7]\\d|44)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}
vendor: 8,664 bytes, line 1277
1277|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4}
vendor: 4,511 bytes, line 1277
1277)","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8}
vendor: 5,041 bytes, line 1277
1277)","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])
vendor: 9,381 bytes, line 1277
1277))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2
vendor: 4,618 bytes, line 1277
1277-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2
vendor: 14,764 bytes, line 1277
1277-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33622|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:[19]|2[2-46-9]|3[3-9])|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}
vendor: 7,500 bytes, line 1277
1277(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,0,[["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8
vendor: 5,993 bytes, line 1277
1277(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-8]\\d|90)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|30|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4}
vendor: 10,858 bytes, line 1277
1277)","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["3052(?:0[0-8]|[1-9]\\d)\\d{4}|(?:2742|305[3-9])\\d{6}|(?:472|983)[2-47-9]\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};
1277var cZ={}.constructor;function cY(e){return null!=e&&e.constructor===cZ}function cJ(e){return(cJ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function cq(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function cX(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function cQ(e){var t,a,n,r,o=function(e){if(Array.isArray(e))return e}(t=Array.prototype.slice.call(e))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,n,r,o,i=[],s=!0,l=!1;try{r=(t=t.call(e)).next,!1;for(;!(s=(a=r.call(t)).done)&&(i.push(a.value),4!==i.length);s=!0);}catch(e){l=!0,n=e}finally{try{if(!s&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(l)throw n}}return i}}(t)||function(e){if(e){if("string"==typeof e)return cX(e,4);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?cX(e,4):void 0}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],s=o[1],l=o[2],d=o[3];if("string"==typeof i)a=i;else throw TypeError("A text for parsing must be a string.");if(s&&"string"!=typeof s)if(cY(s))l?(n=s,r=l):r=s;else throw Error("Invalid second argument: ".concat(s));else d?(n=l,r=d):(n=void 0,r=l),s&&(n=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?cq(Object(a),!0).forEach(function(t){var n,r,o;n=e,r=t,o=a[t],(r=function(e){var t=function(e,t){if("object"!=cJ(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=cJ(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==cJ(t)?t:t+""}(r))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):cq(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({defaultCountry:s},n));return{text:a,options:n,metadata:r}}var c0="0-90-9٠-٩۰-۹",c1="".concat("-‐-―−ー-").concat("//").concat("..").concat("  ­​⁠ ").concat("()()[]\\[\\]").concat("~⁓∼~"),c2="++";function c3(e){return(c3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c5(e){var t="function"==typeof Map?new Map:void 0;return(c5=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,a)}function a(){return function(e,t,a){if(c4())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var r=new(e.bind.apply(e,n));return a&&c6(r,a.prototype),r}(e,arguments,c8(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),c6(a,e)})(e)}function c4(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(c4=function(){return!!e})()}
1277function c6(e,t){return(c6=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c8(e){return(c8=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var c9=function(e){function t(e){var a,n,r;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");return n=t,r=[e],n=c8(n),Object.setPrototypeOf(a=function(e,t){if(t&&("object"==c3(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var a=e;if(void 0===a)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return a}(this,c4()?Reflect.construct(n,r||[],c8(this).constructor):n.apply(this,r)),t.prototype),a.name=a.constructor.name,a}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c6(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(c5(Error));function c7(e,t){e=e.split("-"),t=t.split("-");for(var a=e[0].split("."),n=t[0].split("."),r=0;r<3;r++){var o=Number(a[r]),i=Number(n[r]);if(o>i)return 1;if(i>o)return -1;if(!isNaN(o)&&isNaN(i))return 1;if(isNaN(o)&&!isNaN(i))return -1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}function ue(e){return(ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ut(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function ua(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=ue(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=ue(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ue(t)?t:t+""}(n.key),n)}}function un(e,t,a){return t&&ua(e.prototype,t),a&&ua(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}var ur=" ext. ",uo=/^\d+$/,ui=un(function e(t){ut(this,e),up(t),this.metadata=t,uf.call(this,t)},[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(e){return"001"!==e})}},{key:"getCountryMetadata",value:function(e){return this.metadata.countries[e]}},{key:"nonGeographic",value:function(){if(!this.v1&&!this.v2&&!this.v3)return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(e){return void 0!==this.getCountryMetadata(e)}},{key:"hasCallingCode",value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&1===t.length&&"001"===t[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:"country",value:function(e){return this.selectNumberingPlan(e)}},{key:"selectNumberingPlan",value:function(e,t){if(e&&uo.test(e)&&(t=e,e=null),e&&"001"!==e){if(!this.hasCountry(e))throw Error("Unknown country: ".concat(e));this.numberingPlan=new us(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw Error("Unknown calling code: ".concat(t));this.numberingPlan=new us(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(e){var t=this.countryCallingCodes()[e];if(t){if(1===t.length&&3===t[0].length)return;return t}}},{key:"getCountryCodeForCallingCode",value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:"getNumberingPlanMetadata",value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var a=this.nonGeographic()[e];if(a)return a}else{var n=this.countryCallingCodes()[e];
vendor: 4,927 bytes, line 1277
1277if(n&&1===n.length&&"001"===n[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(e){return this.numberingPlan.type(e)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(e){return this.selectNumberingPlan(e)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),us=un(function e(t,a){ut(this,e),this.globalMetadataObject=a,this.metadata=t,uf.call(this,a.metadata)},[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(e){return e[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var e=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(t){return new ul(t,e)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return(!this.types()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(e){if(this.hasTypes()&&uu(this.types(),e))return new uc(uu(this.types(),e),this)}},{key:"ext",value:function(){return this.v1||this.v2?ur:this.metadata[13]||ur}}]),ul=un(function e(t,a){ut(this,e),this._format=t,this.metadata=a},[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||ud.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),ud=/^\(?\$1\)?$/,uc=un(function e(t,a){ut(this,e),this.type=t,this.metadata=a},[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.t
1277ype[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]);function uu(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function up(e){if(!e)throw Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!cY(e)||!cY(e.countries))throw Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(cY(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+um(e)+": "+e,"."))}var um=function(e){return ue(e)};function uh(e,t){if((t=new ui(t)).hasCountry(e))return t.selectNumberingPlan(e).countryCallingCode();throw Error("Unknown country: ".concat(e))}function ug(e,t){return t.countries.hasOwnProperty(e)}function uf(e){var t=e.version;"number"==typeof t?(this.v1=1===t,this.v2=2===t,this.v3=3===t,this.v4=4===t):t?-1===c7(t,"1.2.0")?this.v2=!0:-1===c7(t,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}var uv=function(e){return"([".concat(c0,"]{1,").concat(e,"})")};function ub(e){var t="[  \\t,]*",a="[:\\..]?[  \\t,-]*",n="[  \\t]*";return";ext="+uv("20")+"|"+(t+"(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)"+a+uv("20"))+"#?|"+(t+"(?:[xx##~~]|int|int)"+a+uv("9"))+"#?|"+("[- ]+"+uv("6"))+"#|"+(n+"(?:,{2}|;)"+a+uv("15"))+"#?|"+(n+"(?:,)+"+a+uv("9"))+"#?"}var uy="["+c2+"]{0,1}(?:["+c1+"]*["+c0+"]){3,}["+c1+c0+"]*",ux=RegExp("^["+c2+"]{0,1}(?:["+c1+"]*["+c0+"]){1,2}$","i"),uS=RegExp("^["+c0+"]{2}$|^"+(uy+"(?:"+ub())+")?$","i"),uw=RegExp("(?:"+ub()+")$","i");function uC(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var uT={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function u$(e){for(var t,a="",n=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return uC(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?uC(e,void 0):void 0}}(e))){t&&(e=t);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(t=n()).done;){var r=uT[t.value];r&&(a+=r)}return a}function uE(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function uI(e){for(var t,a="",n=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return uE(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?uE(e,void 0):void 0}}(e))){t&&(e=t);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(t=n()).done;){var r=t.value;a+=uN(r,a)||""}return a}function uN(e,t,a){if("+"===e){if(t){"function"==typeof a&&a("end");return}return"+"}return uT[e]}function u_(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function uk(e,t,a){return function e(t,a,n,r){a&&(r=new ui(r.metadata)).selectNumberingPlan(a);var o=r.type(n),i=o&&o.possibleLengths()||r.possibleLengths();if(!i)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===n){if(!r.type("FIXED_LINE"))return e(t,a,"MOBILE",r);var s=r.type("MOBILE");s&&(i=function(e,t){for(var a,n=e.slice(),r=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return u_(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u_(e,void 0):void 0}}(e))){t&&(e=t);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(a=r()).done;){var o=a.value;0>e.indexOf(o)&&n.push(o)}return n.sort(function(e,t){return e-t})}(i,s.possibleLengths()))}else if(n&&!o)return"INVALID_LENGTH";var l=t.length,d=i[0];return d===l?"IS_POSSIBLE":d>l?"TOO_SHORT":i[i.length-1]<l?"TOO_LONG":i.indexOf(l,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}(e,t,void 0,a)}function uM(e,t,a){return"IS_POSSIBLE"===uk(e,t,a)}function uA(e,t){return e=e||"",RegExp("^(?:"+t+")$").test(e)}function uR(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var uO=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function uB(e,t,a){if(t=t||{},e.country||e.countryCallingCode){(a=new ui(a)).selectNumberingPlan(e.country,e.countryCallingCode);var n=t.v2?e.nationalNumber:e.phone;
1277if(uA(n,a.nationalNumberPattern())){if(uP(n,"FIXED_LINE",a))return a.type("MOBILE")&&""===a.type("MOBILE").pattern()||!a.type("MOBILE")||uP(n,"MOBILE",a)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var r,o=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return uR(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?uR(e,void 0):void 0}}(e))){t&&(e=t);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(uO);!(r=o()).done;){var i=r.value;if(uP(n,i,a))return i}}}}function uP(e,t,a){return!(!(t=a.type(t))||!t.pattern()||t.possibleLengths()&&0>t.possibleLengths().indexOf(e.length))&&uA(e,t.pattern())}var uL=RegExp("(["+c0+"])");function uD(e,t,a,n){if(t){var r=new ui(n);r.selectNumberingPlan(t,a);var o=new RegExp(r.IDDPrefix());if(0===e.search(o)){var i=(e=e.slice(e.match(o)[0].length)).match(uL);if(!i||null==i[1]||!(i[1].length>0)||"0"!==i[1])return e}}}function uj(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var a=RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),n=a.exec(e);if(n){var r,o,i,s=n.length-1,l=s>0&&n[s];if(t.nationalPrefixTransformRule()&&l)r=e.replace(a,t.nationalPrefixTransformRule()),s>1&&(o=n[1]);else{var d=n[0];r=e.slice(d.length),l&&(o=n[1])}if(l){var c=e.indexOf(n[1]);e.slice(0,c)===t.numberingPlan.nationalPrefix()&&(i=t.numberingPlan.nationalPrefix())}else i=n[0];return{nationalNumber:r,nationalPrefix:i,carrierCode:o}}}return{nationalNumber:e}}function uG(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function uF(e,t){var a=t.countries,n=t.metadata;n=new ui(n);for(var r,o=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return uG(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?uG(e,void 0):void 0}}(e))){t&&(e=t);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(a);!(r=o()).done;){var i=r.value;if(n.selectNumberingPlan(i),n.leadingDigits()){if(e&&0===e.search(n.leadingDigits()))return i}else if(uB({phone:e,country:i},void 0,n.metadata))return i}}function uH(e,t){var a=t.nationalNumber,n=t.metadata,r=n.getCountryCodesForCallingCode(e);if(r)return 1===r.length?r[0]:uF(a,{countries:r,metadata:n.metadata})}function uU(e,t,a){var n,r,o,i=uj(e,a),s=i.carrierCode,l=i.nationalNumber;if(l!==e){if(n=e,r=l,!(!uA(n,(o=a).nationalNumberPattern())||uA(r,o.nationalNumberPattern()))||a.numberingPlan.possibleLengths()&&(t||(t=uH(a.numberingPlan.callingCode(),{nationalNumber:l,metadata:a})),!function(e,t,a){switch(uk(e,t,a)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}
1277(l,t,a)))return{nationalNumber:e}}return{nationalNumber:l,carrierCode:s}}function uK(e,t,a,n,r){var o=t||a?uh(t||a,r):n;if(0===e.indexOf(o)){(r=new ui(r)).selectNumberingPlan(t||a,o);var i=e.slice(o.length),s=uU(i,t,r).nationalNumber,l=uU(e,t,r).nationalNumber;if(!uA(l,r.nationalNumberPattern())&&uA(s,r.nationalNumberPattern())||"TOO_LONG"===uk(l,t,r))return{countryCallingCode:o,number:i}}return{number:e}}function uz(e,t,a,n,r){if(!e)return{};if("+"!==e[0]){var o,i=uD(e,t||a,n,r);if(i&&i!==e)o=!0,e="+"+i;else{if(t||a||n){var s=uK(e,t,a,n,r),l=s.countryCallingCode,d=s.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:d}}return{number:e}}}if("0"===e[1])return{};r=new ui(r);for(var c=2;c-1<=3&&c<=e.length;){var u=e.slice(1,c);if(r.hasCallingCode(u))return r.selectNumberingPlan(u),{countryCallingCodeSource:o?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:u,number:e.slice(c)};c++}return{}}function uV(e){return e.replace(RegExp("[".concat(c1,"]+"),"g")," ").trim()}var uW=/(\$\d)/;function uZ(e,t,a){var n=a.useInternationalFormat,r=a.withNationalPrefix;a.carrierCode,a.metadata;var o=e.replace(new RegExp(t.pattern()),n?t.internationalFormat():r&&t.nationalPrefixFormattingRule()?t.format().replace(uW,t.nationalPrefixFormattingRule()):t.format());return n?uV(o):o}var uY=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/,uJ={formatExtension:function(e,t,a){return"".concat(e).concat(a.ext()).concat(t)}};function uq(e,t,a,n,r){var o=function(e,t){for(var a=e,n=0;n<a.length;){if(function(e){if(e.leadingDigitsPatterns().length>0){var a=e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length-1];if(0!==t.search(a))return!1}return uA(t,e.pattern())}(a[n]))return a[n];n++}}(n.formats(),e);return o?uZ(e,o,{useInternationalFormat:"INTERNATIONAL"===a,withNationalPrefix:!o.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!r||!1!==r.nationalPrefix,carrierCode:t,metadata:n}):e}function uX(e){return(uX="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function uQ(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function u0(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?uQ(Object(a),!0).forEach(function(t){var n,r,o;n=e,r=t,o=a[t],(r=u1(r))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):uQ(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function u1(e){var t=function(e,t){if("object"!=uX(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=uX(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==uX(t)?t:t+""}var u2=(hG=function e(t,a,n){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");if(!t)throw TypeError("First argument is required");if("string"!=typeof t)throw TypeError("First argument must be a string");if("+"===t[0]&&!a)throw TypeError("`metadata` argument not passed");if(cY(a)&&cY(a.countries)){n=a;var r=t;if(!u3.test(r))throw Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var o=uz(r,void 0,void 0,void 0,n),i=o.countryCallingCode;if(a=o.number,t=i,!a)throw Error("Invalid `number` argument passed: too short")}if(!a)throw TypeError("`nationalNumber` argument is required");if("string"!=typeof a)throw TypeError("`nationalNumber` argument must be a string");up(n);var s=function(e,t){var a,n,r=new ui(t);return/^[A-Z]{2}$/.test(e)?(a=e,r.selectNumberingPlan(a),n=r.countryCallingCode()):n=e,{country:a,countryCallingCode:n}}(t,n),l=s.country,d=s.countryCallingCode;this.country=l,this.countryCallingCode=d,this.nationalNumber=a,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return n}},hF=[{key:"setExt",value:function(e){this.ext=e}},{key:"getPossibleCountries",value:function(){var e,t,a,n;
1277return this.country?[this.country]:(e=this.countryCallingCode,t=this.nationalNumber,(n=new ui(a=this.getMetadata()).getCountryCodesForCallingCode(e))?n.filter(function(e){var n,r,o;return n=t,r=e,(o=new ui(a)).selectNumberingPlan(r),o.numberingPlan.possibleLengths().indexOf(n.length)>=0}):[])}},{key:"isPossible",value:function(){return function(e,t,a){if(void 0===t&&(t={}),a=new ui(a),t.v2){if(!e.countryCallingCode)throw Error("Invalid phone number object passed");a.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!a.hasCountry(e.country))throw Error("Unknown country: ".concat(e.country));a.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw Error("Invalid phone number object passed");a.selectNumberingPlan(e.countryCallingCode)}}if(a.possibleLengths())return uM(e.phone||e.nationalNumber,e.country,a);if(e.countryCallingCode&&a.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){var e,t;return(e=e={v2:!0},(t=new ui(t=this.getMetadata())).selectNumberingPlan(this.country,this.countryCallingCode),t.hasTypes())?void 0!==uB(this,e,t.metadata):uA(e.v2?this.nationalNumber:this.phone,t.nationalNumberPattern())}},{key:"isNonGeographic",value:function(){return new ui(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return uB(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(e,t){return function(e,t,a,n){if(a=a?function(){for(var e=1,t=arguments.length,a=Array(t),n=0;n<t;n++)a[n]=arguments[n];for(;e<a.length;){if(a[e])for(var r in a[e])a[0][r]=a[e][r];e++}return a[0]}({},uJ,a):uJ,n=new ui(n),e.country&&"001"!==e.country){if(!n.hasCountry(e.country))throw Error("Unknown country: ".concat(e.country));n.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)return e.phone||"";n.selectNumberingPlan(e.countryCallingCode)}var r,o,i,s,l,d,c,u,p,m,h,g,f,v=n.countryCallingCode(),b=a.v2?e.nationalNumber:e.phone;switch(t){case"NATIONAL":if(!b)return"";return r=f=uq(b,e.carrierCode,"NATIONAL",n,a),o=e.ext,i=n,s=a.formatExtension,o?s(r,o,i):r;case"INTERNATIONAL":if(!b)return"+".concat(v);return f=uq(b,null,"INTERNATIONAL",n,a),l=f="+".concat(v," ").concat(f),d=e.ext,c=n,u=a.formatExtension,d?u(l,d,c):l;case"E.164":return"+".concat(v).concat(b);case"RFC3966":var y={number:"+".concat(v).concat(b),ext:e.ext},x=y.number,S=y.ext;if(!x)return"";if("+"!==x[0])throw Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(x).concat(S?";ext="+S:"");case"IDD":if(!a.fromCountry)return;return p=function(e,t,a,n,r){if(uh(n,r.metadata)===a){var o,i,s=uq(e,t,"NATIONAL",r);return"1"===a?a+" "+s:s}var l=(o=void 0,((i=new ui(r.metadata)).selectNumberingPlan(n,o),i.defaultIDDPrefix())?i.defaultIDDPrefix():uY.test(i.IDDPrefix())?i.IDDPrefix():void 0);if(l)return"".concat(l," ").concat(a," ").concat(uq(e,null,"INTERNATIONAL",r))}(b,e.carrierCode,v,a.fromCountry,n),m=e.ext,h=n,g=a.formatExtension,m?g(p,m,h):p;default:throw Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}(this,e,t?u0(u0({},t),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}],function(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u1(n.key),n)}}(hG.prototype,hF),Object.defineProperty(hG,"prototype",{writable:!1}),hG),u3=/^\+\d+$/,u5="(["+c0+"]|[\\-\\.\\(\\)]?)",u4=RegExp("^\\+"+u5+"*["+c0+"]"+u5+"*$","g"),u6=RegExp("^("+("["+c0+"]+((\\-)*[")+c0+"])*\\.)*[a-zA-Z]+((\\-)*["+c0+"])*\\.?$","g"),u8="tel:",u9=";phone-context=",u7=RegExp("["+c2+c0+"]"),pe=RegExp("[^"+c0+"#]+$");function pt(e){return(pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function pn(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};
1277t%2?pa(Object(a),!0).forEach(function(t){var n,r,o;n=e,r=t,o=a[t],(r=function(e){var t=function(e,t){if("object"!=pt(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=pt(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pt(t)?t:t+""}(r))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):pa(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function pr(e){return(pr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function po(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function pi(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?po(Object(a),!0).forEach(function(t){var n,r,o;n=e,r=t,o=a[t],(r=function(e){var t=function(e,t){if("object"!=pr(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=pr(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pr(t)?t:t+""}(r))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):po(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function ps(e,t,a){t&&t.defaultCountry&&!ug(t.defaultCountry,a)&&(t=pi(pi({},t),{},{defaultCountry:void 0}));try{var n;return n=t,function(e,t,a){if(t=t||{},a=new ui(a),t.defaultCountry&&!a.hasCountry(t.defaultCountry)){if(t.v2)throw new c9("INVALID_COUNTRY");throw Error("Unknown country: ".concat(t.defaultCountry))}var n,r,o,i,s=function(e,t,a){var n=function(e,t){var a=t.extractFormattedPhoneNumber,n=function(e){var t=e.indexOf(u9);if(t<0)return null;var a=t+u9.length;if(a>=e.length)return"";var n=e.indexOf(";",a);return n>=0?e.substring(a,n):e.substring(a)}(e);if(!(null===n||0!==n.length&&(u4.test(n)||u6.test(n))))throw new c9("NOT_A_NUMBER");if(null===n)r=a(e)||"";else{r="","+"===n.charAt(0)&&(r+=n);var r,o,i=e.indexOf(u8);o=i>=0?i+u8.length:0;var s=e.indexOf(u9);r+=e.substring(o,s)}var l=r.indexOf(";isub=");if(l>0&&(r=r.substring(0,l)),""!==r)return r}(e,{extractFormattedPhoneNumber:function(e){if(e){if(e.length>250){if(t)throw new c9("TOO_LONG");return}if(!1===a)return e;var n=e.search(u7);return n<0?void 0:e.slice(n).replace(pe,"")}}});if(!n)return{};if(!(n.length>=2&&uS.test(n)))return ux.test(n)?{error:"TOO_SHORT"}:{};var r=function(e){var t=e.search(uw);if(t<0)return{};for(var a=e.slice(0,t),n=e.match(uw),r=1;r<n.length;){if(n[r])return{number:a,ext:n[r]};r++}}(n);return r.ext?r:{number:n}}(e,t.v2,t.extract),l=s.number,d=s.ext,c=s.error;if(!l){if(t.v2){if("TOO_SHORT"===c)throw new c9("TOO_SHORT");throw new c9("NOT_A_NUMBER")}return{}}var u=function(e,t,a,n){var r,o=uz(uI(e),void 0,t,a,n.metadata),i=o.countryCallingCodeSource,s=o.countryCallingCode,l=o.number;if(s)n.selectNumberingPlan(s);else{if(!l||!t&&!a)return{};n.selectNumberingPlan(t,a),t&&(r=t),s=a||uh(t,n.metadata)}if(!l)return{countryCallingCodeSource:i,countryCallingCode:s};var d=uU(uI(l),r,n),c=d.nationalNumber,u=d.carrierCode,p=uH(s,{nationalNumber:c,metadata:n});return p&&(r=p,"001"===p||n.selectNumberingPlan(r)),{country:r,countryCallingCode:s,countryCallingCodeSource:i,nationalNumber:c,carrierCode:u}}(l,t.defaultCountry,t.defaultCallingCode,a),p=u.country,m=u.nationalNumber,h=u.countryCallingCode,g=u.countryCallingCodeSource,f=u.carrierCode;if(!a.hasSelectedNumberingPlan()){if(t.v2)throw new c9("INVALID_COUNTRY");return{}}if(!m||m.length<2){if(t.v2)throw new c9("TOO_SHORT");return{}}if(m.length>17){if(t.v2)throw new c9("TOO_LONG");return{}}if(t.v2){var v=new u2(h,m,a.metadata);
1277return p&&(v.country=p),f&&(v.carrierCode=f),d&&(v.ext=d),v.__countryCallingCodeSource=g,v}var b=(t.extended?!!a.hasSelectedNumberingPlan():!!p)&&uA(m,a.nationalNumberPattern());return t.extended?{country:p,countryCallingCode:h,carrierCode:f,valid:b,possible:!!b||!!(!0===t.extended&&a.possibleLengths()&&uM(m,p,a)),phone:m,ext:d}:b?(n=p,r=m,o=d,i={country:n,phone:r},o&&(i.ext=o),i):{}}(e,pn(pn({},n),{},{v2:!0}),a)}catch(e){if(e instanceof c9);else throw e}}function pl(){var e=cQ(arguments);return ps(e.text,e.options,e.metadata)}function pd(e){return(pd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pc(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function pu(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?pc(Object(a),!0).forEach(function(t){var n,r,o;n=e,r=t,o=a[t],(r=function(e){var t=function(e,t){if("object"!=pd(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=pd(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pd(t)?t:t+""}(r))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):pc(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function pp(){var e=cQ(arguments),t=e.text,a=e.options,n=e.metadata,r=ps(t,a=pu(pu({},a),{},{extract:!1}),n);return r&&r.isValid()||!1}let pm={ext:"ext.",country:"Phone number country",phone:"Phone",AC:"Ascension Island",AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Åland Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BQ:"Bonaire, Sint Eustatius and Saba",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Congo, Democratic Republic of the",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Cote d'Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curaçao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States of Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin (French Part)",MG:"Mad
1277agascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Swaziland",TA:"Tristan da Cunha",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"United States Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See (Vatican City State)",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",XA:"Abkhazia",XK:"Kosovo",XO:"South Ossetia",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"International"};var ph=e.i(91567),pg=ph.default.shape({country_calling_codes:ph.default.object.isRequired,countries:ph.default.object.isRequired}),pf=ph.default.objectOf(ph.default.string),pv=e.i(72043);function pb(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function py(e,t){for(var a,n=0,r=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return pb(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return pb(e,void 0)}}(e))){t&&(e=t);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.split(""));!(a=r()).done;)a.value===e&&n++;return n}function px(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function pS(e,t){void 0!==t&&(function(){if("u">typeof navigator)return pw.test(navigator.userAgent)}()?setTimeout(function(){return e.setSelectionRange(t,t)},0):e.setSelectionRange(t,t))}var pw=/Android/i;function pC(e,t,a,n,r){var o=function(e,t,a){for(var n={},r="",o=0,i=0;i<e.length;){var s=a(e[i],r,n);void 0!==s&&(r+=s,void 0!==t&&(t===i?o=r.length-1:t>i&&(o=r.length))),i++}return void 0===t&&(o=r.length),{value:r,caret:o}}(e.value,e.selectionStart,t),i=o.value,s=o.caret;if(n){var l=function(e,t,a){switch(a){case"Backspace":t>0&&(e=e.slice(0,t-1)+e.slice(t),t--);break;case"Delete":e=e.slice(0,t)+e.slice(t+1)}return{value:e,caret:t}}(i,s,n);i=l.value,s=l.caret}var d=function(e,t,a){"string"==typeof a&&(a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",a=arguments.length>2?arguments[2]:void 0;if(!e)return function(e){return{text:e}};var n=py(t,e);return function(r){if(!r)return{text:"",template:e};for(var o,i=0,s="",l=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return px(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return px(e,void 0)}}(e))){t&&(e=t);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(o=l()).done;){var d=o.value;if(d!==t){s+=d;continue}if(s+=r[i],++i===r.length&&r.length<n)break}return a&&(s=function(e,t){for(var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"x",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:" ",r=e.length,o=py("(",e)-py(")",e);o>0&&r<t.length;)e+=t[r].replace(a,n),")"===t[r]&&o--,r++;return e}(s,e)),{text:s,template:e}}}(a));var n=a(e)||{},r=n.text,o=n.template;if(void 0===r&&(r=e),o)if(void 0===t)t=r.length;else{for(var i=0,s=!1,l=-1;i<r.length&&i<o.length;){if(r[i]!==o[i]){if(0===t){s=!0,t=i;break}l=i,t--}i++}s||(t=l+1)}return{text:r,caret:t}}(i,s,a),c=d.text;s=d.caret,e.value=c,pS(e,s),r&&r(i)}var pT=["ref","parse","format","value","defaultValue","controlled","onChange","onKeyDown"];function p$(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function pE(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};
1277t%2?p$(Object(a),!0).forEach(function(t){var n,r,o;n=e,r=t,o=a[t],r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):p$(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var pI=["inputComponent","parse","format","value","defaultValue","onChange","controlled","onKeyDown","type"];function pN(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function p_(e,t){var a,n,r,o,i,s,l,d,c,u,p,m,h,g,f,v=e.inputComponent,y=e.parse,x=e.format,S=e.value,w=e.defaultValue,C=e.onChange,T=e.controlled,$=e.onKeyDown,E=e.type,I=(n=(a=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?pN(Object(a),!0).forEach(function(t){var n,r,o;n=e,r=t,o=a[t],r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):pN(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({ref:t,parse:y,format:x,value:S,defaultValue:w,onChange:C,controlled:T,onKeyDown:$,type:void 0===E?"text":E},function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,pI))).ref,r=a.parse,o=a.format,i=a.value,s=a.defaultValue,l=a.controlled,d=a.onChange,c=a.onKeyDown,u=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(a,pT),p=(0,b.useRef)(),m=(0,b.useCallback)(function(e){p.current=e,n&&("function"==typeof n?n(e):n.current=e)},[n]),h=(0,b.useCallback)(function(e){pC(p.current,r,o,void 0,d)},[p,r,o,d]),g=(0,b.useCallback)(function(e){if(c&&c(e),!e.defaultPrevented){var t=p.current;if(!t.hasAttribute("readonly")){var a=function(e){switch(e.keyCode){case 8:return"Backspace";case 46:return"Delete"}}(e);switch(a){case"Delete":case"Backspace":e.preventDefault();var n,i,s,l=function(e){if(e.selectionStart!==e.selectionEnd)return{start:e.selectionStart,end:e.selectionEnd}}(t);if(l){return n=t,i=l,s=n.value,n.value=s=s.slice(0,i.start)+s.slice(i.end),pS(n,i.start),pC(t,r,o,void 0,d)}return pC(t,r,o,a,d)}}return}},[p,r,o,d,c]),f=pE(pE({},u),{},{ref:m,onChange:h,onKeyDown:g}),void 0===l||l?pE(pE({},f),{},{value:o(null==i?"":i).text}):pE(pE({},f),{},{defaultValue:o(null==s?"":s).text}));return b.default.createElement(void 0===v?"input":v,I)}(p_=b.default.forwardRef(p_)).propTypes={parse:ph.default.func.isRequired,format:ph.default.func.isRequired,inputComponent:ph.default.elementType,type:ph.default.string,value:ph.default.string,defaultValue:ph.default.string,onChange:ph.default.func,controlled:ph.default.bool,onKeyDown:ph.default.func,onCut:ph.default.func,onPaste:ph.default.func};let pk=p_;function pM(e){return(pM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var pA=(hH=function e(t){var a=t.onCountryChange,n=t.onCallingCodeChange;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.onCountryChange=a,this.onCallingCodeChange=n},hU=[{key:"reset",value:function(e){var t=e.country,a=e.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(t,a)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberIsModified=!1,this.nationalPrefix=void 0,this.carrierCode=void 0,this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix=void 0}},{key:"update",value:function(e){for(var t=0,a=Object.keys(e);t<a.length;t++){var n=a[t];this[n]=e[n]}}},{key:"initCountryAndCallingCode",value:function(e,t){this.setCountry(e),this.setCallingCode(t)}},{key:"setCountry",value:function(e){this.country=e,this.onCountryChange(e)}},{key:"setCallingCode",value:function(e){this.callingCode=e,this.onCallingCodeChange(e,this.country)}},{key:"startInternationalNumber",value:function(e,t){this.international=!0,this.initCountryAndCallingCode(e,t)}},{key:"appendDigits",value:function(e){this.digits+=e}},{key:"appendNationalSignificantNumberDigits",value:function(e){this.nationalSignificantNumber+=e}},{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(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=pM(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=pM(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pM(t)?t:t+""}(n.key),n)}}(hH.prototype,hU),Object.defineProperty(hH,"prototype",{writable:!1}),hH);function pR(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var pO=/x/;function pB(e,t){if(t<1)return"";for(var a="";t>1;)1&t&&(a+=e),t>>=1,e+=e;return a+e}function pP(e,t){return")"===e[t]&&t++,function(e){for(var t=[],a=0;a<e.length;)"("===e[a]?t.push(a):")"===e[a]&&t.pop(),a++;var n=0,r="";t.push(e.length);for(var o=0;o<t.length;o++){var i=t[o];r+=e.slice(n,i),n=i+1}return r}(e.slice(0,t))}function pL(e,t,a){var n,r,o=a.metadata,i=a.useNationalPrefixFormattingRule,
1277s=a.getSeparatorAfterNationalPrefix,l=uZ(e.nationalSignificantNumber,t,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:i,metadata:o});if(!i&&(e.nationalPrefix?l=e.nationalPrefix+s(t)+l:e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix&&(l=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix+" "+l)),n=l,r=e,u$(n)===r.getNationalDigits())return l}function pD(e){return(pD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var pj=(hK=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")},hz=[{key:"parse",value:function(e){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(e),1!==this.context.length)throw Error("Non-finalized contexts left when pattern parse ended");var t=this.context[0],a=t.branches,n=t.instructions;if(a)return{op:"|",args:a.concat([pH(n)])};if(0===n.length)throw Error("Pattern is required");return 1===n.length?n[0]:n}},{key:"startContext",value:function(e){this.context.push(e)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(e){if(!e)throw Error("Pattern is required");var t=e.match(pF);if(!t){if(pG.test(e))throw Error("Illegal characters found in a pattern: ".concat(e));this.getContext().instructions=this.getContext().instructions.concat(e.split(""));return}var a=t[1],n=e.slice(0,t.index),r=e.slice(t.index+a.length);switch(a){case"(?:":n&&this.parsePattern(n),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw Error('")" operator must be preceded by "(?:" operator');if(n&&this.parsePattern(n),0===this.getContext().instructions.length)throw Error('No instructions found after "|" operator in an "or" group');var o=this.getContext().branches;o.push(pH(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:o});break;case"|":if(!this.getContext().or)throw Error('"|" operator can only be used inside "or" groups');if(n&&this.parsePattern(n),!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(pH(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":n&&this.parsePattern(n),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(e){for(var t=[],a=0;a<e.length;){if("-"===e[a]){if(0===a||a===e.length-1)throw Error("Couldn't parse a one-of set pattern: ".concat(e));for(var n=e[a-1].charCodeAt(0)+1,r=e[a+1].charCodeAt(0)-1,o=n;o<=r;)t.push(String.fromCharCode(o)),o++}else t.push(e[a]);a++}return t}(n)});break;default:throw Error("Unknown operator: ".concat(a))}r&&this.parsePattern(r)}}],function(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=pD(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=pD(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pD(t)?t:t+""}(n.key),n)}}(hK.prototype,hz),Object.defineProperty(hK,"prototype",{writable:!1}),hK),pG=/[\(\)\[\]\?\:\|]/,pF=RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function pH(e){return 1===e.length?e[0]:e}function pU(e,t){var a="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(a)return(a=a.call(e)).next.bind(a);if(Array.isArray(e)||(a=function(e){if(e){if("string"==typeof e)return pK(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?pK(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function pK(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function pz(e){return(pz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var pV=(hV=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.matchTree=new pj().parse(t)},hW=[{key:"match",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.allowOverflow;
1277if(!e)throw Error("String is required");var n=function e(t,a,n){if("string"==typeof a){var r=t.join("");return 0===a.indexOf(r)?t.length===a.length?{match:!0,matchedChars:t}:{partialMatch:!0}:0===r.indexOf(a)?n&&t.length>a.length?{overflow:!0}:{match:!0,matchedChars:t.slice(0,a.length)}:void 0}if(Array.isArray(a)){for(var o=t.slice(),i=0;i<a.length;){var s=e(o,a[i],n&&i===a.length-1);if(!s)return;if(s.overflow)return s;if(s.match){if(0===(o=o.slice(s.matchedChars.length)).length)if(i===a.length-1)return{match:!0,matchedChars:t};else return{partialMatch:!0}}else if(s.partialMatch)return{partialMatch:!0};else throw Error("Unsupported match result:\n".concat(JSON.stringify(s,null,2)));i++}return n?{overflow:!0}:{match:!0,matchedChars:t.slice(0,t.length-o.length)}}switch(a.op){case"|":for(var l,d,c=pU(a.args);!(d=c()).done;){var u=e(t,d.value,n);if(u)if(u.overflow)return u;else if(u.match)return{match:!0,matchedChars:u.matchedChars};else if(u.partialMatch)l=!0;else throw Error("Unsupported match result:\n".concat(JSON.stringify(u,null,2)))}if(l)return{partialMatch:!0};return;case"[]":for(var p,m=pU(a.args);!(p=m()).done;){var h=p.value;if(t[0]===h){if(1===t.length)return{match:!0,matchedChars:t};if(n)return{overflow:!0};return{match:!0,matchedChars:[h]}}}return;default:throw Error("Unsupported instruction tree: ".concat(a))}}(e.split(""),this.matchTree,!0);if(n&&n.match&&delete n.matchedChars,!n||!n.overflow||a)return n}}],function(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=pz(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=pz(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pz(t)?t:t+""}(n.key),n)}}(hV.prototype,hW),Object.defineProperty(hV,"prototype",{writable:!1}),hV);function pW(e){return(pW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pZ(e,t){var a="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(a)return(a=a.call(e)).next.bind(a);if(Array.isArray(e)||(a=function(e){if(e){if("string"==typeof e)return pY(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?pY(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function pY(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var pJ=pB("9",15),pq=/[- ]/,pX=RegExp("["+c1+"]*\\$1["+c1+"]*(\\$\\d["+c1+"]*)*$"),pQ=(hZ=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()},hY=[{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(e,t){this.resetFormat(),e?(this.isNANP="1"===e.callingCode(),this.matchingFormats=e.formats(),t.nationalSignificantNumber&&this.narrowDownMatchingFormats(t)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(e,t){var a=this;if(n=t.nationalSignificantNumber,"IS_POSSIBLE"===uk(n,t.country,this.metadata))for(var n,r,o=pZ(this.matchingFormats);!(r=o()).done;){var i=r.value,s=function(e,t,a){var n=a.metadata,r=a.shouldTryNationalPrefixFormattingRule,o=a.getSeparatorAfterNationalPrefix;if(new RegExp("^(?:".concat(t.pattern(),")$")).test(e.nationalSignificantNumber))return function(e,t,a){var n=a.metadata,r=a.shouldTryNationalPrefixFormattingRule,o=a.getSeparatorAfterNationalPrefix;if(e.nationalSignificantNumber,e.international,e.nationalPrefix,e.carrierCode,r(t)){var i=pL(e,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:o,metadata:n});if(i)return i}return pL(e,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:o,metadata:n})}(e,t,{metadata:n,shouldTryNationalPrefixFormattingRule:r,getSeparatorAfterNationalPrefix:o})}(t,i,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(e){return a.shouldTryNationalPrefixFormattingRule(e,{international:t.international,nationalPrefix:t.nationalPrefix})},getSeparatorAfterNationalPrefix:function(e){return a.getSeparatorAfterNationalPrefix(e)}});if(s)return this.resetFormat(),this.chosenFormat=i,this.setNationalNumberTemplate(s.replace(/\d/g,"x"),t),this.populatedNationalNumberTemplate=s,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf("x"),s}return this.formatNationalNumberWithNextDigits(e,t)}},{key:"formatNationalNumberWithNextDigits",value:function(e,t){var a=this.chosenFormat,n=this.chooseFormat(t);if(n)if(n===a)return this.formatNextNationalNumberDigits(e);else return this.formatNextNationalNumberDigits(t.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(e){var t=this,a=e.nationalSignificantNumber,n=e.nationalPrefix,r=e.international,o=a.length-3;o<0&&(o=0),this.matchingFormats=this.matchingFormats.filter(function(e){return t.formatSuits(e,r,n)&&t.formatMatches(e,a,o)}),this.chosenFormat&&-1===this.matchingFormats.indexOf(this.chosenFormat)&&this.resetFormat()}},{key:"formatSuits",value:function(e,t,a){return!(a&&!e.usesNationalPrefix()&&!e.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!t&&!a&&e.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(e,t,a){var n=e.leadingDigitsPatterns().length;if(0===n)return!0;a=Math.min(a,n-1);var r=e.leadingDigitsPatterns()[a];if(t.length<3)try{return void 0!==new pV(r).match(t,{allowOverflow:!0})}catch(e){return console.error(e),!0}return new RegExp("^(".concat(r,")")).test(t)}},{key:"getFormatFormat",value:function(e,t){return t?e.internationalFormat():e.format()}},{key:"chooseFormat",value:function(e){for(var t,a,n,r=this,o=pZ(this.matchingFormats.slice());!(n=o()).done&&0!==(t=n.value,a=r.chosenFormat===t?0:pX.test(r.getFormatFormat(t,e.international))?r.createTemplateForFormat(t,e)?(r.chosenFormat=t,0):(r.matchingFormats=r.matchingFormats.filter(function(e){return e!==t}),1):1);)if(1===a)continue;return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(e,t){if(!(e.pattern().indexOf("|")>=0)){var a=this.getTemplateForFormat(e,t);if(a)return this.setNationalNumberTemplate(a,t),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(e){return this.isNANP||e&&e.nationalPrefixFormattingRule()&&pq.test(e.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(e,t){var a=e.IDDPrefix,n=e.missingPlus;return a?t&&!1===t.spacing?a:a+" ":n?"":"+"}},{key:"getTemplate",value:function(e){if(this.template){for(var t=-1,a=0,n=e.international?this.getInternationalPrefixBeforeCountryCallingCode(e,{spacing:!1}):"";a<n.length+e.getDigitsWithoutInternationalPrefix().length;)t=this.template.indexOf("x",t+1),a++;return pP(this.template,t+1)}}},{key:"setNationalNumberTemplate",value:function(e,t){this.nationalNumberTemplate=e,this.populatedNationalNumberTemplate=e,this.populatedNationalNumberTemplatePosition=-1,t.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(t).replace(/[\d\+]/g,"x")+pB("x",t.callingCode.length)+" "+e:this.template=e}},{key:"getTemplateForFormat",value:function(e,t){var a,n=t.nationalSignificantNumber,r=t.international,o=t.nationalPrefix,i=t.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,s=e.pattern();s=s.replace(/\[([^\[\]])*\]/g,"\\d").replace(/\d(?=[^,}][^,}])/g,"\\d");var l=pJ.match(s)[0];if(!(n.length>l.length)){var d=RegExp("^"+s+"$"),c=n.replace(/\d/g,"9");d.test(c)&&(l=c);var u=this.getFormatFormat(e,r);if(this.shouldTryNationalPrefixFormattingRule(e,{international:r,nationalPrefix:o})){var p=u.replace(uW,e.nationalPrefixFormattingRule());if(u$(e.nationalPrefixFormattingRule())===(o||"")+u$("$1")&&(u=p,a=!0,o))for(var m=o.length;m>0;)u=u.replace(/\d/,"x"),m--}var h=l.replace(new RegExp(s),u).replace(/9/g,"x");return!a&&(i?h=pB("x",i.length)+" "+h:o&&(h=pB("x",o.length)+this.getSeparatorAfterNationalPrefix(e)+h)),r&&(h=uV(h)),h}}},{key:"formatNextNationalNumberDigits",value:function(e){var t=function(e,t,a){for(var n,r=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return pR(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?pR(e,void 0):void 0}}(e))){t&&(e=t);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}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(""));!(n=r()).done;){var o=n.value;if(0>e.slice(t+1).search(pO))return;t=e.search(pO),e=e.replace(pO,o)}return[e,t]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,e);return t?(this.populatedNationalNumberTemplate=t[0],this.populatedNationalNumberTemplatePosition=t[1],pP(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)):void this.resetFormat()}},{key:"shouldTryNationalPrefixFormattingRule",value:function(e,t){var a=t.international,n=t.nationalPrefix;if(e.nationalPrefixFormattingRule()){var r=e.usesNationalPrefix();if(r&&n||!r&&!a)return!0}}}],function(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=pW(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=pW(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pW(t)?t:t+""}(n.key),n)}}(hZ.prototype,hY),Object.defineProperty(hZ,"prototype",{writable:!1}),hZ);function p0(e){return(p0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p1(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,r,o,i,s=[],l=!0,d=!1;try{if(o=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;l=!1}else for(;!(l=(n=o.call(a)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){d=!0,r=e}
1277finally{try{if(!l&&null!=a.return&&(i=a.return(),Object(i)!==i))return}finally{if(d)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p2(e,t);var a=({}).toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?p2(e,t):void 0}}(e,t)||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 p2(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var p3=RegExp("^["+c1+c0+"]+$","i"),p5="(?:["+c2+"]["+c1+c0+"]*|["+c1+c0+"]+)",p4=RegExp("[^"+c1+c0+"]+.*$"),p6=/[^\d\[\]]/,p8=(hJ=function e(t){var a=t.defaultCountry,n=t.defaultCallingCode,r=t.metadata,o=t.onNationalSignificantNumberChange;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.defaultCountry=a,this.defaultCallingCode=n,this.metadata=r,this.onNationalSignificantNumberChange=o},hq=[{key:"input",value:function(e,t){var a,n,r,o,i,s=p1((r=(n=p1("+"===(a=function(e){var t,a=e.search(p5);if(!(a<0))return"+"===(e=e.slice(a))[0]&&(t=!0,e=e.slice(1)),e=e.replace(p4,""),t&&(e="+"+e),e}(e)||"")[0]?[a.slice(1),!0]:[a],2))[0],o=n[1],p3.test(r)||(r=""),[r,o]),2),l=s[0],d=s[1],c=u$(l);return d&&!t.digits&&(t.startInternationalNumber(void 0,void 0),c||(i=!0)),c&&this.inputDigits(c,t),{digits:c,justLeadingPlus:i}}},{key:"inputDigits",value:function(e,t){var a=t.digits,n=a.length<3&&a.length+e.length>=3;if(t.appendDigits(e),n&&this.extractIddPrefix(t),this.isWaitingForCountryCallingCode(t)){if(!this.extractCountryCallingCode(t))return}else t.appendNationalSignificantNumberDigits(e);t.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(t.getNationalDigits(),function(e){return t.update(e)})}},{key:"isWaitingForCountryCallingCode",value:function(e){var t=e.international,a=e.callingCode;return t&&!a}},{key:"extractCountryCallingCode",value:function(e){var t=uz("+"+e.getDigitsWithoutInternationalPrefix(),e.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),a=t.countryCallingCode,n=t.number;if(a)return e.setCallingCode(a),e.update({nationalSignificantNumber:n}),!0}},{key:"reset",value:function(e){if(e){this.hasSelectedNumberingPlan=!0;var t=e._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=t&&p6.test(t)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(e,t){if(this.hasSelectedNumberingPlan){var a=uj(e,this.metadata),n=a.nationalPrefix,r=a.nationalNumber,o=a.carrierCode;if(r!==e)return this.onExtractedNationalNumber(n,o,r,e,t),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(e,t,a){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(e,a);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var n=uj(e,this.metadata),r=n.nationalPrefix,o=n.nationalNumber,i=n.carrierCode;if(o!==t)return this.onExtractedNationalNumber(r,i,o,e,a),!0}}},{key:"onExtractedNationalNumber",value:function(e,t,a,n,r){var o,i=!1,s=n.lastIndexOf(a);if(s<0||s!==n.length-a.length)i=!0;else{var l=n.slice(0,s);l&&l!==e&&(o=l)}r({nationalPrefix:e,carrierCode:t,nationalSignificantNumber:a,nationalSignificantNumberIsModified:i,prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix:o}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(e){return!!this.extractAnotherNationalSignificantNumber(e.getNationalDigits(),e.nationalSignificantNumber,function(t){return e.update(t)})||(this.extractIddPrefix(e)||this.fixMissingPlus(e)?(this.extractCallingCodeAndNationalSignificantNumber(e),!0):void 0)}},{key:"extractIddPrefix",value:function(e){var t=e.international,a=e.IDDPrefix,n=e.digits;if(e.nationalSignificantNumber,!t&&!a){var r=uD(n,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(void 0!==r&&r!==n)return e.update({IDDPrefix:n.slice(0,n.length-r.length)}),this.startInternationalNumber(e,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(e){if(!e.international){var t=uK(e.digits,e.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata).countryCallingCode;if(t)return e.update({missingPlus:!0}),this.startInternationalNumber(e,{country:e.country,callingCode:t}),!0}}},{key:"startInternationalNumber",value:function(e,t){var a=t.country,n=t.callingCode;e.startInternationalNumber(a,n),e.nationalSignificantNumber&&(e.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(e){this.extractCountryCallingCode(e)&&this.extractNationalSignificantNumber(e.getNationalDigits(),function(t){return e.update(t)})}}],function(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=p0(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=p0(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==p0(t)?t:t+""}(n.key),n)}}(hJ.prototype,hq),Object.defineProperty(hJ,"prototype",{writable:!1}),hJ);function p9(e){return(p9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p7(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var me=(hX=function e(t,a){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.metadata=new ui(a);var n,r=function(e){if(Array.isArray(e))return e}(n=this.getCountryAndCallingCode(t))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,n,r,o,i=[],s=!0,l=!1;try{r=(t=t.call(e)).next,!1;for(;!(s=(a=r.call(t)).done)&&(i.push(a.value),2!==i.length);s=!0);}catch(e){l=!0,n=e}
1277finally{try{if(!s&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(l)throw n}}return i}}(n)||function(e){if(e){if("string"==typeof e)return p7(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?p7(e,2):void 0}}(n)||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=r[0],i=r[1];this.defaultCountry=o,this.defaultCallingCode=i,this.reset()},hQ=[{key:"getCountryAndCallingCode",value:function(e){var t,a;return e&&(cY(e)?(t=e.defaultCountry,a=e.defaultCallingCode):t=e),t&&!this.metadata.hasCountry(t)&&(t=void 0),[t,a]}},{key:"input",value:function(e){var t=this.parser.input(e,this.state),a=t.digits;if(t.justLeadingPlus)this.formattedOutput="+";else if(a){if(this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state),this.metadata.hasSelectedNumberingPlan()&&(n=this.formatter.format(a,this.state)),void 0===n&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var n,r=this.state.getNationalDigits();r&&(n=this.formatter.format(r,this.state))}this.formattedOutput=n?this.getFullNumber(n):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var e=this;return this.state=new pA({onCountryChange:function(t){e.country=t},onCallingCodeChange:function(t,a){e.metadata.selectNumberingPlan(a,t),e.formatter.reset(e.metadata.numberingPlan,e.state),e.parser.reset(e.metadata.numberingPlan)}}),this.formatter=new pQ({state:this.state,metadata:this.metadata}),this.parser=new p8({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){e.determineTheCountryIfNeeded(),e.formatter.reset(e.metadata.numberingPlan,e.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(){return this.state.country}},{key:"determineTheCountryIfNeeded",value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:"getFullNumber",value:function(e){var t=this;if(this.isInternational()){var a=function(e){return t.formatter.getInternationalPrefixBeforeCountryCallingCode(t.state,{spacing:!!e})+e},n=this.state.callingCode;return a(n?e?"".concat(n," ").concat(e):n:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return e}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var e=this.state,t=e.nationalSignificantNumber,a=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,n=e.nationalPrefix,r=t,o=a||n;return o&&(r=o+r),r}},{key:"getNonFormattedNumber",value:function(){var e=this.state.nationalSignificantNumberIsModified;return this.getFullNumber(e?this.state.getNationalDigits():this.getNonFormattedNationalNumberWithPrefix())}},{key:"getNonFormattedTemplate",value:function(){var e=this.getNonFormattedNumber();if(e)return e.replace(/[\+\d]/g,"x")}},{key:"isCountryCallingCodeAmbiguous",value:function(){var e=this.state.callingCode,t=this.metadata.getCountryCodesForCallingCode(e);return t&&t.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry(uH(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var e=this.state,t=e.digits,a=e.callingCode,n=e.country,r=e.nationalSignificantNumber;if(t){if(this.isInternational())if(a)return"+"+a+r;else return"+"+t;else if(n||a)return"+"+(n?this.metadata.countryCallingCode():a)+r}}},{key:"getNumber",value:function(){var e=this.state,t=e.nationalSignificantNumber,a=e.carrierCode,n=e.callingCode,r=this._getCountry();if(t&&(r||n)){if(r&&r===this.defaultCountry){var o=new ui(this.metadata.metadata);o.selectNumberingPlan(r);var i=o.numberingPlan.callingCode(),s=this.metadata.getCountryCodesForCallingCode(i);if(s.length>1){var l=uF(t,{countries:s,metadata:this.metadata.metadata});l&&(r=l)}}var d=new u2(r||n,t,this.metadata.metadata);return a&&(d.carrierCode=a),d}}},{key:"isPossible",value:function(){var e=this.getNumber();return!!e&&e.isPossible()}},{key:"isValid",value:function(){var e=this.getNumber();return!!e&&e.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.getNon
1277FormattedTemplate()||""}}],function(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=p9(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=p9(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==p9(t)?t:t+""}(n.key),n)}}(hX.prototype,hQ),Object.defineProperty(hX,"prototype",{writable:!1}),hX);function mt(e){var t=e.inputFormat,a=e.country,n=e.metadata;return"NATIONAL_PART_OF_INTERNATIONAL"===t?"+".concat(uh(a,n)):""}function ma(e,t){return t&&" "===(e=e.slice(t.length))[0]&&(e=e.slice(1)),e}function mn(e,t,a){if(!a||!a.ignoreRest)return uN(e,t,function(e){a&&"end"===e&&(a.ignoreRest=!0)})}function mr(e){var t=e.onKeyDown,a=e.inputFormat;return(0,b.useCallback)(function(e){e.keyCode===mo&&"INTERNATIONAL"===a&&e.target instanceof HTMLInputElement&&e.target.selectionStart===mi.length?e.preventDefault():t&&t(e)},[t,a])}var mo=8,mi="+",ms=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function ml(){return(ml=Object.assign.bind()).apply(this,arguments)}let md=function(){function e(e,t){var a=e.onKeyDown,n=e.country,r=e.inputFormat,o=e.metadata,i=void 0===o?void 0:o,s=(e.international,e.withCountryCallingCode,function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,ms)),l=(0,b.useCallback)(function(e){var t=new me(n,i),a=mt({inputFormat:r,country:n,metadata:i}),o=t.input(a+e),s=t.getTemplate();return a&&(o=ma(o,a),s&&(s=ma(s,a))),{text:o,template:s}},[n,i]),d=mr({onKeyDown:a,inputFormat:r});return b.default.createElement(pk,ml({},s,{ref:t,parse:mn,format:l,onKeyDown:d}))}return(e=b.default.forwardRef(e)).propTypes={value:ph.default.string.isRequired,onChange:ph.default.func.isRequired,onKeyDown:ph.default.func,country:ph.default.string,inputFormat:ph.default.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:ph.default.object},e}();var mc=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function mu(){return(mu=Object.assign.bind()).apply(this,arguments)}let mp=function(){function e(e,t){var a=e.value,n=e.onChange,r=e.onKeyDown,o=e.country,i=e.inputFormat,s=e.metadata,l=void 0===s?void 0:s,d=e.inputComponent,c=(e.international,e.withCountryCallingCode,function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,mc)),u=mt({inputFormat:i,country:o,metadata:l}),p=(0,b.useCallback)(function(e){var t=uI(e.target.value);t===a&&0===mm(u,t,o,l).indexOf(e.target.value)&&(t=t.slice(0,-1)),n(t)},[u,a,n,o,l]),m=mr({onKeyDown:r,inputFormat:i});return b.default.createElement(void 0===d?"input":d,mu({},c,{ref:t,value:mm(u,a,o,l),onChange:p,onKeyDown:m}))}return(e=b.default.forwardRef(e)).propTypes={value:ph.default.string.isRequired,onChange:ph.default.func.isRequired,onKeyDown:ph.default.func,country:ph.default.string,inputFormat:ph.default.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:ph.default.object,inputComponent:ph.default.elementType},e}();function mm(e,t,a,n){var r,o,i;return ma((r=e+t,o=a,(i=n)||(i=o,o=void 0),new me(o,i).input(r)),e)}function mh(e){return String.fromCodePoint(127397+e.toUpperCase().charCo
1277deAt(0))}var mg=["value","onChange","options","disabled","readOnly"],mf=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function mv(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function mb(){return(mb=Object.assign.bind()).apply(this,arguments)}function my(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function mx(e){var t=e.value,a=e.onChange,n=e.options,r=e.disabled,o=e.readOnly,i=my(e,mg),s=(0,b.useCallback)(function(e){var t=e.target.value;a("ZZ"===t?void 0:t)},[a]);return(0,b.useMemo)(function(){return mT(n,t)},[n,t]),b.default.createElement("select",mb({},i,{disabled:r||o,readOnly:o,value:t||"ZZ",onChange:s}),n.map(function(e){var t=e.value,a=e.label,n=e.divider;return b.default.createElement("option",{key:n?"|":t||"ZZ",value:n?"|":t||"ZZ",disabled:!!n,style:n?mS:void 0},a)}))}mx.propTypes={value:ph.default.string,onChange:ph.default.func.isRequired,options:ph.default.arrayOf(ph.default.shape({value:ph.default.string,label:ph.default.string,divider:ph.default.bool})).isRequired,disabled:ph.default.bool,readOnly:ph.default.bool};var mS={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function mw(e){var t=e.value,a=e.options,n=e.className,r=e.iconComponent,o=(e.getIconAspectRatio,e.arrowComponent),i=e.unicodeFlags,s=my(e,mf),l=(0,b.useMemo)(function(){return mT(a,t)},[a,t]);return b.default.createElement("div",{className:"PhoneInputCountry"},b.default.createElement(mx,mb({},s,{value:t,options:a,className:(0,pv.default)("PhoneInputCountrySelect",n)})),l&&(i&&t?b.default.createElement("div",{className:"PhoneInputCountryIconUnicode"},mh(t[0])+mh(t[1])):b.default.createElement(r,{"aria-hidden":!0,country:t,label:l.label,aspectRatio:i?1:void 0})),b.default.createElement(void 0===o?mC:o,null))}function mC(){return b.default.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function mT(e,t){for(var a,n=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return mv(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return mv(e,void 0)}}(e))){t&&(e=t);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(a=n()).done;){var r,o,i=a.value;if(!i.divider&&(r=i.value,o=t,null==r?null==o:r===o))return i}}mw.propTypes={iconComponent:ph.default.elementType,arrowComponent:ph.default.elementType,unicodeFlags:ph.default.bool};var m$=["country","countryName","flags","flagUrl"];function mE(){return(mE=Object.assign.bind()).apply(this,arguments)}function mI(e){var t=e.country,a=e.countryName,n=e.flags,r=e.flagUrl,o=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,m$);return n&&n[t]?n[t]({title:a}):b.default.createElement("img",mE({},o,{alt:a,role:a?void 0:"presentation",src:r.replace("{XX}",t).replace("{xx}",t.toLowerCase())}))}mI.propTypes={country:ph.default.string.isRequired,countryName:ph.default.string.isRequired,flags:ph.default.objectOf(ph.default.elementType),flagUrl:ph.default.string.isRequired};var mN=["aspectRatio"],m_=["title"],mk=["title"];function mM(){return(mM=Object.assign.bind()).apply(this,arguments)}function mA(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function mR(e){var t=e.aspectRatio,a=mA(e,mN);return 1===t?b.default.createElement(mB,a):b.default.createElement(mO,a)}function mO(e){var t=e.title,a=mA(e,m_);return b.default.createElement("svg",mM({},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),b.default.createElement("title",null,t),b.default.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},b.default.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),b.default.createElement("path",{d:"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"}),b.default.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),b.default.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),b.default.createElement("path",{strokeLinecap:"round",d:"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"}),b.default.createElement("path",{strokeLinecap:"round",d:"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"})),b.default.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"none",fill:"
1277currentColor",d:"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"}))}function mB(e){var t=e.title,a=mA(e,mk);return b.default.createElement("svg",mM({},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),b.default.createElement("title",null,t),b.default.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},b.default.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),b.default.createElement("path",{d:"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"}),b.default.createElement("path",{d:"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"}),b.default.createElement("path",{d:"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"}),b.default.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),b.default.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),b.default.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"transparent",fill:"currentColor",d:"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"}))}function mP(e){!function(e){if(e.length<2||"+"!==e[0])return!1;for(var t=1;t<e.length;){var a=e.charCodeAt(t);if(!(a>=48)||!(a<=57))return!1;t++}return!0}(e)&&console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got",e)}function mL(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function mD(e,t){return!!ug(e,t)||(console.error("Country not found: ".concat(e)),!1)}function mj(e,t){return e&&0===(e=e.filter(function(e){return mD(e,t)})).length&&(e=void 0),e}function mG(e){return new ui(e).getCountries()}mR.propTypes={title:ph.default.string.isRequired,aspectRatio:ph.default.number},mO.propTypes={title:ph.default.string.isRequired},mB.propTypes={title:ph.default.string.isRequired};
1277var mF=["country","label","aspectRatio"];function mH(){return(mH=Object.assign.bind()).apply(this,arguments)}function mU(e){var t=e.flags,a=e.flagUrl,n=e.flagComponent,r=e.internationalIcon;function o(e){var o=e.country,i=e.label,s=e.aspectRatio,l=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,mF),d=r===mR?s:void 0;return b.default.createElement("div",mH({},l,{className:(0,pv.default)("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":1===d,"PhoneInputCountryIcon--border":o})}),o?b.default.createElement(n,{country:o,countryName:i,flags:t,flagUrl:a,className:"PhoneInputCountryIconImg"}):b.default.createElement(r,{title:i,aspectRatio:d,className:"PhoneInputCountryIconImg"}))}return o.propTypes={country:ph.default.string,label:ph.default.string.isRequired,aspectRatio:ph.default.number},o}function mK(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function mz(e,t){return"+"+uh(e,t)}mU({flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",flagComponent:mI,internationalIcon:mR});function mV(e,t,a){if(e){if("+"===e[0]){if("+"===e)return;var n=new me(t,a);return n.input(e),n.getNumberValue()}if(t){var r=mJ(e,t,a);return"+".concat(uh(t,a)).concat(r||"")}}}function mW(e,t){var a,n,r=t.country,o=t.countries,i=t.defaultCountry,s=t.latestCountrySelectedByUser,l=t.required,d=t.metadata;if("+"===e)return r;var c=(a=e,(n=new me(null,d)).input(a),n.getCountry());if(c)if(!o||o.indexOf(c)>=0)return c;else return;if(r){if(mq(e,r,d)){if(s&&mq(e,s,d))return s;else if(i&&mq(e,i,d))return i;else if(!l)return}else if(!l)return}return r}function mZ(e,t,a){if(0!==e.indexOf(mz(t,a)))return e.replace(/\D/g,"");var n=new me(t,a);n.input(e);var r=n.getNumber();return r?r.formatNational().replace(/\D/g,""):""}function mY(e,t,a){return String.prototype.localeCompare?e.localeCompare(t,a):e<t?-1:+(e>t)}function mJ(e,t,a){var n=new me(t,a);n.input(e);var r=n.getNumber();return r&&r.nationalNumber}function mq(e,t,a){for(var n=mz(t,a),r=0;r<e.length&&r<n.length;){if(e[r]!==n[r])return!1;r++}return!0}function mX(e){var t=e.value,a=e.phoneNumber,n=e.defaultCountry,r=e.international,o=e.useNationalFormat,i=e.metadata;return(!1===r||o)&&a&&a.country?a.formatNational().replace(/\D/g,""):!t&&r&&n?mz(n,i):t}function mQ(e){return(mQ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m0(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function m1(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?m0(Object(a),!0).forEach(function(t){var n,r,o;n=e,r=t,o=a[t],(r=function(e){var t=function(e,t){if("object"!=mQ(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=mQ(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mQ(t)?t:t+""}(r))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):m0(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function m2(e,t){return null===e&&(e=void 0),null===t&&(t=void 0),e===t}var m3=["name","disabled","readOnly","autoComplete","style","className","inputRef","inputComponent","numberInputProps","smartCaret","countrySelectComponent","countrySelectProps","containerComponent","containerComponentProps","defaultCountry","countries","countryOptionsOrder","labels","flags","flagComponent","flagUrl","addInternationalOption","internationalIcon","displayInitialValueAsLocalNumber","initialValueFormat","onCountryChange","limitMaxLength","countryCallingCodeEditable","focusInputOnCountrySelection","reset","metadata","international","locales"];function m5(e){return(m5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m4(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function m6(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};
1277t%2?m4(Object(a),!0).forEach(function(t){ha(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):m4(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function m8(){return(m8=Object.assign.bind()).apply(this,arguments)}function m9(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,hn(n.key),n)}}function m7(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(m7=function(){return!!e})()}function he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ht(e,t){return(ht=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ha(e,t,a){return(t=hn(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function hn(e){var t=function(e,t){if("object"!=m5(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=m5(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==m5(t)?t:t+""}var hr=function(e){var t,a;function n(e){if(!(this instanceof n))throw TypeError("Cannot call a class as a function");u=n,p=[e],u=he(u),ha(m=function(e,t){if(t&&("object"===m5(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var a=e;if(void 0===a)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return a}(this,m7()?Reflect.construct(u,p||[],he(this).constructor):u.apply(this,p)),"setInputRef",function(e){!function(e,t){for(var a,n=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return mK(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return mK(e,void 0)}}(e))){t&&(e=t);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(a=n()).done;){var r,o,i=a.value;i&&(r=i,o=t,"function"==typeof r?r(o):r.current=o)}}([m.props.inputRef,m.inputRef],e)}),ha(m,"isCountrySupportedWithError",function(e){return mD(e,m.props.metadata)}),ha(m,"onCountryChange",function(e){var t=m.props,a=t.international,n=t.metadata,r=t.onChange,o=t.focusInputOnCountrySelection,i=m.state,s=function(e,t){var a=t.prevCountry,n=t.newCountry,r
1277=t.metadata,o=t.useNationalFormat;if(a===n)return e;if(!e)if(o)return"";else return n?mz(n,r):"";if(n){if("+"===e[0]){if(o)return 0===e.indexOf("+"+uh(n,r))?function(e,t,a){if(t){var n="+"+uh(t,a);if(e.length<n.length){if(0===n.indexOf(e))return""}else if(0===e.indexOf(n))return e.slice(n.length)}for(var r=0,o=Object.keys(a.country_calling_codes);r<o.length;r++){var i=o[r];if(1===e.indexOf(i))return e.slice(1+i.length)}return""}(e,n,r):"";if(a){var i=mz(n,r);if(0!==e.indexOf(i))return i}else{var s=mz(n,r);return 0===e.indexOf(s)?e:s}}}else if("+"!==e[0])return mV(e,a,r)||"";return e}(i.phoneDigits,{prevCountry:i.country,newCountry:e,metadata:n,useNationalFormat:!a}),l=mV(s,e,n);o&&m.inputRef.current.focus(),m.setState({country:e,latestCountrySelectedByUser:e,hasUserSelectedACountry:!0,phoneDigits:s,value:l},function(){r(l)})}),ha(m,"onChange",function(e){var t=m.props,a=t.defaultCountry,n=t.onChange,r=t.addInternationalOption,o=t.international,i=t.limitMaxLength,s=t.countryCallingCodeEditable,l=t.metadata,d=m.state,c=d.countries,u=d.phoneDigits,p=d.country,h=d.latestCountrySelectedByUser,g=function(e,t){var a,n=t.prevPhoneDigits,r=t.country,o=t.defaultCountry,i=t.latestCountrySelectedByUser,s=t.countryRequired,l=t.getAnyCountry,d=t.countries,c=t.international,u=t.limitMaxLength,p=t.countryCallingCodeEditable,m=t.metadata;if(c&&!1===p&&r){var h,g=mz(r,m);if(0!==e.indexOf(g))return e&&"+"!==e[0]?h=mV(e=g+e,r,m):e=g,{phoneDigits:e,value:h,country:r}}return!1===c&&r&&e&&"+"===e[0]&&(e=mZ(e,r,m)),e&&r&&u&&(e=function(e,t,a){var n=mJ(e,t,a);if(n){var r,o,i=n.length-(r=t,(o=new ui(o=a)).selectNumberingPlan(r),o.numberingPlan.possibleLengths()[o.numberingPlan.possibleLengths().length-1]);if(i>0)return e.slice(0,e.length-i)}return e}(e,r,m)),e&&"+"!==e[0]&&(!r||c)&&(e="+"+e),!e&&n&&"+"===n[0]&&(r=c?void 0:o),"+"===e&&n&&"+"===n[0]&&n.length>1&&(r=void 0),e&&(a="+"===e[0]&&("+"===e||r&&0===mz(r,m).indexOf(e))?void 0:mV(e,r,m)),a&&(r=mW(a,{country:r,countries:d,defaultCountry:o,latestCountrySelectedByUser:i,required:!1,metadata:m}),!1===c&&r&&e&&"+"===e[0]&&(a=mV(e=mZ(e,r,m),r,m))),!r&&s&&(r=o||l()),{phoneDigits:e,country:r,value:a}}(e,{prevPhoneDigits:u,country:p,countryRequired:!r,defaultCountry:a,latestCountrySelectedByUser:h,getAnyCountry:function(){return m.getFirstSupportedCountry({countries:c})},countries:c,international:o,limitMaxLength:i,countryCallingCodeEditable:s,metadata:l}),f=g.phoneDigits,v=g.country,b=g.value,y={phoneDigits:f,value:b,country:v};h&&b&&!mq(b,h,l)&&(y.latestCountrySelectedByUser=void 0),!1!==s||b||f!==m.state.phoneDigits||(y.forceRerender={}),m.setState(y,function(){return n(b)})}),ha(m,"_onFocus",function(){return m.setState({isFocused:!0})}),ha(m,"_onBlur",function(){return m.setState({isFocused:!1})}),ha(m,"onFocus",function(e){m._onFocus();var t=m.props.onFocus;t&&t(e)}),ha(m,"onBlur",function(e){var t=m.props.onBlur;m._onBlur(),t&&t(e)}),ha(m,"onCountryFocus",function(e){m._onFocus();var t=m.props.countrySelectProps;if(t){var a=t.onFocus;a&&a(e)}}),ha(m,"onCountryBlur",function(e){m._onBlur();var t=m.props.countrySelectProps;if(t){var a=t.onBlur;a&&a(e)}}),m.inputRef=b.default.createRef();var t,a,r,o,i,s,l,d,c,u,p,m,h=m.props,g=h.value,f=(h.labels,h.international),v=h.addInternationalOption,y=h.displayInitialValueAsLocalNumber,x=h.initialValueFormat,S=h.metadata,w=m.props,C=w.defaultCountry,T=w.countries;C&&!m.isCountrySupportedWithError(C)&&(C=void 0),g&&mP(g),T=mj(T,S);var $=pl(g||"",S);m.CountryIcon=mU(m.props);var E=(r=(t={value:g,phoneNumber:$,defaultCountry:C,required:!v,countries:T||mG(S),getAnyCountry:function(){return m.getFirstSupportedCountry({countries:T})},metadata:S}).value,o=t.phoneNumber,i=t.defaultCountry,s=t.getAnyCountry,l=t.countries,d=t.required,c=t.metadata,o&&o.country?a=o.country:i&&(!r||mq(r,i,c))&&(a=i),l&&0>l.indexOf(a)&&(a=void 0),!a&&d&&l&&l.length>0&&(a=s()),a);return m.state={props:m.props,country:E,countries:T,phoneDigits:mX({value:g,phoneNumber:$,defaultCountry:C,international:f,useNationalFormat:y||"national"===x,metadata:S}),value:g},m}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&ht(n,e),t=[{key:"componentDidMount",value:function(){var e=this.props.onCountryChange,t=this.props.defaultCountry,a=this.state.country;e&&(t&&!this.isCountrySupportedWithError(t)&&(t=void 0),a!==t&&e(a))}},{key:"componentDidUpdate",value:function(e,t){var a=this.props.onCountryChange,n=this.state.country;a&&n!==t.country&&a(n)}},{key:"getCountrySelectOptions",value:function(e){var t=e.countries,a=this.props,n=a.international,r=a.countryCallingCodeEditable,o=a.countryOptionsOrder,i=a.addInternationalOption,s=a.labels,l=a.locales,d=a.metadata;return this.useMemoCountrySelectOptions(function(){var e,a,c,u,p,m,h;return function(e,t){if(!t)return e;for(var a,n=[],r=[],o=n,i=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return mL(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return mL(e,void 0)}}(e))){t&&(e=t);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(a=i()).done;)!function(){var t=a.value;if("|"===t)o.push({divider:!0});else if("..."===t||"…"===t)o=r;else{var n="🌐"===t?void 0:t,i=e.indexOf(e.filter(function(e){return e.value===n})[0]),s=e[i];e.splice(i,1),o.push(s)}}();return n.concat(e).concat(r)}((a=(e={countries:t||mG(d),countryNames:s,addInternationalOption:(!n||!1!==r)&&i,compareStringsLocales:l}).countries,c=e.countryNames,u=e.addInternationalOption,p=e.compareStringsLocales,(m=e.compareStrings)||(m=mY),(h=a.map(function(e){return{value:e,label:c[e]||e}})).sort(function(e,t){return m(e.label,t.label,p)}),u&&h.unshift({label:c.ZZ}),h),function(e,t){if(e&&(e=e.filter(function(e){switch(e){case"🌐":case"|":case"...":case"…":return!0;default:return mD(e,t)}})).length>0)return e}(o,d))},[t,o,i,s,d])}},{key:"useMemoCountrySelectOptions",value:function(e,t){return this.countrySelectOptionsMemoDependencies&&function(e,t){if(e.length!==t.length)return!1;for(var a=0;a<e.length;){if(e[a]!==t[a])return!1;a++}return!0}(t,this.countrySelectOptionsMemoDependencies)||(this.countrySelectOptionsMemo=e(),this.countrySelectOptionsMemoDependencies=t),this.countrySelectOptionsMemo}},{key:"getFirstSupportedCountry",value:function(e){var t=e.countries;return this.getCountrySelectOptions({countries:t})[0].value}},{key:"render",value:function(){var e=this.props,t=e.name,a=e.disabled,n=e.readOnly,r=e.autoComplete,o=e.style,i=e.className,s=(e.inputRef,e.inputComponent),l=e.numberInputProps,d=e.smartCaret,c=e.countrySelectComponent,u=e.countrySelectProps,p=e.containerComponent,m=e.containerComponentProps,h=(e.defaultCountry,e.countries,e.countryOptionsOrder,e.labels),g=(e.flags,e.flagComponent,e.flagUrl,e.addInternationalOption,e.internationalIcon,e.displayInitialValueAsLocalNumber,e.initialValueFormat,e.onCountryChange,e.limitMaxLength,e.countryCallingCodeEditable,e.focusInputOnCountrySelection,e.reset,e.metadata),f=e.international,v=(e.locales,function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,m3)),y=this.state,x=y.country,S=y.countries,w=y.phoneDigits,C=y.isFocused,T=d?md:mp,$=this.getCountrySelectOptions({countries:S});return b.default.createElement(p,m8({style:o,className:(0,pv.default)(i,"PhoneInput",{"PhoneInput--focus":C,"PhoneInput--disabled":a,"PhoneInput--readOnly":n})},m),b.default.createElement(c,m8({name:t?"".concat(t,"Country"):void 0,"aria-label":h.country},u,{value:x,options:$,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:a||u&&u.disabled,readOnly:n||u&&u.readOnly,iconComponent:this.CountryIcon})),b.default.createElement(T,m8({ref:this.setInputRef,type:"tel",autoComplete:r},l,v,{inputFormat:!0===f?"INTERNATIONAL":!1===f?"NATIONAL":"INTERNATIONAL_OR_NATIONAL",international:!!f||void 0,withCountryCallingCode:!!f||void 0,name:t,metadata:g,country:x,value:w||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:a,readOnly:n,inputComponent:s,className:(0,pv.default)("PhoneInputInput",l&&l.className,v.className)})))}}],a=[{key:"getDerivedStateFromProps",value:function(e,t){return m6({props:e},function(e,t,a){var n=e.metadata,r=e.countries,o=e.defaultCountry,i=e.value,s=e.reset,l=e.international,d=e.displayInitialValueAsLocalNumber,c=e.initialValueFormat,u=t.defaultCountry,p=t.value,m=t.reset;a.country;var h=a.value,g=a.hasUserSelectedACountry,f=a.latestCountrySelectedByUser,v=function(e){return mX(m1(m1({},e),{},{international:l,useNationalFormat:d||"national"===c,metadata:n}))};if(s!==m)return{phoneDigits:v({value:void 0,defaultCountry:o}),value:void 0,country:o,latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};if(o!==u){var b=!o||mD(o,n),y=!h||l&&h===v({value:void 0,defaultCountry:u}),x=!i&&y;if(!g&&b&&x)return{country:o,phoneDigits:v({value:void 0,defaultCountry:o}),value:void 0}}if(!m2(i,p)&&!m2(i,h)){if(i){i&&mP(i);var S,w,C=pl(i||"",n),T=mj(r,n);C&&C.country?(!T||T.indexOf(C.country)>=0)&&(S=C.country):(S=mW(i,{country:void 0,countries:T,metadata:n}))||!o||0!==i.indexOf(mz(o,n))||(S=o)}
1277return i?f&&((S?f===S:mq(i,f,n))?S||(S=f):w={latestCountrySelectedByUser:void 0}):w={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0},m1(m1({},w),{},{phoneDigits:v({phoneNumber:C,value:i,defaultCountry:o}),value:i,country:i?S:o})}}(e,t.props,t))}}],t&&m9(n.prototype,t),a&&m9(n,a),Object.defineProperty(n,"prototype",{writable:!1}),n}(b.default.PureComponent),ho=b.default.forwardRef(function(e,t){return b.default.createElement(hr,m8({},function(e){for(var t in e=m6({},e),hi)void 0===e[t]&&(e[t]=hi[t]);return e}(e),{inputRef:t}))});ho.propTypes={value:ph.default.string,onChange:ph.default.func.isRequired,onFocus:ph.default.func,onBlur:ph.default.func,disabled:ph.default.bool,readOnly:ph.default.bool,autoComplete:ph.default.string,initialValueFormat:ph.default.oneOf(["national"]),displayInitialValueAsLocalNumber:ph.default.bool,defaultCountry:ph.default.string,countries:ph.default.arrayOf(ph.default.string),labels:pf,locales:ph.default.oneOfType([ph.default.string,ph.default.arrayOf(ph.default.string)]),flagUrl:ph.default.string,flags:ph.default.objectOf(ph.default.elementType),flagComponent:ph.default.elementType,addInternationalOption:ph.default.bool,internationalIcon:ph.default.elementType,countryOptionsOrder:ph.default.arrayOf(ph.default.string),style:ph.default.object,className:ph.default.string,countrySelectComponent:ph.default.elementType,countrySelectProps:ph.default.object,inputComponent:ph.default.elementType,numberInputProps:ph.default.object,containerComponent:ph.default.elementType,containerComponentProps:ph.default.object,smartCaret:ph.default.bool,international:ph.default.bool,limitMaxLength:ph.default.bool,countryCallingCodeEditable:ph.default.bool,metadata:pg,onCountryChange:ph.default.func,focusInputOnCountrySelection:ph.default.bool};var hi={autoComplete:"tel",countrySelectComponent:mw,flagComponent:mI,flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",internationalIcon:mR,inputComponent:"input",containerComponent:"div",reset:ph.default.any,smartCaret:!0,addInternationalOption:!0,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0},hs=["metadata","labels"];function hl(){return(hl=Object.assign.bind()).apply(this,arguments)}function hd(e){var t=b.default.forwardRef(function(t,a){var n=t.metadata,r=t.labels,o=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(t,hs);return b.default.createElement(ho,hl({},o,{ref:a,metadata:void 0===n?e:n,labels:void 0===r?pm:r}))});return t.propTypes={metadata:pg,labels:pf},t}function hc(e,t){var a=Array.prototype.slice.call(t);return a.push(cW),e.apply(this,a)}hd();let hu=hd(cW);function hp(){return hc(pp,arguments)}var hm=e.i(77507),hh=e.i(40733),hg=sk,hf=e.i(97231),hv=e.i(49893),hb=Object.defineProperty,hy=Object.defineProperties,hx=Object.getOwnPropertyDescriptors,hS=Object.getOwnPropertySymbols,hw=Object.prototype.hasOwnProperty,hC=Object.prototype.propertyIsEnumerable,hT=(e,t,a)=>t in e?hb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,h$=(e,t)=>{for(var a in t||(t={}))hw.call(t,a)&&hT(e,a,t[a]);if(hS)for(var a of hS(t))hC.call(t,a)&&hT(e,a,t[a]);return e},hE=(e,t,a)=>(hT(e,"symbol"!=typeof t?t+"":t,a),a),hI=(e,t,a)=>new Promise((n,r)=>{var o=e=>{try{s(a.next(e))}catch(e){r(e)}},i=e=>{try{s(a.throw(e))}catch(e){r(e)}},s=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,i);s((a=a.apply(e,t)).next())}),hN="hCaptchaOnLoad",h_="script-error",hk="@hCaptcha/loader";function hM(e){let t=e&&e.ownerDocument||document,a=t.defaultView||t.parentWindow||window;return{document:t,window:a}}function hA(e){return e||document.head}var hR=class e{constructor(e){hE(this,"_parent"),hE(this,"breadcrumbs",[]),hE(this,"context",{}),hE(this,"extra",{}),hE(this,"tags",{}),hE(this,"request"),hE(this,"user"),this._parent=e}get parent(){return this._parent}child(){return new e(this)}
1277setRequest(e){return this.request=e,this}removeRequest(){return this.request=void 0,this}addBreadcrumb(e){return typeof e.timestamp>"u"&&(e.timestamp=new Date().toISOString()),this.breadcrumbs.push(e),this}setExtra(e,t){return this.extra[e]=t,this}removeExtra(e){return delete this.extra[e],this}setContext(e,t){return typeof t.type>"u"&&(t.type=e),this.context[e]=t,this}removeContext(e){return delete this.context[e],this}setTags(e){return this.tags=h$(h$({},this.tags),e),this}setTag(e,t){return this.tags[e]=t,this}removeTag(e){return delete this.tags[e],this}setUser(e){return this.user=e,this}removeUser(){return this.user=void 0,this}toBody(){let e=[],t=this;for(;t;)e.push(t),t=t.parent;return e.reverse().reduce((e,t)=>{var a;return e.breadcrumbs=[...null!=(a=e.breadcrumbs)?a:[],...t.breadcrumbs],e.extra=h$(h$({},e.extra),t.extra),e.contexts=h$(h$({},e.contexts),t.context),e.tags=h$(h$({},e.tags),t.tags),t.user&&(e.user=t.user),t.request&&(e.request=t.request),e},{breadcrumbs:[],extra:{},contexts:{},tags:{},request:void 0,user:void 0})}clear(){this.breadcrumbs=[],this.context={},this.tags={},this.user=void 0}},hO=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,hB="An unknown error occurred";function hP(e){return(e+256).toString(16).substring(1)}var hL,hD,hj,hG,hF,hH,hU,hK,hz,hV,hW,hZ,hY,hJ,hq,hX,hQ,h0,h1=[[/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,"chrome"],[/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,"winjs"],[/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,"gecko"]],h2=(h0=class{constructor(e){var t,a,n,r,o;hE(this,"apiURL"),hE(this,"dsn"),hE(this,"environment"),hE(this,"release"),hE(this,"sampleRate"),hE(this,"debug"),hE(this,"_scope"),hE(this,"shouldBuffer",!1),hE(this,"bufferlimit",20),hE(this,"buffer",[]),this.environment=e.environment,this.release=e.release,this.sampleRate=null!=(t=e.sampleRate)?t:1,this.debug=null!=(a=e.debug)&&a,this._scope=null!=(n=e.scope)?n:new hR,this.apiURL=function(e){let t=hO.exec(e),a=t?t.slice(1):[];if(6!==a.length)throw Error("Invalid DSN");let n=a[5].split("/"),r=n.slice(0,-1).join("/");return a[0]+"://"+a[3]+(a[4]?":"+a[4]:"")+(r?"/"+r:"")+"/api/"+n.pop()+"/envelope/?sentry_version=7&sentry_key="+a[1]+(a[2]?"&sentry_secret="+a[2]:"")}(e.dsn),this.dsn=e.dsn,this.shouldBuffer=null!=(r=e.buffer)&&r,this.bufferlimit=null!=(o=e.bufferLimit)?o:20}static init(e){h0._instance||(h0._instance=new h0(e))}static get instance(){if(!h0._instance)throw Error("Sentry has not been initialized");return h0._instance}log(...e){this.debug&&console.log(...e)}get scope(){return this._scope}static get scope(){return h0.instance.scope}withScope(e){e(this._scope.child())}static withScope(e){h0.instance.withScope(e)}captureException(e,t){this.captureEvent({type:"exception",level:"error",error:function(e){if(e instanceof Error)return e;if("string"==typeof e)return Error(e);
1277if("object"==typeof e&&null!==e&&!Array.isArray(e)){let{message:t}=e,a=((e,t)=>{var a={};for(var n in e)hw.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&hS)for(var n of hS(e))0>t.indexOf(n)&&hC.call(e,n)&&(a[n]=e[n]);return a})(e,["message"]);return Object.assign(Error("string"==typeof t?t:hB),a)}return Object.assign(Error(hB),{cause:e})}(e),scope:null!=t?t:this._scope})}static captureException(e,t){h0.instance.captureException(e,t)}captureMessage(e,t="info",a){this.captureEvent({type:"message",level:t,message:e,scope:null!=a?a:this._scope})}static captureMessage(e,t="info",a){h0.instance.captureMessage(e,t,a)}captureEvent(e){if(Math.random()>=this.sampleRate)return void this.log("Dropped event due to sample rate");if(this.shouldBuffer){if(this.buffer.length>=this.bufferlimit)return;this.buffer.push(e)}else this.sendEvent(e)}sendEvent(e,t=5e3){return hI(this,null,function*(){try{this.log("Sending sentry event",e);let a=function(e,t,a){var n,r,o;let i,s=h$({event_id:((i=function(e){for(let t=0;t<e.length;t++)e[t]=Math.floor(256*Math.random());return e}(Array(16)))[6]=15&i[6]|64,i[8]=63&i[8]|128,hP(i[0])+hP(i[1])+hP(i[2])+hP(i[3])+"-"+hP(i[4])+hP(i[5])+"-"+hP(i[6])+hP(i[7])+"-"+hP(i[8])+hP(i[9])+"-"+hP(i[10])+hP(i[11])+hP(i[12])+hP(i[13])+hP(i[14])+hP(i[15])).replaceAll("-",""),platform:"javascript",sdk:{name:"@hcaptcha/sentry",version:"0.0.4"},environment:t,release:a,timestamp:Date.now()/1e3},e.scope.toBody());if("exception"===e.type){let t;s.message=null!=(r=null==(n=e.error)?void 0:n.message)?r:"Unknown error",s.fingerprint=[s.message];let a=[],i=e.error;for(let e=0;e<5&&i&&(a.push((t=function(e){var t,a,n,r;if(!e.stack)return null;let o=[],i=null!=(n=null==(a=(t=e.stack).split)?void 0:a.call(t,`
1278`))?n:[];for(let t=0;t<i.length;++t){let a=null,n=null,s=null;for(let[e,a]of h1)if(n=e.exec(i[t])){s=a;break}if(!(!n||!s)){if("chrome"===s)a={filename:null!=(r=n[2])&&r.startsWith("address at ")?n[2].substring(11):n[2],function:n[1]||"?",lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if("winjs"===s)a={filename:n[2],function:n[1]||"?",lineno:+n[3],colno:n[4]?+n[4]:null};else{if("gecko"!==s)continue;0===t&&!n[5]&&void 0!==e.columnNumber&&o.length>0&&(o[0].column=e.columnNumber+1),a={filename:n[3],function:n[1]||"?",lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null}}!a.function&&a.lineno&&(a.function="?"),o.push(a)}}return o.length?o.reverse():null}(o=i),{type:o.name,value:o.message,stacktrace:{frames:null!=t?t:[]}})),!(!i.cause||!(i.cause instanceof Error)));e++)i=i.cause;s.exception={values:a.reverse()}}return"message"===e.type&&(s.message=e.message,s.level=e.level),s}(e,this.environment,this.release),n={event_id:a.event_id,dsn:this.dsn},r=JSON.stringify(n)+`
1279`+JSON.stringify({type:"event"})+`
1280`+JSON.stringify(a),o=yield function(e,t,a){return hI(this,null,function*(){var n,r;try{if("u">typeof fetch&&"u">typeof AbortSignal){let n,r,o;if(a){let e=new AbortController;n=e.signal,setTimeout(()=>e.abort(),a)}let i=yield fetch(e,(r=h$({},t),o={signal:n},hy(r,hx(o)))),s=yield i.text();return{status:i.status,body:s}}return yield new Promise((n,r)=>{var o,i;let s=new XMLHttpRequest;if(s.open(null!=(o=null==t?void 0:t.method)?o:"GET",e),s.onload=()=>n({status:s.status,body:s.responseText}),s.onerror=()=>r(Error("XHR Network Error")),null==t?void 0:t.headers)for(let[e,a]of Object.entries(t.headers))s.setRequestHeader(e,a);if(a){let e=setTimeout(()=>{s.abort(),r(Error("Request timed out"))},a);s.onloadend=()=>{clearTimeout(e)}}s.send(null==(i=null==t?void 0:t.body)?void 0:i.toString())})}catch(e){return{status:0,body:null!=(r=null==(n=null==e?void 0:e.toString)?void 0:n.call(e))?r:"Unknown error"}}})}(this.apiURL,{method:"POST",headers:{"Content-Type":"application/x-sentry-envelope"},body:r},t);this.log("Sentry response",o.status),200!==o.status&&(console.log(o.body),console.error("Failed to send event to Sentry",o))}catch(e){console.error("Failed to send event",e)}})}flush(e=5e3){return hI(this,null,function*(){try{this.log("Flushing sentry events",this.buffer.length);let t=this.buffer.splice(0,this.buffer.length).map(t=>this.sendEvent(t,e));yield Promise.all(t),this.log("Flushed all events")}catch(e){console.error("Failed to flush events",e)}})}static flush(e=5e3){return h0.instance.flush(e)}static reset(){h0._instance=void 0}},hE(h0,"_instance"),h0);function h3(e=null){return{addBreadcrumb:t=>{e&&e.addBreadcrumb(t)},captureRequest:t=>
1280{e&&e.setRequest(t)},captureException:t=>{e&&h2.captureException(t,e)}}}var h5=[];function h4(e){var t=e&&e.ownerDocument||document,a=t.defaultView||t.parentWindow||window;return{document:t,window:a}}function h6(e){return e||document.head}var h8=function(e){function t(t){var a;return(a=e.call(this,t)||this)._hcaptcha=void 0,a.renderCaptcha=a.renderCaptcha.bind((0,hf.default)(a)),a.resetCaptcha=a.resetCaptcha.bind((0,hf.default)(a)),a.removeCaptcha=a.removeCaptcha.bind((0,hf.default)(a)),a.isReady=a.isReady.bind((0,hf.default)(a)),a._onReady=null,a.loadCaptcha=a.loadCaptcha.bind((0,hf.default)(a)),a.handleOnLoad=a.handleOnLoad.bind((0,hf.default)(a)),a.handleSubmit=a.handleSubmit.bind((0,hf.default)(a)),a.handleExpire=a.handleExpire.bind((0,hf.default)(a)),a.handleError=a.handleError.bind((0,hf.default)(a)),a.handleOpen=a.handleOpen.bind((0,hf.default)(a)),a.handleClose=a.handleClose.bind((0,hf.default)(a)),a.handleChallengeExpired=a.handleChallengeExpired.bind((0,hf.default)(a)),a.ref=b.createRef(),a.apiScriptRequested=!1,a.sentryHub=null,a.captchaId="",a._pendingExecute=null,a.state={isApiReady:!1,isRemoved:!1,elementId:t.id},a}(0,hv.default)(t,e);var a=t.prototype;return a.componentDidMount=function(){var e=this,t=h4(h6(this.props.scriptLocation));(this._hcaptcha=t.window.hcaptcha||void 0,void 0!==this._hcaptcha)?this.setState({isApiReady:!0},function(){e.renderCaptcha()}):this.loadCaptcha()},a.componentWillUnmount=function(){var e=this._hcaptcha,t=this.captchaId;this._cancelPendingExecute("react-component-unmounted"),this.isReady()&&(e.reset(t),e.remove(t))},a.shouldComponentUpdate=function(e,t){return this.state.isApiReady===t.isApiReady&&this.state.isRemoved===t.isRemoved},a.componentDidUpdate=function(e){var t=this;["sitekey","size","theme","tabindex","languageOverride","endpoint"].every(function(a){return e[a]===t.props[a]})||this.removeCaptcha(function(){t.renderCaptcha()})},a.loadCaptcha=function(){if(!this.apiScriptRequested){var e=this.props,t=e.apihost,a=e.assethost,n=e.endpoint,r=e.host,o=e.imghost,i=e.languageOverride,s=e.reCaptchaCompat,l=e.reportapi,d=e.sentry,c=e.custom,u=e.loadAsync,p=e.scriptLocation,m=e.scriptSource,h=e.secureApi,g=e.cleanup,f=e.userJourneys;(function(){return hI(this,arguments,function*(e={}){let t=function(e=!0){var t,a,n,r,o,i,s;let l,d,c,u,p;if(!e)return h3();h2.init({dsn:"https://[email protected]/6",release:"2.2.0",environment:"production"});let m=h2.scope;return m.setTag("source",hk),m.setTag("url",document.URL),m.setContext("os",{UA:navigator.userAgent}),m.setContext("browser",h$({},(-1!==(l=navigator.userAgent).indexOf("Firefox")?(d="Firefox",c=null==(a=l.match(/Firefox\/([\d.]+)/))?void 0:a[1]):-1!==l.indexOf("Edg")?(d="Microsoft Edge",c=null==(n=l.match(/Edg\/([\d.]+)/))?void 0:n[1]):-1!==l.indexOf("Chrome")&&-1!==l.indexOf("Safari")?(d="Chrome",c=null==(r=l.match(/Chrome\/([\d.]+)/))?void 0:r[1]):-1!==l.indexOf("Safari")&&-1===l.indexOf("Chrome")?(d="Safari",c=null==(o=l.match(/Version\/([\d.]+)/))?void 0:o[1]):-1!==l.indexOf("Opera")||-1!==l.indexOf("OPR")?(d="Opera",c=null==(i=l.match(/(Opera|OPR)\/([\d.]+)/))?void 0:i[2]):-1!==l.indexOf("MSIE")||-1!==l.indexOf("Trident")?(d="Internet Explorer",c=null==(s=l.match(/(MSIE |rv:)([\d.]+)/))?void 0:s[2]):(d="Unknown",c="Unknown"),{name:d,version:c}))),m.setContext("device",hy(h$({},{model:p=-1!==(u=navigator.userAgent).indexOf("Win")?"Windows":-1!==u.indexOf("Mac")?"Mac":-1!==u.indexOf("Linux")?"Linux":-1!==u.indexOf("Android")?"Android":-1!==u.indexOf("like Mac")||-1!==u.indexOf("iPhone")||-1!==u.indexOf("iPad")?"iOS":"Unknown",family:p,device:/Mobile|iPhone|iPod|Android/i.test(u)?"Mobile":/Tablet|iPad/i.test(u)?"Tablet":"Desktop"}),hx({screen_width_pixels:screen.width,screen_height_pixels:screen.height,language:navigator.language,orientation:(null==(t=screen.orientation)?void 0:t.type)||"Unknown",processor_count:navigator.hardwareConcurrency,platform:navigator.platform}))),h3(m)}(e.sentry);return yield function e(t,a,n=0){return hI(this,null,function*(){let r=n<2?"Retry loading hCaptcha Api":"Exceeded maximum retries";try{return yield function(e={cleanup:!1},t){try{t.addBreadcrumb({category:hk,message:"hCaptcha loader params",data:e});let a=hA(e.scriptLocation),n=hM(a),r=h5.find(({scope:e})=>e===n.window);if(r)return t.addBreadcrumb({category:hk,message:"hCaptcha already loaded"}),r.promise;let o=new Promise((a,o)=>hI(this,null,function*(){try{var i;n.window[hN]=()=>{t.addBreadcrumb({category:hk,message:"hCaptcha script called onload function"}),a(n.window.hcaptcha)};let o=(i={custom:e.custom,render:e.render,sentry:e.sentry,assethost:e.assethost,imghost:e.imghost,reportapi:e.reportapi,endpoint:e.endpoint,host:e.host,recaptchacompat:e.recaptchacompat,hl:e.hl,uj:e.uj},Object.entries(i).filter(([,e])=>e||!1===e).map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(String(t))}`).join("&"));yield function({scriptLocation:e,query:t,loadAsync:a=!0,crossOrigin:n="anonymous",apihost:r="https://js.hcaptcha.com",cleanup:o=!1,secureApi:i=!1,scriptSource:s=""}={},l){let d=hA(e),c=hM(d);return new Promise((e,u)=>{let p=c.document.createElement("script");p.id="hCaptcha-script",s?p.src=`${s}?onload=${hN}`:i?p.src=`${r}/1/secure-api.js?onload=${hN}`:p.src=`${r}/1/api.js?onload=${hN}`,p.crossOrigin=n,p.async=a;let m=(e,t)=>
1280{try{!i&&o&&d.removeChild(p),t(e)}catch(e){u(e)}};p.onload=t=>m(t,e),p.onerror=e=>{l&&l(p.src),m(e,u)},p.src+=""!==t?`&${t}`:"",d.appendChild(p)})}(h$({query:o},e),e=>{t.captureRequest({url:e,method:"GET"})}),t.addBreadcrumb({category:hk,message:"hCaptcha loaded",data:r})}catch(a){t.addBreadcrumb({category:hk,message:"hCaptcha failed to load"});let e=h5.findIndex(e=>e.scope===n.window);-1!==e&&h5.splice(e,1),o(Error(h_))}}));return h5.push({promise:o,scope:n.window}),o}catch(e){return t.captureException(e),Promise.reject(Error(h_))}}(t,a)}catch(o){return a.addBreadcrumb({category:hk,message:r}),n>=2?(a.captureException(o),Promise.reject(o)):e(t,a,n+=1)}})}(e,t)})})({render:"explicit",apihost:t,assethost:a,endpoint:n,hl:i,host:r,imghost:o,recaptchacompat:!1===s?"off":null,reportapi:l,sentry:d,custom:c,loadAsync:u,scriptLocation:p,scriptSource:m,secureApi:h,cleanup:void 0===g||g,uj:void 0!==f&&f}).then(this.handleOnLoad,this.handleError).catch(this.handleError),this.apiScriptRequested=!0}},a.renderCaptcha=function(e){var t=this,a=this.props.onReady,n=this.state.isApiReady,r=this.captchaId;if(n&&!r){var o=Object.assign({"open-callback":this.handleOpen,"close-callback":this.handleClose,"error-callback":this.handleError,"chalexpired-callback":this.handleChallengeExpired,"expired-callback":this.handleExpire,callback:this.handleSubmit},this.props,{hl:this.props.hl||this.props.languageOverride,languageOverride:void 0}),i=this._hcaptcha.render(this.ref.current,o);this.captchaId=i,this.setState({isRemoved:!1},function(){e&&e(),a&&a(),t._onReady&&t._onReady(i)})}},a.resetCaptcha=function(){var e=this._hcaptcha,t=this.captchaId;this.isReady()&&(e.reset(t),this._cancelPendingExecute("hcaptcha-reset"))},a.removeCaptcha=function(e){var t=this,a=this._hcaptcha,n=this.captchaId;this._cancelPendingExecute("hcaptcha-removed"),this.isReady()&&this.setState({isRemoved:!0},function(){t.captchaId="",a.remove(n),e&&e()})},a.handleOnLoad=function(){var e=this;this.setState({isApiReady:!0},function(){var t=h4(h6(e.props.scriptLocation));e._hcaptcha=t.window.hcaptcha,e.renderCaptcha(function(){var t=e.props.onLoad;t&&t()})})},a.handleSubmit=function(e){var t=this.props.onVerify,a=this.state.isRemoved,n=this._hcaptcha,r=this.captchaId;if(void 0!==n&&!a){var o=n.getResponse(r),i=n.getRespKey(r);t&&t(o,i)}},a.handleExpire=function(){var e=this.props.onExpire,t=this._hcaptcha,a=this.captchaId;this.isReady()&&(t.reset(a),e&&e())},a.handleError=function(e){var t=this.props.onError,a=this._hcaptcha,n=this.captchaId;this.isReady()&&a.reset(n),t&&t(e)},a.isReady=function(){var e=this.state,t=e.isApiReady,a=e.isRemoved;return t&&!a},a._cancelPendingExecute=function(e){if(this._pendingExecute){var t=this._pendingExecute;this._pendingExecute=null;var a=Error(e);t.reject(a)}},a.handleOpen=function(){this.isReady()&&this.props.onOpen&&this.props.onOpen()},a.handleClose=function(){this.isReady()&&this.props.onClose&&this.props.onClose()},a.handleChallengeExpired=function(){this.isReady()&&this.props.onChalExpired&&this.props.onChalExpired()},a.execute=function(e){var t=this;void 0===e&&(e=null),e="object"==typeof e?e:null;try{var a=this._hcaptcha,n=this.captchaId;if(e&&e.async&&this._pendingExecute&&this._cancelPendingExecute("hcaptcha-execute-replaced"),!this.isReady())if(e&&e.async)return new Promise(function(n,r){t._pendingExecute={resolve:n,reject:r},t._onReady=function(o){if(t._pendingExecute)try{var i=a.execute(o,e);i&&"function"==typeof i.then?i.then(function(e){t._pendingExecute=null,n(e)}).catch(function(e){t._pendingExecute=null,r(e)}):(t._pendingExecute=null,r(Error("hcaptcha-execute-no-promise")))}catch(e){t._pendingExecute=null,r(e)}}});else return this._onReady=function(t){a.execute(t,e)},null;var r=a.execute(n,e);if(e&&e.async&&r&&"function"==typeof r.then)return new Promise(function(e,a){t._pendingExecute={resolve:e,reject:a},r.then(function(a){t._pendingExecute=null,e(a)}).catch(function(e){t._pendingExecute=null,a(e)})});return r}catch(t){if(e&&e.async)return Promise.reject(t);return null}},a.close=function(){var e=this._hcaptcha,t=this.captchaId;if(this._cancelPendingExecute("hcaptcha-closed"),this.isReady())return e.close(t)},a.setData=function(e){var t=this._hcaptcha,a=this.captchaId;this.isReady()&&(e&&"object"!=typeof e&&(e=null),t.setData(a,e))},a.getResponse=function(){return this._hcaptcha.getResponse(this.captchaId)},a.getRespKey=function(){return this._hcaptcha.getRespKey(this.captchaId)},a.render=function(){var e=this.state.elementId;return b.createElement("div",{ref:this.ref,id:e})},t}(b.Component);let h9=(0,b.forwardRef)(function(e,t){return(0,h.jsx)(h8,{ref:t,sitekey:"c17dcad8-413f-4ad9-8e
12800b-037c89db9fc6",...e})});var h7=e.i(62009);let ge=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.ACTION_NETWORK),apiKey:hh.z.string()}),gt=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.ACTIONKIT),domain:hh.z.string(),username:hh.z.string(),password:hh.z.string()}),ga=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.AIRTABLE),personalAccessToken:hh.z.string(),baseId:hh.z.string(),tableId:hh.z.string()}),gn=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.BLUE_UTOPIA),apiKey:hh.z.string()}),gr=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.CAMPAIGN_DEPUTY),apiSecret:hh.z.string()});var go=e.i(97441);let gi=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.CONSTANT_CONTACT),oauthToken:go.OAuthTokenSchema.nullish()}),gs=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.DAISYCHAIN),apiKey:hh.z.string()}),gl=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.EMAIL),emailAddress:hh.z.string().email()}),gd=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.GOOGLE_SHEET),url:hh.z.string().url()}),gc=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.HUBSPOT),oauthToken:go.OAuthTokenSchema.nullish()}),gu=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.MAILCHIMP),apiKey:hh.z.string().min(1,"Required"),audienceId:hh.z.string().min(1,"Required")}),gp=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.MAILERLITE),apiKey:hh.z.string()}),gm=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.NATIONBUILDER),slug:hh.z.string(),oauthToken:go.OAuthTokenSchema.nullish()}),gh=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.NGP_VAN),apiKey:hh.z.string(),apiEmail:hh.z.string().email()}),gg=hh.z.object({service:hh.z.literal(h7.FormDestinationServices.SWITCHBOARD),accountId:hh.z.string().min(1),secretKey:hh.z.string().min(1)});var gf=((c={}).FIRST_NAME="firstName",c.LAST_NAME="lastName",c.EMAIL="email",c.PHONE_NUMBER="phoneNumber",c.ADDRESS_LINE_1="addressLine1",c.ADDRESS_LINE_2="addressLine2",c.CITY="city",c.REGION="region",c.POSTAL_CODE="postalCode",c.COUNTRY="country",c.OPT_IN_DISCLAIMER="optInDisclaimer",c.INPUT="input",c.SELECT="select",c.RADIO="radio",c.CHECKBOX="checkbox",c.CHECKBOX_GROUP="checkboxGroup",c.TEXTAREA="textarea",c.DATE="date",c.TIME="time",c.FILE="file",c.HEADING="heading",c.SPACER="spacer",c.DESCRIPTION="description",c.DISCLAIMER="disclaimer",c.HIDDEN="hidden",c.BUTTON="Button",c);let gv=hh.z.array(hh.z.object({value:hh.z.string().describe("The data to be added")})).nullish().describe("Used to add tags, source codes, etc to form submissions"),gb=hh.z.discriminatedUnion("type",[hh.z.object({type:hh.z.literal("none")}),hh.z.object({type:hh.z.literal("redirect"),url:hh.z.string().url({message:"Must be a valid URL"})})]).optional().describe("Either none or redirect, to support redirecting the user elsewhere after submitting the form"),gy=hh.z.object({mode:hh.z.enum(["always","conditional"]),condition:hh.z.object({fieldId:hh.z.string().uuid().describe("Source field (same form version; remapped on save)"),values:hh.z.array(hh.z.string()).describe("Show the field when the source value matches any of these")}).nullish()}).nullish().describe("Field visibility: always shown, or conditional on another field");hh.z.object({id:hh.z.string().uuid().nullish(),baseFormId:hh.z.string().uuid().nullish().describe("Self reference to the base form"),name:hh.z.string().nullish().describe("Name of the form, used for internal reference and display"),allowInternationalization:hh.z.boolean().default(!1).describe("Whether to enable international field formats (e.g., country code for phone numbers)"),independentLabels:hh.z.boolean().default(!1).describe("When true, this allows all labels on this form to be set independently of other forms"),isInitialCreation:hh.z.boolean().optional().describe("When true, skip blob update and broadcasting (used during block creation scaffolding)"),actions:gb,uiCopy:hh.z.object({validationMessages:hh.z.object({emailInvalid:hh.z.string(),required:hh.z.string(),postalCodeInvalid:hh.z.string(),phoneInvalid:hh.z.string(),missingInfo:hh.z.string()}),submitButtonText:hh.z.string(),submittingButtonText:hh.z.string(),submittedButtonText:hh.z.string(),successMessage:hh.z.string(),errorMessage:hh.z.string()}).nullish().describe("Translatable UI copy for form validation and button text"),FormField:hh.z.array(hh.z.object({id:hh.z.string().uuid().describe("Unique ID"),baseFieldId:hh.z.string().uuid().optional().describe("Base field ID for tracking field lineage across form versions"),type:hh.z.string().describe("The type of field"),label:hh.z.string().describe("Label to display on the site"),isRequired:hh.z.boolean(),defaultValue:hh.z.string().nullish().describe("Default value for the field"),variant:hh.z.string().nullish().describe("Variant for fields that support it"),options:hh.z.array(hh.z.object({id:hh.z.string().uuid().describe("Unique ID"),label:hh.z.string(),value:hh.z.string(),default:hh.z.boolean().nullish(),fieldNames:hh.z.record(hh.z.string(),hh.z.string().nullish()).nullish().describe("Per-destination field name for this option, keyed by formDestinationId (checkbox groups)")})).nullish().describe("Options for select, radio, and checkbox group fields"),visibility:gy,config:hh.z.object({dateFormat:hh.z.string().nullish(),timeFormat:hh.z.string().nullish(),maxFiles:hh.z.number().int().min(1).max(10).nullish()}).nullish().describe("Per-field settings (date/time submission format, upload limits)"),sortOrder:hh.z.number().int().min(0),FormFieldDestination:hh.z.array(hh.z.object({formDestinationId:hh.z.string().uuid().nullish().describe("Form Destination reference"),formFieldId:hh.z.string().uuid().nullish().describe("The field ID in the database"),fieldName:hh.z.string().nullish().describe("The field name in the destination")})).nullish()})).min(1,"Form must have at least one field").refine(e=>e.every(e=>"spacer"===e.type||e.label.trim().length>0),{message:"Field label is required"}),FormSegment:hh.z.array(hh.z.object({enabled:hh.z.boolean(),formDestinationId:hh.z.string().uuid().describe("Form Destination reference"),config:gv}))});let gx=hh.z.discriminatedUnion("service",[gt,ge,ga,gn,gr,gi,gs,gl,gd,gc,gu,gp,gm,gh,gg]);hh.z.object({id:hh.z.string().uuid().optional(),name:hh.z.string().min(1,"Required"),service:hh.z.string(),config:gx});let gS=hh.z.discriminatedUnion("service",[gt.extend({password:hh.z.string().optional()}),ge.extend({apiKey:hh.z.string().optional()}),ga.extend({personalAccessToken:hh.z.string().optional()}),gn.extend({apiKey:hh.z.string().optional()}),gr.extend({apiSecret:hh.z.string().optional()}),gi,gs.extend({apiKey:hh.z.string().optional()}),gl,gd,gc,gu.extend({apiKey:hh.z.string().optional()}),gp.extend({apiKey:hh.z.string().optional()}),gm,gh.extend({apiKey:hh.z.string().optional()}),gg.extend({secretKey:hh.z.string().optional()})]);hh.z.object({id:hh.z.string().uuid(),name:hh.z.string().min(1,"Required"),service:hh.z.string(),config:gS}),hh.z.object({id:hh.z.string().uuid().optional(),name:hh.z.string().min(1,"Required"),service:hh.z.string(),config:gS});let gw=[gf.FIRST_NAME,gf.LAST_NAME,gf.EMAIL,gf.PHONE_NUMBER,gf.ADDRESS_LINE_1,gf.ADDRESS_LINE_2,gf.CITY,gf.REGION,gf.POSTAL_CODE,gf.COUNTRY];gf.FIRST_NAME,gf.LAST_NAME,gf.EMAIL,gf.PHONE_NUMBER,gf.ADDRESS_LINE_1,gf.ADDRESS_LINE_2,gf.CITY,gf.REGION,gf.POSTAL_CODE,gf.COUNTRY,gf.CITY,gf.REGION,gf.POSTAL_CODE;let gC="Please enter a valid email address",gT="Required",g$="Invalid postal code",gE="Invalid phone number",gI="Missing required information.",gN="An error occurred. Please try again.",g_=[{value:"MM/dd/yyyy",label:"MM/DD/YYYY"},{value:"dd/MM/yyyy",label:"DD/MM/YYYY"},{value:"yyyy-MM-dd",label:"YYYY-MM-DD"},{value:"MMMM d, yyyy",label:"Month D, YYYY"},{value:"d MMMM yyyy",label:"D Month YYYY"}],gk="MM/dd/yyyy",gM=e=>{if(!e)return{time:"12:00"};
1280let[t,a]=e.split("T"),[n,r,o]=t.split("-").map(Number);return n&&r&&o?{date:new Date(n,r-1,o),time:a||"12:00"}:{time:a||"12:00"}};function gA(e,t){let{date:a}=gM(e);if(!a)return e;let n=(t??{}).dateFormat||gk;try{return(0,cH.format)(a,n)}catch{return e}}function gR(e,t,a){let n=e.visibility;if(!n||"conditional"!==n.mode||!n.condition?.fieldId||!n.condition.values?.length)return!0;let{fieldId:r,values:o}=n.condition;if(a&&!a.has(r))return!0;let i=t[r];return Array.isArray(i)?i.some(e=>o.includes(String(e))):"boolean"==typeof i?o.includes(String(i)):o.includes(String(i??""))}var gO=e.i(68094),gB=e.i(35558),gB=gB,gP=e.i(89233);let gL=function(e){(0,b.useEffect)(e,[])};var gD=e.i(10154),gj=e.i(70084);let gG=b.forwardRef(({id:e,className:t,label:a,error:n,color:r,...o},i)=>(0,h.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,h.jsx)(gD.Root,{id:e,ref:i,className:(0,sG.cn)("text-site-body peer mt-[calc((1.4em-1.25rem)/2)] flex h-5 w-5 shrink-0 items-center justify-center rounded-[2px] border-2 focus-visible:outline-1 focus-visible:outline-offset-2 disabled:cursor-not-allowed disabled:opacity-50 max-sm:mt-[calc((1.4em-1.1rem)/2)] max-sm:h-[1.1rem] max-sm:w-[1.1rem]",n?"border-red-500 focus-visible:ring-red-500":!r&&"focus-visible:ring-ring border-[var(--color-text-accent-primary)]",!r&&"data-[state=checked]:bg-[var(--color-text-accent-primary)]",t),style:r?{borderColor:`var(--color-${r})`,backgroundColor:o.checked?`var(--color-${r})`:void 0}:void 0,...o,children:(0,h.jsx)(gD.Indicator,{className:(0,sG.cn)("flex items-center justify-center data-[state=checked]:text-[var(--color-bg)]"),children:(0,h.jsx)(gj.Check,{strokeWidth:3,className:"h-4 w-4"})})}),a&&(0,h.jsx)("label",{htmlFor:e,className:"text-site-body font-medium leading-[1.4] [color:var(--color-text)] peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:a})]}));gG.displayName=gD.Root.displayName;var gF=e.i(10109);let gH=b.forwardRef(({title:e,open:t=!1,enterDelay:a=0,tooltipClassName:n,className:r,align:o="start",children:i},s)=>{let l=!!(t&&e);return(0,h.jsxs)(gF.Root,{open:l,onOpenChange:()=>{},delayDuration:a,children:[(0,h.jsx)(gF.Trigger,{asChild:!0,children:(0,h.jsx)("div",{ref:s,className:(0,sG.cn)("w-full",r),children:i})}),l&&(0,h.jsx)(gF.Portal,{children:(0,h.jsxs)(gF.Content,{className:(0,sG.cn)("group relative z-[1500] overflow-visible","max-w-xs rounded-md bg-red-500 px-3 py-1.5 text-left text-xs text-white","animate-in fade-in-0 zoom-in-95","data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95","data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2","data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2",n),side:"bottom",sideOffset:2,align:o,alignOffset:0,children:[(0,h.jsx)("span",{"aria-hidden":!0,className:(0,sG.cn)("pointer-events-none absolute h-3 w-3 rotate-45 bg-red-500","group-data-[side=bottom]:-top-1.5 group-data-[side=bottom]:left-1/2 group-data-[side=bottom]:-translate-x-1/2","group-data-[side=top]:-bottom-1.5 group-data-[side=top]:left-1/2 group-data-[side=top]:-translate-x-1/2","group-data-[side=left]:-right-1.5 group-data-[side=left]:top-1/2 group-data-[side=left]:-translate-y-1/2","group-data-[side=right]:-left-1.5 group-data-[side=right]:top-1/2 group-data-[side=right]:-translate-y-1/2")}),e]})})]})});gH.displayName="CampaignErrorTooltip";let gU=b.default.forwardRef(function({innerField:e,originalField:t,color:a,error:n,checked:r,...o},i){return(0,h.jsx)(gG,{...o,ref:i,id:t.id,name:t.id,label:t.label,color:a,error:n,checked:r,onCheckedChange:t=>e.onChange(t),"aria-invalid":n,"aria-errormessage":"Invalid field"})}),gK=b.default.memo(({field:e,tooltipClassName:t})=>{let{control:a,setValue:n}=(0,cV.useFormContext)();return gL(()=>{"true"===e.defaultValue?n(e.id,!0):n(e.id,!1)}),(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{control:a,name:e.id,render:({field:a,fieldState:n,...r})=>{let o=!!n.error,i=n.error?.message,s=a.value;return(0,h.jsx)(gH,{title:i||"",open:o,enterDelay:0,tooltipClassName:t,className:"checkbox-field h-full",children:(0,h.jsx)(gU,{innerField:a,originalField:e,error:o,checked:s,...r})})}},e.id)})}),gz=b.default.forwardRef(function({innerField:e,originalField:t,color:a,error:n,options:r,...o},i){let s=Array.isArray(e.value)?e.value:[];return(0,h.jsxs)("fieldset",{ref:i,className:"space-y-2 border-0 p-0",children:[t.label&&(0,h.jsx)("legend",{className:"text-site-body mb-2 text-[var(--color-headline-secondary)] [font-family:var(--font-family-header)] [font-weight:var(--font-weight-black)]",children:t.label}),r?.map(r=>{let i=r.value??r.label;return(0,b.createElement)(gG,{...o,key:r.id??i,id:`${t.id}-${i}`,name:t.id,label:r.label,color:a,error:n,checked:s.includes(i),onCheckedChange:t=>{e.onChange(t?[...s,i]:s.filter(e=>e!==i))},"aria-invalid":n})})??[]]})}),gV=b.default.memo(({field:e,tooltipClassName:t})=>{let{control:a}=(0,cV.useFormContext)(),n=e.options;return(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{c
1280ontrol:a,name:e.id,render:({field:a,fieldState:r,...o})=>{let i=!!r.error,s=r.error?.message;return(0,h.jsx)(gH,{title:s||"",open:i,enterDelay:0,tooltipClassName:t,className:"checkbox-group-field h-full",children:(0,h.jsx)(gz,{innerField:a,originalField:e,error:i,options:n,...o})})}},e.id)})}),gW=[{name:"Andorra",state:"assigned",alpha2:"AD",alpha3:"AND",numeric:"020"},{name:"United Arab Emirates",state:"assigned",alpha2:"AE",alpha3:"ARE",numeric:"784"},{name:"Afghanistan",state:"assigned",alpha2:"AF",alpha3:"AFG",numeric:"004"},{name:"Antigua and Barbuda",state:"assigned",alpha2:"AG",alpha3:"ATG",numeric:"028"},{name:"Anguilla",state:"assigned",alpha2:"AI",alpha3:"AIA",numeric:"660"},{name:"Albania",state:"assigned",alpha2:"AL",alpha3:"ALB",numeric:"008"},{name:"Armenia",state:"assigned",alpha2:"AM",alpha3:"ARM",numeric:"051"},{name:"Angola",state:"assigned",alpha2:"AO",alpha3:"AGO",numeric:"024"},{name:"Antarctica",state:"assigned",alpha2:"AQ",alpha3:"ATA",numeric:"010"},{name:"Argentina",state:"assigned",alpha2:"AR",alpha3:"ARG",numeric:"032"},{name:"American Samoa",state:"assigned",alpha2:"AS",alpha3:"ASM",numeric:"016"},{name:"Austria",state:"assigned",alpha2:"AT",alpha3:"AUT",numeric:"040"},{name:"Australia",state:"assigned",alpha2:"AU",alpha3:"AUS",numeric:"036"},{name:"Aruba",state:"assigned",alpha2:"AW",alpha3:"ABW",numeric:"533"},{name:"Åland Islands",state:"assigned",alpha2:"AX",alpha3:"ALA",numeric:"248"},{name:"Azerbaijan",state:"assigned",alpha2:"AZ",alpha3:"AZE",numeric:"031"},{name:"Bosnia and Herzegovina",state:"assigned",alpha2:"BA",alpha3:"BIH",numeric:"070"},{name:"Barbados",state:"assigned",alpha2:"BB",alpha3:"BRB",numeric:"052"},{name:"Bangladesh",state:"assigned",alpha2:"BD",alpha3:"BGD",numeric:"050"},{name:"Belgium",state:"assigned",alpha2:"BE",alpha3:"BEL",numeric:"056"},{name:"Burkina Faso",state:"assigned",alpha2:"BF",alpha3:"BFA",numeric:"854"},{name:"Bulgaria",state:"assigned",alpha2:"BG",alpha3:"BGR",numeric:"100"},{name:"Bahrain",state:"assigned",alpha2:"BH",alpha3:"BHR",numeric:"048"},{name:"Burundi",state:"assigned",alpha2:"BI",alpha3:"BDI",numeric:"108"},{name:"Benin",state:"assigned",alpha2:"BJ",alpha3:"BEN",numeric:"204"},{name:"Saint Barthélemy",state:"assigned",alpha2:"BL",alpha3:"BLM",numeric:"652"},{name:"Bermuda",state:"assigned",alpha2:"BM",alpha3:"BMU",numeric:"060"},{name:"Brunei Darussalam",state:"assigned",alpha2:"BN",alpha3:"BRN",numeric:"096"},{name:"Bolivia (Plurinational State of)",state:"assigned",alpha2:"BO",alpha3:"BOL",numeric:"068"},{name:"Bonaire, Sint Eustatius and Saba",state:"assigned",alpha2:"BQ",alpha3:"BES",numeric:"535"},{name:"Brazil",state:"assigned",alpha2:"BR",alpha3:"BRA",numeric:"076"},{name:"Bahamas",state:"assigned",alpha2:"BS",alpha3:"BHS",numeric:"044"},{name:"Bhutan",state:"assigned",alpha2:"BT",alpha3:"BTN",numeric:"064"},{name:"Bouvet Island",state:"assigned",alpha2:"BV",alpha3:"BVT",numeric:"074"},{name:"Botswana",state:"assigned",alpha2:"BW",alpha3:"BWA",numeric:"072"},{name:"Belarus",state:"assigned",alpha2:"BY",alpha3:"BLR",numeric:"112"},{name:"Belize",state:"assigned",alpha2:"BZ",alpha3:"BLZ",numeric:"084"},{name:"Canada",state:"assigned",alpha2:"CA",alpha3:"CAN",numeric:"124"},{name:"Cocos (Keeling) Islands",state:"assigned",alpha2:"CC",alpha3:"CCK",numeric:"166"},{name:"Congo, Democratic Republic of the",state:"assigned",alpha2:"CD",alpha3:"COD",numeric:"180"},{name:"Central African Republic",state:"assigned",alpha2:"CF",alpha3:"CAF",numeric:"140"},{name:"Congo",state:"assigned",alpha2:"CG",alpha3:"COG",numeric:"178"},{name:"Switzerland",state:"assigned",alpha2:"CH",alpha3:"CHE",numeric:"756"},{name:"Côte d'Ivoire",state:"assigned",alpha2:"CI",alpha3:"CIV",numeric:"384"},{name:"Cook Islands",state:"assigned",alpha2:"CK",alpha3:"COK",numeric:"184"},{name:"Chile",state:"assigned",alpha2:"CL",alpha3:"CHL",numeric:"152"},{name:"Cameroon",state:"assigned",alpha2:"CM",alpha3:"CMR",numeric:"120"},{name:"China",state:"assigned",alpha2:"CN",alpha3:"CHN",numeric:"156"},{name:"Colombia",state:"assigned",alpha2:"CO",alpha3:"COL",numeric:"170"},{name:"Costa Rica",state:"assigned",alpha2:"CR",alpha3:"CRI",numeric:"188"},{name:"Cuba",state:"assigned",alpha2:"CU",alpha3:"CUB",numeric:"192"},{name:"Cabo Verde",state:"assigned",alpha2:"CV",alpha3:"CPV",numeric:"132"},{name:"Curaçao",state:"assigned",alpha2:"CW",alpha3:"CUW",numeric:"531"},{name:"Christmas Island",state:"assigned",alpha2:"CX",alpha3:"CXR",numeric:"162"},{name:"Cyprus",state:"assigned",alpha2:"CY",alpha3:"CYP",numeric:"196"}
1280,{name:"Czechia",state:"assigned",alpha2:"CZ",alpha3:"CZE",numeric:"203"},{name:"Germany",state:"assigned",alpha2:"DE",alpha3:"DEU",numeric:"276"},{name:"Djibouti",state:"assigned",alpha2:"DJ",alpha3:"DJI",numeric:"262"},{name:"Denmark",state:"assigned",alpha2:"DK",alpha3:"DNK",numeric:"208"},{name:"Dominica",state:"assigned",alpha2:"DM",alpha3:"DMA",numeric:"212"},{name:"Dominican Republic",state:"assigned",alpha2:"DO",alpha3:"DOM",numeric:"214"},{name:"Algeria",state:"assigned",alpha2:"DZ",alpha3:"DZA",numeric:"012"},{name:"Ecuador",state:"assigned",alpha2:"EC",alpha3:"ECU",numeric:"218"},{name:"Estonia",state:"assigned",alpha2:"EE",alpha3:"EST",numeric:"233"},{name:"Egypt",state:"assigned",alpha2:"EG",alpha3:"EGY",numeric:"818"},{name:"Western Sahara",state:"assigned",alpha2:"EH",alpha3:"ESH",numeric:"732"},{name:"Eritrea",state:"assigned",alpha2:"ER",alpha3:"ERI",numeric:"232"},{name:"Spain",state:"assigned",alpha2:"ES",alpha3:"ESP",numeric:"724"},{name:"Ethiopia",state:"assigned",alpha2:"ET",alpha3:"ETH",numeric:"231"},{name:"Finland",state:"assigned",alpha2:"FI",alpha3:"FIN",numeric:"246"},{name:"Fiji",state:"assigned",alpha2:"FJ",alpha3:"FJI",numeric:"242"},{name:"Falkland Islands (Malvinas)",state:"assigned",alpha2:"FK",alpha3:"FLK",numeric:"238"},{name:"Micronesia (Federated States of)",state:"assigned",alpha2:"FM",alpha3:"FSM",numeric:"583"},{name:"Faroe Islands",state:"assigned",alpha2:"FO",alpha3:"FRO",numeric:"234"},{name:"France",state:"assigned",alpha2:"FR",alpha3:"FRA",numeric:"250"},{name:"Gabon",state:"assigned",alpha2:"GA",alpha3:"GAB",numeric:"266"},{name:"United Kingdom of Great Britain and Northern Ireland",state:"assigned",alpha2:"GB",alpha3:"GBR",numeric:"826"},{name:"Grenada",state:"assigned",alpha2:"GD",alpha3:"GRD",numeric:"308"},{name:"Georgia",state:"assigned",alpha2:"GE",alpha3:"GEO",numeric:"268"},{name:"French Guiana",state:"assigned",alpha2:"GF",alpha3:"GUF",numeric:"254"},{name:"Guernsey",state:"assigned",alpha2:"GG",alpha3:"GGY",numeric:"831"},{name:"Ghana",state:"assigned",alpha2:"GH",alpha3:"GHA",numeric:"288"},{name:"Gibraltar",state:"assigned",alpha2:"GI",alpha3:"GIB",numeric:"292"},{name:"Greenland",state:"assigned",alpha2:"GL",alpha3:"GRL",numeric:"304"},{name:"Gambia",state:"assigned",alpha2:"GM",alpha3:"GMB",numeric:"270"},{name:"Guinea",state:"assigned",alpha2:"GN",alpha3:"GIN",numeric:"324"},{name:"Guadeloupe",state:"assigned",alpha2:"GP",alpha3:"GLP",numeric:"312"},{name:"Equatorial Guinea",state:"assigned",alpha2:"GQ",alpha3:"GNQ",numeric:"226"},{name:"Greece",state:"assigned",alpha2:"GR",alpha3:"GRC",numeric:"300"},{name:"South Georgia and the South Sandwich Islands",state:"assigned",alpha2:"GS",alpha3:"SGS",numeric:"239"},{name:"Guatemala",state:"assigned",alpha2:"GT",alpha3:"GTM",numeric:"320"},{name:"Guam",state:"assigned",alpha2:"GU",alpha3:"GUM",numeric:"316"},{name:"Guinea-Bissau",state:"assigned",alpha2:"GW",alpha3:"GNB",numeric:"624"},{name:"Guyana",state:"assigned",alpha2:"GY",alpha3:"GUY",numeric:"328"},{name:"Hong Kong",state:"assigned",alpha2:"HK",alpha3:"HKG",numeric:"344"},{name:"Heard Island and McDonald Islands",state:"assigned",alpha2:"HM",alpha3:"HMD",numeric:"334"},{name:"Honduras",state:"assigned",alpha2:"HN",alpha3:"HND",numeric:"340"},{name:"Croatia",state:"assigned",alpha2:"HR",alpha3:"HRV",numeric:"191"},{name:"Haiti",state:"assigned",alpha2:"HT",alpha3:"HTI",numeric:"332"},{name:"Hungary",state:"assigned",alpha2:"HU",alpha3:"HUN",numeric:"348"},{name:"Indonesia",state:"assigned",alpha2:"ID",alpha3:"IDN",numeric:"360"},{name:"Ireland",state:"assigned",alpha2:"IE",alpha3:"IRL",numeric:"372"},{name:"Israel",state:"assigned",alpha2:"IL",alpha3:"ISR",numeric:"376"},{name:"Isle of Man",state:"assigned",alpha2:"IM",alpha3:"IMN",numeric:"833"},{name:"India",state:"assigned",alpha2:"IN",alpha3:"IND",numeric:"356"},{name:"British Indian Ocean Territory",state:"assigned",alpha2:"IO",alpha3:"IOT",numeric:"086"},{name:"Iraq",state:"assigned",alpha2:"IQ",alpha3:"IRQ",numeric:"368"},{name:"Iran (Islamic Republic of)",state:"assigned",alpha2:"IR",alpha3:"IRN",numeric:"364"},{name:"Iceland",state:"assigned",alpha2:"IS",alpha3:"ISL",numeric:"352"},{name:"Italy",state:"assigned",alpha2:"IT",alpha3:"ITA",numeric:"380"},{name:"Jersey",state:"assigned",alpha2:"JE",alpha3:"JEY",numeric:"832"},{name:"Jamaica",state:"assigned",alpha2:"JM",alpha3:"JAM",numeric:"388"},{name:"Jordan",state:"assigned",alpha2:"JO",alpha3:"JOR",numeric:"400"},{name:"Japan",state:"assigned",alpha2:"JP",alpha3:"JPN",numeric:"392"},{name:"Kenya",state:"assigned",alpha2:"KE",alpha3:"KEN",numeric:"404"},{name:"Kyrgyzstan",state:"assigned",alpha2:"KG",alpha3:"KGZ",numeric:"417"},{name:"Cambodia",state:"assigned",alpha2:"KH",alpha3:"KHM",numeric:"116"}
1280,{name:"Kiribati",state:"assigned",alpha2:"KI",alpha3:"KIR",numeric:"296"},{name:"Comoros",state:"assigned",alpha2:"KM",alpha3:"COM",numeric:"174"},{name:"Saint Kitts and Nevis",state:"assigned",alpha2:"KN",alpha3:"KNA",numeric:"659"},{name:"Korea (Democratic People's Republic of)",state:"assigned",alpha2:"KP",alpha3:"PRK",numeric:"408"},{name:"Korea, Republic of",state:"assigned",alpha2:"KR",alpha3:"KOR",numeric:"410"},{name:"Kuwait",state:"assigned",alpha2:"KW",alpha3:"KWT",numeric:"414"},{name:"Cayman Islands",state:"assigned",alpha2:"KY",alpha3:"CYM",numeric:"136"},{name:"Kazakhstan",state:"assigned",alpha2:"KZ",alpha3:"KAZ",numeric:"398"},{name:"Lao People's Democratic Republic",state:"assigned",alpha2:"LA",alpha3:"LAO",numeric:"418"},{name:"Lebanon",state:"assigned",alpha2:"LB",alpha3:"LBN",numeric:"422"},{name:"Saint Lucia",state:"assigned",alpha2:"LC",alpha3:"LCA",numeric:"662"},{name:"Liechtenstein",state:"assigned",alpha2:"LI",alpha3:"LIE",numeric:"438"},{name:"Sri Lanka",state:"assigned",alpha2:"LK",alpha3:"LKA",numeric:"144"},{name:"Liberia",state:"assigned",alpha2:"LR",alpha3:"LBR",numeric:"430"},{name:"Lesotho",state:"assigned",alpha2:"LS",alpha3:"LSO",numeric:"426"},{name:"Lithuania",state:"assigned",alpha2:"LT",alpha3:"LTU",numeric:"440"},{name:"Luxembourg",state:"assigned",alpha2:"LU",alpha3:"LUX",numeric:"442"},{name:"Latvia",state:"assigned",alpha2:"LV",alpha3:"LVA",numeric:"428"},{name:"Libya",state:"assigned",alpha2:"LY",alpha3:"LBY",numeric:"434"},{name:"Morocco",state:"assigned",alpha2:"MA",alpha3:"MAR",numeric:"504"},{name:"Monaco",state:"assigned",alpha2:"MC",alpha3:"MCO",numeric:"492"},{name:"Moldova, Republic of",state:"assigned",alpha2:"MD",alpha3:"MDA",numeric:"498"},{name:"Montenegro",state:"assigned",alpha2:"ME",alpha3:"MNE",numeric:"499"},{name:"Saint Martin (French part)",state:"assigned",alpha2:"MF",alpha3:"MAF",numeric:"663"},{name:"Madagascar",state:"assigned",alpha2:"MG",alpha3:"MDG",numeric:"450"},{name:"Marshall Islands",state:"assigned",alpha2:"MH",alpha3:"MHL",numeric:"584"},{name:"North Macedonia",state:"assigned",alpha2:"MK",alpha3:"MKD",numeric:"807"},{name:"Mali",state:"assigned",alpha2:"ML",alpha3:"MLI",numeric:"466"},{name:"Myanmar",state:"assigned",alpha2:"MM",alpha3:"MMR",numeric:"104"},{name:"Mongolia",state:"assigned",alpha2:"MN",alpha3:"MNG",numeric:"496"},{name:"Macao",state:"assigned",alpha2:"MO",alpha3:"MAC",numeric:"446"},{name:"Northern Mariana Islands",state:"assigned",alpha2:"MP",alpha3:"MNP",numeric:"580"},{name:"Martinique",state:"assigned",alpha2:"MQ",alpha3:"MTQ",numeric:"474"},{name:"Mauritania",state:"assigned",alpha2:"MR",alpha3:"MRT",numeric:"478"},{name:"Montserrat",state:"assigned",alpha2:"MS",alpha3:"MSR",numeric:"500"},{name:"Malta",state:"assigned",alpha2:"MT",alpha3:"MLT",numeric:"470"},{name:"Mauritius",state:"assigned",alpha2:"MU",alpha3:"MUS",numeric:"480"},{name:"Maldives",state:"assigned",alpha2:"MV",alpha3:"MDV",numeric:"462"},{name:"Malawi",state:"assigned",alpha2:"MW",alpha3:"MWI",numeric:"454"},{name:"Mexico",state:"assigned",alpha2:"MX",alpha3:"MEX",numeric:"484"},{name:"Malaysia",state:"assigned",alpha2:"MY",alpha3:"MYS",numeric:"458"},{name:"Mozambique",state:"assigned",alpha2:"MZ",alpha3:"MOZ",numeric:"508"},{name:"Namibia",state:"assigned",alpha2:"NA",alpha3:"NAM",numeric:"516"},{name:"New Caledonia",state:"assigned",alpha2:"NC",alpha3:"NCL",numeric:"540"},{name:"Niger",state:"assigned",alpha2:"NE",alpha3:"NER",numeric:"562"},{name:"Norfolk Island",state:"assigned",alpha2:"NF",alpha3:"NFK",numeric:"574"},{name:"Nigeria",state:"assigned",alpha2:"NG",alpha3:"NGA",numeric:"566"},{name:"Nicaragua",state:"assigned",alpha2:"NI",alpha3:"NIC",numeric:"558"},{name:"Netherlands, Kingdom of the",state:"assigned",alpha2:"NL",alpha3:"NLD",numeric:"528"},{name:"Norway",state:"assigned",alpha2:"NO",alpha3:"NOR",numeric:"578"},{name:"Nepal",state:"assigned",alpha2:"NP",alpha3:"NPL",numeric:"524"},{name:"Nauru",state:"assigned",alpha2:"NR",alpha3:"NRU",numeric:"520"},{name:"Niue",state:"assigned",alpha2:"NU",alpha3:"NIU",numeric:"570"},{name:"New Zealand",state:"assigned",alpha2:"NZ",alpha3:"NZL",numeric:"554"},{name:"Oman",state:"assigned",alpha2:"OM",alpha3:"OMN",numeric:"512"},{name:"Panama",state:"assigned",alpha2:"PA",alpha3:"PAN",numeric:"591"},{name:"Peru",state:"assigned",alpha2:"PE",alpha3:"PER",numeric:"604"},{name:"French Polynesia",state:"assigned",alpha2:"PF",alpha3:"PYF",numeric:"258"},{name:"Papua New Guinea",state:"assigned",alpha2:"PG",alpha3:"PNG",numeric:"598"},{name:"Philippines",state:"assigned",alpha2:"PH",alpha3:"PHL",numeric:"608"},{name:"Pakistan",state:"assigned",alpha2:"PK",alpha3:"PAK",numeric:"586"},{name:"Poland",state:"assigned",alpha2:"PL",alpha3:"POL",numeric:"616"},{name:"Saint Pierre and Miquelon",state:"assigned",alpha2:"PM",alpha3:"SPM",numeric:"666"},{name:"Pitcairn",state:"assigned",alpha2:"PN",alpha3:"PCN",numeric:"612"},{name:"Puerto Rico",state:"assigned",alpha2:"PR",alpha3:"PRI",numeric:"630"},{name:"Palestine, State of",state:"assigned",alpha2:"PS",alpha3:"PSE",numeric:"275"},{name:"Portugal",state:"assigned",alpha2:"PT",alpha3:"PRT",numeric:"620"},{name:"Palau",state:"assigned",alpha2:"PW",alpha3:"PLW",numeric:"585"},{name:"Paraguay",state:"assigned",alpha2:"PY",alpha3:"PRY",numeric:"600"},{name:"Qatar",state:"assigned",alpha2:"QA",alpha3:"QAT",numeric:"634"},{name:"Réunion",state:"assigned",alpha2:"RE",alpha3:"REU",numeric:"638"},{name:"Romania",state:"assigned",alpha2:"RO",alpha3:"ROU",numeric:"642"},{name:"Serbia",state:"assigned",alpha2:"RS",alpha3:"SRB",numeric:"688"},{name:"Russian Federation",state:"assigned",alpha2:"RU",alpha3:"RUS",numeric:"643"},{name:"Rwanda",state:"assigned",alpha2:"RW",alpha3:"RWA",numeric:"646"},{name:"Saudi Arabia",state:"assigned",alpha2:"SA",alpha3:"SAU",numeric:"682"},{name:"Solomon Islands",state:"assigned",alpha2:"SB",alpha3:"SLB",numeric:"090"},{name:"Seychelles",state:"assigned",alpha2:"SC",alpha3:"SYC",numeric:"690"},{name:"Sudan",state:"assigned",alpha2:"SD",alpha3:"SDN",numeric:"729"},{name:"Sweden",state:"assigned",alpha2:"SE",alpha3:"SWE",numeric:"752"},{name:"Singapore",state:"assigned",alpha2:"SG",alpha3:"SGP",numeric:"702"},{name:"Saint Helena, Ascension and Tristan da Cunha",state:"assigned",alpha2:"SH",alpha3:"SHN",numeric:"654"},{name:"Slovenia",state:"assigned",alpha2:"SI",alpha3:"SVN",numeric:"705"},{name:"Svalbard and Jan Mayen",state:"assigned",alpha2:"SJ",alpha3:"SJM",numeric:"744"},{name:"Slovakia",state:"assigned",alpha2:"SK",alpha3:"SVK",numeric:"703"},{name:"Sierra Leone",state:"assigned",alpha2:"SL",alpha3:"SLE",numeric:"694"},{name:"San Marino",state:"assigned",alpha2:"SM",alpha3:"SMR",numeric:"674"},{name:"Senegal",state:"assigned",alpha2:"SN",alpha3:"SEN",numeric:"686"},{name:"Somalia",state:"assigned",alpha2:"SO",alpha3:"SOM",numeric:"706"},{name:"Suriname",state:"assigned",alpha2:"SR",alpha3:"SUR",numeric:"740"},{name:"South Sudan",state:"assigned",alpha2:"SS",alpha3:"SSD",numeric:"728"},{name:"Sao Tome and Principe",state:"assigned",alpha2:"ST",alpha3:"STP",numeric:"678"},{name:"El Salvador",state:"assigned",alpha2:"SV",alpha3:"SLV",numeric:"222"},{name:"Sint Maarten (Dutch part)",state:"assigned",alpha2:"SX",alpha3:"SXM",numeric:"534"},{name:"Syrian Arab Republic",state:"assigned",alpha2:"SY",alpha3:"SYR",numeric:"760"},{name:"Eswatini",state:"assigned",alpha2:"SZ",alpha3:"SWZ",numeric:"748"},{name:"Turks and Caicos Islands",state:"assigned",alpha2:"TC",alpha3:"TCA",numeric:"796"},{name:"Chad",state:"assigned",alpha2:"TD",alpha3:"TCD",numeric:"148"},{name:"French Southern Territories",state:"assigned",alpha2:"TF",alpha3:"ATF",numeric:"260"},{name:"Togo",state:"assigned",alpha2:"TG",alpha3:"TGO",numeric:"768"},{name:"Thailand",state:"assigned",alpha2:"TH",alpha3:"THA",numeric:"764"},{name:"Tajikistan",state:"assigned",alpha2:"TJ",alpha3:"TJK",numeric:"762"},{name:"Tokelau",state:"assigned",alpha2:"TK",alpha3:"TKL",numeric:"772"},{name:"Timor-Leste",state:"assigned",alpha2:"TL",alpha3:"TLS",numeric:"626"},{name:"Turkmenistan",state:"assigned",alpha2:"TM",alpha3:"TKM",numeric:"795"},{name:"Tunisia",state:"assigned",alpha2:"TN",alpha3:"TUN",numeric:"788"},{name:"Tonga",state:"assigned",alpha2:"TO",alpha3:"TON",numeric:"776"},{name:"Türkiye",state:"assigned",alpha2:"TR",alpha3:"TUR",numeric:"792"},{name:"Trinidad and Tobago",state:"assigned",alpha2:"TT",alpha3:"TTO",numeric:"780"},{name:"Tuvalu",state:"assigned",alpha2:"TV",alpha3:"TUV",numeric:"798"},{name:"Taiwan, Province of China",state:"assigned",alpha2:"TW",alpha3:"TWN",numeric:"158"},{name:"Tanzania, United Republic of",state:"assigned",alpha2:"TZ",alpha3:"TZA",numeric:"834"},{name:"Ukraine",state:"assigned",alpha2:"UA",alpha3:"UKR",numeric:"804"},{name:"Uganda",state:"assigned",alpha2:"UG",alpha3:"UGA",numeric:"800"},{name:"United States Minor Outlying Islands",state:"assigned",alpha2:"UM",alpha3:"UMI",numeric:"581"},{name:"United States of America",state:"assigned",alpha2:"US",alpha3:"USA",numeric:"840"},{name:"Uruguay",state:"assigned",alpha2:"UY",alpha3:"URY",numeric:"858"},{name:"Uzbekistan",state:"assigned",alpha2:"UZ",alpha3:"UZB",numeric:"860"},{name:"Holy See",state:"assigned",alpha2:"VA",alpha3:"VAT",numeric:"336"},{name:"Saint Vincent and the Grenadines",state:"assigned",alpha2:"VC",alpha3:"VCT",numeric:"670"},{name:"Venezuela (Bolivarian Republic of)",state:"assigned",alpha2:"VE",alpha3:"VEN",numeric:"862"},{name:"Virgin Islands (British)",state:"assigned",alpha2:"VG",alpha3:"VGB",numeric:"092"},{name:"Virgin Islands (U.S.)",state:"assigned",alpha2:"VI",alpha3:"VIR",numeric:"850"},{name:"Viet Nam",state:"assigned",alpha2:"VN",alpha3:"VNM",numeric:"704"},{name:"Vanuatu",state:"assigned",alpha2:"VU",alpha3:"VUT",numeric:"548"},{name:"Wallis and Futuna",state:"assigned",alpha2:"WF",alpha3:"WLF",numeric:"876"},{name:"Samoa",state:"assigned",alpha2:"WS",alpha3:"WSM",numeric:"882"},{name:"Yemen",state:"assigned",alpha2:"YE",alpha3:"YEM",numeric:"887"},{name:"Mayotte",state:"assigned",alpha2:"YT",alpha3:"MYT",numeric:"175"},{name:"South Africa",state:"assigned",alpha2:"ZA",alpha3:"ZAF",numeric:"710"},{name:"Zambia",state:"assigned",alpha2:"ZM",alpha3:"ZMB",numeric:"894"},{name:"Zimbabwe",state:"assigned",alpha2:"ZW",alpha3:"ZWE",numeric:"716"}];var gZ=e.i(14240),gY=e.i(48684);let gJ=(0,gY.cva)("text-site-body-md font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",{variants:{srOnly:{true:"absolute w-px h-px p-0 -m-px overflow-hidden whitespace-nowrap border-0",false:""}},defaultVariants:{srOnly:!1}}),gq=b.forwardRef(({className:e,srOnly:t,...a},n)=>(0,h.jsx)(gZ.Root,{ref:n,className:(0,sG.cn)(gJ({srOnly:t}),e),...a}));gq.displayName=gZ.Root.displayName;var gX=e.i(94053),gQ=e.i(53977);let g0=["bg0","bg1","bg2","bg3","bg4"],g1=gX.Root;gX.Group;let g2=gX.Value,g3=(0,gY.cva)("flex w-full bg-transparent px-[0.9em] py-[0.45em] max-sm:px-[1em] max-sm:py-[0.6em] transition-colors border focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 items-center justify-between whitespace-nowrap [&>span]:max-w-[calc(100%-2rem)] [&>span]:overflow-x-hidden [&>span]:text-ellipsis",{variants:{variant:{default:"border-input focus-visible:border-gray-400",outline:"border-gray-300 focus-visible:border-blue-500",ghost:"border-transparent",error:"border-2 border-red-500 focus-visible:border-red-600"},size:{sm:"h-8 text-site-body-sm",md:"h-9 text-site-body-md",lg:"h-10 text-site-body-xl"}},defaultVariants:{variant:"default",size:"md"}}),g5=b.forwardRef(({className:e,children:t,bgColor:a,parentBgColor:n,activeBgColor:r,fontColor:o,error:i,IconComponent:s,variant:l,size:d="md",style:c,id:u,label:p,hasValue:m,...g},f)=>{let{theme:v}=(0,sB.useSiteTheme)(),y=(0,gQ.getCornersClass)(v?.corners),x=!!a&&g0.includes(a),S=r&&g0.includes(r)?r:void 0,w=b.useMemo(()=>{let e=!!n&&g0.includes(n),t=S?`var(--color-${S})`:x&&e?`var(--color-${n}-form-field-background-active)`:"var(--color-form-field-background-active)",r=S?`var(--color-${S}-text)`:x&&e?`var(--color-${n}-form-field-text-active)`:"var(--color-form-field-text-active)";if(x){let e=`var(--color-${a})`,n=`var(--color-${a}-text)`;return{"--input-bg":e,"--input-text":n,"--input-placeholder":n,"--input-bg-focus":t,"--input-text-focus":r,"--input-placeholder-focus":r}}let i=o?`var(--color-${o})`:"var(--color-form-field-text)";return{"--input-bg":"var(--color-form-field-background)","--input-text":i,"--input-placeholder":i,"--input-bg-focus":t,"--input-text-focus":r,"--input-placeholder-focus":r}},[x,a,n,S,o]),C=b.useMemo(()=>(0,sG.cn)(g3({variant:i?"error":l??"default",size:d}),y,"campaign-input campaign-select h-full max-md:h-auto","duration-200 ease-out","text-site-body-md placeholder:text-site-body-md","bg-[var(--input-bg)] [color:var(--input-text)] placeholder:[color:var(--input-placeholder)]","focus:bg-[var(--input-bg-focus)] focus:[color:var(--input-text-focus)] focus:placeholder:[color:var(--input-placeholder-focus)]","data-[state=open]:bg-[var(--input-bg-focus)] data-[state=open]:[color:var(--input-text-focus)] data-[state=open]:placeholder:[color:var(--input-placeholder-focus)]","[font-family:var(--font-family-header)] [font-weight:var(--font-weight-black)]","max-sm:[font-family:var(--font-family-body)]","group",p&&m&&"relative pb-[0.3em] pt-[0.85em]",x&&a?`color-${a}`:null,e),[i,l,d,y,e,x,a,p,m]),T=b.useMemo(()=>({...w,...c}),[w,c]);return(0,h.jsxs)(gX.Trigger,{ref:f,className:C,style:T,id:u,...g,children:[p&&m&&(0,h.jsx)("span",{"aria-hidden":!0,
1280className:(0,sG.cn)("animate-in fade-in slide-in-from-bottom-1 duration-200","pointer-events-none absolute left-[0.9em] top-[0.6em] origin-left translate-y-[-0.65em] scale-[0.5] opacity-[0.7]","max-w-[calc(100%-1.8em)] overflow-hidden text-ellipsis whitespace-nowrap","text-site-body-md [color:var(--input-text)] group-focus:[color:var(--input-text-focus)] group-data-[state=open]:[color:var(--input-text-focus)]","[font-family:var(--font-family-header)] [font-weight:var(--font-weight-black)]","max-sm:[font-family:var(--font-family-body)]"),children:p}),t,(0,h.jsx)(gX.Icon,{asChild:!0,children:s?(0,h.jsx)(s,{className:(0,sG.cn)("h-[16px] w-[16px] max-md:h-[12px] max-md:w-[12px]","transition-transform duration-200 group-data-[state=open]:rotate-180",p&&m&&"-translate-y-[0.275em]","text-[var(--input-text)] group-focus:text-[var(--input-text-focus)] group-data-[state=open]:text-[var(--input-text-focus)]","[&_path]:stroke-[var(--input-text)] group-focus:[&_path]:stroke-[var(--input-text-focus)] group-data-[state=open]:[&_path]:stroke-[var(--input-text-focus)]")}):(0,h.jsx)(cT.ChevronDown,{strokeWidth:3,className:(0,sG.cn)("h-6 w-6 max-md:h-[12px] max-md:w-[12px]","transition-transform duration-200 group-data-[state=open]:rotate-180",p&&m&&"-translate-y-[0.275em]","text-[var(--input-text)] group-focus:text-[var(--input-text-focus)] group-data-[state=open]:text-[var(--input-text-focus)]")})})]})});g5.displayName=gX.Trigger.displayName;let g4=b.forwardRef(({className:e,...t},a)=>(0,h.jsx)(gX.ScrollUpButton,{ref:a,className:(0,sG.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,h.jsx)(cT.ChevronDown,{className:"h-4 w-4 rotate-180"})}));g4.displayName=gX.ScrollUpButton.displayName;let g6=b.forwardRef(({className:e,...t},a)=>(0,h.jsx)(gX.ScrollDownButton,{ref:a,className:(0,sG.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,h.jsx)(cT.ChevronDown,{className:"h-4 w-4"})}));g6.displayName=gX.ScrollDownButton.displayName;let g8=b.forwardRef(({className:e,children:t,position:a="popper",...n},r)=>(0,h.jsx)(gX.Portal,{children:(0,h.jsxs)(gX.Content,{ref:r,className:(0,sG.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out bg-white text-gray-800 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-200 shadow-md","popper"===a&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:a,...n,children:[(0,h.jsx)(g4,{}),(0,h.jsx)(gX.Viewport,{className:(0,sG.cn)("p-1","popper"===a&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,h.jsx)(g6,{})]})}));g8.displayName=gX.Content.displayName,b.forwardRef(({className:e,...t},a)=>(0,h.jsx)(gX.Label,{ref:a,className:(0,sG.cn)("text-site-body-md px-2 py-1.5 font-semibold",e),...t})).displayName=gX.Label.displayName;let g9=b.forwardRef(({className:e,children:t,...a},n)=>(0,h.jsx)(gX.Item,{ref:n,className:(0,sG.cn)("relative flex w-full cursor-default select-none focus:bg-gray-100 focus:text-gray-900 text-site-body-md items-center rounded-sm py-1.5 pl-2 pr-8 text-gray-800 outline-nonedata-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:(0,h.jsx)(gX.ItemText,{children:t})}));g9.displayName=gX.Item.displayName,b.forwardRef(({className:e,...t},a)=>(0,h.jsx)(gX.Separator,{ref:a,className:(0,sG.cn)("bg-muted -mx-1 my-1 h-px",e),...t})).displayName=gX.Separator.displayName;var g7=e.i(54079),g7=g7;let fe=b.default.forwardRef(function({innerField:e,originalField:t,color:a,bgColor:n,parentBgColor:r,activeBgColor:o,error:i,...s},l){let d=gW.map(e=>({label:e.name,value:e.alpha2})),c=`country-${t.id}`;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(gq,{htmlFor:c,srOnly:!0,children:t.label}),(0,h.jsxs)(g1,{name:t.id,value:e.value??"",onValueChange:t=>e.onChange(t),children:[(0,h.jsx)(g5,{id:c,bgColor:n,parentBgColor:r,activeBgColor:o,variant:"ghost",error:i,IconComponent:g7.default,"aria-invalid":i,label:t.label,hasValue:!!e.value,children:(0,h.jsx)(g2,{placeholder:t.label})}),(0,h.jsx)(g8,{children:d.map(e=>(0,h.jsx)(g9,{value:e.value,children:e.label},e.value))})]},t.id)]})}),ft=b.default.memo(({field:e,tooltipClassName:t,bgColor:a,parentBgColor:n,activeBgColor:r,detectedCountry:o,...i})=>{let{control:s}=(0,cV.useFormContext)();return(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{c
1280ontrol:s,name:e.id,render:({field:o,fieldState:i,...s})=>{let l=!!i.error,d=i.error?.message;return(0,h.jsx)(gH,{title:d||"",open:l,enterDelay:0,tooltipClassName:t,className:"select-field h-full",children:(0,h.jsx)(fe,{innerField:o,originalField:e,bgColor:a,parentBgColor:n,activeBgColor:r,error:l,...s})})}},e.id)})});var fa=e.i(69547);let fn=(0,fa.default)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);var fr=e.i(68462);let fo=["bg0","bg1","bg2","bg3","bg4"],fi=(0,gY.cva)("flex w-full bg-transparent px-[0.9em] pt-[0.85em] pb-[0.3em] transition-colors focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",{variants:{variant:{default:"border border-input focus-visible:ring-1 focus-visible:ring-ring",outline:"border border-gray-300 focus-visible:ring-1 focus-visible:ring-blue-500",ghost:"border border-transparent focus-visible:ring-0",error:"border-2 border-red-500 focus-visible:ring-1 focus-visible:ring-red-500"},size:{sm:"h-8 text-site-body-sm",md:"h-9 text-site-body-md",lg:"h-10 text-site-body-lg"}},defaultVariants:{variant:"default",size:"md"}}),fs=e=>`
1281  [data-autofill-id="${e}"]:-webkit-autofill,
1282  [data-autofill-id="${e}"]:-webkit-autofill:hover,
1283  [data-autofill-id="${e}"]:-webkit-autofill:active {
1284    -webkit-text-fill-color: var(--input-text) !important;
1285    transition: background-color 5000s ease-in-out 0s;
1286    box-shadow: 0 0 0 60px var(--input-bg) inset !important;
1287    background-clip: content-box !important;
1288  }
1289  [data-autofill-id="${e}"]:-webkit-autofill:focus {
1290    -webkit-text-fill-color: var(--input-text-focus) !important;
1291    box-shadow: 0 0 0 60px var(--input-bg-focus) inset !important;
1292    background-clip: content-box !important;
1293  }
1294`,fl=b.forwardRef(({className:e,type:t,variant:a,size:n,bgColor:r,parentBgColor:o,activeBgColor:i,error:s,style:l,id:d,label:c,floatingLabel:u=!1,floatOnFocus:p=!0,placeholder:m,onCh
1294ange:g,onFocus:f,onBlur:v,...y},x)=>{let{theme:S}=(0,sB.useSiteTheme)(),w=(0,gQ.getCornersClass)(S?.corners),C=!!r&&fo.includes(r),T=i&&fo.includes(i)?i:void 0,$=b.useMemo(()=>{let e=!!o&&fo.includes(o),t=T?`var(--color-${T})`:C&&e?`var(--color-${o}-form-field-background-active)`:"var(--color-form-field-background-active)",a=T?`var(--color-${T}-text)`:C&&e?`var(--color-${o}-form-field-text-active)`:"var(--color-form-field-text-active)";if(C){let e=`var(--color-${r})`,n=`var(--color-${r}-text)`;return{"--input-bg":e,"--input-text":n,"--input-placeholder":n,"--input-bg-focus":t,"--input-text-focus":a,"--input-placeholder-focus":a}}return{"--input-bg":"var(--color-form-field-background)","--input-text":"var(--color-form-field-text)","--input-placeholder":"var(--color-form-field-text)","--input-bg-focus":t,"--input-text-focus":a,"--input-placeholder-focus":a}},[C,r,o,T]),E=b.useMemo(()=>(0,sG.cn)(fi({variant:s?"error":a,size:n,className:e}),w,"campaign-input h-auto","duration-200 ease-out","bg-[var(--input-bg)] [color:var(--input-text)] placeholder:[color:var(--input-placeholder)]","focus:bg-[var(--input-bg-focus)] focus:[color:var(--input-text-focus)] focus:placeholder:[color:var(--input-placeholder-focus)]","[font-family:var(--font-family-header)] [font-weight:var(--font-weight-black)]","max-sm:[font-family:var(--font-family-body)]",C&&r?`color-${r}`:null),[s,a,n,w,e,C,r]),I=b.useMemo(()=>({...$,...l}),[$,l]),N=b.useId().replace(/:/g,""),_=`autofill-${d||"input"}-${N}`,[k,M]=b.useState(!1),[A,R]=b.useState(!!y.value||!!y.defaultValue);b.useEffect(()=>{R(!!y.value)},[y.value]);let O=e=>{M(!0),f?.(e)},B=e=>{M(!1),R(!!e.target.value),v?.(e)},P=e=>{R(!!e.target.value),g?.(e)};return u&&c?(0,h.jsxs)("div",{className:"relative h-full w-full",children:[(0,h.jsx)("style",{dangerouslySetInnerHTML:{__html:fs(_)}}),(0,h.jsx)("input",{type:t,className:(0,sG.cn)(E,"placeholder:opacity-0"),style:I,ref:x,id:d,"data-autofill-id":_,placeholder:m||c,...y,onFocus:O,onBlur:B,onChange:P}),(0,h.jsx)("label",{htmlFor:d,className:(0,sG.cn)("pointer-events-none absolute left-[0.9em] origin-left","max-w-[calc(100%-1.8em)] overflow-hidden text-ellipsis whitespace-nowrap","will-change-transform","[font-family:var(--font-family-header)] [font-weight:var(--font-weight-black)]","max-sm:[font-family:var(--font-family-body)]","text-site-body-md",p&&k||A?k?"top-[0.6em] translate-y-[-0.65em] scale-[0.5] opacity-[0.7] [color:var(--input-text-focus)]":"top-[0.6em] translate-y-[-0.65em] scale-[0.5] opacity-[0.7] [color:var(--input-text)]":"top-1/2 -translate-y-1/2 [color:var(--input-placeholder)]"),style:{...$,transition:"color 200ms ease-in-out, transform 200ms ease-in-out, top 200ms ease-in-out"},children:c})]}):(0,h.jsxs)("div",{className:"h-full w-full",children:[(0,h.jsx)("style",{dangerouslySetInnerHTML:{__html:fs(_)}}),(0,h.jsx)("input",{type:t,className:E,style:I,ref:x,id:d,"data-autofill-id":_,placeholder:m,...y,onFocus:O,onBlur:B,onChange:P})]})});fl.displayName="CampaignInput";var fd=e.i(39162);let fc=fd.Root,fu=fd.Trigger,fp=fd.Anchor,fm=b.forwardRef(({className:e,align:t="start",sideOffset:a=4,...n},r)=>(0,h.jsx)(fd.Portal,{children:(0,h.jsx)(fd.Content,{ref:r,align:t,sideOffset:a,className:(0,sG.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 z-[100] w-auto rounded-md shadow-md outline-none",e),...n})}));fm.displayName=fd.Content.displayName;let fh=(0,b.lazy)(()=>e.A(90107).then(e=>({default:e.CampaignCalendar}))),fg={borderColor:"color-mix(in srgb, var(--color-form-field-text) 25%, transparent)"},ff="cursor-pointer pb-[0.575em] pt-[0.575em] pr-[2.4em]",fv=b.default.memo(b.default.forwardRef(function({innerField:e,originalField:t,bgColor:a,parentBgColor:n,activeBgColor:r,error:o,...i},s){let l=b.default.useCallback(e=>{let t=e.currentTarget;try{t.showPicker?.()}catch{}},[]);return(0,h.jsx)(fl,{...i,ref:s,id:`date-${t.id}`,value:e.value||"",name:t.id,type:"date",variant:"ghost",required:t.isRequired,error:o,bgColor:a,parentBgColor:n,activeBgColor:r,className:ff,onChange:t=>e.onChange(t.target.value),onFocus:l,onClick:l,onBlur:e.onBlur,"aria-invalid":o})})),fb=b.default.memo(({field:e,tooltipClassName:t,bgColor:a,parentBgColor:n,activeBgColor:r})=>{let{control:o}=(0,cV.useFormContext)(),[i,s]=b.default.useState(!1),l=(0,sR.useMediaQuery)("(pointer: coarse)"),d=b.default.useRef(null),[c,u]=b.default.useState(),p=`date-${e.id}`,m=e.label?.trim()?(0,h.jsx)("label",{htmlFor:p,className:"text-site-body mb-2 block cursor-pointer text-[var(--color-headline-secondary)] [font-family:var(--font-family-header)] [font-weight:var(--font-weight-black)]",children:e.label}):null,g=g_.find(t=>t.value===(e.config?.dateFormat||gk))?.label??"MM/DD/YYYY",f=e=>{if(e&&d.current){let e=getComputedStyle(d.current),t=(t,a)=>e.getPropertyValue(t).trim()||a,a=t("--input-bg","#fff"),n=t("--input-text","#111");u({"--color-form-field-background":a,"--color-form-field-text":n,"--color-form-field-background-active":t("--input-bg-focus",a),"--color-form-field-text-active":t("--input-text-focus",n)})}s(e)};return(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{c
1294ontrol:o,name:e.id,render:({field:o,fieldState:u})=>{let v=!!u.error,y=u.error?.message,{date:x}=gM(o.value),S=o.value?gA(o.value,e.config):"",w=e=>{e?o.onChange((0,cH.format)(e,"yyyy-MM-dd")):o.onChange("")};return l?(0,h.jsx)(gH,{title:y||"",open:v,enterDelay:0,tooltipClassName:t,className:"date-field h-full",children:(0,h.jsxs)("div",{children:[m,(0,h.jsx)("div",{className:"relative w-full",children:(0,h.jsx)(fv,{innerField:o,originalField:e,bgColor:a,parentBgColor:n,activeBgColor:r,error:v})})]})}):(0,h.jsx)(gH,{title:y||"",open:v,enterDelay:0,tooltipClassName:t,className:"date-field h-full",children:(0,h.jsxs)(fc,{open:i,onOpenChange:f,children:[m,(0,h.jsx)(fp,{asChild:!0,children:(0,h.jsxs)("div",{className:"relative w-full",children:[(0,h.jsx)(fu,{asChild:!0,children:(0,h.jsx)(fl,{ref:d,id:p,name:e.id,type:"text",readOnly:!0,value:S,placeholder:g,variant:"ghost",required:e.isRequired,error:v,bgColor:a,parentBgColor:n,activeBgColor:r,className:ff,style:i?{"--input-bg":"var(--input-bg-focus)","--input-text":"var(--input-text-focus)"}:void 0,onBlur:o.onBlur,"aria-invalid":v})}),x?(0,h.jsx)("button",{type:"button","aria-label":"Clear date",onClick:()=>w(void 0),className:"absolute right-[0.9em] top-1/2 -translate-y-1/2 opacity-70 hover:opacity-100",children:(0,h.jsx)(fr.X,{className:"h-4 w-4 [color:var(--color-form-field-text)]"})}):(0,h.jsx)(fn,{className:"pointer-events-none absolute right-[0.9em] top-1/2 h-4 w-4 -translate-y-1/2 opacity-70 [color:var(--color-form-field-text)]"})]})}),(0,h.jsx)(fm,{className:"border bg-[var(--color-form-field-background)] text-[var(--color-form-field-text)]",style:{...c,...fg},children:(0,h.jsx)(b.Suspense,{fallback:(0,h.jsx)("div",{className:"h-80 w-72"}),children:(0,h.jsx)(fh,{mode:"single",captionLayout:"dropdown",startMonth:new Date(1900,0),endMonth:new Date(new Date().getFullYear()+10,11),selected:x,defaultMonth:x??new Date,onSelect:e=>{w(e),s(!1)}})})})]})})}},e.id)})});var fy=e.i(30200);let fx=(0,sW.styled)("div",{label:"InlineTextField",...sZ.transientOptions})`
1295  min-width: 100px;
1296  min-height: 10px;
1297
1298  &::after {
1299    content: '';
1300    clear: both;
1301    display: block;
1302  }
1303
1304  p,
1305  h2,
1306  h3,
1307  h4 {
1308    // Images inside other tags need margin
1309    > .image {
1310      margin-top: 1em;
1311      margin-bottom: 1em;
1312    }
1313  }
1314
1315  &:last-child > p {
1316    margin-bottom: 0;
1317  }
1318
1319  a:focus-visible {
1320    outline: 2px dashed var(--color-text);
1321    outline-offset: 2px;
1322  }
1323`,fS=(0,s7.default)(()=>e.A(17272),{loadableGenerated:{modules:[23987]},ssr:!1}),fw=e=>{let{value:t,className:a}=e;return(0,h.jsx)(fx,{children:"true"===y.default.env.NEXT_PUBLIC_IS_CMS?(0,h.jsx)(fS,{...e}):(0,h.jsx)("div",{className:a||void 0,dangerouslySetInnerHTML:{__html:(0,fy.sanitizeBlockHtml)(t)}})})},fC=({field:e,size:t=100})=>{let a=s2.trpc.formField.update.useMutation(),n=s2.trpc.useUtils();return(0,h.jsx)("div",{children:(0,h.jsx)(fw,{value:e.label,onChange:t=>{a.mutate({id:e.id,label:t},{onSuccess:()=>{n.form.byId.invalidate()}})},className:"description"})},e.id)},fT=({maxWidth:e,width:t,hasCheckbox:a,isHeroDisclaimer:n,isLandingPopupDisclaimer:r,children:o,className:i})=>(0,h.jsx)("div",{className:(0,sG.cn)("flex items-start",!a&&"justify-center",r&&"landing-popup-disclaimer justify-center text-center",n&&"mx-auto md:w-full",!r&&!n&&"mb-[15px]",i),style:{maxWidth:e,width:t},children:o}),f$=b.default.forwardRef(function({innerField:e,originalField:t,error:a,checked:n,color:r,...o},i){return(0,h.jsx)(gG,{...o,ref:i,id:t.id,name:t.id,error:a,checked:n,color:r,onCheckedChange:t=>e.onChange(t),"aria-invalid":a,"aria-label":t.label})}),fE=({field:e,maxWidth:t,width:a,isHeroDisclaimer:n,isLandingPopupDisclaimer:r,tooltipClassName:o,disclaimerClass:i,heroBgColor:s,disclaimerCheckboxColor:l})=>{let{control:d,setValue:c}=(0,cV.useFormContext)(),u=s2.trpc.formField.update.useMutation(),p=s2.trpc.useUtils();return gL(()=>{"true"===e.defaultValue?c(e.id,!0):c(e.id,!1)}),(0,h.jsxs)(fT,{maxWidth:t,width:a,hasCheckbox:"checkbox"===e.variant,isHeroDisclaimer:n,isLandingPopupDisclaimer:r,className:i,children:["checkbox"===e.variant?(0,h.jsx)("div",{className:(0,sG.cn)("checkbox mr-2",s&&n&&`color-${s}`),style:n&&l?{color:`var(--color-${l})`}:void 0,children:(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{c
1323ontrol:d,name:e.id,render:({field:t,fieldState:a,...r})=>{let i=!!a.error,s=a.error?.message,d=t.value;return(0,h.jsx)(gH,{title:s||"",open:i,enterDelay:0,tooltipClassName:o,className:"disclaimer-field h-full",align:"center",children:(0,h.jsx)(f$,{innerField:t,originalField:e,error:i,checked:d,color:n?l:void 0,...r})})}},e.id)})}):null,(0,h.jsx)("div",{className:(0,sG.cn)("disclaimer mx-auto text-left text-[var(--color-text)]","checkbox"===e.variant?"has-checkbox mb-0":"",n&&"mb-0 text-center",n&&"checkbox"===e.variant&&"text-left",r&&"mt-0 text-center",r&&"checkbox"===e.variant&&"w-full text-left","text-site-body-xs sm:w-full md:w-full","[&_a:active]:underline [&_a:focus]:underline [&_a:hover]:underline [&_a:visited]:underline [&_a]:underline"),style:{maxWidth:t,width:a},children:(0,h.jsx)(fw,{value:e.label,onChange:t=>{u.mutate({id:e.id,label:t},{onSuccess:()=>{p.form.byId.invalidate()}})},className:"inline-text-field",allowAllColors:n})})]},e.id)},fI=b.default.forwardRef(function({innerField:e,originalField:t,bgColor:a,parentBgColor:n,activeBgColor:r,error:o,width:i,...s},l){let d=`email-${t.id}`;return(0,h.jsx)(fl,{...s,ref:l,id:d,value:e.value||"",name:t.id,type:"email",variant:"ghost",label:t.label,floatingLabel:!0,required:t.isRequired,maxLength:255,error:o,bgColor:a,parentBgColor:n,activeBgColor:r,onChange:t=>e.onChange(t.target.value),onBlur:()=>e.onBlur(),"aria-invalid":o})}),fN=b.default.memo(({field:e,tooltipClassName:t,bgColor:a,parentBgColor:n,activeBgColor:r})=>{let{control:o}=(0,cV.useFormContext)();return(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{control:o,name:e.id,render:({field:o,fieldState:i,...s})=>{let l=!!i.error,d=i.error?.message;return(0,h.jsx)(gH,{title:d||"",open:l,enterDelay:0,tooltipClassName:t,className:"input-field h-full",children:(0,h.jsx)(fI,{innerField:o,originalField:e,bgColor:a,parentBgColor:n,activeBgColor:r,error:l,...s})})}},e.id)})});var f_=e.i(22138);let fk=(0,fa.default)("paperclip",[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]]),fM=(0,fa.default)("cloud-upload",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]]);var fA=e.i(17190);let fR={"image/jpeg":[".jpg",".jpeg"],"image/png":[".png"],"image/webp":[".webp"],"image/gif":[".gif"],"application/pdf":[".pdf"],"application/msword":[".doc"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[".docx"]},fO=e=>e.split("/").pop()??e,fB=b.default.memo(({field:e,formId:t,tooltipClassName:a})=>{let{control:n,setValue:r,setError:o,clearErrors:i,getValues:s}=(0,cV.useFormContext)(),{theme:l}=(0,sB.useSiteTheme)(),[d,c]=b.default.useState([]),u=Math.max(1,Number(e.config?.maxFiles)||1),p=s2.trpc.formUpload.createUploadUrl.useMutation(),m=s2.trpc.formUpload.deleteUpload.useMutation(),g=()=>{let t=s(e.id);return Array.isArray(t)?t:t?[String(t)]:[]},f=async a=>{i(e.id);let n=u-g().length-d.length,s=a.slice(0,Math.max(0,n));for(let n of(s.length<a.length&&o(e.id,{type:"manual",message:1===u?"Only one file allowed":`Up to ${u} files allowed`}),s)){c(e=>[...e,n.name]);try{let a=await p.mutateAsync({formId:t,filename:n.name,contentType:n.type,fileSize:n.size}),o=await fetch(a.signedUrl,{method:"PUT",headers:{"Content-Type":n.type},body:n});if(!o.ok)throw Error(`Upload failed (${o.status})`);r(e.id,[...g(),a.path],{shouldDirty:!0,shouldValidate:!0})}catch(t){console.error("File upload failed:",t),o(e.id,{type:"manual",message:t?.message?.includes("type not allowed")?"File type not allowed":"Upload failed. Please try again."})}finally{c(e=>{let t=[...e],a=t.indexOf(n.name);return -1!==a&&t.splice(a,1),t})}}},v=(0,cV.useWatch)({control:n,name:e.id}),y=Array.isArray(v)?v:v?[String(v)]:[],x=y.length+d.length>=u,{getRootProps:S,getInputProps:w,isDragActive:C}=(0,fA.useDropzone)({accept:fR,maxSize:0xa00000,multiple:u>1,disabled:x,onDrop:(t,a)=>{a.length>0&&o(e.id,{type:"manual",message:a.some(e=>e.errors.some(e=>"file-too-large"===e.code))?`Files must be under ${Math.round(10)}MB`:"File type not allowed"}),t.length>0&&f(t)}});return(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{c
1323ontrol:n,name:e.id,render:({fieldState:t})=>{let n=!!t.error,o=t.error?.message;return(0,h.jsx)(gH,{title:o||"",open:n,enterDelay:0,tooltipClassName:a,className:"file-field",children:(0,h.jsxs)("div",{className:"[color:var(--color-text)]",children:[e.label?.trim()&&(0,h.jsx)("label",{htmlFor:`file-${e.id}`,className:"text-site-body mb-2 block cursor-pointer text-[var(--color-headline-secondary)] [font-family:var(--font-family-header)] [font-weight:var(--font-weight-black)]",children:e.label}),(0,h.jsxs)("div",{...S({className:(0,sG.cn)("flex w-full flex-col items-center justify-center gap-1 border-2 border-dashed px-[0.9em] py-[1.2em] text-center transition-colors",(0,gQ.getCornersClass)(l?.corners),n?"border-red-500":"[border-color:color-mix(in_srgb,var(--color-text)_40%,transparent)]",x?"cursor-not-allowed opacity-50":"cursor-pointer hover:bg-[color-mix(in_srgb,var(--color-text)_5%,transparent)]",C&&"bg-[color-mix(in_srgb,var(--color-text)_8%,transparent)]")}),"aria-label":e.label,children:[(0,h.jsx)("input",{...w({id:`file-${e.id}`}),name:e.id}),(0,h.jsx)(fM,{className:"h-5 w-5 opacity-70"}),(0,h.jsx)("div",{className:"text-site-body-sm opacity-70",children:x?1===u?"File added":`Maximum of ${u} files added`:`Drag & drop or click to browse${u>1?` (up to ${u} files)`:""}`})]}),(y.length>0||d.length>0)&&(0,h.jsxs)("ul",{className:"mt-2 space-y-1",children:[y.map(t=>(0,h.jsxs)("li",{className:"text-site-body-sm flex items-center gap-2",children:[(0,h.jsx)(fk,{className:"h-3.5 w-3.5 shrink-0 opacity-70"}),(0,h.jsx)("span",{className:"min-w-0 truncate",children:fO(t)}),(0,h.jsx)("button",{type:"button","aria-label":`Remove ${fO(t)}`,onClick:()=>{"string"==typeof t&&t.startsWith("form-uploads/")&&m.mutate({path:t},{onError:()=>void 0}),r(e.id,g().filter(e=>e!==t),{shouldDirty:!0,shouldValidate:!0}),i(e.id)},className:"shrink-0 opacity-70 hover:opacity-100",children:(0,h.jsx)(fr.X,{className:"h-4 w-4"})})]},t)),d.map((e,t)=>(0,h.jsxs)("li",{className:"text-site-body-sm flex items-center gap-2 opacity-80",children:[(0,h.jsx)(f_.Loader2,{className:"h-3.5 w-3.5 shrink-0 animate-spin"}),(0,h.jsx)("span",{className:"min-w-0 truncate",children:e}),(0,h.jsx)("span",{className:"shrink-0 text-xs opacity-70",children:"Uploading…"})]},`${e}-${t}`))]})]})})}},e.id)})}),fP=b.default.memo(b.default.forwardRef(function({innerField:e,originalField:t,bgColor:a,parentBgColor:n,activeBgColor:r,error:o,...i},s){let l=`input-${t.id}`,d=b.default.useCallback(t=>{e.onChange(t.target.value)},[e]),c=b.default.useCallback(()=>{e.onBlur()},[e]);return(0,h.jsx)(fl,{...i,ref:s,id:l,value:e.value||"",name:t.id,type:"text",variant:"ghost",label:t.label,floatingLabel:!0,required:t.isRequired,error:o,maxLength:255,bgColor:a,parentBgColor:n,activeBgColor:r,onChange:d,onBlur:c,"aria-invalid":o})})),fL=b.default.memo(({field:e,tooltipClassName:t,bgColor:a,parentBgColor:n,activeBgColor:r})=>{let{control:o}=(0,cV.useFormContext)();return(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{control:o,name:e.id,render:({field:o,fieldState:i,...s})=>{let l=!!i.error,d=i.error?.message;return(0,h.jsx)(gH,{title:d||"",open:l,enterDelay:0,tooltipClassName:t,className:"input-field h-full",children:(0,h.jsx)(fP,{innerField:o,originalField:e,bgColor:a,parentBgColor:n,activeBgColor:r,error:l,...s})})}},e.id)})});function fD(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,r,o,i,s=[],l=!0,d=!1;try{if(o=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;l=!1}else for(;!(l=(n=o.call(a)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){d=!0,r=e}finally{try{if(!l&&null!=a.return&&(i=a.return(),Object(i)!==i))return}finally{if(d)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return fj(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);if("Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return fj(e,t)}}
1323(e,t)||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 fj(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var fG=["Component","country","defaultCountry","useNationalFormatForDefaultCountryValue","value","onChange","metadata","international","withCountryCallingCode"];function fF(){return(fF=Object.assign.bind()).apply(this,arguments)}function fH(e,t){var a=e.Component,n=e.country,r=e.defaultCountry,o=e.useNationalFormatForDefaultCountryValue,i=e.value,s=e.onChange,l=e.metadata,d=e.international,c=e.withCountryCallingCode,u=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,fG),p=function(e){var t,a,n,r,o,i=this,s=e.value,l=e.onChange,d=e.country,c=e.defaultCountry,u=e.international,p=e.withCountryCallingCode,m=e.useNationalFormatForDefaultCountryValue,h=e.metadata;"boolean"!=typeof p||d&&u||console.error("[react-phone-number-input] `withCountryCallingCode` property can only be used together with `country` and `international` properties"),d&&c&&console.error("[react-phone-number-input] When `country` property is passed, `defaultCountry` property has no effect and therefore shouldn't be passed"),"boolean"!=typeof u||d||console.error("[react-phone-number-input] `international` property can only be used together with `country` property");var g=(a=(t={international:u,country:d,defaultCountry:c,withCountryCallingCode:p}).international,n=t.country,r=t.defaultCountry,o=t.withCountryCallingCode,n?a?o?"INTERNATIONAL":"NATIONAL_PART_OF_INTERNATIONAL":"NATIONAL":r?"INTERNATIONAL_OR_NATIONAL":"INTERNATIONAL"),f=(0,b.useRef)(),v=function(e,t,a){console.error("[react-phone-number-input] Expected phone number ".concat(e," to correspond to country ").concat(t," but ").concat(a?"in reality it corresponds to country "+a:"it doesn't",".")),f.current=!0},y=function(e){return s&&mP(s),function(e,t,a,n,r,o,i){if(t&&"INTERNATIONAL"===n){var s=mz(t,o);return e?(0!==e.indexOf(s)&&i(e,t),e):s}if(!e)return"";if(!t&&!a)return e;var l=new me(void 0,o);l.input(e);var d=l.getNumber();if(!d)return"";if(t)switch(d.country&&d.country!==t?i(e,t,d.country):d.countryCallingCode!==uh(t,o)&&i(e,t),n){case"NATIONAL":return u$(d.formatNational());case"NATIONAL_PART_OF_INTERNATIONAL":return u$(ma(d.formatInternational(),mz(t,o)));case"INTERNATIONAL":throw Error('`inputFormat: "INTERNATIONAL"` case should\'ve already been handled earlier in the code');case"INTERNATIONAL_OR_NATIONAL":throw Error('`inputFormat: "INTERNATIONAL_OR_NATIONAL"` is not possible when `country` is fixed');default:throw Error("Unknown `inputFormat`: ".concat(n))}return d.countryCallingCode&&d.countryCallingCode===uh(a,o)&&r?u$(d.formatNational()):e}(s,d,c,g,m,h,function(){e&&e.onCountryMismatch&&e.onCountryMismatch();for(var t=arguments.length,a=Array(t),n=0;n<t;n++)a[n]=arguments[n];v.apply(i,a)})},x=fD((0,b.useState)(d),2),S=x[0],w=x[1],C=fD((0,b.useState)(c),2),T=C[0],$=C[1],E=fD((0,b.useState)(y()),2),I=E[0],N=E[1],_=fD((0,b.useState)(s),2),k=_[0],M=_[1],A=fD((0,b.useState)(),2),R=(A[0],A[1]),O=(0,b.useCallback)(function(){return R({})},[R]);function B(e){if(e){"NATIONAL_PART_OF_INTERNATIONAL"===g&&(e="+".concat(uh(d,h)).concat(e));var t=new me(d||c,h);return t.input(e),t.getNumberValue()}}return(0,b.useEffect)(function(){s!==k&&(M(s),N(y()))},[s]),(0,b.useEffect)(function(){if(d!==S){w(d);var e,t=y({onCountryMismatch:function(){e=!0}});N(t),e&&M(B(t))}},[d]),(0,b.useEffect)(function(){c!==T&&($(c),N(y()))},[c]),(0,b.useEffect)(function(){k!==s&&l(k)},[k]),{phoneDigits:I,setPhoneDigits:(0,b.useCallback)(function(e){var t;if(d)if("INTERNATIONAL"===g){var a=mz(d,h);if(0!==e.indexOf(a)){if(e&&"+"!==e[0])e=a+e;else if(!f.current)return N(a),M(void 0),O()}}else e&&"+"===e[0]&&(e=e.slice(1));else!c&&e&&"+"!==e[0]&&(e="+"+e);e&&(t=B(e)),N(e),M(t)},[d,g,c,h,N,M,O,f]),inputFormat:g}}({value:i,onChange:s,country:n,defaultCountry:r,international:d,withCountryCallingCode:c,useNationalFormatForDefaultCountryValue:void 0===o||o,metadata:l}),m=p.phoneDigits,h=p.setPhoneDigits,g=p.inputFormat;return b.default.createElement(a,fF({},u,{ref:t,metadata:l,inputFormat:g,international:d,withCountryCallingCode:c,country:n||r,value:m,onChange:h}))}(fH=b.default.forwardRef(fH)).propTypes={value:ph.default.string,onChange:ph.default.func.isRequired,country:ph.default.string,defaultCountry:ph.default.string,international:ph.default.bool,withCountryCallingCode:ph.default.bool,Component:ph.default.elementType.isRequired,useNationalFormatForDefaultCountryValue:ph.default.bool,metadata:pg};let fU=fH;var fK=["type","autoComplete","smartCaret","metadata"];function fz(){return(fz=Object.assign.bind()).apply(this,arguments)}function fV(e){function t(t,a){var n=t.type,r=t.autoComplete,o=t.smartCaret,i=t.metadata,s=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(t,fK);return b.default.createElement(fU,fz({}
1323,s,{type:void 0===n?"tel":n,autoComplete:void 0===r?"tel":r,metadata:void 0===i?e:i,ref:a,Component:void 0===o||o?md:mp}))}return(t=b.default.forwardRef(t)).propTypes={type:ph.default.string,autoComplete:ph.default.string,smartCaret:ph.default.bool,metadata:ph.default.object},t}fV();let fW=fV(cW),fZ=b.default.memo(({field:e,tooltipClassName:t,bgColor:a,parentBgColor:n,activeBgColor:r,allowInternationalization:o=!1,detectedCountry:i})=>{let{control:s}=(0,cV.useFormContext)(),l=i?.toUpperCase()||"US",d=b.default.useRef(null),c=b.default.useMemo(()=>{let t=b.default.forwardRef(({value:t,onChange:i,onBlur:s,...c},u)=>(0,h.jsx)(fl,{...c,ref:u,value:t??"",onChange:i,onInput:o?e=>{let a=e.currentTarget.value;if(a.replace(/\D/g,"").length-String(t??"").replace(/\D/g,"").length<=1)return;let n=function(){return hc(pl,arguments)}(a,l);if(n?.number){let e=n.number;queueMicrotask(()=>d.current?.(e))}}:void 0,onBlur:s,type:"tel",variant:"ghost",label:e.label,floatingLabel:!0,bgColor:a,parentBgColor:n,activeBgColor:r,maxLength:o?void 0:14}));return t.displayName="PhoneInputComponent",t},[a,n,r,o,l,!0,e.label]),u=`phone-${e.id}`;return(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{control:s,name:e.id,render:({field:a,fieldState:n})=>{d.current=a.onChange;let r=!!n.error,i=n.error?.message;return(0,h.jsx)(gH,{title:i||"",open:r,enterDelay:0,tooltipClassName:t,className:"input-field h-full",children:(0,h.jsx)("div",{className:"phone-input-integrated w-full",children:o?(0,h.jsx)(hu,{...a,defaultCountry:l,withCountryCallingCode:!0,international:!0,countryCallingCodeEditable:!1,smartCaret:!0,limitMaxLength:!0,countrySelectProps:{className:"country-select-inside"},numberInputProps:{className:"phone-number-input-inside"},inputComponent:c,inputProps:{id:u,defaultValue:e.defaultValue||"",name:e.id,required:e.isRequired,"aria-invalid":r}},`phone-${l}`):(0,h.jsx)(fW,{country:"US",value:a.value,onChange:e=>a.onChange(e??""),onBlur:a.onBlur,name:a.name,id:u,limitMaxLength:!0,smartCaret:!0,inputComponent:c})})})}})})}),fY=b.default.forwardRef(function({innerField:e,originalField:t,bgColor:a,parentBgColor:n,activeBgColor:r,error:o,allowInternationalization:i,...s},l){let d=`postal-${t.id}`;return(0,b.createElement)(fl,{...s,ref:l,id:d,key:t.id,value:e.value||"",name:t.id,type:"text",variant:"ghost",label:t.label,floatingLabel:!0,required:t.isRequired,error:o,bgColor:a,parentBgColor:n,activeBgColor:r,onChange:t=>e.onChange(t.target.value),onBlur:()=>e.onBlur(),"aria-invalid":o,maxLength:i?void 0:5})}),fJ=b.default.memo(({field:e,tooltipClassName:t,bgColor:a,parentBgColor:n,activeBgColor:r,allowInternationalization:o=!1,...i})=>{let{control:s}=(0,cV.useFormContext)();return(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{control:s,name:e.id,defaultValue:"",render:({field:i,fieldState:s,...l})=>{let d=!!s.error,c=s.error?.message;return(0,h.jsx)(gH,{title:c||"",open:d,enterDelay:0,tooltipClassName:t,className:"input-field h-full",children:(0,h.jsx)(fY,{innerField:i,originalField:e,bgColor:a,parentBgColor:n,activeBgColor:r,allowInternationalization:o,error:d,...l})})}},e.id)})});var fq=e.i(96025),fX=e.i(82566);let fQ=b.forwardRef(({className:e,error:t,color:a,...n},r)=>(0,h.jsx)(fq.Root,{className:(0,sG.cn)("grid gap-2",e),...n,ref:r}));fQ.displayName=fq.Root.displayName;let f0=b.forwardRef(({className:e,error:t,color:a,label:n,id:r,...o},i)=>(0,h.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,h.jsx)(fq.Item,{ref:i,id:r,className:(0,sG.cn)("aspect-square h-5 w-5 rounded-full border-2 shadow focus-visible:outline-1 focus-visible:outline-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t?"border-red-500 text-red-500":"border-[var(--color-text-accent-primary)] text-[var(--color-text-accent-primary)]",e),style:a?{borderColor:`var(--color-${a})`,color:`var(--color-${a})`}:void 0,...o,children:(0,h.jsx)(fq.Indicator,{className:"flex items-center justify-center",children:(0,h.jsx)(fX.Circle,{className:"h-3.5 w-3.5 fill-current"})})}),n&&(0,h.jsx)("label",{htmlFor:r,className:"text-site-body font-medium leading-[1.4] [color:var(--color-text)] peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:n})]}));f0.displayName=fq.Item.displayName;let f1=b.default.forwardRef(function({innerField:e,originalField:t,color:a,error:n,options:r,...o},i){return(0,h.jsxs)("fieldset",{className:"space-y-2 border-0 p-0",children:[t.label&&(0,h.jsx)("legend",{className:"text-site-body mb-2 text-[var(--color-headline-secondary)] [font-family:var(--font-family-header)] [font-weight:var(--font-weight-black)]",children:t.label}),(0,b.createElement)(fQ,{...o,ref:i,color:a,key:t.id,name:t.id,error:n,value:e.value??t.defaultValue??"",onValueChange:t=>e.onChange(t)}
1323,r?.map(e=>(0,h.jsx)(f0,{value:e.value??e.label,id:`${t.id}-${e.value??e.label}`,label:e.label,error:n,color:a},e.value??e.label))??[])]})}),f2=b.default.memo(({field:e,tooltipClassName:t,...a})=>{let{control:n}=(0,cV.useFormContext)(),r=e.options;return(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{control:n,name:e.id,render:({field:a,fieldState:n,...o})=>{let i=!!n.error,s=n.error?.message;return(0,h.jsx)(gH,{title:s||"",open:i,enterDelay:0,tooltipClassName:t,className:"radio-field h-full",children:(0,h.jsx)(f1,{innerField:a,originalField:e,error:i,options:r,...o})})}},e.id)})}),f3=[{code:"AD-02",name:"Canillo",parent:"AD"},{code:"AD-03",name:"Encamp",parent:"AD"},{code:"AD-04",name:"La Massana",parent:"AD"},{code:"AD-05",name:"Ordino",parent:"AD"},{code:"AD-06",name:"Sant Julià de Lòria",parent:"AD"},{code:"AD-07",name:"Andorra la Vella",parent:"AD"},{code:"AD-08",name:"Escaldes-Engordany",parent:"AD"},{code:"AE-AJ",name:"‘Ajmān",parent:"AE"},{code:"AE-AZ",name:"Abū Z̧aby",parent:"AE"},{code:"AE-DU",name:"Dubayy",parent:"AE"},{code:"AE-FU",name:"Al Fujayrah",parent:"AE"},{code:"AE-RK",name:"Ra’s al Khaymah",parent:"AE"},{code:"AE-SH",name:"Ash Shāriqah",parent:"AE"},{code:"AE-UQ",name:"Umm al Qaywayn",parent:"AE"},{code:"AF-BAL",name:"Balkh",parent:"AF"},{code:"AF-BAM",name:"Bāmyān",parent:"AF"},{code:"AF-BDG",name:"Bādghīs",parent:"AF"},{code:"AF-BDS",name:"Badakhshān",parent:"AF"},{code:"AF-BGL",name:"Baghlān",parent:"AF"},{code:"AF-DAY",name:"Dāykundī",parent:"AF"},{code:"AF-FRA",name:"Farāh",parent:"AF"},{code:"AF-FYB",name:"Fāryāb",parent:"AF"},{code:"AF-GHA",name:"Ghaznī",parent:"AF"},{code:"AF-GHO",name:"Ghōr",parent:"AF"},{code:"AF-HEL",name:"Helmand",parent:"AF"},{code:"AF-HER",name:"Herāt",parent:"AF"},{code:"AF-JOW",name:"Jowzjān",parent:"AF"},{code:"AF-KAB",name:"Kābul",parent:"AF"},{code:"AF-KAN",name:"Kandahār",parent:"AF"},{code:"AF-KAP",name:"Kāpīsā",parent:"AF"},{code:"AF-KDZ",name:"Kunduz",parent:"AF"},{code:"AF-KHO",name:"Khōst",parent:"AF"},{code:"AF-KNR",name:"Kunaṟ",parent:"AF"},{code:"AF-LAG",name:"Laghmān",parent:"AF"},{code:"AF-LOG",name:"Lōgar",parent:"AF"},{code:"AF-NAN",name:"Nangarhār",parent:"AF"},{code:"AF-NIM",name:"Nīmrōz",parent:"AF"},{code:"AF-NUR",name:"Nūristān",parent:"AF"},{code:"AF-PAN",name:"Panjshayr",parent:"AF"},{code:"AF-PAR",name:"Parwān",parent:"AF"},{code:"AF-PIA",name:"Paktiyā",parent:"AF"},{code:"AF-PKA",name:"Paktīkā",parent:"AF"},{code:"AF-SAM",name:"Samangān",parent:"AF"},{code:"AF-SAR",name:"Sar-e Pul",parent:"AF"},{code:"AF-TAK",name:"Takhār",parent:"AF"},{code:"AF-URU",name:"Uruzgān",parent:"AF"},{code:"AF-WAR",name:"Wardak",parent:"AF"},{code:"AF-ZAB",name:"Zābul",parent:"AF"},{code:"AG-03",name:"Saint George",parent:"AG"},{code:"AG-04",name:"Saint John",parent:"AG"},{code:"AG-05",name:"Saint Mary",parent:"AG"},{code:"AG-06",name:"Saint Paul",parent:"AG"},{code:"AG-07",name:"Saint Peter",parent:"AG"},{code:"AG-08",name:"Saint Philip",parent:"AG"},{code:"AG-10",name:"Barbuda",parent:"AG"},{code:"AG-11",name:"Redonda",parent:"AG"},{code:"AL-01",name:"Berat",parent:"AL"},{code:"AL-02",name:"Durrës",parent:"AL"},{code:"AL-03",name:"Elbasan",parent:"AL"},{code:"AL-04",name:"Fier",parent:"AL"},{code:"AL-05",name:"Gjirokastër",parent:"AL"},{code:"AL-06",name:"Korçë",parent:"AL"},{code:"AL-07",name:"Kukës",parent:"AL"},{code:"AL-08",name:"Lezhë",parent:"AL"},{code:"AL-09",name:"Dibër",parent:"AL"},{code:"AL-10",name:"Shkodër",parent:"AL"},{code:"AL-11",name:"Tiranë",parent:"AL"},{code:"AL-12",name:"Vlorë",parent:"AL"},{code:"AM-AG",name:"Aragac̣otn",parent:"AM"},{code:"AM-AR",name:"Ararat",parent:"AM"},{code:"AM-AV",name:"Armavir",parent:"AM"},{code:"AM-ER",name:"Erevan",parent:"AM"},{code:"AM-GR",name:"Geġark'unik'",parent:"AM"},{code:"AM-KT",name:"Kotayk'",parent:"AM"},{code:"AM-LO",name:"Loṙi",parent:"AM"},{code:"AM-SH",name:"Širak",parent:"AM"},{code:"AM-SU",name:"Syunik'",parent:"AM"},{code:"AM-TV",name:"Tavuš",parent:"AM"},{code:"AM-VD",name:"Vayoć Jor",parent:"AM"},{code:"AO-BGO",name:"Bengo",parent:"AO"},{code:"AO-BGU",name:"Benguela",parent:"AO"},{code:"AO-BIE",name:"Bié",parent:"AO"},{code:"AO-CAB",name:"Cabinda",parent:"AO"},{code:"AO-CCU",name:"Cuando Cubango",parent:"AO"},{code:"AO-CNN",name:"Cunene",parent:"AO"},{code:"AO-CNO",name:"Cuanza-Norte",parent:"AO"},{code:"AO-CUS",name:"Cuanza-Sul",parent:"AO"},{code:"AO-HUA",name:"Huambo",parent:"AO"},{code:"AO-HUI",name:"Huíla",parent:"AO"},{code:"AO-LNO",name:"Lunda-Norte",parent:"AO"},{code:"AO-LSU",name:"Lunda-Sul",parent:"AO"},{code:"AO-LUA",name:"Luanda",parent:"AO"},{code:"AO-MAL",name:"Malange",parent:"AO"},{code:"AO-MOX",name:"Moxico",parent:"AO"},{code:"AO-NAM",name:"Namibe",parent:"AO"},{code:"AO-UIG",name:"Uíge",parent:"AO"},{code:"AO-ZAI",name:"Zaire",parent:"AO"},{code:"AR-A",name:"Salta",parent:"AR"},{code:"AR-B",name:"Buenos Aires",parent:"AR"},{code:"AR-C",name:"Ciudad Autónoma de Buenos Aires",parent:"AR"},{code:"AR-D",name:"San Luis",parent:"AR"},{code:"AR-E",name:"Entre Ríos",parent:"AR"},{code:"AR-F",name:"La Rioja",parent:"AR"},{code:"AR-G",name:"Santiago del Estero",parent:"AR"},{code:"AR-H",name:"Chaco",parent:"AR"},{code:"AR-J",name:"San Juan",parent:"AR"},{code:"AR-K",name:"Catamarca",parent:"AR"},{code:"AR-L",name:"La Pampa",parent:"AR"},{code:"AR-M",name:"Mendoza",parent:"AR"},{code:"AR-N",name:"Misiones",parent:"AR"},{code:"AR-P",name:"Formosa",parent:"AR"},{code:"AR-Q",name:"Neuquén",parent:"AR"},{code:"AR-R",name:"Río Negro",parent:"AR"},{code:"AR-S",name:"Santa Fe",parent:"AR"},{code:"AR-T",name:"Tucumán",parent:"AR"},{code:"AR-U",name:"Chubut",parent:"AR"}
1323,{code:"AR-V",name:"Tierra del Fuego",parent:"AR"},{code:"AR-W",name:"Corrientes",parent:"AR"},{code:"AR-X",name:"Córdoba",parent:"AR"},{code:"AR-Y",name:"Jujuy",parent:"AR"},{code:"AR-Z",name:"Santa Cruz",parent:"AR"},{code:"AT-1",name:"Burgenland",parent:"AT"},{code:"AT-2",name:"Kärnten",parent:"AT"},{code:"AT-3",name:"Niederösterreich",parent:"AT"},{code:"AT-4",name:"Oberösterreich",parent:"AT"},{code:"AT-5",name:"Salzburg",parent:"AT"},{code:"AT-6",name:"Steiermark",parent:"AT"},{code:"AT-7",name:"Tirol",parent:"AT"},{code:"AT-8",name:"Vorarlberg",parent:"AT"},{code:"AT-9",name:"Wien",parent:"AT"},{code:"AU-ACT",name:"Australian Capital Territory",parent:"AU"},{code:"AU-NSW",name:"New South Wales",parent:"AU"},{code:"AU-NT",name:"Northern Territory",parent:"AU"},{code:"AU-QLD",name:"Queensland",parent:"AU"},{code:"AU-SA",name:"South Australia",parent:"AU"},{code:"AU-TAS",name:"Tasmania",parent:"AU"},{code:"AU-VIC",name:"Victoria",parent:"AU"},{code:"AU-WA",name:"Western Australia",parent:"AU"},{code:"AZ-ABS",name:"Abşeron",parent:"AZ"},{code:"AZ-AGA",name:"Ağstafa",parent:"AZ"},{code:"AZ-AGC",name:"Ağcabədi",parent:"AZ"},{code:"AZ-AGM",name:"Ağdam",parent:"AZ"},{code:"AZ-AGS",name:"Ağdaş",parent:"AZ"},{code:"AZ-AGU",name:"Ağsu",parent:"AZ"},{code:"AZ-AST",name:"Astara",parent:"AZ"},{code:"AZ-BA",name:"Bakı",parent:"AZ"},{code:"AZ-BAB",name:"Babək",parent:"AZ-NX"},{code:"AZ-BAL",name:"Balakən",parent:"AZ"},{code:"AZ-BAR",name:"Bərdə",parent:"AZ"},{code:"AZ-BEY",name:"Beyləqan",parent:"AZ"},{code:"AZ-BIL",name:"Biləsuvar",parent:"AZ"},{code:"AZ-CAB",name:"Cəbrayıl",parent:"AZ"},{code:"AZ-CAL",name:"Cəlilabad",parent:"AZ"},{code:"AZ-CUL",name:"Culfa",parent:"AZ-NX"},{code:"AZ-DAS",name:"Daşkəsən",parent:"AZ"},{code:"AZ-FUZ",name:"Füzuli",parent:"AZ"},{code:"AZ-GA",name:"Gəncə",parent:"AZ"},{code:"AZ-GAD",name:"Gədəbəy",parent:"AZ"},{code:"AZ-GOR",name:"Goranboy",parent:"AZ"},{code:"AZ-GOY",name:"Göyçay",parent:"AZ"},{code:"AZ-GYG",name:"Göygöl",parent:"AZ"},{code:"AZ-HAC",name:"Hacıqabul",parent:"AZ"},{code:"AZ-IMI",name:"İmişli",parent:"AZ"},{code:"AZ-ISM",name:"İsmayıllı",parent:"AZ"},{code:"AZ-KAL",name:"Kəlbəcər",parent:"AZ"},{code:"AZ-KAN",name:"Kǝngǝrli",parent:"AZ-NX"},{code:"AZ-KUR",name:"Kürdəmir",parent:"AZ"},{code:"AZ-LA",name:"Lənkəran",parent:"AZ"},{code:"AZ-LAC",name:"Laçın",parent:"AZ"},{code:"AZ-LAN",name:"Lənkəran",parent:"AZ"},{code:"AZ-LER",name:"Lerik",parent:"AZ"},{code:"AZ-MAS",name:"Masallı",parent:"AZ"},{code:"AZ-MI",name:"Mingəçevir",parent:"AZ"},{code:"AZ-NA",name:"Naftalan",parent:"AZ"},{code:"AZ-NEF",name:"Neftçala",parent:"AZ"},{code:"AZ-NV",name:"Naxçıvan",parent:"AZ-NX"},{code:"AZ-NX",name:"Naxçıvan",parent:"AZ"},{code:"AZ-OGU",name:"Oğuz",parent:"AZ"},{code:"AZ-ORD",name:"Ordubad",parent:"AZ-NX"},{code:"AZ-QAB",name:"Qəbələ",parent:"AZ"},{code:"AZ-QAX",name:"Qax",parent:"AZ"},{code:"AZ-QAZ",name:"Qazax",parent:"AZ"},{code:"AZ-QBA",name:"Quba",parent:"AZ"},{code:"AZ-QBI",name:"Qubadlı",parent:"AZ"},{code:"AZ-QOB",name:"Qobustan",parent:"AZ"},{code:"AZ-QUS",name:"Qusar",parent:"AZ"},{code:"AZ-SA",name:"Şəki",parent:"AZ"},{code:"AZ-SAB",name:"Sabirabad",parent:"AZ"},{code:"AZ-SAD",name:"Sədərək",parent:"AZ-NX"},{code:"AZ-SAH",name:"Şahbuz",parent:"AZ-NX"},{code:"AZ-SAK",name:"Şəki",parent:"AZ"},{code:"AZ-SAL",name:"Salyan",parent:"AZ"},{code:"AZ-SAR",name:"Şərur",parent:"AZ-NX"},{code:"AZ-SAT",name:"Saatlı",parent:"AZ"},{code:"AZ-SBN",name:"Şabran",parent:"AZ"},{code:"AZ-SIY",name:"Siyəzən",parent:"AZ"},{code:"AZ-SKR",name:"Şəmkir",parent:"AZ"},{code:"AZ-SM",name:"Sumqayıt",parent:"AZ"},{code:"AZ-SMI",name:"Şamaxı",parent:"AZ"},{code:"AZ-SMX",name:"Samux",parent:"AZ"},{code:"AZ-SR",name:"Şirvan",parent:"AZ"},{code:"AZ-SUS",name:"Şuşa",parent:"AZ"},{code:"AZ-TAR",name:"Tərtər",parent:"AZ"},{code:"AZ-TOV",name:"Tovuz",parent:"AZ"},{code:"AZ-UCA",name:"Ucar",parent:"AZ"},{code:"AZ-XA",name:"Xankəndi",parent:"AZ"},{code:"AZ-XAC",name:"Xaçmaz",parent:"AZ"},{code:"AZ-XCI",name:"Xocalı",parent:"AZ"},{code:"AZ-XIZ",name:"Xızı",parent:"AZ"},{code:"AZ-XVD",name:"Xocavənd",parent:"AZ"},{code:"AZ-YAR",name:"Yardımlı",parent:"AZ"},{code:"AZ-YE",name:"Yevlax",parent:"AZ"},{code:"AZ-YEV",name:"Yevlax",parent:"AZ"},{code:"AZ-ZAN",name:"Zəngilan",parent:"AZ"},{code:"AZ-ZAQ",name:"Zaqatala",parent:"AZ"},{code:"AZ-ZAR",name:"Zərdab",parent:"AZ"},{code:"BA-BIH",name:"Federacija Bosne i Hercegovine",parent:"BA"},{code:"BA-BRC",name:"Brčko distrikt",parent:"BA"},{code:"BA-SRP",name:"Republika Srpska",parent:"BA"},{code:"BB-01",name:"Christ Church",parent:"BB"},{code:"BB-02",name:"Saint Andrew",parent:"BB"},{code:"BB-03",name:"Saint George",parent:"BB"},{code:"BB-04",name:"Saint James",parent:"BB"},{code:"BB-05",name:"Saint John",parent:"BB"},{code:"BB-06",name:"Saint Joseph",parent:"BB"},{code:"BB-07",name:"Saint Lucy",parent:"BB"}
1323,{code:"BB-08",name:"Saint Michael",parent:"BB"},{code:"BB-09",name:"Saint Peter",parent:"BB"},{code:"BB-10",name:"Saint Philip",parent:"BB"},{code:"BB-11",name:"Saint Thomas",parent:"BB"},{code:"BD-01",name:"Bandarban",parent:"BD-B"},{code:"BD-02",name:"Barguna",parent:"BD-A"},{code:"BD-03",name:"Bogura",parent:"BD-E"},{code:"BD-04",name:"Brahmanbaria",parent:"BD-B"},{code:"BD-05",name:"Bagerhat",parent:"BD-D"},{code:"BD-06",name:"Barishal",parent:"BD-A"},{code:"BD-07",name:"Bhola",parent:"BD-A"},{code:"BD-08",name:"Cumilla",parent:"BD-B"},{code:"BD-09",name:"Chandpur",parent:"BD-B"},{code:"BD-10",name:"Chattogram",parent:"BD-B"},{code:"BD-11",name:"Cox's Bazar",parent:"BD-B"},{code:"BD-12",name:"Chuadanga",parent:"BD-D"},{code:"BD-13",name:"Dhaka",parent:"BD-C"},{code:"BD-14",name:"Dinajpur",parent:"BD-F"},{code:"BD-15",name:"Faridpur",parent:"BD-C"},{code:"BD-16",name:"Feni",parent:"BD-B"},{code:"BD-17",name:"Gopalganj",parent:"BD-C"},{code:"BD-18",name:"Gazipur",parent:"BD-C"},{code:"BD-19",name:"Gaibandha",parent:"BD-F"},{code:"BD-20",name:"Habiganj",parent:"BD-G"},{code:"BD-21",name:"Jamalpur",parent:"BD-H"},{code:"BD-22",name:"Jashore",parent:"BD-D"},{code:"BD-23",name:"Jhenaidah",parent:"BD-D"},{code:"BD-24",name:"Joypurhat",parent:"BD-E"},{code:"BD-25",name:"Jhalakathi",parent:"BD-A"},{code:"BD-26",name:"Kishoreganj",parent:"BD-C"},{code:"BD-27",name:"Khulna",parent:"BD-D"},{code:"BD-28",name:"Kurigram",parent:"BD-F"},{code:"BD-29",name:"Khagrachhari",parent:"BD-B"},{code:"BD-30",name:"Kushtia",parent:"BD-D"},{code:"BD-31",name:"Lakshmipur",parent:"BD-B"},{code:"BD-32",name:"Lalmonirhat",parent:"BD-F"},{code:"BD-33",name:"Manikganj",parent:"BD-C"},{code:"BD-34",name:"Mymensingh",parent:"BD-H"},{code:"BD-35",name:"Munshiganj",parent:"BD-C"},{code:"BD-36",name:"Madaripur",parent:"BD-C"},{code:"BD-37",name:"Magura",parent:"BD-D"},{code:"BD-38",name:"Moulvibazar",parent:"BD-G"},{code:"BD-39",name:"Meherpur",parent:"BD-D"},{code:"BD-40",name:"Narayanganj",parent:"BD-C"},{code:"BD-41",name:"Netrakona",parent:"BD-H"},{code:"BD-42",name:"Narsingdi",parent:"BD-C"},{code:"BD-43",name:"Narail",parent:"BD-D"},{code:"BD-44",name:"Natore",parent:"BD-E"}
1323,{code:"BD-45",name:"Chapai Nawabganj",parent:"BD-E"},{code:"BD-46",name:"Nilphamari",parent:"BD-F"},{code:"BD-47",name:"Noakhali",parent:"BD-B"},{code:"BD-48",name:"Naogaon",parent:"BD-E"},{code:"BD-49",name:"Pabna",parent:"BD-E"},{code:"BD-50",name:"Pirojpur",parent:"BD-A"},{code:"BD-51",name:"Patuakhali",parent:"BD-A"},{code:"BD-52",name:"Panchagarh",parent:"BD-F"},{code:"BD-53",name:"Rajbari",parent:"BD-C"},{code:"BD-54",name:"Rajshahi",parent:"BD-E"},{code:"BD-55",name:"Rangpur",parent:"BD-F"},{code:"BD-56",name:"Rangamati",parent:"BD-B"},{code:"BD-57",name:"Sherpur",parent:"BD-H"},{code:"BD-58",name:"Satkhira",parent:"BD-D"},{code:"BD-59",name:"Sirajganj",parent:"BD-E"},{code:"BD-60",name:"Sylhet",parent:"BD-G"},{code:"BD-61",name:"Sunamganj",parent:"BD-G"},{code:"BD-62",name:"Shariatpur",parent:"BD-C"},{code:"BD-63",name:"Tangail",parent:"BD-C"},{code:"BD-64",name:"Thakurgaon",parent:"BD-F"},{code:"BD-A",name:"Barishal",parent:"BD"},{code:"BD-B",name:"Chattogram",parent:"BD"},{code:"BD-C",name:"Dhaka",parent:"BD"},{code:"BD-D",name:"Khulna",parent:"BD"},{code:"BD-E",name:"Rajshahi",parent:"BD"},{code:"BD-F",name:"Rangpur",parent:"BD"},{code:"BD-G",name:"Sylhet",parent:"BD"},{code:"BD-H",name:"Mymensingh",parent:"BD"},{code:"BE-BRU",name:"Brussels Hoofdstedelijk Gewest",parent:"BE"},{code:"BE-VAN",name:"Antwerpen",parent:"BE"},{code:"BE-VBR",name:"Vlaams-Brabant",parent:"BE"},{code:"BE-VLG",name:"Vlaams Gewest",parent:"BE"},{code:"BE-VLI",name:"Limburg",parent:"BE"},{code:"BE-VOV",name:"Oost-Vlaanderen",parent:"BE"},{code:"BE-VWV",name:"West-Vlaanderen",parent:"BE"},{code:"BE-WAL",name:"Waals Gewest",parent:"BE"},{code:"BE-WBR",name:"Brabant wallon",parent:"BE"},{code:"BE-WHT",name:"Hainaut",parent:"BE"},{code:"BE-WLG",name:"Liège",parent:"BE"},{code:"BE-WLX",name:"Luxembourg",parent:"BE"},{code:"BE-WNA",name:"Namur",parent:"BE"},{code:"BF-01",name:"Boucle du Mouhoun",parent:"BF"},{code:"BF-02",name:"Cascades",parent:"BF"},{code:"BF-03",name:"Centre",parent:"BF"},{code:"BF-04",name:"Centre-Est",parent:"BF"},{code:"BF-05",name:"Centre-Nord",parent:"BF"},{code:"BF-06",name:"Centre-Ouest",parent:"BF"},{code:"BF-07",name:"Centre-Sud",parent:"BF"},{code:"BF-08",name:"Est",parent:"BF"},{code:"BF-09",name:"Hauts-Bassins",parent:"BF"},{code:"BF-10",name:"Nord",parent:"BF"},{code:"BF-11",name:"Plateau-Central",parent:"BF"},{code:"BF-12",name:"Sahel",parent:"BF"},{code:"BF-13",name:"Sud-Ouest",parent:"BF"},{code:"BF-BAL",name:"Balé",parent:"BF-01"},{code:"BF-BAM",name:"Bam",parent:"BF-05"},{code:"BF-BAN",name:"Banwa",parent:"BF-01"},{code:"BF-BAZ",name:"Bazèga",parent:"BF-07"},{code:"BF-BGR",name:"Bougouriba",parent:"BF-13"},{code:"BF-BLG",name:"Boulgou",parent:"BF-04"},{code:"BF-BLK",name:"Boulkiemdé",parent:"BF-06"},{code:"BF-COM",name:"Comoé",parent:"BF-02"},{code:"BF-GAN",name:"Ganzourgou",parent:"BF-11"},{code:"BF-GNA",name:"Gnagna",parent:"BF-08"},{code:"BF-GOU",name:"Gourma",parent:"BF-08"},{code:"BF-HOU",name:"Houet",parent:"BF-09"},{code:"BF-IOB",name:"Ioba",parent:"BF-13"},{code:"BF-KAD",name:"Kadiogo",parent:"BF-03"},{code:"BF-KEN",name:"Kénédougou",parent:"BF-09"},{code:"BF-KMD",name:"Komondjari",parent:"BF-08"},{code:"BF-KMP",name:"Kompienga",parent:"BF-08"},{code:"BF-KOP",name:"Koulpélogo",parent:"BF-04"},{code:"BF-KOS",name:"Kossi",parent:"BF-01"},{code:"BF-KOT",name:"Kouritenga",parent:"BF-04"},{code:"BF-KOW",name:"Kourwéogo",parent:"BF-11"},{code:"BF-LER",name:"Léraba",parent:"BF-02"},{code:"BF-LOR",name:"Loroum",parent:"BF-10"},{code:"BF-MOU",name:"Mouhoun",parent:"BF-01"},{code:"BF-NAM",name:"Namentenga",parent:"BF-05"},{code:"BF-NAO",name:"Nahouri",parent:"BF-07"},{code:"BF-NAY",name:"Nayala",parent:"BF-01"},{code:"BF-NOU",name:"Noumbiel",parent:"BF-13"},{code:"BF-OUB",name:"Oubritenga",parent:"BF-11"},{code:"BF-OUD",name:"Oudalan",parent:"BF-12"},{code:"BF-PAS",name:"Passoré",parent:"BF-10"},{code:"BF-PON",name:"Poni",parent:"BF-13"},{code:"BF-SEN",name:"Séno",parent:"BF-12"},{code:"BF-SIS",name:"Sissili",parent:"BF-06"},{code:"BF-SMT",name:"Sanmatenga",parent:"BF-05"},{code:"BF-SNG",name:"Sanguié",parent:"BF-06"},{code:"BF-SOM",name:"Soum",parent:"BF-12"},{code:"BF-SOR",name:"Sourou",parent:"BF-01"},{code:"BF-TAP",name:"Tapoa",parent:"BF-08"},{code:"BF-TUI",name:"Tuy",parent:"BF-09"},{code:"BF-YAG",name:"Yagha",parent:"BF-12"},{code:"BF-YAT",name:"Yatenga",parent:"BF-10"},{code:"BF-ZIR",name:"Ziro",parent:"BF-06"},{code:"BF-ZON",name:"Zondoma",parent:"BF-10"},{code:"BF-ZOU",name:"Zoundwéogo",parent:"BF-07"}
1323,{code:"BG-01",name:"Blagoevgrad",parent:"BG"},{code:"BG-02",name:"Burgas",parent:"BG"},{code:"BG-03",name:"Varna",parent:"BG"},{code:"BG-04",name:"Veliko Tarnovo",parent:"BG"},{code:"BG-05",name:"Vidin",parent:"BG"},{code:"BG-06",name:"Vratsa",parent:"BG"},{code:"BG-07",name:"Gabrovo",parent:"BG"},{code:"BG-08",name:"Dobrich",parent:"BG"},{code:"BG-09",name:"Kardzhali",parent:"BG"},{code:"BG-10",name:"Kyustendil",parent:"BG"},{code:"BG-11",name:"Lovech",parent:"BG"},{code:"BG-12",name:"Montana",parent:"BG"},{code:"BG-13",name:"Pazardzhik",parent:"BG"},{code:"BG-14",name:"Pernik",parent:"BG"},{code:"BG-15",name:"Pleven",parent:"BG"},{code:"BG-16",name:"Plovdiv",parent:"BG"},{code:"BG-17",name:"Razgrad",parent:"BG"},{code:"BG-18",name:"Ruse",parent:"BG"},{code:"BG-19",name:"Silistra",parent:"BG"},{code:"BG-20",name:"Sliven",parent:"BG"},{code:"BG-21",name:"Smolyan",parent:"BG"},{code:"BG-22",name:"Sofia (stolitsa)",parent:"BG"},{code:"BG-23",name:"Sofia",parent:"BG"},{code:"BG-24",name:"Stara Zagora",parent:"BG"},{code:"BG-25",name:"Targovishte",parent:"BG"},{code:"BG-26",name:"Haskovo",parent:"BG"},{code:"BG-27",name:"Shumen",parent:"BG"},{code:"BG-28",name:"Yambol",parent:"BG"},{code:"BH-13",name:"Al ‘Āşimah",parent:"BH"},{code:"BH-14",name:"Al Janūbīyah",parent:"BH"},{code:"BH-15",name:"Al Muḩarraq",parent:"BH"},{code:"BH-17",name:"Ash Shamālīyah",parent:"BH"},{code:"BI-BB",name:"Bubanza",parent:"BI"},{code:"BI-BL",name:"Bujumbura Rural",parent:"BI"},{code:"BI-BM",name:"Bujumbura Mairie",parent:"BI"},{code:"BI-BR",name:"Bururi",parent:"BI"},{code:"BI-CA",name:"Cankuzo",parent:"BI"},{code:"BI-CI",name:"Cibitoke",parent:"BI"},{code:"BI-GI",name:"Gitega",parent:"BI"},{code:"BI-KI",name:"Kirundo",parent:"BI"},{code:"BI-KR",name:"Karuzi",parent:"BI"},{code:"BI-KY",name:"Kayanza",parent:"BI"},{code:"BI-MA",name:"Makamba",parent:"BI"},{code:"BI-MU",name:"Muramvya",parent:"BI"},{code:"BI-MW",name:"Mwaro",parent:"BI"},{code:"BI-MY",name:"Muyinga",parent:"BI"},{code:"BI-NG",name:"Ngozi",parent:"BI"},{code:"BI-RM",name:"Rumonge",parent:"BI"},{code:"BI-RT",name:"Rutana",parent:"BI"},{code:"BI-RY",name:"Ruyigi",parent:"BI"},{code:"BJ-AK",name:"Atacora",parent:"BJ"},{code:"BJ-AL",name:"Alibori",parent:"BJ"},{code:"BJ-AQ",name:"Atlantique",parent:"BJ"},{code:"BJ-BO",name:"Borgou",parent:"BJ"},{code:"BJ-CO",name:"Collines",parent:"BJ"},{code:"BJ-DO",name:"Donga",parent:"BJ"},{code:"BJ-KO",name:"Couffo",parent:"BJ"},{code:"BJ-LI",name:"Littoral",parent:"BJ"},{code:"BJ-MO",name:"Mono",parent:"BJ"},{code:"BJ-OU",name:"Ouémé",parent:"BJ"},{code:"BJ-PL",name:"Plateau",parent:"BJ"},{code:"BJ-ZO",name:"Zou",parent:"BJ"},{code:"BN-BE",name:"Belait",parent:"BN"},{code:"BN-BM",name:"Brunei-Muara",parent:"BN"},{code:"BN-TE",name:"Temburong",parent:"BN"},{code:"BN-TU",name:"Tutong",parent:"BN"},{code:"BO-B",name:"El Beni",parent:"BO"},{code:"BO-C",name:"Cochabamba",parent:"BO"},{code:"BO-H",name:"Chuquisaca",parent:"BO"},{code:"BO-L",name:"La Paz",parent:"BO"},{code:"BO-N",name:"Pando",parent:"BO"},{code:"BO-O",name:"Oruro",parent:"BO"},{code:"BO-P",name:"Potosí",parent:"BO"},{code:"BO-S",name:"Santa Cruz",parent:"BO"},{code:"BO-T",name:"Tarija",parent:"BO"},{code:"BQ-BO",name:"Bonaire",parent:"BQ"},{code:"BQ-SA",name:"Saba",parent:"BQ"},{code:"BQ-SE",name:"Sint Eustatius",parent:"BQ"},{code:"BR-AC",name:"Acre",parent:"BR"},{code:"BR-AL",name:"Alagoas",parent:"BR"},{code:"BR-AM",name:"Amazonas",parent:"BR"},{code:"BR-AP",name:"Amapá",parent:"BR"},{code:"BR-BA",name:"Bahia",parent:"BR"},{code:"BR-CE",name:"Ceará",parent:"BR"},{code:"BR-DF",name:"Distrito Federal",parent:"BR"},{code:"BR-ES",name:"Espírito Santo",parent:"BR"},{code:"BR-GO",name:"Goiás",parent:"BR"},{code:"BR-MA",name:"Maranhão",parent:"BR"},{code:"BR-MG",name:"Minas Gerais",parent:"BR"},{code:"BR-MS",name:"Mato Grosso do Sul",parent:"BR"},{code:"BR-MT",name:"Mato Grosso",parent:"BR"},{code:"BR-PA",name:"Pará",parent:"BR"},{code:"BR-PB",name:"Paraíba",parent:"BR"},{code:"BR-PE",name:"Pernambuco",parent:"BR"},{code:"BR-PI",name:"Piauí",parent:"BR"},{code:"BR-PR",name:"Paraná",parent:"BR"},{code:"BR-RJ",name:"Rio de Janeiro",parent:"BR"},{code:"BR-RN",name:"Rio Grande do Norte",parent:"BR"},{code:"BR-RO",name:"Rondônia",parent:"BR"},{code:"BR-RR",name:"Roraima",parent:"BR"},{code:"BR-RS",name:"Rio Grande do Sul",parent:"BR"},{code:"BR-SC",name:"Santa Catarina",parent:"BR"},{code:"BR-SE",name:"Sergipe",parent:"BR"},{code:"BR-SP",name:"São Paulo",parent:"BR"},{code:"BR-TO",name:"Tocantins",parent:"BR"},{code:"BS-AK",name:"Acklins",parent:"BS"},{code:"BS-BI",name:"Bimini",parent:"BS"},{code:"BS-BP",name:"Black Point",parent:"BS"}
1323,{code:"BS-BY",name:"Berry Islands",parent:"BS"},{code:"BS-CE",name:"Central Eleuthera",parent:"BS"},{code:"BS-CI",name:"Cat Island",parent:"BS"},{code:"BS-CK",name:"Crooked Island and Long Cay",parent:"BS"},{code:"BS-CO",name:"Central Abaco",parent:"BS"},{code:"BS-CS",name:"Central Andros",parent:"BS"},{code:"BS-EG",name:"East Grand Bahama",parent:"BS"},{code:"BS-EX",name:"Exuma",parent:"BS"},{code:"BS-FP",name:"City of Freeport",parent:"BS"},{code:"BS-GC",name:"Grand Cay",parent:"BS"},{code:"BS-HI",name:"Harbour Island",parent:"BS"},{code:"BS-HT",name:"Hope Town",parent:"BS"},{code:"BS-IN",name:"Inagua",parent:"BS"},{code:"BS-LI",name:"Long Island",parent:"BS"},{code:"BS-MC",name:"Mangrove Cay",parent:"BS"},{code:"BS-MG",name:"Mayaguana",parent:"BS"},{code:"BS-MI",name:"Moore's Island",parent:"BS"},{code:"BS-NE",name:"North Eleuthera",parent:"BS"},{code:"BS-NO",name:"North Abaco",parent:"BS"},{code:"BS-NP",name:"New Providence",parent:"BS"},{code:"BS-NS",name:"North Andros",parent:"BS"},{code:"BS-RC",name:"Rum Cay",parent:"BS"},{code:"BS-RI",name:"Ragged Island",parent:"BS"},{code:"BS-SA",name:"South Andros",parent:"BS"},{code:"BS-SE",name:"South Eleuthera",parent:"BS"},{code:"BS-SO",name:"South Abaco",parent:"BS"},{code:"BS-SS",name:"San Salvador",parent:"BS"},{code:"BS-SW",name:"Spanish Wells",parent:"BS"},{code:"BS-WG",name:"West Grand Bahama",parent:"BS"},{code:"BT-11",name:"Paro",parent:"BT"},{code:"BT-12",name:"Chhukha",parent:"BT"},{code:"BT-13",name:"Haa",parent:"BT"},{code:"BT-14",name:"Samtse",parent:"BT"},{code:"BT-15",name:"Thimphu",parent:"BT"},{code:"BT-21",name:"Tsirang",parent:"BT"},{code:"BT-22",name:"Dagana",parent:"BT"},{code:"BT-23",name:"Punakha",parent:"BT"},{code:"BT-24",name:"Wangdue Phodrang",parent:"BT"},{code:"BT-31",name:"Sarpang",parent:"BT"},{code:"BT-32",name:"Trongsa",parent:"BT"},{code:"BT-33",name:"Bumthang",parent:"BT"},{code:"BT-34",name:"Zhemgang",parent:"BT"},{code:"BT-41",name:"Trashigang",parent:"BT"},{code:"BT-42",name:"Monggar",parent:"BT"},{code:"BT-43",name:"Pema Gatshel",parent:"BT"},{code:"BT-44",name:"Lhuentse",parent:"BT"},{code:"BT-45",name:"Samdrup Jongkhar",parent:"BT"},{code:"BT-GA",name:"Gasa",parent:"BT"},{code:"BT-TY",name:"Trashi Yangtse",parent:"BT"},{code:"BW-CE",name:"Central",parent:"BW"},{code:"BW-CH",name:"Chobe",parent:"BW"},{code:"BW-FR",name:"Francistown",parent:"BW"},{code:"BW-GA",name:"Gaborone",parent:"BW"},{code:"BW-GH",name:"Ghanzi",parent:"BW"},{code:"BW-JW",name:"Jwaneng",parent:"BW"},{code:"BW-KG",name:"Kgalagadi",parent:"BW"},{code:"BW-KL",name:"Kgatleng",parent:"BW"},{code:"BW-KW",name:"Kweneng",parent:"BW"},{code:"BW-LO",name:"Lobatse",parent:"BW"},{code:"BW-NE",name:"North East",parent:"BW"},{code:"BW-NW",name:"North West",parent:"BW"},{code:"BW-SE",name:"South East",parent:"BW"},{code:"BW-SO",name:"Southern",parent:"BW"},{code:"BW-SP",name:"Selibe Phikwe",parent:"BW"},{code:"BW-ST",name:"Sowa Town",parent:"BW"},{code:"BY-BR",name:"Brestskaya voblasts'",parent:"BY"},{code:"BY-HM",name:"Horad Minsk",parent:"BY"},{code:"BY-HO",name:"Homyel'skaya voblasts'",parent:"BY"},{code:"BY-HR",name:"Hrodzyenskaya voblasts'",parent:"BY"},{code:"BY-MA",name:"Mahilyowskaya voblasts'",parent:"BY"},{code:"BY-MI",name:"Minskaya voblasts'",parent:"BY"},{code:"BY-VI",name:"Vitsyebskaya voblasts'",parent:"BY"},{code:"BZ-BZ",name:"Belize",parent:"BZ"},{code:"BZ-CY",name:"Cayo",parent:"BZ"},{code:"BZ-CZL",name:"Corozal",parent:"BZ"},{code:"BZ-OW",name:"Orange Walk",parent:"BZ"},{code:"BZ-SC",name:"Stann Creek",parent:"BZ"},{code:"BZ-TOL",name:"Toledo",parent:"BZ"},{code:"CA-AB",name:"Alberta",parent:"CA"},{code:"CA-BC",name:"British Columbia",parent:"CA"},{code:"CA-MB",name:"Manitoba",parent:"CA"},{code:"CA-NB",name:"New Brunswick",parent:"CA"},{code:"CA-NL",name:"Newfoundland and Labrador",parent:"CA"},{code:"CA-NS",name:"Nova Scotia",parent:"CA"},{code:"CA-NT",name:"Northwest Territories",parent:"CA"},{code:"CA-NU",name:"Nunavut",parent:"CA"},{code:"CA-ON",name:"Ontario",parent:"CA"},{code:"CA-PE",name:"Prince Edward Island",parent:"CA"},{code:"CA-QC",name:"Quebec",parent:"CA"},{code:"CA-SK",name:"Saskatchewan",parent:"CA"},{code:"CA-YT",name:"Yukon",parent:"CA"},{code:"CD-BC",name:"Kongo Central",parent:"CD"},{code:"CD-BU",name:"Bas-Uélé",parent:"CD"},{code:"CD-EQ",name:"Équateur",parent:"CD"},{code:"CD-HK",name:"Haut-Katanga",parent:"CD"},{code:"CD-HL",name:"Haut-Lomami",parent:"CD"},{code:"CD-HU",name:"Haut-Uélé",parent:"CD"},{code:"CD-IT",name:"Ituri",parent:"CD"},{code:"CD-KC",name:"Kasaï Central",parent:"CD"},{code:"CD-KE",name:"Kasaï Oriental",parent:"CD"},{code:"CD-KG",name:"Kwango",parent:"CD"},{code:"CD-KL",name:"Kwilu",parent:"CD"},{code:"CD-KN",name:"Kinshasa",parent:"CD"},{code:"CD-KS",name:"Kasaï",parent:"CD"},{code:"CD-LO",name:"Lomami",parent:"CD"},{code:"CD-LU",name:"Lualaba",parent:"CD"},{code:"CD-MA",name:"Maniema",parent:"CD"},{code:"CD-MN",name:"Mai-Ndombe",parent:"CD"},{code:"CD-MO",name:"Mongala",parent:"CD"},{code:"CD-NK",name:"Nord-Kivu",parent:"CD"},{code:"CD-NU",name:"Nord-Ubangi",parent:"CD"},{code:"CD-SA",name:"Sankuru",parent:"CD"},{code:"CD-SK",name:"Sud-Kivu",parent:"CD"},{code:"CD-SU",name:"Sud-Ubangi",parent:"CD"},{code:"CD-TA",name:"Tanganyika",parent:"CD"},{code:"CD-TO",name:"Tshopo",parent:"CD"},{code:"CD-TU",name:"Tshuapa",parent:"CD"},{code:"CF-AC",name:"Ouham",parent:"CF"},{code:"CF-BB",name:"Bamingui-Bangoran",parent:"CF"},{code:"CF-BGF",name:"Bangui",parent:"CF"},{code:"CF-BK",name:"Basse-Kotto",parent:"CF"},{code:"CF-HK",name:"Haute-Kotto",parent:"CF"},{code:"CF-HM",name:"Haut-Mbomou",parent:"CF"},{code:"CF-HS",name:"Haute-Sangha / Mambéré-Kadéï",parent:"CF"},{code:"CF-KB",name:"Gribingui",parent:"CF"},{code:"CF-KG",name:"Kémo-Gribingui",parent:"CF"},{code:"CF-LB",name:"Lobaye",parent:"CF"},{code:"CF-MB",name:"Mbomou",parent:"CF"},{code:"CF-MP",name:"Ombella-Mpoko",parent:"CF"},{code:"CF-NM",name:"Nana-Mambéré",parent:"CF"},{code:"CF-OP",name:"Ouham-Pendé",parent:"CF"},{code:"CF-SE",name:"Sangha",parent:"CF"},{code:"CF-UK",name:"Ouaka",parent:"CF"},{code:"CF-VK",name:"Vakaga",parent:"CF"},{code:"CG-11",name:"Bouenza",parent:"CG"},{code:"CG-12",name:"Pool",parent:"CG"},{code:"CG-13",name:"Sangha",parent:"CG"},{code:"CG-14",name:"Plateaux",parent:"CG"},{code:"CG-15",name:"Cuvette-Ouest",parent:"CG"},{code:"CG-16",name:"Pointe-Noire",parent:"CG"},{code:"CG-2",name:"Lékoumou",parent:"CG"},{code:"CG-5",name:"Kouilou",parent:"CG"},{code:"CG-7",name:"Likouala",parent:"CG"},{code:"CG-8",name:"Cuvette",parent:"CG"}
1323,{code:"CG-9",name:"Niari",parent:"CG"},{code:"CG-BZV",name:"Brazzaville",parent:"CG"},{code:"CH-AG",name:"Aargau",parent:"CH"},{code:"CH-AI",name:"Appenzell Innerrhoden",parent:"CH"},{code:"CH-AR",name:"Appenzell Ausserrhoden",parent:"CH"},{code:"CH-BE",name:"Bern",parent:"CH"},{code:"CH-BL",name:"Basel-Landschaft",parent:"CH"},{code:"CH-BS",name:"Basel-Stadt",parent:"CH"},{code:"CH-FR",name:"Fribourg",parent:"CH"},{code:"CH-GE",name:"Genève",parent:"CH"},{code:"CH-GL",name:"Glarus",parent:"CH"},{code:"CH-GR",name:"Graubünden",parent:"CH"},{code:"CH-JU",name:"Jura",parent:"CH"},{code:"CH-LU",name:"Luzern",parent:"CH"},{code:"CH-NE",name:"Neuchâtel",parent:"CH"},{code:"CH-NW",name:"Nidwalden",parent:"CH"},{code:"CH-OW",name:"Obwalden",parent:"CH"},{code:"CH-SG",name:"Sankt Gallen",parent:"CH"},{code:"CH-SH",name:"Schaffhausen",parent:"CH"},{code:"CH-SO",name:"Solothurn",parent:"CH"},{code:"CH-SZ",name:"Schwyz",parent:"CH"},{code:"CH-TG",name:"Thurgau",parent:"CH"},{code:"CH-TI",name:"Ticino",parent:"CH"},{code:"CH-UR",name:"Uri",parent:"CH"},{code:"CH-VD",name:"Vaud",parent:"CH"},{code:"CH-VS",name:"Valais",parent:"CH"},{code:"CH-ZG",name:"Zug",parent:"CH"},{code:"CH-ZH",name:"Zürich",parent:"CH"},{code:"CI-AB",name:"Abidjan",parent:"CI"},{code:"CI-BS",name:"Bas-Sassandra",parent:"CI"},{code:"CI-CM",name:"Comoé",parent:"CI"},{code:"CI-DN",name:"Denguélé",parent:"CI"},{code:"CI-GD",name:"Gôh-Djiboua",parent:"CI"},{code:"CI-LC",name:"Lacs",parent:"CI"},{code:"CI-LG",name:"Lagunes",parent:"CI"},{code:"CI-MG",name:"Montagnes",parent:"CI"},{code:"CI-SM",name:"Sassandra-Marahoué",parent:"CI"},{code:"CI-SV",name:"Savanes",parent:"CI"},{code:"CI-VB",name:"Vallée du Bandama",parent:"CI"},{code:"CI-WR",name:"Woroba",parent:"CI"},{code:"CI-YM",name:"Yamoussoukro",parent:"CI"},{code:"CI-ZZ",name:"Zanzan",parent:"CI"},{code:"CL-AI",name:"Aisén del General Carlos Ibañez del Campo",parent:"CL"},{code:"CL-AN",name:"Antofagasta",parent:"CL"},{code:"CL-AP",name:"Arica y Parinacota",parent:"CL"},{code:"CL-AR",name:"La Araucanía",parent:"CL"},{code:"CL-AT",name:"Atacama",parent:"CL"},{code:"CL-BI",name:"Biobío",parent:"CL"},{code:"CL-CO",name:"Coquimbo",parent:"CL"},{code:"CL-LI",name:"Libertador General Bernardo O'Higgins",parent:"CL"},{code:"CL-LL",name:"Los Lagos",parent:"CL"},{code:"CL-LR",name:"Los Ríos",parent:"CL"},{code:"CL-MA",name:"Magallanes",parent:"CL"},{code:"CL-ML",name:"Maule",parent:"CL"},{code:"CL-NB",name:"Ñuble",parent:"CL"},{code:"CL-RM",name:"Región Metropolitana de Santiago",parent:"CL"},{code:"CL-TA",name:"Tarapacá",parent:"CL"},{code:"CL-VS",name:"Valparaíso",parent:"CL"},{code:"CM-AD",name:"Adamaoua",parent:"CM"},{code:"CM-CE",name:"Centre",parent:"CM"},{code:"CM-EN",name:"Far North",parent:"CM"},{code:"CM-ES",name:"East",parent:"CM"},{code:"CM-LT",name:"Littoral",parent:"CM"},{code:"CM-NO",name:"North",parent:"CM"},{code:"CM-NW",name:"North-West",parent:"CM"},{code:"CM-OU",name:"West",parent:"CM"},{code:"CM-SU",name:"South",parent:"CM"},{code:"CM-SW",name:"South-West",parent:"CM"},{code:"CN-AH",name:"Anhui Sheng",parent:"CN"},{code:"CN-BJ",name:"Beijing Shi",parent:"CN"},{code:"CN-CQ",name:"Chongqing Shi",parent:"CN"},{code:"CN-FJ",name:"Fujian Sheng",parent:"CN"},{code:"CN-GD",name:"Guangdong Sheng",parent:"CN"},{code:"CN-GS",name:"Gansu Sheng",parent:"CN"},{code:"CN-GX",name:"Guangxi Zhuangzu Zizhiqu",parent:"CN"},{code:"CN-GZ",name:"Guizhou Sheng",parent:"CN"},{code:"CN-HA",name:"Henan Sheng",parent:"CN"},{code:"CN-HB",name:"Hubei Sheng",parent:"CN"},{code:"CN-HE",name:"Hebei Sheng",parent:"CN"},{code:"CN-HI",name:"Hainan Sheng",parent:"CN"},{code:"CN-HK",name:"Hong Kong SAR",parent:"CN"},{code:"CN-HL",name:"Heilongjiang Sheng",parent:"CN"},{code:"CN-HN",name:"Hunan Sheng",parent:"CN"},{code:"CN-JL",name:"Jilin Sheng",parent:"CN"},{code:"CN-JS",name:"Jiangsu Sheng",parent:"CN"},{code:"CN-JX",name:"Jiangxi Sheng",parent:"CN"},{code:"CN-LN",name:"Liaoning Sheng",parent:"CN"},{code:"CN-MO",name:"Macao SAR",parent:"CN"},{code:"CN-NM",name:"Nei Mongol Zizhiqu",parent:"CN"},{code:"CN-NX",name:"Ningxia Huizu Zizhiqu",parent:"CN"},{code:"CN-QH",name:"Qinghai Sheng",parent:"CN"},{code:"CN-SC",name:"Sichuan Sheng",parent:"CN"},{code:"CN-SD",name:"Shandong Sheng",parent:"CN"},{code:"CN-SH",name:"Shanghai Shi",parent:"CN"},{code:"CN-SN",name:"Shaanxi Sheng",parent:"CN"},{code:"CN-SX",name:"Shanxi Sheng",parent:"CN"},{code:"CN-TJ",name:"Tianjin Shi",parent:"CN"},{code:"CN-TW",name:"Taiwan Sheng",parent:"CN"},{code:"CN-XJ",name:"Xinjiang Uygur Zizhiqu",parent:"CN"},{code:"CN-XZ",name:"Xizang Zizhiqu",parent:"CN"},{code:"CN-YN",name:"Yunnan Sheng",parent:"CN"},{code:"CN-ZJ",name:"Zhejiang Sheng",parent:"CN"},{code:"CO-AMA",name:"Amazonas",parent:"CO"},{code:"CO-ANT",name:"Antioquia",parent:"CO"},{code:"CO-ARA",name:"Arauca",parent:"CO"},{code:"CO-ATL",name:"Atlántico",parent:"CO"},{code:"CO-BOL",name:"Bolívar",parent:"CO"},{code:"CO-BOY",name:"Boyacá",parent:"CO"},{code:"CO-CAL",name:"Caldas",parent:"CO"},{code:"CO-CAQ",name:"Caquetá",parent:"CO"},{code:"CO-CAS",name:"Casanare",parent:"CO"},{code:"CO-CAU",name:"Cauca",parent:"CO"},{code:"CO-CES",name:"Cesar",parent:"CO"},{code:"CO-CHO",name:"Chocó",parent:"CO"},{code:"CO-COR",name:"Córdoba",parent:"CO"},{code:"CO-CUN",name:"Cundinamarca",parent:"CO"},{code:"CO-DC",name:"Distrito Capital de Bogotá",parent:"CO"},{code:"CO-GUA",name:"Guainía",parent:"CO"},{code:"CO-GUV",name:"Guaviare",parent:"CO"},{code:"CO-HUI",name:"Huila",parent:"CO"},{code:"CO-LAG",name:"La Guajira",parent:"CO"}
1323,{code:"CO-MAG",name:"Magdalena",parent:"CO"},{code:"CO-MET",name:"Meta",parent:"CO"},{code:"CO-NAR",name:"Nariño",parent:"CO"},{code:"CO-NSA",name:"Norte de Santander",parent:"CO"},{code:"CO-PUT",name:"Putumayo",parent:"CO"},{code:"CO-QUI",name:"Quindío",parent:"CO"},{code:"CO-RIS",name:"Risaralda",parent:"CO"},{code:"CO-SAN",name:"Santander",parent:"CO"},{code:"CO-SAP",name:"San Andrés, Providencia y Santa Catalina",parent:"CO"},{code:"CO-SUC",name:"Sucre",parent:"CO"},{code:"CO-TOL",name:"Tolima",parent:"CO"},{code:"CO-VAC",name:"Valle del Cauca",parent:"CO"},{code:"CO-VAU",name:"Vaupés",parent:"CO"},{code:"CO-VID",name:"Vichada",parent:"CO"},{code:"CR-A",name:"Alajuela",parent:"CR"},{code:"CR-C",name:"Cartago",parent:"CR"},{code:"CR-G",name:"Guanacaste",parent:"CR"},{code:"CR-H",name:"Heredia",parent:"CR"},{code:"CR-L",name:"Limón",parent:"CR"},{code:"CR-P",name:"Puntarenas",parent:"CR"},{code:"CR-SJ",name:"San José",parent:"CR"},{code:"CU-01",name:"Pinar del Río",parent:"CU"},{code:"CU-03",name:"La Habana",parent:"CU"},{code:"CU-04",name:"Matanzas",parent:"CU"},{code:"CU-05",name:"Villa Clara",parent:"CU"},{code:"CU-06",name:"Cienfuegos",parent:"CU"},{code:"CU-07",name:"Sancti Spíritus",parent:"CU"},{code:"CU-08",name:"Ciego de Ávila",parent:"CU"},{code:"CU-09",name:"Camagüey",parent:"CU"},{code:"CU-10",name:"Las Tunas",parent:"CU"},{code:"CU-11",name:"Holguín",parent:"CU"},{code:"CU-12",name:"Granma",parent:"CU"},{code:"CU-13",name:"Santiago de Cuba",parent:"CU"},{code:"CU-14",name:"Guantánamo",parent:"CU"},{code:"CU-15",name:"Artemisa",parent:"CU"},{code:"CU-16",name:"Mayabeque",parent:"CU"},{code:"CU-99",name:"Isla de la Juventud",parent:"CU"},{code:"CV-B",name:"Ilhas de Barlavento",parent:"CV"},{code:"CV-BR",name:"Brava",parent:"CV-S"},{code:"CV-BV",name:"Boa Vista",parent:"CV-B"},{code:"CV-CA",name:"Santa Catarina",parent:"CV-S"},{code:"CV-CF",name:"Santa Catarina do Fogo",parent:"CV-S"},{code:"CV-CR",name:"Santa Cruz",parent:"CV-S"},{code:"CV-MA",name:"Maio",parent:"CV-S"},{code:"CV-MO",name:"Mosteiros",parent:"CV-S"},{code:"CV-PA",name:"Paul",parent:"CV-B"},{code:"CV-PN",name:"Porto Novo",parent:"CV-B"},{code:"CV-PR",name:"Praia",parent:"CV-S"},{code:"CV-RB",name:"Ribeira Brava",parent:"CV-B"},{code:"CV-RG",name:"Ribeira Grande",parent:"CV-B"},{code:"CV-RS",name:"Ribeira Grande de Santiago",parent:"CV-S"},{code:"CV-S",name:"Ilhas de Sotavento",parent:"CV"},{code:"CV-SD",name:"São Domingos",parent:"CV-S"},{code:"CV-SF",name:"São Filipe",parent:"CV-S"},{code:"CV-SL",name:"Sal",parent:"CV-B"},{code:"CV-SM",name:"São Miguel",parent:"CV-S"},{code:"CV-SO",name:"São Lourenço dos Órgãos",parent:"CV-S"},{code:"CV-SS",name:"São Salvador do Mundo",parent:"CV-S"},{code:"CV-SV",name:"São Vicente",parent:"CV-B"},{code:"CV-TA",name:"Tarrafal",parent:"CV-S"},{code:"CV-TS",name:"Tarrafal de São Nicolau",parent:"CV-B"},{code:"CY-01",name:"Lefkosia",parent:"CY"},{code:"CY-02",name:"Lemesos",parent:"CY"},{code:"CY-03",name:"Larnaka",parent:"CY"},{code:"CY-04",name:"Ammochostos",parent:"CY"},{code:"CY-05",name:"Pafos",parent:"CY"},{code:"CY-06",name:"Keryneia",parent:"CY"},{code:"CZ-10",name:"Praha, Hlavní město",parent:"CZ"},{code:"CZ-20",name:"Středočeský kraj",parent:"CZ"},{code:"CZ-201",name:"Benešov",parent:"CZ-20"},{code:"CZ-202",name:"Beroun",parent:"CZ-20"},{code:"CZ-203",name:"Kladno",parent:"CZ-20"},{code:"CZ-204",name:"Kolín",parent:"CZ-20"},{code:"CZ-205",name:"Kutná Hora",parent:"CZ-20"},{code:"CZ-206",name:"Mělník",parent:"CZ-20"},{code:"CZ-207",name:"Mladá Boleslav",parent:"CZ-20"},{code:"CZ-208",name:"Nymburk",parent:"CZ-20"},{code:"CZ-209",name:"Praha-východ",parent:"CZ-20"},{code:"CZ-20A",name:"Praha-západ",parent:"CZ-20"},{code:"CZ-20B",name:"Příbram",parent:"CZ-20"},{code:"CZ-20C",name:"Rakovník",parent:"CZ-20"},{code:"CZ-31",name:"Jihočeský kraj",parent:"CZ"},{code:"CZ-311",name:"České Budějovice",parent:"CZ-31"},{code:"CZ-312",name:"Český Krumlov",parent:"CZ-31"},{code:"CZ-313",name:"Jindřichův Hradec",parent:"CZ-31"},{code:"CZ-314",name:"Písek",parent:"CZ-31"},{code:"CZ-315",name:"Prachatice",parent:"CZ-31"},{code:"CZ-316",name:"Strakonice",parent:"CZ-31"},{code:"CZ-317",name:"Tábor",parent:"CZ-31"},{code:"CZ-32",name:"Plzeňský kraj",parent:"CZ"},{code:"CZ-321",name:"Domažlice",parent:"CZ-32"},{code:"CZ-322",name:"Klatovy",parent:"CZ-32"},{code:"CZ-323",name:"Plzeň-město",parent:"CZ-32"},{code:"CZ-324",name:"Plzeň-jih",parent:"CZ-32"}
1323,{code:"CZ-325",name:"Plzeň-sever",parent:"CZ-32"},{code:"CZ-326",name:"Rokycany",parent:"CZ-32"},{code:"CZ-327",name:"Tachov",parent:"CZ-32"},{code:"CZ-41",name:"Karlovarský kraj",parent:"CZ"},{code:"CZ-411",name:"Cheb",parent:"CZ-41"},{code:"CZ-412",name:"Karlovy Vary",parent:"CZ-41"},{code:"CZ-413",name:"Sokolov",parent:"CZ-41"},{code:"CZ-42",name:"Ústecký kraj",parent:"CZ"},{code:"CZ-421",name:"Děčín",parent:"CZ-42"},{code:"CZ-422",name:"Chomutov",parent:"CZ-42"},{code:"CZ-423",name:"Litoměřice",parent:"CZ-42"},{code:"CZ-424",name:"Louny",parent:"CZ-42"},{code:"CZ-425",name:"Most",parent:"CZ-42"},{code:"CZ-426",name:"Teplice",parent:"CZ-42"},{code:"CZ-427",name:"Ústí nad Labem",parent:"CZ-42"},{code:"CZ-51",name:"Liberecký kraj",parent:"CZ"},{code:"CZ-511",name:"Česká Lípa",parent:"CZ-51"},{code:"CZ-512",name:"Jablonec nad Nisou",parent:"CZ-51"},{code:"CZ-513",name:"Liberec",parent:"CZ-51"},{code:"CZ-514",name:"Semily",parent:"CZ-51"},{code:"CZ-52",name:"Královéhradecký kraj",parent:"CZ"},{code:"CZ-521",name:"Hradec Králové",parent:"CZ-52"},{code:"CZ-522",name:"Jičín",parent:"CZ-52"},{code:"CZ-523",name:"Náchod",parent:"CZ-52"},{code:"CZ-524",name:"Rychnov nad Kněžnou",parent:"CZ-52"},{code:"CZ-525",name:"Trutnov",parent:"CZ-52"},{code:"CZ-53",name:"Pardubický kraj",parent:"CZ"},{code:"CZ-531",name:"Chrudim",parent:"CZ-53"},{code:"CZ-532",name:"Pardubice",parent:"CZ-53"},{code:"CZ-533",name:"Svitavy",parent:"CZ-53"},{code:"CZ-534",name:"Ústí nad Orlicí",parent:"CZ-53"},{code:"CZ-63",name:"Kraj Vysočina",parent:"CZ"},{code:"CZ-631",name:"Havlíčkův Brod",parent:"CZ-63"},{code:"CZ-632",name:"Jihlava",parent:"CZ-63"},{code:"CZ-633",name:"Pelhřimov",parent:"CZ-63"},{code:"CZ-634",name:"Třebíč",parent:"CZ-63"},{code:"CZ-635",name:"Žďár nad Sázavou",parent:"CZ-63"},{code:"CZ-64",name:"Jihomoravský kraj",parent:"CZ"},{code:"CZ-641",name:"Blansko",parent:"CZ-64"},{code:"CZ-642",name:"Brno-město",parent:"CZ-64"},{code:"CZ-643",name:"Brno-venkov",parent:"CZ-64"},{code:"CZ-644",name:"Břeclav",parent:"CZ-64"},{code:"CZ-645",name:"Hodonín",parent:"CZ-64"},{code:"CZ-646",name:"Vyškov",parent:"CZ-64"},{code:"CZ-647",name:"Znojmo",parent:"CZ-64"},{code:"CZ-71",name:"Olomoucký kraj",parent:"CZ"},{code:"CZ-711",name:"Jeseník",parent:"CZ-71"},{code:"CZ-712",name:"Olomouc",parent:"CZ-71"},{code:"CZ-713",name:"Prostějov",parent:"CZ-71"},{code:"CZ-714",name:"Přerov",parent:"CZ-71"},{code:"CZ-715",name:"Šumperk",parent:"CZ-71"},{code:"CZ-72",name:"Zlínský kraj",parent:"CZ"},{code:"CZ-721",name:"Kroměříž",parent:"CZ-72"},{code:"CZ-722",name:"Uherské Hradiště",parent:"CZ-72"},{code:"CZ-723",name:"Vsetín",parent:"CZ-72"},{code:"CZ-724",name:"Zlín",parent:"CZ-72"},{code:"CZ-80",name:"Moravskoslezský kraj",parent:"CZ"},{code:"CZ-801",name:"Bruntál",parent:"CZ-80"},{code:"CZ-802",name:"Frýdek-Místek",parent:"CZ-80"},{code:"CZ-803",name:"Karviná",parent:"CZ-80"},{code:"CZ-804",name:"Nový Jičín",parent:"CZ-80"},{code:"CZ-805",name:"Opava",parent:"CZ-80"},{code:"CZ-806",name:"Ostrava-město",parent:"CZ-80"},{code:"DE-BB",name:"Brandenburg",parent:"DE"},{code:"DE-BE",name:"Berlin",parent:"DE"},{code:"DE-BW",name:"Baden-Württemberg",parent:"DE"},{code:"DE-BY",name:"Bayern",parent:"DE"},{code:"DE-HB",name:"Bremen",parent:"DE"},{code:"DE-HE",name:"Hessen",parent:"DE"},{code:"DE-HH",name:"Hamburg",parent:"DE"},{code:"DE-MV",name:"Mecklenburg-Vorpommern",parent:"DE"},{code:"DE-NI",name:"Niedersachsen",parent:"DE"},{code:"DE-NW",name:"Nordrhein-Westfalen",parent:"DE"},{code:"DE-RP",name:"Rheinland-Pfalz",parent:"DE"},{code:"DE-SH",name:"Schleswig-Holstein",parent:"DE"},{code:"DE-SL",name:"Saarland",parent:"DE"},{code:"DE-SN",name:"Sachsen",parent:"DE"},{code:"DE-ST",name:"Sachsen-Anhalt",parent:"DE"},{code:"DE-TH",name:"Thüringen",parent:"DE"},{code:"DJ-AR",name:"Arta",parent:"DJ"},{code:"DJ-AS",name:"Ali Sabieh",parent:"DJ"},{code:"DJ-DI",name:"Dikhil",parent:"DJ"},{code:"DJ-DJ",name:"Djibouti",parent:"DJ"},{code:"DJ-OB",name:"Obock",parent:"DJ"},{code:"DJ-TA",name:"Tadjourah",parent:"DJ"},{code:"DK-015",name:"København",parent:"DK"},{code:"DK-020",name:"Frederiksborg",parent:"DK"},{code:"DK-025",name:"Roskilde",parent:"DK"},{code:"DK-030",name:"Vestsjælland",parent:"DK"},{code:"DK-035",name:"Storstrøm",parent:"DK"},{code:"DK-040",name:"Bornholm",parent:"DK"},{code:"DK-042",name:"Fyn",parent:"DK"},{code:"DK-050",name:"Sønderjylland",parent:"DK"},{code:"DK-055",name:"Ribe",parent:"DK"},{code:"DK-060",name:"Vejle",parent:"DK"}
1323,{code:"DK-065",name:"Ringkøbing",parent:"DK"},{code:"DK-070",name:"Århus",parent:"DK"},{code:"DK-076",name:"Viborg",parent:"DK"},{code:"DK-080",name:"Nordjylland",parent:"DK"},{code:"DK-101",name:"København",parent:"DK"},{code:"DK-147",name:"Frederiksberg",parent:"DK"},{code:"DK-81",name:"Region Nordjylland",parent:"DK"},{code:"DK-82",name:"Region Midjylland",parent:"DK"},{code:"DK-83",name:"Region Syddanmark",parent:"DK"},{code:"DK-84",name:"Region Hovedstaden",parent:"DK"},{code:"DK-85",name:"Region Sjælland",parent:"DK"},{code:"DM-02",name:"Saint Andrew",parent:"DM"},{code:"DM-03",name:"Saint David",parent:"DM"},{code:"DM-04",name:"Saint George",parent:"DM"},{code:"DM-05",name:"Saint John",parent:"DM"},{code:"DM-06",name:"Saint Joseph",parent:"DM"},{code:"DM-07",name:"Saint Luke",parent:"DM"},{code:"DM-08",name:"Saint Mark",parent:"DM"},{code:"DM-09",name:"Saint Patrick",parent:"DM"},{code:"DM-10",name:"Saint Paul",parent:"DM"},{code:"DM-11",name:"Saint Peter",parent:"DM"},{code:"DO-01",name:"Distrito Nacional (Santo Domingo)",parent:"DO-40"},{code:"DO-02",name:"Azua",parent:"DO-41"},{code:"DO-03",name:"Baoruco",parent:"DO-38"},{code:"DO-04",name:"Barahona",parent:"DO-38"},{code:"DO-05",name:"Dajabón",parent:"DO-34"},{code:"DO-06",name:"Duarte",parent:"DO-33"},{code:"DO-07",name:"Elías Piña",parent:"DO-37"},{code:"DO-08",name:"El Seibo",parent:"DO-42"},{code:"DO-09",name:"Espaillat",parent:"DO-35"},{code:"DO-10",name:"Independencia",parent:"DO-38"},{code:"DO-11",name:"La Altagracia",parent:"DO-42"},{code:"DO-12",name:"La Romana",parent:"DO-42"},{code:"DO-13",name:"La Vega",parent:"DO-36"},{code:"DO-14",name:"María Trinidad Sánchez",parent:"DO-33"},{code:"DO-15",name:"Monte Cristi",parent:"DO-34"},{code:"DO-16",name:"Pedernales",parent:"DO-38"},{code:"DO-17",name:"Peravia",parent:"DO-41"},{code:"DO-18",name:"Puerto Plata",parent:"DO-35"},{code:"DO-19",name:"Hermanas Mirabal",parent:"DO-33"},{code:"DO-20",name:"Samaná",parent:"DO-33"},{code:"DO-21",name:"San Cristóbal",parent:"DO-41"},{code:"DO-22",name:"San Juan",parent:"DO-37"},{code:"DO-23",name:"San Pedro de Macorís",parent:"DO-39"},{code:"DO-24",name:"Sánchez Ramírez",parent:"DO-36"},{code:"DO-25",name:"Santiago",parent:"DO-35"},{code:"DO-26",name:"Santiago Rodríguez",parent:"DO-34"},{code:"DO-27",name:"Valverde",parent:"DO-34"},{code:"DO-28",name:"Monseñor Nouel",parent:"DO-36"},{code:"DO-29",name:"Monte Plata",parent:"DO-39"},{code:"DO-30",name:"Hato Mayor",parent:"DO-39"},{code:"DO-31",name:"San José de Ocoa",parent:"DO-41"},{code:"DO-32",name:"Santo Domingo",parent:"DO-40"},{code:"DO-33",name:"Cibao Nordeste",parent:"DO"},{code:"DO-34",name:"Cibao Noroeste",parent:"DO"},{code:"DO-35",name:"Cibao Norte",parent:"DO"},{code:"DO-36",name:"Cibao Sur",parent:"DO"},{code:"DO-37",name:"El Valle",parent:"DO"},{code:"DO-38",name:"Enriquillo",parent:"DO"},{code:"DO-39",name:"Higuamo",parent:"DO"},{code:"DO-40",name:"Ozama",parent:"DO"},{code:"DO-41",name:"Valdesia",parent:"DO"},{code:"DO-42",name:"Yuma",parent:"DO"},{code:"DZ-01",name:"Adrar",parent:"DZ"},{code:"DZ-02",name:"Chlef",parent:"DZ"},{code:"DZ-03",name:"Laghouat",parent:"DZ"},{code:"DZ-04",name:"Oum el Bouaghi",parent:"DZ"},{code:"DZ-05",name:"Batna",parent:"DZ"},{code:"DZ-06",name:"Béjaïa",parent:"DZ"},{code:"DZ-07",name:"Biskra",parent:"DZ"},{code:"DZ-08",name:"Béchar",parent:"DZ"},{code:"DZ-09",name:"Blida",parent:"DZ"},{code:"DZ-10",name:"Bouira",parent:"DZ"},{code:"DZ-11",name:"Tamanrasset",parent:"DZ"},{code:"DZ-12",name:"Tébessa",parent:"DZ"},{code:"DZ-13",name:"Tlemcen",parent:"DZ"},{code:"DZ-14",name:"Tiaret",parent:"DZ"},{code:"DZ-15",name:"Tizi Ouzou",parent:"DZ"},{code:"DZ-16",name:"Alger",parent:"DZ"},{code:"DZ-17",name:"Djelfa",parent:"DZ"},{code:"DZ-18",name:"Jijel",parent:"DZ"},{code:"DZ-19",name:"Sétif",parent:"DZ"},{code:"DZ-20",name:"Saïda",parent:"DZ"},{code:"DZ-21",name:"Skikda",parent:"DZ"},{code:"DZ-22",name:"Sidi Bel Abbès",parent:"DZ"},{code:"DZ-23",name:"Annaba",parent:"DZ"},{code:"DZ-24",name:"Guelma",parent:"DZ"},{code:"DZ-25",name:"Constantine",parent:"DZ"},{code:"DZ-26",name:"Médéa",parent:"DZ"},{code:"DZ-27",name:"Mostaganem",parent:"DZ"},{code:"DZ-28",name:"M'sila",parent:"DZ"},{code:"DZ-29",name:"Mascara",parent:"DZ"},{code:"DZ-30",name:"Ouargla",parent:"DZ"},{code:"DZ-31",name:"Oran",parent:"DZ"},{code:"DZ-32",name:"El Bayadh",parent:"DZ"},{code:"DZ-33",name:"Illizi",parent:"DZ"},{code:"DZ-34",name:"Bordj Bou Arréridj",parent:"DZ"},{code:"DZ-35",name:"Boumerdès",parent:"DZ"},{code:"DZ-36",name:"El Tarf",parent:"DZ"},{code:"DZ-37",name:"Tindouf",parent:"DZ"},{code:"DZ-38",name:"Tissemsilt",parent:"DZ"},{code:"DZ-39",name:"El Oued",parent:"DZ"},{code:"DZ-40",name:"Khenchela",parent:"DZ"},{code:"DZ-41",name:"Souk Ahras",parent:"DZ"},{code:"DZ-42",name:"Tipaza",parent:"DZ"},{code:"DZ-43",name:"Mila",parent:"DZ"},{code:"DZ-44",name:"Aïn Defla",parent:"DZ"},{code:"DZ-45",name:"Naama",parent:"DZ"},{code:"DZ-46",name:"Aïn Témouchent",parent:"DZ"},{code:"DZ-47",name:"Ghardaïa",parent:"DZ"},{code:"DZ-48",name:"Relizane",parent:"DZ"},{code:"DZ-49",name:"Timimoun",parent:"DZ"},{code:"DZ-50",name:"Bordj Badji Mokhtar",parent:"DZ"},{code:"DZ-51",name:"Ouled Djellal",parent:"DZ"},{code:"DZ-52",name:"Béni Abbès",parent:"DZ"},{code:"DZ-53",name:"In Salah",parent:"DZ"},{code:"DZ-54",name:"In Guezzam",parent:"DZ"},{code:"DZ-55",name:"Touggourt",parent:"DZ"},{code:"DZ-56",name:"Djanet",parent:"DZ"},{code:"DZ-57",name:"El Meghaier",parent:"DZ"},{code:"DZ-58",name:"El Meniaa",parent:"DZ"},{code:"EC-A",name:"Azuay",parent:"EC"},{code:"EC-B",name:"Bolívar",parent:"EC"},{code:"EC-C",name:"Carchi",parent:"EC"},{code:"EC-D",name:"Orellana",parent:"EC"},{code:"EC-E",name:"Esmeraldas",parent:"EC"},{code:"EC-F",name:"Cañar",parent:"EC"},{code:"EC-G",name:"Guayas",parent:"EC"},{code:"EC-H",name:"Chimborazo",parent:"EC"},{code:"EC-I",name:"Imbabura",parent:"EC"},{code:"EC-L",name:"Loja",parent:"EC"},{code:"EC-M",name:"Manabí",parent:"EC"},{code:"EC-N",name:"Napo",parent:"EC"},{code:"EC-O",name:"El Oro",parent:"EC"},{code:"EC-P",name:"Pichincha",parent:"EC"},{code:"EC-R",name:"Los Ríos",parent:"EC"},{code:"EC-S",name:"Morona Santiago",parent:"EC"},{code:"EC-SD",name:"Santo Domingo de los Tsáchilas",parent:"EC"},{code:"EC-SE",name:"Santa Elena",parent:"EC"},{code:"EC-T",name:"Tungurahua",parent:"EC"},{code:"EC-U",name:"Sucumbíos",parent:"EC"},{code:"EC-W",name:"Galápagos",parent:"EC"},{code:"EC-X",name:"Cotopaxi",parent:"EC"},{code:"EC-Y",name:"Pastaza",parent:"EC"},{code:"EC-Z",name:"Zamora Chinchipe",parent:"EC"},{code:"EE-130",name:"Alutaguse",parent:"EE"},{code:"EE-141",name:"Anija",parent:"EE"},{code:"EE-142",name:"Antsla",parent:"EE"},{code:"EE-171",name:"Elva",parent:"EE"},{code:"EE-184",name:"Haapsalu",parent:"EE"},{code:"EE-191",name:"Haljala",parent:"EE"},{code:"EE-198",name:"Harku",parent:"EE"},{code:"EE-205",name:"Hiiumaa",parent:"EE"},{code:"EE-214",name:"Häädemeeste",parent:"EE"},{code:"EE-245",name:"Jõelähtme",parent:"EE"},{code:"EE-247",name:"Jõgeva",parent:"EE"}
1323,{code:"EE-251",name:"Jõhvi",parent:"EE"},{code:"EE-255",name:"Järva",parent:"EE"},{code:"EE-272",name:"Kadrina",parent:"EE"},{code:"EE-283",name:"Kambja",parent:"EE"},{code:"EE-284",name:"Kanepi",parent:"EE"},{code:"EE-291",name:"Kastre",parent:"EE"},{code:"EE-293",name:"Kehtna",parent:"EE"},{code:"EE-296",name:"Keila",parent:"EE"},{code:"EE-303",name:"Kihnu",parent:"EE"},{code:"EE-305",name:"Kiili",parent:"EE"},{code:"EE-317",name:"Kohila",parent:"EE"},{code:"EE-321",name:"Kohtla-Järve",parent:"EE"},{code:"EE-338",name:"Kose",parent:"EE"},{code:"EE-353",name:"Kuusalu",parent:"EE"},{code:"EE-37",name:"Harjumaa",parent:"EE"},{code:"EE-39",name:"Hiiumaa",parent:"EE"},{code:"EE-424",name:"Loksa",parent:"EE"},{code:"EE-430",name:"Lääneranna",parent:"EE"},{code:"EE-431",name:"Lääne-Harju",parent:"EE"},{code:"EE-432",name:"Luunja",parent:"EE"},{code:"EE-441",name:"Lääne-Nigula",parent:"EE"},{code:"EE-442",name:"Lüganuse",parent:"EE"},{code:"EE-446",name:"Maardu",parent:"EE"},{code:"EE-45",name:"Ida-Virumaa",parent:"EE"},{code:"EE-478",name:"Muhu",parent:"EE"},{code:"EE-480",name:"Mulgi",parent:"EE"},{code:"EE-486",name:"Mustvee",parent:"EE"},{code:"EE-50",name:"Jõgevamaa",parent:"EE"},{code:"EE-503",name:"Märjamaa",parent:"EE"},{code:"EE-511",name:"Narva",parent:"EE"},{code:"EE-514",name:"Narva-Jõesuu",parent:"EE"},{code:"EE-52",name:"Järvamaa",parent:"EE"},{code:"EE-528",name:"Nõo",parent:"EE"},{code:"EE-557",name:"Otepää",parent:"EE"},{code:"EE-56",name:"Läänemaa",parent:"EE"},{code:"EE-567",name:"Paide",parent:"EE"},{code:"EE-586",name:"Peipsiääre",parent:"EE"},{code:"EE-60",name:"Lääne-Virumaa",parent:"EE"},{code:"EE-615",name:"Põhja-Sakala",parent:"EE"},{code:"EE-618",name:"Põltsamaa",parent:"EE"},{code:"EE-622",name:"Põlva",parent:"EE"},{code:"EE-624",name:"Pärnu",parent:"EE"},{code:"EE-638",name:"Põhja-Pärnumaa",parent:"EE"},{code:"EE-64",name:"Põlvamaa",parent:"EE"},{code:"EE-651",name:"Raasiku",parent:"EE"},{code:"EE-653",name:"Rae",parent:"EE"},{code:"EE-661",name:"Rakvere",parent:"EE"},{code:"EE-663",name:"Rakvere",parent:"EE"},{code:"EE-668",name:"Rapla",parent:"EE"},{code:"EE-68",name:"Pärnumaa",parent:"EE"},{code:"EE-689",name:"Ruhnu",parent:"EE"},{code:"EE-698",name:"Rõuge",parent:"EE"},{code:"EE-708",name:"Räpina",parent:"EE"},{code:"EE-71",name:"Raplamaa",parent:"EE"},{code:"EE-712",name:"Saarde",parent:"EE"},{code:"EE-714",name:"Saaremaa",parent:"EE"},{code:"EE-719",name:"Saku",parent:"EE"},{code:"EE-726",name:"Saue",parent:"EE"},{code:"EE-732",name:"Setomaa",parent:"EE"},{code:"EE-735",name:"Sillamäe",parent:"EE"},{code:"EE-74",name:"Saaremaa",parent:"EE"},{code:"EE-784",name:"Tallinn",parent:"EE"},{code:"EE-79",name:"Tartumaa",parent:"EE"},{code:"EE-792",name:"Tapa",parent:"EE"},{code:"EE-793",name:"Tartu",parent:"EE"},{code:"EE-796",name:"Tartu",parent:"EE"},{code:"EE-803",name:"Toila",parent:"EE"},{code:"EE-809",name:"Tori",parent:"EE"},{code:"EE-81",name:"Valgamaa",parent:"EE"},{code:"EE-824",name:"Tõrva",parent:"EE"},{code:"EE-834",name:"Türi",parent:"EE"},{code:"EE-84",name:"Viljandimaa",parent:"EE"},{code:"EE-855",name:"Valga",parent:"EE"},{code:"EE-87",name:"Võrumaa",parent:"EE"},{code:"EE-890",name:"Viimsi",parent:"EE"},{code:"EE-897",name:"Viljandi",parent:"EE"},{code:"EE-899",name:"Viljandi",parent:"EE"},{code:"EE-901",name:"Vinni",parent:"EE"},{code:"EE-903",name:"Viru-Nigula",parent:"EE"},{code:"EE-907",name:"Vormsi",parent:"EE"},{code:"EE-917",name:"Võru",parent:"EE"},{code:"EE-919",name:"Võru",parent:"EE"},{code:"EE-928",name:"Väike-Maarja",parent:"EE"},{code:"EG-ALX",name:"Al Iskandarīyah",parent:"EG"},{code:"EG-ASN",name:"Aswān",parent:"EG"},{code:"EG-AST",name:"Asyūţ",parent:"EG"},{code:"EG-BA",name:"Al Baḩr al Aḩmar",parent:"EG"},{code:"EG-BH",name:"Al Buḩayrah",parent:"EG"},{code:"EG-BNS",name:"Banī Suwayf",parent:"EG"},{code:"EG-C",name:"Al Qāhirah",parent:"EG"},{code:"EG-DK",name:"Ad Daqahlīyah",parent:"EG"},{code:"EG-DT",name:"Dumyāţ",parent:"EG"},{code:"EG-FYM",name:"Al Fayyūm",parent:"EG"},{code:"EG-GH",name:"Al Gharbīyah",parent:"EG"},{code:"EG-GZ",name:"Al Jīzah",parent:"EG"},{code:"EG-IS",name:"Al Ismā'īlīyah",parent:"EG"},{code:"EG-JS",name:"Janūb Sīnā'",parent:"EG"},{code:"EG-KB",name:"Al Qalyūbīyah",parent:"EG"},{code:"EG-KFS",name:"Kafr ash Shaykh",parent:"EG"},{code:"EG-KN",name:"Qinā",parent:"EG"},{code:"EG-LX",name:"Al Uqşur",parent:"EG"},{code:"EG-MN",name:"Al Minyā",parent:"EG"},{code:"EG-MNF",name:"Al Minūfīyah",parent:"EG"},{code:"EG-MT",name:"Maţrūḩ",parent:"EG"},{code:"EG-PTS",name:"Būr Sa‘īd",parent:"EG"},{code:"EG-SHG",name:"Sūhāj",parent:"EG"},{code:"EG-SHR",name:"Ash Sharqīyah",parent:"EG"},{code:"EG-SIN",name:"Shamāl Sīnā'",parent:"EG"}
1323,{code:"EG-SUZ",name:"As Suways",parent:"EG"},{code:"EG-WAD",name:"Al Wādī al Jadīd",parent:"EG"},{code:"ER-AN",name:"Ansabā",parent:"ER"},{code:"ER-DK",name:"Janūbī al Baḩrī al Aḩmar",parent:"ER"},{code:"ER-DU",name:"Al Janūbī",parent:"ER"},{code:"ER-GB",name:"Qāsh-Barkah",parent:"ER"},{code:"ER-MA",name:"Al Awsaţ",parent:"ER"},{code:"ER-SK",name:"Shimālī al Baḩrī al Aḩmar",parent:"ER"},{code:"ES-A",name:"Alicante",parent:"ES-VC"},{code:"ES-AB",name:"Albacete",parent:"ES-CM"},{code:"ES-AL",name:"Almería",parent:"ES-AN"},{code:"ES-AN",name:"Andalucía",parent:"ES"},{code:"ES-AR",name:"Aragón",parent:"ES"},{code:"ES-AS",name:"Asturias, Principado de",parent:"ES"},{code:"ES-AV",name:"Ávila",parent:"ES-CL"},{code:"ES-B",name:"Barcelona",parent:"ES-CT"},{code:"ES-BA",name:"Badajoz",parent:"ES-EX"},{code:"ES-BI",name:"Bizkaia",parent:"ES-PV"},{code:"ES-BU",name:"Burgos",parent:"ES-CL"},{code:"ES-C",name:"A Coruña",parent:"ES-GA"},{code:"ES-CA",name:"Cádiz",parent:"ES-AN"},{code:"ES-CB",name:"Cantabria",parent:"ES"},{code:"ES-CC",name:"Cáceres",parent:"ES-EX"},{code:"ES-CE",name:"Ceuta",parent:"ES"},{code:"ES-CL",name:"Castilla y León",parent:"ES"},{code:"ES-CM",name:"Castilla-La Mancha",parent:"ES"},{code:"ES-CN",name:"Canarias",parent:"ES"},{code:"ES-CO",name:"Córdoba",parent:"ES-AN"},{code:"ES-CR",name:"Ciudad Real",parent:"ES-CM"},{code:"ES-CS",name:"Castellón",parent:"ES-VC"},{code:"ES-CT",name:"Catalunya",parent:"ES"},{code:"ES-CU",name:"Cuenca",parent:"ES-CM"},{code:"ES-EX",name:"Extremadura",parent:"ES"},{code:"ES-GA",name:"Galicia",parent:"ES"},{code:"ES-GC",name:"Las Palmas",parent:"ES-CN"},{code:"ES-GI",name:"Girona",parent:"ES-CT"},{code:"ES-GR",name:"Granada",parent:"ES-AN"},{code:"ES-GU",name:"Guadalajara",parent:"ES-CM"},{code:"ES-H",name:"Huelva",parent:"ES-AN"},{code:"ES-HU",name:"Huesca",parent:"ES-AR"},{code:"ES-IB",name:"Illes Balears",parent:"ES"},{code:"ES-J",name:"Jaén",parent:"ES-AN"},{code:"ES-L",name:"Lleida",parent:"ES-CT"},{code:"ES-LE",name:"León",parent:"ES-CL"},{code:"ES-LO",name:"La Rioja",parent:"ES-RI"},{code:"ES-LU",name:"Lugo",parent:"ES-GA"},{code:"ES-M",name:"Madrid",parent:"ES-MD"},{code:"ES-MA",name:"Málaga",parent:"ES-AN"},{code:"ES-MC",name:"Murcia, Región de",parent:"ES"},{code:"ES-MD",name:"Madrid, Comunidad de",parent:"ES"},{code:"ES-ML",name:"Melilla",parent:"ES"},{code:"ES-MU",name:"Murcia",parent:"ES-MC"},{code:"ES-NA",name:"Navarra",parent:"ES-NC"},{code:"ES-NC",name:"Navarra, Comunidad Foral de",parent:"ES"},{code:"ES-O",name:"Asturias",parent:"ES-AS"},{code:"ES-OR",name:"Ourense",parent:"ES-GA"},{code:"ES-P",name:"Palencia",parent:"ES-CL"},{code:"ES-PM",name:"Illes Balears",parent:"ES-IB"},{code:"ES-PO",name:"Pontevedra",parent:"ES-GA"},{code:"ES-PV",name:"País Vasco",parent:"ES"},{code:"ES-RI",name:"La Rioja",parent:"ES"},{code:"ES-S",name:"Cantabria",parent:"ES-CB"},{code:"ES-SA",name:"Salamanca",parent:"ES-CL"},{code:"ES-SE",name:"Sevilla",parent:"ES-AN"},{code:"ES-SG",name:"Segovia",parent:"ES-CL"},{code:"ES-SO",name:"Soria",parent:"ES-CL"},{code:"ES-SS",name:"Gipuzkoa",parent:"ES-PV"},{code:"ES-T",name:"Tarragona",parent:"ES-CT"},{code:"ES-TE",name:"Teruel",parent:"ES-AR"},{code:"ES-TF",name:"Santa Cruz de Tenerife",parent:"ES-CN"},{code:"ES-TO",name:"Toledo",parent:"ES-CM"},{code:"ES-V",name:"Valencia",parent:"ES-VC"},{code:"ES-VA",name:"Valladolid",parent:"ES-CL"},{code:"ES-VC",name:"Valenciana, Comunidad",parent:"ES"},{code:"ES-VI",name:"Álava",parent:"ES-PV"},{code:"ES-Z",name:"Zaragoza",parent:"ES-AR"},{code:"ES-ZA",name:"Zamora",parent:"ES-CL"},{code:"ET-AA",name:"Ādīs Ābeba",parent:"ET"},{code:"ET-AF",name:"Āfar",parent:"ET"},{code:"ET-AM",name:"Āmara",parent:"ET"},{code:"ET-BE",name:"Bīnshangul Gumuz",parent:"ET"},{code:"ET-DD",name:"Dirē Dawa",parent:"ET"},{code:"ET-GA",name:"Gambēla Hizboch",parent:"ET"},{code:"ET-HA",name:"Hārerī Hizb",parent:"ET"},{code:"ET-OR",name:"Oromīya",parent:"ET"},{code:"ET-SI",name:"Sīdama",parent:"ET"},{code:"ET-SN",name:"YeDebub Bihēroch Bihēreseboch na Hizboch",parent:"ET"},{code:"ET-SO",name:"Sumalē",parent:"ET"},{code:"ET-SW",name:"YeDebub M‘irab Ītyop’iya Hizboch",parent:"ET"},{code:"ET-TI",name:"Tigray",parent:"ET"},{code:"FI-01",name:"Ahvenanmaan maakunta",parent:"FI"},{code:"FI-02",name:"Etelä-Karjala",parent:"FI"},{code:"FI-03",name:"Etelä-Pohjanmaa",parent:"FI"},{code:"FI-04",name:"Etelä-Savo",parent:"FI"},{code:"FI-05",name:"Kainuu",parent:"FI"},{code:"FI-06",name:"Kanta-Häme",parent:"FI"},{code:"FI-07",name:"Keski-Pohjanmaa",parent:"FI"}
1323,{code:"FI-08",name:"Keski-Suomi",parent:"FI"},{code:"FI-09",name:"Kymenlaakso",parent:"FI"},{code:"FI-10",name:"Lappi",parent:"FI"},{code:"FI-11",name:"Pirkanmaa",parent:"FI"},{code:"FI-12",name:"Pohjanmaa",parent:"FI"},{code:"FI-13",name:"Pohjois-Karjala",parent:"FI"},{code:"FI-14",name:"Pohjois-Pohjanmaa",parent:"FI"},{code:"FI-15",name:"Pohjois-Savo",parent:"FI"},{code:"FI-16",name:"Päijät-Häme",parent:"FI"},{code:"FI-17",name:"Satakunta",parent:"FI"},{code:"FI-18",name:"Uusimaa",parent:"FI"},{code:"FI-19",name:"Varsinais-Suomi",parent:"FI"},{code:"FJ-01",name:"Ba",parent:"FJ-W"},{code:"FJ-02",name:"Bua",parent:"FJ-N"},{code:"FJ-03",name:"Cakaudrove",parent:"FJ-N"},{code:"FJ-04",name:"Kadavu",parent:"FJ-E"},{code:"FJ-05",name:"Lau",parent:"FJ-E"},{code:"FJ-06",name:"Lomaiviti",parent:"FJ-E"},{code:"FJ-07",name:"Macuata",parent:"FJ-N"},{code:"FJ-08",name:"Nadroga and Navosa",parent:"FJ-W"},{code:"FJ-09",name:"Naitasiri",parent:"FJ-C"},{code:"FJ-10",name:"Namosi",parent:"FJ-C"},{code:"FJ-11",name:"Ra",parent:"FJ-W"},{code:"FJ-12",name:"Rewa",parent:"FJ-C"},{code:"FJ-13",name:"Serua",parent:"FJ-C"},{code:"FJ-14",name:"Tailevu",parent:"FJ-C"},{code:"FJ-C",name:"Central",parent:"FJ"},{code:"FJ-E",name:"Eastern",parent:"FJ"},{code:"FJ-N",name:"Northern",parent:"FJ"},{code:"FJ-R",name:"Rotuma",parent:"FJ"},{code:"FJ-W",name:"Western",parent:"FJ"},{code:"FM-KSA",name:"Kosrae",parent:"FM"},{code:"FM-PNI",name:"Pohnpei",parent:"FM"},{code:"FM-TRK",name:"Chuuk",parent:"FM"},{code:"FM-YAP",name:"Yap",parent:"FM"},{code:"FR-01",name:"Ain",parent:"FR-ARA"},{code:"FR-02",name:"Aisne",parent:"FR-HDF"},{code:"FR-03",name:"Allier",parent:"FR-ARA"},{code:"FR-04",name:"Alpes-de-Haute-Provence",parent:"FR-PAC"},{code:"FR-05",name:"Hautes-Alpes",parent:"FR-PAC"},{code:"FR-06",name:"Alpes-Maritimes",parent:"FR-PAC"},{code:"FR-07",name:"Ardèche",parent:"FR-ARA"},{code:"FR-08",name:"Ardennes",parent:"FR-GES"},{code:"FR-09",name:"Ariège",parent:"FR-OCC"},{code:"FR-10",name:"Aube",parent:"FR-GES"},{code:"FR-11",name:"Aude",parent:"FR-OCC"},{code:"FR-12",name:"Aveyron",parent:"FR-OCC"},{code:"FR-13",name:"Bouches-du-Rhône",parent:"FR-PAC"},{code:"FR-14",name:"Calvados",parent:"FR-NOR"},{code:"FR-15",name:"Cantal",parent:"FR-ARA"},{code:"FR-16",name:"Charente",parent:"FR-NAQ"},{code:"FR-17",name:"Charente-Maritime",parent:"FR-NAQ"},{code:"FR-18",name:"Cher",parent:"FR-CVL"},{code:"FR-19",name:"Corrèze",parent:"FR-NAQ"},{code:"FR-20R",name:"Corse",parent:"FR"},{code:"FR-21",name:"Côte-d'Or",parent:"FR-BFC"},{code:"FR-22",name:"Côtes-d'Armor",parent:"FR-BRE"},{code:"FR-23",name:"Creuse",parent:"FR-NAQ"},{code:"FR-24",name:"Dordogne",parent:"FR-NAQ"},{code:"FR-25",name:"Doubs",parent:"FR-BFC"},{code:"FR-26",name:"Drôme",parent:"FR-ARA"},{code:"FR-27",name:"Eure",parent:"FR-NOR"},{code:"FR-28",name:"Eure-et-Loir",parent:"FR-CVL"},{code:"FR-29",name:"Finistère",parent:"FR-BRE"},{code:"FR-2A",name:"Corse-du-Sud",parent:"FR-20R"},{code:"FR-2B",name:"Haute-Corse",parent:"FR-20R"},{code:"FR-30",name:"Gard",parent:"FR-OCC"},{code:"FR-31",name:"Haute-Garonne",parent:"FR-OCC"},{code:"FR-32",name:"Gers",parent:"FR-OCC"},{code:"FR-33",name:"Gironde",parent:"FR-NAQ"},{code:"FR-34",name:"Hérault",parent:"FR-OCC"},{code:"FR-35",name:"Ille-et-Vilaine",parent:"FR-BRE"},{code:"FR-36",name:"Indre",parent:"FR-CVL"},{code:"FR-37",name:"Indre-et-Loire",parent:"FR-CVL"},{code:"FR-38",name:"Isère",parent:"FR-ARA"},{code:"FR-39",name:"Jura",parent:"FR-BFC"},{code:"FR-40",name:"Landes",parent:"FR-NAQ"},{code:"FR-41",name:"Loir-et-Cher",parent:"FR-CVL"},{code:"FR-42",name:"Loire",parent:"FR-ARA"},{code:"FR-43",name:"Haute-Loire",parent:"FR-ARA"},{code:"FR-44",name:"Loire-Atlantique",parent:"FR-PDL"},{code:"FR-45",name:"Loiret",parent:"FR-CVL"},{code:"FR-46",name:"Lot",parent:"FR-OCC"},{code:"FR-47",name:"Lot-et-Garonne",parent:"FR-NAQ"},{code:"FR-48",name:"Lozère",parent:"FR-OCC"},{code:"FR-49",name:"Maine-et-Loire",parent:"FR-PDL"},{code:"FR-50",name:"Manche",parent:"FR-NOR"},{code:"FR-51",name:"Marne",parent:"FR-GES"},{code:"FR-52",name:"Haute-Marne",parent:"FR-GES"},{code:"FR-53",name:"Mayenne",parent:"FR-PDL"},{code:"FR-54",name:"Meurthe-et-Moselle",parent:"FR-GES"},{code:"FR-55",name:"Meuse",parent:"FR-GES"},{code:"FR-56",name:"Morbihan",parent:"FR-BRE"},{code:"FR-57",name:"Moselle",parent:"FR-GES"},{code:"FR-58",name:"Nièvre",parent:"FR-BFC"},{code:"FR-59",name:"Nord",parent:"FR-HDF"},{code:"FR-60",name:"Oise",parent:"FR-HDF"},{code:"FR-61",name:"Orne",parent:"FR-NOR"},{code:"FR-62",name:"Pas-de-Calais",parent:"FR-HDF"},{code:"FR-63",name:"Puy-de-Dôme",parent:"FR-ARA"},{code:"FR-64",name:"Pyrénées-Atlantiques",parent:"FR-NAQ"},{code:"FR-65",name:"Hautes-Pyrénées",parent:"FR-OCC"},{code:"FR-66",name:"Pyrénées-Orientales",parent:"FR-OCC"},{code:"FR-67",name:"Bas-Rhin",parent:"FR-6AE"},{code:"FR-68",name:"Haut-Rhin",parent:"FR-6AE"},{code:"FR-69",name:"Rhône",parent:"FR-ARA"},{code:"FR-69M",name:"Métropole de Lyon",parent:"FR-ARA"},{code:"FR-6AE",name:"Alsace",parent:"FR-GES"},{code:"FR-70",name:"Haute-Saône",parent:"FR-BFC"},{code:"FR-71",name:"Saône-et-Loire",parent:"FR-BFC"},{code:"FR-72",name:"Sarthe",parent:"FR-PDL"},{code:"FR-73",name:"Savoie",parent:"FR-ARA"},{code:"FR-74",name:"Haute-Savoie",parent:"FR-ARA"},{code:"FR-75C",name:"Paris",parent:"FR-IDF"},{code:"FR-76",name:"Seine-Maritime",parent:"FR-NOR"},{code:"FR-77",name:"Seine-et-Marne",parent:"FR-IDF"},{code:"FR-78",name:"Yvelines",parent:"FR-IDF"},{code:"FR-79",name:"Deux-Sèvres",parent:"FR-NAQ"},{code:"FR-80",name:"Somme",parent:"FR-HDF"},{code:"FR-81",name:"Tarn",parent:"FR-OCC"},{code:"FR-82",name:"Tarn-et-Garonne",parent:"FR-OCC"},{code:"FR-83",name:"Var",parent:"FR-PAC"},{code:"FR-84",name:"Vaucluse",parent:"FR-PAC"},{code:"FR-85",name:"Vendée",parent:"FR-PDL"},{code:"FR-86",name:"Vienne",parent:"FR-NAQ"},{code:"FR-87",name:"Haute-Vienne",parent:"FR-NAQ"},{code:"FR-88",name:"Vosges",parent:"FR-GES"},{code:"FR-89",name:"Yonne",parent:"FR-BFC"},{code:"FR-90",name:"Territoire de Belfort",parent:"FR-BFC"},{code:"FR-91",name:"Essonne",parent:"FR-IDF"},{code:"FR-92",name:"Hauts-de-Seine",parent:"FR-IDF"},{code:"FR-93",name:"Seine-Saint-Denis",parent:"FR-IDF"}
1323,{code:"FR-94",name:"Val-de-Marne",parent:"FR-IDF"},{code:"FR-95",name:"Val-d'Oise",parent:"FR-IDF"},{code:"FR-971",name:"Guadeloupe",parent:"FR"},{code:"FR-972",name:"Martinique",parent:"FR"},{code:"FR-973",name:"Guyane (française)",parent:"FR"},{code:"FR-974",name:"La Réunion",parent:"FR"},{code:"FR-976",name:"Mayotte",parent:"FR"},{code:"FR-ARA",name:"Auvergne-Rhône-Alpes",parent:"FR"},{code:"FR-BFC",name:"Bourgogne-Franche-Comté",parent:"FR"},{code:"FR-BL",name:"Saint-Barthélemy",parent:"FR"},{code:"FR-BRE",name:"Bretagne",parent:"FR"},{code:"FR-CP",name:"Clipperton",parent:"FR"},{code:"FR-CVL",name:"Centre-Val de Loire",parent:"FR"},{code:"FR-GES",name:"Grand-Est",parent:"FR"},{code:"FR-HDF",name:"Hauts-de-France",parent:"FR"},{code:"FR-IDF",name:"Île-de-France",parent:"FR"},{code:"FR-MF",name:"Saint-Martin",parent:"FR"},{code:"FR-NAQ",name:"Nouvelle-Aquitaine",parent:"FR"},{code:"FR-NC",name:"Nouvelle-Calédonie",parent:"FR"},{code:"FR-NOR",name:"Normandie",parent:"FR"},{code:"FR-OCC",name:"Occitanie",parent:"FR"},{code:"FR-PAC",name:"Provence-Alpes-Côte-d’Azur",parent:"FR"},{code:"FR-PDL",name:"Pays-de-la-Loire",parent:"FR"},{code:"FR-PF",name:"Polynésie française",parent:"FR"},{code:"FR-PM",name:"Saint-Pierre-et-Miquelon",parent:"FR"}
1323,{code:"FR-TF",name:"Terres australes françaises",parent:"FR"},{code:"FR-WF",name:"Wallis-et-Futuna",parent:"FR"},{code:"GA-1",name:"Estuaire",parent:"GA"},{code:"GA-2",name:"Haut-Ogooué",parent:"GA"},{code:"GA-3",name:"Moyen-Ogooué",parent:"GA"},{code:"GA-4",name:"Ngounié",parent:"GA"},{code:"GA-5",name:"Nyanga",parent:"GA"},{code:"GA-6",name:"Ogooué-Ivindo",parent:"GA"},{code:"GA-7",name:"Ogooué-Lolo",parent:"GA"},{code:"GA-8",name:"Ogooué-Maritime",parent:"GA"},{code:"GA-9",name:"Woleu-Ntem",parent:"GA"},{code:"GB-ABC",name:"Armagh City, Banbridge and Craigavon",parent:"GB-NIR"},{code:"GB-ABD",name:"Aberdeenshire",parent:"GB-SCT"},{code:"GB-ABE",name:"Aberdeen City",parent:"GB-SCT"},{code:"GB-AGB",name:"Argyll and Bute",parent:"GB-SCT"},{code:"GB-AGY",name:"Isle of Anglesey",parent:"GB-WLS"},{code:"GB-AND",name:"Ards and North Down",parent:"GB-NIR"},{code:"GB-ANN",name:"Antrim and Newtownabbey",parent:"GB-NIR"},{code:"GB-ANS",name:"Angus",parent:"GB-SCT"},{code:"GB-BAS",name:"Bath and North East Somerset",parent:"GB-ENG"},{code:"GB-BBD",name:"Blackburn with Darwen",parent:"GB-ENG"},{code:"GB-BCP",name:"Bournemouth, Christchurch and Poole",parent:"GB-ENG"},{code:"GB-BDF",name:"Bedford",parent:"GB-ENG"},{code:"GB-BDG",name:"Barking and Dagenham",parent:"GB-ENG"},{code:"GB-BEN",name:"Brent",parent:"GB-ENG"},{code:"GB-BEX",name:"Bexley",parent:"GB-ENG"},{code:"GB-BFS",name:"Belfast City",parent:"GB-NIR"},{code:"GB-BGE",name:"Bridgend",parent:"GB-WLS"},{code:"GB-BGW",name:"Blaenau Gwent",parent:"GB-WLS"},{code:"GB-BIR",name:"Birmingham",parent:"GB-ENG"},{code:"GB-BKM",name:"Buckinghamshire",parent:"GB-ENG"},{code:"GB-BNE",name:"Barnet",parent:"GB-ENG"},{code:"GB-BNH",name:"Brighton and Hove",parent:"GB-ENG"},{code:"GB-BNS",name:"Barnsley",parent:"GB-ENG"},{code:"GB-BOL",name:"Bolton",parent:"GB-ENG"},{code:"GB-BPL",name:"Blackpool",parent:"GB-ENG"},{code:"GB-BRC",name:"Bracknell Forest",parent:"GB-ENG"},{code:"GB-BRD",name:"Bradford",parent:"GB-ENG"},{code:"GB-BRY",name:"Bromley",parent:"GB-ENG"},{code:"GB-BST",name:"Bristol, City of",parent:"GB-ENG"},{code:"GB-BUR",name:"Bury",parent:"GB-ENG"},{code:"GB-CAM",name:"Cambridgeshire",parent:"GB-ENG"},{code:"GB-CAY",name:"Caerphilly",parent:"GB-WLS"},{code:"GB-CBF",name:"Central Bedfordshire",parent:"GB-ENG"},{code:"GB-CCG",name:"Causeway Coast and Glens",parent:"GB-NIR"},{code:"GB-CGN",name:"Ceredigion",parent:"GB-WLS"},{code:"GB-CHE",name:"Cheshire East",parent:"GB-ENG"},{code:"GB-CHW",name:"Cheshire West and Chester",parent:"GB-ENG"},{code:"GB-CLD",name:"Calderdale",parent:"GB-ENG"},{code:"GB-CLK",name:"Clackmannanshire",parent:"GB-SCT"},{code:"GB-CMA",name:"Cumbria",parent:"GB-ENG"},{code:"GB-CMD",name:"Camden",parent:"GB-ENG"},{code:"GB-CMN",name:"Carmarthenshire",parent:"GB-WLS"},{code:"GB-CON",name:"Cornwall",parent:"GB-ENG"},{code:"GB-COV",name:"Coventry",parent:"GB-ENG"},{code:"GB-CRF",name:"Cardiff",parent:"GB-WLS"},{code:"GB-CRY",name:"Croydon",parent:"GB-ENG"},{code:"GB-CWY",name:"Conwy",parent:"GB-WLS"},{code:"GB-DAL",name:"Darlington",parent:"GB-ENG"},{code:"GB-DBY",name:"Derbyshire",parent:"GB-ENG"},{code:"GB-DEN",name:"Denbighshire",parent:"GB-WLS"},{code:"GB-DER",name:"Derby",parent:"GB-ENG"},{code:"GB-DEV",name:"Devon",parent:"GB-ENG"},{code:"GB-DGY",name:"Dumfries and Galloway",parent:"GB-SCT"},{code:"GB-DNC",name:"Doncaster",parent:"GB-ENG"},{code:"GB-DND",name:"Dundee City",parent:"GB-SCT"},{code:"GB-DOR",name:"Dorset",parent:"GB-ENG"},{code:"GB-DRS",name:"Derry and Strabane",parent:"GB-NIR"},{code:"GB-DUD",name:"Dudley",parent:"GB-ENG"},{code:"GB-DUR",name:"Durham, County",parent:"GB-ENG"},{code:"GB-EAL",name:"Ealing",parent:"GB-ENG"},{code:"GB-EAW",name:"England and Wales",parent:"GB"},{code:"GB-EAY",name:"East Ayrshire",parent:"GB-SCT"},{code:"GB-EDH",name:"Edinburgh, City of",parent:"GB-SCT"},{code:"GB-EDU",name:"East Dunbartonshire",parent:"GB-SCT"},{code:"GB-ELN",name:"East Lothian",parent:"GB-SCT"},{code:"GB-ELS",name:"Eilean Siar",parent:"GB-SCT"},{code:"GB-ENF",name:"Enfield",parent:"GB-ENG"},{code:"GB-ENG",name:"England",parent:"GB"},{code:"GB-ERW",name:"East Renfrewshire",parent:"GB-SCT"},{code:"GB-ERY",name:"East Riding of Yorkshire",parent:"GB-ENG"},{code:"GB-ESS",name:"Essex",parent:"GB-ENG"}
1323,{code:"GB-ESX",name:"East Sussex",parent:"GB-ENG"},{code:"GB-FAL",name:"Falkirk",parent:"GB-SCT"},{code:"GB-FIF",name:"Fife",parent:"GB-SCT"},{code:"GB-FLN",name:"Flintshire",parent:"GB-WLS"},{code:"GB-FMO",name:"Fermanagh and Omagh",parent:"GB-NIR"},{code:"GB-GAT",name:"Gateshead",parent:"GB-ENG"},{code:"GB-GBN",name:"Great Britain",parent:"GB"},{code:"GB-GLG",name:"Glasgow City",parent:"GB-SCT"},{code:"GB-GLS",name:"Gloucestershire",parent:"GB-ENG"},{code:"GB-GRE",name:"Greenwich",parent:"GB-ENG"},{code:"GB-GWN",name:"Gwynedd",parent:"GB-WLS"},{code:"GB-HAL",name:"Halton",parent:"GB-ENG"},{code:"GB-HAM",name:"Hampshire",parent:"GB-ENG"},{code:"GB-HAV",name:"Havering",parent:"GB-ENG"},{code:"GB-HCK",name:"Hackney",parent:"GB-ENG"},{code:"GB-HEF",name:"Herefordshire",parent:"GB-ENG"},{code:"GB-HIL",name:"Hillingdon",parent:"GB-ENG"},{code:"GB-HLD",name:"Highland",parent:"GB-SCT"},{code:"GB-HMF",name:"Hammersmith and Fulham",parent:"GB-ENG"},{code:"GB-HNS",name:"Hounslow",parent:"GB-ENG"},{code:"GB-HPL",name:"Hartlepool",parent:"GB-ENG"},{code:"GB-HRT",name:"Hertfordshire",parent:"GB-ENG"},{code:"GB-HRW",name:"Harrow",parent:"GB-ENG"},{code:"GB-HRY",name:"Haringey",parent:"GB-ENG"},{code:"GB-IOS",name:"Isles of Scilly",parent:"GB-ENG"},{code:"GB-IOW",name:"Isle of Wight",parent:"GB-ENG"},{code:"GB-ISL",name:"Islington",parent:"GB-ENG"},{code:"GB-IVC",name:"Inverclyde",parent:"GB-SCT"},{code:"GB-KEC",name:"Kensington and Chelsea",parent:"GB-ENG"},{code:"GB-KEN",name:"Kent",parent:"GB-ENG"},{code:"GB-KHL",name:"Kingston upon Hull",parent:"GB-ENG"},{code:"GB-KIR",name:"Kirklees",parent:"GB-ENG"},{code:"GB-KTT",name:"Kingston upon Thames",parent:"GB-ENG"},{code:"GB-KWL",name:"Knowsley",parent:"GB-ENG"},{code:"GB-LAN",name:"Lancashire",parent:"GB-ENG"},{code:"GB-LBC",name:"Lisburn and Castlereagh",parent:"GB-NIR"},{code:"GB-LBH",name:"Lambeth",parent:"GB-ENG"},{code:"GB-LCE",name:"Leicester",parent:"GB-ENG"},{code:"GB-LDS",name:"Leeds",parent:"GB-ENG"},{code:"GB-LEC",name:"Leicestershire",parent:"GB-ENG"},{code:"GB-LEW",name:"Lewisham",parent:"GB-ENG"},{code:"GB-LIN",name:"Lincolnshire",parent:"GB-ENG"},{code:"GB-LIV",name:"Liverpool",parent:"GB-ENG"},{code:"GB-LND",name:"London, City of",parent:"GB-ENG"},{code:"GB-LUT",name:"Luton",parent:"GB-ENG"},{code:"GB-MAN",name:"Manchester",parent:"GB-ENG"},{code:"GB-MDB",name:"Middlesbrough",parent:"GB-ENG"},{code:"GB-MDW",name:"Medway",parent:"GB-ENG"},{code:"GB-MEA",name:"Mid and East Antrim",parent:"GB-NIR"},{code:"GB-MIK",name:"Milton Keynes",parent:"GB-ENG"},{code:"GB-MLN",name:"Midlothian",parent:"GB-SCT"},{code:"GB-MON",name:"Monmouthshire",parent:"GB-WLS"},{code:"GB-MRT",name:"Merton",parent:"GB-ENG"},{code:"GB-MRY",name:"Moray",parent:"GB-SCT"},{code:"GB-MTY",name:"Merthyr Tydfil",parent:"GB-WLS"},{code:"GB-MUL",name:"Mid-Ulster",parent:"GB-NIR"},{code:"GB-NAY",name:"North Ayrshire",parent:"GB-SCT"},{code:"GB-NBL",name:"Northumberland",parent:"GB-ENG"},{code:"GB-NEL",name:"North East Lincolnshire",parent:"GB-ENG"},{code:"GB-NET",name:"Newcastle upon Tyne",parent:"GB-ENG"},{code:"GB-NFK",name:"Norfolk",parent:"GB-ENG"},{code:"GB-NGM",name:"Nottingham",parent:"GB-ENG"},{code:"GB-NIR",name:"Northern Ireland",parent:"GB"},{code:"GB-NLK",name:"North Lanarkshire",parent:"GB-SCT"},{code:"GB-NLN",name:"North Lincolnshire",parent:"GB-ENG"},{code:"GB-NMD",name:"Newry, Mourne and Down",parent:"GB-NIR"},{code:"GB-NNH",name:"North Northamptonshire",parent:"GB-ENG"},{code:"GB-NSM",name:"North Somerset",parent:"GB-ENG"},{code:"GB-NTL",name:"Neath Port Talbot",parent:"GB-WLS"},{code:"GB-NTT",name:"Nottinghamshire",parent:"GB-ENG"},{code:"GB-NTY",name:"North Tyneside",parent:"GB-ENG"},{code:"GB-NWM",name:"Newham",parent:"GB-ENG"},{code:"GB-NWP",name:"Newport",parent:"GB-WLS"},{code:"GB-NYK",name:"North Yorkshire",parent:"GB-ENG"},{code:"GB-OLD",name:"Oldham",parent:"GB-ENG"},{code:"GB-ORK",name:"Orkney Islands",parent:"GB-SCT"},{code:"GB-OXF",name:"Oxfordshire",parent:"GB-ENG"},{code:"GB-PEM",name:"Pembrokeshire",parent:"GB-WLS"},{code:"GB-PKN",name:"Perth and Kinross",parent:"GB-SCT"},{code:"GB-PLY",name:"Plymouth",parent:"GB-ENG"},{code:"GB-POR",name:"Portsmouth",parent:"GB-ENG"},{code:"GB-POW",name:"Powys",parent:"GB-WLS"},{code:"GB-PTE",name:"Peterborough",parent:"GB-ENG"},{code:"GB-RCC",name:"Redcar and Cleveland",parent:"GB-ENG"},{code:"GB-RCH",name:"Rochdale",parent:"GB-ENG"},{code:"GB-RCT",name:"Rhondda Cynon Taff",parent:"GB-WLS"},{code:"GB-RDB",name:"Redbridge",parent:"GB-ENG"},{code:"GB-RDG",name:"Reading",parent:"GB-ENG"},{code:"GB-RFW",name:"Renfrewshire",parent:"GB-SCT"},{code:"GB-RIC",name:"Richmond upon Thames",parent:"GB-ENG"},{code:"GB-ROT",name:"Rotherham",parent:"GB-ENG"},{code:"GB-RUT",name:"Rutland",parent:"GB-ENG"},{code:"GB-SAW",name:"Sandwell",parent:"GB-ENG"},{code:"GB-SAY",name:"South Ayrshire",parent:"GB-SCT"},{code:"GB-SCB",name:"Scottish Borders",parent:"GB-SCT"},{code:"GB-SCT",name:"Scotland",parent:"GB"},{code:"GB-SFK",name:"Suffolk",parent:"GB-ENG"},{code:"GB-SFT",name:"Sefton",parent:"GB-ENG"},{code:"GB-SGC",name:"South Gloucestershire",parent:"GB-ENG"},{code:"GB-SHF",name:"Sheffield",parent:"GB-ENG"},{code:"GB-SHN",name:"St. Helens",parent:"GB-ENG"},{code:"GB-SHR",name:"Shropshire",parent:"GB-ENG"},{code:"GB-SKP",name:"Stockport",parent:"GB-ENG"},{code:"GB-SLF",name:"Salford",parent:"GB-ENG"},{code:"GB-SLG",name:"Slough",parent:"GB-ENG"},{code:"GB-SLK",name:"South Lanarkshire",parent:"GB-SCT"},{code:"GB-SND",name:"Sunderland",parent:"GB-ENG"},{code:"GB-SOL",name:"Solihull",parent:"GB-ENG"},{code:"GB-SOM",name:"Somerset",parent:"GB-ENG"},{code:"GB-SOS",name:"Southend-on-Sea",parent:"GB-ENG"},{code:"GB-SRY",name:"Surrey",parent:"GB-ENG"},{code:"GB-STE",name:"Stoke-on-Trent",parent:"GB-ENG"},{code:"GB-STG",name:"Stirling",parent:"GB-SCT"},{code:"GB-STH",name:"Southampton",parent:"GB-ENG"},{code:"GB-STN",name:"Sutton",parent:"GB-ENG"},{code:"GB-STS",name:"Staffordshire",parent:"GB-ENG"},{code:"GB-STT",name:"Stockton-on-Tees",parent:"GB-ENG"},{code:"GB-STY",name:"South Tyneside",parent:"GB-ENG"},{code:"GB-SWA",name:"Swansea",parent:"GB-WLS"},{code:"GB-SWD",name:"Swindon",parent:"GB-ENG"},{code:"GB-SWK",name:"Southwark",parent:"GB-ENG"},{code:"GB-TAM",name:"Tameside",parent:"GB-ENG"},{code:"GB-TFW",name:"Telford and Wrekin",parent:"GB-ENG"},{code:"GB-THR",name:"Thurrock",parent:"GB-ENG"},{code:"GB-TOB",name:"Torbay",parent:"GB-ENG"},{code:"GB-TOF",name:"Torfaen",parent:"GB-WLS"},{code:"GB-TRF",name:"Trafford",parent:"GB-ENG"},{code:"GB-TWH",name:"Tower Hamlets",parent:"GB-ENG"},{code:"GB-UKM",name:"United Kingdom",parent:"GB"},{code:"GB-VGL",name:"Vale of Glamorgan, The",parent:"GB-WLS"},{code:"GB-WAR",name:"Warwickshire",parent:"GB-ENG"},{code:"GB-WBK",name:"West Berkshire",parent:"GB-ENG"},{code:"GB-WDU",name:"West Dunbartonshire",parent:"GB-SCT"},{code:"GB-WFT",name:"Waltham Forest",parent:"GB-ENG"},{code:"GB-WGN",name:"Wigan",parent:"GB-ENG"},{code:"GB-WIL",name:"Wiltshire",parent:"GB-ENG"},{code:"GB-WKF",name:"Wakefield",parent:"GB-ENG"},{code:"GB-WLL",name:"Walsall",parent:"GB-ENG"},{code:"GB-WLN",name:"West Lothian",parent:"GB-SCT"},{code:"GB-WLS",name:"Wales",parent:"GB"},{code:"GB-WLV",name:"Wolverhampton",parent:"GB-ENG"},{code:"GB-WND",name:"Wandsworth",parent:"GB-ENG"},{code:"GB-WNH",name:"West Northamptonshire",parent:"GB-ENG"},{code:"GB-WNM",name:"Windsor and Maidenhead",parent:"GB-ENG"},{code:"GB-WOK",name:"Wokingham",parent:"GB-ENG"},{code:"GB-WOR",name:"Worcestershire",parent:"GB-ENG"},{code:"GB-WRL",name:"Wirral",parent:"GB-ENG"}
1323,{code:"GB-WRT",name:"Warrington",parent:"GB-ENG"},{code:"GB-WRX",name:"Wrexham",parent:"GB-WLS"},{code:"GB-WSM",name:"Westminster",parent:"GB-ENG"},{code:"GB-WSX",name:"West Sussex",parent:"GB-ENG"},{code:"GB-YOR",name:"York",parent:"GB-ENG"},{code:"GB-ZET",name:"Shetland Islands",parent:"GB-SCT"},{code:"GD-01",name:"Saint Andrew",parent:"GD"},{code:"GD-02",name:"Saint David",parent:"GD"},{code:"GD-03",name:"Saint George",parent:"GD"},{code:"GD-04",name:"Saint John",parent:"GD"},{code:"GD-05",name:"Saint Mark",parent:"GD"},{code:"GD-06",name:"Saint Patrick",parent:"GD"},{code:"GD-10",name:"Southern Grenadine Islands",parent:"GD"},{code:"GE-AB",name:"Abkhazia",parent:"GE"},{code:"GE-AJ",name:"Ajaria",parent:"GE"},{code:"GE-GU",name:"Guria",parent:"GE"},{code:"GE-IM",name:"Imereti",parent:"GE"},{code:"GE-KA",name:"K'akheti",parent:"GE"},{code:"GE-KK",name:"Kvemo Kartli",parent:"GE"},{code:"GE-MM",name:"Mtskheta-Mtianeti",parent:"GE"},{code:"GE-RL",name:"Rach'a-Lechkhumi-Kvemo Svaneti",parent:"GE"},{code:"GE-SJ",name:"Samtskhe-Javakheti",parent:"GE"},{code:"GE-SK",name:"Shida Kartli",parent:"GE"},{code:"GE-SZ",name:"Samegrelo-Zemo Svaneti",parent:"GE"},{code:"GE-TB",name:"Tbilisi",parent:"GE"},{code:"GH-AA",name:"Greater Accra",parent:"GH"},{code:"GH-AF",name:"Ahafo",parent:"GH"},{code:"GH-AH",name:"Ashanti",parent:"GH"},{code:"GH-BA",name:"Brong-Ahafo",parent:"GH"},{code:"GH-BE",name:"Bono East",parent:"GH"},{code:"GH-BO",name:"Bono",parent:"GH"},{code:"GH-CP",name:"Central",parent:"GH"},{code:"GH-EP",name:"Eastern",parent:"GH"},{code:"GH-NE",name:"North East",parent:"GH"},{code:"GH-NP",name:"Northern",parent:"GH"},{code:"GH-OT",name:"Oti",parent:"GH"},{code:"GH-SV",name:"Savannah",parent:"GH"},{code:"GH-TV",name:"Volta",parent:"GH"},{code:"GH-UE",name:"Upper East",parent:"GH"},{code:"GH-UW",name:"Upper West",parent:"GH"},{code:"GH-WN",name:"Western North",parent:"GH"},{code:"GH-WP",name:"Western",parent:"GH"},{code:"GL-AV",name:"Avannaata Kommunia",parent:"GL"},{code:"GL-KU",name:"Kommune Kujalleq",parent:"GL"},{code:"GL-QE",name:"Qeqqata Kommunia",parent:"GL"},{code:"GL-QT",name:"Kommune Qeqertalik",parent:"GL"},{code:"GL-SM",name:"Kommuneqarfik Sermersooq",parent:"GL"},{code:"GM-B",name:"Banjul",parent:"GM"},{code:"GM-L",name:"Lower River",parent:"GM"},{code:"GM-M",name:"Central River",parent:"GM"},{code:"GM-N",name:"North Bank",parent:"GM"},{code:"GM-U",name:"Upper River",parent:"GM"},{code:"GM-W",name:"Western",parent:"GM"},{code:"GN-B",name:"Boké",parent:"GN"},{code:"GN-BE",name:"Beyla",parent:"GN-N"},{code:"GN-BF",name:"Boffa",parent:"GN-B"},{code:"GN-BK",name:"Boké",parent:"GN-B"},{code:"GN-C",name:"Conakry",parent:"GN"},{code:"GN-CO",name:"Coyah",parent:"GN-D"},{code:"GN-D",name:"Kindia",parent:"GN"},{code:"GN-DB",name:"Dabola",parent:"GN-F"},{code:"GN-DI",name:"Dinguiraye",parent:"GN-F"},{code:"GN-DL",name:"Dalaba",parent:"GN-M"},{code:"GN-DU",name:"Dubréka",parent:"GN-D"},{code:"GN-F",name:"Faranah",parent:"GN"},{code:"GN-FA",name:"Faranah",parent:"GN-F"},{code:"GN-FO",name:"Forécariah",parent:"GN-D"},{code:"GN-FR",name:"Fria",parent:"GN-B"},{code:"GN-GA",name:"Gaoual",parent:"GN-B"},{code:"GN-GU",name:"Guékédou",parent:"GN-N"},{code:"GN-K",name:"Kankan",parent:"GN"},{code:"GN-KA",name:"Kankan",parent:"GN-K"},{code:"GN-KB",name:"Koubia",parent:"GN-L"},{code:"GN-KD",name:"Kindia",parent:"GN-D"},{code:"GN-KE",name:"Kérouané",parent:"GN-K"},{code:"GN-KN",name:"Koundara",parent:"GN-B"},{code:"GN-KO",name:"Kouroussa",parent:"GN-K"},{code:"GN-KS",name:"Kissidougou",parent:"GN-F"},{code:"GN-L",name:"Labé",parent:"GN"},{code:"GN-LA",name:"Labé",parent:"GN-L"},{code:"GN-LE",name:"Lélouma",parent:"GN-L"},{code:"GN-LO",name:"Lola",parent:"GN-N"},{code:"GN-M",name:"Mamou",parent:"GN"},{code:"GN-MC",name:"Macenta",parent:"GN-N"},{code:"GN-MD",name:"Mandiana",parent:"GN-K"},{code:"GN-ML",name:"Mali",parent:"GN-L"},{code:"GN-MM",name:"Mamou",parent:"GN-M"},{code:"GN-N",name:"Nzérékoré",parent:"GN"},{code:"GN-NZ",name:"Nzérékoré",parent:"GN-N"},{code:"GN-PI",name:"Pita",parent:"GN-M"},{code:"GN-SI",name:"Siguiri",parent:"GN-K"},{code:"GN-TE",name:"Télimélé",parent:"GN-D"},{code:"GN-TO",name:"Tougué",parent:"GN-L"},{code:"GN-YO",name:"Yomou",parent:"GN-N"},{code:"GQ-AN",name:"Annobón",parent:"GQ-I"},{code:"GQ-BN",name:"Bioko Norte",parent:"GQ-I"},{code:"GQ-BS",name:"Bioko Sur",parent:"GQ-I"},{code:"GQ-C",name:"Región Continental",parent:"GQ"},{code:"GQ-CS",name:"Centro Sur",parent:"GQ-C"},{code:"GQ-DJ",name:"Djibloho",parent:"GQ-C"},{code:"GQ-I",name:"Región Insular",parent:"GQ"},{code:"GQ-KN",name:"Kié-Ntem",parent:"GQ-C"},{code:"GQ-LI",name:"Litoral",parent:"GQ-C"},{code:"GQ-WN",name:"Wele-Nzas",parent:"GQ-C"},{code:"GR-69",name:"Ágion Óros",parent:"GR"},{code:"GR-A",name:"Anatolikí Makedonía kai Thráki",parent:"GR"},{code:"GR-B",name:"Kentrikí Makedonía",parent:"GR"},{code:"GR-C",name:"Dytikí Makedonía",parent:"GR"},{code:"GR-D",name:"Ípeiros",parent:"GR"},{code:"GR-E",name:"Thessalía",parent:"GR"},{code:"GR-F",name:"Ionía Nísia",parent:"GR"},{code:"GR-G",name:"Dytikí Elláda",parent:"GR"}
1323,{code:"GR-H",name:"Stereá Elláda",parent:"GR"},{code:"GR-I",name:"Attikí",parent:"GR"},{code:"GR-J",name:"Pelopónnisos",parent:"GR"},{code:"GR-K",name:"Vóreio Aigaío",parent:"GR"},{code:"GR-L",name:"Nótio Aigaío",parent:"GR"},{code:"GR-M",name:"Kríti",parent:"GR"},{code:"GT-01",name:"Guatemala",parent:"GT"},{code:"GT-02",name:"El Progreso",parent:"GT"},{code:"GT-03",name:"Sacatepéquez",parent:"GT"},{code:"GT-04",name:"Chimaltenango",parent:"GT"},{code:"GT-05",name:"Escuintla",parent:"GT"},{code:"GT-06",name:"Santa Rosa",parent:"GT"},{code:"GT-07",name:"Sololá",parent:"GT"},{code:"GT-08",name:"Totonicapán",parent:"GT"},{code:"GT-09",name:"Quetzaltenango",parent:"GT"},{code:"GT-10",name:"Suchitepéquez",parent:"GT"},{code:"GT-11",name:"Retalhuleu",parent:"GT"},{code:"GT-12",name:"San Marcos",parent:"GT"},{code:"GT-13",name:"Huehuetenango",parent:"GT"},{code:"GT-14",name:"Quiché",parent:"GT"},{code:"GT-15",name:"Baja Verapaz",parent:"GT"},{code:"GT-16",name:"Alta Verapaz",parent:"GT"},{code:"GT-17",name:"Petén",parent:"GT"},{code:"GT-18",name:"Izabal",parent:"GT"},{code:"GT-19",name:"Zacapa",parent:"GT"},{code:"GT-20",name:"Chiquimula",parent:"GT"},{code:"GT-21",name:"Jalapa",parent:"GT"},{code:"GT-22",name:"Jutiapa",parent:"GT"},{code:"GW-BA",name:"Bafatá",parent:"GW-L"},{code:"GW-BL",name:"Bolama / Bijagós",parent:"GW-S"},{code:"GW-BM",name:"Biombo",parent:"GW-N"},{code:"GW-BS",name:"Bissau",parent:"GW"},{code:"GW-CA",name:"Cacheu",parent:"GW-N"},{code:"GW-GA",name:"Gabú",parent:"GW-L"},{code:"GW-L",name:"Leste",parent:"GW"},{code:"GW-N",name:"Norte",parent:"GW"},{code:"GW-OI",name:"Oio",parent:"GW-N"},{code:"GW-QU",name:"Quinara",parent:"GW-S"},{code:"GW-S",name:"Sul",parent:"GW"},{code:"GW-TO",name:"Tombali",parent:"GW-S"},{code:"GY-BA",name:"Barima-Waini",parent:"GY"},{code:"GY-CU",name:"Cuyuni-Mazaruni",parent:"GY"},{code:"GY-DE",name:"Demerara-Mahaica",parent:"GY"},{code:"GY-EB",name:"East Berbice-Corentyne",parent:"GY"},{code:"GY-ES",name:"Essequibo Islands-West Demerara",parent:"GY"},{code:"GY-MA",name:"Mahaica-Berbice",parent:"GY"},{code:"GY-PM",name:"Pomeroon-Supenaam",parent:"GY"},{code:"GY-PT",name:"Potaro-Siparuni",parent:"GY"},{code:"GY-UD",name:"Upper Demerara-Berbice",parent:"GY"},{code:"GY-UT",name:"Upper Takutu-Upper Essequibo",parent:"GY"},{code:"HN-AT",name:"Atlántida",parent:"HN"},{code:"HN-CH",name:"Choluteca",parent:"HN"},{code:"HN-CL",name:"Colón",parent:"HN"},{code:"HN-CM",name:"Comayagua",parent:"HN"},{code:"HN-CP",name:"Copán",parent:"HN"},{code:"HN-CR",name:"Cortés",parent:"HN"},{code:"HN-EP",name:"El Paraíso",parent:"HN"},{code:"HN-FM",name:"Francisco Morazán",parent:"HN"},{code:"HN-GD",name:"Gracias a Dios",parent:"HN"},{code:"HN-IB",name:"Islas de la Bahía",parent:"HN"},{code:"HN-IN",name:"Intibucá",parent:"HN"},{code:"HN-LE",name:"Lempira",parent:"HN"},{code:"HN-LP",name:"La Paz",parent:"HN"},{code:"HN-OC",name:"Ocotepeque",parent:"HN"},{code:"HN-OL",name:"Olancho",parent:"HN"},{code:"HN-SB",name:"Santa Bárbara",parent:"HN"},{code:"HN-VA",name:"Valle",parent:"HN"},{code:"HN-YO",name:"Yoro",parent:"HN"},{code:"HR-01",name:"Zagrebačka županija",parent:"HR"},{code:"HR-02",name:"Krapinsko-zagorska županija",parent:"HR"},{code:"HR-03",name:"Sisačko-moslavačka županija",parent:"HR"},{code:"HR-04",name:"Karlovačka županija",parent:"HR"},{code:"HR-05",name:"Varaždinska županija",parent:"HR"},{code:"HR-06",name:"Koprivničko-križevačka županija",parent:"HR"},{code:"HR-07",name:"Bjelovarsko-bilogorska županija",parent:"HR"},{code:"HR-08",name:"Primorsko-goranska županija",parent:"HR"},{code:"HR-09",name:"Ličko-senjska županija",parent:"HR"},{code:"HR-10",name:"Virovitičko-podravska županija",parent:"HR"},{code:"HR-11",name:"Požeško-slavonska županija",parent:"HR"},{code:"HR-12",name:"Brodsko-posavska županija",parent:"HR"},{code:"HR-13",name:"Zadarska županija",parent:"HR"},{code:"HR-14",name:"Osječko-baranjska županija",parent:"HR"},{code:"HR-15",name:"Šibensko-kninska županija",parent:"HR"},{code:"HR-16",name:"Vukovarsko-srijemska županija",parent:"HR"},{code:"HR-17",name:"Splitsko-dalmatinska županija",parent:"HR"}
1323,{code:"HR-18",name:"Istarska županija",parent:"HR"},{code:"HR-19",name:"Dubrovačko-neretvanska županija",parent:"HR"},{code:"HR-20",name:"Međimurska županija",parent:"HR"},{code:"HR-21",name:"Grad Zagreb",parent:"HR"},{code:"HT-AR",name:"Artibonite",parent:"HT"},{code:"HT-CE",name:"Centre",parent:"HT"},{code:"HT-GA",name:"Grande’Anse",parent:"HT"},{code:"HT-ND",name:"Nord",parent:"HT"},{code:"HT-NE",name:"Nord-Est",parent:"HT"},{code:"HT-NI",name:"Nippes",parent:"HT"},{code:"HT-NO",name:"Nord-Ouest",parent:"HT"},{code:"HT-OU",name:"Ouest",parent:"HT"},{code:"HT-SD",name:"Sud",parent:"HT"},{code:"HT-SE",name:"Sud-Est",parent:"HT"},{code:"HU-BA",name:"Baranya",parent:"HU"},{code:"HU-BC",name:"Békéscsaba",parent:"HU"},{code:"HU-BE",name:"Békés",parent:"HU"},{code:"HU-BK",name:"Bács-Kiskun",parent:"HU"},{code:"HU-BU",name:"Budapest",parent:"HU"},{code:"HU-BZ",name:"Borsod-Abaúj-Zemplén",parent:"HU"},{code:"HU-CS",name:"Csongrád-Csanád",parent:"HU"},{code:"HU-DE",name:"Debrecen",parent:"HU"},{code:"HU-DU",name:"Dunaújváros",parent:"HU"},{code:"HU-EG",name:"Eger",parent:"HU"},{code:"HU-ER",name:"Érd",parent:"HU"},{code:"HU-FE",name:"Fejér",parent:"HU"},{code:"HU-GS",name:"Győr-Moson-Sopron",parent:"HU"},{code:"HU-GY",name:"Győr",parent:"HU"},{code:"HU-HB",name:"Hajdú-Bihar",parent:"HU"},{code:"HU-HE",name:"Heves",parent:"HU"},{code:"HU-HV",name:"Hódmezővásárhely",parent:"HU"},{code:"HU-JN",name:"Jász-Nagykun-Szolnok",parent:"HU"},{code:"HU-KE",name:"Komárom-Esztergom",parent:"HU"},{code:"HU-KM",name:"Kecskemét",parent:"HU"},{code:"HU-KV",name:"Kaposvár",parent:"HU"},{code:"HU-MI",name:"Miskolc",parent:"HU"},{code:"HU-NK",name:"Nagykanizsa",parent:"HU"},{code:"HU-NO",name:"Nógrád",parent:"HU"},{code:"HU-NY",name:"Nyíregyháza",parent:"HU"},{code:"HU-PE",name:"Pest",parent:"HU"},{code:"HU-PS",name:"Pécs",parent:"HU"},{code:"HU-SD",name:"Szeged",parent:"HU"},{code:"HU-SF",name:"Székesfehérvár",parent:"HU"},{code:"HU-SH",name:"Szombathely",parent:"HU"},{code:"HU-SK",name:"Szolnok",parent:"HU"},{code:"HU-SN",name:"Sopron",parent:"HU"},{code:"HU-SO",name:"Somogy",parent:"HU"},{code:"HU-SS",name:"Szekszárd",parent:"HU"},{code:"HU-ST",name:"Salgótarján",parent:"HU"},{code:"HU-SZ",name:"Szabolcs-Szatmár-Bereg",parent:"HU"},{code:"HU-TB",name:"Tatabánya",parent:"HU"},{code:"HU-TO",name:"Tolna",parent:"HU"},{code:"HU-VA",name:"Vas",parent:"HU"},{code:"HU-VE",name:"Veszprém",parent:"HU"},{code:"HU-VM",name:"Veszprém",parent:"HU"},{code:"HU-ZA",name:"Zala",parent:"HU"},{code:"HU-ZE",name:"Zalaegerszeg",parent:"HU"},{code:"ID-AC",name:"Aceh",parent:"ID-SM"},{code:"ID-BA",name:"Bali",parent:"ID-NU"},{code:"ID-BB",name:"Kepulauan Bangka Belitung",parent:"ID-SM"},{code:"ID-BE",name:"Bengkulu",parent:"ID-SM"},{code:"ID-BT",name:"Banten",parent:"ID-JW"},{code:"ID-GO",name:"Gorontalo",parent:"ID-SL"},{code:"ID-JA",name:"Jambi",parent:"ID-SM"},{code:"ID-JB",name:"Jawa Barat",parent:"ID-JW"},{code:"ID-JI",name:"Jawa Timur",parent:"ID-JW"},{code:"ID-JK",name:"Jakarta Raya",parent:"ID-JW"},{code:"ID-JT",name:"Jawa Tengah",parent:"ID-JW"},{code:"ID-JW",name:"Jawa",parent:"ID"},{code:"ID-KA",name:"Kalimantan",parent:"ID"},{code:"ID-KB",name:"Kalimantan Barat",parent:"ID-KA"},{code:"ID-KI",name:"Kalimantan Timur",parent:"ID-KA"},{code:"ID-KR",name:"Kepulauan Riau",parent:"ID-SM"},{code:"ID-KS",name:"Kalimantan Selatan",parent:"ID-KA"},{code:"ID-KT",name:"Kalimantan Tengah",parent:"ID-KA"},{code:"ID-KU",name:"Kalimantan Utara",parent:"ID-KA"},{code:"ID-LA",name:"Lampung",parent:"ID-SM"},{code:"ID-MA",name:"Maluku",parent:"ID-ML"},{code:"ID-ML",name:"Maluku",parent:"ID"},{code:"ID-MU",name:"Maluku Utara",parent:"ID-ML"},{code:"ID-NB",name:"Nusa Tenggara Barat",parent:"ID-NU"},{code:"ID-NT",name:"Nusa Tenggara Timur",parent:"ID-NU"},{code:"ID-NU",name:"Nusa Tenggara",parent:"ID"},{code:"ID-PA",name:"Papua",parent:"ID-PP"},{code:"ID-PB",name:"Papua Barat",parent:"ID-PP"},{code:"ID-PE",name:"Papua Pengunungan",parent:"ID-PP"},{code:"ID-PP",name:"Papua",parent:"ID"},{code:"ID-PS",name:"Papua Selatan",parent:"ID-PP"},{code:"ID-PT",name:"Papua Tengah",parent:"ID-PP"},{code:"ID-RI",name:"Riau",parent:"ID-SM"},{code:"ID-SA",name:"Sulawesi Utara",parent:"ID-SL"},{code:"ID-SB",name:"Sumatera Barat",parent:"ID-SM"},{code:"ID-SG",name:"Sulawesi Tenggara",parent:"ID-SL"},{code:"ID-SL",name:"Sulawesi",parent:"ID"},{code:"ID-SM",name:"Sumatera",parent:"ID"},{code:"ID-SN",name:"Sulawesi Selatan",parent:"ID-SL"},{code:"ID-SR",name:"Sulawesi Barat",parent:"ID-SL"},{code:"ID-SS",name:"Sumatera Selatan",parent:"ID-SM"},{code:"ID-ST",name:"Sulawesi Tengah",parent:"ID-SL"},{code:"ID-SU",name:"Sumatera Utara",parent:"ID-SM"},{code:"ID-YO",name:"Yogyakarta",parent:"ID-JW"},{code:"IE-C",name:"Connaught",parent:"IE"},{code:"IE-CE",name:"Clare",parent:"IE-M"},{code:"IE-CN",name:"Cavan",parent:"IE-U"},{code:"IE-CO",name:"Cork",parent:"IE-M"},{code:"IE-CW",name:"Carlow",parent:"IE-L"},{code:"IE-D",name:"Dublin",parent:"IE-L"},{code:"IE-DL",name:"Donegal",parent:"IE-U"},{code:"IE-G",name:"Galway",parent:"IE-C"},{code:"IE-KE",name:"Kildare",parent:"IE-L"},{code:"IE-KK",name:"Kilkenny",parent:"IE-L"},{code:"IE-KY",name:"Kerry",parent:"IE-M"},{code:"IE-L",name:"Leinster",parent:"IE"},{code:"IE-LD",name:"Longford",parent:"IE-L"},{code:"IE-LH",name:"Louth",parent:"IE-L"},{code:"IE-LK",name:"Limerick",parent:"IE-M"},{code:"IE-LM",name:"Leitrim",parent:"IE-C"},{code:"IE-LS",name:"Laois",parent:"IE-L"},{code:"IE-M",name:"Munster",parent:"IE"},{code:"IE-MH",name:"Meath",parent:"IE-L"},{code:"IE-MN",name:"Monaghan",parent:"IE-U"},{code:"IE-MO",name:"Mayo",parent:"IE-C"},{code:"IE-OY",name:"Offaly",parent:"IE-L"},{code:"IE-RN",name:"Roscommon",parent:"IE-C"},{code:"IE-SO",name:"Sligo",parent:"IE-C"},{code:"IE-TA",name:"Tipperary",parent:"IE-M"},{code:"IE-U",name:"Ulster",parent:"IE"},{code:"IE-WD",name:"Waterford",parent:"IE-M"},{code:"IE-WH",name:"Westmeath",parent:"IE-L"},{code:"IE-WW",name:"Wicklow",parent:"IE-L"},{code:"IE-WX",name:"Wexford",parent:"IE-L"},{code:"IL-D",name:"HaDarom",parent:"IL"},{code:"IL-HA",name:"H̱efa",parent:"IL"},{code:"IL-JM",name:"Yerushalayim",parent:"IL"},{code:"IL-M",name:"HaMerkaz",parent:"IL"},{code:"IL-TA",name:"Tel Aviv",parent:"IL"},{code:"IL-Z",name:"HaTsafon",parent:"IL"},{code:"IN-AN",name:"Andaman and Nicobar Islands",parent:"IN"},{code:"IN-AP",name:"Andhra Pradesh",parent:"IN"},{code:"IN-AR",name:"Arunāchal Pradesh",parent:"IN"},{code:"IN-AS",name:"Assam",parent:"IN"},{code:"IN-BR",name:"Bihār",parent:"IN"},{code:"IN-CH",name:"Chandīgarh",parent:"IN"},{code:"IN-CT",name:"Chhattīsgarh",parent:"IN"},{code:"IN-DH",name:"Dādra and Nagar Haveli and Damān and Diu",parent:"IN"},{code:"IN-DL",name:"Delhi",parent:"IN"},{code:"IN-GA",name:"Goa",parent:"IN"},{code:"IN-GJ",name:"Gujarāt",parent:"IN"},{code:"IN-HP",name:"Himāchal Pradesh",parent:"IN"},{code:"IN-HR",name:"Haryāna",parent:"IN"},{code:"IN-JH",name:"Jhārkhand",parent:"IN"},{code:"IN-JK",name:"Jammu and Kashmīr",parent:"IN"},{code:"IN-KA",name:"Karnātaka",parent:"IN"},{code:"IN-KL",name:"Kerala",parent:"IN"},{code:"IN-LA",name:"Ladākh",parent:"IN"},{code:"IN-LD",name:"Lakshadweep",parent:"IN"},{code:"IN-MH",name:"Mahārāshtra",parent:"IN"},{code:"IN-ML",name:"Meghālaya",parent:"IN"},{code:"IN-MN",name:"Manipur",parent:"IN"},{code:"IN-MP",name:"Madhya Pradesh",parent:"IN"},{code:"IN-MZ",name:"Mizoram",parent:"IN"},{code:"IN-NL",name:"Nāgāland",parent:"IN"},{code:"IN-OR",name:"Odisha",parent:"IN"},{code:"IN-PB",name:"Punjab",parent:"IN"},{code:"IN-PY",name:"Puducherry",parent:"IN"},{code:"IN-RJ",name:"Rājasthān",parent:"IN"},{code:"IN-SK",name:"Sikkim",parent:"IN"},{code:"IN-TG",name:"Telangāna",parent:"IN"},{code:"IN-TN",name:"Tamil Nādu",parent:"IN"},{code:"IN-TR",name:"Tripura",parent:"IN"},{code:"IN-UP",name:"Uttar Pradesh",parent:"IN"},{code:"IN-UT",name:"Uttarākhand",parent:"IN"},{code:"IN-WB",name:"West Bengal",parent:"IN"},{code:"IQ-AN",name:"Al Anbār",parent:"IQ"},{code:"IQ-AR",name:"Arbīl",parent:"IQ-KR"},{code:"IQ-BA",name:"Al Başrah",parent:"IQ"},{code:"IQ-BB",name:"Bābil",parent:"IQ"},{code:"IQ-BG",name:"Baghdād",parent:"IQ"},{code:"IQ-DA",name:"Dahūk",parent:"IQ-KR"},{code:"IQ-DI",name:"Diyālá",parent:"IQ"},{code:"IQ-DQ",name:"Dhī Qār",parent:"IQ"},{code:"IQ-KA",name:"Karbalā’",parent:"IQ"},{code:"IQ-KI",name:"Kirkūk",parent:"IQ"},{code:"IQ-KR",name:"Iqlīm Kūrdistān",parent:"IQ"},{code:"IQ-MA",name:"Maysān",parent:"IQ"},{code:"IQ-MU",name:"Al Muthanná",parent:"IQ"},{code:"IQ-NA",name:"An Najaf",parent:"IQ"},{code:"IQ-NI",name:"Nīnawá",parent:"IQ"},{code:"IQ-QA",name:"Al Qādisīyah",parent:"IQ"},{code:"IQ-SD",name:"Şalāḩ ad Dīn",parent:"IQ"},{code:"IQ-SU",name:"As Sulaymānīyah",parent:"IQ-KR"},{code:"IQ-WA",name:"Wāsiţ",parent:"IQ"},{code:"IR-00",name:"Markazī",parent:"IR"},{code:"IR-01",name:"Gīlān",parent:"IR"},{code:"IR-02",name:"Māzandarān",parent:"IR"},{code:"IR-03",name:"Āz̄ārbāyjān-e Shārqī",parent:"IR"},{code:"IR-04",name:"Āz̄ārbāyjān-e Ghārbī",parent:"IR"},{code:"IR-05",name:"Kermānshāh",parent:"IR"},{code:"IR-06",name:"Khūzestān",parent:"IR"},{code:"IR-07",name:"Fārs",parent:"IR"}
1323,{code:"IR-08",name:"Kermān",parent:"IR"},{code:"IR-09",name:"Khorāsān-e Raẕavī",parent:"IR"},{code:"IR-10",name:"Eşfahān",parent:"IR"},{code:"IR-11",name:"Sīstān va Balūchestān",parent:"IR"},{code:"IR-12",name:"Kordestān",parent:"IR"},{code:"IR-13",name:"Hamadān",parent:"IR"},{code:"IR-14",name:"Chahār Maḩāl va Bakhtīārī",parent:"IR"},{code:"IR-15",name:"Lorestān",parent:"IR"},{code:"IR-16",name:"Īlām",parent:"IR"},{code:"IR-17",name:"Kohgīlūyeh va Bowyer Aḩmad",parent:"IR"},{code:"IR-18",name:"Būshehr",parent:"IR"},{code:"IR-19",name:"Zanjān",parent:"IR"},{code:"IR-20",name:"Semnān",parent:"IR"},{code:"IR-21",name:"Yazd",parent:"IR"},{code:"IR-22",name:"Hormozgān",parent:"IR"},{code:"IR-23",name:"Tehrān",parent:"IR"},{code:"IR-24",name:"Ardabīl",parent:"IR"},{code:"IR-25",name:"Qom",parent:"IR"},{code:"IR-26",name:"Qazvīn",parent:"IR"},{code:"IR-27",name:"Golestān",parent:"IR"},{code:"IR-28",name:"Khorāsān-e Shomālī",parent:"IR"},{code:"IR-29",name:"Khorāsān-e Jonūbī",parent:"IR"},{code:"IR-30",name:"Alborz",parent:"IR"},{code:"IS-1",name:"Höfuðborgarsvæði",parent:"IS"},{code:"IS-2",name:"Suðurnes",parent:"IS"},{code:"IS-3",name:"Vesturland",parent:"IS"},{code:"IS-4",name:"Vestfirðir",parent:"IS"},{code:"IS-5",name:"Norðurland vestra",parent:"IS"},{code:"IS-6",name:"Norðurland eystra",parent:"IS"},{code:"IS-7",name:"Austurland",parent:"IS"},{code:"IS-8",name:"Suðurland",parent:"IS"},{code:"IS-AKN",name:"Akraneskaupstaður",parent:"IS"},{code:"IS-AKU",name:"Akureyrarbær",parent:"IS"},{code:"IS-ARN",name:"Árneshreppur",parent:"IS"},{code:"IS-ASA",name:"Ásahreppur",parent:"IS"},{code:"IS-BLA",name:"Bláskógabyggð",parent:"IS"},{code:"IS-BOG",name:"Borgarbyggð",parent:"IS"},{code:"IS-BOL",name:"Bolungarvíkurkaupstaður",parent:"IS"},{code:"IS-DAB",name:"Dalabyggð",parent:"IS"},{code:"IS-DAV",name:"Dalvíkurbyggð",parent:"IS"},{code:"IS-EOM",name:"Eyja- og Miklaholtshreppur",parent:"IS"},{code:"IS-EYF",name:"Eyjafjarðarsveit",parent:"IS"},{code:"IS-FJD",name:"Fjarðabyggð",parent:"IS"},{code:"IS-FJL",name:"Fjallabyggð",parent:"IS"},{code:"IS-FLA",name:"Flóahreppur",parent:"IS"},{code:"IS-FLR",name:"Fljótsdalshreppur",parent:"IS"},{code:"IS-GAR",name:"Garðabær",parent:"IS"},{code:"IS-GOG",name:"Grímsnes- og Grafningshreppur",parent:"IS"},{code:"IS-GRN",name:"Grindavíkurbær",parent:"IS"},{code:"IS-GRU",name:"Grundarfjarðarbær",parent:"IS"},{code:"IS-GRY",name:"Grýtubakkahreppur",parent:"IS"},{code:"IS-HAF",name:"Hafnarfjarðarkaupstaður",parent:"IS"},{code:"IS-HRG",name:"Hörgársveit",parent:"IS"},{code:"IS-HRU",name:"Hrunamannahreppur",parent:"IS"},{code:"IS-HUG",name:"Húnabyggð",parent:"IS"},{code:"IS-HUV",name:"Húnaþing vestra",parent:"IS"},{code:"IS-HVA",name:"Hvalfjarðarsveit",parent:"IS"},{code:"IS-HVE",name:"Hveragerðisbær",parent:"IS"},{code:"IS-ISA",name:"Ísafjarðarbær",parent:"IS"},{code:"IS-KAL",name:"Kaldrananeshreppur",parent:"IS"},{code:"IS-KJO",name:"Kjósarhreppur",parent:"IS"},{code:"IS-KOP",name:"Kópavogsbær",parent:"IS"},{code:"IS-LAN",name:"Langanesbyggð",parent:"IS"},{code:"IS-MOS",name:"Mosfellsbær",parent:"IS"},{code:"IS-MUL",name:"Múlaþing",parent:"IS"},{code:"IS-MYR",name:"Mýrdalshreppur",parent:"IS"},{code:"IS-NOR",name:"Norðurþing",parent:"IS"},{code:"IS-RGE",name:"Rangárþing eystra",parent:"IS"},{code:"IS-RGY",name:"Rangárþing ytra",parent:"IS"},{code:"IS-RHH",name:"Reykhólahreppur",parent:"IS"},{code:"IS-RKN",name:"Reykjanesbær",parent:"IS"},{code:"IS-RKV",name:"Reykjavíkurborg",parent:"IS"},{code:"IS-SBT",name:"Svalbarðsstrandarhreppur",parent:"IS"},{code:"IS-SDN",name:"Suðurnesjabær",parent:"IS"},{code:"IS-SDV",name:"Súðavíkurhreppur",parent:"IS"},{code:"IS-SEL",name:"Seltjarnarnesbær",parent:"IS"},{code:"IS-SFA",name:"Sveitarfélagið Árborg",parent:"IS"},{code:"IS-SHF",name:"Sveitarfélagið Hornafjörður",parent:"IS"},{code:"IS-SKF",name:"Skaftárhreppur",parent:"IS"},{code:"IS-SKG",name:"Skagabyggð",parent:"IS"},{code:"IS-SKO",name:"Skorradalshreppur",parent:"IS"},{code:"IS-SKR",name:"Skagafjörður",parent:"IS"},{code:"IS-SNF",name:"Snæfellsbær",parent:"IS"},{code:"IS-SOG",name:"Skeiða- og Gnúpverjahreppur",parent:"IS"},{code:"IS-SOL",name:"Sveitarfélagið Ölfus",parent:"IS"},{code:"IS-SSS",name:"Sveitarfélagið Skagaströnd",parent:"IS"},{code:"IS-STR",name:"Strandabyggð",parent:"IS"},{code:"IS-STY",name:"Stykkishólmsbær",parent:"IS"},{code:"IS-SVG",name:"Sveitarfélagið Vogar",parent:"IS"},{code:"IS-TAL",name:"Tálknafjarðarhreppur",parent:"IS"},{code:"IS-THG",name:"Þingeyjarsveit",parent:"IS"},{code:"IS-TJO",name:"Tjörneshreppur",parent:"IS"},{code:"IS-VEM",name:"Vestmannaeyjabær",parent:"IS"},{code:"IS-VER",name:"Vesturbyggð",parent:"IS"},{code:"IS-VOP",name:"Vopnafjarðarhreppur",parent:"IS"}
1323,{code:"IT-21",name:"Piemonte",parent:"IT"},{code:"IT-23",name:"Valle d'Aosta, Val d'Aoste",parent:"IT"},{code:"IT-25",name:"Lombardia",parent:"IT"},{code:"IT-32",name:"Trentino-Alto Adige, Trentino-Südtirol",parent:"IT"},{code:"IT-34",name:"Veneto",parent:"IT"},{code:"IT-36",name:"Friuli Venezia Giulia",parent:"IT"},{code:"IT-42",name:"Liguria",parent:"IT"},{code:"IT-45",name:"Emilia-Romagna",parent:"IT"},{code:"IT-52",name:"Toscana",parent:"IT"},{code:"IT-55",name:"Umbria",parent:"IT"},{code:"IT-57",name:"Marche",parent:"IT"},{code:"IT-62",name:"Lazio",parent:"IT"},{code:"IT-65",name:"Abruzzo",parent:"IT"},{code:"IT-67",name:"Molise",parent:"IT"},{code:"IT-72",name:"Campania",parent:"IT"},{code:"IT-75",name:"Puglia",parent:"IT"},{code:"IT-77",name:"Basilicata",parent:"IT"},{code:"IT-78",name:"Calabria",parent:"IT"},{code:"IT-82",name:"Sicilia",parent:"IT"},{code:"IT-88",name:"Sardegna",parent:"IT"},{code:"IT-AG",name:"Agrigento",parent:"IT-82"},{code:"IT-AL",name:"Alessandria",parent:"IT-21"},{code:"IT-AN",name:"Ancona",parent:"IT-57"},{code:"IT-AP",name:"Ascoli Piceno",parent:"IT-57"},{code:"IT-AQ",name:"L'Aquila",parent:"IT-65"},{code:"IT-AR",name:"Arezzo",parent:"IT-52"},{code:"IT-AT",name:"Asti",parent:"IT-21"},{code:"IT-AV",name:"Avellino",parent:"IT-72"},{code:"IT-BA",name:"Bari",parent:"IT-75"},{code:"IT-BG",name:"Bergamo",parent:"IT-25"},{code:"IT-BI",name:"Biella",parent:"IT-21"},{code:"IT-BL",name:"Belluno",parent:"IT-34"},{code:"IT-BN",name:"Benevento",parent:"IT-72"},{code:"IT-BO",name:"Bologna",parent:"IT-45"},{code:"IT-BR",name:"Brindisi",parent:"IT-75"},{code:"IT-BS",name:"Brescia",parent:"IT-25"},{code:"IT-BT",name:"Barletta-Andria-Trani",parent:"IT-75"},{code:"IT-BZ",name:"Bolzano, Bozen",parent:"IT-32"},{code:"IT-CA",name:"Cagliari",parent:"IT-88"},{code:"IT-CB",name:"Campobasso",parent:"IT-67"},{code:"IT-CE",name:"Caserta",parent:"IT-72"},{code:"IT-CH",name:"Chieti",parent:"IT-65"},{code:"IT-CL",name:"Caltanissetta",parent:"IT-82"},{code:"IT-CN",name:"Cuneo",parent:"IT-21"},{code:"IT-CO",name:"Como",parent:"IT-25"},{code:"IT-CR",name:"Cremona",parent:"IT-25"},{code:"IT-CS",name:"Cosenza",parent:"IT-78"},{code:"IT-CT",name:"Catania",parent:"IT-82"},{code:"IT-CZ",name:"Catanzaro",parent:"IT-78"},{code:"IT-EN",name:"Enna",parent:"IT-82"},{code:"IT-FC",name:"Forlì-Cesena",parent:"IT-45"},{code:"IT-FE",name:"Ferrara",parent:"IT-45"},{code:"IT-FG",name:"Foggia",parent:"IT-75"},{code:"IT-FI",name:"Firenze",parent:"IT-52"},{code:"IT-FM",name:"Fermo",parent:"IT-57"},{code:"IT-FR",name:"Frosinone",parent:"IT-62"},{code:"IT-GE",name:"Genova",parent:"IT-42"},{code:"IT-GO",name:"Gorizia",parent:"IT-36"},{code:"IT-GR",name:"Grosseto",parent:"IT-52"},{code:"IT-IM",name:"Imperia",parent:"IT-42"},{code:"IT-IS",name:"Isernia",parent:"IT-67"},{code:"IT-KR",name:"Crotone",parent:"IT-78"},{code:"IT-LC",name:"Lecco",parent:"IT-25"},{code:"IT-LE",name:"Lecce",parent:"IT-75"},{code:"IT-LI",name:"Livorno",parent:"IT-52"},{code:"IT-LO",name:"Lodi",parent:"IT-25"},{code:"IT-LT",name:"Latina",parent:"IT-62"},{code:"IT-LU",name:"Lucca",parent:"IT-52"},{code:"IT-MB",name:"Monza e Brianza",parent:"IT-25"},{code:"IT-MC",name:"Macerata",parent:"IT-57"},{code:"IT-ME",name:"Messina",parent:"IT-82"},{code:"IT-MI",name:"Milano",parent:"IT-25"},{code:"IT-MN",name:"Mantova",parent:"IT-25"},{code:"IT-MO",name:"Modena",parent:"IT-45"},{code:"IT-MS",name:"Massa-Carrara",parent:"IT-52"},{code:"IT-MT",name:"Matera",parent:"IT-77"},{code:"IT-NA",name:"Napoli",parent:"IT-72"},{code:"IT-NO",name:"Novara",parent:"IT-21"},{code:"IT-NU",name:"Nuoro",parent:"IT-88"},{code:"IT-OR",name:"Oristano",parent:"IT-88"},{code:"IT-PA",name:"Palermo",parent:"IT-82"},{code:"IT-PC",name:"Piacenza",parent:"IT-45"},{code:"IT-PD",name:"Padova",parent:"IT-34"},{code:"IT-PE",name:"Pescara",parent:"IT-65"},{code:"IT-PG",name:"Perugia",parent:"IT-55"},{code:"IT-PI",name:"Pisa",parent:"IT-52"},{code:"IT-PN",name:"Pordenone",parent:"IT-36"},{code:"IT-PO",name:"Prato",parent:"IT-52"},{code:"IT-PR",name:"Parma",parent:"IT-45"},{code:"IT-PT",name:"Pistoia",parent:"IT-52"},{code:"IT-PU",name:"Pesaro e Urbino",parent:"IT-57"},{code:"IT-PV",name:"Pavia",parent:"IT-25"},{code:"IT-PZ",name:"Potenza",parent:"IT-77"},{code:"IT-RA",name:"Ravenna",parent:"IT-45"},{code:"IT-RC",name:"Reggio Calabria",parent:"IT-78"},{code:"IT-RE",name:"Reggio Emilia",parent:"IT-45"},{code:"IT-RG",name:"Ragusa",parent:"IT-82"},{code:"IT-RI",name:"Rieti",parent:"IT-62"},{code:"IT-RM",name:"Roma",parent:"IT-62"},{code:"IT-RN",name:"Rimini",parent:"IT-45"},{code:"IT-RO",name:"Rovigo",parent:"IT-34"}
1323,{code:"IT-SA",name:"Salerno",parent:"IT-72"},{code:"IT-SI",name:"Siena",parent:"IT-52"},{code:"IT-SO",name:"Sondrio",parent:"IT-25"},{code:"IT-SP",name:"La Spezia",parent:"IT-42"},{code:"IT-SR",name:"Siracusa",parent:"IT-82"},{code:"IT-SS",name:"Sassari",parent:"IT-88"},{code:"IT-SU",name:"Sud Sardegna",parent:"IT-88"},{code:"IT-SV",name:"Savona",parent:"IT-42"},{code:"IT-TA",name:"Taranto",parent:"IT-75"},{code:"IT-TE",name:"Teramo",parent:"IT-65"},{code:"IT-TN",name:"Trento",parent:"IT-32"},{code:"IT-TO",name:"Torino",parent:"IT-21"},{code:"IT-TP",name:"Trapani",parent:"IT-82"},{code:"IT-TR",name:"Terni",parent:"IT-55"},{code:"IT-TS",name:"Trieste",parent:"IT-36"},{code:"IT-TV",name:"Treviso",parent:"IT-34"},{code:"IT-UD",name:"Udine",parent:"IT-36"},{code:"IT-VA",name:"Varese",parent:"IT-25"},{code:"IT-VB",name:"Verbano-Cusio-Ossola",parent:"IT-21"},{code:"IT-VC",name:"Vercelli",parent:"IT-21"},{code:"IT-VE",name:"Venezia",parent:"IT-34"},{code:"IT-VI",name:"Vicenza",parent:"IT-34"},{code:"IT-VR",name:"Verona",parent:"IT-34"},{code:"IT-VT",name:"Viterbo",parent:"IT-62"},{code:"IT-VV",name:"Vibo Valentia",parent:"IT-78"},{code:"JM-01",name:"Kingston",parent:"JM"},{code:"JM-02",name:"Saint Andrew",parent:"JM"},{code:"JM-03",name:"Saint Thomas",parent:"JM"},{code:"JM-04",name:"Portland",parent:"JM"},{code:"JM-05",name:"Saint Mary",parent:"JM"},{code:"JM-06",name:"Saint Ann",parent:"JM"},{code:"JM-07",name:"Trelawny",parent:"JM"},{code:"JM-08",name:"Saint James",parent:"JM"},{code:"JM-09",name:"Hanover",parent:"JM"},{code:"JM-10",name:"Westmoreland",parent:"JM"},{code:"JM-11",name:"Saint Elizabeth",parent:"JM"},{code:"JM-12",name:"Manchester",parent:"JM"},{code:"JM-13",name:"Clarendon",parent:"JM"},{code:"JM-14",name:"Saint Catherine",parent:"JM"},{code:"JO-AJ",name:"‘Ajlūn",parent:"JO"},{code:"JO-AM",name:"Al ‘A̅şimah",parent:"JO"},{code:"JO-AQ",name:"Al ‘Aqabah",parent:"JO"},{code:"JO-AT",name:"Aţ Ţafīlah",parent:"JO"},{code:"JO-AZ",name:"Az Zarqā’",parent:"JO"},{code:"JO-BA",name:"Al Balqā’",parent:"JO"},{code:"JO-IR",name:"Irbid",parent:"JO"},{code:"JO-JA",name:"Jarash",parent:"JO"},{code:"JO-KA",name:"Al Karak",parent:"JO"},{code:"JO-MA",name:"Al Mafraq",parent:"JO"},{code:"JO-MD",name:"Mādabā",parent:"JO"},{code:"JO-MN",name:"Ma‘ān",parent:"JO"},{code:"JP-01",name:"Hokkaidô",parent:"JP"},{code:"JP-02",name:"Aomori",parent:"JP"},{code:"JP-03",name:"Iwate",parent:"JP"},{code:"JP-04",name:"Miyagi",parent:"JP"},{code:"JP-05",name:"Akita",parent:"JP"},{code:"JP-06",name:"Yamagata",parent:"JP"},{code:"JP-07",name:"Hukusima",parent:"JP"},{code:"JP-08",name:"Ibaraki",parent:"JP"},{code:"JP-09",name:"Totigi",parent:"JP"},{code:"JP-10",name:"Gunma",parent:"JP"},{code:"JP-11",name:"Saitama",parent:"JP"},{code:"JP-12",name:"Tiba",parent:"JP"},{code:"JP-13",name:"Tôkyô",parent:"JP"},{code:"JP-14",name:"Kanagawa",parent:"JP"},{code:"JP-15",name:"Niigata",parent:"JP"},{code:"JP-16",name:"Toyama",parent:"JP"},{code:"JP-17",name:"Isikawa",parent:"JP"},{code:"JP-18",name:"Hukui",parent:"JP"},{code:"JP-19",name:"Yamanasi",parent:"JP"},{code:"JP-20",name:"Nagano",parent:"JP"},{code:"JP-21",name:"Gihu",parent:"JP"},{code:"JP-22",name:"Sizuoka",parent:"JP"},{code:"JP-23",name:"Aiti",parent:"JP"},{code:"JP-24",name:"Mie",parent:"JP"},{code:"JP-25",name:"Siga",parent:"JP"},{code:"JP-26",name:"Kyôto",parent:"JP"},{code:"JP-27",name:"Ôsaka",parent:"JP"},{code:"JP-28",name:"Hyôgo",parent:"JP"},{code:"JP-29",name:"Nara",parent:"JP"},{code:"JP-30",name:"Wakayama",parent:"JP"},{code:"JP-31",name:"Tottori",parent:"JP"},{code:"JP-32",name:"Simane",parent:"JP"},{code:"JP-33",name:"Okayama",parent:"JP"},{code:"JP-34",name:"Hirosima",parent:"JP"},{code:"JP-35",name:"Yamaguti",parent:"JP"},{code:"JP-36",name:"Tokusima",parent:"JP"},{code:"JP-37",name:"Kagawa",parent:"JP"},{code:"JP-38",name:"Ehime",parent:"JP"},{code:"JP-39",name:"Kôti",parent:"JP"},{code:"JP-40",name:"Hukuoka",parent:"JP"},{code:"JP-41",name:"Saga",parent:"JP"},{code:"JP-42",name:"Nagasaki",parent:"JP"},{code:"JP-43",name:"Kumamoto",parent:"JP"},{code:"JP-44",name:"Ôita",parent:"JP"},{code:"JP-45",name:"Miyazaki",parent:"JP"},{code:"JP-46",name:"Kagosima",parent:"JP"},{code:"JP-47",name:"Okinawa",parent:"JP"},{code:"KE-01",name:"Baringo",parent:"KE"},{code:"KE-02",name:"Bomet",parent:"KE"},{code:"KE-03",name:"Bungoma",parent:"KE"},{code:"KE-04",name:"Busia",parent:"KE"},{code:"KE-05",name:"Elgeyo/Marakwet",parent:"KE"},{code:"KE-06",name:"Embu",parent:"KE"},{code:"KE-07",name:"Garissa",parent:"KE"},{code:"KE-08",name:"Homa Bay",parent:"KE"},{code:"KE-09",name:"Isiolo",parent:"KE"},{code:"KE-10",name:"Kajiado",parent:"KE"},{code:"KE-11",name:"Kakamega",parent:"KE"},{code:"KE-12",name:"Kericho",parent:"KE"},{code:"KE-13",name:"Kiambu",parent:"KE"},{code:"KE-14",name:"Kilifi",parent:"KE"},{code:"KE-15",name:"Kirinyaga",parent:"KE"},{code:"KE-16",name:"Kisii",parent:"KE"},{code:"KE-17",name:"Kisumu",parent:"KE"},{code:"KE-18",name:"Kitui",parent:"KE"},{code:"KE-19",name:"Kwale",parent:"KE"},{code:"KE-20",name:"Laikipia",parent:"KE"},{code:"KE-21",name:"Lamu",parent:"KE"},{code:"KE-22",name:"Machakos",parent:"KE"},{code:"KE-23",name:"Makueni",parent:"KE"},{code:"KE-24",name:"Mandera",parent:"KE"},{code:"KE-25",name:"Marsabit",parent:"KE"},{code:"KE-26",name:"Meru",parent:"KE"},{code:"KE-27",name:"Migori",parent:"KE"},{code:"KE-28",name:"Mombasa",parent:"KE"},{code:"KE-29",name:"Murang'a",parent:"KE"},{code:"KE-30",name:"Nairobi City",parent:"KE"},{code:"KE-31",name:"Nakuru",parent:"KE"},{code:"KE-32",name:"Nandi",parent:"KE"},{code:"KE-33",name:"Narok",parent:"KE"},{code:"KE-34",name:"Nyamira",parent:"KE"},{code:"KE-35",name:"Nyandarua",parent:"KE"},{code:"KE-36",name:"Nyeri",parent:"KE"},{code:"KE-37",name:"Samburu",parent:"KE"},{code:"KE-38",name:"Siaya",parent:"KE"},{code:"KE-39",name:"Taita/Taveta",parent:"KE"},{code:"KE-40",name:"Tana River",parent:"KE"},{code:"KE-41",name:"Tharaka-Nithi",parent:"KE"},{code:"KE-42",name:"Trans Nzoia",parent:"KE"},{code:"KE-43",name:"Turkana",parent:"KE"},{code:"KE-44",name:"Uasin Gishu",parent:"KE"},{code:"KE-45",name:"Vihiga",parent:"KE"},{code:"KE-46",name:"Wajir",parent:"KE"},{code:"KE-47",name:"West Pokot",parent:"KE"},{code:"KG-B",name:"Batken",parent:"KG"},{code:"KG-C",name:"Chüy",parent:"KG"},{code:"KG-GB",name:"Bishkek Shaary",parent:"KG"},{code:"KG-GO",name:"Osh Shaary",parent:"KG"},{code:"KG-J",name:"Jalal-Abad",parent:"KG"},{code:"KG-N",name:"Naryn",parent:"KG"},{code:"KG-O",name:"Osh",parent:"KG"},{code:"KG-T",name:"Talas",parent:"KG"},{code:"KG-Y",name:"Ysyk-Köl",parent:"KG"},{code:"KH-1",name:"Banteay Mean Choăy",parent:"KH"},{code:"KH-10",name:"Kracheh",parent:"KH"},{code:"KH-11",name:"Mondol Kiri",parent:"KH"},{code:"KH-12",name:"Phnom Penh",parent:"KH"},{code:"KH-13",name:"Preah Vihear",parent:"KH"},{code:"KH-14",name:"Prey Veaeng",parent:"KH"},{code:"KH-15",name:"Pousaat",parent:"KH"},{code:"KH-16",name:"Rotanak Kiri",parent:"KH"},{code:"KH-17",name:"Siem Reab",parent:"KH"}
1323,{code:"KH-18",name:"Preah Sihanouk",parent:"KH"},{code:"KH-19",name:"Stueng Traeng",parent:"KH"},{code:"KH-2",name:"Baat Dambang",parent:"KH"},{code:"KH-20",name:"Svaay Rieng",parent:"KH"},{code:"KH-21",name:"Taakaev",parent:"KH"},{code:"KH-22",name:"Otdar Mean Chey",parent:"KH"},{code:"KH-23",name:"Kaeb",parent:"KH"},{code:"KH-24",name:"Pailin",parent:"KH"},{code:"KH-25",name:"Tbong Khmum",parent:"KH"},{code:"KH-3",name:"Kampong Chaam",parent:"KH"},{code:"KH-4",name:"Kampong Chhnang",parent:"KH"},{code:"KH-5",name:"Kampong Spueu",parent:"KH"},{code:"KH-6",name:"Kampong Thum",parent:"KH"},{code:"KH-7",name:"Kampot",parent:"KH"},{code:"KH-8",name:"Kandaal",parent:"KH"},{code:"KH-9",name:"Kaoh Kong",parent:"KH"},{code:"KI-G",name:"Gilbert Islands",parent:"KI"},{code:"KI-L",name:"Line Islands",parent:"KI"},{code:"KI-P",name:"Phoenix Islands",parent:"KI"},{code:"KM-A",name:"Anjouan",parent:"KM"},{code:"KM-G",name:"Grande Comore",parent:"KM"},{code:"KM-M",name:"Mohéli",parent:"KM"},{code:"KN-01",name:"Christ Church Nichola Town",parent:"KN-K"},{code:"KN-02",name:"Saint Anne Sandy Point",parent:"KN-K"},{code:"KN-03",name:"Saint George Basseterre",parent:"KN-K"},{code:"KN-04",name:"Saint George Gingerland",parent:"KN-N"},{code:"KN-05",name:"Saint James Windward",parent:"KN-N"},{code:"KN-06",name:"Saint John Capisterre",parent:"KN-K"},{code:"KN-07",name:"Saint John Figtree",parent:"KN-N"},{code:"KN-08",name:"Saint Mary Cayon",parent:"KN-K"},{code:"KN-09",name:"Saint Paul Capisterre",parent:"KN-K"},{code:"KN-10",name:"Saint Paul Charlestown",parent:"KN-N"},{code:"KN-11",name:"Saint Peter Basseterre",parent:"KN-K"},{code:"KN-12",name:"Saint Thomas Lowland",parent:"KN-N"},{code:"KN-13",name:"Saint Thomas Middle Island",parent:"KN-K"},{code:"KN-15",name:"Trinity Palmetto Point",parent:"KN-K"},{code:"KN-K",name:"Saint Kitts",parent:"KN"},{code:"KN-N",name:"Nevis",parent:"KN"},{code:"KP-01",name:"Pyongyang",parent:"KP"},{code:"KP-02",name:"South Pyongan",parent:"KP"},{code:"KP-03",name:"North Pyongan",parent:"KP"},{code:"KP-04",name:"Chagang",parent:"KP"},{code:"KP-05",name:"South Hwanghae",parent:"KP"},{code:"KP-06",name:"North Hwanghae",parent:"KP"},{code:"KP-07",name:"Kangwon",parent:"KP"},{code:"KP-08",name:"South Hamgyong",parent:"KP"},{code:"KP-09",name:"North Hamgyong",parent:"KP"},{code:"KP-10",name:"Ryanggang",parent:"KP"},{code:"KP-13",name:"Rason",parent:"KP"},{code:"KP-14",name:"Nampo",parent:"KP"},{code:"KP-15",name:"Kaesong",parent:"KP"},{code:"KR-11",name:"Seoul",parent:"KR"},{code:"KR-26",name:"Busan",parent:"KR"},{code:"KR-27",name:"Daegu",parent:"KR"},{code:"KR-28",name:"Incheon",parent:"KR"},{code:"KR-29",name:"Gwangju",parent:"KR"},{code:"KR-30",name:"Daejeon",parent:"KR"},{code:"KR-31",name:"Ulsan",parent:"KR"},{code:"KR-41",name:"Gyeonggi",parent:"KR"},{code:"KR-42",name:"Gangwon",parent:"KR"},{code:"KR-43",name:"North Chungcheong",parent:"KR"},{code:"KR-44",name:"South Chungcheong",parent:"KR"},{code:"KR-45",name:"North Jeolla",parent:"KR"},{code:"KR-46",name:"South Jeolla",parent:"KR"},{code:"KR-47",name:"North Gyeongsang",parent:"KR"},{code:"KR-48",name:"South Gyeongsang",parent:"KR"},{code:"KR-49",name:"Jeju",parent:"KR"},{code:"KR-50",name:"Sejong",parent:"KR"},{code:"KW-AH",name:"Al Aḩmadī",parent:"KW"},{code:"KW-FA",name:"Al Farwānīyah",parent:"KW"},{code:"KW-HA",name:"Ḩawallī",parent:"KW"},{code:"KW-JA",name:"Al Jahrā’",parent:"KW"},{code:"KW-KU",name:"Al ‘Āşimah",parent:"KW"},{code:"KW-MU",name:"Mubārak al Kabīr",parent:"KW"},{code:"KZ-10",name:"Abay oblysy",parent:"KZ"},{code:"KZ-11",name:"Aqmola oblysy",parent:"KZ"},{code:"KZ-15",name:"Aqtöbe oblysy",parent:"KZ"},{code:"KZ-19",name:"Almaty oblysy",parent:"KZ"},{code:"KZ-23",name:"Atyraū oblysy",parent:"KZ"},{code:"KZ-27",name:"Batys Qazaqstan oblysy",parent:"KZ"},{code:"KZ-31",name:"Zhambyl oblysy",parent:"KZ"},{code:"KZ-33",name:"Zhetisū oblysy",parent:"KZ"},{code:"KZ-35",name:"Qaraghandy oblysy",parent:"KZ"},{code:"KZ-39",name:"Qostanay oblysy",parent:"KZ"},{code:"KZ-43",name:"Qyzylorda oblysy",parent:"KZ"},{code:"KZ-47",name:"Mangghystaū oblysy",parent:"KZ"},{code:"KZ-55",name:"Pavlodar oblysy",parent:"KZ"},{code:"KZ-59",name:"Soltüstik Qazaqstan oblysy",parent:"KZ"},{code:"KZ-61",name:"Türkistan oblysy",parent:"KZ"},{code:"KZ-62",name:"Ulytaū oblysy",parent:"KZ"},{code:"KZ-63",name:"Shyghys Qazaqstan oblysy",parent:"KZ"},{code:"KZ-71",name:"Astana",parent:"KZ"},{code:"KZ-75",name:"Almaty",parent:"KZ"},{code:"KZ-79",name:"Shymkent",parent:"KZ"},{code:"LA-AT",name:"Attapu",parent:"LA"},{code:"LA-BK",name:"Bokèo",parent:"LA"},{code:"LA-BL",name:"Bolikhamxai",parent:"LA"},{code:"LA-CH",name:"Champasak",parent:"LA"},{code:"LA-HO",name:"Houaphan",parent:"LA"},{code:"LA-KH",name:"Khammouan",parent:"LA"},{code:"LA-LM",name:"Louang Namtha",parent:"LA"},{code:"LA-LP",name:"Louangphabang",parent:"LA"},{code:"LA-OU",name:"Oudômxai",parent:"LA"},{code:"LA-PH",name:"Phôngsali",parent:"LA"},{code:"LA-SL",name:"Salavan",parent:"LA"},{code:"LA-SV",name:"Savannakhét",parent:"LA"},{code:"LA-VI",name:"Viangchan",parent:"LA"},{code:"LA-VT",name:"Viangchan",parent:"LA"},{code:"LA-XA",name:"Xaignabouli",parent:"LA"},{code:"LA-XE",name:"Xékong",parent:"LA"},{code:"LA-XI",name:"Xiangkhouang",parent:"LA"},{code:"LA-XS",name:"Xaisômboun",parent:"LA"},{code:"LB-AK",name:"Aakkâr",parent:"LB"},{code:"LB-AS",name:"Liban-Nord",parent:"LB"},{code:"LB-BA",name:"Beyrouth",parent:"LB"},{code:"LB-BH",name:"Baalbek-Hermel",parent:"LB"},{code:"LB-BI",name:"Béqaa",parent:"LB"},{code:"LB-JA",name:"Liban-Sud",parent:"LB"},{code:"LB-JL",name:"Mont-Liban",parent:"LB"},{code:"LB-NA",name:"Nabatîyé",parent:"LB"},{code:"LC-01",name:"Anse la Raye",parent:"LC"},{code:"LC-02",name:"Castries",parent:"LC"},{code:"LC-03",name:"Choiseul",parent:"LC"},{code:"LC-05",name:"Dennery",parent:"LC"},{code:"LC-06",name:"Gros Islet",parent:"LC"},{code:"LC-07",name:"Laborie",parent:"LC"},{code:"LC-08",name:"Micoud",parent:"LC"},{code:"LC-10",name:"Soufrière",parent:"LC"},{code:"LC-11",name:"Vieux Fort",parent:"LC"},{code:"LC-12",name:"Canaries",parent:"LC"},{code:"LI-01",name:"Balzers",parent:"LI"},{code:"LI-02",name:"Eschen",parent:"LI"},{code:"LI-03",name:"Gamprin",parent:"LI"},{code:"LI-04",name:"Mauren",parent:"LI"},{code:"LI-05",name:"Planken",parent:"LI"},{code:"LI-06",name:"Ruggell",parent:"LI"},{code:"LI-07",name:"Schaan",parent:"LI"},{code:"LI-08",name:"Schellenberg",parent:"LI"},{code:"LI-09",name:"Triesen",parent:"LI"},{code:"LI-10",name:"Triesenberg",parent:"LI"}
1323,{code:"LI-11",name:"Vaduz",parent:"LI"},{code:"LK-1",name:"Western Province",parent:"LK"},{code:"LK-11",name:"Colombo",parent:"LK-1"},{code:"LK-12",name:"Gampaha",parent:"LK-1"},{code:"LK-13",name:"Kalutara",parent:"LK-1"},{code:"LK-2",name:"Central Province",parent:"LK"},{code:"LK-21",name:"Kandy",parent:"LK-2"},{code:"LK-22",name:"Matale",parent:"LK-2"},{code:"LK-23",name:"Nuwara Eliya",parent:"LK-2"},{code:"LK-3",name:"Southern Province",parent:"LK"},{code:"LK-31",name:"Galle",parent:"LK-3"},{code:"LK-32",name:"Matara",parent:"LK-3"},{code:"LK-33",name:"Hambantota",parent:"LK-3"},{code:"LK-4",name:"Northern Province",parent:"LK"},{code:"LK-41",name:"Jaffna",parent:"LK-4"},{code:"LK-42",name:"Kilinochchi",parent:"LK-4"},{code:"LK-43",name:"Mannar",parent:"LK-4"},{code:"LK-44",name:"Vavuniya",parent:"LK-4"},{code:"LK-45",name:"Mullaittivu",parent:"LK-4"},{code:"LK-5",name:"Eastern Province",parent:"LK"},{code:"LK-51",name:"Batticaloa",parent:"LK-5"},{code:"LK-52",name:"Ampara",parent:"LK-5"},{code:"LK-53",name:"Trincomalee",parent:"LK-5"},{code:"LK-6",name:"North Western Province",parent:"LK"},{code:"LK-61",name:"Kurunegala",parent:"LK-6"},{code:"LK-62",name:"Puttalam",parent:"LK-6"},{code:"LK-7",name:"North Central Province",parent:"LK"},{code:"LK-71",name:"Anuradhapura",parent:"LK-7"},{code:"LK-72",name:"Polonnaruwa",parent:"LK-7"},{code:"LK-8",name:"Uva Province",parent:"LK"},{code:"LK-81",name:"Badulla",parent:"LK-8"},{code:"LK-82",name:"Monaragala",parent:"LK-8"},{code:"LK-9",name:"Sabaragamuwa Province",parent:"LK"},{code:"LK-91",name:"Ratnapura",parent:"LK-9"},{code:"LK-92",name:"Kegalla",parent:"LK-9"},{code:"LR-BG",name:"Bong",parent:"LR"},{code:"LR-BM",name:"Bomi",parent:"LR"},{code:"LR-CM",name:"Grand Cape Mount",parent:"LR"},{code:"LR-GB",name:"Grand Bassa",parent:"LR"},{code:"LR-GG",name:"Grand Gedeh",parent:"LR"},{code:"LR-GK",name:"Grand Kru",parent:"LR"},{code:"LR-GP",name:"Gbarpolu",parent:"LR"},{code:"LR-LO",name:"Lofa",parent:"LR"},{code:"LR-MG",name:"Margibi",parent:"LR"},{code:"LR-MO",name:"Montserrado",parent:"LR"},{code:"LR-MY",name:"Maryland",parent:"LR"},{code:"LR-NI",name:"Nimba",parent:"LR"},{code:"LR-RG",name:"River Gee",parent:"LR"},{code:"LR-RI",name:"River Cess",parent:"LR"},{code:"LR-SI",name:"Sinoe",parent:"LR"},{code:"LS-A",name:"Maseru",parent:"LS"},{code:"LS-B",name:"Botha-Bothe",parent:"LS"},{code:"LS-C",name:"Leribe",parent:"LS"},{code:"LS-D",name:"Berea",parent:"LS"},{code:"LS-E",name:"Mafeteng",parent:"LS"},{code:"LS-F",name:"Mohale's Hoek",parent:"LS"},{code:"LS-G",name:"Quthing",parent:"LS"},{code:"LS-H",name:"Qacha's Nek",parent:"LS"},{code:"LS-J",name:"Mokhotlong",parent:"LS"},{code:"LS-K",name:"Thaba-Tseka",parent:"LS"},{code:"LT-01",name:"Akmenė",parent:"LT-SA"},{code:"LT-02",name:"Alytaus miestas",parent:"LT-AL"},{code:"LT-03",name:"Alytus",parent:"LT-AL"},{code:"LT-04",name:"Anykščiai",parent:"LT-UT"},{code:"LT-05",name:"Birštonas",parent:"LT-KU"},{code:"LT-06",name:"Biržai",parent:"LT-PN"},{code:"LT-07",name:"Druskininkai",parent:"LT-AL"},{code:"LT-08",name:"Elektrėnai",parent:"LT-VL"},{code:"LT-09",name:"Ignalina",parent:"LT-UT"},{code:"LT-10",name:"Jonava",parent:"LT-KU"},{code:"LT-11",name:"Joniškis",parent:"LT-SA"},{code:"LT-12",name:"Jurbarkas",parent:"LT-TA"},{code:"LT-13",name:"Kaišiadorys",parent:"LT-KU"},{code:"LT-14",name:"Kalvarija",parent:"LT-MR"},{code:"LT-15",name:"Kauno miestas",parent:"LT-KU"},{code:"LT-16",name:"Kaunas",parent:"LT-KU"},{code:"LT-17",name:"Kazlų Rūdos",parent:"LT-MR"},{code:"LT-18",name:"Kėdainiai",parent:"LT-KU"},{code:"LT-19",name:"Kelmė",parent:"LT-SA"},{code:"LT-20",name:"Klaipėdos miestas",parent:"LT-KL"},{code:"LT-21",name:"Klaipėda",parent:"LT-KL"},{code:"LT-22",name:"Kretinga",parent:"LT-KL"},{code:"LT-23",name:"Kupiškis",parent:"LT-PN"},{code:"LT-24",name:"Lazdijai",parent:"LT-AL"},{code:"LT-25",name:"Marijampolė",parent:"LT-MR"},{code:"LT-26",name:"Mažeikiai",parent:"LT-TE"},{code:"LT-27",name:"Molėtai",parent:"LT-UT"},{code:"LT-28",name:"Neringa",parent:"LT-KL"},{code:"LT-29",name:"Pagėgiai",parent:"LT-TA"},{code:"LT-30",name:"Pakruojis",parent:"LT-SA"},{code:"LT-31",name:"Palangos miestas",parent:"LT-KL"}
1323,{code:"LT-32",name:"Panevėžio miestas",parent:"LT-PN"},{code:"LT-33",name:"Panevėžys",parent:"LT-PN"},{code:"LT-34",name:"Pasvalys",parent:"LT-PN"},{code:"LT-35",name:"Plungė",parent:"LT-TE"},{code:"LT-36",name:"Prienai",parent:"LT-KU"},{code:"LT-37",name:"Radviliškis",parent:"LT-SA"},{code:"LT-38",name:"Raseiniai",parent:"LT-KU"},{code:"LT-39",name:"Rietavas",parent:"LT-TE"},{code:"LT-40",name:"Rokiškis",parent:"LT-PN"},{code:"LT-41",name:"Šakiai",parent:"LT-MR"},{code:"LT-42",name:"Šalčininkai",parent:"LT-VL"},{code:"LT-43",name:"Šiaulių miestas",parent:"LT-SA"},{code:"LT-44",name:"Šiauliai",parent:"LT-SA"},{code:"LT-45",name:"Šilalė",parent:"LT-TA"},{code:"LT-46",name:"Šilutė",parent:"LT-KL"},{code:"LT-47",name:"Širvintos",parent:"LT-VL"},{code:"LT-48",name:"Skuodas",parent:"LT-KL"},{code:"LT-49",name:"Švenčionys",parent:"LT-VL"},{code:"LT-50",name:"Tauragė",parent:"LT-TA"},{code:"LT-51",name:"Telšiai",parent:"LT-TE"},{code:"LT-52",name:"Trakai",parent:"LT-VL"},{code:"LT-53",name:"Ukmergė",parent:"LT-VL"},{code:"LT-54",name:"Utena",parent:"LT-UT"},{code:"LT-55",name:"Varėna",parent:"LT-AL"},{code:"LT-56",name:"Vilkaviškis",parent:"LT-MR"},{code:"LT-57",name:"Vilniaus miestas",parent:"LT-VL"},{code:"LT-58",name:"Vilnius",parent:"LT-VL"},{code:"LT-59",name:"Visaginas",parent:"LT-UT"},{code:"LT-60",name:"Zarasai",parent:"LT-UT"},{code:"LT-AL",name:"Alytaus apskritis",parent:"LT"},{code:"LT-KL",name:"Klaipėdos apskritis",parent:"LT"},{code:"LT-KU",name:"Kauno apskritis",parent:"LT"},{code:"LT-MR",name:"Marijampolės apskritis",parent:"LT"},{code:"LT-PN",name:"Panevėžio apskritis",parent:"LT"},{code:"LT-SA",name:"Šiaulių apskritis",parent:"LT"},{code:"LT-TA",name:"Tauragės apskritis",parent:"LT"},{code:"LT-TE",name:"Telšių apskritis",parent:"LT"},{code:"LT-UT",name:"Utenos apskritis",parent:"LT"},{code:"LT-VL",name:"Vilniaus apskritis",parent:"LT"},{code:"LU-CA",name:"Capellen",parent:"LU"},{code:"LU-CL",name:"Clerf",parent:"LU"},{code:"LU-D",name:"Diekirch (de, lb)",parent:"LU"},{code:"LU-DI",name:"Diekirch",parent:"LU"},{code:"LU-EC",name:"Echternach",parent:"LU"},{code:"LU-ES",name:"Esch an der Alzette",parent:"LU"},{code:"LU-G",name:"Grevenmacher (de, lb)",parent:"LU"},{code:"LU-GR",name:"Grevenmacher",parent:"LU"},{code:"LU-L",name:"Luxembourg",parent:"LU"},{code:"LU-LU",name:"Luxemburg",parent:"LU"},{code:"LU-ME",name:"Mersch",parent:"LU"},{code:"LU-RD",name:"Redingen",parent:"LU"},{code:"LU-RM",name:"Remich",parent:"LU"},{code:"LU-VD",name:"Vianden",parent:"LU"},{code:"LU-WI",name:"Wiltz",parent:"LU"},{code:"LV-002",name:"Aizkraukles novads",parent:"LV"},{code:"LV-007",name:"Alūksnes novads",parent:"LV"},{code:"LV-011",name:"Ādažu novads",parent:"LV"},{code:"LV-015",name:"Balvu novads",parent:"LV"},{code:"LV-016",name:"Bauskas novads",parent:"LV"},{code:"LV-022",name:"Cēsu novads",parent:"LV"},{code:"LV-026",name:"Dobeles novads",parent:"LV"},{code:"LV-033",name:"Gulbenes novads",parent:"LV"},{code:"LV-041",name:"Jelgavas novads",parent:"LV"},{code:"LV-042",name:"Jēkabpils novads",parent:"LV"},{code:"LV-047",name:"Krāslavas novads",parent:"LV"},{code:"LV-050",name:"Kuldīgas novads",parent:"LV"},{code:"LV-052",name:"Ķekavas novads",parent:"LV"},{code:"LV-054",name:"Limbažu novads",parent:"LV"},{code:"LV-056",name:"Līvānu novads",parent:"LV"},{code:"LV-058",name:"Ludzas novads",parent:"LV"},{code:"LV-059",name:"Madonas novads",parent:"LV"},{code:"LV-062",name:"Mārupes novads",parent:"LV"},{code:"LV-067",name:"Ogres novads",parent:"LV"},{code:"LV-068",name:"Olaines novads",parent:"LV"},{code:"LV-073",name:"Preiļu novads",parent:"LV"},{code:"LV-077",name:"Rēzeknes novads",parent:"LV"},{code:"LV-080",name:"Ropažu novads",parent:"LV"},{code:"LV-087",name:"Salaspils novads",parent:"LV"},{code:"LV-088",name:"Saldus novads",parent:"LV"},{code:"LV-089",name:"Saulkrastu novads",parent:"LV"},{code:"LV-091",name:"Siguldas novads",parent:"LV"},{code:"LV-094",name:"Smiltenes novads",parent:"LV"},{code:"LV-097",name:"Talsu novads",parent:"LV"},{code:"LV-099",name:"Tukuma novads",parent:"LV"},{code:"LV-101",name:"Valkas novads",parent:"LV"},{code:"LV-102",name:"Varakļānu novads",parent:"LV"},{code:"LV-106",name:"Ventspils novads",parent:"LV"},{code:"LV-111",name:"Augšdaugavas novads",parent:"LV"},{code:"LV-112",name:"Dienvidkurzemes Novads",parent:"LV"},{code:"LV-113",name:"Valmieras Novads",parent:"LV"},{code:"LV-DGV",name:"Daugavpils",parent:"LV"},{code:"LV-JEL",name:"Jelgava",parent:"LV"},{code:"LV-JUR",name:"Jūrmala",parent:"LV"},{code:"LV-LPX",name:"Liepāja",parent:"LV"},{code:"LV-REZ",name:"Rēzekne",parent:"LV"},{code:"LV-RIX",name:"Rīga",parent:"LV"},{code:"LV-VEN",name:"Ventspils",parent:"LV"},{code:"LY-BA",name:"Banghāzī",parent:"LY"},{code:"LY-BU",name:"Al Buţnān",parent:"LY"},{code:"LY-DR",name:"Darnah",parent:"LY"},{code:"LY-GT",name:"Ghāt",parent:"LY"},{code:"LY-JA",name:"Al Jabal al Akhḑar",parent:"LY"}
1323,{code:"LY-JG",name:"Al Jabal al Gharbī",parent:"LY"},{code:"LY-JI",name:"Al Jafārah",parent:"LY"},{code:"LY-JU",name:"Al Jufrah",parent:"LY"},{code:"LY-KF",name:"Al Kufrah",parent:"LY"},{code:"LY-MB",name:"Al Marqab",parent:"LY"},{code:"LY-MI",name:"Mişrātah",parent:"LY"},{code:"LY-MJ",name:"Al Marj",parent:"LY"},{code:"LY-MQ",name:"Murzuq",parent:"LY"},{code:"LY-NL",name:"Nālūt",parent:"LY"},{code:"LY-NQ",name:"An Nuqāţ al Khams",parent:"LY"},{code:"LY-SB",name:"Sabhā",parent:"LY"},{code:"LY-SR",name:"Surt",parent:"LY"},{code:"LY-TB",name:"Ţarābulus",parent:"LY"},{code:"LY-WA",name:"Al Wāḩāt",parent:"LY"},{code:"LY-WD",name:"Wādī al Ḩayāt",parent:"LY"},{code:"LY-WS",name:"Wādī ash Shāţi’",parent:"LY"},{code:"LY-ZA",name:"Az Zāwiyah",parent:"LY"},{code:"MA-01",name:"Tanger-Tétouan-Al Hoceïma",parent:"MA"},{code:"MA-02",name:"L'Oriental",parent:"MA"},{code:"MA-03",name:"Fès-Meknès",parent:"MA"},{code:"MA-04",name:"Rabat-Salé-Kénitra",parent:"MA"},{code:"MA-05",name:"Béni Mellal-Khénifra",parent:"MA"},{code:"MA-06",name:"Casablanca-Settat",parent:"MA"},{code:"MA-07",name:"Marrakech-Safi",parent:"MA"},{code:"MA-08",name:"Drâa-Tafilalet",parent:"MA"},{code:"MA-09",name:"Souss-Massa",parent:"MA"},{code:"MA-10",name:"Guelmim-Oued Noun (EH-partial)",parent:"MA"},{code:"MA-11",name:"Laâyoune-Sakia El Hamra (EH-partial)",parent:"MA"},{code:"MA-12",name:"Dakhla-Oued Ed-Dahab (EH)",parent:"MA"},{code:"MA-AGD",name:"Agadir-Ida-Ou-Tanane",parent:"MA-09"},{code:"MA-AOU",name:"Aousserd (EH)",parent:"MA-12"},{code:"MA-ASZ",name:"Assa-Zag (EH-partial)",parent:"MA-10"},{code:"MA-AZI",name:"Azilal",parent:"MA-05"},{code:"MA-BEM",name:"Béni Mellal",parent:"MA-05"},{code:"MA-BER",name:"Berkane",parent:"MA-02"},{code:"MA-BES",name:"Benslimane",parent:"MA-06"},{code:"MA-BOD",name:"Boujdour (EH)",parent:"MA-11"},{code:"MA-BOM",name:"Boulemane",parent:"MA-03"},{code:"MA-BRR",name:"Berrechid",parent:"MA-06"},{code:"MA-CAS",name:"Casablanca",parent:"MA-06"},{code:"MA-CHE",name:"Chefchaouen",parent:"MA-01"},{code:"MA-CHI",name:"Chichaoua",parent:"MA-07"},{code:"MA-CHT",name:"Chtouka-Ait Baha",parent:"MA-06"},{code:"MA-DRI",name:"Driouch",parent:"MA-02"},{code:"MA-ERR",name:"Errachidia",parent:"MA-08"},{code:"MA-ESI",name:"Essaouira",parent:"MA-07"},{code:"MA-ESM",name:"Es-Semara (EH-partial)",parent:"MA-11"},{code:"MA-FAH",name:"Fahs-Anjra",parent:"MA-01"},{code:"MA-FES",name:"Fès",parent:"MA-03"},{code:"MA-FIG",name:"Figuig",parent:"MA-02"},{code:"MA-FQH",name:"Fquih Ben Salah",parent:"MA-05"},{code:"MA-GUE",name:"Guelmim",parent:"MA-10"},{code:"MA-GUF",name:"Guercif",parent:"MA-02"},{code:"MA-HAJ",name:"El Hajeb",parent:"MA-03"},{code:"MA-HAO",name:"Al Haouz",parent:"MA-07"},{code:"MA-HOC",name:"Al Hoceïma",parent:"MA-01"},{code:"MA-IFR",name:"Ifrane",parent:"MA-03"},{code:"MA-INE",name:"Inezgane-Ait Melloul",parent:"MA-09"},{code:"MA-JDI",name:"El Jadida",parent:"MA-06"},{code:"MA-JRA",name:"Jerada",parent:"MA-02"},{code:"MA-KEN",name:"Kénitra",parent:"MA-04"},{code:"MA-KES",name:"El Kelâa des Sraghna",parent:"MA-07"},{code:"MA-KHE",name:"Khémisset",parent:"MA-04"},{code:"MA-KHN",name:"Khénifra",parent:"MA-05"},{code:"MA-KHO",name:"Khouribga",parent:"MA-05"},{code:"MA-LAA",name:"Laâyoune (EH)",parent:"MA-11"},{code:"MA-LAR",name:"Larache",parent:"MA-01"},{code:"MA-MAR",name:"Marrakech",parent:"MA-07"},{code:"MA-MDF",name:"M’diq-Fnideq",parent:"MA-01"},{code:"MA-MED",name:"Médiouna",parent:"MA-06"},{code:"MA-MEK",name:"Meknès",parent:"MA-03"},{code:"MA-MID",name:"Midelt",parent:"MA-08"},{code:"MA-MOH",name:"Mohammadia",parent:"MA-06"},{code:"MA-MOU",name:"Moulay Yacoub",parent:"MA-03"},{code:"MA-NAD",name:"Nador",parent:"MA-02"},{code:"MA-NOU",name:"Nouaceur",parent:"MA-04"},{code:"MA-OUA",name:"Ouarzazate",parent:"MA-08"},{code:"MA-OUD",name:"Oued Ed-Dahab (EH)",parent:"MA-12"},{code:"MA-OUJ",name:"Oujda-Angad",parent:"MA-02"},{code:"MA-OUZ",name:"Ouezzane",parent:"MA-01"},{code:"MA-RAB",name:"Rabat",parent:"MA-04"},{code:"MA-REH",name:"Rehamna",parent:"MA-07"},{code:"MA-SAF",name:"Safi",parent:"MA-07"},{code:"MA-SAL",name:"Salé",parent:"MA-04"},{code:"MA-SEF",name:"Sefrou",parent:"MA-03"},{code:"MA-SET",name:"Settat",parent:"MA-06"},{code:"MA-SIB",name:"Sidi Bennour",parent:"MA-06"},{code:"MA-SIF",name:"Sidi Ifni",parent:"MA-10"},{code:"MA-SIK",name:"Sidi Kacem",parent:"MA-04"},{code:"MA-SIL",name:"Sidi Slimane",parent:"MA-04"},{code:"MA-SKH",name:"Skhirate-Témara",parent:"MA-04"},{code:"MA-TAF",name:"Tarfaya (EH-partial)",parent:"MA-11"},{code:"MA-TAI",name:"Taourirt",parent:"MA-02"}
1323,{code:"MA-TAO",name:"Taounate",parent:"MA-03"},{code:"MA-TAR",name:"Taroudannt",parent:"MA-09"},{code:"MA-TAT",name:"Tata",parent:"MA-09"},{code:"MA-TAZ",name:"Taza",parent:"MA-03"},{code:"MA-TET",name:"Tétouan",parent:"MA-01"},{code:"MA-TIN",name:"Tinghir",parent:"MA-08"},{code:"MA-TIZ",name:"Tiznit",parent:"MA-09"},{code:"MA-TNG",name:"Tanger-Assilah",parent:"MA-01"},{code:"MA-TNT",name:"Tan-Tan (EH-partial)",parent:"MA-10"},{code:"MA-YUS",name:"Youssoufia",parent:"MA-07"},{code:"MA-ZAG",name:"Zagora",parent:"MA-08"},{code:"MC-CL",name:"La Colle",parent:"MC"},{code:"MC-CO",name:"La Condamine",parent:"MC"},{code:"MC-FO",name:"Fontvieille",parent:"MC"},{code:"MC-GA",name:"La Gare",parent:"MC"},{code:"MC-JE",name:"Jardin Exotique",parent:"MC"},{code:"MC-LA",name:"Larvotto",parent:"MC"},{code:"MC-MA",name:"Malbousquet",parent:"MC"},{code:"MC-MC",name:"Monte-Carlo",parent:"MC"},{code:"MC-MG",name:"Moneghetti",parent:"MC"},{code:"MC-MO",name:"Monaco-Ville",parent:"MC"},{code:"MC-MU",name:"Moulins",parent:"MC"},{code:"MC-PH",name:"Port-Hercule",parent:"MC"},{code:"MC-SD",name:"Sainte-Dévote",parent:"MC"},{code:"MC-SO",name:"La Source",parent:"MC"},{code:"MC-SP",name:"Spélugues",parent:"MC"},{code:"MC-SR",name:"Saint-Roman",parent:"MC"},{code:"MC-VR",name:"Vallon de la Rousse",parent:"MC"},{code:"MD-AN",name:"Anenii Noi",parent:"MD"},{code:"MD-BA",name:"Bălți",parent:"MD"},{code:"MD-BD",name:"Bender",parent:"MD"},{code:"MD-BR",name:"Briceni",parent:"MD"},{code:"MD-BS",name:"Basarabeasca",parent:"MD"},{code:"MD-CA",name:"Cahul",parent:"MD"},{code:"MD-CL",name:"Călărași",parent:"MD"},{code:"MD-CM",name:"Cimișlia",parent:"MD"},{code:"MD-CR",name:"Criuleni",parent:"MD"},{code:"MD-CS",name:"Căușeni",parent:"MD"},{code:"MD-CT",name:"Cantemir",parent:"MD"},{code:"MD-CU",name:"Chișinău",parent:"MD"},{code:"MD-DO",name:"Dondușeni",parent:"MD"},{code:"MD-DR",name:"Drochia",parent:"MD"},{code:"MD-DU",name:"Dubăsari",parent:"MD"},{code:"MD-ED",name:"Edineț",parent:"MD"},{code:"MD-FA",name:"Fălești",parent:"MD"},{code:"MD-FL",name:"Florești",parent:"MD"},{code:"MD-GA",name:"Găgăuzia, Unitatea teritorială autonomă (UTAG)",parent:"MD"},{code:"MD-GL",name:"Glodeni",parent:"MD"},{code:"MD-HI",name:"Hîncești",parent:"MD"},{code:"MD-IA",name:"Ialoveni",parent:"MD"},{code:"MD-LE",name:"Leova",parent:"MD"},{code:"MD-NI",name:"Nisporeni",parent:"MD"},{code:"MD-OC",name:"Ocnița",parent:"MD"},{code:"MD-OR",name:"Orhei",parent:"MD"},{code:"MD-RE",name:"Rezina",parent:"MD"},{code:"MD-RI",name:"Rîșcani",parent:"MD"},{code:"MD-SD",name:"Șoldănești",parent:"MD"},{code:"MD-SI",name:"Sîngerei",parent:"MD"},{code:"MD-SN",name:"Stînga Nistrului, unitatea teritorială din",parent:"MD"},{code:"MD-SO",name:"Soroca",parent:"MD"},{code:"MD-ST",name:"Strășeni",parent:"MD"},{code:"MD-SV",name:"Ștefan Vodă",parent:"MD"},{code:"MD-TA",name:"Taraclia",parent:"MD"},{code:"MD-TE",name:"Telenești",parent:"MD"},{code:"MD-UN",name:"Ungheni",parent:"MD"},{code:"ME-01",name:"Andrijevica",parent:"ME"},{code:"ME-02",name:"Bar",parent:"ME"},{code:"ME-03",name:"Berane",parent:"ME"},{code:"ME-04",name:"Bijelo Polje",parent:"ME"},{code:"ME-05",name:"Budva",parent:"ME"},{code:"ME-06",name:"Cetinje",parent:"ME"},{code:"ME-07",name:"Danilovgrad",parent:"ME"},{code:"ME-08",name:"Herceg-Novi",parent:"ME"},{code:"ME-09",name:"Kolašin",parent:"ME"},{code:"ME-10",name:"Kotor",parent:"ME"},{code:"ME-11",name:"Mojkovac",parent:"ME"},{code:"ME-12",name:"Nikšić",parent:"ME"},{code:"ME-13",name:"Plav",parent:"ME"},{code:"ME-14",name:"Pljevlja",parent:"ME"},{code:"ME-15",name:"Plužine",parent:"ME"},{code:"ME-16",name:"Podgorica",parent:"ME"},{code:"ME-17",name:"Rožaje",parent:"ME"},{code:"ME-18",name:"Šavnik",parent:"ME"},{code:"ME-19",name:"Tivat",parent:"ME"},{code:"ME-20",name:"Ulcinj",parent:"ME"},{code:"ME-21",name:"Žabljak",parent:"ME"},{code:"ME-22",name:"Gusinje",parent:"ME"},{code:"ME-23",name:"Petnjica",parent:"ME"},{code:"ME-24",name:"Tuzi",parent:"ME"},{code:"MG-A",name:"Toamasina",parent:"MG"},{code:"MG-D",name:"Antsiranana",parent:"MG"},{code:"MG-F",name:"Fianarantsoa",parent:"MG"},{code:"MG-M",name:"Mahajanga",parent:"MG"},{code:"MG-T",name:"Antananarivo",parent:"MG"},{code:"MG-U",name:"Toliara",parent:"MG"},{code:"MH-ALK",name:"Ailuk",parent:"MH-T"},{code:"MH-ALL",name:"Ailinglaplap",parent:"MH-L"},{code:"MH-ARN",name:"Arno",parent:"MH-T"},{code:"MH-AUR",name:"Aur",parent:"MH-T"},{code:"MH-EBO",name:"Ebon",parent:"MH-L"},{code:"MH-ENI",name:"Enewetak & Ujelang",parent:"MH-L"},{code:"MH-JAB",name:"Jabat",parent:"MH-L"},{code:"MH-JAL",name:"Jaluit",parent:"MH-L"},{code:"MH-KIL",name:"Bikini & Kili",parent:"MH-L"},{code:"MH-KWA",name:"Kwajalein",parent:"MH-L"},{code:"MH-L",name:"Ralik chain",parent:"MH"},{code:"MH-LAE",name:"Lae",parent:"MH-L"},{code:"MH-LIB",name:"Lib",parent:"MH-L"},{code:"MH-LIK",name:"Likiep",parent:"MH-T"},{code:"MH-MAJ",name:"Majuro",parent:"MH-T"},{code:"MH-MAL",name:"Maloelap",parent:"MH-T"},{code:"MH-MEJ",name:"Mejit",parent:"MH-T"},{code:"MH-MIL",name:"Mili",parent:"MH-T"},{code:"MH-NMK",name:"Namdrik",parent:"MH-L"},{code:"MH-NMU",name:"Namu",parent:"MH-L"},{code:"MH-RON",name:"Rongelap",parent:"MH-L"},{code:"MH-T",name:"Ratak chain",parent:"MH"},{code:"MH-UJA",name:"Ujae",parent:"MH-L"},{code:"MH-UTI",name:"Utrik",parent:"MH-T"},{code:"MH-WTH",name:"Wotho",parent:"MH-L"},{code:"MH-WTJ",name:"Wotje",parent:"MH-T"},{code:"MK-101",name:"Veles",parent:"MK"},{code:"MK-102",name:"Gradsko",parent:"MK"},{code:"MK-103",name:"Demir Kapija",parent:"MK"},{code:"MK-104",name:"Kavadarci",parent:"MK"},{code:"MK-105",name:"Lozovo",parent:"MK"},{code:"MK-106",name:"Negotino",parent:"MK"},{code:"MK-107",name:"Rosoman",parent:"MK"},{code:"MK-108",name:"Sveti Nikole",parent:"MK"},{code:"MK-109",name:"Čaška",parent:"MK"},{code:"MK-201",name:"Berovo",parent:"MK"},{code:"MK-202",name:"Vinica",parent:"MK"},{code:"MK-203",name:"Delčevo",parent:"MK"},{code:"MK-204",name:"Zrnovci",parent:"MK"},{code:"MK-205",name:"Karbinci",parent:"MK"},{code:"MK-206",name:"Kočani",parent:"MK"},{code:"MK-207",name:"Makedonska Kamenica",parent:"MK"},{code:"MK-208",name:"Pehčevo",parent:"MK"},{code:"MK-209",name:"Probištip",parent:"MK"},{code:"MK-210",name:"Češinovo-Obleševo",parent:"MK"},{code:"MK-211",name:"Štip",parent:"MK"},{code:"MK-301",name:"Vevčani",parent:"MK"},{code:"MK-303",name:"Debar",parent:"MK"},{code:"MK-304",name:"Debrca",parent:"MK"},{code:"MK-307",name:"Kičevo",parent:"MK"},{code:"MK-308",name:"Makedonski Brod",parent:"MK"},{code:"MK-310",name:"Ohrid",parent:"MK"},{code:"MK-311",name:"Plasnica",parent:"MK"},{code:"MK-312",name:"Struga",parent:"MK"},{code:"MK-313",name:"Centar Župa",parent:"MK"},{code:"MK-401",name:"Bogdanci",parent:"MK"},{code:"MK-402",name:"Bosilovo",parent:"MK"},{code:"MK-403",name:"Valandovo",parent:"MK"},{code:"MK-404",name:"Vasilevo",parent:"MK"},{code:"MK-405",name:"Gevgelija",parent:"MK"},{code:"MK-406",name:"Dojran",parent:"MK"},{code:"MK-407",name:"Konče",parent:"MK"},{code:"MK-408",name:"Novo Selo",parent:"MK"},{code:"MK-409",name:"Radoviš",parent:"MK"},{code:"MK-410",name:"Strumica",parent:"MK"},{code:"MK-501",name:"Bitola",parent:"MK"},{code:"MK-502",name:"Demir Hisar",parent:"MK"},{code:"MK-503",name:"Dolneni",parent:"MK"},{code:"MK-504",name:"Krivogaštani",parent:"MK"},{code:"MK-505",name:"Kruševo",parent:"MK"}
1323,{code:"MK-506",name:"Mogila",parent:"MK"},{code:"MK-507",name:"Novaci",parent:"MK"},{code:"MK-508",name:"Prilep",parent:"MK"},{code:"MK-509",name:"Resen",parent:"MK"},{code:"MK-601",name:"Bogovinje",parent:"MK"},{code:"MK-602",name:"Brvenica",parent:"MK"},{code:"MK-603",name:"Vrapčište",parent:"MK"},{code:"MK-604",name:"Gostivar",parent:"MK"},{code:"MK-605",name:"Želino",parent:"MK"},{code:"MK-606",name:"Jegunovce",parent:"MK"},{code:"MK-607",name:"Mavrovo i Rostuše",parent:"MK"},{code:"MK-608",name:"Tearce",parent:"MK"},{code:"MK-609",name:"Tetovo",parent:"MK"},{code:"MK-701",name:"Kratovo",parent:"MK"},{code:"MK-702",name:"Kriva Palanka",parent:"MK"},{code:"MK-703",name:"Kumanovo",parent:"MK"},{code:"MK-704",name:"Lipkovo",parent:"MK"},{code:"MK-705",name:"Rankovce",parent:"MK"},{code:"MK-706",name:"Staro Nagoričane",parent:"MK"},{code:"MK-801",name:"Aerodrom",parent:"MK"},{code:"MK-802",name:"Aračinovo",parent:"MK"},{code:"MK-803",name:"Butel",parent:"MK"},{code:"MK-804",name:"Gazi Baba",parent:"MK"},{code:"MK-805",name:"Gjorče Petrov",parent:"MK"},{code:"MK-806",name:"Zelenikovo",parent:"MK"},{code:"MK-807",name:"Ilinden",parent:"MK"},{code:"MK-808",name:"Karpoš",parent:"MK"},{code:"MK-809",name:"Kisela Voda",parent:"MK"},{code:"MK-810",name:"Petrovec",parent:"MK"},{code:"MK-811",name:"Saraj",parent:"MK"},{code:"MK-812",name:"Sopište",parent:"MK"},{code:"MK-813",name:"Studeničani",parent:"MK"},{code:"MK-814",name:"Centar",parent:"MK"},{code:"MK-815",name:"Čair",parent:"MK"},{code:"MK-816",name:"Čučer-Sandevo",parent:"MK"},{code:"MK-817",name:"Šuto Orizari",parent:"MK"},{code:"ML-1",name:"Kayes",parent:"ML"},{code:"ML-10",name:"Taoudénit",parent:"ML"},{code:"ML-2",name:"Koulikoro",parent:"ML"},{code:"ML-3",name:"Sikasso",parent:"ML"},{code:"ML-4",name:"Ségou",parent:"ML"},{code:"ML-5",name:"Mopti",parent:"ML"},{code:"ML-6",name:"Tombouctou",parent:"ML"},{code:"ML-7",name:"Gao",parent:"ML"},{code:"ML-8",name:"Kidal",parent:"ML"},{code:"ML-9",name:"Ménaka",parent:"ML"},{code:"ML-BKO",name:"Bamako",parent:"ML"},{code:"MM-01",name:"Sagaing",parent:"MM"},{code:"MM-02",name:"Bago",parent:"MM"},{code:"MM-03",name:"Magway",parent:"MM"},{code:"MM-04",name:"Mandalay",parent:"MM"},{code:"MM-05",name:"Tanintharyi",parent:"MM"},{code:"MM-06",name:"Yangon",parent:"MM"},{code:"MM-07",name:"Ayeyarwady",parent:"MM"},{code:"MM-11",name:"Kachin",parent:"MM"},{code:"MM-12",name:"Kayah",parent:"MM"},{code:"MM-13",name:"Kayin",parent:"MM"},{code:"MM-14",name:"Chin",parent:"MM"},{code:"MM-15",name:"Mon",parent:"MM"},{code:"MM-16",name:"Rakhine",parent:"MM"},{code:"MM-17",name:"Shan",parent:"MM"},{code:"MM-18",name:"Nay Pyi Taw",parent:"MM"},{code:"MN-035",name:"Orhon",parent:"MN"},{code:"MN-037",name:"Darhan uul",parent:"MN"},{code:"MN-039",name:"Hentiy",parent:"MN"},{code:"MN-041",name:"Hövsgöl",parent:"MN"},{code:"MN-043",name:"Hovd",parent:"MN"},{code:"MN-046",name:"Uvs",parent:"MN"},{code:"MN-047",name:"Töv",parent:"MN"},{code:"MN-049",name:"Selenge",parent:"MN"},{code:"MN-051",name:"Sühbaatar",parent:"MN"},{code:"MN-053",name:"Ömnögovĭ",parent:"MN"},{code:"MN-055",name:"Övörhangay",parent:"MN"},{code:"MN-057",name:"Dzavhan",parent:"MN"},{code:"MN-059",name:"Dundgovĭ",parent:"MN"},{code:"MN-061",name:"Dornod",parent:"MN"},{code:"MN-063",name:"Dornogovĭ",parent:"MN"},{code:"MN-064",name:"Govĭ-Sümber",parent:"MN"},{code:"MN-065",name:"Govĭ-Altay",parent:"MN"},{code:"MN-067",name:"Bulgan",parent:"MN"},{code:"MN-069",name:"Bayanhongor",parent:"MN"},{code:"MN-071",name:"Bayan-Ölgiy",parent:"MN"},{code:"MN-073",name:"Arhangay",parent:"MN"},{code:"MN-1",name:"Ulaanbaatar",parent:"MN"},{code:"MR-01",name:"Hodh ech Chargui",parent:"MR"},{code:"MR-02",name:"Hodh el Gharbi",parent:"MR"},{code:"MR-03",name:"Assaba",parent:"MR"},{code:"MR-04",name:"Gorgol",parent:"MR"},{code:"MR-05",name:"Brakna",parent:"MR"},{code:"MR-06",name:"Trarza",parent:"MR"},{code:"MR-07",name:"Adrar",parent:"MR"},{code:"MR-08",name:"Dakhlet Nouâdhibou",parent:"MR"},{code:"MR-09",name:"Tagant",parent:"MR"},{code:"MR-10",name:"Guidimaka",parent:"MR"},{code:"MR-11",name:"Tiris Zemmour",parent:"MR"},{code:"MR-12",name:"Inchiri",parent:"MR"},{code:"MR-13",name:"Nuwākshūţ al Gharbīyah",parent:"MR"},{code:"MR-14",name:"Nuwākshūţ ash Shamālīyah",parent:"MR"},{code:"MR-15",name:"Nuwākshūţ al Janūbīyah",parent:"MR"},{code:"MT-01",name:"Attard",parent:"MT"},{code:"MT-02",name:"Balzan",parent:"MT"},{code:"MT-03",name:"Birgu",parent:"MT"},{code:"MT-04",name:"Birkirkara",parent:"MT"},{code:"MT-05",name:"Birżebbuġa",parent:"MT"}
1323,{code:"MT-06",name:"Bormla",parent:"MT"},{code:"MT-07",name:"Dingli",parent:"MT"},{code:"MT-08",name:"Fgura",parent:"MT"},{code:"MT-09",name:"Floriana",parent:"MT"},{code:"MT-10",name:"Fontana",parent:"MT"},{code:"MT-11",name:"Gudja",parent:"MT"},{code:"MT-12",name:"Gżira",parent:"MT"},{code:"MT-13",name:"Għajnsielem",parent:"MT"},{code:"MT-14",name:"Għarb",parent:"MT"},{code:"MT-15",name:"Għargħur",parent:"MT"},{code:"MT-16",name:"Għasri",parent:"MT"},{code:"MT-17",name:"Għaxaq",parent:"MT"},{code:"MT-18",name:"Ħamrun",parent:"MT"},{code:"MT-19",name:"Iklin",parent:"MT"},{code:"MT-20",name:"Isla",parent:"MT"},{code:"MT-21",name:"Kalkara",parent:"MT"},{code:"MT-22",name:"Kerċem",parent:"MT"},{code:"MT-23",name:"Kirkop",parent:"MT"},{code:"MT-24",name:"Lija",parent:"MT"},{code:"MT-25",name:"Luqa",parent:"MT"},{code:"MT-26",name:"Marsa",parent:"MT"},{code:"MT-27",name:"Marsaskala",parent:"MT"},{code:"MT-28",name:"Marsaxlokk",parent:"MT"},{code:"MT-29",name:"Mdina",parent:"MT"},{code:"MT-30",name:"Mellieħa",parent:"MT"},{code:"MT-31",name:"Mġarr",parent:"MT"},{code:"MT-32",name:"Mosta",parent:"MT"},{code:"MT-33",name:"Mqabba",parent:"MT"},{code:"MT-34",name:"Msida",parent:"MT"},{code:"MT-35",name:"Mtarfa",parent:"MT"},{code:"MT-36",name:"Munxar",parent:"MT"},{code:"MT-37",name:"Nadur",parent:"MT"},{code:"MT-38",name:"Naxxar",parent:"MT"},{code:"MT-39",name:"Paola",parent:"MT"},{code:"MT-40",name:"Pembroke",parent:"MT"},{code:"MT-41",name:"Pietà",parent:"MT"},{code:"MT-42",name:"Qala",parent:"MT"},{code:"MT-43",name:"Qormi",parent:"MT"},{code:"MT-44",name:"Qrendi",parent:"MT"},{code:"MT-45",name:"Rabat Gozo",parent:"MT"},{code:"MT-46",name:"Rabat Malta",parent:"MT"},{code:"MT-47",name:"Safi",parent:"MT"},{code:"MT-48",name:"Saint Julian's",parent:"MT"},{code:"MT-49",name:"Saint John",parent:"MT"},{code:"MT-50",name:"Saint Lawrence",parent:"MT"},{code:"MT-51",name:"Saint Paul's Bay",parent:"MT"},{code:"MT-52",name:"Sannat",parent:"MT"},{code:"MT-53",name:"Saint Lucia's",parent:"MT"},{code:"MT-54",name:"Santa Venera",parent:"MT"},{code:"MT-55",name:"Siġġiewi",parent:"MT"},{code:"MT-56",name:"Sliema",parent:"MT"},{code:"MT-57",name:"Swieqi",parent:"MT"},{code:"MT-58",name:"Ta' Xbiex",parent:"MT"},{code:"MT-59",name:"Tarxien",parent:"MT"},{code:"MT-60",name:"Valletta",parent:"MT"},{code:"MT-61",name:"Xagħra",parent:"MT"},{code:"MT-62",name:"Xewkija",parent:"MT"},{code:"MT-63",name:"Xgħajra",parent:"MT"},{code:"MT-64",name:"Żabbar",parent:"MT"},{code:"MT-65",name:"Żebbuġ Gozo",parent:"MT"},{code:"MT-66",name:"Żebbuġ Malta",parent:"MT"},{code:"MT-67",name:"Żejtun",parent:"MT"},{code:"MT-68",name:"Żurrieq",parent:"MT"},{code:"MU-AG",name:"Agalega Islands",parent:"MU"},{code:"MU-BL",name:"Black River",parent:"MU"},{code:"MU-CC",name:"Cargados Carajos Shoals",parent:"MU"},{code:"MU-FL",name:"Flacq",parent:"MU"},{code:"MU-GP",name:"Grand Port",parent:"MU"},{code:"MU-MO",name:"Moka",parent:"MU"},{code:"MU-PA",name:"Pamplemousses",parent:"MU"},{code:"MU-PL",name:"Port Louis",parent:"MU"},{code:"MU-PW",name:"Plaines Wilhems",parent:"MU"},{code:"MU-RO",name:"Rodrigues Island",parent:"MU"},{code:"MU-RR",name:"Rivière du Rempart",parent:"MU"},{code:"MU-SA",name:"Savanne",parent:"MU"},{code:"MV-00",name:"South Ari Atoll",parent:"MV"},{code:"MV-01",name:"Addu City",parent:"MV"},{code:"MV-02",name:"North Ari Atoll",parent:"MV"},{code:"MV-03",name:"Faadhippolhu",parent:"MV"},{code:"MV-04",name:"Felidhu Atoll",parent:"MV"},{code:"MV-05",name:"Hahdhunmathi",parent:"MV"},{code:"MV-07",name:"North Thiladhunmathi",parent:"MV"},{code:"MV-08",name:"Kolhumadulu",parent:"MV"},{code:"MV-12",name:"Mulaku Atoll",parent:"MV"},{code:"MV-13",name:"North Maalhosmadulu",parent:"MV"},{code:"MV-14",name:"North Nilandhe Atoll",parent:"MV"},{code:"MV-17",name:"South Nilandhe Atoll",parent:"MV"},{code:"MV-20",name:"South Maalhosmadulu",parent:"MV"},{code:"MV-23",name:"South Thiladhunmathi",parent:"MV"},{code:"MV-24",name:"North Miladhunmadulu",parent:"MV"},{code:"MV-25",name:"South Miladhunmadulu",parent:"MV"},{code:"MV-26",name:"Male Atoll",parent:"MV"},{code:"MV-27",name:"North Huvadhu Atoll",parent:"MV"},{code:"MV-28",name:"South Huvadhu Atoll",parent:"MV"},{code:"MV-29",name:"Fuvammulah",parent:"MV"},{code:"MV-MLE",name:"Male",parent:"MV"},{code:"MW-BA",name:"Balaka",parent:"MW-S"},{code:"MW-BL",name:"Blantyre",parent:"MW-S"},{code:"MW-C",name:"Central Region",parent:"MW"},{code:"MW-CK",name:"Chikwawa",parent:"MW-S"},{code:"MW-CR",name:"Chiradzulu",parent:"MW-S"},{code:"MW-CT",name:"Chitipa",parent:"MW-N"},{code:"MW-DE",name:"Dedza",parent:"MW-C"},{code:"MW-DO",name:"Dowa",parent:"MW-C"},{code:"MW-KR",name:"Karonga",parent:"MW-N"},{code:"MW-KS",name:"Kasungu",parent:"MW-C"},{code:"MW-LI",name:"Lilongwe",parent:"MW-C"},{code:"MW-LK",name:"Likoma",parent:"MW-N"},{code:"MW-MC",name:"Mchinji",parent:"MW-C"},{code:"MW-MG",name:"Mangochi",parent:"MW-S"},{code:"MW-MH",name:"Machinga",parent:"MW-S"},{code:"MW-MU",name:"Mulanje",parent:"MW-S"},{code:"MW-MW",name:"Mwanza",parent:"MW-S"},{code:"MW-MZ",name:"Mzimba",parent:"MW-N"},{code:"MW-N",name:"Northern Region",parent:"MW"},{code:"MW-NB",name:"Nkhata Bay",parent:"MW-N"},{code:"MW-NE",name:"Neno",parent:"MW-S"},{code:"MW-NI",name:"Ntchisi",parent:"MW-C"},{code:"MW-NK",name:"Nkhotakota",parent:"MW-C"},{code:"MW-NS",name:"Nsanje",parent:"MW-S"},{code:"MW-NU",name:"Ntcheu",parent:"MW-C"},{code:"MW-PH",name:"Phalombe",parent:"MW-S"},{code:"MW-RU",name:"Rumphi",parent:"MW-N"},{code:"MW-S",name:"Southern Region",parent:"MW"},{code:"MW-SA",name:"Salima",parent:"MW-C"},{code:"MW-TH",name:"Thyolo",parent:"MW-S"},{code:"MW-ZO",name:"Zomba",parent:"MW-S"},{code:"MX-AGU",name:"Aguascalientes",parent:"MX"},{code:"MX-BCN",name:"Baja California",parent:"MX"},{code:"MX-BCS",name:"Baja California Sur",parent:"MX"},{code:"MX-CAM",name:"Campeche",parent:"MX"},{code:"MX-CHH",name:"Chihuahua",parent:"MX"},{code:"MX-CHP",name:"Chiapas",parent:"MX"},{code:"MX-CMX",name:"Ciudad de México",parent:"MX"},{code:"MX-COA",name:"Coahuila de Zaragoza",parent:"MX"},{code:"MX-COL",name:"Colima",parent:"MX"},{code:"MX-DUR",name:"Durango",parent:"MX"},{code:"MX-GRO",name:"Guerrero",parent:"MX"},{code:"MX-GUA",name:"Guanajuato",parent:"MX"},{code:"MX-HID",name:"Hidalgo",parent:"MX"},{code:"MX-JAL",name:"Jalisco",parent:"MX"},{code:"MX-MEX",name:"México",parent:"MX"},{code:"MX-MIC",name:"Michoacán de Ocampo",parent:"MX"},{code:"MX-MOR",name:"Morelos",parent:"MX"},{code:"MX-NAY",name:"Nayarit",parent:"MX"},{code:"MX-NLE",name:"Nuevo León",parent:"MX"},{code:"MX-OAX",name:"Oaxaca",parent:"MX"},{code:"MX-PUE",name:"Puebla",parent:"MX"},{code:"MX-QUE",name:"Querétaro",parent:"MX"},{code:"MX-ROO",name:"Quintana Roo",parent:"MX"},{code:"MX-SIN",name:"Sinaloa",parent:"MX"},{code:"MX-SLP",name:"San Luis Potosí",parent:"MX"},{code:"MX-SON",name:"Sonora",parent:"MX"},{code:"MX-TAB",name:"Tabasco",parent:"MX"}
1323,{code:"MX-TAM",name:"Tamaulipas",parent:"MX"},{code:"MX-TLA",name:"Tlaxcala",parent:"MX"},{code:"MX-VER",name:"Veracruz de Ignacio de la Llave",parent:"MX"},{code:"MX-YUC",name:"Yucatán",parent:"MX"},{code:"MX-ZAC",name:"Zacatecas",parent:"MX"},{code:"MY-01",name:"Johor",parent:"MY"},{code:"MY-02",name:"Kedah",parent:"MY"},{code:"MY-03",name:"Kelantan",parent:"MY"},{code:"MY-04",name:"Melaka",parent:"MY"},{code:"MY-05",name:"Negeri Sembilan",parent:"MY"},{code:"MY-06",name:"Pahang",parent:"MY"},{code:"MY-07",name:"Pulau Pinang",parent:"MY"},{code:"MY-08",name:"Perak",parent:"MY"},{code:"MY-09",name:"Perlis",parent:"MY"},{code:"MY-10",name:"Selangor",parent:"MY"},{code:"MY-11",name:"Terengganu",parent:"MY"},{code:"MY-12",name:"Sabah",parent:"MY"},{code:"MY-13",name:"Sarawak",parent:"MY"},{code:"MY-14",name:"Wilayah Persekutuan Kuala Lumpur",parent:"MY"},{code:"MY-15",name:"Wilayah Persekutuan Labuan",parent:"MY"},{code:"MY-16",name:"Wilayah Persekutuan Putrajaya",parent:"MY"},{code:"MZ-A",name:"Niassa",parent:"MZ"},{code:"MZ-B",name:"Manica",parent:"MZ"},{code:"MZ-G",name:"Gaza",parent:"MZ"},{code:"MZ-I",name:"Inhambane",parent:"MZ"},{code:"MZ-L",name:"Maputo",parent:"MZ"},{code:"MZ-MPM",name:"Maputo",parent:"MZ"},{code:"MZ-N",name:"Nampula",parent:"MZ"},{code:"MZ-P",name:"Cabo Delgado",parent:"MZ"},{code:"MZ-Q",name:"Zambézia",parent:"MZ"},{code:"MZ-S",name:"Sofala",parent:"MZ"},{code:"MZ-T",name:"Tete",parent:"MZ"},{code:"NA-CA",name:"Zambezi",parent:"NA"},{code:"NA-ER",name:"Erongo",parent:"NA"},{code:"NA-HA",name:"Hardap",parent:"NA"},{code:"NA-KA",name:"//Karas",parent:"NA"},{code:"NA-KE",name:"Kavango East",parent:"NA"},{code:"NA-KH",name:"Khomas",parent:"NA"},{code:"NA-KU",name:"Kunene",parent:"NA"},{code:"NA-KW",name:"Kavango West",parent:"NA"},{code:"NA-OD",name:"Otjozondjupa",parent:"NA"},{code:"NA-OH",name:"Omaheke",parent:"NA"},{code:"NA-ON",name:"Oshana",parent:"NA"},{code:"NA-OS",name:"Omusati",parent:"NA"},{code:"NA-OT",name:"Oshikoto",parent:"NA"},{code:"NA-OW",name:"Ohangwena",parent:"NA"},{code:"NE-1",name:"Agadez",parent:"NE"},{code:"NE-2",name:"Diffa",parent:"NE"},{code:"NE-3",name:"Dosso",parent:"NE"},{code:"NE-4",name:"Maradi",parent:"NE"},{code:"NE-5",name:"Tahoua",parent:"NE"},{code:"NE-6",name:"Tillabéri",parent:"NE"},{code:"NE-7",name:"Zinder",parent:"NE"},{code:"NE-8",name:"Niamey",parent:"NE"},{code:"NG-AB",name:"Abia",parent:"NG"},{code:"NG-AD",name:"Adamawa",parent:"NG"},{code:"NG-AK",name:"Akwa Ibom",parent:"NG"},{code:"NG-AN",name:"Anambra",parent:"NG"},{code:"NG-BA",name:"Bauchi",parent:"NG"},{code:"NG-BE",name:"Benue",parent:"NG"},{code:"NG-BO",name:"Borno",parent:"NG"},{code:"NG-BY",name:"Bayelsa",parent:"NG"},{code:"NG-CR",name:"Cross River",parent:"NG"},{code:"NG-DE",name:"Delta",parent:"NG"},{code:"NG-EB",name:"Ebonyi",parent:"NG"},{code:"NG-ED",name:"Edo",parent:"NG"},{code:"NG-EK",name:"Ekiti",parent:"NG"},{code:"NG-EN",name:"Enugu",parent:"NG"},{code:"NG-FC",name:"Abuja Federal Capital Territory",parent:"NG"},{code:"NG-GO",name:"Gombe",parent:"NG"},{code:"NG-IM",name:"Imo",parent:"NG"},{code:"NG-JI",name:"Jigawa",parent:"NG"},{code:"NG-KD",name:"Kaduna",parent:"NG"},{code:"NG-KE",name:"Kebbi",parent:"NG"},{code:"NG-KN",name:"Kano",parent:"NG"},{code:"NG-KO",name:"Kogi",parent:"NG"},{code:"NG-KT",name:"Katsina",parent:"NG"},{code:"NG-KW",name:"Kwara",parent:"NG"},{code:"NG-LA",name:"Lagos",parent:"NG"},{code:"NG-NA",name:"Nasarawa",parent:"NG"},{code:"NG-NI",name:"Niger",parent:"NG"},{code:"NG-OG",name:"Ogun",parent:"NG"},{code:"NG-ON",name:"Ondo",parent:"NG"},{code:"NG-OS",name:"Osun",parent:"NG"},{code:"NG-OY",name:"Oyo",parent:"NG"},{code:"NG-PL",name:"Plateau",parent:"NG"},{code:"NG-RI",name:"Rivers",parent:"NG"},{code:"NG-SO",name:"Sokoto",parent:"NG"},{code:"NG-TA",name:"Taraba",parent:"NG"},{code:"NG-YO",name:"Yobe",parent:"NG"},{code:"NG-ZA",name:"Zamfara",parent:"NG"},{code:"NI-AN",name:"Costa Caribe Norte",parent:"NI"},{code:"NI-AS",name:"Costa Caribe Sur",parent:"NI"},{code:"NI-BO",name:"Boaco",parent:"NI"},{code:"NI-CA",name:"Carazo",parent:"NI"},{code:"NI-CI",name:"Chinandega",parent:"NI"},{code:"NI-CO",name:"Chontales",parent:"NI"},{code:"NI-ES",name:"Estelí",parent:"NI"}
1323,{code:"NI-GR",name:"Granada",parent:"NI"},{code:"NI-JI",name:"Jinotega",parent:"NI"},{code:"NI-LE",name:"León",parent:"NI"},{code:"NI-MD",name:"Madriz",parent:"NI"},{code:"NI-MN",name:"Managua",parent:"NI"},{code:"NI-MS",name:"Masaya",parent:"NI"},{code:"NI-MT",name:"Matagalpa",parent:"NI"},{code:"NI-NS",name:"Nueva Segovia",parent:"NI"},{code:"NI-RI",name:"Rivas",parent:"NI"},{code:"NI-SJ",name:"Río San Juan",parent:"NI"},{code:"NL-AW",name:"Aruba",parent:"NL"},{code:"NL-BQ1",name:"Bonaire",parent:"NL"},{code:"NL-BQ2",name:"Saba",parent:"NL"},{code:"NL-BQ3",name:"Sint Eustatius",parent:"NL"},{code:"NL-CW",name:"Curaçao",parent:"NL"},{code:"NL-DR",name:"Drenthe",parent:"NL"},{code:"NL-FL",name:"Flevoland",parent:"NL"},{code:"NL-FR",name:"Fryslân",parent:"NL"},{code:"NL-GE",name:"Gelderland",parent:"NL"},{code:"NL-GR",name:"Groningen",parent:"NL"},{code:"NL-LI",name:"Limburg",parent:"NL"},{code:"NL-NB",name:"Noord-Brabant",parent:"NL"},{code:"NL-NH",name:"Noord-Holland",parent:"NL"},{code:"NL-OV",name:"Overijssel",parent:"NL"},{code:"NL-SX",name:"Sint Maarten",parent:"NL"},{code:"NL-UT",name:"Utrecht",parent:"NL"},{code:"NL-ZE",name:"Zeeland",parent:"NL"},{code:"NL-ZH",name:"Zuid-Holland",parent:"NL"},{code:"NO-03",name:"Oslo",parent:"NO"},{code:"NO-11",name:"Rogaland",parent:"NO"},{code:"NO-15",name:"Møre og Romsdal",parent:"NO"},{code:"NO-18",name:"Nordland",parent:"NO"},{code:"NO-21",name:"Svalbard",parent:"NO"},{code:"NO-22",name:"Jan Mayen",parent:"NO"},{code:"NO-30",name:"Viken",parent:"NO"},{code:"NO-34",name:"Innlandet",parent:"NO"},{code:"NO-38",name:"Vestfold og Telemark",parent:"NO"},{code:"NO-42",name:"Agder",parent:"NO"},{code:"NO-46",name:"Vestland",parent:"NO"},{code:"NO-50",name:"Trøndelag / Trööndelage (-)",parent:"NO"},{code:"NO-54",name:"Troms og Finnmark / Romsa ja Finnmárku",parent:"NO"},{code:"NP-P1",name:"Pradesh 1",parent:"NP"},{code:"NP-P2",name:"Madhesh",parent:"NP"},{code:"NP-P3",name:"Bāgmatī",parent:"NP"},{code:"NP-P4",name:"Gaṇḍakī",parent:"NP"},{code:"NP-P5",name:"Lumbinī",parent:"NP"},{code:"NP-P6",name:"Karṇālī",parent:"NP"},{code:"NP-P7",name:"Sudūrpashchim",parent:"NP"},{code:"NR-01",name:"Aiwo",parent:"NR"},{code:"NR-02",name:"Anabar",parent:"NR"},{code:"NR-03",name:"Anetan",parent:"NR"},{code:"NR-04",name:"Anibare",parent:"NR"},{code:"NR-05",name:"Baitsi",parent:"NR"},{code:"NR-06",name:"Boe",parent:"NR"},{code:"NR-07",name:"Buada",parent:"NR"},{code:"NR-08",name:"Denigomodu",parent:"NR"},{code:"NR-09",name:"Ewa",parent:"NR"},{code:"NR-10",name:"Ijuw",parent:"NR"},{code:"NR-11",name:"Meneng",parent:"NR"},{code:"NR-12",name:"Nibok",parent:"NR"},{code:"NR-13",name:"Uaboe",parent:"NR"},{code:"NR-14",name:"Yaren",parent:"NR"},{code:"NZ-AUK",name:"Auckland",parent:"NZ"},{code:"NZ-BOP",name:"Bay of Plenty",parent:"NZ"},{code:"NZ-CAN",name:"Canterbury",parent:"NZ"},{code:"NZ-CIT",name:"Chatham Islands Territory",parent:"NZ"},{code:"NZ-GIS",name:"Gisborne",parent:"NZ"},{code:"NZ-HKB",name:"Hawke's Bay",parent:"NZ"},{code:"NZ-MBH",name:"Marlborough",parent:"NZ"},{code:"NZ-MWT",name:"Manawatū-Whanganui",parent:"NZ"},{code:"NZ-NSN",name:"Nelson",parent:"NZ"},{code:"NZ-NTL",name:"Northland",parent:"NZ"},{code:"NZ-OTA",name:"Otago",parent:"NZ"},{code:"NZ-STL",name:"Southland",parent:"NZ"},{code:"NZ-TAS",name:"Tasman",parent:"NZ"},{code:"NZ-TKI",name:"Taranaki",parent:"NZ"},{code:"NZ-WGN",name:"Greater Wellington",parent:"NZ"},{code:"NZ-WKO",name:"Waikato",parent:"NZ"},{code:"NZ-WTC",name:"West Coast",parent:"NZ"},{code:"OM-BJ",name:"Janūb al Bāţinah",parent:"OM"},{code:"OM-BS",name:"Shamāl al Bāţinah",parent:"OM"},{code:"OM-BU",name:"Al Buraymī",parent:"OM"},{code:"OM-DA",name:"Ad Dākhilīyah",parent:"OM"},{code:"OM-MA",name:"Masqaţ",parent:"OM"},{code:"OM-MU",name:"Musandam",parent:"OM"},{code:"OM-SJ",name:"Janūb ash Sharqīyah",parent:"OM"},{code:"OM-SS",name:"Shamāl ash Sharqīyah",parent:"OM"},{code:"OM-WU",name:"Al Wusţá",parent:"OM"},{code:"OM-ZA",name:"Az̧ Z̧āhirah",parent:"OM"},{code:"OM-ZU",name:"Z̧ufār",parent:"OM"},{code:"PA-1",name:"Bocas del Toro",parent:"PA"},{code:"PA-10",name:"Panamá Oeste",parent:"PA"},{code:"PA-2",name:"Coclé",parent:"PA"},{code:"PA-3",name:"Colón",parent:"PA"},{code:"PA-4",name:"Chiriquí",parent:"PA"},{code:"PA-5",name:"Darién",parent:"PA"},{code:"PA-6",name:"Herrera",parent:"PA"},{code:"PA-7",name:"Los Santos",parent:"PA"},{code:"PA-8",name:"Panamá",parent:"PA"},{code:"PA-9",name:"Veraguas",parent:"PA"},{code:"PA-EM",name:"Emberá",parent:"PA"},{code:"PA-KY",name:"Guna Yala",parent:"PA"},{code:"PA-NB",name:"Ngäbe-Buglé",parent:"PA"},{code:"PA-NT",name:"Naso Tjër Di",parent:"PA"},{code:"PE-AMA",name:"Amazonas",parent:"PE"},{code:"PE-ANC",name:"Ancash",parent:"PE"},{code:"PE-APU",name:"Apurímac",parent:"PE"},{code:"PE-ARE",name:"Arequipa",parent:"PE"},{code:"PE-AYA",name:"Ayacucho",parent:"PE"},{code:"PE-CAJ",name:"Cajamarca",parent:"PE"},{code:"PE-CAL",name:"El Callao",parent:"PE"},{code:"PE-CUS",name:"Cusco",parent:"PE"},{code:"PE-HUC",name:"Huánuco",parent:"PE"},{code:"PE-HUV",name:"Huancavelica",parent:"PE"},{code:"PE-ICA",name:"Ica",parent:"PE"},{code:"PE-JUN",name:"Junín",parent:"PE"},{code:"PE-LAL",name:"La Libertad",parent:"PE"},{code:"PE-LAM",name:"Lambayeque",parent:"PE"},{code:"PE-LIM",name:"Lima",parent:"PE"}
1323,{code:"PE-LMA",name:"Municipalidad Metropolitana de Lima",parent:"PE"},{code:"PE-LOR",name:"Loreto",parent:"PE"},{code:"PE-MDD",name:"Madre de Dios",parent:"PE"},{code:"PE-MOQ",name:"Moquegua",parent:"PE"},{code:"PE-PAS",name:"Pasco",parent:"PE"},{code:"PE-PIU",name:"Piura",parent:"PE"},{code:"PE-PUN",name:"Puno",parent:"PE"},{code:"PE-SAM",name:"San Martín",parent:"PE"},{code:"PE-TAC",name:"Tacna",parent:"PE"},{code:"PE-TUM",name:"Tumbes",parent:"PE"},{code:"PE-UCA",name:"Ucayali",parent:"PE"},{code:"PG-CPK",name:"Chimbu",parent:"PG"},{code:"PG-CPM",name:"Central",parent:"PG"},{code:"PG-EBR",name:"East New Britain",parent:"PG"},{code:"PG-EHG",name:"Eastern Highlands",parent:"PG"},{code:"PG-EPW",name:"Enga",parent:"PG"},{code:"PG-ESW",name:"East Sepik",parent:"PG"},{code:"PG-GPK",name:"Gulf",parent:"PG"},{code:"PG-HLA",name:"Hela",parent:"PG"},{code:"PG-JWK",name:"Jiwaka",parent:"PG"},{code:"PG-MBA",name:"Milne Bay",parent:"PG"},{code:"PG-MPL",name:"Morobe",parent:"PG"},{code:"PG-MPM",name:"Madang",parent:"PG"},{code:"PG-MRL",name:"Manus",parent:"PG"},{code:"PG-NCD",name:"National Capital District (Port Moresby)",parent:"PG"},{code:"PG-NIK",name:"New Ireland",parent:"PG"},{code:"PG-NPP",name:"Northern",parent:"PG"},{code:"PG-NSB",name:"Bougainville",parent:"PG"},{code:"PG-SAN",name:"West Sepik",parent:"PG"},{code:"PG-SHM",name:"Southern Highlands",parent:"PG"},{code:"PG-WBK",name:"West New Britain",parent:"PG"},{code:"PG-WHM",name:"Western Highlands",parent:"PG"},{code:"PG-WPD",name:"Western",parent:"PG"},{code:"PH-00",name:"National Capital Region",parent:"PH"},{code:"PH-01",name:"Ilocos",parent:"PH"},{code:"PH-02",name:"Cagayan Valley",parent:"PH"},{code:"PH-03",name:"Central Luzon",parent:"PH"},{code:"PH-05",name:"Bicol",parent:"PH"},{code:"PH-06",name:"Western Visayas",parent:"PH"},{code:"PH-07",name:"Central Visayas",parent:"PH"},{code:"PH-08",name:"Eastern Visayas",parent:"PH"},{code:"PH-09",name:"Zamboanga Peninsula",parent:"PH"},{code:"PH-10",name:"Northern Mindanao",parent:"PH"},{code:"PH-11",name:"Davao",parent:"PH"},{code:"PH-12",name:"Soccsksargen",parent:"PH"},{code:"PH-13",name:"Caraga",parent:"PH"},{code:"PH-14",name:"Autonomous Region in Muslim Mindanao",parent:"PH"},{code:"PH-15",name:"Cordillera Administrative Region",parent:"PH"},{code:"PH-40",name:"Calabarzon",parent:"PH"},{code:"PH-41",name:"Mimaropa",parent:"PH"},{code:"PH-ABR",name:"Abra",parent:"PH-15"},{code:"PH-AGN",name:"Agusan del Norte",parent:"PH-13"},{code:"PH-AGS",name:"Agusan del Sur",parent:"PH-13"},{code:"PH-AKL",name:"Aklan",parent:"PH-06"},{code:"PH-ALB",name:"Albay",parent:"PH-05"},{code:"PH-ANT",name:"Antique",parent:"PH-06"},{code:"PH-APA",name:"Apayao",parent:"PH-15"},{code:"PH-AUR",name:"Aurora",parent:"PH-03"},{code:"PH-BAN",name:"Bataan",parent:"PH-03"},{code:"PH-BAS",name:"Basilan",parent:"PH-09"},{code:"PH-BEN",name:"Benguet",parent:"PH-15"},{code:"PH-BIL",name:"Biliran",parent:"PH-08"},{code:"PH-BOH",name:"Bohol",parent:"PH-07"},{code:"PH-BTG",name:"Batangas",parent:"PH-40"},{code:"PH-BTN",name:"Batanes",parent:"PH-02"},{code:"PH-BUK",name:"Bukidnon",parent:"PH-10"},{code:"PH-BUL",name:"Bulacan",parent:"PH-03"},{code:"PH-CAG",name:"Cagayan",parent:"PH-02"},{code:"PH-CAM",name:"Camiguin",parent:"PH-10"},{code:"PH-CAN",name:"Camarines Norte",parent:"PH-05"},{code:"PH-CAP",name:"Capiz",parent:"PH-06"},{code:"PH-CAS",name:"Camarines Sur",parent:"PH-05"},{code:"PH-CAT",name:"Catanduanes",parent:"PH-05"},{code:"PH-CAV",name:"Cavite",parent:"PH-40"},{code:"PH-CEB",name:"Cebu",parent:"PH-07"},{code:"PH-COM",name:"Davao de Oro",parent:"PH-11"},{code:"PH-DAO",name:"Davao Oriental",parent:"PH-11"},{code:"PH-DAS",name:"Davao del Sur",parent:"PH-11"},{code:"PH-DAV",name:"Davao del Norte",parent:"PH-11"},{code:"PH-DIN",name:"Dinagat Islands",parent:"PH-13"},{code:"PH-DVO",name:"Davao Occidental",parent:"PH-11"},{code:"PH-EAS",name:"Eastern Samar",parent:"PH-08"},{code:"PH-GUI",name:"Guimaras",parent:"PH-06"},{code:"PH-IFU",name:"Ifugao",parent:"PH-15"},{code:"PH-ILI",name:"Iloilo",parent:"PH-06"},{code:"PH-ILN",name:"Ilocos Norte",parent:"PH-01"},{code:"PH-ILS",name:"Ilocos Sur",parent:"PH-01"},{code:"PH-ISA",name:"Isabela",parent:"PH-02"},{code:"PH-KAL",name:"Kalinga",parent:"PH-15"},{code:"PH-LAG",name:"Laguna",parent:"PH-40"},{code:"PH-LAN",name:"Lanao del Norte",parent:"PH-12"},{code:"PH-LAS",name:"Lanao del Sur",parent:"PH-14"},{code:"PH-LEY",name:"Leyte",parent:"PH-08"},{code:"PH-LUN",name:"La Union",parent:"PH-01"},{code:"PH-MAD",name:"Marinduque",parent:"PH-41"},{code:"PH-MAG",name:"Maguindanao",parent:"PH-14"},{code:"PH-MAS",name:"Masbate",parent:"PH-05"},{code:"PH-MDC",name:"Mindoro Occidental",parent:"PH-41"},{code:"PH-MDR",name:"Mindoro Oriental",parent:"PH-41"},{code:"PH-MOU",name:"Mountain Province",parent:"PH-15"},{code:"PH-MSC",name:"Misamis Occidental",parent:"PH-10"},{code:"PH-MSR",name:"Misamis Oriental",parent:"PH-10"},{code:"PH-NCO",name:"Cotabato",parent:"PH-12"},{code:"PH-NEC",name:"Negros Occidental",parent:"PH-06"},{code:"PH-NER",name:"Negros Oriental",parent:"PH-07"},{code:"PH-NSA",name:"Northern Samar",parent:"PH-08"},{code:"PH-NUE",name:"Nueva Ecija",parent:"PH-03"},{code:"PH-NUV",name:"Nueva Vizcaya",parent:"PH-02"},{code:"PH-PAM",name:"Pampanga",parent:"PH-03"},{code:"PH-PAN",name:"Pangasinan",parent:"PH-01"},{code:"PH-PLW",name:"Palawan",parent:"PH-41"},{code:"PH-QUE",name:"Quezon",parent:"PH-40"},{code:"PH-QUI",name:"Quirino",parent:"PH-02"},{code:"PH-RIZ",name:"Rizal",parent:"PH-40"},{code:"PH-ROM",name:"Romblon",parent:"PH-41"},{code:"PH-SAR",name:"Sarangani",parent:"PH-11"},{code:"PH-SCO",name:"South Cotabato",parent:"PH-11"},{code:"PH-SIG",name:"Siquijor",parent:"PH-07"},{code:"PH-SLE",name:"Southern Leyte",parent:"PH-08"},{code:"PH-SLU",name:"Sulu",parent:"PH-14"},{code:"PH-SOR",name:"Sorsogon",parent:"PH-05"},{code:"PH-SUK",name:"Sultan Kudarat",parent:"PH-12"},{code:"PH-SUN",name:"Surigao del Norte",parent:"PH-13"},{code:"PH-SUR",name:"Surigao del Sur",parent:"PH-13"},{code:"PH-TAR",name:"Tarlac",parent:"PH-03"},{code:"PH-TAW",name:"Tawi-Tawi",parent:"PH-14"},{code:"PH-WSA",name:"Samar",parent:"PH-08"},{code:"PH-ZAN",name:"Zamboanga del Norte",parent:"PH-09"},{code:"PH-ZAS",name:"Zamboanga del Sur",parent:"PH-09"},{code:"PH-ZMB",name:"Zambales",parent:"PH-03"},{code:"PH-ZSI",name:"Zamboanga Sibugay",parent:"PH-09"},{code:"PK-BA",name:"Balochistan",parent:"PK"},{code:"PK-GB",name:"Gilgit-Baltistan",parent:"PK"},{code:"PK-IS",name:"Islamabad",parent:"PK"},{code:"PK-JK",name:"Azad Jammu and Kashmir",parent:"PK"},{code:"PK-KP",name:"Khyber Pakhtunkhwa",parent:"PK"},{code:"PK-PB",name:"Punjab",parent:"PK"},{code:"PK-SD",name:"Sindh",parent:"PK"},{code:"PK-TA",name:"Federally Administered Tribal Areas",parent:"PK"},{code:"PL-02",name:"Dolnośląskie",parent:"PL"},{code:"PL-04",name:"Kujawsko-pomorskie",parent:"PL"},{code:"PL-06",name:"Lubelskie",parent:"PL"},{code:"PL-08",name:"Lubuskie",parent:"PL"},{code:"PL-10",name:"Łódzkie",parent:"PL"},{code:"PL-12",name:"Małopolskie",parent:"PL"},{code:"PL-14",name:"Mazowieckie",parent:"PL"},{code:"PL-16",name:"Opolskie",parent:"PL"},{code:"PL-18",name:"Podkarpackie",parent:"PL"},{code:"PL-20",name:"Podlaskie",parent:"PL"},{code:"PL-22",name:"Pomorskie",parent:"PL"},{code:"PL-24",name:"Śląskie",parent:"PL"},{code:"PL-26",name:"Świętokrzyskie",parent:"PL"}
1323,{code:"PL-28",name:"Warmińsko-mazurskie",parent:"PL"},{code:"PL-30",name:"Wielkopolskie",parent:"PL"},{code:"PL-32",name:"Zachodniopomorskie",parent:"PL"},{code:"PS-BTH",name:"Bethlehem",parent:"PS"},{code:"PS-DEB",name:"Deir El Balah",parent:"PS"},{code:"PS-GZA",name:"Gaza",parent:"PS"},{code:"PS-HBN",name:"Hebron",parent:"PS"},{code:"PS-JEM",name:"Jerusalem",parent:"PS"},{code:"PS-JEN",name:"Jenin",parent:"PS"},{code:"PS-JRH",name:"Jericho and Al Aghwar",parent:"PS"},{code:"PS-KYS",name:"Khan Yunis",parent:"PS"},{code:"PS-NBS",name:"Nablus",parent:"PS"},{code:"PS-NGZ",name:"North Gaza",parent:"PS"},{code:"PS-QQA",name:"Qalqilya",parent:"PS"},{code:"PS-RBH",name:"Ramallah",parent:"PS"},{code:"PS-RFH",name:"Rafah",parent:"PS"},{code:"PS-SLT",name:"Salfit",parent:"PS"},{code:"PS-TBS",name:"Tubas",parent:"PS"},{code:"PS-TKM",name:"Tulkarm",parent:"PS"},{code:"PT-01",name:"Aveiro",parent:"PT"},{code:"PT-02",name:"Beja",parent:"PT"},{code:"PT-03",name:"Braga",parent:"PT"},{code:"PT-04",name:"Bragança",parent:"PT"},{code:"PT-05",name:"Castelo Branco",parent:"PT"},{code:"PT-06",name:"Coimbra",parent:"PT"},{code:"PT-07",name:"Évora",parent:"PT"},{code:"PT-08",name:"Faro",parent:"PT"},{code:"PT-09",name:"Guarda",parent:"PT"},{code:"PT-10",name:"Leiria",parent:"PT"},{code:"PT-11",name:"Lisboa",parent:"PT"},{code:"PT-12",name:"Portalegre",parent:"PT"},{code:"PT-13",name:"Porto",parent:"PT"},{code:"PT-14",name:"Santarém",parent:"PT"},{code:"PT-15",name:"Setúbal",parent:"PT"},{code:"PT-16",name:"Viana do Castelo",parent:"PT"},{code:"PT-17",name:"Vila Real",parent:"PT"},{code:"PT-18",name:"Viseu",parent:"PT"},{code:"PT-20",name:"Região Autónoma dos Açores",parent:"PT"},{code:"PT-30",name:"Região Autónoma da Madeira",parent:"PT"},{code:"PW-002",name:"Aimeliik",parent:"PW"},{code:"PW-004",name:"Airai",parent:"PW"},{code:"PW-010",name:"Angaur",parent:"PW"},{code:"PW-050",name:"Hatohobei",parent:"PW"},{code:"PW-100",name:"Kayangel",parent:"PW"},{code:"PW-150",name:"Koror",parent:"PW"},{code:"PW-212",name:"Melekeok",parent:"PW"},{code:"PW-214",name:"Ngaraard",parent:"PW"},{code:"PW-218",name:"Ngarchelong",parent:"PW"},{code:"PW-222",name:"Ngardmau",parent:"PW"},{code:"PW-224",name:"Ngatpang",parent:"PW"},{code:"PW-226",name:"Ngchesar",parent:"PW"},{code:"PW-227",name:"Ngeremlengui",parent:"PW"},{code:"PW-228",name:"Ngiwal",parent:"PW"},{code:"PW-350",name:"Peleliu",parent:"PW"},{code:"PW-370",name:"Sonsorol",parent:"PW"},{code:"PY-1",name:"Concepción",parent:"PY"},{code:"PY-10",name:"Alto Paraná",parent:"PY"},{code:"PY-11",name:"Central",parent:"PY"},{code:"PY-12",name:"Ñeembucú",parent:"PY"},{code:"PY-13",name:"Amambay",parent:"PY"},{code:"PY-14",name:"Canindeyú",parent:"PY"},{code:"PY-15",name:"Presidente Hayes",parent:"PY"},{code:"PY-16",name:"Alto Paraguay",parent:"PY"},{code:"PY-19",name:"Boquerón",parent:"PY"},{code:"PY-2",name:"San Pedro",parent:"PY"},{code:"PY-3",name:"Cordillera",parent:"PY"},{code:"PY-4",name:"Guairá",parent:"PY"},{code:"PY-5",name:"Caaguazú",parent:"PY"},{code:"PY-6",name:"Caazapá",parent:"PY"},{code:"PY-7",name:"Itapúa",parent:"PY"},{code:"PY-8",name:"Misiones",parent:"PY"},{code:"PY-9",name:"Paraguarí",parent:"PY"},{code:"PY-ASU",name:"Asunción",parent:"PY"},{code:"QA-DA",name:"Ad Dawḩah",parent:"QA"},{code:"QA-KH",name:"Al Khawr wa adh Dhakhīrah",parent:"QA"},{code:"QA-MS",name:"Ash Shamāl",parent:"QA"},{code:"QA-RA",name:"Ar Rayyān",parent:"QA"},{code:"QA-SH",name:"Ash Shīḩānīyah",parent:"QA"},{code:"QA-US",name:"Umm Şalāl",parent:"QA"},{code:"QA-WA",name:"Al Wakrah",parent:"QA"},{code:"QA-ZA",name:"Az̧ Z̧a‘āyin",parent:"QA"},{code:"RO-AB",name:"Alba",parent:"RO"},{code:"RO-AG",name:"Argeș",parent:"RO"},{code:"RO-AR",name:"Arad",parent:"RO"},{code:"RO-B",name:"București",parent:"RO"},{code:"RO-BC",name:"Bacău",parent:"RO"},{code:"RO-BH",name:"Bihor",parent:"RO"},{code:"RO-BN",name:"Bistrița-Năsăud",parent:"RO"},{code:"RO-BR",name:"Brăila",parent:"RO"},{code:"RO-BT",name:"Botoșani",parent:"RO"},{code:"RO-BV",name:"Brașov",parent:"RO"},{code:"RO-BZ",name:"Buzău",parent:"RO"},{code:"RO-CJ",name:"Cluj",parent:"RO"},{code:"RO-CL",name:"Călărași",parent:"RO"},{code:"RO-CS",name:"Caraș-Severin",parent:"RO"},{code:"RO-CT",name:"Constanța",parent:"RO"},{code:"RO-CV",name:"Covasna",parent:"RO"},{code:"RO-DB",name:"Dâmbovița",parent:"RO"},{code:"RO-DJ",name:"Dolj",parent:"RO"},{code:"RO-GJ",name:"Gorj",parent:"RO"},{code:"RO-GL",name:"Galați",parent:"RO"},{code:"RO-GR",name:"Giurgiu",parent:"RO"},{code:"RO-HD",name:"Hunedoara",parent:"RO"},{code:"RO-HR",name:"Harghita",parent:"RO"},{code:"RO-IF",name:"Ilfov",parent:"RO"},{code:"RO-IL",name:"Ialomița",parent:"RO"},{code:"RO-IS",name:"Iași",parent:"RO"},{code:"RO-MH",name:"Mehedinți",parent:"RO"},{code:"RO-MM",name:"Maramureș",parent:"RO"},{code:"RO-MS",name:"Mureș",parent:"RO"},{code:"RO-NT",name:"Neamț",parent:"RO"},{code:"RO-OT",name:"Olt",parent:"RO"},{code:"RO-PH",name:"Prahova",parent:"RO"},{code:"RO-SB",name:"Sibiu",parent:"RO"}
1323,{code:"RO-SJ",name:"Sălaj",parent:"RO"},{code:"RO-SM",name:"Satu Mare",parent:"RO"},{code:"RO-SV",name:"Suceava",parent:"RO"},{code:"RO-TL",name:"Tulcea",parent:"RO"},{code:"RO-TM",name:"Timiș",parent:"RO"},{code:"RO-TR",name:"Teleorman",parent:"RO"},{code:"RO-VL",name:"Vâlcea",parent:"RO"},{code:"RO-VN",name:"Vrancea",parent:"RO"},{code:"RO-VS",name:"Vaslui",parent:"RO"},{code:"RS-00",name:"Beograd",parent:"RS"},{code:"RS-01",name:"Severnobački okrug",parent:"RS-VO"},{code:"RS-02",name:"Srednjebanatski okrug",parent:"RS-VO"},{code:"RS-03",name:"Severnobanatski okrug",parent:"RS-VO"},{code:"RS-04",name:"Južnobanatski okrug",parent:"RS-VO"},{code:"RS-05",name:"Zapadnobački okrug",parent:"RS-VO"},{code:"RS-06",name:"Južnobački okrug",parent:"RS-VO"},{code:"RS-07",name:"Sremski okrug",parent:"RS-VO"},{code:"RS-08",name:"Mačvanski okrug",parent:"RS"},{code:"RS-09",name:"Kolubarski okrug",parent:"RS"},{code:"RS-10",name:"Podunavski okrug",parent:"RS"},{code:"RS-11",name:"Braničevski okrug",parent:"RS"},{code:"RS-12",name:"Šumadijski okrug",parent:"RS"},{code:"RS-13",name:"Pomoravski okrug",parent:"RS"},{code:"RS-14",name:"Borski okrug",parent:"RS"},{code:"RS-15",name:"Zaječarski okrug",parent:"RS"},{code:"RS-16",name:"Zlatiborski okrug",parent:"RS"},{code:"RS-17",name:"Moravički okrug",parent:"RS"},{code:"RS-18",name:"Raški okrug",parent:"RS"},{code:"RS-19",name:"Rasinski okrug",parent:"RS"},{code:"RS-20",name:"Nišavski okrug",parent:"RS"},{code:"RS-21",name:"Toplički okrug",parent:"RS"},{code:"RS-22",name:"Pirotski okrug",parent:"RS"},{code:"RS-23",name:"Jablanički okrug",parent:"RS"},{code:"RS-24",name:"Pčinjski okrug",parent:"RS"},{code:"RS-25",name:"Kosovski okrug",parent:"RS-KM"},{code:"RS-26",name:"Pećki okrug",parent:"RS-KM"},{code:"RS-27",name:"Prizrenski okrug",parent:"RS-KM"},{code:"RS-28",name:"Kosovsko-Mitrovački okrug",parent:"RS-KM"},{code:"RS-29",name:"Kosovsko-Pomoravski okrug",parent:"RS-KM"},{code:"RS-KM",name:"Kosovo-Metohija",parent:"RS"},{code:"RS-VO",name:"Vojvodina",parent:"RS"},{code:"RU-AD",name:"Adygeya, Respublika",parent:"RU"},{code:"RU-AL",name:"Altay, Respublika",parent:"RU"},{code:"RU-ALT",name:"Altayskiy kray",parent:"RU"},{code:"RU-AMU",name:"Amurskaya oblast'",parent:"RU"},{code:"RU-ARK",name:"Arkhangel'skaya oblast'",parent:"RU"},{code:"RU-AST",name:"Astrakhanskaya oblast'",parent:"RU"},{code:"RU-BA",name:"Bashkortostan, Respublika",parent:"RU"},{code:"RU-BEL",name:"Belgorodskaya oblast'",parent:"RU"},{code:"RU-BRY",name:"Bryanskaya oblast'",parent:"RU"},{code:"RU-BU",name:"Buryatiya, Respublika",parent:"RU"},{code:"RU-CE",name:"Chechenskaya Respublika",parent:"RU"},{code:"RU-CHE",name:"Chelyabinskaya oblast'",parent:"RU"},{code:"RU-CHU",name:"Chukotskiy avtonomnyy okrug",parent:"RU"},{code:"RU-CU",name:"Chuvashskaya Respublika",parent:"RU"},{code:"RU-DA",name:"Dagestan, Respublika",parent:"RU"},{code:"RU-IN",name:"Ingushetiya, Respublika",parent:"RU"},{code:"RU-IRK",name:"Irkutskaya oblast'",parent:"RU"},{code:"RU-IVA",name:"Ivanovskaya oblast'",parent:"RU"},{code:"RU-KAM",name:"Kamchatskiy kray",parent:"RU"},{code:"RU-KB",name:"Kabardino-Balkarskaya Respublika",parent:"RU"},{code:"RU-KC",name:"Karachayevo-Cherkesskaya Respublika",parent:"RU"},{code:"RU-KDA",name:"Krasnodarskiy kray",parent:"RU"},{code:"RU-KEM",name:"Kemerovskaya oblast'",parent:"RU"},{code:"RU-KGD",name:"Kaliningradskaya oblast'",parent:"RU"},{code:"RU-KGN",name:"Kurganskaya oblast'",parent:"RU"},{code:"RU-KHA",name:"Khabarovskiy kray",parent:"RU"},{code:"RU-KHM",name:"Khanty-Mansiyskiy avtonomnyy okrug",parent:"RU"},{code:"RU-KIR",name:"Kirovskaya oblast'",parent:"RU"},{code:"RU-KK",name:"Khakasiya, Respublika",parent:"RU"},{code:"RU-KL",name:"Kalmykiya, Respublika",parent:"RU"},{code:"RU-KLU",name:"Kaluzhskaya oblast'",parent:"RU"},{code:"RU-KO",name:"Komi, Respublika",parent:"RU"},{code:"RU-KOS",name:"Kostromskaya oblast'",parent:"RU"},{code:"RU-KR",name:"Kareliya, Respublika",parent:"RU"},{code:"RU-KRS",name:"Kurskaya oblast'",parent:"RU"},{code:"RU-KYA",name:"Krasnoyarskiy kray",parent:"RU"},{code:"RU-LEN",name:"Leningradskaya oblast'",parent:"RU"},{code:"RU-LIP",name:"Lipetskaya oblast'",parent:"RU"},{code:"RU-MAG",name:"Magadanskaya oblast'",parent:"RU"},{code:"RU-ME",name:"Mariy El, Respublika",parent:"RU"},{code:"RU-MO",name:"Mordoviya, Respublika",parent:"RU"},{code:"RU-MOS",name:"Moskovskaya oblast'",parent:"RU"},{code:"RU-MOW",name:"Moskva",parent:"RU"},{code:"RU-MUR",name:"Murmanskaya oblast'",parent:"RU"},{code:"RU-NEN",name:"Nenetskiy avtonomnyy okrug",parent:"RU"},{code:"RU-NGR",name:"Novgorodskaya oblast'",parent:"RU"},{code:"RU-NIZ",name:"Nizhegorodskaya oblast'",parent:"RU"},{code:"RU-NVS",name:"Novosibirskaya oblast'",parent:"RU"},{code:"RU-OMS",name:"Omskaya oblast'",parent:"RU"},{code:"RU-ORE",name:"Orenburgskaya oblast'",parent:"RU"},{code:"RU-ORL",name:"Orlovskaya oblast'",parent:"RU"},{code:"RU-PER",name:"Permskiy kray",parent:"RU"},{code:"RU-PNZ",name:"Penzenskaya oblast'",parent:"RU"},{code:"RU-PRI",name:"Primorskiy kray",parent:"RU"},{code:"RU-PSK",name:"Pskovskaya oblast'",parent:"RU"},{code:"RU-ROS",name:"Rostovskaya oblast'",parent:"RU"},{code:"RU-RYA",name:"Ryazanskaya oblast'",parent:"RU"},{code:"RU-SA",name:"Saha, Respublika",parent:"RU"},{code:"RU-SAK",name:"Sakhalinskaya oblast'",parent:"RU"},{code:"RU-SAM",name:"Samarskaya oblast'",parent:"RU"},{code:"RU-SAR",name:"Saratovskaya oblast'",parent:"RU"},{code:"RU-SE",name:"Severnaya Osetiya, Respublika",parent:"RU"},{code:"RU-SMO",name:"Smolenskaya oblast'",parent:"RU"},{code:"RU-SPE",name:"Sankt-Peterburg",parent:"RU"},{code:"RU-STA",name:"Stavropol'skiy kray",parent:"RU"},{code:"RU-SVE",name:"Sverdlovskaya oblast'",parent:"RU"},{code:"RU-TA",name:"Tatarstan, Respublika",parent:"RU"},{code:"RU-TAM",name:"Tambovskaya oblast'",parent:"RU"},{code:"RU-TOM",name:"Tomskaya oblast'",parent:"RU"},{code:"RU-TUL",name:"Tul'skaya oblast'",parent:"RU"},{code:"RU-TVE",name:"Tverskaya oblast'",parent:"RU"},{code:"RU-TY",name:"Tyva, Respublika",parent:"RU"},{code:"RU-TYU",name:"Tyumenskaya oblast'",parent:"RU"},{code:"RU-UD",name:"Udmurtskaya Respublika",parent:"RU"},{code:"RU-ULY",name:"Ul'yanovskaya oblast'",parent:"RU"},{code:"RU-VGG",name:"Volgogradskaya oblast'",parent:"RU"},{code:"RU-VLA",name:"Vladimirskaya oblast'",parent:"RU"},{code:"RU-VLG",name:"Vologodskaya oblast'",parent:"RU"},{code:"RU-VOR",name:"Voronezhskaya oblast'",parent:"RU"},{code:"RU-YAN",name:"Yamalo-Nenetskiy avtonomnyy okrug",parent:"RU"},{code:"RU-YAR",name:"Yaroslavskaya oblast'",parent:"RU"},{code:"RU-YEV",name:"Yevreyskaya avtonomnaya oblast'",parent:"RU"},{code:"RU-ZAB",name:"Zabaykal'skiy kray",parent:"RU"},{code:"RW-01",name:"City of Kigali",parent:"RW"},{code:"RW-02",name:"Eastern",parent:"RW"},{code:"RW-03",name:"Northern",parent:"RW"},{code:"RW-04",name:"Western",parent:"RW"},{code:"RW-05",name:"Southern",parent:"RW"},{code:"SA-01",name:"Ar Riyāḑ",parent:"SA"},{code:"SA-02",name:"Makkah al Mukarramah",parent:"SA"}
1323,{code:"SA-03",name:"Al Madīnah al Munawwarah",parent:"SA"},{code:"SA-04",name:"Ash Sharqīyah",parent:"SA"},{code:"SA-05",name:"Al Qaşīm",parent:"SA"},{code:"SA-06",name:"Ḩā'il",parent:"SA"},{code:"SA-07",name:"Tabūk",parent:"SA"},{code:"SA-08",name:"Al Ḩudūd ash Shamālīyah",parent:"SA"},{code:"SA-09",name:"Jāzān",parent:"SA"},{code:"SA-10",name:"Najrān",parent:"SA"},{code:"SA-11",name:"Al Bāḩah",parent:"SA"},{code:"SA-12",name:"Al Jawf",parent:"SA"},{code:"SA-14",name:"'Asīr",parent:"SA"},{code:"SB-CE",name:"Central",parent:"SB"},{code:"SB-CH",name:"Choiseul",parent:"SB"},{code:"SB-CT",name:"Capital Territory (Honiara)",parent:"SB"},{code:"SB-GU",name:"Guadalcanal",parent:"SB"},{code:"SB-IS",name:"Isabel",parent:"SB"},{code:"SB-MK",name:"Makira-Ulawa",parent:"SB"},{code:"SB-ML",name:"Malaita",parent:"SB"},{code:"SB-RB",name:"Rennell and Bellona",parent:"SB"},{code:"SB-TE",name:"Temotu",parent:"SB"},{code:"SB-WE",name:"Western",parent:"SB"},{code:"SC-01",name:"Anse aux Pins",parent:"SC"},{code:"SC-02",name:"Anse Boileau",parent:"SC"},{code:"SC-03",name:"Anse Etoile",parent:"SC"},{code:"SC-04",name:"Au Cap",parent:"SC"},{code:"SC-05",name:"Anse Royale",parent:"SC"},{code:"SC-06",name:"Baie Lazare",parent:"SC"},{code:"SC-07",name:"Baie Sainte Anne",parent:"SC"},{code:"SC-08",name:"Beau Vallon",parent:"SC"},{code:"SC-09",name:"Bel Air",parent:"SC"},{code:"SC-10",name:"Bel Ombre",parent:"SC"},{code:"SC-11",name:"Cascade",parent:"SC"},{code:"SC-12",name:"Glacis",parent:"SC"},{code:"SC-13",name:"Grand Anse Mahe",parent:"SC"},{code:"SC-14",name:"Grand Anse Praslin",parent:"SC"},{code:"SC-15",name:"La Digue",parent:"SC"},{code:"SC-16",name:"English River",parent:"SC"},{code:"SC-17",name:"Mont Buxton",parent:"SC"},{code:"SC-18",name:"Mont Fleuri",parent:"SC"},{code:"SC-19",name:"Plaisance",parent:"SC"},{code:"SC-20",name:"Pointe Larue",parent:"SC"},{code:"SC-21",name:"Port Glaud",parent:"SC"},{code:"SC-22",name:"Saint Louis",parent:"SC"},{code:"SC-23",name:"Takamaka",parent:"SC"},{code:"SC-24",name:"Les Mamelles",parent:"SC"},{code:"SC-25",name:"Roche Caiman",parent:"SC"},{code:"SC-26",name:"Ile Perseverance I",parent:"SC"},{code:"SC-27",name:"Ile Perseverance II",parent:"SC"},{code:"SD-DC",name:"Wasaţ Dārfūr",parent:"SD"},{code:"SD-DE",name:"Sharq Dārfūr",parent:"SD"},{code:"SD-DN",name:"Shamāl Dārfūr",parent:"SD"},{code:"SD-DS",name:"Janūb Dārfūr",parent:"SD"},{code:"SD-DW",name:"Gharb Dārfūr",parent:"SD"},{code:"SD-GD",name:"Al Qaḑārif",parent:"SD"},{code:"SD-GK",name:"Gharb Kurdufān",parent:"SD"},{code:"SD-GZ",name:"Al Jazīrah",parent:"SD"},{code:"SD-KA",name:"Kassalā",parent:"SD"},{code:"SD-KH",name:"Al Kharţūm",parent:"SD"},{code:"SD-KN",name:"Shamāl Kurdufān",parent:"SD"},{code:"SD-KS",name:"Janūb Kurdufān",parent:"SD"},{code:"SD-NB",name:"An Nīl al Azraq",parent:"SD"},{code:"SD-NO",name:"Ash Shamālīyah",parent:"SD"},{code:"SD-NR",name:"Nahr an Nīl",parent:"SD"},{code:"SD-NW",name:"An Nīl al Abyaḑ",parent:"SD"},{code:"SD-RS",name:"Al Baḩr al Aḩmar",parent:"SD"},{code:"SD-SI",name:"Sinnār",parent:"SD"},{code:"SE-AB",name:"Stockholms län",parent:"SE"},{code:"SE-AC",name:"Västerbottens län",parent:"SE"},{code:"SE-BD",name:"Norrbottens län",parent:"SE"},{code:"SE-C",name:"Uppsala län",parent:"SE"},{code:"SE-D",name:"Södermanlands län",parent:"SE"},{code:"SE-E",name:"Östergötlands län",parent:"SE"},{code:"SE-F",name:"Jönköpings län",parent:"SE"},{code:"SE-G",name:"Kronobergs län",parent:"SE"},{code:"SE-H",name:"Kalmar län",parent:"SE"},{code:"SE-I",name:"Gotlands län",parent:"SE"},{code:"SE-K",name:"Blekinge län",parent:"SE"},{code:"SE-M",name:"Skåne län",parent:"SE"},{code:"SE-N",name:"Hallands län",parent:"SE"},{code:"SE-O",name:"Västra Götalands län",parent:"SE"},{code:"SE-S",name:"Värmlands län",parent:"SE"},{code:"SE-T",name:"Örebro län",parent:"SE"},{code:"SE-U",name:"Västmanlands län",parent:"SE"},{code:"SE-W",name:"Dalarnas län",parent:"SE"},{code:"SE-X",name:"Gävleborgs län",parent:"SE"},{code:"SE-Y",name:"Västernorrlands län",parent:"SE"},{code:"SE-Z",name:"Jämtlands län",parent:"SE"},{code:"SG-01",name:"Central Singapore",parent:"SG"},{code:"SG-02",name:"North East",parent:"SG"},{code:"SG-03",name:"North West",parent:"SG"},{code:"SG-04",name:"South East",parent:"SG"},{code:"SG-05",name:"South West",parent:"SG"},{code:"SH-AC",name:"Ascension",parent:"SH"},{code:"SH-HL",name:"Saint Helena",parent:"SH"},{code:"SH-TA",name:"Tristan da Cunha",parent:"SH"},{code:"SI-001",name:"Ajdovščina",parent:"SI"},{code:"SI-002",name:"Beltinci",parent:"SI"},{code:"SI-003",name:"Bled",parent:"SI"},{code:"SI-004",name:"Bohinj",parent:"SI"},{code:"SI-005",name:"Borovnica",parent:"SI"},{code:"SI-006",name:"Bovec",parent:"SI"},{code:"SI-007",name:"Brda",parent:"SI"}
1323,{code:"SI-008",name:"Brezovica",parent:"SI"},{code:"SI-009",name:"Brežice",parent:"SI"},{code:"SI-010",name:"Tišina",parent:"SI"},{code:"SI-011",name:"Celje",parent:"SI"},{code:"SI-012",name:"Cerklje na Gorenjskem",parent:"SI"},{code:"SI-013",name:"Cerknica",parent:"SI"},{code:"SI-014",name:"Cerkno",parent:"SI"},{code:"SI-015",name:"Črenšovci",parent:"SI"},{code:"SI-016",name:"Črna na Koroškem",parent:"SI"},{code:"SI-017",name:"Črnomelj",parent:"SI"},{code:"SI-018",name:"Destrnik",parent:"SI"},{code:"SI-019",name:"Divača",parent:"SI"},{code:"SI-020",name:"Dobrepolje",parent:"SI"},{code:"SI-021",name:"Dobrova-Polhov Gradec",parent:"SI"},{code:"SI-022",name:"Dol pri Ljubljani",parent:"SI"},{code:"SI-023",name:"Domžale",parent:"SI"},{code:"SI-024",name:"Dornava",parent:"SI"},{code:"SI-025",name:"Dravograd",parent:"SI"},{code:"SI-026",name:"Duplek",parent:"SI"},{code:"SI-027",name:"Gorenja vas-Poljane",parent:"SI"},{code:"SI-028",name:"Gorišnica",parent:"SI"},{code:"SI-029",name:"Gornja Radgona",parent:"SI"},{code:"SI-030",name:"Gornji Grad",parent:"SI"},{code:"SI-031",name:"Gornji Petrovci",parent:"SI"},{code:"SI-032",name:"Grosuplje",parent:"SI"},{code:"SI-033",name:"Šalovci",parent:"SI"},{code:"SI-034",name:"Hrastnik",parent:"SI"},{code:"SI-035",name:"Hrpelje-Kozina",parent:"SI"},{code:"SI-036",name:"Idrija",parent:"SI"},{code:"SI-037",name:"Ig",parent:"SI"},{code:"SI-038",name:"Ilirska Bistrica",parent:"SI"},{code:"SI-039",name:"Ivančna Gorica",parent:"SI"},{code:"SI-040",name:"Izola",parent:"SI"},{code:"SI-041",name:"Jesenice",parent:"SI"},{code:"SI-042",name:"Juršinci",parent:"SI"},{code:"SI-043",name:"Kamnik",parent:"SI"},{code:"SI-044",name:"Kanal ob Soči",parent:"SI"},{code:"SI-045",name:"Kidričevo",parent:"SI"},{code:"SI-046",name:"Kobarid",parent:"SI"},{code:"SI-047",name:"Kobilje",parent:"SI"},{code:"SI-048",name:"Kočevje",parent:"SI"},{code:"SI-049",name:"Komen",parent:"SI"},{code:"SI-050",name:"Koper",parent:"SI"},{code:"SI-051",name:"Kozje",parent:"SI"},{code:"SI-052",name:"Kranj",parent:"SI"},{code:"SI-053",name:"Kranjska Gora",parent:"SI"},{code:"SI-054",name:"Krško",parent:"SI"},{code:"SI-055",name:"Kungota",parent:"SI"},{code:"SI-056",name:"Kuzma",parent:"SI"},{code:"SI-057",name:"Laško",parent:"SI"},{code:"SI-058",name:"Lenart",parent:"SI"},{code:"SI-059",name:"Lendava",parent:"SI"},{code:"SI-060",name:"Litija",parent:"SI"},{code:"SI-061",name:"Ljubljana",parent:"SI"},{code:"SI-062",name:"Ljubno",parent:"SI"},{code:"SI-063",name:"Ljutomer",parent:"SI"},{code:"SI-064",name:"Logatec",parent:"SI"},{code:"SI-065",name:"Loška dolina",parent:"SI"},{code:"SI-066",name:"Loški Potok",parent:"SI"},{code:"SI-067",name:"Luče",parent:"SI"},{code:"SI-068",name:"Lukovica",parent:"SI"},{code:"SI-069",name:"Majšperk",parent:"SI"},{code:"SI-070",name:"Maribor",parent:"SI"},{code:"SI-071",name:"Medvode",parent:"SI"},{code:"SI-072",name:"Mengeš",parent:"SI"},{code:"SI-073",name:"Metlika",parent:"SI"},{code:"SI-074",name:"Mežica",parent:"SI"},{code:"SI-075",name:"Miren-Kostanjevica",parent:"SI"},{code:"SI-076",name:"Mislinja",parent:"SI"},{code:"SI-077",name:"Moravče",parent:"SI"},{code:"SI-078",name:"Moravske Toplice",parent:"SI"},{code:"SI-079",name:"Mozirje",parent:"SI"},{code:"SI-080",name:"Murska Sobota",parent:"SI"},{code:"SI-081",name:"Muta",parent:"SI"},{code:"SI-082",name:"Naklo",parent:"SI"},{code:"SI-083",name:"Nazarje",parent:"SI"},{code:"SI-084",name:"Nova Gorica",parent:"SI"},{code:"SI-085",name:"Novo Mesto",parent:"SI"},{code:"SI-086",name:"Odranci",parent:"SI"},{code:"SI-087",name:"Ormož",parent:"SI"},{code:"SI-088",name:"Osilnica",parent:"SI"},{code:"SI-089",name:"Pesnica",parent:"SI"},{code:"SI-090",name:"Piran",parent:"SI"},{code:"SI-091",name:"Pivka",parent:"SI"},{code:"SI-092",name:"Podčetrtek",parent:"SI"},{code:"SI-093",name:"Podvelka",parent:"SI"},{code:"SI-094",name:"Postojna",parent:"SI"},{code:"SI-095",name:"Preddvor",parent:"SI"},{code:"SI-096",name:"Ptuj",parent:"SI"},{code:"SI-097",name:"Puconci",parent:"SI"},{code:"SI-098",name:"Rače-Fram",parent:"SI"},{code:"SI-099",name:"Radeče",parent:"SI"},{code:"SI-100",name:"Radenci",parent:"SI"},{code:"SI-101",name:"Radlje ob Dravi",parent:"SI"},{code:"SI-102",name:"Radovljica",parent:"SI"},{code:"SI-103",name:"Ravne na Koroškem",parent:"SI"},{code:"SI-104",name:"Ribnica",parent:"SI"},{code:"SI-105",name:"Rogašovci",parent:"SI"},{code:"SI-106",name:"Rogaška Slatina",parent:"SI"},{code:"SI-107",name:"Rogatec",parent:"SI"}
1323,{code:"SI-108",name:"Ruše",parent:"SI"},{code:"SI-109",name:"Semič",parent:"SI"},{code:"SI-110",name:"Sevnica",parent:"SI"},{code:"SI-111",name:"Sežana",parent:"SI"},{code:"SI-112",name:"Slovenj Gradec",parent:"SI"},{code:"SI-113",name:"Slovenska Bistrica",parent:"SI"},{code:"SI-114",name:"Slovenske Konjice",parent:"SI"},{code:"SI-115",name:"Starše",parent:"SI"},{code:"SI-116",name:"Sveti Jurij ob Ščavnici",parent:"SI"},{code:"SI-117",name:"Šenčur",parent:"SI"},{code:"SI-118",name:"Šentilj",parent:"SI"},{code:"SI-119",name:"Šentjernej",parent:"SI"},{code:"SI-120",name:"Šentjur",parent:"SI"},{code:"SI-121",name:"Škocjan",parent:"SI"},{code:"SI-122",name:"Škofja Loka",parent:"SI"},{code:"SI-123",name:"Škofljica",parent:"SI"},{code:"SI-124",name:"Šmarje pri Jelšah",parent:"SI"},{code:"SI-125",name:"Šmartno ob Paki",parent:"SI"},{code:"SI-126",name:"Šoštanj",parent:"SI"},{code:"SI-127",name:"Štore",parent:"SI"},{code:"SI-128",name:"Tolmin",parent:"SI"},{code:"SI-129",name:"Trbovlje",parent:"SI"},{code:"SI-130",name:"Trebnje",parent:"SI"},{code:"SI-131",name:"Tržič",parent:"SI"},{code:"SI-132",name:"Turnišče",parent:"SI"},{code:"SI-133",name:"Velenje",parent:"SI"},{code:"SI-134",name:"Velike Lašče",parent:"SI"},{code:"SI-135",name:"Videm",parent:"SI"},{code:"SI-136",name:"Vipava",parent:"SI"},{code:"SI-137",name:"Vitanje",parent:"SI"},{code:"SI-138",name:"Vodice",parent:"SI"},{code:"SI-139",name:"Vojnik",parent:"SI"},{code:"SI-140",name:"Vrhnika",parent:"SI"},{code:"SI-141",name:"Vuzenica",parent:"SI"},{code:"SI-142",name:"Zagorje ob Savi",parent:"SI"},{code:"SI-143",name:"Zavrč",parent:"SI"},{code:"SI-144",name:"Zreče",parent:"SI"},{code:"SI-146",name:"Železniki",parent:"SI"},{code:"SI-147",name:"Žiri",parent:"SI"},{code:"SI-148",name:"Benedikt",parent:"SI"},{code:"SI-149",name:"Bistrica ob Sotli",parent:"SI"},{code:"SI-150",name:"Bloke",parent:"SI"},{code:"SI-151",name:"Braslovče",parent:"SI"},{code:"SI-152",name:"Cankova",parent:"SI"},{code:"SI-153",name:"Cerkvenjak",parent:"SI"},{code:"SI-154",name:"Dobje",parent:"SI"},{code:"SI-155",name:"Dobrna",parent:"SI"},{code:"SI-156",name:"Dobrovnik",parent:"SI"},{code:"SI-157",name:"Dolenjske Toplice",parent:"SI"},{code:"SI-158",name:"Grad",parent:"SI"},{code:"SI-159",name:"Hajdina",parent:"SI"},{code:"SI-160",name:"Hoče-Slivnica",parent:"SI"},{code:"SI-161",name:"Hodoš",parent:"SI"},{code:"SI-162",name:"Horjul",parent:"SI"},{code:"SI-163",name:"Jezersko",parent:"SI"},{code:"SI-164",name:"Komenda",parent:"SI"},{code:"SI-165",name:"Kostel",parent:"SI"},{code:"SI-166",name:"Križevci",parent:"SI"},{code:"SI-167",name:"Lovrenc na Pohorju",parent:"SI"},{code:"SI-168",name:"Markovci",parent:"SI"},{code:"SI-169",name:"Miklavž na Dravskem polju",parent:"SI"},{code:"SI-170",name:"Mirna Peč",parent:"SI"},{code:"SI-171",name:"Oplotnica",parent:"SI"},{code:"SI-172",name:"Podlehnik",parent:"SI"},{code:"SI-173",name:"Polzela",parent:"SI"},{code:"SI-174",name:"Prebold",parent:"SI"},{code:"SI-175",name:"Prevalje",parent:"SI"},{code:"SI-176",name:"Razkrižje",parent:"SI"},{code:"SI-177",name:"Ribnica na Pohorju",parent:"SI"},{code:"SI-178",name:"Selnica ob Dravi",parent:"SI"},{code:"SI-179",name:"Sodražica",parent:"SI"},{code:"SI-180",name:"Solčava",parent:"SI"},{code:"SI-181",name:"Sveta Ana",parent:"SI"},{code:"SI-182",name:"Sveti Andraž v Slovenskih goricah",parent:"SI"},{code:"SI-183",name:"Šempeter-Vrtojba",parent:"SI"},{code:"SI-184",name:"Tabor",parent:"SI"},{code:"SI-185",name:"Trnovska Vas",parent:"SI"},{code:"SI-186",name:"Trzin",parent:"SI"},{code:"SI-187",name:"Velika Polana",parent:"SI"},{code:"SI-188",name:"Veržej",parent:"SI"},{code:"SI-189",name:"Vransko",parent:"SI"},{code:"SI-190",name:"Žalec",parent:"SI"},{code:"SI-191",name:"Žetale",parent:"SI"},{code:"SI-192",name:"Žirovnica",parent:"SI"},{code:"SI-193",name:"Žužemberk",parent:"SI"},{code:"SI-194",name:"Šmartno pri Litiji",parent:"SI"},{code:"SI-195",name:"Apače",parent:"SI"},{code:"SI-196",name:"Cirkulane",parent:"SI"},{code:"SI-197",name:"Kostanjevica na Krki",parent:"SI"},{code:"SI-198",name:"Makole",parent:"SI"},{code:"SI-199",name:"Mokronog-Trebelno",parent:"SI"},{code:"SI-200",name:"Poljčane",parent:"SI"},{code:"SI-201",name:"Renče-Vogrsko",parent:"SI"},{code:"SI-202",name:"Središče ob Dravi",parent:"SI"},{code:"SI-203",name:"Straža",parent:"SI"},{code:"SI-204",name:"Sveta Trojica v Slovenskih goricah",parent:"SI"},{code:"SI-205",name:"Sveti Tomaž",parent:"SI"},{code:"SI-206",name:"Šmarješke Toplice",parent:"SI"},{code:"SI-207",name:"Gorje",parent:"SI"},{code:"SI-208",name:"Log-Dragomer",parent:"SI"},{code:"SI-209",name:"Rečica ob Savinji",parent:"SI"},{code:"SI-210",name:"Sveti Jurij v Slovenskih goricah",parent:"SI"},{code:"SI-211",name:"Šentrupert",parent:"SI"},{code:"SI-212",name:"Mirna",parent:"SI"},{code:"SI-213",name:"Ankaran",parent:"SI"},{code:"SK-BC",name:"Banskobystrický kraj",parent:"SK"},{code:"SK-BL",name:"Bratislavský kraj",parent:"SK"},{code:"SK-KI",name:"Košický kraj",parent:"SK"},{code:"SK-NI",name:"Nitriansky kraj",parent:"SK"},{code:"SK-PV",name:"Prešovský kraj",parent:"SK"},{code:"SK-TA",name:"Trnavský kraj",parent:"SK"},{code:"SK-TC",name:"Trenčiansky kraj",parent:"SK"},{code:"SK-ZI",name:"Žilinský kraj",parent:"SK"},{code:"SL-E",name:"Eastern",parent:"SL"},{code:"SL-N",name:"Northern",parent:"SL"},{code:"SL-NW",name:"North Western",parent:"SL"},{code:"SL-S",name:"Southern",parent:"SL"},{code:"SL-W",name:"Western Area (Freetown)",parent:"SL"},{code:"SM-01",name:"Acquaviva",parent:"SM"},{code:"SM-02",name:"Chiesanuova",parent:"SM"},{code:"SM-03",name:"Domagnano",parent:"SM"},{code:"SM-04",name:"Faetano",parent:"SM"},{code:"SM-05",name:"Fiorentino",parent:"SM"},{code:"SM-06",name:"Borgo Maggiore",parent:"SM"},{code:"SM-07",name:"Città di San Marino",parent:"SM"},{code:"SM-08",name:"Montegiardino",parent:"SM"},{code:"SM-09",name:"Serravalle",parent:"SM"},{code:"SN-DB",name:"Diourbel",parent:"SN"},{code:"SN-DK",name:"Dakar",parent:"SN"},{code:"SN-FK",name:"Fatick",parent:"SN"},{code:"SN-KA",name:"Kaffrine",parent:"SN"},{code:"SN-KD",name:"Kolda",parent:"SN"},{code:"SN-KE",name:"Kédougou",parent:"SN"},{code:"SN-KL",name:"Kaolack",parent:"SN"},{code:"SN-LG",name:"Louga",parent:"SN"},{code:"SN-MT",name:"Matam",parent:"SN"},{code:"SN-SE",name:"Sédhiou",parent:"SN"},{code:"SN-SL",name:"Saint-Louis",parent:"SN"},{code:"SN-TC",name:"Tambacounda",parent:"SN"},{code:"SN-TH",name:"Thiès",parent:"SN"},{code:"SN-ZG",name:"Ziguinchor",parent:"SN"},{code:"SO-AW",name:"Awdal",parent:"SO"},{code:"SO-BK",name:"Bakool",parent:"SO"},{code:"SO-BN",name:"Banaadir",parent:"SO"},{code:"SO-BR",name:"Bari",parent:"SO"},{code:"SO-BY",name:"Bay",parent:"SO"},{code:"SO-GA",name:"Galguduud",parent:"SO"},{code:"SO-GE",name:"Gedo",parent:"SO"},{code:"SO-HI",name:"Hiiraan",parent:"SO"},{code:"SO-JD",name:"Jubbada Dhexe",parent:"SO"},{code:"SO-JH",name:"Jubbada Hoose",parent:"SO"}
1323,{code:"SO-MU",name:"Mudug",parent:"SO"},{code:"SO-NU",name:"Nugaal",parent:"SO"},{code:"SO-SA",name:"Sanaag",parent:"SO"},{code:"SO-SD",name:"Shabeellaha Dhexe",parent:"SO"},{code:"SO-SH",name:"Shabeellaha Hoose",parent:"SO"},{code:"SO-SO",name:"Sool",parent:"SO"},{code:"SO-TO",name:"Togdheer",parent:"SO"},{code:"SO-WO",name:"Woqooyi Galbeed",parent:"SO"},{code:"SR-BR",name:"Brokopondo",parent:"SR"},{code:"SR-CM",name:"Commewijne",parent:"SR"},{code:"SR-CR",name:"Coronie",parent:"SR"},{code:"SR-MA",name:"Marowijne",parent:"SR"},{code:"SR-NI",name:"Nickerie",parent:"SR"},{code:"SR-PM",name:"Paramaribo",parent:"SR"},{code:"SR-PR",name:"Para",parent:"SR"},{code:"SR-SA",name:"Saramacca",parent:"SR"},{code:"SR-SI",name:"Sipaliwini",parent:"SR"},{code:"SR-WA",name:"Wanica",parent:"SR"},{code:"SS-BN",name:"Northern Bahr el Ghazal",parent:"SS"},{code:"SS-BW",name:"Western Bahr el Ghazal",parent:"SS"},{code:"SS-EC",name:"Central Equatoria",parent:"SS"},{code:"SS-EE",name:"Eastern Equatoria",parent:"SS"},{code:"SS-EW",name:"Western Equatoria",parent:"SS"},{code:"SS-JG",name:"Jonglei",parent:"SS"},{code:"SS-LK",name:"Lakes",parent:"SS"},{code:"SS-NU",name:"Upper Nile",parent:"SS"},{code:"SS-UY",name:"Unity",parent:"SS"},{code:"SS-WR",name:"Warrap",parent:"SS"},{code:"ST-01",name:"Água Grande",parent:"ST"},{code:"ST-02",name:"Cantagalo",parent:"ST"},{code:"ST-03",name:"Caué",parent:"ST"},{code:"ST-04",name:"Lembá",parent:"ST"},{code:"ST-05",name:"Lobata",parent:"ST"},{code:"ST-06",name:"Mé-Zóchi",parent:"ST"},{code:"ST-P",name:"Príncipe",parent:"ST"},{code:"SV-AH",name:"Ahuachapán",parent:"SV"},{code:"SV-CA",name:"Cabañas",parent:"SV"},{code:"SV-CH",name:"Chalatenango",parent:"SV"},{code:"SV-CU",name:"Cuscatlán",parent:"SV"},{code:"SV-LI",name:"La Libertad",parent:"SV"},{code:"SV-MO",name:"Morazán",parent:"SV"},{code:"SV-PA",name:"La Paz",parent:"SV"},{code:"SV-SA",name:"Santa Ana",parent:"SV"},{code:"SV-SM",name:"San Miguel",parent:"SV"},{code:"SV-SO",name:"Sonsonate",parent:"SV"},{code:"SV-SS",name:"San Salvador",parent:"SV"},{code:"SV-SV",name:"San Vicente",parent:"SV"},{code:"SV-UN",name:"La Unión",parent:"SV"},{code:"SV-US",name:"Usulután",parent:"SV"},{code:"SY-DI",name:"Dimashq",parent:"SY"},{code:"SY-DR",name:"Dar'ā",parent:"SY"},{code:"SY-DY",name:"Dayr az Zawr",parent:"SY"},{code:"SY-HA",name:"Al Ḩasakah",parent:"SY"},{code:"SY-HI",name:"Ḩimş",parent:"SY"},{code:"SY-HL",name:"Ḩalab",parent:"SY"},{code:"SY-HM",name:"Ḩamāh",parent:"SY"},{code:"SY-ID",name:"Idlib",parent:"SY"},{code:"SY-LA",name:"Al Lādhiqīyah",parent:"SY"},{code:"SY-QU",name:"Al Qunayţirah",parent:"SY"},{code:"SY-RA",name:"Ar Raqqah",parent:"SY"},{code:"SY-RD",name:"Rīf Dimashq",parent:"SY"},{code:"SY-SU",name:"As Suwaydā'",parent:"SY"},{code:"SY-TA",name:"Ţarţūs",parent:"SY"},{code:"SZ-HH",name:"Hhohho",parent:"SZ"},{code:"SZ-LU",name:"Lubombo",parent:"SZ"},{code:"SZ-MA",name:"Manzini",parent:"SZ"},{code:"SZ-SH",name:"Shiselweni",parent:"SZ"},{code:"TD-BA",name:"Batha",parent:"TD"},{code:"TD-BG",name:"Bahr el Ghazal",parent:"TD"},{code:"TD-BO",name:"Borkou",parent:"TD"},{code:"TD-CB",name:"Chari-Baguirmi",parent:"TD"},{code:"TD-EE",name:"Ennedi-Est",parent:"TD"},{code:"TD-EO",name:"Ennedi-Ouest",parent:"TD"},{code:"TD-GR",name:"Guéra",parent:"TD"},{code:"TD-HL",name:"Hadjer Lamis",parent:"TD"},{code:"TD-KA",name:"Kanem",parent:"TD"},{code:"TD-LC",name:"Lac",parent:"TD"},{code:"TD-LO",name:"Logone-Occidental",parent:"TD"},{code:"TD-LR",name:"Logone-Oriental",parent:"TD"},{code:"TD-MA",name:"Mandoul",parent:"TD"},{code:"TD-MC",name:"Moyen-Chari",parent:"TD"},{code:"TD-ME",name:"Mayo-Kebbi-Est",parent:"TD"},{code:"TD-MO",name:"Mayo-Kebbi-Ouest",parent:"TD"},{code:"TD-ND",name:"Ville de Ndjamena",parent:"TD"},{code:"TD-OD",name:"Ouaddaï",parent:"TD"},{code:"TD-SA",name:"Salamat",parent:"TD"},{code:"TD-SI",name:"Sila",parent:"TD"},{code:"TD-TA",name:"Tandjilé",parent:"TD"},{code:"TD-TI",name:"Tibesti",parent:"TD"},{code:"TD-WF",name:"Wadi Fira",parent:"TD"},{code:"TG-C",name:"Centrale",parent:"TG"},{code:"TG-K",name:"Kara",parent:"TG"},{code:"TG-M",name:"Maritime (Région)",parent:"TG"},{code:"TG-P",name:"Plateaux",parent:"TG"},{code:"TG-S",name:"Savanes",parent:"TG"},{code:"TH-10",name:"Krung Thep Maha Nakhon",parent:"TH"},{code:"TH-11",name:"Samut Prakan",parent:"TH"},{code:"TH-12",name:"Nonthaburi",parent:"TH"},{code:"TH-13",name:"Pathum Thani",parent:"TH"},{code:"TH-14",name:"Phra Nakhon Si Ayutthaya",parent:"TH"},{code:"TH-15",name:"Ang Thong",parent:"TH"},{code:"TH-16",name:"Lop Buri",parent:"TH"},{code:"TH-17",name:"Sing Buri",parent:"TH"}
1323,{code:"TH-18",name:"Chai Nat",parent:"TH"},{code:"TH-19",name:"Saraburi",parent:"TH"},{code:"TH-20",name:"Chon Buri",parent:"TH"},{code:"TH-21",name:"Rayong",parent:"TH"},{code:"TH-22",name:"Chanthaburi",parent:"TH"},{code:"TH-23",name:"Trat",parent:"TH"},{code:"TH-24",name:"Chachoengsao",parent:"TH"},{code:"TH-25",name:"Prachin Buri",parent:"TH"},{code:"TH-26",name:"Nakhon Nayok",parent:"TH"},{code:"TH-27",name:"Sa Kaeo",parent:"TH"},{code:"TH-30",name:"Nakhon Ratchasima",parent:"TH"},{code:"TH-31",name:"Buri Ram",parent:"TH"},{code:"TH-32",name:"Surin",parent:"TH"},{code:"TH-33",name:"Si Sa Ket",parent:"TH"},{code:"TH-34",name:"Ubon Ratchathani",parent:"TH"},{code:"TH-35",name:"Yasothon",parent:"TH"},{code:"TH-36",name:"Chaiyaphum",parent:"TH"},{code:"TH-37",name:"Amnat Charoen",parent:"TH"},{code:"TH-38",name:"Bueng Kan",parent:"TH"},{code:"TH-39",name:"Nong Bua Lam Phu",parent:"TH"},{code:"TH-40",name:"Khon Kaen",parent:"TH"},{code:"TH-41",name:"Udon Thani",parent:"TH"},{code:"TH-42",name:"Loei",parent:"TH"},{code:"TH-43",name:"Nong Khai",parent:"TH"},{code:"TH-44",name:"Maha Sarakham",parent:"TH"},{code:"TH-45",name:"Roi Et",parent:"TH"},{code:"TH-46",name:"Kalasin",parent:"TH"},{code:"TH-47",name:"Sakon Nakhon",parent:"TH"},{code:"TH-48",name:"Nakhon Phanom",parent:"TH"},{code:"TH-49",name:"Mukdahan",parent:"TH"},{code:"TH-50",name:"Chiang Mai",parent:"TH"},{code:"TH-51",name:"Lamphun",parent:"TH"},{code:"TH-52",name:"Lampang",parent:"TH"},{code:"TH-53",name:"Uttaradit",parent:"TH"},{code:"TH-54",name:"Phrae",parent:"TH"},{code:"TH-55",name:"Nan",parent:"TH"},{code:"TH-56",name:"Phayao",parent:"TH"},{code:"TH-57",name:"Chiang Rai",parent:"TH"},{code:"TH-58",name:"Mae Hong Son",parent:"TH"},{code:"TH-60",name:"Nakhon Sawan",parent:"TH"},{code:"TH-61",name:"Uthai Thani",parent:"TH"},{code:"TH-62",name:"Kamphaeng Phet",parent:"TH"},{code:"TH-63",name:"Tak",parent:"TH"},{code:"TH-64",name:"Sukhothai",parent:"TH"},{code:"TH-65",name:"Phitsanulok",parent:"TH"},{code:"TH-66",name:"Phichit",parent:"TH"},{code:"TH-67",name:"Phetchabun",parent:"TH"},{code:"TH-70",name:"Ratchaburi",parent:"TH"},{code:"TH-71",name:"Kanchanaburi",parent:"TH"},{code:"TH-72",name:"Suphan Buri",parent:"TH"},{code:"TH-73",name:"Nakhon Pathom",parent:"TH"},{code:"TH-74",name:"Samut Sakhon",parent:"TH"},{code:"TH-75",name:"Samut Songkhram",parent:"TH"},{code:"TH-76",name:"Phetchaburi",parent:"TH"},{code:"TH-77",name:"Prachuap Khiri Khan",parent:"TH"},{code:"TH-80",name:"Nakhon Si Thammarat",parent:"TH"},{code:"TH-81",name:"Krabi",parent:"TH"},{code:"TH-82",name:"Phangnga",parent:"TH"},{code:"TH-83",name:"Phuket",parent:"TH"},{code:"TH-84",name:"Surat Thani",parent:"TH"},{code:"TH-85",name:"Ranong",parent:"TH"},{code:"TH-86",name:"Chumphon",parent:"TH"},{code:"TH-90",name:"Songkhla",parent:"TH"},{code:"TH-91",name:"Satun",parent:"TH"},{code:"TH-92",name:"Trang",parent:"TH"},{code:"TH-93",name:"Phatthalung",parent:"TH"},{code:"TH-94",name:"Pattani",parent:"TH"},{code:"TH-95",name:"Yala",parent:"TH"},{code:"TH-96",name:"Narathiwat",parent:"TH"},{code:"TH-S",name:"Phatthaya",parent:"TH"},{code:"TJ-DU",name:"Dushanbe",parent:"TJ"},{code:"TJ-GB",name:"Kŭhistoni Badakhshon",parent:"TJ"},{code:"TJ-KT",name:"Khatlon",parent:"TJ"},{code:"TJ-RA",name:"nohiyahoi tobei jumhurí",parent:"TJ"},{code:"TJ-SU",name:"Sughd",parent:"TJ"},{code:"TL-AL",name:"Aileu",parent:"TL"},{code:"TL-AN",name:"Ainaro",parent:"TL"},{code:"TL-BA",name:"Baucau",parent:"TL"},{code:"TL-BO",name:"Bobonaro",parent:"TL"},{code:"TL-CO",name:"Cova Lima",parent:"TL"},{code:"TL-DI",name:"Díli",parent:"TL"},{code:"TL-ER",name:"Ermera",parent:"TL"},{code:"TL-LA",name:"Lautém",parent:"TL"},{code:"TL-LI",name:"Liquiça",parent:"TL"},{code:"TL-MF",name:"Manufahi",parent:"TL"},{code:"TL-MT",name:"Manatuto",parent:"TL"},{code:"TL-OE",name:"Oé-Cusse Ambeno",parent:"TL"},{code:"TL-VI",name:"Viqueque",parent:"TL"},{code:"TM-A",name:"Ahal",parent:"TM"},{code:"TM-B",name:"Balkan",parent:"TM"},{code:"TM-D",name:"Daşoguz",parent:"TM"},{code:"TM-L",name:"Lebap",parent:"TM"},{code:"TM-M",name:"Mary",parent:"TM"},{code:"TM-S",name:"Aşgabat",parent:"TM"},{code:"TN-11",name:"Tunis",parent:"TN"},{code:"TN-12",name:"L'Ariana",parent:"TN"},{code:"TN-13",name:"Ben Arous",parent:"TN"},{code:"TN-14",name:"La Manouba",parent:"TN"},{code:"TN-21",name:"Nabeul",parent:"TN"},{code:"TN-22",name:"Zaghouan",parent:"TN"},{code:"TN-23",name:"Bizerte",parent:"TN"},{code:"TN-31",name:"Béja",parent:"TN"},{code:"TN-32",name:"Jendouba",parent:"TN"},{code:"TN-33",name:"Le Kef",parent:"TN"}
1323,{code:"TN-34",name:"Siliana",parent:"TN"},{code:"TN-41",name:"Kairouan",parent:"TN"},{code:"TN-42",name:"Kasserine",parent:"TN"},{code:"TN-43",name:"Sidi Bouzid",parent:"TN"},{code:"TN-51",name:"Sousse",parent:"TN"},{code:"TN-52",name:"Monastir",parent:"TN"},{code:"TN-53",name:"Mahdia",parent:"TN"},{code:"TN-61",name:"Sfax",parent:"TN"},{code:"TN-71",name:"Gafsa",parent:"TN"},{code:"TN-72",name:"Tozeur",parent:"TN"},{code:"TN-73",name:"Kébili",parent:"TN"},{code:"TN-81",name:"Gabès",parent:"TN"},{code:"TN-82",name:"Médenine",parent:"TN"},{code:"TN-83",name:"Tataouine",parent:"TN"},{code:"TO-01",name:"'Eua",parent:"TO"},{code:"TO-02",name:"Ha'apai",parent:"TO"},{code:"TO-03",name:"Niuas",parent:"TO"},{code:"TO-04",name:"Tongatapu",parent:"TO"},{code:"TO-05",name:"Vava'u",parent:"TO"},{code:"TR-01",name:"Adana",parent:"TR"},{code:"TR-02",name:"Adıyaman",parent:"TR"},{code:"TR-03",name:"Afyonkarahisar",parent:"TR"},{code:"TR-04",name:"Ağrı",parent:"TR"},{code:"TR-05",name:"Amasya",parent:"TR"},{code:"TR-06",name:"Ankara",parent:"TR"},{code:"TR-07",name:"Antalya",parent:"TR"},{code:"TR-08",name:"Artvin",parent:"TR"},{code:"TR-09",name:"Aydın",parent:"TR"},{code:"TR-10",name:"Balıkesir",parent:"TR"},{code:"TR-11",name:"Bilecik",parent:"TR"},{code:"TR-12",name:"Bingöl",parent:"TR"},{code:"TR-13",name:"Bitlis",parent:"TR"},{code:"TR-14",name:"Bolu",parent:"TR"},{code:"TR-15",name:"Burdur",parent:"TR"},{code:"TR-16",name:"Bursa",parent:"TR"},{code:"TR-17",name:"Çanakkale",parent:"TR"},{code:"TR-18",name:"Çankırı",parent:"TR"},{code:"TR-19",name:"Çorum",parent:"TR"},{code:"TR-20",name:"Denizli",parent:"TR"},{code:"TR-21",name:"Diyarbakır",parent:"TR"},{code:"TR-22",name:"Edirne",parent:"TR"},{code:"TR-23",name:"Elazığ",parent:"TR"},{code:"TR-24",name:"Erzincan",parent:"TR"},{code:"TR-25",name:"Erzurum",parent:"TR"},{code:"TR-26",name:"Eskişehir",parent:"TR"},{code:"TR-27",name:"Gaziantep",parent:"TR"},{code:"TR-28",name:"Giresun",parent:"TR"},{code:"TR-29",name:"Gümüşhane",parent:"TR"},{code:"TR-30",name:"Hakkâri",parent:"TR"},{code:"TR-31",name:"Hatay",parent:"TR"},{code:"TR-32",name:"Isparta",parent:"TR"},{code:"TR-33",name:"Mersin",parent:"TR"},{code:"TR-34",name:"İstanbul",parent:"TR"},{code:"TR-35",name:"İzmir",parent:"TR"},{code:"TR-36",name:"Kars",parent:"TR"},{code:"TR-37",name:"Kastamonu",parent:"TR"},{code:"TR-38",name:"Kayseri",parent:"TR"},{code:"TR-39",name:"Kırklareli",parent:"TR"},{code:"TR-40",name:"Kırşehir",parent:"TR"},{code:"TR-41",name:"Kocaeli",parent:"TR"},{code:"TR-42",name:"Konya",parent:"TR"},{code:"TR-43",name:"Kütahya",parent:"TR"},{code:"TR-44",name:"Malatya",parent:"TR"},{code:"TR-45",name:"Manisa",parent:"TR"},{code:"TR-46",name:"Kahramanmaraş",parent:"TR"},{code:"TR-47",name:"Mardin",parent:"TR"},{code:"TR-48",name:"Muğla",parent:"TR"},{code:"TR-49",name:"Muş",parent:"TR"},{code:"TR-50",name:"Nevşehir",parent:"TR"},{code:"TR-51",name:"Niğde",parent:"TR"},{code:"TR-52",name:"Ordu",parent:"TR"},{code:"TR-53",name:"Rize",parent:"TR"},{code:"TR-54",name:"Sakarya",parent:"TR"},{code:"TR-55",name:"Samsun",parent:"TR"},{code:"TR-56",name:"Siirt",parent:"TR"},{code:"TR-57",name:"Sinop",parent:"TR"},{code:"TR-58",name:"Sivas",parent:"TR"},{code:"TR-59",name:"Tekirdağ",parent:"TR"},{code:"TR-60",name:"Tokat",parent:"TR"},{code:"TR-61",name:"Trabzon",parent:"TR"},{code:"TR-62",name:"Tunceli",parent:"TR"},{code:"TR-63",name:"Şanlıurfa",parent:"TR"},{code:"TR-64",name:"Uşak",parent:"TR"},{code:"TR-65",name:"Van",parent:"TR"},{code:"TR-66",name:"Yozgat",parent:"TR"},{code:"TR-67",name:"Zonguldak",parent:"TR"},{code:"TR-68",name:"Aksaray",parent:"TR"},{code:"TR-69",name:"Bayburt",parent:"TR"},{code:"TR-70",name:"Karaman",parent:"TR"},{code:"TR-71",name:"Kırıkkale",parent:"TR"},{code:"TR-72",name:"Batman",parent:"TR"},{code:"TR-73",name:"Şırnak",parent:"TR"},{code:"TR-74",name:"Bartın",parent:"TR"},{code:"TR-75",name:"Ardahan",parent:"TR"},{code:"TR-76",name:"Iğdır",parent:"TR"},{code:"TR-77",name:"Yalova",parent:"TR"},{code:"TR-78",name:"Karabük",parent:"TR"},{code:"TR-79",name:"Kilis",parent:"TR"},{code:"TR-80",name:"Osmaniye",parent:"TR"},{code:"TR-81",name:"Düzce",parent:"TR"},{code:"TT-ARI",name:"Arima",parent:"TT"},{code:"TT-CHA",name:"Chaguanas",parent:"TT"},{code:"TT-CTT",name:"Couva-Tabaquite-Talparo",parent:"TT"},{code:"TT-DMN",name:"Diego Martin",parent:"TT"},{code:"TT-MRC",name:"Mayaro-Rio Claro",parent:"TT"},{code:"TT-PED",name:"Penal-Debe",parent:"TT"},{code:"TT-POS",name:"Port of Spain",parent:"TT"},{code:"TT-PRT",name:"Princes Town",parent:"TT"},{code:"TT-PTF",name:"Point Fortin",parent:"TT"},{code:"TT-SFO",name:"San Fernando",parent:"TT"},{code:"TT-SGE",name:"Sangre Grande",parent:"TT"},{code:"TT-SIP",name:"Siparia",parent:"TT"},{code:"TT-SJL",name:"San Juan-Laventille",parent:"TT"},{code:"TT-TOB",name:"Tobago",parent:"TT"},{code:"TT-TUP",name:"Tunapuna-Piarco",parent:"TT"},{code:"TV-FUN",name:"Funafuti",parent:"TV"},{code:"TV-NIT",name:"Niutao",parent:"TV"},{code:"TV-NKF",name:"Nukufetau",parent:"TV"},{code:"TV-NKL",name:"Nukulaelae",parent:"TV"},{code:"TV-NMA",name:"Nanumea",parent:"TV"},{code:"TV-NMG",name:"Nanumaga",parent:"TV"},{code:"TV-NUI",name:"Nui",parent:"TV"},{code:"TV-VAI",name:"Vaitupu",parent:"TV"},{code:"TW-CHA",name:"Changhua",parent:"TW"},{code:"TW-CYI",name:"Chiayi",parent:"TW"},{code:"TW-CYQ",name:"Chiayi",parent:"TW"},{code:"TW-HSQ",name:"Hsinchu",parent:"TW"},{code:"TW-HSZ",name:"Hsinchu",parent:"TW"},{code:"TW-HUA",name:"Hualien",parent:"TW"},{code:"TW-ILA",name:"Yilan",parent:"TW"},{code:"TW-KEE",name:"Keelung",parent:"TW"},{code:"TW-KHH",name:"Kaohsiung",parent:"TW"},{code:"TW-KIN",name:"Kinmen",parent:"TW"},{code:"TW-LIE",name:"Lienchiang",parent:"TW"},{code:"TW-MIA",name:"Miaoli",parent:"TW"},{code:"TW-NAN",name:"Nantou",parent:"TW"},{code:"TW-NWT",name:"New Taipei",parent:"TW"},{code:"TW-PEN",name:"Penghu",parent:"TW"},{code:"TW-PIF",name:"Pingtung",parent:"TW"},{code:"TW-TAO",name:"Taoyuan",parent:"TW"},{code:"TW-TNN",name:"Tainan",parent:"TW"},{code:"TW-TPE",name:"Taipei",parent:"TW"},{code:"TW-TTT",name:"Taitung",parent:"TW"},{code:"TW-TXG",name:"Taichung",parent:"TW"},{code:"TW-YUN",name:"Yunlin",parent:"TW"},{code:"TZ-01",name:"Arusha",parent:"TZ"},{code:"TZ-02",name:"Dar es Salaam",parent:"TZ"},{code:"TZ-03",name:"Dodoma",parent:"TZ"},{code:"TZ-04",name:"Iringa",parent:"TZ"},{code:"TZ-05",name:"Kagera",parent:"TZ"},{code:"TZ-06",name:"Kaskazini Pemba",parent:"TZ"},{code:"TZ-07",name:"Kaskazini Unguja",parent:"TZ"},{code:"TZ-08",name:"Kigoma",parent:"TZ"},{code:"TZ-09",name:"Kilimanjaro",parent:"TZ"},{code:"TZ-10",name:"Kusini Pemba",parent:"TZ"},{code:"TZ-11",name:"Kusini Unguja",parent:"TZ"},{code:"TZ-12",name:"Lindi",parent:"TZ"},{code:"TZ-13",name:"Mara",parent:"TZ"},{code:"TZ-14",name:"Mbeya",parent:"TZ"},{code:"TZ-15",name:"Mjini Magharibi",parent:"TZ"},{code:"TZ-16",name:"Morogoro",parent:"TZ"},{code:"TZ-17",name:"Mtwara",parent:"TZ"},{code:"TZ-18",name:"Mwanza",parent:"TZ"},{code:"TZ-19",name:"Pwani",parent:"TZ"},{code:"TZ-20",name:"Rukwa",parent:"TZ"},{code:"TZ-21",name:"Ruvuma",parent:"TZ"},{code:"TZ-22",name:"Shinyanga",parent:"TZ"},{code:"TZ-23",name:"Singida",parent:"TZ"},{code:"TZ-24",name:"Tabora",parent:"TZ"},{code:"TZ-25",name:"Tanga",parent:"TZ"},{code:"TZ-26",name:"Manyara",parent:"TZ"},{code:"TZ-27",name:"Geita",parent:"TZ"},{code:"TZ-28",name:"Katavi",parent:"TZ"},{code:"TZ-29",name:"Njombe",parent:"TZ"},{code:"TZ-30",name:"Simiyu",parent:"TZ"},{code:"TZ-31",name:"Songwe",parent:"TZ"},{code:"UA-05",name:"Vinnytska oblast",parent:"UA"},{code:"UA-07",name:"Volynska oblast",parent:"UA"},{code:"UA-09",name:"Luhanska oblast",parent:"UA"},{code:"UA-12",name:"Dnipropetrovska oblast",parent:"UA"},{code:"UA-14",name:"Donetska oblast",parent:"UA"},{code:"UA-18",name:"Zhytomyrska oblast",parent:"UA"},{code:"UA-21",name:"Zakarpatska oblast",parent:"UA"},{code:"UA-23",name:"Zaporizka oblast",parent:"UA"},{code:"UA-26",name:"Ivano-Frankivska oblast",parent:"UA"},{code:"UA-30",name:"Kyiv",parent:"UA"}
1323,{code:"UA-32",name:"Kyivska oblast",parent:"UA"},{code:"UA-35",name:"Kirovohradska oblast",parent:"UA"},{code:"UA-40",name:"Sevastopol",parent:"UA"},{code:"UA-43",name:"Avtonomna Respublika Krym",parent:"UA"},{code:"UA-46",name:"Lvivska oblast",parent:"UA"},{code:"UA-48",name:"Mykolaivska oblast",parent:"UA"},{code:"UA-51",name:"Odeska oblast",parent:"UA"},{code:"UA-53",name:"Poltavska oblast",parent:"UA"},{code:"UA-56",name:"Rivnenska oblast",parent:"UA"},{code:"UA-59",name:"Sumska oblast",parent:"UA"},{code:"UA-61",name:"Ternopilska oblast",parent:"UA"},{code:"UA-63",name:"Kharkivska oblast",parent:"UA"},{code:"UA-65",name:"Khersonska oblast",parent:"UA"},{code:"UA-68",name:"Khmelnytska oblast",parent:"UA"},{code:"UA-71",name:"Cherkaska oblast",parent:"UA"},{code:"UA-74",name:"Chernihivska oblast",parent:"UA"},{code:"UA-77",name:"Chernivetska oblast",parent:"UA"},{code:"UG-101",name:"Kalangala",parent:"UG-C"},{code:"UG-102",name:"Kampala",parent:"UG-C"},{code:"UG-103",name:"Kiboga",parent:"UG-C"},{code:"UG-104",name:"Luwero",parent:"UG-C"},{code:"UG-105",name:"Masaka",parent:"UG-C"},{code:"UG-106",name:"Mpigi",parent:"UG-C"},{code:"UG-107",name:"Mubende",parent:"UG-C"},{code:"UG-108",name:"Mukono",parent:"UG-C"},{code:"UG-109",name:"Nakasongola",parent:"UG-C"},{code:"UG-110",name:"Rakai",parent:"UG-C"},{code:"UG-111",name:"Sembabule",parent:"UG-C"},{code:"UG-112",name:"Kayunga",parent:"UG-C"},{code:"UG-113",name:"Wakiso",parent:"UG-C"},{code:"UG-114",name:"Lyantonde",parent:"UG-C"},{code:"UG-115",name:"Mityana",parent:"UG-C"},{code:"UG-116",name:"Nakaseke",parent:"UG-C"},{code:"UG-117",name:"Buikwe",parent:"UG-C"},{code:"UG-118",name:"Bukomansibi",parent:"UG-C"},{code:"UG-119",name:"Butambala",parent:"UG-C"},{code:"UG-120",name:"Buvuma",parent:"UG-C"},{code:"UG-121",name:"Gomba",parent:"UG-C"},{code:"UG-122",name:"Kalungu",parent:"UG-C"},{code:"UG-123",name:"Kyankwanzi",parent:"UG-C"},{code:"UG-124",name:"Lwengo",parent:"UG-C"},{code:"UG-125",name:"Kyotera",parent:"UG-C"},{code:"UG-126",name:"Kasanda",parent:"UG-C"},{code:"UG-201",name:"Bugiri",parent:"UG-E"},{code:"UG-202",name:"Busia",parent:"UG-E"},{code:"UG-203",name:"Iganga",parent:"UG-E"},{code:"UG-204",name:"Jinja",parent:"UG-E"},{code:"UG-205",name:"Kamuli",parent:"UG-E"},{code:"UG-206",name:"Kapchorwa",parent:"UG-E"},{code:"UG-207",name:"Katakwi",parent:"UG-E"},{code:"UG-208",name:"Kumi",parent:"UG-E"},{code:"UG-209",name:"Mbale",parent:"UG-E"},{code:"UG-210",name:"Pallisa",parent:"UG-E"},{code:"UG-211",name:"Soroti",parent:"UG-E"},{code:"UG-212",name:"Tororo",parent:"UG-E"},{code:"UG-213",name:"Kaberamaido",parent:"UG-E"},{code:"UG-214",name:"Mayuge",parent:"UG-E"},{code:"UG-215",name:"Sironko",parent:"UG-E"},{code:"UG-216",name:"Amuria",parent:"UG-E"},{code:"UG-217",name:"Budaka",parent:"UG-E"},{code:"UG-218",name:"Bududa",parent:"UG-E"},{code:"UG-219",name:"Bukedea",parent:"UG-E"},{code:"UG-220",name:"Bukwo",parent:"UG-E"},{code:"UG-221",name:"Butaleja",parent:"UG-E"},{code:"UG-222",name:"Kaliro",parent:"UG-E"},{code:"UG-223",name:"Manafwa",parent:"UG-E"},{code:"UG-224",name:"Namutumba",parent:"UG-E"},{code:"UG-225",name:"Bulambuli",parent:"UG-E"},{code:"UG-226",name:"Buyende",parent:"UG-E"},{code:"UG-227",name:"Kibuku",parent:"UG-E"},{code:"UG-228",name:"Kween",parent:"UG-E"},{code:"UG-229",name:"Luuka",parent:"UG-E"},{code:"UG-230",name:"Namayingo",parent:"UG-E"},{code:"UG-231",name:"Ngora",parent:"UG-E"},{code:"UG-232",name:"Serere",parent:"UG-E"},{code:"UG-233",name:"Butebo",parent:"UG-E"},{code:"UG-234",name:"Namisindwa",parent:"UG-E"},{code:"UG-235",name:"Bugweri",parent:"UG-E"},{code:"UG-236",name:"Kapelebyong",parent:"UG-E"},{code:"UG-237",name:"Kalaki",parent:"UG-E"},{code:"UG-301",name:"Adjumani",parent:"UG-N"},{code:"UG-302",name:"Apac",parent:"UG-N"},{code:"UG-303",name:"Arua",parent:"UG-N"},{code:"UG-304",name:"Gulu",parent:"UG-N"},{code:"UG-305",name:"Kitgum",parent:"UG-N"},{code:"UG-306",name:"Kotido",parent:"UG-N"},{code:"UG-307",name:"Lira",parent:"UG-N"},{code:"UG-308",name:"Moroto",parent:"UG-N"},{code:"UG-309",name:"Moyo",parent:"UG-N"},{code:"UG-310",name:"Nebbi",parent:"UG-N"},{code:"UG-311",name:"Nakapiripirit",parent:"UG-N"},{code:"UG-312",name:"Pader",parent:"UG-N"},{code:"UG-313",name:"Yumbe",parent:"UG-N"},{code:"UG-314",name:"Abim",parent:"UG-N"},{code:"UG-315",name:"Amolatar",parent:"UG-N"},{code:"UG-316",name:"Amuru",parent:"UG-N"},{code:"UG-317",name:"Dokolo",parent:"UG-N"},{code:"UG-318",name:"Kaabong",parent:"UG-N"},{code:"UG-319",name:"Koboko",parent:"UG-N"},{code:"UG-320",name:"Maracha",parent:"UG-N"},{code:"UG-321",name:"Oyam",parent:"UG-N"},{code:"UG-322",name:"Agago",parent:"UG-N"},{code:"UG-323",name:"Alebtong",parent:"UG-N"},{code:"UG-324",name:"Amudat",parent:"UG-N"},{code:"UG-325",name:"Kole",parent:"UG-N"},{code:"UG-326",name:"Lamwo",parent:"UG-N"},{code:"UG-327",name:"Napak",parent:"UG-N"},{code:"UG-328",name:"Nwoya",parent:"UG-N"},{code:"UG-329",name:"Otuke",parent:"UG-N"},{code:"UG-330",name:"Zombo",parent:"UG-N"},{code:"UG-331",name:"Omoro",parent:"UG-N"},{code:"UG-332",name:"Pakwach",parent:"UG-N"},{code:"UG-333",name:"Kwania",parent:"UG-N"}
1323,{code:"UG-334",name:"Nabilatuk",parent:"UG-N"},{code:"UG-335",name:"Karenga",parent:"UG-N"},{code:"UG-336",name:"Madi-Okollo",parent:"UG-N"},{code:"UG-337",name:"Obongi",parent:"UG-N"},{code:"UG-401",name:"Bundibugyo",parent:"UG-W"},{code:"UG-402",name:"Bushenyi",parent:"UG-W"},{code:"UG-403",name:"Hoima",parent:"UG-W"},{code:"UG-404",name:"Kabale",parent:"UG-W"},{code:"UG-405",name:"Kabarole",parent:"UG-W"},{code:"UG-406",name:"Kasese",parent:"UG-W"},{code:"UG-407",name:"Kibaale",parent:"UG-W"},{code:"UG-408",name:"Kisoro",parent:"UG-W"},{code:"UG-409",name:"Masindi",parent:"UG-W"},{code:"UG-410",name:"Mbarara",parent:"UG-W"},{code:"UG-411",name:"Ntungamo",parent:"UG-W"},{code:"UG-412",name:"Rukungiri",parent:"UG-W"},{code:"UG-413",name:"Kamwenge",parent:"UG-W"},{code:"UG-414",name:"Kanungu",parent:"UG-W"},{code:"UG-415",name:"Kyenjojo",parent:"UG-W"},{code:"UG-416",name:"Buliisa",parent:"UG-W"},{code:"UG-417",name:"Ibanda",parent:"UG-W"},{code:"UG-418",name:"Isingiro",parent:"UG-W"},{code:"UG-419",name:"Kiruhura",parent:"UG-W"},{code:"UG-420",name:"Buhweju",parent:"UG-W"},{code:"UG-421",name:"Kiryandongo",parent:"UG-W"},{code:"UG-422",name:"Kyegegwa",parent:"UG-W"},{code:"UG-423",name:"Mitooma",parent:"UG-W"},{code:"UG-424",name:"Ntoroko",parent:"UG-W"},{code:"UG-425",name:"Rubirizi",parent:"UG-W"},{code:"UG-426",name:"Sheema",parent:"UG-W"},{code:"UG-427",name:"Kagadi",parent:"UG-W"},{code:"UG-428",name:"Kakumiro",parent:"UG-W"},{code:"UG-429",name:"Rubanda",parent:"UG-W"},{code:"UG-430",name:"Bunyangabu",parent:"UG-W"},{code:"UG-431",name:"Rukiga",parent:"UG-W"},{code:"UG-432",name:"Kikuube",parent:"UG-W"},{code:"UG-433",name:"Kazo",parent:"UG-W"},{code:"UG-434",name:"Kitagwenda",parent:"UG-W"},{code:"UG-435",name:"Rwampara",parent:"UG-W"},{code:"UG-C",name:"Central",parent:"UG"},{code:"UG-E",name:"Eastern",parent:"UG"},{code:"UG-N",name:"Northern",parent:"UG"},{code:"UG-W",name:"Western",parent:"UG"},{code:"UM-67",name:"Johnston Atoll",parent:"UM"}
1323,{code:"UM-71",name:"Midway Islands",parent:"UM"},{code:"UM-76",name:"Navassa Island",parent:"UM"},{code:"UM-79",name:"Wake Island",parent:"UM"},{code:"UM-81",name:"Baker Island",parent:"UM"},{code:"UM-84",name:"Howland Island",parent:"UM"},{code:"UM-86",name:"Jarvis Island",parent:"UM"},{code:"UM-89",name:"Kingman Reef",parent:"UM"},{code:"UM-95",name:"Palmyra Atoll",parent:"UM"},{code:"US-AK",name:"Alaska",parent:"US"},{code:"US-AL",name:"Alabama",parent:"US"},{code:"US-AR",name:"Arkansas",parent:"US"},{code:"US-AS",name:"American Samoa",parent:"US"},{code:"US-AZ",name:"Arizona",parent:"US"},{code:"US-CA",name:"California",parent:"US"},{code:"US-CO",name:"Colorado",parent:"US"},{code:"US-CT",name:"Connecticut",parent:"US"},{code:"US-DC",name:"District of Columbia",parent:"US"},{code:"US-DE",name:"Delaware",parent:"US"},{code:"US-FL",name:"Florida",parent:"US"},{code:"US-GA",name:"Georgia",parent:"US"},{code:"US-GU",name:"Guam",parent:"US"},{code:"US-HI",name:"Hawaii",parent:"US"},{code:"US-IA",name:"Iowa",parent:"US"},{code:"US-ID",name:"Idaho",parent:"US"},{code:"US-IL",name:"Illinois",parent:"US"},{code:"US-IN",name:"Indiana",parent:"US"},{code:"US-KS",name:"Kansas",parent:"US"},{code:"US-KY",name:"Kentucky",parent:"US"},{code:"US-LA",name:"Louisiana",parent:"US"},{code:"US-MA",name:"Massachusetts",parent:"US"},{code:"US-MD",name:"Maryland",parent:"US"},{code:"US-ME",name:"Maine",parent:"US"},{code:"US-MI",name:"Michigan",parent:"US"},{code:"US-MN",name:"Minnesota",parent:"US"},{code:"US-MO",name:"Missouri",parent:"US"},{code:"US-MP",name:"Northern Mariana Islands",parent:"US"},{code:"US-MS",name:"Mississippi",parent:"US"},{code:"US-MT",name:"Montana",parent:"US"},{code:"US-NC",name:"North Carolina",parent:"US"},{code:"US-ND",name:"North Dakota",parent:"US"},{code:"US-NE",name:"Nebraska",parent:"US"},{code:"US-NH",name:"New Hampshire",parent:"US"},{code:"US-NJ",name:"New Jersey",parent:"US"},{code:"US-NM",name:"New Mexico",parent:"US"},{code:"US-NV",name:"Nevada",parent:"US"},{code:"US-NY",name:"New York",parent:"US"},{code:"US-OH",name:"Ohio",parent:"US"},{code:"US-OK",name:"Oklahoma",parent:"US"},{code:"US-OR",name:"Oregon",parent:"US"},{code:"US-PA",name:"Pennsylvania",parent:"US"},{code:"US-PR",name:"Puerto Rico",parent:"US"},{code:"US-RI",name:"Rhode Island",parent:"US"},{code:"US-SC",name:"South Carolina",parent:"US"},{code:"US-SD",name:"South Dakota",parent:"US"},{code:"US-TN",name:"Tennessee",parent:"US"},{code:"US-TX",name:"Texas",parent:"US"},{code:"US-UM",name:"United States Minor Outlying Islands",parent:"US"},{code:"US-UT",name:"Utah",parent:"US"},{code:"US-VA",name:"Virginia",parent:"US"},{code:"US-VI",name:"Virgin Islands, U.S.",parent:"US"},{code:"US-VT",name:"Vermont",parent:"US"},{code:"US-WA",name:"Washington",parent:"US"},{code:"US-WI",name:"Wisconsin",parent:"US"},{code:"US-WV",name:"West Virginia",parent:"US"},{code:"US-WY",name:"Wyoming",parent:"US"},{code:"UY-AR",name:"Artigas",parent:"UY"},{code:"UY-CA",name:"Canelones",parent:"UY"},{code:"UY-CL",name:"Cerro Largo",parent:"UY"},{code:"UY-CO",name:"Colonia",parent:"UY"},{code:"UY-DU",name:"Durazno",parent:"UY"},{code:"UY-FD",name:"Florida",parent:"UY"},{code:"UY-FS",name:"Flores",parent:"UY"},{code:"UY-LA",name:"Lavalleja",parent:"UY"},{code:"UY-MA",name:"Maldonado",parent:"UY"},{code:"UY-MO",name:"Montevideo",parent:"UY"},{code:"UY-PA",name:"Paysandú",parent:"UY"},{code:"UY-RN",name:"Río Negro",parent:"UY"},{code:"UY-RO",name:"Rocha",parent:"UY"},{code:"UY-RV",name:"Rivera",parent:"UY"},{code:"UY-SA",name:"Salto",parent:"UY"},{code:"UY-SJ",name:"San José",parent:"UY"},{code:"UY-SO",name:"Soriano",parent:"UY"},{code:"UY-TA",name:"Tacuarembó",parent:"UY"},{code:"UY-TT",name:"Treinta y Tres",parent:"UY"},{code:"UZ-AN",name:"Andijon",parent:"UZ"},{code:"UZ-BU",name:"Buxoro",parent:"UZ"},{code:"UZ-FA",name:"Farg‘ona",parent:"UZ"},{code:"UZ-JI",name:"Jizzax",parent:"UZ"},{code:"UZ-NG",name:"Namangan",parent:"UZ"},{code:"UZ-NW",name:"Navoiy",parent:"UZ"},{code:"UZ-QA",name:"Qashqadaryo",parent:"UZ"},{code:"UZ-QR",name:"Qoraqalpog‘iston Respublikasi",parent:"UZ"},{code:"UZ-SA",name:"Samarqand",parent:"UZ"},{code:"UZ-SI",name:"Sirdaryo",parent:"UZ"},{code:"UZ-SU",name:"Surxondaryo",parent:"UZ"},{code:"UZ-TK",name:"Toshkent",parent:"UZ"},{code:"UZ-TO",name:"Toshkent",parent:"UZ"},{code:"UZ-XO",name:"Xorazm",parent:"UZ"},{code:"VC-01",name:"Charlotte",parent:"VC"},{code:"VC-02",name:"Saint Andrew",parent:"VC"},{code:"VC-03",name:"Saint David",parent:"VC"},{code:"VC-04",name:"Saint George",parent:"VC"},{code:"VC-05",name:"Saint Patrick",parent:"VC"},{code:"VC-06",name:"Grenadines",parent:"VC"},{code:"VE-A",name:"Distrito Capital",parent:"VE"},{code:"VE-B",name:"Anzoátegui",parent:"VE"},{code:"VE-C",name:"Apure",parent:"VE"},{code:"VE-D",name:"Aragua",parent:"VE"},{code:"VE-E",name:"Barinas",parent:"VE"},{code:"VE-F",name:"Bolívar",parent:"VE"},{code:"VE-G",name:"Carabobo",parent:"VE"},{code:"VE-H",name:"Cojedes",parent:"VE"},{code:"VE-I",name:"Falcón",parent:"VE"},{code:"VE-J",name:"Guárico",parent:"VE"},{code:"VE-K",name:"Lara",parent:"VE"},{code:"VE-L",name:"Mérida",parent:"VE"},{code:"VE-M",name:"Miranda",parent:"VE"},{code:"VE-N",name:"Monagas",parent:"VE"},{code:"VE-O",name:"Nueva Esparta",parent:"VE"},{code:"VE-P",name:"Portuguesa",parent:"VE"},{code:"VE-R",name:"Sucre",parent:"VE"},{code:"VE-S",name:"Táchira",parent:"VE"},{code:"VE-T",name:"Trujillo",parent:"VE"},{code:"VE-U",name:"Yaracuy",parent:"VE"},{code:"VE-V",name:"Zulia",parent:"VE"},{code:"VE-W",name:"Dependencias Federales",parent:"VE"},{code:"VE-X",name:"La Guaira",parent:"VE"},{code:"VE-Y",name:"Delta Amacuro",parent:"VE"},{code:"VE-Z",name:"Amazonas",parent:"VE"},{code:"VN-01",name:"Lai Châu",parent:"VN"},{code:"VN-02",name:"Lào Cai",parent:"VN"},{code:"VN-03",name:"Hà Giang",parent:"VN"},{code:"VN-04",name:"Cao Bằng",parent:"VN"},{code:"VN-05",name:"Sơn La",parent:"VN"},{code:"VN-06",name:"Yên Bái",parent:"VN"},{code:"VN-07",name:"Tuyên Quang",parent:"VN"},{code:"VN-09",name:"Lạng Sơn",parent:"VN"},{code:"VN-13",name:"Quảng Ninh",parent:"VN"},{code:"VN-14",name:"Hòa Bình",parent:"VN"},{code:"VN-18",name:"Ninh Bình",parent:"VN"},{code:"VN-20",name:"Thái Bình",parent:"VN"},{code:"VN-21",name:"Thanh Hóa",parent:"VN"},{code:"VN-22",name:"Nghệ An",parent:"VN"},{code:"VN-23",name:"Hà Tĩnh",parent:"VN"},{code:"VN-24",name:"Quảng Bình",parent:"VN"},{code:"VN-25",name:"Quảng Trị",parent:"VN"},{code:"VN-26",name:"Thừa Thiên-Huế",parent:"VN"},{code:"VN-27",name:"Quảng Nam",parent:"VN"},{code:"VN-28",name:"Kon Tum",parent:"VN"},{code:"VN-29",name:"Quảng Ngãi",parent:"VN"},{code:"VN-30",name:"Gia Lai",parent:"VN"},{code:"VN-31",name:"Bình Định",parent:"VN"},{code:"VN-32",name:"Phú Yên",parent:"VN"},{code:"VN-33",name:"Đắk Lắk",parent:"VN"},{code:"VN-34",name:"Khánh Hòa",parent:"VN"},{code:"VN-35",name:"Lâm Đồng",parent:"VN"},{code:"VN-36",name:"Ninh Thuận",parent:"VN"},{code:"VN-37",name:"Tây Ninh",parent:"VN"},{code:"VN-39",name:"Đồng Nai",parent:"VN"},{code:"VN-40",name:"Bình Thuận",parent:"VN"},{code:"VN-41",name:"Long An",parent:"VN"},{code:"VN-43",name:"Bà Rịa - Vũng Tàu",parent:"VN"},{code:"VN-44",name:"An Giang",parent:"VN"},{code:"VN-45",name:"Đồng Tháp",parent:"VN"},{code:"VN-46",name:"Tiền Giang",parent:"VN"},{code:"VN-47",name:"Kiến Giang",parent:"VN"},{code:"VN-49",name:"Vĩnh Long",parent:"VN"},{code:"VN-50",name:"Bến Tre",parent:"VN"},{code:"VN-51",name:"Trà Vinh",parent:"VN"},{code:"VN-52",name:"Sóc Trăng",parent:"VN"},{code:"VN-53",name:"Bắc Kạn",parent:"VN"},{code:"VN-54",name:"Bắc Giang",parent:"VN"},{code:"VN-55",name:"Bạc Liêu",parent:"VN"},{code:"VN-56",name:"Bắc Ninh",parent:"VN"},{code:"VN-57",name:"Bình Dương",parent:"VN"},{code:"VN-58",name:"Bình Phước",parent:"VN"},{code:"VN-59",name:"Cà Mau",parent:"VN"},{code:"VN-61",name:"Hải Dương",parent:"VN"},{code:"VN-63",name:"Hà Nam",parent:"VN"},{code:"VN-66",name:"Hưng Yên",parent:"VN"},{code:"VN-67",name:"Nam Định",parent:"VN"},{code:"VN-68",name:"Phú Thọ",parent:"VN"},{code:"VN-69",name:"Thái Nguyên",parent:"VN"},{code:"VN-70",name:"Vĩnh Phúc",parent:"VN"},{code:"VN-71",name:"Điện Biên",parent:"VN"},{code:"VN-72",name:"Đắk Nông",parent:"VN"},{code:"VN-73",name:"Hậu Giang",parent:"VN"},{code:"VN-CT",name:"Cần Thơ",parent:"VN"},{code:"VN-DN",name:"Đà Nẵng",parent:"VN"},{code:"VN-HN",name:"Hà Nội",parent:"VN"},{code:"VN-HP",name:"Hải Phòng",parent:"VN"},{code:"VN-SG",name:"Hồ Chí Minh",parent:"VN"},{code:"VU-MAP",name:"Malampa",parent:"VU"},{code:"VU-PAM",name:"Pénama",parent:"VU"},{code:"VU-SAM",name:"Sanma",parent:"VU"},{code:"VU-SEE",name:"Shéfa",parent:"VU"},{code:"VU-TAE",name:"Taféa",parent:"VU"},{code:"VU-TOB",name:"Torba",parent:"VU"},{code:"WF-AL",name:"Alo",parent:"WF"},{code:"WF-SG",name:"Sigave",parent:"WF"},{code:"WF-UV",name:"Uvea",parent:"WF"},{code:"WS-AA",name:"A'ana",parent:"WS"},{code:"WS-AL",name:"Aiga-i-le-Tai",parent:"WS"},{code:"WS-AT",name:"Atua",parent:"WS"},{code:"WS-FA",name:"Fa'asaleleaga",parent:"WS"},{code:"WS-GE",name:"Gaga'emauga",parent:"WS"},{code:"WS-GI",name:"Gagaifomauga",parent:"WS"},{code:"WS-PA",name:"Palauli",parent:"WS"},{code:"WS-SA",name:"Satupa'itea",parent:"WS"},{code:"WS-TU",name:"Tuamasaga",parent:"WS"},{code:"WS-VF",name:"Va'a-o-Fonoti",parent:"WS"},{code:"WS-VS",name:"Vaisigano",parent:"WS"},{code:"YE-AB",name:"Abyan",parent:"YE"},{code:"YE-AD",name:"‘Adan",parent:"YE"},{code:"YE-AM",name:"‘Amrān",parent:"YE"},{code:"YE-BA",name:"Al Bayḑā’",parent:"YE"},{code:"YE-DA",name:"Aḑ Ḑāli‘",parent:"YE"},{code:"YE-DH",name:"Dhamār",parent:"YE"},{code:"YE-HD",name:"Ḩaḑramawt",parent:"YE"},{code:"YE-HJ",name:"Ḩajjah",parent:"YE"},{code:"YE-HU",name:"Al Ḩudaydah",parent:"YE"}
1323,{code:"YE-IB",name:"Ibb",parent:"YE"},{code:"YE-JA",name:"Al Jawf",parent:"YE"},{code:"YE-LA",name:"Laḩij",parent:"YE"},{code:"YE-MA",name:"Ma’rib",parent:"YE"},{code:"YE-MR",name:"Al Mahrah",parent:"YE"},{code:"YE-MW",name:"Al Maḩwīt",parent:"YE"},{code:"YE-RA",name:"Raymah",parent:"YE"},{code:"YE-SA",name:"Amānat al ‘Āşimah",parent:"YE"},{code:"YE-SD",name:"Şāʻdah",parent:"YE"},{code:"YE-SH",name:"Shabwah",parent:"YE"},{code:"YE-SN",name:"Şanʻā’",parent:"YE"},{code:"YE-SU",name:"Arkhabīl Suquţrá",parent:"YE"},{code:"YE-TA",name:"Tāʻizz",parent:"YE"},{code:"ZA-EC",name:"Kapa-Vuxa",parent:"ZA"},{code:"ZA-FS",name:"Free State",parent:"ZA"},{code:"ZA-GP",name:"Gauteng",parent:"ZA"},{code:"ZA-KZN",name:"Kwazulu-Natal",parent:"ZA"},{code:"ZA-LP",name:"Limpopo",parent:"ZA"},{code:"ZA-MP",name:"Mpumalanga",parent:"ZA"},{code:"ZA-NC",name:"Kapa-N'walungu",parent:"ZA"},{code:"ZA-NW",name:"N'walungu-Vupeladyambu",parent:"ZA"},{code:"ZA-WC",name:"Kapa-Vupeladyambu",parent:"ZA"},{code:"ZM-01",name:"Western",parent:"ZM"},{code:"ZM-02",name:"Central",parent:"ZM"},{code:"ZM-03",name:"Eastern",parent:"ZM"},{code:"ZM-04",name:"Luapula",parent:"ZM"},{code:"ZM-05",name:"Northern",parent:"ZM"},{code:"ZM-06",name:"North-Western",parent:"ZM"},{code:"ZM-07",name:"Southern",parent:"ZM"},{code:"ZM-08",name:"Copperbelt",parent:"ZM"},{code:"ZM-09",name:"Lusaka",parent:"ZM"},{code:"ZM-10",name:"Muchinga",parent:"ZM"},{code:"ZW-BU",name:"Bulawayo",parent:"ZW"},{code:"ZW-HA",name:"Harare",parent:"ZW"},{code:"ZW-MA",name:"Manicaland",parent:"ZW"},{code:"ZW-MC",name:"Mashonaland Central",parent:"ZW"},{code:"ZW-ME",name:"Mashonaland East",parent:"ZW"},{code:"ZW-MI",name:"Midlands",parent:"ZW"},{code:"ZW-MN",name:"Matabeleland North",parent:"ZW"},{code:"ZW-MS",name:"Matabeleland South",parent:"ZW"},{code:"ZW-MV",name:"Masvingo",parent:"ZW"},{code:"ZW-MW",name:"Mashonaland West",parent:"ZW"}];var g7=g7;let f5=b.default.forwardRef(function({innerField:e,originalField:t,color:a,bgColor:n,parentBgColor:r,activeBgColor:o,error:i,...s},l){let d=f3.filter(e=>"US"===e.parent).map(e=>({label:e.name,value:e.code})),c=`region-${t.id}`;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(gq,{htmlFor:c,srOnly:!0,children:t.label}),(0,h.jsxs)(g1,{name:t.id,value:e.value??"",onValueChange:t=>e.onChange(t),children:[(0,h.jsx)(g5,{id:c,bgColor:n,parentBgColor:r,activeBgColor:o,size:"md",variant:"ghost",error:i,IconComponent:g7.default,"aria-invalid":i,label:t.label,hasValue:!!e.value,children:(0,h.jsx)(g2,{placeholder:t.label})}),(0,h.jsx)(g8,{children:d.map(e=>(0,h.jsx)(g9,{value:e.value,children:e.label},e.value))})]},t.id)]})}),f4=b.default.memo(({field:e,tooltipClassName:t,bgColor:a,parentBgColor:n,activeBgColor:r,allowInternationalization:o=!1,...i})=>{let{control:s}=(0,cV.useFormContext)();return(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{control:s,name:e.id,render:({field:i,fieldState:s,...l})=>{let d=!!s.error,c=s.error?.message;if(o){let o=`region-${e.id}`;return(0,h.jsx)(gH,{title:c||"",open:d,enterDelay:0,tooltipClassName:t,className:"input-field h-full",children:(0,h.jsx)(fl,{...i,value:i.value||"",id:o,type:"text",variant:"ghost",label:e.label,floatingLabel:!0,required:e.isRequired,error:d,bgColor:a,parentBgColor:n,activeBgColor:r,"aria-invalid":d})})}return(0,h.jsx)(gH,{title:c||"",open:d,enterDelay:0,tooltipClassName:t,className:"select-field h-full",children:(0,h.jsx)(f5,{innerField:i,originalField:e,bgColor:a,parentBgColor:n,activeBgColor:r,error:d,...l})})}},e.id)})});var g7=g7;let f6=b.default.forwardRef(function({innerField:e,originalField:t,color:a,error:n,options:r,bgColor:o,parentBgColor:i,activeBgColor:s,disabled:l,...d},c){let u=`select-${t.id}`;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(gq,{htmlFor:u,srOnly:!0,children:t.label}),(0,h.jsxs)(g1,{name:t.id,value:e.value??t.defaultValue??"",onValueChange:t=>e.onChange(t),disabled:l,children:[(0,h.jsx)(g5,{id:u,bgColor:o,parentBgColor:i,activeBgColor:s,variant:"ghost",error:n,IconComponent:g7.default,"aria-invalid":n,label:t.label,hasValue:!!(e.value??t.defaultValue),children:(0,h.jsx)(g2,{placeholder:t.label})}),(0,h.jsx)(g8,{children:r?.map(e=>(0,h.jsx)(g9,{value:e.value??e.label,children:e.label},e.value??e.label))})]},t.id)]})}),f8=b.default.memo(({field:e,tooltipClassName:t,bgColor:a,parentBgColor:n,activeBgColor:r})=>{let{control:o}=(0,cV.useFormContext)(),i=e.options;return(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{c
1323ontrol:o,name:e.id,defaultValue:e.defaultValue,render:({field:o,fieldState:s,...l})=>{let d=!!s.error,c=s.error?.message;return(0,h.jsx)(gH,{title:c||"",open:d,enterDelay:0,tooltipClassName:t,className:"select-field h-full",children:(0,h.jsx)(f6,{innerField:o,originalField:e,error:d,options:i,bgColor:a,parentBgColor:n,activeBgColor:r,disabled:e.isDisabled,...l})})}},e.id)})}),f9=["bg0","bg1","bg2","bg3","bg4"],f7=b.forwardRef(({className:e,bgColor:t,parentBgColor:a,activeBgColor:n,error:r,charCount:o,showCharCount:i,maxLength:s,style:l,theme:d,id:c,label:u,floatingLabel:p=!1,placeholder:m,onChange:g,onFocus:f,onBlur:v,...y},x)=>{let S=(0,gQ.getCornersClass)(d?.corners),w=!!t&&f9.includes(t),C=n&&f9.includes(n)?n:void 0,T=b.useMemo(()=>{let e=!!a&&f9.includes(a),n=C?`var(--color-${C})`:w&&e?`var(--color-${a}-form-field-background-active)`:"var(--color-form-field-background-active)",r=C?`var(--color-${C}-text)`:w&&e?`var(--color-${a}-form-field-text-active)`:"var(--color-form-field-text-active)";if(w){let e=`var(--color-${t})`,a=`var(--color-${t}-text)`;return{"--input-bg":e,"--input-text":a,"--input-placeholder":a,"--input-bg-focus":n,"--input-text-focus":r,"--input-placeholder-focus":r}}return{"--input-bg":"var(--color-form-field-background)","--input-text":"var(--color-form-field-text)","--input-placeholder":"var(--color-form-field-text)","--input-bg-focus":n,"--input-text-focus":r,"--input-placeholder-focus":r}},[w,t,a,C]),$=b.useMemo(()=>(0,sG.cn)("flex min-h-[4lh] w-full bg-transparent px-[0.9em] pt-[0.85em] pb-[0.45em] max-sm:px-[1em] leading-[1.25em] transition-colors","border focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",r?"border-red-500 focus-visible:ring-1 focus-visible:ring-red-500":"border-transparent focus-visible:ring-0","campaign-textarea h-full resize-none peer","duration-200 ease-out","text-site-body-md placeholder:text-site-body-md","bg-[var(--input-bg)] [color:var(--input-text)] placeholder:[color:var(--input-placeholder)]","focus:bg-[var(--input-bg-focus)] focus:[color:var(--input-text-focus)] focus:placeholder:[color:var(--input-placeholder-focus)]","[font-family:var(--font-family-header)] [font-weight:var(--font-weight-black)]","max-sm:[font-family:var(--font-family-body)]",S,w&&t?`color-${t}`:null,e),[r,S,e,w,t]),[E,I]=b.useState(!1),[N,_]=b.useState(!!y.value||!!y.defaultValue);b.useEffect(()=>{_(!!y.value)},[y.value]);let k=e=>{I(!0),f?.(e)},M=e=>{I(!1),_(!!e.target.value),v?.(e)},A=e=>{_(!!e.target.value),g?.(e)};return p&&u?(0,h.jsxs)("div",{className:"relative h-full w-full",style:T,children:[(0,h.jsx)("textarea",{className:(0,sG.cn)($,"placeholder:opacity-0"),style:l,maxLength:s,ref:x,id:c,placeholder:m||u,...y,onFocus:k,onBlur:M,onChange:A}),(0,h.jsx)("label",{htmlFor:c,className:(0,sG.cn)("pointer-events-none absolute left-[0.9em] top-[0.6em] origin-left","max-w-[calc(100%-1.8em)] overflow-hidden text-ellipsis whitespace-nowrap","will-change-transform","[font-family:var(--font-family-header)] [font-weight:var(--font-weight-black)]","max-sm:[font-family:var(--font-family-body)]","text-site-body-md",E||N?E?"translate-y-[-0.65em] scale-[0.5] opacity-[0.7] [color:var(--input-text-focus)]":"translate-y-[-0.65em] scale-[0.5] opacity-[0.7] [color:var(--input-text)]":"[color:var(--input-placeholder)]"),style:{...T,transition:"color 200ms ease-in-out, transform 200ms ease-in-out"},children:u}),i&&s&&(0,h.jsxs)("div",{className:"pointer-events-none absolute bottom-2 right-2 text-xs [color:var(--input-text)] peer-focus:[color:var(--input-text-focus)]",children:[o||0,"/",s]})]}):(0,h.jsxs)("div",{className:"relative h-full w-full",style:T,children:[(0,h.jsx)("textarea",{className:$,style:l,maxLength:s,ref:x,id:c,placeholder:m,...y,onFocus:k,onBlur:M,onChange:A}),i&&s&&(0,h.jsxs)("div",{className:"pointer-events-none absolute bottom-2 right-2 text-xs [color:var(--input-text)] peer-focus:[color:var(--input-text-focus)]",children:[o||0,"/",s]})]})});f7.displayName="CampaignTextarea";let ve=b.default.forwardRef(function({innerField:e,originalField:t,error:a,theme:n,...r},o){let[i,s]=b.default.useState(0),l=`textarea-${t.id}`;return(0,h.jsx)(f7,{...r,id:l,value:e.value||"",name:t.id,label:t.label,floatingLabel:!0,required:t.isRequired,error:a,maxLength:255,charCount:i,showCharCount:!0,theme:n,onChange:t=>{e.onChange(t.target.value),s(t.target.value.length)},onBlur:()=>e.onBlur(),"aria-invalid":!!a})}),vt=b.default.memo(({field:e,tooltipClassName:t,theme:a,...n})=>{let{control:r}=(0,cV.useFormContext)();return(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{c
1323ontrol:r,name:e.id,render:({field:n,fieldState:r,...o})=>{let i=!!r.error,s=r.error?.message;return(0,h.jsx)(gH,{title:s||"",open:i,enterDelay:0,tooltipClassName:t,className:"textarea-field h-full",children:(0,h.jsx)(ve,{innerField:n,originalField:e,error:i,theme:a,...o})})}},e.id)})}),va=(0,fa.default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),vn=b.default.memo(({field:e,tooltipClassName:t,bgColor:a,parentBgColor:n,activeBgColor:r})=>{let{control:o}=(0,cV.useFormContext)(),i=`time-${e.id}`,s=b.default.useCallback(e=>{let t=e.currentTarget;try{t.showPicker?.()}catch{}},[]),l=e.label?.trim()?(0,h.jsx)("label",{htmlFor:i,className:"text-site-body mb-2 block cursor-pointer text-[var(--color-headline-secondary)] [font-family:var(--font-family-header)] [font-weight:var(--font-weight-black)]",children:e.label}):null;return(0,h.jsx)("span",{className:"form-field-span",children:(0,h.jsx)(cV.Controller,{control:o,name:e.id,render:({field:o,fieldState:d})=>{let c=!!d.error,u=d.error?.message;return(0,h.jsx)(gH,{title:u||"",open:c,enterDelay:0,tooltipClassName:t,className:"time-field h-full",children:(0,h.jsxs)("div",{children:[l,(0,h.jsxs)("div",{className:"relative w-full",children:[(0,h.jsx)(fl,{id:i,name:e.id,type:"time",variant:"ghost",value:o.value||"",required:e.isRequired,error:c,bgColor:a,parentBgColor:n,activeBgColor:r,className:"cursor-pointer pb-[0.575em] pt-[0.575em] pr-[2.4em]",onChange:e=>o.onChange(e.target.value),onFocus:s,onClick:s,onBlur:o.onBlur,"aria-invalid":c}),(0,h.jsx)(va,{className:"time-field-icon pointer-events-none absolute right-[0.9em] top-1/2 h-4 w-4 -translate-y-1/2 opacity-70 [color:var(--color-form-field-text)]"})]})]})})}},e.id)})}),vr=e=>{let t=e.visibility;return t?.mode==="conditional"&&!!t?.condition?.fieldId},vo=({block:e,blockData:t,submitBtnText:a,formConfig:n,site:r,separateOptInDisclaimer:o=!1,variant:i,isHeroDisclaimer:s,isLandingPopupDisclaimer:l,tooltipClassName:d,disclaimerClass:c,formWrapperBgColor:u="HERO"===e.type?hg.COLOR_DEFAULTS.hero.formBarColor:t.innerBgColor,formFieldBgColor:p="HERO"===e.type?hg.COLOR_DEFAULTS.hero.formFieldColor:"form-field-background",formFieldActiveBgColor:m,buttonBgColor:g="HERO"===e.type?hg.COLOR_DEFAULTS.hero.buttonColor:"button-background",buttonHoverBgColor:f="button-background-hover",hasButtonBorder:v=!0,disclaimerCheckboxColor:y=hg.COLOR_DEFAULTS.hero.disclaimerCheckboxColor})=>{let[x,S]=(0,b.useState)(!1),w=(0,b.useRef)(null),C=(0,b.useId)(),[T,$]=(0,b.useState)(!1),[E,I]=(0,b.useState)(null),{data:N,isLoading:_}=s2.trpc.geo.getCountry.useQuery(),k=N?.countryCode||void 0,M=(0,sE.useTheme)(),A=(0,gP.useHintedMediaQuery)(M.breakpoints.down(sA.default.breakpoints.values.sm),gP.isMobileHint),R=(0,gP.useHintedMediaQuery)(M.breakpoints.down(sA.default.breakpoints.values.md),gP.isTabletHint),O=t.wrapForm&&!A?u:t.bgColor,B=(0,b.useMemo)(()=>{let e=n.FormField,t=r?.SiteContent?.presetFieldLabels;return n.independentLabels||!t?.labels?e:e.map(e=>{var a;if(!gw.includes(e.type))return e;let r=(a=e.type,n.allowInternationalization&&t.internationalLabels?.[a]?t.internationalLabels[a]:t.labels?.[a]);return r?{...e,label:r}:e})},[n.FormField,n.independentLabels,n.allowInternationalization,r?.SiteContent]),P=n.uiCopy,L=(0,b.useMemo)(()=>((e,t,a)=>{if(!e||(0,sI.default)(e))return hh.z.object({});let n=Object.fromEntries(e.map(e=>[e?.id,((e,t,a,n,r)=>{let o={emailInvalid:n?.validationMessages?.emailInvalid||gC,required:n?.validationMessages?.required||gT,postalCodeInvalid:n?.validationMessages?.postalCodeInvalid||g$,phoneInvalid:n?.validationMessages?.phoneInvalid||gE};switch(e){case gf.EMAIL:return a?hh.z.string().superRefine((e,t)=>{e&&0!==e.trim().length?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)||t.addIssue({code:hh.z.ZodIssueCode.custom,message:o.emailInvalid}):t.addIssue({code:hh.z.ZodIssueCode.custom,message:o.required})}):hh.z.string().optional().refine(e=>!e||0===e.trim().length||/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),{message:o.emailInvalid});case gf.CHECKBOX:return a?hh.z.literal(!0,{errorMap:()=>({message:o.required})}):hh.z.boolean().optional();case gf.CHECKBOX_GROUP:case gf.FILE:return a?hh.z.array(hh.z.string()).min(1,o.required):hh.z.array(hh.z.string()).optional();case gf.DISCLAIMER:case gf.OPT_IN_DISCLAIMER:return a&&"checkbox"===t?hh.z.literal(!0,{errorMap:()=>({message:o.required})}):hh.z.boolean().optional();case gf.POSTAL_CODE:if(r)return a?hh.z.string().min(1,o.required):hh.z.string().optional();return a?hh.z.string().min(5,o.postalCodeInvalid).max(5,o.postalCodeInvalid):hh.z.string().max(5,o.postalCodeInvalid).optional();case gf.COUNTRY:return a?hh.z.string().refine(e=>e.length>0,{message:o.required}):hh.z.string().optional();case gf.PHONE_NUMBER:if(r)return a?hh.z.string().superRefine((e,t)=>
1323{e&&0!==e.length?hp(e)||t.addIssue({code:hh.z.ZodIssueCode.custom,message:o.phoneInvalid}):t.addIssue({code:hh.z.ZodIssueCode.custom,message:o.required})}):hh.z.string().refine(e=>!e||0===e.length||hp(e),{message:o.phoneInvalid}).optional();let i=e=>{if(!e)return!1;if(e.startsWith("+"))return/^\+1\d{10}$/.test(e);let t=e.replace(/\D/g,"");return!!(10===t.length||11===t.length&&t.startsWith("1"))};return a?hh.z.string().superRefine((e,t)=>{e&&0!==e.length?i(e)||t.addIssue({code:hh.z.ZodIssueCode.custom,message:o.phoneInvalid}):t.addIssue({code:hh.z.ZodIssueCode.custom,message:o.required})}):hh.z.string().refine(e=>!e||0===e.length||i(e),{message:o.phoneInvalid}).optional();case gf.SELECT:return a?hh.z.union([hh.z.string(),hh.z.null()]).refine(e=>null!==e,{message:o.required}):hh.z.string().nullish();default:return a?hh.z.string().refine(e=>e.length>0,{message:o.required}):hh.z.string().optional()}})(e?.type,e.variant,!vr(e)&&e?.isRequired,t,a)])),r=t?.validationMessages?.required||gT,o=new Set(e.map(e=>e.id));return hh.z.object({...n,captcha:hh.z.string().optional(),eventDate:hh.z.string().nullish(),eventTitle:hh.z.string().nullish()}).superRefine((t,a)=>{e.forEach(e=>{if(!e.isRequired||!vr(e)||!gR(e,t,o))return;let n=t[e.id];(Array.isArray(n)?0!==n.length:"boolean"==typeof n?!0===n:n&&""!==String(n).trim())||a.addIssue({code:hh.z.ZodIssueCode.custom,path:[e.id],message:r})})})})(B,P,n.allowInternationalization),[B,P,n.allowInternationalization]),D=(0,b.useMemo)(()=>{let e={};return n.FormField?.forEach(t=>{t.type===gf.CHECKBOX_GROUP?e[t.id]=(t.options??[]).filter(e=>e?.default).map(e=>e.value):t.type===gf.FILE?e[t.id]=[]:t.type!==gf.CHECKBOX&&t.type!==gf.DISCLAIMER?e[t.id]=t.defaultValue||"":e[t.id]=!1}),e},[n.FormField]),j=(0,cV.useForm)({resolver:(0,cK.zodResolver)(L),mode:"onSubmit",reValidateMode:"onChange",shouldUnregister:!1,shouldFocusError:!1,defaultValues:D}),{errors:G,isSubmitted:F}=j.formState,H=Object.keys(G).length;(0,b.useEffect)(()=>{E?.type==="error"&&0===H&&F&&I(null)},[H,E,F]),(0,b.useEffect)(()=>{if(!_){let e=k||"US";n.FormField?.forEach(t=>{t.type!==gf.COUNTRY||j.getValues(t.id)||j.setValue(t.id,e,{shouldDirty:!1})})}},[_,k,n.FormField,j]);let{palette:U}=(0,sO.useSiteColorPalette)(),{theme:K}=(0,sB.useSiteTheme)(),z=(0,b.useMemo)(()=>Array.from(new Set(B.filter(vr).map(e=>e.visibility.condition.fieldId))),[B]),V=(0,cV.useWatch)({control:j.control,name:z}),W=(0,b.useMemo)(()=>{let e=new Set;if(0===z.length)return e;let t={};z.forEach((e,a)=>{t[e]=V?.[a]});let a=new Set(B.map(e=>e.id));return B.forEach(n=>{gR(n,t,a)||e.add(n.id)}),e},[B,z,V]),Z=s2.trpc.formSubmission.create.useMutation(),Y=Z.isLoading?P?.submittingButtonText||"Submitting":Z.isSuccess?P?.submittedButtonText||"Submitted":a??(P?.submitButtonText||"Submit"),J="HERO"===e.type||"LANDING_POPUP"===e.type,q=async e=>{S(!0),I(null);try{let t=n?.actions;t?.type==="redirect"&&t.url&&window.parent===window&&setTimeout(()=>{window.open(t.url,"_blank")?.focus()},500);let a=await w.current?.execute({async:!0}),r=n?.FormField??[],o=new Set(r.map(e=>e.id)),i=Object.fromEntries(Object.entries(e).filter(([t])=>{let a=r.find(e=>e.id===t);return!a||gR(a,e,o)}));r.forEach(e=>{let t=i[e.id];"string"==typeof t&&t&&(e.type===gf.DATE?i[e.id]=gA(t,e.config):e.type===gf.TIME&&(i[e.id]=function(e,t){let[a,n]=e.split(":").map(Number);if(Number.isNaN(a)||Number.isNaN(n))return e;let r=(t??{}).timeFormat||"h:mm a";try{return(0,cH.format)(new Date(2e3,0,1,a,n),r)}catch{return e}}(t,e.config)))}),r.forEach(e=>{if(e.type!==gf.CHECKBOX_GROUP||!(e.id in i))return;let t=i[e.id],a=Array.isArray(t)?t.map(String):[];delete i[e.id],(e.options??[]).forEach(e=>{e?.id&&e?.value!==void 0&&(i[e.id]=a.includes(e.value))})}),await Z.mutateAsync({formId:n?.id,fields:i,captcha:a.response},{onSuccess:e=>{j.reset(D,{keepErrors:!1,keepDirty:!1,keepIsSubmitted:!1,keepTouched:!1,keepIsValid:!1,keepSubmitCount:!1}),S(!1);let t=P?.successMessage||"Form submitted successfully!";I({message:t,type:"success"}),window.dispatchEvent(new CustomEvent("run:formSubmitted",{detail:{formId:n?.id,formName:n?.name}})),e?.type==="redirect"&&window.parent!==window&&hm.toast.info(`User would be redirected to ${e.url}`)},onError:e=>{console.error("Form submission failed:",e.message),S(!1);let t=P?.errorMessage||gN;I({message:t,type:"error"})}})}catch(e){console.error("Form submission error:",e),S(!1),I({message:P?.errorMessage||gN,type:"error"})}},X=[cF.BlockTypes.LONG_FORM,cF.BlockTypes.EVENTS_LIST].includes(e.type),Q=(0,b.useMemo)(()=>{let a=(0,cz.default)(B,"sortOrder").filter(e=>!W.has(e.id)).map(e=>{let a,r=function(e,t,a,n){if(!t||a)return 12;switch(e.type){case gf.POSTAL_CODE:return 3;case gf.PHONE_NUMBER:return n?6:4;case gf.FIRST_NAME:case gf.LAST_NAME:case gf.EMAIL:return 6;case gf.ADDRESS_LINE_1:case gf.ADDRESS_LINE_2:case gf.DESCRIPTION:case gf.TEXTAREA:case gf.DISCLAIMER:case gf.RADIO:case gf.CHECKBOX:case gf.CHECKBOX_GROUP:case gf.HEADING:case gf.SPACER:case gf.DESCRIPTION:case gf.DISCLAIMER:case gf.FILE:return 12;case gf.DATE:case gf.TIME:return 6;case gf.OPT_IN_DISCLAIMER:case gf.HIDDEN:return 0;default:return 6}}(e,J,A,n.allowInternationalization);switch(e.type){case gf.FIRST_NAME:case gf.LAST_NAME:case gf.CITY:case gf.ADDRESS_LINE_1:case gf.ADDRESS_LINE_2:a=(0,h.jsx)(fL,{field:e,tooltipClassName:d,bgColor:p,parentBgColor:O,activeBgColor:m},e.id);break;case gf.REGION:a=(0,h.jsx)(f4,{field:e,tooltipClassName:d,bgColor:p,parentBgColor:O,activeBgColor:m,allowInternationalization:n.allowInternationalization},e.id);break;case gf.EMAIL:a=(0,h.jsx)(fN,{field:e,tooltipClassName:d,bgColor:p,parentBgColor:O,activeBgColor:m},e.id);break;case gf.POSTAL_CODE:a=(0,h.jsx)(fJ,{field:e,tooltipClassName:d,bgColor:p,parentBgColor:O,activeBgColor:m,allowInternationalization:n.allowInternationalization},e.id);break;case gf.COUNTRY:a=(0,h.jsx)(ft,{field:e,tooltipClassName:d,bgColor:p,parentBgColor:O,activeBgColor:m,detectedCountry:k},e.id);break;case gf.PHONE_NUMBER:a=(0,h.jsx)(fZ,{field:e,tooltipClassName:d,bgColor:p,parentBgColor:O,activeBgColor:m,allowInternationalization:n.allowInternationalization,detectedCountry:k},e.id);break;case gf.INPUT:a=(0,h.jsx)(fL,{field:e,tooltipClassName:d,bgColor:p,parentBgColor:O,activeBgColor:m},e.id);break;case gf.SELECT:a=(0,h.jsx)(f8,{field:e,tooltipClassName:d,bgColor:p,parentBgColor:O,activeBgColor:m},e.id);break;case gf.RADIO:a=(0,h.jsx)(f2,{field:e,tooltipClassName:d},e.id);break;case gf.CHECKBOX:a=(0,h.jsx)(gK,{field:e,tooltipClassName:d},e.id);break;case gf.CHECKBOX_GROUP:a=(0,h.jsx)(gV,{field:e,tooltipClassName:d},e.id);break;case gf.DATE:a=(0,h.jsx)(fb,{field:e,tooltipClassName:d,bgColor:p,parentBgColor:O,activeBgColor:m},e.id);break;case gf.TIME:a=(0,h.jsx)(vn,{field:e,tooltipClassName:d,bgColor:p,parentBgColor:O,activeBgColor:m},e.id);break;case gf.FILE:a=(0,h.jsx)(fB,{field:e,formId:n.id,tooltipClassName:d,bgColor:p,parentBgColor:O,activeBgColor:m},e.id);break;case gf.TEXTAREA:a=(0,h.jsx)(vt,{field:e,tooltipClassName:d,theme:K},e.id);break;case gf.HEADING:a=(0,h.jsx)("h4",{className:"text-site-headline-xs mb-0",children:e.label},e.id);break;case gf.SPACER:a=(0,h.jsx)("div",{style:{height:"1em"}},e.id);break;case gf.DESCRIPTION:a=(0,h.jsx)(fC,{field:e},e.id);break;case gf.DISCLAIMER:a=(0,h.jsx)(fE,{field:e,tooltipClassName:d,disclaimerClass:c,heroBgColor:t.bgColor,disclaimerCheckboxColor:t.disclaimerCheckboxColor},e.id);break;case gf.OPT_IN_DISCLAIMER:a=o?(0,h.jsx)(h.Fragment,{}):(0,h.jsx)(fE,{field:e,isHeroDisclaimer:s,isLandingPopupDisclaimer:l,tooltipClassName:d,disclaimerClass:c,heroBgColor:t.bgColor,disclaimerCheckboxColor:t.disclaimerCheckboxColor},e.id);break;case gf.HIDDEN:a=(0,b.createElement)("input",{...j.register(e.id),type:"hidden",key:e.id,name:e.id,defaultValue:e.defaultValue??""});break;default:a=(0,h.jsx)(fL,{field:e,tooltipClassName:d,bgColor:p,parentBgColor:O,activeBgColor:m},e.id)}return{id:e.id,node:a,baseSpan:r}}),r=l8.BgColorsArray.includes(g)?g:void 0,u=l8.BgColorsArray.includes(f)?f:void 0,y={id:"SUBMIT_BUTTON",baseSpan:4,node:(0,h.jsx)("div",{className:(0,sG.cn)("self-end","h-full",(Z.isSuccess||Z.isLoading||x)&&"pointer-events-none"),children:(0,h.jsx)("div",{className:(0,sG.cn)("group",J?"w-full":"inline-block","contained"===i&&"h-full"),children:(0,h.jsx)(sj.Button,{id:`${e.data}-submit-button`,endIcon:"underline"!==i||Z.isSuccess||Z.isLoading||x?null:(0,h.jsx)(df.ArrowIcon,{width:A?14:16,height:A?14:16}),variant:i,type:"submit",bgColor:"contained"===i?r:void 0,hoverColor:"contained"===i?u:void 0,className:(0,sG.cn)("no-rotate","contained"===i&&"h-full",J?"w-full":"w-auto",!v&&"border-none","disabled:opacity-100 [&:disabled>span]:opacity-60"),disabled:Z.isSuccess||Z.isLoading||x,size:"underline"===i?"default":"medium",children:Y})})})};return a.push(y),function(e,t=12){let a=[],n=[],r=0,o=(e,a)=>{if(a<t&&e.length>0){let n=t/a;return e.map((r,o)=>{let i=Math.round(r.finalSpan*n);return o===e.length-1&&i>0&&i===r.finalSpan&&(i=r.finalSpan+t-a),{...r,finalSpan:i}})}return e};for(let i of e){let e=r+i.baseSpan;e===t?(n.push({...i,finalSpan:i.baseSpan}),a.push(n),n=[],r=0):e<t?(n.push({...i,finalSpan:i.baseSpan}),r=e):(a.push(o(n,r)),n=[{...i,finalSpan:i.baseSpan}],r=i.baseSpan)}return n.length>0&&a.push(o(n,r)),a}(a,12)},[B,W,m,d,p,J,A,g,v,i,R,k,Z.isLoading,Z.isSuccess,x,Y]),ee=(0,b.useRef)(!1),et=(0,b.useCallback)(e=>{e.isTrusted&&(ee.current||T||(ee.current=!0,requestAnimationFrame(()=>{$(!0)})))},[T]);return(0,h.jsx)(gO.TooltipProvider,{children:(0,h.jsx)(cV.FormProvider,{...j,children:(0,h.jsxs)("form",{onSubmit:j.handleSubmit(q,e=>{console.log("Form validation failed:",e),I({message:P?.validationMessages?.missingInfo||gI,type:"error"})}),onClick:et,onKeyDown:et,style:{padding:t.wrapForm&&X?"var(--small-padding)":0,paddingLeft:t.wrapForm&&X?"var(--small-padding)":0,paddingRight:t.wrapForm&&X?"var(--small-padding)":0,paddingTop:t.wrapForm&&X?"var(--small-padding)":0,paddingBottom:t.wrapForm&&X?"var(--small-padding)":0,background:X&&t.wrapForm?`var(--color-${u})`:"transparent"},method:"post",noValidate:!0,name:C,className:`${"LONG_FORM"===e.type&&t.wrapForm?`color-${u}`:""}`,children:[J?(0,h.jsx)(h.Fragment,{children:(0,h.jsx)("div",{className:`grid grid-cols-12 ${t.smallFormGap?"gap-[0.25vw]":"gap-[0.5vw]"} ${J?"hero-form-fields":""} ${"LANDING_POPUP"===e.type?"landing-popup-form":""} ${t.wrapForm&&!A?`color-${u}`:""}`,style:{background:t.wrapForm&&!A?`var(--color-${u})`:"transparent"},children:Q.map(e=>{let t=1,a=!1,n=e.map((n,r)=>{if(Object.keys(n.node.props).length>0){let o=t,i=o+n.finalSpan;return r===e.length-1&&i>12&&(i=13),t=i,a=!0,(0,h.jsx)("div",{style:{gridColumn:`${o} / ${i}
1323`,gridRow:"auto",height:"100%",position:"relative"},className:"form-field",children:n.node},n.id)}return null});return a?n:null})})}):(0,h.jsx)("div",{className:`grid grid-cols-12 ${A?"gap-x-[2vw]":R?"gap-x-[10px]":"gap-x-[15px]"} ${t.wrapForm&&!A?`color-${u}`:""}`,style:{background:t.wrapForm&&!A?`var(--color-${u})`:"transparent"},children:Q.map((e,t)=>{let a=t+1,n=a+1,r=e=>e.some(e=>{let t=B.find(t=>t.id===e.id);return t?.type===gf.RADIO||t?.type===gf.CHECKBOX_GROUP}),o=t===Q.length-1,i=Q[t+1],s=r(e)||!!i&&r(i),l=o?"mb-0":s?A?"mb-[4vw]":R?"mb-[20px]":"mb-[25px]":A?"mb-[3vw]":R?"mb-[10px]":"mb-[15px]",d=1;return e.map(e=>{let t=d,r=t+e.finalSpan;return d=r,(0,h.jsx)("div",{style:{gridColumn:`${t} / ${r}`,gridRow:`${a} / ${n}`,textAlign:"SUBMIT_BUTTON"===e.id?"right":void 0,position:"relative"},className:`form-field ${l}`,children:e.node},e.id)})})}),o?(()=>{if(!n?.FormField)return(0,h.jsx)(h.Fragment,{});let e=n?.FormField.find(e=>e.type===gf.OPT_IN_DISCLAIMER);return e?(0,h.jsx)(fE,{field:e,isHeroDisclaimer:s,isLandingPopupDisclaimer:l,tooltipClassName:d,disclaimerClass:c,heroBgColor:t.bgColor,disclaimerCheckboxColor:y},e.id):(0,h.jsx)(h.Fragment,{})})():(0,h.jsx)(h.Fragment,{}),T&&(0,h.jsx)(h9,{ref:w,size:"invisible"}),(0,h.jsx)(gB.default,{message:E?.message,type:E?.type,show:!!E,autoClear:8e3*(E?.type==="success"),onClear:()=>I(null),className:"mt-4",id:`form-status-${e.id}`})]})})})},vi=(0,sW.styled)("div",{label:"ColumnWrapperCommon",...sZ.transientOptions})`
1324  // basic element settings
1325
1326  // Form wrapper
1327  form {
1328    // Corners
1329    ${e=>e.$corners===sD.THEME_CORNERS.ROUNDED&&`
1330      border-radius: .4em;
1331    `}
1332
1333    ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&`
1334      border-radius: 0 .4em;
1335    `}
1336  }
1337
1338  ${({theme:e})=>e.breakpoints.down("sm")} {
1339    h2,
1340    [data-field='eyebrow'] {
1341      text-align: center;
1342      width: 100%;
1343    }
1344
1345    & > div {
1346      margin-bottom: 1.5em;
1347    }
1348  }
1349`,vs=(0,sW.styled)(vi,{label:"ColumnWrapperLongForm",...sZ.transientOptions})`
1350  // Columns width control
1351  width: 45%;
1352
1353  [data-field='description'] {
1354    /* overrides the shorter intro descriptions default (the 700px max-width
1355       StyledIntro puts on the field wrapper) for pages where it's in a single
1356       column; should create rule for 2 column description vs this one off fix */
1357    max-width: none !important;
1358  }
1359
1360  ${({theme:e})=>e.breakpoints.down("sm")} {
1361    //make all columns 100% wide on phone
1362    width: 100% !important;
1363    padding: 0 !important;
1364  }
1365
1366  // Half of component which wraps intro text
1367  &:first-of-type {
1368    flex-grow: 1;
1369    padding-right: var(--small-padding);
1370  }
1371`,vl=(0,sW.styled)("div",{label:"GridContainer",...sZ.transientOptions})`
1372  display: flex;
1373
1374  ${({theme:e})=>e.breakpoints.down("sm")} {
1375    flex-wrap: wrap;
1376  }
1377`,vd=({block:e,blockData:t,calendarSourceId:a,isMobilize:n=!1,list:r,listKey:o,event:i,occurrenceId:s,index:l,innerBgColor:d,...c})=>{let{site:u}=(0,ln.useSite)(),{data:p}=s2.trpc.form.byId.useQuery({id:t.formId}),m=(0,b.useMemo)(()=>{let e=i.occurrences?.find(e=>e.id===s)||i.occurrences?.find(e=>e.start>new Date)||(0,cU.default)(i.occurrences);return{...e,start:new Date(e?.start??0),end:new Date(e?.end??e?.start??0)}},[i,s]),g=(0,b.useCallback)(e=>{if(!e)return"";let t=i.occurrences.find(t=>t.id===e);if(!t)return"";if(t.allDay)return(0,cH.format)(new Date(t.start),"yyyy-MM-dd");let a=new Date().toLocaleDateString(void 0,{day:"2-digit",timeZoneName:"short"}).substring(4);return`${(0,cH.format)(new Date(t.start),"yyyy-MM-dd hh:mm aa")} ${a}`},[i?.occurrences]),{theme:f}=(0,sB.useSiteTheme)(),v=(0,b.useMemo)(()=>!(0,sI.default)(a),[a]);return(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)(vl,{children:[(0,h.jsx)(vs,{$corners:f?.corners,className:"columnWrapperForm",children:(0,h.jsx)(cP.default,{event:i,blockData:t,index:l,uiShowRsvpButton:!1,occurrenceId:s,hideShadows:!0,fullDescription:!0,usesExternalProvider:v,isMobilize:n,bgColor:d})}),(0,h.jsx)(vs,{$customWidth:t.formWidth,$corners:f?.corners,children:(0,sI.default)(p)?(0,h.jsx)(h.Fragment,{}):(0,h.jsx)(vo,{site:u,block:e,blockData:t,formConfig:{...p,FormField:[i.occurrences.filter(e=>e.start>=new Date).length<=1?{id:"eventDate",baseFieldId:"eventDate",formId:p.id,sortOrder:-2,defaultValue:g(m.id??""),label:"Event Date",isRequired:!0,type:"hidden",variant:null,options:null,visibility:null,config:null,isDisabled:!0}:{id:"eventDate",baseFieldId:"eventDate",formId:p.id,sortOrder:-1,defaultValue:g(m.id??s??""),label:"Event Date",isRequired:!0,type:"select",options:i.occurrences.filter(e=>e.start>=new Date).map(e=>{let t=e.end?new Date(e.end.getTime()-864e5):e.start;return{label:e.allDay?`${(0,cH.format)(e.start,"eeeeee. PP")}${e.start.toDateString()!==t.toDateString()?` - ${(0,cH.format)(t,"eeeeee. PP")}`:""}`:`${(0,cH.format)(e.start,"eeeeee. Pp")}${e.end?`-${(0,cH.format)(e.end,"p")}`:""}`,value:g(e.id)}}),variant:null,visibility:null,config:null,isDisabled:!1},{id:"eventTitle",baseFieldId:"eventTitle",formId:p.id,sortOrder:-2,defaultValue:(0,cA.stripHtml)(i.title).result,label:"Event Title",isRequired:!0,type:"hidden",variant:null,options:null,visibility:null,config:null,isDisabled:!0},...p.FormField]},variant:"underline",...c})})]})})},vc=(0,sW.styled)("div",{label:"FullWidthMedia"})`
1378  text-align: center;
1379
1380  [data-field='title'] {
1381    margin-right: var(--standard-padding-horiz);
1382    margin-left: var(--standard-padding-horiz);
1383    margin-bottom: var(--small-padding);
1384    text-align: center;
1385  }
1386
1387  & .description-wrapper {
1388    padding-right: var(--standard-padding-horiz);
1389    padding-left: var(--standard-padding-horiz);
1390    padding-top: var(--small-padding);
1391    //so the padding dooesn't cut into the single column width
1392    max-width: calc(
1393      var(--single-col-width) + (2 * var(--standard-padding-horiz))
1394    );
1395    margin: auto;
1396  }
1397
1398  & [data-field='description'] {
1399    text-align: center;
1400  }
1401`,vu=(0,b.createContext)(null);gf.FIRST_NAME,gf.LAST_NAME,gf.EMAIL,gf.POSTAL_CODE;let vp=(0,sW.styled)("div",{label:"ColumnWrapperCommon",...sZ.transientOptions})`
1402  h2 {
1403    margin-bottom: 0.5em;
1404  }
1405
1406  // Form wrapper
1407  form {
1408    // Corners
1409    ${e=>e.$corners===sD.THEME_CORNERS.ROUNDED&&`
1410      border-radius: .4em;
1411    `}
1412
1413    ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&`
1414      border-radius: 0 .4em;
1415    `}
1416  }
1417
1418  .form-field {
1419    justify-content: flex-start;
1420  }
1421
1422  ${({theme:e})=>e.breakpoints.down("sm")} {
1423    h2,
1424    [data-field='eyebrow'] {
1425      text-align: center;
1426      width: 100%;
1427    }
1428
1429    & > div {
1430      margin-bottom: 1.5em;
1431    }
1432  }
1433`,vm=(0,sW.styled)(vp,{label:"ColumnWrapperLongForm",...sZ.transientOptions})`
1434  // Columns width control
1435  &:not(.columnWrapperForm) {
1436    width: ${e=>e.$formId?`
1437    calc(40% + var(--slider-form-${e.$formId}, 0) * 1%)
1438  `:e.$customWidth?`${e.$customWidth}%`:"45%"};
1439  }
1440
1441  &.columnWrapperForm {
1442    width: 45%;
1443  }
1444
1445  [data-field='description'] {
1446    max-width: none !important;
1447  }
1448
1449  // The left aligns the description in the Intro area, since by default it's centered
1450  .description-container {
1451    margin-left: 0;
1452    [data-field='description'] {
1453      text-align: left;
1454    }
1455  }
1456
1457  ${({theme:e})=>e.breakpoints.down("sm")} {
1458    //make all columns 100% wide on phone
1459    width: 100% !important;
1460    padding: 0 !important;
1461  }
1462
1463  // Half of component which wraps intro text
1464  &:first-of-type {
1465    flex-grow: 1;
1466    padding-right: var(--small-padding);
1467  }
1468`,vh=(0,sW.styled)(vp,{label:"ColumnWrapperShortForm",...sZ.transientOptions})`
1469  // The left aligns the description in the Intro area, since by default it's centered
1470  .description-container {
1471    margin-left: 0;
1472  }
1473
1474  .styledIntro {
1475    margin-bottom: 1em;
1476  }
1477
1478  // Columns width control
1479  width: ${e=>e.$customWidth?`${e.$customWidth}%`:"50%"};
1480
1481  ${({theme:e})=>e.breakpoints.down("sm")} {
1482    //make all columns 100% wide on phone
1483    width: 100% !important;
1484  }
1485
1486  min-height: 30vw;
1487
1488  //Half of component which encloses form
1489  &:first-of-type {
1490    padding: var(--standard-padding-vert) var(--standard-padding-horiz);
1491    ${({theme:e})=>e.breakpoints.down("sm")} {
1492      padding-top: 0;
1493    }
1494    width: 50%;
1495  }
1496`,vg=(0,sW.styled)("div",{label:"GridContainerLongForm",...sZ.transientOptions})`
1497  display: flex;
1498
1499  ${({theme:e})=>e.breakpoints.down("sm")} {
1500    flex-wrap: wrap;
1501  }
1502`,vf=(0,sW.styled)(vg,{label:"GridContainerLongForm",...sZ.transientOptions})``,vv=(0,sW.styled)(vg,{label:"GridContainerShortForm",...sZ.transientOptions})`
1503  ${e=>e.$flipContent&&`
1504    & > div:first-of-type {
1505      order: 2;
1506      padding-left: 8%;
1507    }
1508    & > div:last-child {
1509      order: 1;
1510    }
1511  `}
1512
1513  ${({theme:e})=>e.breakpoints.down("sm")} {
1514    & > div:first-of-type {
1515      order: 1;
1516      padding-left: var(--small-padding);
1517    }
1518    & > div:last-child {
1519      order: 2;
1520      min-height: 80vw;
1521      height: 100vw;
1522    }
1523  }
1524`,vb=({block:e,blockData:t,list:a,listKey:n,...r})=>{let{site:o}=(0,ln.useSite)(),i=(0,b.useContext)(vu),{data:s}=s2.trpc.form.byId.useQuery({id:t.formId},{enabled:!i&&!!t.formId&&!!o?.id}),l=i??s,{theme:d}=(0,sB.useSiteTheme)(),c=(0,b.useMemo)(()=>e.type===cF.BlockTypes.EVENTS_LIST,[e.type]),u=(0,b.useMemo)(()=>[cF.BlockTypes.LONG_FORM,cF.BlockTypes.EVENTS_LIST].includes(e.type),[e.type]),p=(0,sE.useTheme)(),m=(0,sR.useMediaQuery)(p.breakpoints.down(sA.default.breakpoints.values.sm)),g=(0,b.useMemo)(()=>u?vf:vv,[u]),f=(0,b.useMemo)(()=>u?vm:vh,[u]),v=(0,h.jsxs)(g,{$flipContent:t.flipContent,children:[(0,h.jsxs)(f,{$blockStyle:t.blockStyle,$flipContent:t.flipContent,$corners:d?.corners,$formId:t.formId,className:"columnWrapperForm",children:[(0,h.jsx)(lb,{block:e,blockData:t,showPageDescription:u&&t.showDescription,disablePadding:!0,shouldAlignLeft:u&&!m,list:a,listKey:n,charLimit:-1,toolbarOption:"full",isNarrowEditor:u}),u||(0,sI.default)(l)?(0,h.jsx)(h.Fragment,{}):(0,h.jsx)(vo,{site:o,block:e,blockData:t,formConfig:l,variant:"underline",...r})]}),(0,h.jsx)(f,{$blockStyle:t.blockStyle,$customWidth:t.formWidth,$corners:d?.corners,$formId:t.formId,children:u?(0,sI.default)(l)?(0,h.jsx)(h.Fragment,{}):(0,h.jsx)(vo,{site:o,block:e,blockData:t,formConfig:l,variant:"underline",formWrapperBgColor:t.innerBgColor,...r}):(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(sq,{src:t.hero,width:"100%",height:"100%",alt:t.imageAltText||"photo (generic)",isBgImage:!0,objectPosition:`${t.imageAlignment} center`})})})]});return c?(0,h.jsx)(h.Fragment,{children:v}):(0,h.jsx)(ls.default,{block:e,sx:{px:u?void 0:0,py:u?void 0:0},className:u?void 0:"no-collapse",bgColor:t.bgColor,children:v})};var vy=e.i(30943),vx=e.i(40816),vS=e.i(53259),vw=e.i(23551),vC=e.i(66960),vT=e.i(80743),v$=e.i(91357);let vE=function(){for(var e,t,a=0,n="";a<arguments.length;)(e=arguments[a++])&&(t=function e(t){var a,n,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t))for(a=0;a<t.length;a++)t[a]&&(n=e(t[a]))&&(r&&(r+=" "),r+=n);else for(a in t)t[a]&&(r&&(r+=" "),r+=a);return r}(e))&&(n&&(n+=" "),n+=t);return n};function vI(e){return(0,lB.generateUtilityClass)("MuiMasonry",e)}(0,lP.generateUtilityClasses)("MuiMasonry",["root"]);let vN=["children","className","component","columns","spacing","defaultColumns","defaultHeight","defaultSpacing"],v_=e=>Number(e.replace("px","")),vk={flexBasis:"100%",width:0,margin:0,padding:0},vM=(0,sW.styled)("div",{name:"MuiMasonry",slot:"Root",overridesResolver:(e,t)=>[t.root]})(({ownerState:e,theme:t})=>{let a={width:"100%",display:"flex",flexFlow:"column wrap",alignContent:"flex-start",boxSizing:"border-box","& > *":{boxSizing:"border-box"}},n={};if(e.isSSR){let r={},o=Number(t.spacing(e.defaultSpacing).replace("px",""));for(let t=1;t<=e.defaultColumns;t+=1)r[`&:nth-of-type(${e.defaultColumns}n+${t%e.defaultColumns})`]={order:t};return n.height=e.defaultHeight,n.margin=-(o/2),n["& > *"]=(0,lC.default)({},a["& > *"],r,{margin:o/2,width:`calc(${(100/e.defaultColumns).toFixed(2)}% - ${o}px)`}),(0,lC.default)({},a,n)}let r=(0,vC.unstable_resolveBreakpointValues)({values:e.spacing,breakpoints:t.breakpoints.values}),o=(0,vS.createUnarySpacing)(t);a=(0,vT.deepmerge)(a,(0,vw.handleBreakpoints)({theme:t},r,t=>{let a=Number(t),n=Number((0,vS.getValue)(o,a).replace("px",""));return(0,lC.default)({margin:-(n/2),"& > *":{margin:n/2}},e.maxColumnHeight&&{height:Math.ceil(e.maxColumnHeight+n)})}));let i=(0,vC.unstable_resolveBreakpointValues)({values:e.columns,breakpoints:t.breakpoints.values});return a=(0,vT.deepmerge)(a,(0,vw.handleBreakpoints)({theme:t},i,e=>{let t=Number(e),a=`${(100/t).toFixed(2)}%`,n="object"!=typeof r?(0,vS.getValue)(o,Number(r)):"0px";return{"& > *":{width:`calc(${a} - ${n})`}}})),"object"==typeof r&&(a=(0,vT.deepmerge)(a,(0,vw.handleBreakpoints)({theme:t},r,(e,t)=>{if(t){let a=Number(e),n=Object.keys(i).pop(),r=(0,vS.getValue)(o,a),s="object"==typeof i?i[t]||i[n]:i,l=`${(100/s).toFixed(2)}%`;return{"& > *":{width:`calc(${l} - ${r})`}}}return null}))),a}),vA=b.forwardRef(function(e,t){let a=(0,vx.useThemeProps)({props:e,name:"MuiMasonry"}),{children:n,className:r,component:o="div",columns:i=4,spacing:s=1,defaultColumns:l,defaultHeight:d,defaultSpacing:c}=a,u=(0,lw.default)(a,vN),p=b.useRef(),[m,g]=b.useState(),f=!m&&d&&void 0!==l&&void 0!==c,[v,y]=b.useState(f?l-1:0),x=(0,lC.default)({},a,{spacing:s,columns:i,maxColumnHeight:m,defaultColumns:l,defaultHeight:d,defaultSpacing:c,isSSR:f}),S=(e=>{let{classes:t}=e;return(0,l$.unstable_composeClasses)({root:["root"]},vI,t)})(x),w=b.useRef("u"<typeof ResizeObserver?void 0:new ResizeObserver(e=>{if(!p.current||!e||0===e.length)return;
1524let t=p.current,a=p.current.firstChild,n=t.clientWidth,r=a.clientWidth;if(0===n||0===r)return;let o=window.getComputedStyle(a),i=Math.round(n/(r+v_(o.marginLeft)+v_(o.marginRight))),s=Array(i).fill(0),l=!1;t.childNodes.forEach(e=>{if(e.nodeType!==Node.ELEMENT_NODE||"line-break"===e.dataset.class||l)return;let t=window.getComputedStyle(e),a=v_(t.marginTop),n=v_(t.marginBottom),r=v_(t.height)?Math.ceil(v_(t.height))+a+n:0;if(0===r){l=!0;return}for(let t=0;t<e.childNodes.length;t+=1){let a=e.childNodes[t];if("IMG"===a.tagName&&0===a.clientHeight){l=!0;break}}if(!l){let t=s.indexOf(Math.min(...s));s[t]+=r,e.style.order=t+1}}),l||(0,vy.flushSync)(()=>{g(Math.max(...s)),y(i>0?i-1:0)})}));b.useEffect(()=>{let e=w.current;if(void 0!==e)return p.current&&p.current.childNodes.forEach(t=>{e.observe(t)}),()=>e?e.disconnect():{}},[i,s,n]);let C=(0,v$.unstable_useForkRef)(t,p),T=Array(v).fill("").map((e,t)=>(0,h.jsx)("span",{"data-class":"line-break",style:(0,lC.default)({},vk,{order:t+1})},t));return(0,h.jsxs)(vM,(0,lC.default)({as:o,className:vE(S.root,r),ref:C,ownerState:x},u,{children:[n,T]}))});var vR=e.i(23384),vO=e.i(21432);let vB={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["w
1524off"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(vB);var vP=function(e,t,a,n){if("a"===a&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===a?n:"a"===a?n.call(e):n?n.value:t.get(e)};u=new WeakMap,p=new WeakMap,m=new WeakMap;let vL=new class{constructor(...e){for(const t of(u.set(this,new Map),p.set(this,new Map),m.set(this,new Map),e))this.define(t)}define(e,t=!1){for(let[a,n]of Object.entries(e)){a=a.toLowerCase(),n=n.map(e=>e.toLowerCase()),vP(this,m,"f").has(a)||vP(this,m,"f").set(a,new Set);let e=vP(this,m,"f").get(a),r=!0;for(let o of n){let n=o.startsWith("*");if(o=n?o.slice(1):o,e?.add(o),r&&vP(this,p,"f").set(a,o),r=!1,n)continue;let i=vP(this,u,"f").get(o);if(i&&i!=a&&!t)throw Error(`"${a} -> ${o}" conflicts with "${i} -> ${o}". Pass \`force=true\` to override this definition.`);vP(this,u,"f").set(o,a)}}return this}getType(e){if("string"!=typeof e)return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),a=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(a.length<t.length-1)&&n?null:vP(this,u,"f").get(a)??null}getExtension(e){return"string"!=typeof e?null:((e=e?.split?.(";")[0])&&vP(this,p,"f").get(e.trim().toLowerCase()))??null}getAllExtensions(e){return"string"!=typeof e?null:vP(this,m,"f").get(e.toLowerCase())??null}_freeze(){for(let e of(this.define=()=>{throw Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")}
1524,Object.freeze(this),vP(this,m,"f").values()))Object.freeze(e);return this}_getTestState(){return{types:vP(this,u,"f"),extensions:vP(this,p,"f")}}}(vB)._freeze();var vD=e.i(46131),vj=e.i(25219),vj=vj;let vG=(0,sW.styled)(lr.Box,{label:"GalleryItemWrapper",...sZ.transientOptions})`
1525  position: relative;
1526  padding: ${({theme:e})=>e.spacing(1)};
1527
1528  ${({$allowDownload:e,theme:t})=>e?`
1529    /* Dark overlay on hover and focus-within */
1530    &::after {
1531      content: '';
1532      position: absolute;
1533      top: ${t.spacing(1)};
1534      left: ${t.spacing(1)};
1535      width: calc(100% - ${t.spacing(2)});
1536      height: calc(100% - ${t.spacing(2)});
1537      background: linear-gradient(315deg, #001f45 0, rgba(0, 31, 69, 0) 128px);
1538      mix-blend-mode: multiply;
1539      background-blend-mode: multiply;
1540      opacity: 0;
1541      transition: opacity 0.2s ease-in-out;
1542      pointer-events: none;
1543    }
1544
1545    &:hover,
1546    &:focus-within {
1547      &::after {
1548        opacity: 0.3;
1549      }
1550
1551      .MuiButtonBase-root {
1552        opacity: 1;
1553      }
1554    }
1555
1556  .MuiButtonBase-root {
1557    position: absolute;
1558    bottom: ${t.spacing(1.5)};
1559    right: ${t.spacing(1.5)};
1560    opacity: 0;
1561    transition: opacity 0.2s ease-in-out;
1562    z-index: 99;
1563
1564    &:focus {
1565      opacity: 1;
1566    }
1567  `:`
1568  .MuiButtonBase-root {
1569    display: none;
1570  }`}
1571`,vF=({item:e,square:t=!1,onClick:a,allowDownload:n=!1})=>{let{createUrl:r,navigate:o}=(0,sb.useNavigation)(),[i,{width:s}]=(0,vD.useMeasure)(),{aspectRatio:l}=(0,sY.useImageSize)(e.image),d=(0,b.useMemo)(()=>(0,sN.default)(a),[a]),c=(0,b.useMemo)(()=>!!e.url,[e.url]),u=async()=>{if(!n)return;let t=await (await fetch(e.image)).blob(),a=new FileReader;a.onloadend=()=>p(t),a.onerror=console.error,a.readAsDataURL(t)},p=async t=>{let a=document.createElement("a");a.href=URL.createObjectURL(t),a.setAttribute("download",`${e.id}.${vL.getExtension(t.type)}`),a.click()},m=(0,h.jsxs)(vG,{$allowDownload:n,ref:i,style:{},children:[(0,h.jsx)(sq,{width:"100%",height:t?`${s}px`:"auto",src:e.image,alt:e.imageAltText,objectFit:t?"cover":"contain",objectPosition:"center"}),(0,h.jsx)(vO.IconButton,{onClick:async e=>{e.stopPropagation(),e.preventDefault(),await u()},"aria-label":"Download image",sx:{"&:focus-visible":{outline:"2px dashed currentColor",outlineOffset:0,borderRadius:0}},children:(0,h.jsx)(vj.default,{width:24,height:24})})]},e.id);if(c){let{as:t,isExternal:a}=r({url:e.url||""}),n=a?"true"===y.default.env.NEXT_PUBLIC_IS_CMS||e.openInNewTab?"_blank":"_self":void 0;return(0,h.jsx)("a",{href:t,target:n,rel:a?"noopener noreferrer":void 0,onClick:a?void 0:t=>{t.preventDefault(),o({url:e.url})},style:{maxHeight:"90vh",maxWidth:`calc(90vh * ${l})`,margin:"0 auto",cursor:"pointer",display:"block"},children:m})}return d?(0,h.jsx)("div",{role:"button",tabIndex:0,onClick:a,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),a?.())},"aria-label":`View ${e.imageAltText||"image"} in lightbox`,style:{maxHeight:"90vh",maxWidth:`calc(90vh * ${l})`,margin:"0 auto",display:"block",cursor:"pointer"},children:m}):(0,h.jsx)("div",{style:{maxHeight:"90vh",maxWidth:`calc(90vh * ${l})`,margin:"0 auto",display:"block"},children:m})};function vH(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function vU(e,t){let a=Object.keys(e),n=Object.keys(t);return a.length===n.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&a.every(a=>{let n=e[a],r=t[a];return"function"==typeof n?`${n}`==`${r}`:vH(n)&&vH(r)?vU(n,r):n===r})}function vK(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function vz(e){return"number"==typeof e}function vV(e){return"string"==typeof e}function vW(e){return"boolean"==typeof e}function vZ(e){return"[object Object]"===Object.prototype.toString.call(e)}function vY(e){return Math.abs(e)}function vJ(e){return Math.sign(e)}function vq(e){return v1(e).map(Number)}function vX(e){return e[vQ(e)]}function vQ(e){return Math.max(0,e.length-1)}function v0(e,t=0){return Array.from(Array(e),(e,a)=>t+a)}function v1(e){return Object.keys(e)}function v2(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function v3(){let e=[],t={add:function(a,n,r,o={passive:!0}){let i;return"addEventListener"in a?(a.addEventListener(n,r,o),i=()=>a.removeEventListener(n,r,o)):(a.addListener(r),i=()=>a.removeListener(r)),e.push(i),t},clear:function(){e=e.filter(e=>e())}};return t}function v5(e=0,t=0){let a=vY(e-t);function n(a){return a<e||a>t}return{length:a,max:t,min:e,constrain:function(a){return n(a)?a<e?e:t:a},reachedAny:n,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return a?e-a*Math.ceil((e-t)/a):e}}}function v4(e){let t=e;function a(e){return vz(e)?e:e.get()}return{get:function(){return t},set:function(e){t=a(e)},add:function(e){t+=a(e)},subtract:function(e){t-=a(e)}}}function v6(e,t){let a="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},n=t.style,r=null,o=!1;return{clear:function(){!o&&(n.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(o)return;let i=Math.round(100*e.direction(t))/100;i!==r&&(n.transform=a(i),r=i)},toggleActive:function(e){o=!e}}}let v8={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function v9(e,t,a){let n,r,o,i,s,l,d,c,u=e.ownerDocument,p=u.defaultView,m=function(e){function t(e,t){return function e(t,a){return[t,a].reduce((t,a)=>
1571(v1(a).forEach(n=>{let r=t[n],o=a[n],i=vZ(r)&&vZ(o);t[n]=i?e(r,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(a){let n=a.breakpoints||{},r=v1(n).filter(t=>e.matchMedia(t).matches).map(e=>n[e]).reduce((e,a)=>t(e,a),{});return t(a,r)},optionsMediaQueries:function(t){return t.map(e=>v1(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(p),h=(c=[],{init:function(e,t){return(c=t.filter(({options:e})=>!1!==m.optionsAtMedia(e).active)).forEach(t=>t.init(e,m)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){c=c.filter(e=>e.destroy())}}),g=v3(),f=(r={},o={init:function(e){n=e},emit:function(e){return(r[e]||[]).forEach(t=>t(n,e)),o},off:function(e,t){return r[e]=(r[e]||[]).filter(e=>e!==t),o},on:function(e,t){return r[e]=(r[e]||[]).concat([t]),o},clear:function(){r={}}}),{mergeOptions:v,optionsAtMedia:b,optionsMediaQueries:y}=m,{on:x,off:S,emit:w}=f,C=!1,T=v(v8,v9.globalOptions),$=v(T),E=[];function I(t,a){C||($=b(T=v(T,t)),E=a||E,function(){let{container:t,slides:a}=$;l=(vV(t)?e.querySelector(t):t)||e.children[0];let n=vV(a)?l.querySelectorAll(a):a;d=[].slice.call(n||l.children)}(),i=function t(a){let n=function(e,t,a,n,r,o,i){var s,l;let d,c,u,p,m,h,g,f,v,b,y,x,S,w,{align:C,axis:T,direction:$,startIndex:E,loop:I,duration:N,dragFree:_,dragThreshold:k,inViewThreshold:M,slidesToScroll:A,skipSnaps:R,containScroll:O,watchResize:B,watchSlides:P,watchDrag:L,watchFocus:D}=o,j={measure:function(e){let{offsetTop:t,offsetLeft:a,offsetWidth:n,offsetHeight:r}=e;return{top:t,right:a+n,bottom:t+r,left:a,width:n,height:r}}},G=j.measure(t),F=a.map(j.measure),H=(c="rtl"===$,p=(u="y"===T)||!c?1:-1,m=u?"top":c?"right":"left",h=u?"bottom":c?"left":"right",{scroll:u?"y":"x",cross:u?"x":"y",startEdge:m,endEdge:h,measureSize:function(e){let{height:t,width:a}=e;return u?t:a},direction:function(e){return e*p}}),U=H.measureSize(G),K={measure:function(e){return e/100*U}},z=(s=C,l=U,d={start:function(){return 0},center:function(e){return(l-e)/2},end:function(e){return l-e}},{measure:function(e,t){return vV(s)?d[s](e):s(l,e,t)}}),V=!I&&!!O,{slideSizes:W,slideSizesWithGaps:Z,startGap:Y,endGap:J}=function(e,t,a,n,r,o){let{measureSize:i,startEdge:s,endEdge:l}=e,d=a[0]&&r,c=function(){if(!d)return 0;let e=a[0];return vY(t[s]-e[s])}(),u=d?parseFloat(o.getComputedStyle(vX(n)).getPropertyValue(`margin-${l}`)):0,p=a.map(i),m=a.map((e,t,a)=>{let n=t===vQ(a);return t?n?p[t]+u:a[t+1][s]-e[s]:p[t]+c}).map(vY);return{slideSizes:p,slideSizesWithGaps:m,startGap:c,endGap:u}}(H,G,F,a,I||!!O,r),q=function(e,t,a,n,r,o,i,s){let{startEdge:l,endEdge:d,direction:c}=e,u=vz(a);return{groupSlides:function(e){return u?vq(e).filter(e=>e%a==0).map(t=>e.slice(t,t+a)):e.length?vq(e).reduce((a,u,p)=>{let m=vX(a)||0,h=u===vQ(e),g=r[l]-o[m][l],f=r[l]-o[u][d],v=n||0!==m?0:c(i),b=vY(f-(!n&&h?c(s):0)-(g+v));return p&&b>t+2&&a.push(u),h&&a.push(e.length),a},[]).map((t,a,n)=>{let r=Math.max(n[a-1]||0);return e.slice(r,t)}):[]}}}(H,U,A,I,G,F,Y,J),{snaps:X,snapsAligned:Q}=function(e,t,a,n,r){let{startEdge:o,endEdge:i}=e,{groupSlides:s}=r,l=s(n).map(e=>vX(e)[i]-e[0][o]).map(vY).map(t.measure),d=n.map(e=>a[o]-e[o]).map(e=>-vY(e)),c=s(d).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:d,snapsAligned:c}}(H,z,G,F,q),ee=-vX(X)+vX(Z),{snapsContained:et,scrollContainLimit:ea}=function(e,t,a,n){let r,o,i=v5(-t+e,0),s=a.map((e,t)=>{let{min:n,max:r}=i,o=i.constrain(e),s=t===vQ(a);return t?s||function(e,t){return 1>=vY(e-t)}(n,o)?n:function(e,t){return 1>=vY(e-t)}(r,o)?r:o:r}).map(e=>parseFloat(e.toFixed(3))),l=(r=s[0],o=vX(s),v5(s.lastIndexOf(r),s.indexOf(o)+1));return{snapsContained:function(){if(t<=e+2)return[i.max];if("keepSnaps"===n)return s;let{min:a,max:r}=l;return s.slice(a,r)}(),scrollContainLimit:l}}(U,ee,Q,O),en=V?et:Q,{limit:er}=(g=en[0],{limit:v5(I?g-ee:vX(en),g)}),eo=function e(t,a,n){let{constrain:r}=v5(0,t),o=t+1,i=s(a);function s(e){return n?vY((o+e)%o):r(e)}function l(){return e(t,i,n)}let d={get:function(){return i},set:function(e){return i=s(e),d},add:function(e){return l().set(i+e)},clone:l};return d}(vQ(en),E,I),ei=eo.clone(),es=vq(a),el=function(e,t,a,n){let r=v3(),o=1e3/60,i=null,s=0,l=0;function d(e){if(!l)return;
1571i||(i=e,a(),a());let r=e-i;for(i=e,s+=r;s>=o;)a(),s-=o;n(s/o),l&&(l=t.requestAnimationFrame(d))}function c(){t.cancelAnimationFrame(l),i=null,s=0,l=0}return{init:function(){r.add(e,"visibilitychange",()=>{e.hidden&&(i=null,s=0)})},destroy:function(){c(),r.clear()},start:function(){l||(l=t.requestAnimationFrame(d))},stop:c,update:a,render:n}}(n,r,()=>(({dragHandler:e,scrollBody:t,scrollBounds:a,options:{loop:n}})=>{n||a.constrain(e.pointerDown()),t.seek()})(ew),e=>(({scrollBody:e,translate:t,location:a,offsetLocation:n,previousLocation:r,scrollLooper:o,slideLooper:i,dragHandler:s,animation:l,eventHandler:d,scrollBounds:c,options:{loop:u}},p)=>{let m=e.settled(),h=!c.shouldConstrain(),g=u?m:m&&h,f=g&&!s.pointerDown();f&&l.stop();let v=a.get()*p+r.get()*(1-p);n.set(v),u&&(o.loop(e.direction()),i.loop()),t.to(n.get()),f&&d.emit("settle"),g||d.emit("scroll")})(ew,e)),ed=en[eo.get()],ec=v4(ed),eu=v4(ed),ep=v4(ed),em=v4(ed),eh=function(e,t,a,n,r){let o=0,i=0,s=r,l=.68,d=e.get(),c=0;function u(e){return s=e,m}function p(e){return l=e,m}let m={direction:function(){return i},duration:function(){return s},velocity:function(){return o},seek:function(){let t=n.get()-e.get(),r=0;return s?(a.set(e),o+=t/s,o*=l,d+=o,e.add(o),r=d-c):(o=0,a.set(n),e.set(n),r=t),i=vJ(r),c=d,m},settled:function(){return .001>vY(n.get()-t.get())},useBaseFriction:function(){return p(.68)},useBaseDuration:function(){return u(r)},useFriction:p,useDuration:u};return m}(ec,ep,eu,em,N),eg=function(e,t,a,n,r){let{reachedAny:o,removeOffset:i,constrain:s}=n;function l(e){return e.concat().sort((e,t)=>vY(e)-vY(t))[0]}function d(t,n){let r=[t,t+a,t-a];if(!e)return t;if(!n)return l(r);let o=r.filter(e=>vJ(e)===n);return o.length?l(o):vX(r)-a}return{byDistance:function(a,n){let l=r.get()+a,{index:c,distance:u}=function(a){let n=e?i(a):s(a),{index:r}=t.map((e,t)=>({diff:d(e-n,0),index:t})).sort((e,t)=>vY(e.diff)-vY(t.diff))[0];return{index:r,distance:n}}(l),p=!e&&o(l);if(!n||p)return{index:c,distance:a};let m=a+d(t[c]-u,0);return{index:c,distance:m}},byIndex:function(e,a){let n=d(t[e]-r.get(),a);return{index:e,distance:n}},shortcut:d}}(I,en,ee,er,em),ef=function(e,t,a,n,r,o,i){function s(r){let s=r.distance,l=r.index!==t.get();
1571o.add(s),s&&(n.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(a.set(t.get()),t.set(r.index),i.emit("select"))}return{distance:function(e,t){s(r.byDistance(e,t))},index:function(e,a){let n=t.clone().set(e);s(r.byIndex(n.get(),a))}}}(el,eo,ei,eh,eg,em,i),ev=function(e){let{max:t,length:a}=e;return{get:function(e){return a?-((e-t)/a):0}}}(er),eb=v3(),ey=(v={},b=null,y=null,x=!1,{init:function(){f=new IntersectionObserver(e=>{x||(e.forEach(e=>{v[a.indexOf(e.target)]=e}),b=null,y=null,i.emit("slidesInView"))},{root:t.parentElement,threshold:M}),a.forEach(e=>f.observe(e))},destroy:function(){f&&f.disconnect(),x=!0},get:function(e=!0){if(e&&b)return b;if(!e&&y)return y;let t=v1(v).reduce((t,a)=>{let n=parseInt(a),{isIntersecting:r}=v[n];return(e&&r||!e&&!r)&&t.push(n),t},[]);return e&&(b=t),e||(y=t),t}}),{slideRegistry:ex}=function(e,t,a,n,r,o){let i,{groupSlides:s}=r,{min:l,max:d}=n;return{slideRegistry:(i=s(o),1===a.length?[o]:e&&"keepSnaps"!==t?i.slice(l,d).map((e,t,a)=>{let n=t===vQ(a);return t?n?v0(vQ(o)-vX(a)[0]+1,vX(a)[0]):e:v0(vX(a[0])+1)}):i)}}(V,O,en,ea,q,es),eS=function(e,t,a,n,r,o,i,s){let l={passive:!0,capture:!0},d=0;function c(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(u){s&&(o.add(document,"keydown",c,!1),t.forEach((t,c)=>{o.add(t,"focus",t=>{(vW(s)||s(u,t))&&function(t){if(new Date().getTime()-d>10)return;i.emit("slideFocusStart"),e.scrollLeft=0;let o=a.findIndex(e=>e.includes(t));vz(o)&&(r.useDuration(0),n.index(o,0),i.emit("slideFocus"))}(c)},l)}))}}}(e,a,ex,ef,eh,eb,i,D),ew={ownerDocument:n,ownerWindow:r,eventHandler:i,containerRect:G,slideRects:F,animation:el,axis:H,dragHandler:function(e,t,a,n,r,o,i,s,l,d,c,u,p,m,h,g,f,v){let{cross:b,direction:y}=e,x=["INPUT","SELECT","TEXTAREA"],S={passive:!1},w=v3(),C=v3(),T=v5(50,225).constrain(m.measure(20)),$={mouse:300,touch:400},E={mouse:500,touch:600},I=h?43:25,N=!1,_=0,k=0,M=!1,A=!1,R=!1,O=!1;function B(e){if(!v2(e,n)&&e.touches.length>=2)return P(e);let t=o.readPoint(e),a=o.readPoint(e,b),i=vY(t-_),l=vY(a-k);if(!A&&!O&&(!e.cancelable||!(A=i>l)))return P(e);let c=o.pointerMove(e);i>g&&(R=!0),d.useFriction(.3).useDuration(.75),s.start(),r.add(y(c)),e.preventDefault()}function P(e){var t;let a,n,r=c.byDistance(0,!1).index!==u.get(),i=o.pointerUp(e)*(h?E:$)[O?"mouse":"touch"],s=(t=y(i),a=u.add(-1*vJ(t)),n=c.byDistance(t,!h).distance,h||vY(t)<T?n:f&&r?.5*n:c.byIndex(a.get(),0).distance),m=function(e,t){var a,n;if(0===e||0===t||vY(e)<=vY(t))return 0;let r=(a=vY(e),n=vY(t),vY(a-n));return vY(r/e)}(i,s);A=!1,M=!1,C.clear(),d.useDuration(I-10*m).useFriction(.68+m/50),l.distance(s,!h),O=!1,p.emit("pointerUp")}function L(e){R&&(e.stopPropagation(),e.preventDefault(),R=!1)}return{init:function(e){v&&w.add(t,"dragstart",e=>e.preventDefault(),S).add(t,"touchmove",()=>void 0,S).add(t,"touchend",()=>void 0).add(t,"touchstart",s).add(t,"mousedown",s).add(t,"touchcancel",P).add(t,"contextmenu",P).add(t,"click",L,!0);function s(s){(vW(v)||v(e,s))&&function(e){let s,l=v2(e,n);if((O=l,R=h&&l&&!e.buttons&&N,N=vY(r.get()-i.get())>=2,!l||0===e.button)&&(s=e.target.nodeName||"",!x.includes(s))){let n;M=!0,o.pointerDown(e),d.useFriction(0).useDuration(0),r.set(i),n=O?a:t,C.add(n,"touchmove",B,S).add(n,"touchend",P).add(n,"mousemove",B,S).add(n,"mouseup",P),_=o.readPoint(e),k=o.readPoint(e,b),p.emit("pointerDown")}}(s)}},destroy:function(){w.clear(),C.clear()},pointerDown:function(){return M}}}(H,e,n,r,em,function(e,t){let a,n;function r(e){return e.timeStamp}function o(a,n){let r=n||e.scroll,o=`client${"x"===r?"X":"Y"}`;return(v2(a,t)?a:a.touches[0])[o]}return{pointerDown:function(e){return a=e,n=e,o(e)},pointerMove:function(e){let t=o(e)-o(n),i=r(e)-r(a)>170;return n=e,i&&(a=e),t},pointerUp:function(e){if(!a||!n)return 0;let t=o(n)-o(a),i=r(e)-r(a),s=r(e)-r(n)>170,l=t/i;return i&&!s&&vY(l)>.1?l:0},readPoint:o}}(H,r),ec,el,ef,eh,eg,eo,i,K,_,k,R,L),eventStore:eb,percentOfView:K,index:eo,indexPrevious:ei,limit:er,location:ec,offsetLocation:ep,previousLocation:eu,options:o,resizeHandler:function(e,t,a,n,r,o,i){let s,l,d=[e].concat(n),c=[],u=!1;function p(e){return r.measureSize(i.measure(e))}return{init:function(r){o&&(l=p(e),c=n.map(p),s=new ResizeObserver(a=>
1571{(vW(o)||o(r,a))&&function(a){for(let o of a){if(u)return;let a=o.target===e,i=n.indexOf(o.target),s=a?l:c[i];if(vY(p(a?e:n[i])-s)>=.5){r.reInit(),t.emit("resize");break}}}(a)}),a.requestAnimationFrame(()=>{d.forEach(e=>s.observe(e))}))},destroy:function(){u=!0,s&&s.disconnect()}}}(t,i,r,a,H,B,j),scrollBody:eh,scrollBounds:function(e,t,a,n,r){let o=r.measure(10),i=r.measure(50),s=v5(.1,.99),l=!1;function d(){return!l&&!!e.reachedAny(a.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:d,constrain:function(r){if(!d())return;let l=e.reachedMin(t.get())?"min":"max",c=vY(e[l]-t.get()),u=a.get()-t.get(),p=s.constrain(c/i);a.subtract(u*p),!r&&vY(u)<o&&(a.set(e.constrain(a.get())),n.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}(er,ep,em,eh,K),scrollLooper:function(e,t,a,n){let{reachedMin:r,reachedMax:o}=v5(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(a.get()):-1===t&&r(a.get())))return;let i=-1*t*e;n.forEach(e=>e.add(i))}}}(ee,er,ep,[ec,ep,eu,em]),scrollProgress:ev,scrollSnapList:en.map(ev.get),scrollSnaps:en,scrollTarget:eg,scrollTo:ef,slideLooper:function(e,t,a,n,r,o,i,s,l){let d=vq(r),c=vq(r).reverse(),u=h(m(c,i[0]),a,!1).concat(h(m(d,t-i[0]-1),-a,!0));function p(e,t){return e.reduce((e,t)=>e-r[t],t)}function m(e,t){return e.reduce((e,a)=>p(e,t)>0?e.concat([a]):e,[])}function h(r,i,d){let c=o.map((e,a)=>({start:e-n[a]+.5+i,end:e+t-.5+i}));return r.map(t=>{let n=d?0:-a,r=d?a:0,o=c[t][d?"end":"start"];return{index:t,loopPoint:o,slideLocation:v4(-1),translate:v6(e,l[t]),target:()=>s.get()>o?n:r}})}return{canLoop:function(){return u.every(({index:e})=>.1>=p(d.filter(t=>t!==e),t))},clear:function(){u.forEach(e=>e.translate.clear())},loop:function(){u.forEach(e=>{let{target:t,translate:a,slideLocation:n}=e,r=t();r!==n.get()&&(a.to(r),n.set(r))})},loopPoints:u}}(H,U,ee,W,Z,X,en,ep,a),slideFocus:eS,slidesHandler:(w=!1,{init:function(e){P&&(S=new MutationObserver(t=>{!w&&(vW(P)||P(e,t))&&function(t){for(let a of t)if("childList"===a.type){e.reInit(),i.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){S&&S.disconnect(),w=!0}}),slidesInView:ey,slideIndexes:es,slideRegistry:ex,slidesToScroll:q,target:em,translate:v6(H,t)};return ew}(e,l,d,u,p,a,f);return a.loop&&!n.slideLooper.canLoop()?t(Object.assign({},a,{loop:!1})):n}($),y([T,...E.map(({options:e})=>e)]).forEach(e=>g.add(e,"change",N)),$.active&&(i.translate.to(i.location.get()),i.animation.init(),i.slidesInView.init(),i.slideFocus.init(A),i.eventHandler.init(A),i.resizeHandler.init(A),i.slidesHandler.init(A),i.options.loop&&i.slideLooper.loop(),l.offsetParent&&d.length&&i.dragHandler.init(A),s=h.init(A,E)))}function N(e,t){let a=M();_(),I(v({startIndex:a},e),t),f.emit("reInit")}function _(){i.dragHandler.destroy(),i.eventStore.clear(),i.translate.clear(),i.slideLooper.clear(),i.resizeHandler.destroy(),i.slidesHandler.destroy(),i.slidesInView.destroy(),i.animation.destroy(),h.destroy(),g.clear()}function k(e,t,a){$.active&&!C&&(i.scrollBody.useBaseFriction().useDuration(!0===t?0:$.duration),i.scrollTo.index(e,a||0))}function M(){return i.index.get()}let A={canScrollNext:function(){return i.index.add(1).get()!==M()},canScrollPrev:function(){return i.index.add(-1).get()!==M()},containerNode:function(){return l},internalEngine:function(){return i},destroy:function(){C||(C=!0,g.clear(),_(),f.emit("destroy"),f.clear())},off:S,on:x,emit:w,plugins:function(){return s},previousScrollSnap:function(){return i.indexPrevious.get()},reInit:N,rootNode:function(){return e},scrollNext:function(e){k(i.index.add(1).get(),e,-1)},scrollPrev:function(e){k(i.index.add(-1).get(),e,1)},scrollProgress:function(){return i.scrollProgress.get(i.offsetLocation.get())},scrollSnapList:function(){return i.scrollSnapList},scrollTo:k,selectedScrollSnap:M,slideNodes:function(){return d},slidesInView:function(){return i.slidesInView.get()},slidesNotInView:function(){return i.slidesInView.get(!1)}};return I(t,a),setTimeout(()=>f.emit("init"),0),A}function v7(e={},t=[]){let a=(0,b.useRef)(e),n=(0,b.useRef)(t),[r,o]=(0,b.useState)(),[i,s]=(0,b.useState)(),l=(0,b.useCallback)(()=>{r&&r.reInit(a.current,n.current)},[r]);return(0,b.useEffect)(()=>{vU(a.current,e)||(a.current=e,l())},[e,l]),(0,b.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let a=vK(e),n=vK(t);return a.every((e,t)=>vU(e,n[t]))}(n.current,t)&&(n.current=t,l())},[t,l]),(0,b.useEffect)(()=>
1571{if("u">typeof window&&window.document&&window.document.createElement&&i){v9.globalOptions=v7.globalOptions;let e=v9(i,a.current,n.current);return o(e),()=>e.destroy()}o(void 0)},[i,o]),[s,r]}v9.globalOptions=void 0,v7.globalOptions=void 0;var be=e.i(51836),bt=e.i(21614);let ba=b.createContext(null);function bn(){let e=b.useContext(ba);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let br=b.forwardRef(({orientation:e="horizontal",opts:t,setApi:a,plugins:n,className:r,children:o,...i},s)=>{let[l,d]=v7({...t,axis:"horizontal"===e?"x":"y"},n),[c,u]=b.useState(!1),[p,m]=b.useState(!1),g=b.useCallback(e=>{e&&(u(e.canScrollPrev()),m(e.canScrollNext()))},[]),f=b.useCallback(()=>{d?.scrollPrev()},[d]),v=b.useCallback(()=>{d?.scrollNext()},[d]),y=b.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),f()):"ChevronRight"===e.key&&(e.preventDefault(),v())},[f,v]);return b.useEffect(()=>{d&&a&&a(d)},[d,a]),b.useEffect(()=>{if(d)return g(d),d.on("reInit",g),d.on("select",g),()=>{d?.off("select",g)}},[d,g]),(0,h.jsx)(ba.Provider,{value:{carouselRef:l,api:d,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:f,scrollNext:v,canScrollPrev:c,canScrollNext:p},children:(0,h.jsx)("div",{ref:s,onKeyDownCapture:y,className:(0,sG.cn)("relative",r),role:"region","aria-roledescription":"carousel",...i,children:o})})});br.displayName="Carousel";let bo=b.forwardRef(({className:e,...t},a)=>{let{carouselRef:n,orientation:r}=bn();return(0,h.jsx)("div",{ref:n,className:"overflow-hidden",children:(0,h.jsx)("div",{ref:a,className:(0,sG.cn)("flex","horizontal"===r?"-ml-4":"-mt-4 flex-col",e),...t})})});bo.displayName="CarouselContent";let bi=b.forwardRef(({className:e,...t},a)=>{let{orientation:n}=bn();return(0,h.jsx)("div",{ref:a,role:"group","aria-roledescription":"slide",className:(0,sG.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===n?"pl-2 pr-2":"pb-2 pt-2",e),...t})});bi.displayName="CarouselItem";let bs=b.forwardRef(({className:e,variant:t="outline",size:a="icon",...n},r)=>{let{orientation:o,scrollPrev:i,canScrollPrev:s}=bn();return(0,h.jsxs)(sj.Button,{ref:r,variant:"link",size:"small",className:(0,sG.cn)("absolute h-12 w-12 rounded-full","horizontal"===o?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!s,onClick:i,...n,children:[(0,h.jsx)(be.ChevronLeft,{className:"h-10 w-10"}),(0,h.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});bs.displayName="CarouselPrevious";let bl=b.forwardRef(({className:e,variant:t="outline",size:a="icon",...n},r)=>{let{orientation:o,scrollNext:i,canScrollNext:s}=bn();return(0,h.jsxs)(sj.Button,{ref:r,variant:"link",size:"small",className:(0,sG.cn)("absolute h-12 w-12 rounded-full","horizontal"===o?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!s,onClick:i,...n,children:[(0,h.jsx)(bt.ChevronRight,{className:"h-10 w-10"}),(0,h.jsx)("span",{className:"sr-only",children:"Next slide"})]})});bl.displayName="CarouselNext";var vj=vj;function bd({items:e,open:t,onClose:a,currentIndex:n,allowDownload:r=!1}){let[o,i]=b.useState(n),[s,l]=b.useState(null),d=b.useRef(null),c=b.useRef(null),u=b.useMemo(()=>e[o],[e,o]);b.useEffect(()=>{t&&(d.current=document.activeElement)},[t]),b.useEffect(()=>{t&&(i(n),s?.scrollTo?.(n,!0))},[t,n,s]),b.useEffect(()=>{if(!s)return;let e=()=>{i(s.selectedScrollSnap())};return e(),s.on("select",e),()=>{s.off("select",e)}},[s]),b.useEffect(()=>{if(!t||!s)return;let e=requestAnimationFrame(()=>{s.reInit(),s.scrollTo(n,!0);let e=requestAnimationFrame(()=>{s.reInit(),s.scrollTo(n,!0)});return()=>cancelAnimationFrame(e)});return()=>cancelAnimationFrame(e)},[t,s,n]);let p=async e=>{var t;let a,n;if(e.stopPropagation(),!r||!u?.image)return;let o=await (await fetch(u.image)).blob();t=u.id,a=document.createElement("a"),a.href=n=URL.createObjectURL(o),a.setAttribute("download",`${t}.${vL.getExtension(o.type)}`),a.click(),setTimeout(()=>URL.revokeObjectURL(n),1e4)};return(0,h.jsx)(sT.Dialog,{open:t,onOpenChange:e=>{e||a()},children:(0,h.jsxs)(sT.DialogContent,{className:"!fixed !inset-0 !left-0 !top-0 !translate-x-0 !translate-y-0 h-screen w-screen max-w-none border-0 bg-black/90 p-0 data-[state=closed]:!animate-none data-[state=open]:!animate-none",closeIconClassName:"!text-white",onKeyDown:t=>{if(!s)return;let a=t.target,n=a?.tagName?.toLowerCase();"input"!==n&&"textarea"!==n&&"select"!==n&&("ArrowLeft"===t.key?(t.preventDefault(),s.scrollPrev()):"ArrowRight"===t.key?(t.preventDefault(),s.scrollNext()):"Home"===t.key?(t.preventDefault(),s.scrollTo(0)):"End"===t.key&&(t.preventDefault(),s.scrollTo(e.length-1)))},onOpenAutoFocus:e=>{e.preventDefault(),c.current?.focus()},onCloseAutoFocus:e=>{e.preventDefault();var t=d.current;if(t)try{t.focus({preventScroll:!0})}catch{t.focus()}},children:[(0,h.jsx)(sT.DialogTitle,{ref:c,className:"sr-only",children:"Image Gallery Lightbox"}),(0,h.jsxs)(sT.DialogDescription,{className:"sr-only",children:["Viewing image ",o+1," of ",e.length,". Use Left and Right arrow keys to navigate, Escape to close."]}),(0,h.jsxs)("div",{className:"relative h-full w-full min-w-0",children:[r&&u&&(0,h.jsx)("button",{type:"button",onClick:p,"aria-label":`Download ${u.imageAltText||"image"}`,className:"absolute bottom-3 right-3 z-50 inline-flex h-10 w-10 items-center justify-center rounded-md text-white focus-visible:outline-1 focus-visible:outline-white",children:(0,h.jsx)(vj.default,{width:24,height:24})}),(0,h.jsx)("div",{className:"flex h-full w-full items-center justify-center px-2",children:(0,h.jsxs)(br,{setApi:l,opts:{startIndex:n,containScroll:"trimSnaps",loop:!0,align:"start"},className:"w-full min-w-0",children:[(0,h.jsx)(bs,{className:"left-3 z-50 hidden !text-white sm:inline-flex","aria-label":"Previous image"}),(0,h.jsx)(bl,{className:"right-3 z-50 hidden !text-white sm:inline-flex","aria-label":"Next image"}),(0,h.jsx)(bo,{className:"!-ml-0 h-full",children:e.map((t,a)=>(0,h.jsx)(bi,{children:(0,h.jsx)(bc,{item:t,index:a,totalItems:e.length,isActive:a===o})},t.id))})]})}),(0,h.jsxs)("div",{className:"sr-only","aria-live":"polite",children:["Image ",o+1," of ",e.length]})]})]})})}function bc({item:e,index:t,totalItems:a,isActive:n}){let{aspectRatio:r}=(0,sY.useImageSize)(e.image);return(0,h.jsxs)("figure",{role:"group","aria-label":`Image ${t+1} of ${a}`,"aria-hidden":!n,...n?{}:{inert:""},className:"mx-auto flex h-full flex-col items-center justify-center",children:[(0,h.jsx)("div",{className:"relative mx-auto flex h-[90vh] w-full items-center justify-center",children:(0,h.jsx)("img",{src:e.image,alt:e.imageAltText,style:{maxWidth:"90vw",maxHeight:"75vh",height:"auto",width:r?`${75*r}vh`:"75vh"}})}),e.caption&&(0,h.jsx)("figcaption",{className:"mx-auto mt-4 max-w-[600px] px-4 text-center text-sm text-white",children:e.caption})]})}let bu=({block:e,blockData:t})=>{let a=(0,sE.useTheme)(),n=(0,sR.useMediaQuery)(a.breakpoints.down(sA.default.breakpoints.values.sm)),r=(0,sR.useMediaQuery)(a.breakpoints.down(sA.default.breakpoints.values.md)),[o,i]=(0,vR.useBoolean)(!1),[s,l]=(0,vR.useBoolean)(!1),[d,c]=(0,b.useState)(0),u=(0,b.useMemo)(()=>t.enableLightbox||n,[t.enableLightbox,n]),p=(0,b.useMemo)(()=>t.items,[t.items]),m=(0,b.useMemo)(()=>n&&!s?p.slice(0,6):p,[p,n,s]),g=e=>{u&&(c(e),i(!0))};return(0,h.jsxs)(ls.default,{block:e,maxWidth:`${a.breakpoints.values.xl}px`,bgColor:t.bgColor,children:[(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!(t.showEyebrow||t.headlineOn||t.showDescription),hasStyledWrapper:!0,block:e,blockData:t}),t.masonry?(0,h.jsx)(vA,{columns:n?p.length<6?1:2:t.numColumns,spacing:0,sx:{alignContent:"center"},children:m.map((e,a)=>(0,h.jsx)(vF,{onClick:(0,sI.default)(e.url)&&u?()=>g(a):void 0,allowDownload:t.allowDownload&&!n&&!r,item:e},e.id))}):(0,h.jsx)(li.Grid,{container:!0,sx:{justifyContent:"center"},children:m.map((e,a)=>(0,h.jsx)(li.Grid,{item:!0,xs:p.length<6?12:6,sm:12/t.numColumns,children:(0,h.jsx)(vF,{item:e,onClick:(0,sI.default)(e.url)&&u?()=>g(a):void 0,allowDownload:t.allowDownload&&!n&&!r,square:!0})},e.id))}),n&&!s&&p.length>6&&(0,h.jsx)(sj.Button,{variant:"text",size:"default",onClick:()=>l(!0),className:"mx-auto mt-4 flex",children:"View all images"}),(0,h.jsx)(bd,{items:t.items,open:o,onClose:i,currentIndex:d,allowDownload:t.allowDownload&&!n&&!r})]})},bp=({block:e,blockData:t,button:a})=>{let{palette:n}=(0,sO.useSiteColorPalette)(),r=(0,sE.useTheme)(),o=(0,sR.useMediaQuery)(r.breakpoints.down(sA.default.breakpoints.values.sm)),i=(0,sR.useMediaQuery)(r.breakpoints.down(sA.default.breakpoints.values.md)),s=["bg0","bg1","bg2","bg3","bg4"],l=s.includes(t?.buttonColor)?t?.buttonColor:n?.[t?.bgColor][sP.CssVarMap.get(t?.buttonColor)],d=s.includes(t?.buttonHoverColor)?t?.buttonHoverColor:n?.[t?.bgColor].bgButtonBackgroun
1571dHover,c=t.layoutType!==sk.HERO_LAYOUT_TYPE.NO_IMAGE&&t.layoutType!==sk.HERO_LAYOUT_TYPE.BACKGROUND_IMAGE,u=`calc(var(--slider-button-size-${e.id},0)*0.025em + 1.3em)`,p=`calc(var(--slider-button-size-${e.id},0)*0.015em + ${o?"14px":"18px"})`;return(0,h.jsx)(lo.FeaturedLink,{className:"hero-button",href:a.url,buttonText:a.buttonText,blockId:e.id,buttonId:a.id,variant:"contained",size:o?"medium":"large",endIcon:(0,h.jsx)(df.ArrowIcon,{}),bgColor:l,hoverColor:d,hasUrl:""!==a.url&&null!==a.url&&void 0!==a.url,align:c&&"content-left"===t.alignContent&&!o?"left":"center",style:i?{}:{fontSize:u},iconStyle:i?{}:{width:p,height:p},openInNewTab:a.openInNewTab})},bm=(0,sW.styled)("div",{label:"HeroForm",...sZ.transientOptions})`
1572  & > .hero-form-wrapper:not(.wrap-form) {
1573    width: ${({$isLeftAligned:e})=>e?"100%":"90%"};
1574    ${({theme:e})=>e.breakpoints.down("md")} {
1575      width: 100%;
1576    }
1577  }
1578  & > .hero-form-wrapper.wrap-form {
1579    width: ${({$isLeftAligned:e})=>e?"100%":"calc(90% + 3vw)"};
1580    ${({theme:e})=>e.breakpoints.down("md")} {
1581      width: 100%;
1582    }
1583  }
1584
1585  & > .hero-form-wrapper:not(.wrap-form),
1586  & > .hero-form-wrapper.wrap-form {
1587    margin-left: auto;
1588    margin-right: auto;
1589    ${({$isLeftAligned:e})=>e&&"margin-left: 0;"}
1590    ${({theme:e})=>e.breakpoints.down("sm")} {
1591      width: 100%;
1592      margin-left: auto;
1593      margin-right: auto;
1594    }
1595  }
1596
1597  ${({theme:e})=>e.breakpoints.down("sm")} {
1598    background: transparent;
1599    width: 100%;
1600    padding: 0;
1601    display: grid;
1602    grid-template-columns: 1fr;
1603    row-gap: 1.3vw;
1604    margin-left: auto;
1605    margin-right: auto;
1606  }
1607`,bh=(0,sW.styled)("div",{label:"Form",...sZ.transientOptions})`
1608  width: 100%;
1609  margin: auto;
1610
1611  &.wrap-form {
1612    .hero-form-fields {
1613      position: relative;
1614      background: var(--color-bg);
1615      padding: 1.5vw;
1616      margin-bottom: 1.5vw;
1617    }
1618
1619    ${e=>(e.$layoutType===sk.HERO_LAYOUT_TYPE.NO_IMAGE||e.$layoutType===sk.HERO_LAYOUT_TYPE.BACKGROUND_IMAGE)&&`
1620        .hero-form-fields {
1621          margin-left: auto;
1622          margin-right: auto;
1623          width: 70%;
1624        }
1625      `}
1626  }
1627
1628  .hero-form-fields {
1629    margin-left: auto;
1630    margin-right: auto;
1631    background: transparent;
1632
1633    margin-bottom: 1.5vw;
1634
1635    .checkbox-field {
1636      margin: 0.15em 0;
1637    }
1638
1639    button:not([role='checkbox']) {
1640      margin-top: 0;
1641      height: 100%;
1642      ${({theme:e})=>e.breakpoints.down("sm")} {
1643        width: 100%;
1644      }
1645    }
1646
1647    ${({theme:e})=>e.breakpoints.down("sm")} {
1648      background: transparent;
1649      width: 100%;
1650      margin-bottom: 4vw;
1651      padding: 0;
1652      display: grid;
1653      grid-template-columns: 1fr;
1654      row-gap: 1.3vw;
1655      margin-left: auto;
1656      margin-right: auto;
1657
1658      input,
1659      button:not([role='checkbox']) {
1660        width: 100%;
1661        /* One shared height floor, set a hair above the input's natural
1662           height (pt 0.85em + 1.4lh + pb 0.3em ≈ 2.55 × body-md): both
1663           boxes clamp to it, so the stacked submit matches the fields on
1664           phones. (On desktop the match comes from sharing a grid row —
1665           see FormFields' h-full chain — but the mobile 1-column grid
1666           gives the button its own row with nothing to stretch into.) */
1667        min-height: calc(2.6 * var(--tw-font-size-body-md));
1668      }
1669    }
1670
1671    ${e=>(e.$layoutType===sk.HERO_LAYOUT_TYPE.NO_IMAGE||e.$layoutType===sk.HERO_LAYOUT_TYPE.BACKGROUND_IMAGE)&&`
1672      width: 70%;
1673
1674      ${e.theme.breakpoints.up("sm")} {
1675        & ~ .hero-disclaimer {
1676          width: 70%;
1677          justify-content: center;
1678        }
1679      }
1680    `}
1681  }
1682`,bg=({block:e,blockData:t})=>{let a,n,{site:r}=(0,ln.useSite)(),{palette:o}=(0,sO.useSiteColorPalette)(),i=t.formId,s=(0,b.useContext)(vu),{data:l}=s2.trpc.form.byId.useQuery({id:i},{enabled:!s&&!!i&&!!r?.id}),d=s??l,c=(0,sE.useTheme)(),u=(0,gP.useHintedMediaQuery)(c.breakpoints.down("sm"),gP.isMobileHint),p=t.layoutType!==sk.HERO_LAYOUT_TYPE.NO_IMAGE&&t.layoutType!==sk.HERO_LAYOUT_TYPE.BACKGROUND_IMAGE,m=(0,b.useMemo)(()=>["bg0","bg1","bg2","bg3","bg4"].includes(t?.formBarColor)?t?.formBarColor:o?.[t.bgColor][sP.CssVarMap.get(t?.formBarColor)],[t,o,u]),g=(0,b.useMemo)(()=>["bg0","bg1","bg2","bg3","bg4"].includes(t?.formFieldColor)?t?.formFieldColor:o?.[t?.wrapForm&&!u?m:t.bgColor][sP.CssVarMap.get(t?.formFieldColor||"form-field-background")],[t,o,u,m]),f=t?.wrapForm&&!u?m:t.bgColor;a=["bg0","bg1","bg2","bg3","bg4"].includes(t.buttonColor)?t.buttonColor:o?.[f]?.[sP.CssVarMap.get(t.buttonColor)],n=["bg0","bg1","bg2","bg3","bg4"].includes(t.buttonHoverColor)?t.buttonHoverColor:o?.[f]?.[sP.CssVarMap.get("button-background-hover")],(0,b.useMemo)(()=>["bg0","bg1","bg2","bg3","bg4"].includes(t?.buttonColor)?t?.buttonColor:o?.[t?.wrapForm&&!u?m:t.bgColor][sP.CssVarMap.get(t?.buttonColor||"button-background")],[t,o,u,m]);let v=["bg0","bg1","bg2","bg3","bg4"].includes(t.formFieldActiveColor)?t.formFieldActiveColor:void 0,y=d?.FormField?.filter(e=>"optInDisclaimer"!==e.type).length;return(0,h.jsx)(bm,{$isLeftAligned:p&&"content-left"===t.alignContent,children:(0,h.jsx)(bh,{className:`${t.wrapForm&&!u?"wrap-form":""} hero-form-wrapper`,$bgColor:t.bgColor,$layoutType:t.layoutType,$formFieldColor:g,$formBarColor:m,$flipLayout:"flipped"===t.adjustLayout,$numFields:y,$smallFormGap:t.smallFormGap,children:d&&(0,h.jsx)(vo,{site:r,block:e,blockData:t,formConfig:d,variant:"contained",separateOptInDisclaimer:!0,isHeroDisclaimer:!0,disclaimerClass:"hero-disclaimer",formWrapperBgColor:m,formFieldBgColor:g,formFieldActiveBgColor:v,buttonBgColor:a,buttonHoverBgColor:n,hasButtonBorder:!1,disclaimerCheckboxColor:t.disclaimerCheckboxColor})})})};var bf=e.i(6141),bv=e.i(47107),bb=e.i(686),by=e.i(64899),bx=e.i(93427),bS=e.i(98657),bw=e.i(495
168277),bC="NavigationMenu",[bT,b$,bE]=(0,dD.createCollection)(bC),[bI,bN,b_]=(0,dD.createCollection)(bC),[bk,bM]=(0,dL.createContextScope)(bC,[bE,b_]),[bA,bR]=bk(bC),[bO,bB]=bk(bC),bP=b.forwardRef((e,t)=>{let{__scopeNavigationMenu:a,value:n,onValueChange:r,defaultValue:o,delayDuration:i=200,skipDelayDuration:s=300,orientation:l="horizontal",dir:d,...c}=e,[u,p]=b.useState(null),m=(0,dj.useComposedRefs)(t,e=>p(e)),g=(0,d5.useDirection)(d),f=b.useRef(0),v=b.useRef(0),y=b.useRef(0),[x,S]=b.useState(!0),[w,C]=(0,dF.useControllableState)({prop:n,onChange:e=>{let t=s>0;""!==e?(window.clearTimeout(y.current),t&&S(!1)):(window.clearTimeout(y.current),y.current=window.setTimeout(()=>S(!0),s)),r?.(e)},defaultProp:o??"",caller:bC}),T=b.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>C(""),150)},[C]),$=b.useCallback(e=>{window.clearTimeout(v.current),C(e)},[C]),E=b.useCallback(e=>{w===e?window.clearTimeout(v.current):f.current=window.setTimeout(()=>{window.clearTimeout(v.current),C(e)},i)},[w,C,i]);return b.useEffect(()=>()=>{window.clearTimeout(f.current),window.clearTimeout(v.current),window.clearTimeout(y.current)},[]),(0,h.jsx)(bD,{scope:a,isRootMenu:!0,value:w,dir:g,orientation:l,rootNavigationMenu:u,onTriggerEnter:e=>{window.clearTimeout(f.current),x?E(e):$(e)},onTriggerLeave:()=>{window.clearTimeout(f.current),T()},onContentEnter:()=>window.clearTimeout(v.current),onContentLeave:T,onItemSelect:e=>{C(t=>t===e?"":e)},onItemDismiss:()=>C(""),children:(0,h.jsx)(dH.Primitive.nav,{"aria-label":"Main","data-orientation":l,dir:g,...c,ref:m})})});bP.displayName=bC;var bL="NavigationMenuSub";b.forwardRef((e,t)=>{let{__scopeNavigationMenu:a,value:n,onValueChange:r,defaultValue:o,orientation:i="horizontal",...s}=e,l=bR(bL,a),[d,c]=(0,dF.useControllableState)({prop:n,onChange:r,defaultProp:o??"",caller:bL});return(0,h.jsx)(bD,{scope:a,isRootMenu:!1,value:d,dir:l.dir,orientation:i,rootNavigationMenu:l.rootNavigationMenu,onTriggerEnter:e=>c(e),onItemSelect:e=>c(e),onItemDismiss:()=>c(""),children:(0,h.jsx)(dH.Primitive.div,{"data-orientation":i,...s,ref:t})})}).displayName=bL;var bD=e=>{let{scope:t,isRootMenu:a,rootNavigationMenu:n,dir:r,orientation:o,children:i,value:s,onItemSelect:l,onItemDismiss:d,onTriggerEnter:c,onTriggerLeave:u,onContentEnter:p,onContentLeave:m}=e,[g,f]=b.useState(null),[v,y]=b.useState(new Map),[x,S]=b.useState(null);return(0,h.jsx)(bA,{scope:t,isRootMenu:a,rootNavigationMenu:n,value:s,previousValue:(0,bx.usePrevious)(s),baseId:(0,dz.useId)(),dir:r,orientation:o,viewport:g,onViewportChange:f,indicatorTrack:x,onIndicatorTrackChange:S,onTriggerEnter:(0,bS.useCallbackRef)(c),onTriggerLeave:(0,bS.useCallbackRef)(u),onContentEnter:(0,bS.useCallbackRef)(p),onContentLeave:(0,bS.useCallbackRef)(m),onItemSelect:(0,bS.useCallbackRef)(l),onItemDismiss:(0,bS.useCallbackRef)(d),onViewportContentChange:b.useCallback((e,t)=>{y(a=>(a.set(e,t),new Map(a)))},[]),onViewportContentRemove:b.useCallback(e=>{y(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,h.jsx)(bT.Provider,{scope:t,children:(0,h.jsx)(bO,{scope:t,items:v,children:i})})})},bj="NavigationMenuList",bG=b.forwardRef((e,t)=>{let{__scopeNavigationMenu:a,...n}=e,r=bR(bj,a),o=(0,h.jsx)(dH.Primitive.ul,{"data-orientation":r.orientation,...n,ref:t});return(0,h.jsx)(dH.Primitive.div,{style:{position:"relative"},ref:r.onIndicatorTrackChange,children:(0,h.jsx)(bT.Slot,{scope:a,children:r.isRootMenu?(0,h.jsx)(b6,{asChild:!0,children:o}):o})})});bG.displayName=bj;var bF="NavigationMenuItem",[bH,bU]=bk(bF),bK=b.forwardRef((e,t)=>{let{__scopeNavigationMenu:a,value:n,...r}=e,o=(0,dz.useId)(),i=b.useRef(null),s=b.useRef(null),l=b.useRef(null),d=b.useRef(()=>{}),c=b.useRef(!1),u=b.useCallback((e="start")=>{if(i.current){d.current();let t=b7(i.current);t.length&&ye("start"===e?t:t.reverse())}},[]),p=b.useCallback(()=>{if(i.current){var e;let t=b7(i.current);t.length&&((e=t).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),d.current=()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,h.jsx)(bH,{scope:a,value:n||o||"LEGACY_REACT_AUTO_VALUE",triggerRef:s,contentRef:i,focusProxyRef:l,wasEscapeCloseRef:c,onEntryKeyDown:u,onFocusProxyEnter:u,onRootContentClose:p,onContentFocusOutside:p,children:(0,h.jsx)(dH.Primitive.li,{...r,ref:t})})});bK.displayName=bF;var bz="NavigationMenuTrigger",bV=b.forwardRef((e,t)=>
1682{let{__scopeNavigationMenu:a,disabled:n,...r}=e,o=bR(bz,e.__scopeNavigationMenu),i=bU(bz,e.__scopeNavigationMenu),s=b.useRef(null),l=(0,dj.useComposedRefs)(s,i.triggerRef,t),d=yn(o.baseId,i.value),c=yr(o.baseId,i.value),u=b.useRef(!1),p=b.useRef(!1),m=i.value===o.value;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(bT.ItemSlot,{scope:a,value:i.value,children:(0,h.jsx)(b9,{asChild:!0,children:(0,h.jsx)(dH.Primitive.button,{id:d,disabled:n,"data-disabled":n?"":void 0,"data-state":ya(m),"aria-expanded":m,"aria-controls":c,...r,ref:l,onPointerEnter:(0,dG.composeEventHandlers)(e.onPointerEnter,()=>{p.current=!1,i.wasEscapeCloseRef.current=!1}),onPointerMove:(0,dG.composeEventHandlers)(e.onPointerMove,yo(()=>{n||p.current||i.wasEscapeCloseRef.current||u.current||(o.onTriggerEnter(i.value),u.current=!0)})),onPointerLeave:(0,dG.composeEventHandlers)(e.onPointerLeave,yo(()=>{n||(o.onTriggerLeave(),u.current=!1)})),onClick:(0,dG.composeEventHandlers)(e.onClick,()=>{o.onItemSelect(i.value),p.current=m}),onKeyDown:(0,dG.composeEventHandlers)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===o.dir?"ArrowLeft":"ArrowRight"}[o.orientation];m&&e.key===t&&(i.onEntryKeyDown(),e.preventDefault())})})})}),m&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(bw.Root,{"aria-hidden":!0,tabIndex:0,ref:i.focusProxyRef,onFocus:e=>{let t=i.contentRef.current,a=e.relatedTarget,n=a===s.current,r=t?.contains(a);(n||!r)&&i.onFocusProxyEnter(n?"start":"end")}}),o.viewport&&(0,h.jsx)("span",{"aria-owns":c})]})]})});bV.displayName=bz;var bW="navigationMenu.linkSelect",bZ=b.forwardRef((e,t)=>{let{__scopeNavigationMenu:a,active:n,onSelect:r,...o}=e;return(0,h.jsx)(b9,{asChild:!0,children:(0,h.jsx)(dH.Primitive.a,{"data-active":n?"":void 0,"aria-current":n?"page":void 0,...o,ref:t,onClick:(0,dG.composeEventHandlers)(e.onClick,e=>{let t=e.target,a=new CustomEvent(bW,{bubbles:!0,cancelable:!0});if(t.addEventListener(bW,e=>r?.(e),{once:!0}),(0,dH.dispatchDiscreteCustomEvent)(t,a),!a.defaultPrevented&&!e.metaKey){let e=new CustomEvent(b1,{bubbles:!0,cancelable:!0});(0,dH.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})});bZ.displayName="NavigationMenuLink";var bY="NavigationMenuIndicator",bJ=b.forwardRef((e,t)=>{let{forceMount:a,...n}=e,r=bR(bY,e.__scopeNavigationMenu),o=!!r.value;return r.indicatorTrack?vy.default.createPortal((0,h.jsx)(dK.Presence,{present:a||o,children:(0,h.jsx)(bq,{...n,ref:t})}),r.indicatorTrack):null});bJ.displayName=bY;var bq=b.forwardRef((e,t)=>{let{__scopeNavigationMenu:a,...n}=e,r=bR(bY,a),o=b$(a),[i,s]=b.useState(null),[l,d]=b.useState(null),c="horizontal"===r.orientation,u=!!r.value;b.useEffect(()=>{let e=o(),t=e.find(e=>e.value===r.value)?.ref.current;t&&s(t)},[o,r.value]);let p=()=>{i&&d({size:c?i.offsetWidth:i.offsetHeight,offset:c?i.offsetLeft:i.offsetTop})};return yt(i,p),yt(r.indicatorTrack,p),l?(0,h.jsx)(dH.Primitive.div,{"aria-hidden":!0,"data-state":u?"visible":"hidden","data-orientation":r.orientation,...n,ref:t,style:{position:"absolute",...c?{left:0,width:l.size+"px",transform:`translateX(${l.offset}px)`}:{top:0,height:l.size+"px",transform:`translateY(${l.offset}px)`},...n.style}}):null}),bX="NavigationMenuContent",bQ=b.forwardRef((e,t)=>{let{forceMount:a,...n}=e,r=bR(bX,e.__scopeNavigationMenu),o=bU(bX,e.__scopeNavigationMenu),i=(0,dj.useComposedRefs)(o.contentRef,t),s=o.value===r.value,l={value:o.value,triggerRef:o.triggerRef,focusProxyRef:o.focusProxyRef,wasEscapeCloseRef:o.wasEscapeCloseRef,onContentFocusOutside:o.onContentFocusOutside,onRootContentClose:o.onRootContentClose,...n};return r.viewport?(0,h.jsx)(b0,{forceMount:a,...l,ref:i}):(0,h.jsx)(dK.Presence,{present:a||s,children:(0,h.jsx)(b2,{"data-state":ya(s),...l,ref:i,onPointerEnter:(0,dG.composeEventHandlers)(e.onPointerEnter,r.onContentEnter),onPointerLeave:(0,dG.composeEventHandlers)(e.onPointerLeave,yo(r.onContentLeave)),style:{pointerEvents:!s&&r.isRootMenu?"none":void 0,...l.style}})})});bQ.displayName=bX;var b0=b.forwardRef((e,t)=>{let{onViewportContentChange:a,onViewportContentRemove:n}=bR(bX,e.__scopeNavigationMenu);return(0,dU.useLayoutEffect)(()=>{a(e.value,{ref:t,...e})},[e,t,a]),(0,dU.useLayoutEffect)(()=>()=>n(e.value),[e.value,n]),null}
1682),b1="navigationMenu.rootContentDismiss",b2=b.forwardRef((e,t)=>{let{__scopeNavigationMenu:a,value:n,triggerRef:r,focusProxyRef:o,wasEscapeCloseRef:i,onRootContentClose:s,onContentFocusOutside:l,...d}=e,c=bR(bX,a),u=b.useRef(null),p=(0,dj.useComposedRefs)(u,t),m=yn(c.baseId,n),g=yr(c.baseId,n),f=b$(a),v=b.useRef(null),{onItemDismiss:y}=c;b.useEffect(()=>{let e=u.current;if(c.isRootMenu&&e){let t=()=>{y(),s(),e.contains(document.activeElement)&&r.current?.focus()};return e.addEventListener(b1,t),()=>e.removeEventListener(b1,t)}},[c.isRootMenu,e.value,r,y,s]);let x=b.useMemo(()=>{let e=f().map(e=>e.value);"rtl"===c.dir&&e.reverse();let t=e.indexOf(c.value),a=e.indexOf(c.previousValue),r=n===c.value,o=a===e.indexOf(n);if(!r&&!o)return v.current;let i=(()=>{if(t!==a){if(r&&-1!==a)return t>a?"from-end":"from-start";if(o&&-1!==t)return t>a?"to-start":"to-end"}return null})();return v.current=i,i},[c.previousValue,c.value,c.dir,f,n]);return(0,h.jsx)(b6,{asChild:!0,children:(0,h.jsx)(by.DismissableLayer,{id:g,"aria-labelledby":m,"data-motion":x,"data-orientation":c.orientation,...d,ref:p,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(b1,{bubbles:!0,cancelable:!0});u.current?.dispatchEvent(e)},onFocusOutside:(0,dG.composeEventHandlers)(e.onFocusOutside,e=>{l();let t=e.target;c.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,dG.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,a=f().some(e=>e.ref.current?.contains(t)),n=c.isRootMenu&&c.viewport?.contains(t);(a||n||!c.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,dG.composeEventHandlers)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=b7(e.currentTarget),a=document.activeElement,n=t.findIndex(e=>e===a);ye(e.shiftKey?t.slice(0,n).reverse():t.slice(n+1,t.length))?e.preventDefault():o.current?.focus()}}),onEscapeKeyDown:(0,dG.composeEventHandlers)(e.onEscapeKeyDown,e=>{i.current=!0})})})}),b3="NavigationMenuViewport",b5=b.forwardRef((e,t)=>{let{forceMount:a,...n}=e,r=!!bR(b3,e.__scopeNavigationMenu).value;return(0,h.jsx)(dK.Presence,{present:a||r,children:(0,h.jsx)(b4,{...n,ref:t})})});b5.displayName=b3;var b4=b.forwardRef((e,t)=>{let{__scopeNavigationMenu:a,children:n,...r}=e,o=bR(b3,a),i=(0,dj.useComposedRefs)(t,o.onViewportChange),s=bB(bX,e.__scopeNavigationMenu),[l,d]=b.useState(null),[c,u]=b.useState(null),p=l?l?.width+"px":void 0,m=l?l?.height+"px":void 0,g=!!o.value,f=g?o.value:o.previousValue;return yt(c,()=>{c&&d({width:c.offsetWidth,height:c.offsetHeight})}),(0,h.jsx)(dH.Primitive.div,{"data-state":ya(g),"data-orientation":o.orientation,...r,ref:i,style:{pointerEvents:!g&&o.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":p,"--radix-navigation-menu-viewport-height":m,...r.style},onPointerEnter:(0,dG.composeEventHandlers)(e.onPointerEnter,o.onContentEnter),onPointerLeave:(0,dG.composeEventHandlers)(e.onPointerLeave,yo(o.onContentLeave)),children:Array.from(s.items).map(([e,{ref:t,forceMount:a,...n}])=>{let r=f===e;return(0,h.jsx)(dK.Presence,{present:a||r,children:(0,h.jsx)(b2,{...n,ref:(0,dj.composeRefs)(t,e=>{r&&e&&u(e)})})},e)})})}),b6=b.forwardRef((e,t)=>{let{__scopeNavigationMenu:a,...n}=e,r=bR("FocusGroup",a);return(0,h.jsx)(bI.Provider,{scope:a,children:(0,h.jsx)(bI.Slot,{scope:a,children:(0,h.jsx)(dH.Primitive.div,{dir:r.dir,...n,ref:t})})})}),b8=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],b9=b.forwardRef((e,t)=>{let{__scopeNavigationMenu:a,...n}=e,r=bN(a),o=bR("FocusGroupItem",a);return(0,h.jsx)(bI.ItemSlot,{scope:a,children:(0,h.jsx)(dH.Primitive.button,{...n,ref:t,onKeyDown:(0,dG.composeEventHandlers)(e.onKeyDown,e=>{if(["Home","End",...b8].includes(e.key)){let t=r().map(e=>e.ref.current);if(["rtl"===o.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),b8.includes(e.key)){let a=t.indexOf(e.currentTarget);t=t.slice(a+1)}setTimeout(()=>ye(t)),e.preventDefault()}})})})});function b7(e){let t=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)t.push(a.currentNode);return t}function ye(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function yt(e,t){let a=(0,bS.useCallbackRef)(t);(0,dU.useLayoutEffect)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(a)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,a])}function ya(e){return e?"open":"closed"}function yn(e,t){return`${e}-trigger-${t}`}function yr(e,t){return`${e}-content-${t}`}function yo(e){return t=>
1682"mouse"===t.pointerType?e(t):void 0}let yi=(0,gY.cva)("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion^=from-]:slide-in-from-left-52 data-[motion^=to-]:slide-out-to-left-52 left-0 top-0 absolute w-auto max-md:static max-md:w-full",{variants:{},defaultVariants:{}}),ys=b.forwardRef(({className:e,children:t,viewport:a=!0,...n},r)=>(0,h.jsxs)(bP,{ref:r,"data-viewport":a,delayDuration:0,className:(0,sG.cn)("group/navigation-menu relative z-10 flex max-w-max flex-1 items-center justify-center",e),...n,children:[t,a&&(0,h.jsx)(yp,{})]}));ys.displayName=bP.displayName;let yl=b.forwardRef(({className:e,...t},a)=>(0,h.jsx)(bG,{ref:a,className:(0,sG.cn)("group/list flex flex-1 list-none items-center justify-center space-x-1",e),...t}));yl.displayName=bG.displayName;let yd=(0,gY.cva)("parent-navigation-item inline-flex w-max items-center justify-center transition-all duration-300 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-2 focus-visible:outline-dotted focus-visible:outline-current focus-visible:outline-offset-[-2px] focus-visible:outline-[var(--color-text)]"),yc=b.forwardRef(({className:e,children:t,...a},n)=>(0,h.jsx)(bV,{ref:n,className:(0,sG.cn)(yd(),"group",e),...a,children:t}));yc.displayName=bV.displayName;let yu=b.forwardRef(({className:e,...t},a)=>(0,h.jsx)(bQ,{ref:a,className:(0,sG.cn)("absolute left-0 top-0 w-auto cursor-pointer max-md:static max-md:w-full","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in data-[state=open]:slide-in-from-left-4 data-[state=closed]:slide-out-to-left-4","data-[state=open]:duration-150","group-data-[viewport=false]/navigation-menu:top-[115%]","group-data-[viewport=false]/navigation-menu:mt-1.5","group-data-[viewport=false]/navigation-menu:overflow-hidden",e),...t}));yu.displayName=bQ.displayName;let yp=b.forwardRef(({className:e,...t},a)=>(0,h.jsx)("div",{className:(0,sG.cn)("absolute top-[125%] flex justify-center"),children:(0,h.jsx)(b5,{className:(0,sG.cn)("origin-top-center text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] overflow-hidden max-md:w-full",e),ref:a,...t})}));yp.displayName=b5.displayName,b.forwardRef(({className:e,...t},a)=>(0,h.jsx)(bJ,{ref:a,className:(0,sG.cn)("data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden",e),...t,children:(0,h.jsx)("div",{className:"bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md"})})).displayName=bJ.displayName;var lJ=lJ,ym=e.i(50667);let yh=({featuredPage:e,handleLinkClick:t,blockData:a,blockId:n,homeHeroBlockId:r,bgColor:o,palette:i,createUrl:s,isMobile:l,isDesktop:d})=>{let{theme:c}=(0,sB.useSiteTheme)(),[u,p]=(0,b.useState)(!1),m=a.overrideNavSettings?n:r,g=(0,sI.default)(e.url)?`/${e.slug}`:`${e.url}`,f="",v="",x="",S="",w=["bg0","bg1","bg2","bg3","bg4"].includes(a.featuredHoverColor)?a.featuredHoverColor:void 0;if(["bg0","bg1","bg2","bg3","bg4"].includes(a.featuredColor)){let e=a.featuredColor,t=w??i?.[o]?.[sP.CssVarMap.get("button-background-hover")];f=`var(--color-${e})`,v=`var(--color-${t})`,x=`var(--color-${e}-text)`,S=`var(--color-${t}-text)`}else f="var(--color-button-background)",v=w?`var(--color-${w})`:"var(--color-button-background-hover)",x="var(--color-button-text)",S=w?`var(--color-${w}-text)`:"var(--color-button-text-hover)";let C=d?{fontSize:`calc((var(--slider-featured-button-size-${m}, 0) * 0.0125vw + 1.2vw) * var(--button-font-size-multiplier))`,transform:u?"scale(1.05)":"scale(1)",transition:"background-color 0.15s ease, color 0.15s ease, transform 0.15s ease",color:u?S:x,backgroundColor:u?v:f}:{color:u?S:x,backgroundColor:u?v:f},{as:T,isExternal:$}=s({url:g}),E=(0,sG.cn)("font-button h-auto no-underline whitespace-nowrap border-none px-[1em] py-[0.6em] font-bold uppercase tracking-[0.1em] focus-visible:outline-dotted focus-visible:outline-2 focus-visible:outline-offset-[-5px] focus-visible:outline-current origin-top-right",{"ml-auto mr-auto":!0,"text-[calc(5vw*var(--button-font-size-multiplier))]":l,"rounded-none":c?.corners===sD.THEME_CORNERS.NONE,"rounded-[0.2em]":c?.corners===sD.THEME_CORNERS.ROUNDED,"rounded-bl-[0.2em] rounded-br-none rounded-tl-none rounded-tr-[0.2em]":c?.corners===sD.THEME_CORNERS.HALF_ROUNDED}),I=$||"true"===y.default.env.NEXT_PUBLIC_IS_CMS?"_blank":void 0;return(0,h.jsx)("a",{href:T,target:I,rel:$?"noopener noreferrer":void 0,onClick:$?void 0:a=>t(a,g,e.isHidden??!1),className:E,style:C,onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),children:e?.title})};var yg=e.i(93525),yf=e.i(9678);let yv=({className:e,blockData:t,navButtonColor:a,languageMenuColor:n})=>{let{site:r,SiteContent:o}=(0,ln.useSite)(),{navigate:i,activePage:s,activePost:l,queryParams:d}=(0,sb.useNavigation)(),{primarySiteFontBody:c}=(0,ly.usePrimarySiteFonts)(),u=c?{fontFamily:`"${c}", system-ui`}:void 0,{variants:p,hasVariants:m}=(0,bf.useLanguageVariants)(),g=(0,sE.useTheme)(),f=(0,sR.useMediaQuery)(g.breakpoints.down(sA.default.breakpoints.values.sm));if(!m)return null;let v=e=>e?(0,yf.getLanguageNameInLocale)(e,e,"code",{style:"simple"}):"English";return(0,h.jsx)("div",{className:"text-[0.9vw] max-lg:text-base",children:(0,h.jsx)("div",{className:(0,sG.cn)("language-switcher-menu",e),children:(0,h.jsx)(ys,{viewport:!1,children:(0,h.jsx)(yl,{children:(0,h.jsxs)(bK,{className:"group/item relative flex flex-col items-end",children:[(0,h.jsxs)(yc,{"aria-haspopup":"true",className:(0,sG.cn)(yd(),"font-body border-none bg-transparent text-[var(--color-text)] no-underline","translate-y-0 hover:translate-y-0",f?t?.languageMenuColorMobile?`text-[var(--color-${t.languageMenuColorMobile})]`:"":n?`text-[var(--${n})]`:""),"aria-label":o?.uiCopy?.languageSwitcher?.selectLanguageAriaLabel||"Select language",children:[v(r?.languageCode),(0,h.jsx)(cT.ChevronDown,{className:"relative top-0 ml-[0.25em] h-[1.25em] w-[1.25em] transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}),(0,h.jsx)(yu,{className:(0,sG.cn)(yi(),"left-auto right-0 shadow-xl"),children:(0,h.jsx)("ul",{className:"list-none rounded-none border-none outline-none",children:p.map(e=>(0,h.jsx)("li",{className:(0,sG.cn)("group/item relative block whitespace-nowrap first:pt-2 last:pb-2",a&&`color-${a} bg-[var(--color-bg)]`),children:(0,h.jsx)(bZ,{asChild:!0,className:(0,sG.cn)("block px-4 py-1 font-normal text-[var(--color-text)] no-underline hover:text-[var(--color-text)] hover:underline focus-visible:outline-dotted focus-visible:outline-2 focus-visible:outline-offset-[-5px] focus-visible:outline-current"),children:(0,h.jsx)(sj.Button,{asChild:!0,variant:"link",className:"w-full text-[length:inherit] tracking-normal",children:(0,h.jsx)("a",{href:(e=>{let t=window.location.pathname,a=window.location.protocol,n=e.domain||window.location.host,r=t.split("/"),o=r[1]||"",i=yg.RESERVED_LANGUAGE_CODES.includes(o),s=t;if(e.languageCode)if(i)r[1]=e.languageCode,s=r.join("/");else{let a=t.replace(/^\/+/,"");s=`/${e.languageCode}/${a}`}else if(i){let e=r.slice(2).join("/");"/"==(s=`/${e}`)&&(s="/")}else s=t;return`${a}//${n}${s}${window.location.search}${window.location.hash}`})(e),onClick:t=>{"u">typeof document&&function(e){try{let t="https:"===window.location.protocol?"; Secure":"";document.cookie=`run_lang=${encodeURIComponent(e)}; Path=/; Max-Age=31536000; SameSite=Lax${t}`}catch(e){console.error("Language switcher: failed to set run_lang cookie",e)}}(e.languageCode||"en"),window.parent!==window&&(t.preventDefault(),i({siteId:e.id,pageId:s?.id,postId:l?.id,queryParams:d}))},style:u,children:v(e.languageCode)})})})},e.id))})})]})})})})})};var yb=e.i(35598);let yy=b.default.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{}
1682,openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldAnimate:{current:!0},shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),yx=()=>{let e=b.default.useContext(yy);if(!e)throw Error("useDrawerContext must be used within a Drawer.Root");return e};function yS(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function yw(){return yC(/^iPhone/)||yC(/^iPad/)||yC(/^Mac/)&&navigator.maxTouchPoints>1}function yC(e){return"u">typeof window&&null!=window.navigator?e.test(window.navigator.platform):void 0}!function(e){if(!e||"u"<typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}("[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(\n[data-state=closed]\n){opacity:0}
1682[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}");let yT="u">typeof window?b.useLayoutEffect:b.useEffect;function y$(...e){return(...t)=>{for(let a of e)"function"==typeof a&&a(...t)}}let yE="u">typeof document&&window.visualViewport;function yI(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function yN(e){for(yI(e)&&(e=e.parentElement);e&&!yI(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}let y_=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),yk=0;function yM(e,t,a,n){return e.addEventListener(t,a,n),()=>{e.removeEventListener(t,a,n)}}function yA(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let t=yN(e);if(t!==document.documentElement&&t!==document.body&&t!==e){let a=t.getBoundingClientRect().top,n=e.getBoundingClientRect().top;e.getBoundingClientRect().bottom>t.getBoundingClientRect().bottom+24&&(t.scrollTop+=n-a)}e=t.parentElement}}function yR(e){return e instanceof HTMLInputElement&&!y_.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function yO(...e){return b.useCallback(function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(...e),e)}let yB=new WeakMap;function yP(e,t,a=!1){if(!e||!(e instanceof HTMLElement))return;let n={};Object.entries(t).forEach(([t,a])=>{t.startsWith("--")?e.style.setProperty(t,a):(n[t]=e.style[t],e.style[t]=a)}),a||yB.set(e,n)}let yL=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function yD(e,t){if(!e)return null;let a=window.getComputedStyle(e),n=a.transform||a.webkitTransform||a.mozTransform,r=n.match(/^matrix3d\((.+)\)$/);return r?parseFloat(r[1].split(", ")[yL(t)?13:12]):(r=n.match(/^matrix\((.+)\)$/))?parseFloat(r[1].split(", ")[yL(t)?5:4]):null}function yj(e,t){if(!e)return()=>{};let a=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=a}}let yG=[.32,.72,0,1],yF="vaul-dragging";function yH(e){let t=b.default.useRef(e);return b.default.useEffect(()=>{t.current=e}),b.default.useMemo(()=>(...e)=>null==t.current?void 0:t.current.call(t,...e),[])}function yU({prop:e,defaultProp:t,onChange:a=()=>{}}){let[n,r]=function({defaultProp:e,onChange:t}){let a=b.default.useState(e),[n]=a,r=b.default.useRef(n),o=yH(t);return b.default.useEffect(()=>{r.current!==n&&(o(n),r.current=n)},[n,r,o]),a}({defaultProp:t,onChange:a}),o=void 0!==e,i=o?e:n,s=yH(a);return[i,b.default.useCallback(t=>{if(o){let a="function"==typeof t?t(e):t;a!==e&&s(a)}else r(t)},[o,e,r,s])]}let yK=()=>()=>{},yz=null;function yV({open:e,onOpenChange:a,children:n,onDrag:r,onRelease:o,snapPoints:i,shouldScaleBackgroun
1682d:s=!1,setBackgroundColorOnScale:l=!0,closeThreshold:d=.25,scrollLockTimeout:c=100,dismissible:u=!0,handleOnly:p=!1,fadeFromIndex:m=i&&i.length-1,activeSnapPoint:h,setActiveSnapPoint:g,fixed:f,modal:v=!0,onClose:y,nested:x,noBodyStyles:S=!1,direction:w="bottom",defaultOpen:C=!1,disablePreventScroll:T=!0,snapToSequentialPoint:$=!1,preventScrollRestoration:E=!1,repositionInputs:I=!0,onAnimationEnd:N,container:_,autoFocus:k=!1}){var M,A;let[R=!1,O]=yU({defaultProp:C,prop:e,onChange:e=>{null==a||a(e),e||x||eu(),setTimeout(()=>{null==N||N(e)},500),e&&!v&&"u">typeof window&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"}),e||(document.body.style.pointerEvents="auto")}}),[B,P]=b.default.useState(!1),[L,D]=b.default.useState(!1),[j,G]=b.default.useState(!1),F=b.default.useRef(null),H=b.default.useRef(null),U=b.default.useRef(null),K=b.default.useRef(null),z=b.default.useRef(null),V=b.default.useRef(!1),W=b.default.useRef(null),Z=b.default.useRef(0),Y=b.default.useRef(!1),J=b.default.useRef(!C),q=b.default.useRef(0),X=b.default.useRef(null),Q=b.default.useRef((null==(M=X.current)?void 0:M.getBoundingClientRect().height)||0),ee=b.default.useRef((null==(A=X.current)?void 0:A.getBoundingClientRect().width)||0),et=b.default.useRef(0),ea=b.default.useCallback(e=>{i&&e===es.length-1&&(H.current=new Date)},[]),{activeSnapPoint:en,activeSnapPointIndex:er,setActiveSnapPoint:eo,onRelease:ei,snapPointsOffset:es,onDrag:el,shouldFade:ed,getPercentageDragged:ec}=function({activeSnapPointProp:e,setActiveSnapPointProp:t,snapPoints:a,drawerRef:n,overlayRef:r,fadeFromIndex:o,onSnapPointChange:i,direction:s="bottom",container:l,snapToSequentialPoint:d}){let[c,u]=yU({prop:e,defaultProp:null==a?void 0:a[0],onChange:t}),[p,m]=b.default.useState("u">typeof window?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);b.default.useEffect(()=>{function e(){m({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let h=b.default.useMemo(()=>c===(null==a?void 0:a[a.length-1])||null,[a,c]),g=b.default.useMemo(()=>{var e;return null!=(e=null==a?void 0:a.findIndex(e=>e===c))?e:null},[a,c]),f=a&&a.length>0&&(o||0===o)&&!Number.isNaN(o)&&a[o]===c||!a,v=b.default.useMemo(()=>{var e;let t=l?{width:l.getBoundingClientRect().width,height:l.getBoundingClientRect().height}:"u">typeof window?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};return null!=(e=null==a?void 0:a.map(e=>{let a="string"==typeof e,n=0;if(a&&(n=parseInt(e,10)),yL(s)){let r=a?n:p?e*t.height:0;return p?"bottom"===s?t.height-r:-t.height+r:r}let r=a?n:p?e*t.width:0;return p?"right"===s?t.width-r:-t.width+r:r}))?e:[]},[a,p,l]),y=b.default.useMemo(()=>null!==g?null==v?void 0:v[g]:null,[v,g]),x=b.default.useCallback(e=>{var t;let l=null!=(t=null==v?void 0:v.findIndex(t=>t===e))?t:null;i(l),yP(n.current,{transition:`transform 0.5s cubic-bezier(${yG.join(",")})`,transform:yL(s)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`}),v&&l!==v.length-1&&void 0!==o&&l!==o&&l<o?yP(r.current,{transition:`opacity 0.5s cubic-bezier(${yG.join(",")})`,opacity:"0"}):yP(r.current,{transition:`opacity 0.5s cubic-bezier(${yG.join(",")})`,opacity:"1"}),u(null==a?void 0:a[Math.max(l,0)])},[n.current,a,v,o,r,u]);return b.default.useEffect(()=>{if(c||e){var t;let n=null!=(t=null==a?void 0:a.findIndex(t=>t===e||t===c))?t:-1;v&&-1!==n&&"number"==typeof v[n]&&x(v[n])}},[c,e,a,v,x]),{isLastSnapPoint:h,activeSnapPoint:c,shouldFade:f,getPercentageDragged:function(e,t){if(!a||"number"!=typeof g||!v||void 0===o)return null;let n=g===o-1;if(g>=o&&t)return 0;if(n&&!t)return 1;if(!f&&!n)return null;let r=n?g+1:g-1,i=e/Math.abs(n?v[r]-v[r-1]:v[r+1]-v[r]);return n?1-i:i},setActiveSnapPoint:u,activeSnapPointIndex:g,onRelease:function({draggedDistance:e,closeDrawer:t,velocity:n,dismissible:i}){if(void 0===o)return;let l="bottom"===s||"right"===s?(null!=y?y:0)-e:(null!=y?y:0)+e,c=g===o-1,u=0===g,p=e>0;if(c&&yP(r.current,{transition:`opacity 0.5s cubic-bezier(${yG.join(",")})`}),!d&&n>2&&!p)return void(i?t():x(v[0]));if(!d&&n>2&&p&&v&&a)return void x(v[a.length-1]);let m=null==v?void 0:v.reduce((e,t)=>
1682"number"!=typeof e||"number"!=typeof t?e:Math.abs(t-l)<Math.abs(e-l)?t:e),f=yL(s)?window.innerHeight:window.innerWidth;if(n>.4&&Math.abs(e)<.4*f){let e=p?1:-1;return e>0&&h&&a?void x(v[a.length-1]):void(u&&e<0&&i&&t(),null===g||x(v[g+e]))}x(m)},onDrag:function({draggedDistance:e}){if(null===y)return;let t="bottom"===s||"right"===s?y-e:y+e;("bottom"===s||"right"===s)&&t<v[v.length-1]||("top"===s||"left"===s)&&t>v[v.length-1]||yP(n.current,{transform:yL(s)?`translate3d(0, ${t}px, 0)`:`translate3d(${t}px, 0, 0)`})},snapPointsOffset:v}}({snapPoints:i,activeSnapPointProp:h,setActiveSnapPointProp:g,drawerRef:X,fadeFromIndex:m,overlayRef:F,onSnapPointChange:ea,direction:w,container:_,snapToSequentialPoint:$});!function(e={}){let{isDisabled:a}=e;yT(()=>{if(!a){var e,n,r;let a,o,i,s,l,d,c;return 1==++yk&&yw()&&(i=0,s=window.pageXOffset,l=window.pageYOffset,d=y$((e=document.documentElement,n="paddingRight",r=`${window.innerWidth-document.documentElement.clientWidth}px`,a=e.style[n],e.style[n]=r,()=>{e.style[n]=a})),window.scrollTo(0,0),c=y$(yM(document,"touchstart",e=>{((o=yN(e.target))!==document.documentElement||o!==document.body)&&(i=e.changedTouches[0].pageY)},{passive:!1,capture:!0}),yM(document,"touchmove",e=>{if(!o||o===document.documentElement||o===document.body)return void e.preventDefault();let t=e.changedTouches[0].pageY,a=o.scrollTop,n=o.scrollHeight-o.clientHeight;0!==n&&((a<=0&&t>i||a>=n&&t<i)&&e.preventDefault(),i=t)},{passive:!1,capture:!0}),yM(document,"touchend",e=>{let t=e.target;yR(t)&&t!==document.activeElement&&(e.preventDefault(),t.style.transform="translateY(-2000px)",t.focus(),requestAnimationFrame(()=>{t.style.transform=""}))},{passive:!1,capture:!0}),yM(document,"focus",e=>{let t=e.target;yR(t)&&(t.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{t.style.transform="",yE&&(yE.height<window.innerHeight?requestAnimationFrame(()=>{yA(t)}):yE.addEventListener("resize",()=>yA(t),{once:!0}))}))},!0),yM(window,"scroll",()=>{window.scrollTo(0,0)})),t=()=>{d(),c(),window.scrollTo(s,l)}),()=>{0==--yk&&(null==t||t())}}},[a])}({isDisabled:!R||L||!v||j||!B||!I||!T});let{restorePositionSetting:eu}=function({isOpen:e,modal:t,nested:a,hasBeenOpened:n,preventScrollRestoration:r,noBodyStyles:o}){let[i,s]=b.default.useState(()=>"u">typeof window?window.location.href:""),l=b.default.useRef(0),d=b.default.useCallback(()=>{if(yS()&&null===yz&&e&&!o){yz={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};let{scrollX:e,innerHeight:t}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-l.current}px`,left:`${-e}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{let e=t-window.innerHeight;e&&l.current>=t&&(document.body.style.top=`${-(l.current+e)}px`)}),300)}},[e]),c=b.default.useCallback(()=>{if(yS()&&null!==yz&&!o){let e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);Object.assign(document.body.style,yz),window.requestAnimationFrame(()=>{r&&i!==window.location.href?s(window.location.href):window.scrollTo(t,e)}),yz=null}},[i]);return b.default.useEffect(()=>{function e(){l.current=window.scrollY}return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),b.default.useEffect(()=>{if(t)return()=>{"u"<typeof document||document.querySelector("[data-vaul-drawer]")||c()}},[t,c]),b.default.useEffect(()=>{!a&&n&&(e?(window.matchMedia("(display-mode: standalone)").matches||d(),t||window.setTimeout(()=>{c()},500)):c())},[e,n,i,t,a,d,c]),{restorePositionSetting:c}}({isOpen:R,modal:v,nested:null!=x&&x,hasBeenOpened:B,preventScrollRestoration:E,noBodyStyles:S});function ep(){return(window.innerWidth-26)/window.innerWidth}function em(e,t){var a;let n=e,r=null==(a=window.getSelection())?void 0:a.toString(),o=X.current?yD(X.current,w):null,i=new Date;if("SELECT"===n.tagName||n.hasAttribute("data-vaul-no-drag")||n.closest("[data-vaul-no-drag]"))return!1;if("right"===w||"left"===w)return!0;
1682if(H.current&&i.getTime()-H.current.getTime()<500)return!1;if(null!==o&&("bottom"===w?o>0:o<0))return!0;if(r&&r.length>0)return!1;if(z.current&&i.getTime()-z.current.getTime()<c&&0===o||t)return z.current=i,!1;for(;n;){if(n.scrollHeight>n.clientHeight){if(0!==n.scrollTop)return z.current=new Date,!1;if("dialog"===n.getAttribute("role"))break}n=n.parentNode}return!0}function eh(e){L&&X.current&&(X.current.classList.remove(yF),V.current=!1,D(!1),K.current=new Date),null==y||y(),e||O(!1),setTimeout(()=>{i&&eo(i[0])},500)}function eg(){if(!X.current)return;let e=document.querySelector("[data-vaul-drawer-wrapper]"),t=yD(X.current,w);yP(X.current,{transform:"translate3d(0, 0, 0)",transition:`transform 0.5s cubic-bezier(${yG.join(",")})`}),yP(F.current,{transition:`opacity 0.5s cubic-bezier(${yG.join(",")})`,opacity:"1"}),s&&t&&t>0&&R&&yP(e,{borderRadius:"8px",overflow:"hidden",...yL(w)?{transform:`scale(${ep()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${ep()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:"0.5s",transitionTimingFunction:`cubic-bezier(${yG.join(",")})`},!0)}return b.default.useEffect(()=>{window.requestAnimationFrame(()=>{J.current=!0})},[]),b.default.useEffect(()=>{var e;function t(){if(X.current&&I&&(yR(document.activeElement)||Y.current)){var e;let t=(null==(e=window.visualViewport)?void 0:e.height)||0,a=window.innerHeight,n=a-t,r=X.current.getBoundingClientRect().height||0;et.current||(et.current=r);let o=X.current.getBoundingClientRect().top;if(Math.abs(q.current-n)>60&&(Y.current=!Y.current),i&&i.length>0&&es&&er&&(n+=es[er]||0),q.current=n,r>t||Y.current){let e=X.current.getBoundingClientRect().height,i=e;e>t&&(i=t-(r>.8*a?o:26)),f?X.current.style.height=`${e-Math.max(n,0)}px`:X.current.style.height=`${Math.max(i,t-o)}px`}else{let e;e=navigator.userAgent,"u">typeof window&&(/Firefox/.test(e)&&/Mobile/.test(e)||/FxiOS/.test(e))||(X.current.style.height=`${et.current}px`)}i&&i.length>0&&!Y.current?X.current.style.bottom="0px":X.current.style.bottom=`${Math.max(n,0)}px`}}return null==(e=window.visualViewport)||e.addEventListener("resize",t),()=>{var e;return null==(e=window.visualViewport)?void 0:e.removeEventListener("resize",t)}},[er,i,es]),b.default.useEffect(()=>(R&&(yP(document.documentElement,{scrollBehavior:"auto"}),H.current=new Date),()=>{!function(e,t){if(!e||!(e instanceof HTMLElement))return;let a=yB.get(e);a&&(e.style[t]=a[t])}(document.documentElement,"scrollBehavior")}),[R]),b.default.useEffect(()=>{v||window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"})},[v]),b.default.createElement(yb.Root,{defaultOpen:C,onOpenChange:e=>{(u||e)&&(e?P(!0):eh(!0),O(e))},open:R},b.default.createElement(yy.Provider,{value:{activeSnapPoint:en,snapPoints:i,setActiveSnapPoint:eo,drawerRef:X,overlayRef:F,onOpenChange:a,onPress:function(e){var t,a;!u&&!i||(!X.current||X.current.contains(e.target))&&(Q.current=(null==(t=X.current)?void 0:t.getBoundingClientRect().height)||0,ee.current=(null==(a=X.current)?void 0:a.getBoundingClientRect().width)||0,D(!0),U.current=new Date,yw()&&window.addEventListener("touchend",()=>V.current=!1,{once:!0}),e.target.setPointerCapture(e.pointerId),Z.current=yL(w)?e.pageY:e.pageX)},onRelease:function(e){var t,a;if(!L||!X.current)return;X.current.classList.remove(yF),V.current=!1,D(!1),K.current=new Date;let n=yD(X.current,w);
1682if(!e||!em(e.target,!1)||!n||Number.isNaN(n)||null===U.current)return;let r=K.current.getTime()-U.current.getTime(),s=Z.current-(yL(w)?e.pageY:e.pageX),l=Math.abs(s)/r;if(l>.05&&(G(!0),setTimeout(()=>{G(!1)},200)),i){ei({draggedDistance:s*("bottom"===w||"right"===w?1:-1),closeDrawer:eh,velocity:l,dismissible:u}),null==o||o(e,!0);return}if("bottom"===w||"right"===w?s>0:s<0){eg(),null==o||o(e,!0);return}if(l>.4){eh(),null==o||o(e,!1);return}let c=Math.min(null!=(t=X.current.getBoundingClientRect().height)?t:0,window.innerHeight),p=Math.min(null!=(a=X.current.getBoundingClientRect().width)?a:0,window.innerWidth);if(Math.abs(n)>=("left"===w||"right"===w?p:c)*d){eh(),null==o||o(e,!1);return}null==o||o(e,!0),eg()},onDrag:function(e){if(X.current&&L){let t="bottom"===w||"right"===w?1:-1,a=(Z.current-(yL(w)?e.pageY:e.pageX))*t,n=a>0,o=i&&!u&&!n;if(o&&0===er)return;let l=Math.abs(a),d=document.querySelector("[data-vaul-drawer-wrapper]"),c=l/("bottom"===w||"top"===w?Q.current:ee.current),p=ec(l,n);if(null!==p&&(c=p),o&&c>=1||!V.current&&!em(e.target,n))return;if(X.current.classList.add(yF),V.current=!0,yP(X.current,{transition:"none"}),yP(F.current,{transition:"none"}),i&&el({draggedDistance:a}),n&&!i){let e=Math.min(-(8*(Math.log(a+1)-2)*1),0)*t;yP(X.current,{transform:yL(w)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`});return}let h=1-c;if((ed||m&&er===m-1)&&(null==r||r(e,c),yP(F.current,{opacity:`${h}`,transition:"none"},!0)),d&&F.current&&s){let e=Math.min(ep()+c*(1-ep()),1),t=8-8*c,a=Math.max(0,14-14*c);yP(d,{borderRadius:`${t}px`,transform:yL(w)?`scale(${e}) translate3d(0, ${a}px, 0)`:`scale(${e}) translate3d(${a}px, 0, 0)`,transition:"none"},!0)}if(!i){let e=l*t;yP(X.current,{transform:yL(w)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})}}},dismissible:u,shouldAnimate:J,handleOnly:p,isOpen:R,isDragging:L,shouldFade:ed,closeDrawer:eh,onNestedDrag:function(e,t){if(t<0)return;let a=(window.innerWidth-16)/window.innerWidth,n=a+t*(1-a),r=-16+16*t;yP(X.current,{transform:yL(w)?`scale(${n}) translate3d(0, ${r}px, 0)`:`scale(${n}) translate3d(${r}px, 0, 0)`,transition:"none"})},onNestedOpenChange:function(e){let t=e?(window.innerWidth-16)/window.innerWidth:1,a=e?-16:0;W.current&&window.clearTimeout(W.current),yP(X.current,{transition:`transform 0.5s cubic-bezier(${yG.join(",")})`,transform:yL(w)?`scale(${t}) translate3d(0, ${a}px, 0)`:`scale(${t}) translate3d(${a}px, 0, 0)`}),!e&&X.current&&(W.current=setTimeout(()=>{let e=yD(X.current,w);yP(X.current,{transition:"none",transform:yL(w)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})},500))},onNestedRelease:function(e,t){let a=yL(w)?window.innerHeight:window.innerWidth,n=t?(a-16)/a:1,r=t?-16:0;t&&yP(X.current,{transition:`transform 0.5s cubic-bezier(${yG.join(",")})`,transform:yL(w)?`scale(${n}) translate3d(0, ${r}px, 0)`:`scale(${n}) translate3d(${r}px, 0, 0)`})},keyboardIsOpen:Y,modal:v,snapPointsOffset:es,activeSnapPointIndex:er,direction:w,shouldScaleBackground:s,setBackgroundColorOnScale:l,noBodyStyles:S,container:_,autoFocus:k}},n))}let yW=b.default.forwardRef(function({...e},t){let{overlayRef:a,snapPoints:n,onRelease:r,shouldFade:o,isOpen:i,modal:s,shouldAnimate:l}=yx(),d=yO(t,a),c=n&&n.length>0;if(!s)return null;let u=b.default.useCallback(e=>r(e),[r]);return b.default.createElement(yb.Overlay,{onMouseUp:u,ref:d,"data-vaul-overlay":"","data-vaul-snap-points":i&&c?"true":"false","data-vaul-snap-points-overlay":i&&o?"true":"false","data-vaul-animate":(null==l?void 0:l.current)?"true":"false",...e})});yW.displayName="Drawer.Overlay";let yZ=b.default.forwardRef(function({onPointerDownOutside:e,style:t,onOpenAutoFocus:a,...n},r){let{drawerRef:o,onPress:i,onRelease:s,onDrag:l,keyboardIsOpen:d,snapPointsOffset:c,activeSnapPointIndex:u,modal:p,isOpen:m,direction:h,snapPoints:g,container:f,handleOnly:v,shouldAnimate:y,autoFocus:x}=yx(),[S,w]=b.default.useState(!1),C=yO(r,o),T=b.default.useRef(null),$=b.default.useRef(null),E=b.default.useRef(!1),I=g&&g.length>0;function N(e){T.current=null,E.current=!1,s(e)}
1682return!function(){let{direction:e,isOpen:t,shouldScaleBackground:a,setBackgroundColorOnScale:n,noBodyStyles:r}=yx(),o=b.default.useRef(null),i=(0,b.useMemo)(()=>document.body.style.backgroundColor,[]);function s(){return(window.innerWidth-26)/window.innerWidth}b.default.useEffect(()=>{if(t&&a){o.current&&clearTimeout(o.current);let t=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!t)return;!function(...e){}(n&&!r?yj(document.body,{background:"black"}):yK,yj(t,{transformOrigin:yL(e)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:"0.5s",transitionTimingFunction:`cubic-bezier(${yG.join(",")})`}));let a=yj(t,{borderRadius:"8px",overflow:"hidden",...yL(e)?{transform:`scale(${s()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${s()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{a(),o.current=window.setTimeout(()=>{i?document.body.style.background=i:document.body.style.removeProperty("background")},500)}}},[t,a,i])}(),b.default.useEffect(()=>{I&&window.requestAnimationFrame(()=>{w(!0)})},[]),b.default.createElement(yb.Content,{"data-vaul-drawer-direction":h,"data-vaul-drawer":"","data-vaul-delayed-snap-points":S?"true":"false","data-vaul-snap-points":m&&I?"true":"false","data-vaul-custom-container":f?"true":"false","data-vaul-animate":(null==y?void 0:y.current)?"true":"false",...n,ref:C,style:c&&c.length>0?{"--snap-point-height":`${c[null!=u?u:0]}px`,...t}:t,onPointerDown:e=>{v||(null==n.onPointerDown||n.onPointerDown.call(n,e),T.current={x:e.pageX,y:e.pageY},i(e))},onOpenAutoFocus:e=>{null==a||a(e),x||e.preventDefault()},onPointerDownOutside:t=>{(null==e||e(t),!p||t.defaultPrevented)?t.preventDefault():d.current&&(d.current=!1)},onFocusOutside:e=>{if(!p)return void e.preventDefault()},onPointerMove:e=>{if($.current=e,v||(null==n.onPointerMove||n.onPointerMove.call(n,e),!T.current))return;let t=e.pageY-T.current.y,a=e.pageX-T.current.x,r="touch"===e.pointerType?10:2;((e,t,a=0)=>{if(E.current)return!0;let n=Math.abs(e.y),r=Math.abs(e.x),o=r>n,i=["bottom","right"].includes(t)?1:-1;if("left"===t||"right"===t){if(!(e.x*i<0)&&r>=0&&r<=a)return o}else if(!(e.y*i<0)&&n>=0&&n<=a)return!o;return E.current=!0,!0})({x:a,y:t},h,r)?l(e):(Math.abs(a)>r||Math.abs(t)>r)&&(T.current=null)},onPointerUp:e=>{null==n.onPointerUp||n.onPointerUp.call(n,e),T.current=null,E.current=!1,s(e)},onPointerOut:e=>{null==n.onPointerOut||n.onPointerOut.call(n,e),N($.current)},onContextMenu:e=>{null==n.onContextMenu||n.onContextMenu.call(n,e),$.current&&N($.current)}})});yZ.displayName="Drawer.Content";let yY=b.default.forwardRef(function({preventCycle:e=!1,children:t,...a},n){let{closeDrawer:r,isDragging:o,snapPoints:i,activeSnapPoint:s,setActiveSnapPoint:l,dismissible:d,handleOnly:c,isOpen:u,onPress:p,onDrag:m}=yx(),h=b.default.useRef(null),g=b.default.useRef(!1);function f(){h.current&&window.clearTimeout(h.current),g.current=!1}return b.default.createElement("div",{onClick:function(){g.current?f():window.setTimeout(()=>{!function(){if(o||e||g.current)return f();if(f(),!i||0===i.length){d||r();return}if(s===i[i.length-1]&&d)return r();let t=i.findIndex(e=>e===s);-1===t||l(i[t+1])}()},120)},onPointerCancel:f,onPointerDown:e=>{c&&p(e),h.current=window.setTimeout(()=>{g.current=!0},250)},onPointerMove:e=>{c&&m(e)},ref:n,"data-vaul-drawer-visible":u?"true":"false","data-vaul-handle":"","aria-hidden":"true",...a},b.default.createElement("span",{"data-vaul-handle-hitarea":"","aria-hidden":"true"},t))});yY.displayName="Drawer.Handle";let yJ={Root:yV,NestedRoot:function({onDrag:e,onOpenChange:t,open:a,...n}){let{onNestedDrag:r,onNestedOpenChange:o,onNestedRelease:i}=yx();if(!r)throw Error("Drawer.NestedRoot must be placed in another drawer");return b.default.createElement(yV,{nested:!0,open:a,onClose:()=>{o(!1)},onDrag:(t,a)=>{r(t,a),null==e||e(t,a)},onOpenChange:e=>{e&&o(e),null==t||t(e)},onRelease:i,...n})},Content:yZ,Overlay:yW,Trigger:yb.Trigger,Portal:function(e){let t=yx(),{container:a=t.container,...n}=e;return b.default.createElement(yb.Portal,{container:a,...n})},Handle:yY,Close:yb.Close,Title:yb.Title,Description:yb.Description}
1682,yq=({shouldScaleBackground:e=!0,...t})=>(0,h.jsx)(yJ.Root,{shouldScaleBackground:e,...t});yq.displayName="Drawer",yJ.Trigger;let yX=yJ.Portal,yQ=yJ.Close,y0=b.forwardRef(({className:e,...t},a)=>(0,h.jsx)(yJ.Overlay,{ref:a,className:(0,sG.cn)("fixed inset-0 z-50 bg-black/80",e),...t}));y0.displayName=yJ.Overlay.displayName;let y1=b.forwardRef(({className:e,children:t,...a},n)=>(0,h.jsxs)(yX,{children:[(0,h.jsx)(y0,{}),(0,h.jsx)(yJ.Content,{ref:n,className:(0,sG.cn)("bg-background fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border",e),...a,children:t})]}));y1.displayName="DrawerContent",b.forwardRef(({className:e,...t},a)=>(0,h.jsx)(yJ.Title,{ref:a,className:(0,sG.cn)("text-lg font-semibold leading-none tracking-tight",e),...t})).displayName=yJ.Title.displayName,b.forwardRef(({className:e,...t},a)=>(0,h.jsx)(yJ.Description,{ref:a,className:(0,sG.cn)("text-muted-foreground text-sm",e),...t})).displayName=yJ.Description.displayName;var y2=e.i(80859),lJ=lJ,y3=e.i(83313),y3=y3;let y5=({isFixed:e,heroBgColor:t,bgColor:a,mainPages:n,featuredPage:r,site:o,blockData:i,block:s,palette:l,handleLinkClick:d,isMobile:c})=>{let{createUrl:u}=(0,sb.useNavigation)(),{SiteContent:p}=(0,ln.useSite)(),[m,g]=b.default.useState(!1),f=(0,b.useRef)(null),v=(0,b.useRef)(null);return((0,b.useEffect)(()=>{if(m){v.current?.focus();let e=document.createElement("div");e.setAttribute("role","status"),e.setAttribute("aria-live","polite"),e.className="sr-only",e.textContent=p?.uiCopy?.languageSwitcher?.mobileNavAriaAnnouncement||"Navigation menu opened. Tab to navigate through menu items.",document.body.appendChild(e),setTimeout(()=>document.body.removeChild(e),1e3)}},[m]),n?.length||r)?(0,h.jsx)("div",{className:(0,sG.cn)("hidden max-lg:block",`color-${a}`),children:(0,h.jsxs)(yq,{direction:"left",open:m,onOpenChange:g,modal:!1,shouldScaleBackground:!1,children:[(0,h.jsx)(y2.Button,{"aria-label":"Open navigation menu","aria-expanded":m,"aria-controls":"mobile-nav-content","data-track-click":"none",className:(0,sG.cn)(`color-${t} absolute right-[4vw] top-[4vw] z-50 h-auto rounded-none bg-[var(--color-button-background)] stroke-[var(--color-button-text)] p-[5px] hover:bg-[var(--color-button-background)] focus-visible:outline-dotted focus-visible:outline-2 focus-visible:outline-offset-[-5px] focus-visible:outline-current`,`${e?"fixed":"absolute"}`),style:e?{position:"var(--notification-bar-nav-position, fixed)"}:void 0,onClick:()=>g(!0),children:(0,h.jsx)(y3.default,{width:24,height:24,className:"stroke-[var(--color-button-text)]"})}),(0,h.jsxs)(y1,{id:"mobile-nav-content","aria-modal":"true","aria-label":"Navigation menu",className:(0,sG.cn)("h-full w-full rounded-none border-none",`color-${a} bg-[var(--color-${a})]`),children:[(0,h.jsx)(yQ,{asChild:!0,children:(0,h.jsx)(y2.Button,{ref:f,variant:"link","aria-label":"Close menu","data-track-click":"none",className:"fixed right-[4vw] top-[4vw] z-50 focus-visible:outline-dotted focus-visible:outline-2 focus-visible:outline-offset-[-5px] focus-visible:outline-current",children:(0,h.jsxs)("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:24,height:24,children:[(0,h.jsx)("line",{x1:"0",y1:"0",x2:"100",y2:"100",fill:"none",strokeMiterlimit:"10",strokeWidth:"8",stroke:"var(--color-text)"}),(0,h.jsx)("line",{x1:"0",y1:"100",x2:"100",y2:"0",fill:"none",strokeMiterlimit:"10",strokeWidth:"8",stroke:"var(--color-text)"})]})})}),(0,h.jsx)("div",{ref:v,className:"h-full overflow-y-auto p-10 pb-[4em] pt-[4em]",tabIndex:0,role:"region","aria-label":"Mobile navigation content",children:(0,h.jsx)("nav",{"aria-label":"Mobile navigation menu",className:"flex min-h-full flex-col items-center justify-center gap-10",children:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"text-center",children:n?.filter(e=>!e.parentId).map(e=>{let t=(0,sI.default)(e.url)?`/${e.slug}`:`${e.url}`,a=(0,lq.getPageChildren)(o,e,!0);return(0,h.jsxs)("div",{className:"mb-4 border-b border-[var(--color-headline-secondary)] pb-4 text-center last:mb-0 last:border-none last:pb-0",children:[(()=>{let{href:a,isExternal:n}=u({url:t}),r=a.startsWith("#")&&!(0,ym.isVideoLink)(a);return(0,h.jsx)("a",{href:a,className:(0,sG.cn)("font-header block justify-center border-none bg-transparent text-[calc(3vw*var(--header-font-size-multiplier))] font-black text-[var(--color-text)] no-underline hover:text-[var(--color-text)] focu
1682s-visible:outline-dotted focus-visible:outline-2 focus-visible:outline-offset-[-5px] focus-visible:outline-current",{"text-[calc(6vw*var(--header-font-size-multiplier))]":c}),target:n||"true"===y.default.env.NEXT_PUBLIC_IS_CMS?"_blank":void 0,rel:n?"noopener noreferrer":void 0,"aria-label":n?`${e.title} (opens in new tab)`:void 0,onClick:o=>{if(e.isHidden){o.preventDefault(),o.stopPropagation();return}g(!1),n||r?n&&(o.preventDefault(),o.stopPropagation(),a&&window.open(a,"_blank")):(o.preventDefault(),o.stopPropagation(),d(o,t,e.isHidden??!1))},children:e.title})})(),a.length>0&&(0,h.jsx)("ul",{className:"mt-2 list-none p-0",children:a.map(e=>{let t=(0,sI.default)(e.url)?`/${e.slug}`:`${e.url}`;return(0,h.jsx)("li",{className:"mb-0 mt-2 min-h-0 whitespace-normal p-0",children:(()=>{let{href:a,isExternal:n}=u({url:t}),r=a.startsWith("#")&&!(0,ym.isVideoLink)(a);return(0,h.jsx)("a",{href:a,className:(0,sG.cn)("font-button block cursor-pointer border-none bg-transparent text-[calc(2vw*var(--button-font-size-multiplier))] text-[var(--color-text)] no-underline hover:text-[var(--color-text)] focus-visible:outline-dotted focus-visible:outline-2 focus-visible:outline-offset-[-5px] focus-visible:outline-current",{"text-[calc(4vw*var(--button-font-size-multiplier))]":c}),target:n||"true"===y.default.env.NEXT_PUBLIC_IS_CMS?"_blank":void 0,rel:n?"noopener noreferrer":void 0,"aria-label":n?`${e.title} (opens in new tab)`:void 0,onClick:o=>{if(e.isHidden){o.preventDefault(),o.stopPropagation();return}g(!1),n||r?n&&(o.preventDefault(),o.stopPropagation(),a&&window.open(a,"_blank")):(o.preventDefault(),o.stopPropagation(),d(o,t,e.isHidden??!1))},children:e.title})})()},e.id)})})]},e.id)})}),(0,h.jsxs)("div",{className:"flex flex-col items-center gap-6 text-[2.5vw]",children:[(0,h.jsx)(lJ.default,{iconType:i.socialIconsType,blockData:i,bgColor:a,isMobileMenu:!0,className:"order-0 max-xs:order-1 mt-[3.5vw] text-[2.5vw] max-sm:mt-0 max-sm:text-[5vw] [&_.social-media-icons]:text-[length:inherit]"}),r&&(0,h.jsx)(yh,{featuredPage:r,handleLinkClick:d,blockData:i,blockId:s.id,palette:l,bgColor:a,createUrl:u,isMobile:c,isDesktop:!1})]})]})})})]})]})}):null},y4=({blockData:e,page:t,url:a,hasChildren:n,handleLinkClick:r,createUrl:o,linkClasses:i})=>{let s=(0,b.useRef)(null),l=(0,b.useCallback)(e=>{"Enter"===e.key?t.isHidden||(e.preventDefault(),e.stopPropagation(),r(e,a,t.isHidden??!1)):"ArrowDown"===e.key&&(e.preventDefault(),e.stopPropagation(),s.current?.getAttribute("data-state")!=="open"&&s.current?.click())},[a,t.isHidden,r]),d=(0,b.useCallback)((e,n,o,i)=>{0===e.detail||e.target.closest("[data-chevron]")||!t.isHidden&&n&&a&&""!==a&&"#"!==a&&(e.preventDefault(),e.stopPropagation(),i?window.scrollTo({top:0,behavior:"smooth"}):o||r(e,a,t.isHidden??!1))},[t.isHidden,r,a]),{href:c,isExternal:u}=o({url:a}),p=c.startsWith("#")&&!(0,ym.isVideoLink)(c),m="#"===c;return(0,h.jsxs)(yc,{ref:s,"aria-haspopup":"true",className:(0,sG.cn)(yd(),"bg-[var(--color-bg)] font-bold uppercase tracking-[0.25em] text-[var(--color-text)] no-underline",`${t.isHidden?"cursor-default":""}`,`${e.buttonType!==sk.THEME_MENU_STYLE.UNDERLINED?"border-0":"border-l-0 border-r-0 border-t-0"}`,i),onClick:e=>d(e,!u,p,m),onKeyDown:l,"aria-label":u&&t.openInNewTab?`${t.title} (opens in new tab)`:t.isHidden?`${t.title}. Press space or down arrow to expand submenu`:`${t.title}. Press enter to navigate, space or down arrow to expand submenu`,children:[t.title,(0,h.jsx)(cT.ChevronDown,{"data-chevron":"true",className:"relative top-0 ml-[0.25em] h-[1.25em] w-[1.25em] transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})},y6=({block:e,blockData:t,mainPages:a,featuredPage:n,logo:r,isNavOnly:o=!1,bgColor:i,heroBgColor:s,isFixed:l=!0,className:d})=>{let{site:c}=(0,ln.useSite)(),{theme:u}=(0,sB.useSiteTheme)(),{navigate:p,createUrl:m}=(0,sb.useNavigation)(),g=(0,sE.useTheme)(),f=(0,lq.getHomePageHeroBlock)(c),{palette:v}=(0,sO.useSiteColorPalette)(),{hasVariants:x}=(0,bf.useLanguageVariants)(),S=!(0,sI.default)(t.logo)&&(r||t.logo),w=!!a?.length||!!n,C=(0,gP.useHintedMediaQuery)(g.breakpoints.down(sA.default.breakpoints.values.sm),gP.isMobileHint),T=(0,gP.useHintedMediaQuery)(g.breakpoints.down(sA.default.breakpoints.values.md),gP.isTabletHint),$=!C&&!T,E=!(("top-left"===t.logoPosition||o)&&S)&&!a?.some(e=>!e.parentId)&&!n&&!x&&(!$||"in-navigation"!==t.socialIconsPosition),I=t.overrideLogoSettings?e.id:f?.id,N=t.overrideNavSettings?e.id:f?.id,{aspectRatio:_}=(0,sY.useImageSize)(r||t.logo),k=(0,bv.useEllipseImageScaling)(_,10,5),M=(0,bv.useEllipseImageScaling)(_,12,5),A=(0,b.useCallback)((e,t,a)=>{e.stopPropagation(),e.preventDefault(),a||p({url:t})},[p]),R=(0,b.useMemo)(()=>["bg0","bg1","bg2","bg3","bg4"].includes(t.navButtonColor)?t.navButtonColor:v?.[i][sP.CssVarMap.get(t.navButtonColor)],[t.navButtonColor,i,v]),O=["bg0","bg1","bg2","bg3","bg4"].includes(t.navButtonHoverColor)?t.navButtonHoverColor:void 0,B={"--nav-button-hover-bg":O?`var(--color-${O})`:"var(--color-button-background-hover)","--nav-button-hover-text":O?`var(--color-${O}-text)`:"var(--color-button-text-hover)"},P=(0,b.useMemo)(()=>["bg0","bg1","bg2","bg3","bg4"].includes(t.navUnderlineColor)?`color-${t.navUnderlineColor}`:`color-${sk.COLOR_DEFAULTS.nav.underlineColor}
1682`,[t.navUnderlineColor]),L=(0,b.useMemo)(()=>{let e=t.headerGradientColor||sk.COLOR_DEFAULTS.nav.headerGradientColor,a=e.startsWith("#")?e:v?.[e]?.bg;return!a||(0,bb.getBrightness)(a).brightness<128},[t.headerGradientColor,v]),D=(0,b.useMemo)(()=>["bg0","bg1","bg2","bg3","bg4"].includes(t.navTextColor)?`color-${t.navTextColor}`:void 0!==t.headerGradientOpacity&&t.headerGradientOpacity>75&&L?"color-bg0":`color-${sk.COLOR_DEFAULTS.nav.textColor}`,[t.navTextColor,t.headerGradientOpacity,L]),j=(0,b.useMemo)(()=>["bg0","bg1","bg2","bg3","bg4"].includes(t.languageMenuColor)?`color-${t.languageMenuColor}`:void 0!==t.headerGradientOpacity&&t.headerGradientOpacity>75&&L?"color-bg0":`color-${sk.COLOR_DEFAULTS.nav.languageMenuColor}`,[t.languageMenuColor,t.headerGradientOpacity,L]),G=(0,b.useMemo)(()=>{let e=["transition-all","duration-200"];switch(t.buttonType){case sk.THEME_MENU_STYLE.UNDERLINED:e.push("border-b-[3px]","pb-[0.3em]","bg-transparent","rounded-none",`border-b-[var(--${P})]`,`text-[var(--${D})]`,`group-hover/item:!text-[var(--${D})]`);case sk.THEME_MENU_STYLE.NONE:e.push("bg-transparent",`text-[var(--${D})]`,`group-hover/item:!text-[var(--${D})]`);break;case sk.THEME_MENU_STYLE.BOXED:e.push("px-[0.8em]","h-[2.4em]","text-[var(--color-text)]","group-hover/item:!text-[var(--nav-button-hover-text)]","bg-[var(--color-bg)]","group-hover/item:!bg-[var(--nav-button-hover-bg)]",R?`color-${R}`:`color-${sk.COLOR_DEFAULTS.nav.buttonColor}`),u?.corners===sD.THEME_CORNERS.ROUNDED?e.push("rounded-[0.2em]"):u?.corners===sD.THEME_CORNERS.HALF_ROUNDED?e.push("rounded-tl-none","rounded-br-none","rounded-tr-[0.2em]","rounded-bl-[0.2em]"):e.push("rounded-none")}return(0,sG.cn)(e,"")},[t.buttonType,D,P,R,u?.corners]);return(0,h.jsxs)("nav",{"aria-label":"Main navigation",style:B,className:(0,sG.cn)(d,`font-button z-10 color-${o?s:i} col-span-2 col-start-1 flex w-full items-start justify-between px-[var(--menu-padding-horiz)]`,E?"pt-0":"pt-[4vw] max-sm:pt-0",o&&"relative bg-[var(--color-bg)]"),children:[(0,h.jsx)("div",{className:"z-10 flex items-start",children:("top-left"===t.logoPosition||o)&&!C&&S&&(()=>{let{href:e,as:a,isExternal:n}=m({url:"/"}),o=e.startsWith("#"),i="#"===e;return(0,h.jsx)("a",{href:e,className:"relative mr-[3vw] inline-block focus-visible:outline-dotted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--color-text)]",onClick:n?void 0:e=>{e.preventDefault(),i?window.scrollTo({top:0,behavior:"smooth"}):o||A(e,"/",!1)},"aria-label":`${c?.SiteGroup.name||"Site"} homepage`,children:(0,h.jsx)(sq,{src:r||t.logo||"",alt:t.logoAltText||c?.SiteContent?.shareTitle||`${c?.SiteGroup.name||"Site"} logo`,width:`calc(${$?k.width:M.width}vw + var(--slider-logo-size-${I},0)/10*1vw)`,height:"auto",className:"cursor-pointer"})})})()}),(0,h.jsxs)("div",{className:"relative z-10 flex min-w-0 flex-1 flex-wrap items-start justify-end gap-x-[1.25vw] gap-y-[1vw] max-lg:hidden",style:{justifyContent:"safe flex-end"},children:[(0,h.jsx)(ys,{viewport:!1,className:t?.buttonType===sk.THEME_MENU_STYLE.BOXED?(0,sG.cn)(`color-${R}`):void 0,children:(0,h.jsx)(yl,{className:(0,sG.cn)("flex",t.buttonType===sk.THEME_MENU_STYLE.BOXED?"space-x-[1em]":"space-x-[1.6em]"),children:a.filter(e=>!e.parentId).map(e=>{let a=(0,sI.default)(e.url)?`/${e.slug}`:`${e.url}`,n=(0,lq.getPageChildren)(c,e,!0),r=n.length>0;return r?(0,h.jsxs)(bK,{className:(0,sG.cn)("group/item relative"),style:{fontSize:`calc((0.8vw + var(--slider-link-size-${f?.id}, 0) * 0.0075vw) * var(--button-font-size-multiplier))`},children:[(0,h.jsx)(y4,{blockData:t,page:e,url:a,hasChildren:r,handleLinkClick:A,createUrl:m,linkClasses:G}),(0,h.jsx)(yu,{className:(0,sG.cn)(yi()),children:(0,h.jsx)("ul",{className:"list-none rounded-none border-none outline-none",children:n.map(e=>{let a=(0,sI.default)(e.url)?`/${e.slug}`:`${e.url}`;return(0,h.jsx)("li",{className:(0,sG.cn)("group/item relative block whitespace-nowrap border-b-[1px] last:border-b-0",R&&t.buttonType===sk.THEME_MENU_STYLE.BOXED?`bg-[var(--color-${R})] border-b-[var(--color-text)]`:`bg-[var(--color-${sk.COLOR_DEFAULTS.nav.buttonColor})] border-b-[var(--color-button-text)]`),children:(()=>{let{href:n,isExternal:r}=m({url:a}),o=n.startsWith("#")&&!(0,ym.isVideoLink)(n);return(0,h.jsx)(bZ,{className:(0,sG.cn)("block px-[0.9em] py-[0.6em] font-bold uppercase tracking-[0.25em] no-underline hover:bg-[var(--nav-button-hover-bg)] hover:text-[var(--nav-button-hover-text)] focu
1682s-visible:outline-dotted focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-current",R&&t.buttonType===sk.THEME_MENU_STYLE.BOXED?"text-[var(--color-text)]":"text-[var(--color-button-text)]"),href:n,target:r&&e.openInNewTab||"true"===y.default.env.NEXT_PUBLIC_IS_CMS?"_blank":void 0,rel:r&&e.openInNewTab?"noopener noreferrer":void 0,"aria-label":r&&e.openInNewTab?`${e.title} (opens in new tab)`:void 0,onClick:r||o?r?t=>{t.preventDefault(),t.stopPropagation(),window.open(n,e.openInNewTab||"true"===y.default.env.NEXT_PUBLIC_IS_CMS?"_blank":"_self")}:void 0:t=>{A(t,a,e.isHidden??!1)},children:e.title},e.id)})()},e.id)})})})]},e.id):(0,h.jsx)(bK,{className:(0,sG.cn)("group/item relative"),style:{fontSize:`calc((0.8vw + var(--slider-link-size-${f?.id}, 0) * 0.0075vw) * var(--button-font-size-multiplier))`},children:(()=>{let{href:t,isExternal:n}=m({url:a}),r=t.startsWith("#")&&!(0,ym.isVideoLink)(t);return(0,h.jsx)(bZ,{href:t,onClick:n||r?void 0:t=>A(t,a,e.isHidden??!1),target:n&&e.openInNewTab||"true"===y.default.env.NEXT_PUBLIC_IS_CMS?"_blank":void 0,rel:n&&e.openInNewTab?"noopener noreferrer":void 0,"aria-label":n&&e.openInNewTab?`${e.title} (opens in new tab)`:void 0,className:(0,sG.cn)(yd(),"bg-[var(--color-bg)] font-bold uppercase tracking-[0.25em] text-[var(--color-text)] no-underline",G),children:e.title})})()},e.id)})})}),(0,h.jsxs)("div",{className:(0,sG.cn)("flex items-start space-x-[1.25vw] text-[1vw]","nav-left"===t.alignNavigation&&"grow justify-end"),children:[(0,h.jsx)("div",{className:"flex items-center gap-[0.5em]",style:{fontSize:`calc(1vw + var(--slider-social-icons-${N}, 0) * 0.015vw)`},children:("in-navigation"===t.socialIconsPosition&&"none"!==t.socialIconsPosition||!$)&&(0,h.jsx)(lJ.default,{blockData:t,iconType:t.socialIconsType,bgColor:i,className:"text-[inherit] [&_.social-media-icons]:text-[length:inherit]"})}),n?(0,h.jsxs)("div",{className:"flex items-start",children:[(0,h.jsx)(yv,{className:"absolute -top-[2.5vw] right-0 flex items-center",blockData:t,languageMenuColor:j,navButtonColor:R}),(0,h.jsx)(yh,{featuredPage:n,handleLinkClick:A,blockData:t,blockId:e.id,homeHeroBlockId:f?.id,palette:v,bgColor:i,createUrl:m,isMobile:C,isDesktop:$})]}):(0,h.jsx)(yv,{className:"flex items-center",blockData:t,navButtonColor:R,languageMenuColor:j})]})]}),(0,h.jsxs)("div",{className:"flex gap-2",children:[(0,h.jsx)("div",{className:(0,sG.cn)("absolute z-30 hidden max-lg:block",l&&o?w?"right-[calc(4vw+3rem-var(--standard-padding-horiz))] top-0":"right-[calc(4vw-var(--standard-padding-horiz))] top-0":w?l?"right-[calc(4vw+3rem)] top-[4vw]":"right-[10vw] top-[4vw]":"right-[4vw] top-[4vw]"),style:{fontSize:"var(--tw-font-size-body-xs)"},children:(0,h.jsx)(yv,{className:`color-${t.bgColor} relative flex items-center`,blockData:t,navButtonColor:R,languageMenuColor:j})}),(0,h.jsx)(y5,{isFixed:l,heroBgColor:t.bgColor,bgColor:"bg1",mainPages:a,featuredPage:n,site:c,blockData:t,block:e,palette:v,handleLinkClick:A,isMobile:C})]})]})};var y8=e.i(65606);let y9=(0,sW.styled)("div",{label:"HeroContainer",...sZ.transientOptions})`
1683  ${e=>e.$isCMS&&`
1684      ${lX.sharedEditSettingsCss};
1685    `}
1686  position: relative;
1687  background-color: var(--color-bg);
1688
1689  /* If you need an overlay on the background image */
1690  .is-bg-image {
1691    position: relative;
1692    ${e=>e.$overlay&&`
1693      &:after {
1694        content: '';
1695        position: absolute;
1696        top: 0;
1697        left: 0;
1698        width: 100%;
1699        height: 100%;
1700        background-color: ${e.$overlayColor?.startsWith("#")?e.$overlayColor:`var(--color-${e.$overlayColor})`};
1701        opacity: calc(var(${e.$useMobileSettings?`--slider-overlay-opacity-mobile-${e.$blockId}`:`--slider-overlay-opacity-${e.$blockId}`}, 0) / 100);
1702        z-index: 0;
1703      }
1704      `}
1705  }
1706
1707  .social-media-icons {
1708    display: none;
1709  }
1710`,y7=(0,sW.styled)("div",{label:"HeroTop",...sZ.transientOptions})`
1711  position: relative;
1712  z-index: 10; /* So it sits above overlay, if any */
1713
1714  padding: 5vw var(--standard-padding-horiz) 0 var(--standard-padding-horiz);
1715
1716  /* The big-logo layout reserves extra top space (20vw) for the centered logo,
1717     but only when the top-nav controls (hamburger and/or language switcher) are
1718     present; without them, fall back to the bottom padding. The small-logo
1719     layout uses 4vw so the logo's top lines up with the absolutely-positioned
1720     controls (which sit at top: 4vw). */
1721  padding-top: ${e=>e.$bigLogo?e.$hasTopNavControls?"20vw":e.$bottomPadding||"0":"4vw"};
1722  padding-bottom: ${e=>e.$bottomPadding?`${e.$bottomPadding}`:"0"};
1723
1724  ${e=>!e.$hasLogo&&e.$bigLogo&&`
1725    padding: 0;
1726  `}
1727
1728  // Logo on homepage
1729  ${e=>e.$bigLogo&&`
1730    & > a {
1731      display: flex;
1732      justify-content: center;
1733      width: fit-content;
1734      margin: 0 auto;
1735    }
1736  `}
1737  // Logo on other pages
1738    ${e=>!e.$bigLogo&&`
1739    & > a {
1740      margin-left: 0;
1741    }
1742  `}
1743    & > a {
1744    display: flex;
1745    justify-content: center;
1746    width: fit-content;
1747  }
1748`,xe=(0,sW.styled)("div",{label:"HeroContent",...sZ.transientOptions})`
1749  padding: 0 var(--standard-padding-horiz) var(--standard-padding-vert)
1750    var(--standard-padding-horiz);
1751  text-align: center;
1752
1753  ${({$hasAction:e})=>e&&`
1754    padding-bottom: 6vw;
1755  `}
1756
1757  /* Blocks own gaps — each field wraps its lone heading, so the global
1758     :last-child trim eats the stack margins without these */
1759  [data-field='eyebrow'] h6 {
1760    margin-bottom: 0.35em;
1761    transition: font-size 0.2s ease-out;
1762  }
1763
1764  [data-field='headline'] h1 {
1765    color: var(--color-headline-primary);
1766    font-size: calc(9vw * var(--header-font-size-multiplier));
1767    transition: font-size 0.2s ease-out;
1768    margin-bottom: 0.25em;
1769    margin-left: auto;
1770    margin-right: auto;
1771    text-align: center;
1772    line-height: var(--tw-line-height-headline-xl);
1773  }
1774
1775  [data-field='description'] {
1776    color: var(--color-text);
1777    font-size: var(--tw-font-size-body);
1778    margin-left: auto;
1779    margin-right: auto;
1780    max-width: 700px;
1781    transition: font-size 0.2s ease-out;
1782    text-align: center;
1783  }
1784
1785  & > div {
1786    &:last-child {
1787      h1,
1788      h6,
1789      div {
1790        margin-bottom: 0;
1791      }
1792    }
1793  }
1794`,xt=(0,sW.styled)("div",{label:"HeroImageWrapper",...sZ.transientOptions})`
1795  position: relative;
1796  width: 100%;
1797  margin-bottom: ${e=>e.$isLast?"0":"var(--standard-padding-vert)"};
1798`,xa=(0,sW.styled)("div",{label:"HeroActionWrapper",...sZ.transientOptions})`
1799  /* The form/button area */
1800  padding: 0 var(--standard-padding-horiz) var(--standard-padding-vert)
1801    var(--standard-padding-horiz);
1802`,xn=(0,sW.styled)("div",{label:"VideoIconSpacer",...sZ.transientOptions})`
1803  height: var(--standard-padding-vert);
1804`,xr=({site:e,isHome:t,block:a,blockData:n,isOpen:r,setIsOpen:o,onClick:i,handleLinkClick:s,className:l,pageId:d,mainPages:c,featuredPage:u,hideBottomPinstripes:p,showPinstripes:m,palette:g})=>{let f=n.layoutType===sk.HERO_LAYOUT_TYPE.NAV_ONLY,v="above-content"===n.logoPositionMobile,x=n.layoutType!==sk.HERO_LAYOUT_TYPE.NO_IMAGE,{hasVariants:S}=(0,bf.useLanguageVariants)(),w=!!c?.length||!!u||S,C=t&&(!!n.embedCode||n.video?.linkToUrl&&n.video?.url)&&!!n.showEmbedVideo,T=!!n.headlineOn||!!n.showDescription||!!n.showEyebrow,$=t&&!!n.action,E=n.displayMobileImageSettings?n.mobileImage:n.desktopImage;void 0===E&&(E=n.displayMobileImageSettings?n.mobileImage:n.desktopImage);let I=n.displayMobileLogoSettings?n.mobileLogo:n.logo,{nextBlockSection:N}=(0,lt.useBlockSection)(a.id,!0),{aspectRatio:_}=(0,sY.useImageSize)(n.mobileLogo||n.logo),k=(0,bv.useEllipseImageScaling)(_,38,38),M=(0,bv.useEllipseImageScaling)(_,22,11),A=(0,b.useMemo)(()=>n.layoutType===sk.HERO_LAYOUT_TYPE.NAV_ONLY&&N?.hasTopBgImageMobile?"5vw":"var(--standard-padding-vert)",[n.layoutType,N?.hasTopBgImageMobile]);if(f)return p=!0,(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)(y9,{onClick:i,className:`${l} color-${N?.bgColor}`,$isCMS:"true"===y.default.env.NEXT_PUBLIC_IS_CMS,$blockId:a.id,children:[(0,h.jsxs)(y7,{$bigLogo:!1,$isNavOnly:!0,$bottomPadding:A,children:[(0,h.jsx)(lX.default,{onClick:i}),m&&(0,h.jsx)(y8.default,{type:"top",className:"z-auto"}),(0,h.jsx)(y6,{block:a,blockData:n,bgColor:"bg1",heroBgColor:N?.bgColor,isOpen:r,featuredPage:u,mainPages:c,isFixed:!0,isNavOnly:!0}),I&&(0,h.jsx)(lS.Link,{onClick:s,href:"/",children:(0,h.jsx)(sq,{src:I,alt:n.mobileLogoAltText||n.logoAltText||e.SiteContent?.shareTitle||`${e.name} logo`,width:`calc(${M.width}vw + var(--slider-mobile-logo-size-${a.id}, 0) / 6 * 1vw)`,height:"auto",style:{zIndex:sA.default.zindex.abovePinstripes}})})]}),(0,h.jsx)("div",{id:"main-content"})]})});let R=(0,h.jsx)(lS.Link,{onClick:s,href:"/",children:(0,h.jsx)(sq,{src:I,alt:n.mobileLogoAltText||n.logoAltText||e.SiteContent?.shareTitle||`${e.name} logo`,width:v?`calc(${k.width}vw + var(--slider-big-logo-mobile-${a.id}, 0) / 3 * 1vw)`:`calc(${M.width}vw + var(--slider-mobile-logo-size-${a.id}, 0) / 6 * 1vw)`,height:"auto",style:{zIndex:sA.default.zindex.abovePinstripes}})}),O=T&&(0,h.jsxs)(xe,{className:`${!I&&!(x&&E)||!I&&!v?"!pt-largePaddingVert":""}
1804`,$hasAction:$,children:[C&&(0,h.jsx)(s0,{blockData:n,width:"100%",height:"100%",src:n.desktopImage,embedCode:n.embedCode,url:n.video?.url,linkToUrl:n.video?.linkToUrl,openInNewTab:n.video?.openInNewTab,alt:n.desktopImageAltText||"Hero background image",priority:!0,displayIconButton:!1,isHeroVideo:!0,homeHeroBlockId:a.id,textShadowColor:n.textShadowColor?n.textShadowColor.startsWith("#")?n.textShadowColor:g?.[n.textShadowColor].bg:sk.COLOR_DEFAULTS.hero.textShadowColor}),n.showEyebrow&&(0,h.jsx)("div",{className:"eyebrow-wrapper",children:(0,h.jsx)(sU.default,{value:n.eyebrow||"",name:"eyebrow",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:6,charLimit:45,allowAllColors:!0,blockData:n},`${d}-hero-eyebrow`)}),n.headlineOn&&(0,h.jsx)("div",{className:"headline-wrapper",children:(0,h.jsx)(sU.default,{name:"headline",value:n.headline??"",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:1,charLimit:70,allowAllColors:!0,blockData:n},`${d}-hero-headline`)}),n.showDescription&&(0,h.jsx)("div",{className:"description-wrapper",children:(0,h.jsx)(sU.default,{name:"description",className:"align-left-mobile",value:n.description||"",toolbarOption:"basic",charLimit:350,allowAllColors:!0,blockData:n},`${d}-hero-description`)})]}),B=x&&E&&(0,h.jsxs)(xt,{$isLast:!v,children:[(0,h.jsx)(sq,{width:"100vw",height:"100vw",src:E,alt:n.mobileImageAltText||"hero image",objectPosition:`${n?.mobileImageAlignment?.slice(0,-7)} center`,isBgImage:!0,priority:!0,sizes:`(min-width: ${sA.default.breakpoints.values.sm}px) 1px, 100vw`}),C&&(0,h.jsx)("div",{className:"hero-image",children:(0,h.jsx)(s0,{blockData:n,width:"100%",height:"100%",src:n.desktopImage,embedCode:n.embedCode,url:n.video?.url,linkToUrl:n.video?.linkToUrl,openInNewTab:n.video?.openInNewTab,alt:n.desktopImageAltText||"Hero background image",priority:!0,isHeroVideo:!0,homeHeroBlockId:a.id,textShadowColor:n.textShadowColor?n.textShadowColor.startsWith("#")?n.textShadowColor:g?.[n.textShadowColor].bg:sk.COLOR_DEFAULTS.hero.textShadowColor})})]}),P=$&&(0,h.jsx)(xa,{children:"form"===n.actionType?(0,h.jsx)(bg,{block:a,blockData:n}):"button"===n.actionType?(0,h.jsx)("div",{className:"relative z-10 flex flex-wrap items-center justify-center gap-4",children:n.buttons?.slice(0,n.displayNumberOfButtons||1).map(e=>(0,h.jsx)(bp,{block:a,blockData:n,button:e},e.id))}):null});return(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)(y9,{$overlay:n.displayMobileImageSettings?n.addOverlayMobile:n.addOverlay,$overlayColor:n.displayMobileImageSettings?n.overlayColorMobile:n.overlayColor,$useMobileSettings:n.displayMobileImageSettings,$blockId:a.id,$isCMS:"true"===y.default.env.NEXT_PUBLIC_IS_CMS,onClick:i,children:[C&&!x&&(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(s0,{blockData:n,width:"100%",height:"100%",embedCode:n.embedCode,url:n.video?.url,linkToUrl:n.video?.linkToUrl,openInNewTab:n.video?.openInNewTab,alt:n.desktopImageAltText||"Hero background image",priority:!0,isHeroVideo:!0,homeHeroBlockId:a.id,textShadowColor:void 0})}),(0,h.jsx)(lX.default,{onClick:i}),m&&(0,h.jsx)(y8.default,{type:"top",className:"z-auto"}),(0,h.jsx)(y6,{block:a,blockData:n,bgColor:"bg1",heroBgColor:N?.bgColor,isOpen:r,featuredPage:u,mainPages:c,isFixed:!0}),I&&(0,h.jsx)(y7,{$bigLogo:v,$hasLogo:!0,$isNavOnly:!1,$bottomPadding:A,$hasTopNavControls:w,children:R}),(0,h.jsx)("div",{id:"main-content"}),v?(0,h.jsxs)(h.Fragment,{children:[B,O,P]}):(0,h.jsxs)(h.Fragment,{children:[O,P,B]}),C&&!x&&(0,h.jsx)(xn,{}),m&&!p&&(0,h.jsx)(y8.default,{type:"bottom"})]})})};var lJ=lJ;let xo=(0,sW.styled)("header",{label:"Header",...sZ.transientOptions})`
1805  display: none;
1806  width: 100%;
1807  overflow: visible;
1808
1809  ${({theme:e})=>e.breakpoints.up("sm")} {
1810    display: flex;
1811    flex-direction: column;
1812    align-items: stretch;
1813  }
1814
1815  // Header height
1816  ${e=>e.$isHome?`
1817    // home page hero height
1818    min-height: calc(50vw + var(--slider-header-height-${e.$blockIdForLayout}) * 1vw);
1819  `:`
1820    // inner page hero height, shorter if there's no image
1821    min-height: ${e.$layoutType===sk.HERO_LAYOUT_TYPE.NO_IMAGE?`calc(40vw + var(--slider-header-height-${e.$blockIdForLayout}) * 1vw)`:`calc(45vw + var(--slider-header-height-${e.$blockIdForLayout}) * 1vw)`};
1822  `}
1823
1824  // Defaults to standard split
1825  position: relative;
1826
1827  background-color: var(--color-bg);
1828
1829  ${e=>e.$isCMS&&`
1830      ${lX.sharedEditSettingsCss};
1831    `}
1832
1833  .hero-image {
1834    background-size: cover;
1835    position: absolute;
1836    top: 0;
1837    right: 0;
1838    background-size: cover;
1839    background-position: top center;
1840    background-repeat: no-repeat;
1841    height: 100%;
1842    width: 50%;
1843    z-index: 0;
1844    background-position: top center;
1845    ${e=>e.$addOverlay&&`
1846      &:after {
1847        content: '';
1848        position: absolute;
1849        top: 0;
1850        left: 0;
1851        width: 100%;
1852        height: 100%;
1853        background-color: ${e.$overlayColor?.startsWith("#")?e.$overlayColor:`var(--color-${e.$overlayColor})`};
1854        opacity: calc(var(--slider-overlay-opacity-${e.$blockIdForImages})/100);
1855        z-index: 0;
1856      }
1857      `}
1858
1859    &.floating {
1860      margin-top: 2vw;
1861      margin-bottom: 4vw;
1862      position: relative;
1863      align-self: center;
1864      transform: none;
1865      order: 2;
1866      grid-column: 2 / span 1;
1867
1868      ${({$flipLayout:e})=>e&&`
1869    grid-column: 1 / span 1;
1870  `}
1871      top: 0;
1872    }
1873  }
1874
1875  // Flip content
1876  ${e=>!0===e.$flipLayout&&`
1877    // moves main image to left
1878    .hero-image {
1879      left: 0;
1880
1881      &.floating {
1882        order: 1;
1883      }
1884    }
1885  `}
1886
1887  // Flip content and split screen option
1888  ${e=>!0===e.$flipLayout&&[sk.HERO_LAYOUT_TYPE.ANGLED,sk.HERO_LAYOUT_TYPE.STANDARD,sk.HERO_LAYOUT_TYPE.GRADIENT,sk.HERO_LAYOUT_TYPE.FULL_WIDTH,sk.HERO_LAYOUT_TYPE.NO_BACKGROUND,sk.HERO_LAYOUT_TYPE.FLOATING].includes(e.$layoutType)&&`
1889    // moves main image to right
1890    .hero-image {
1891      button {
1892        right: auto;
1893      }
1894    }
1895  `}
1896
1897  // Angled
1898  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.ANGLED&&`
1899    .hero-image {
1900      width: 52.5%;
1901    }
1902  `}
1903
1904  // Gradient
1905  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.GRADIENT&&`
1906    .hero-image {
1907      width: 60%;
1908    }
1909  `}
1910
1911  // Full-width image
1912  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.FULL_WIDTH&&`
1913    .hero-image {
1914      width: 100%;
1915    }
1916    
1917    // Flip content
1918     ${!0===e.$flipLayout&&`    
1919      .hero-image {
1920        background-position: center left;
1921        left: 0;
1922      }`}
1923  `}
1924
1925  // No background color
1926  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.NO_BACKGROUND&&`
1927    .hero-image {
1928      width: 100%;
1929    }
1930    
1931    // Flip content
1932     ${!0===e.$flipLayout&&`    
1933      .hero-image {
1934        background-position: center left;
1935        left: 0;
1936      }`}
1937  `}
1938
1939  // Floating image
1940  ${e=>[sk.HERO_LAYOUT_TYPE.FLOATING].includes(e.$layoutType)&&`
1941    .hero-image {
1942      top: 50%;
1943      transform: translateY(-50%);
1944      width: 54vw;
1945      height: 30vw;
1946      background-size: cover;
1947      background-position: center center;
1948      position: absolute;
1949      right: 0;
1950    }
1951  `}
1952
1953  // Background image with centered content
1954  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.BACKGROUND_IMAGE&&`
1955    .hero-image {
1956      width: 100%;
1957    }
1958  `}
1959`,xi=(0,sW.styled)("div",{label:"MobileHeroWrapper"})`
1960  ${({theme:e})=>e.breakpoints.up("sm")} {
1961    display: none;
1962  }
1963`,xs=sA.default.breakpoints.values.sm,xl=`(max-width: ${xs-1}px) 1px, 100vw`,xd=(0,sW.styled)("header",{label:"HeaderNavOnly",...sZ.transientOptions})`
1964  display: none;
1965  & > nav {
1966    ${e=>e.$addBottomPadding&&"padding-bottom: 4vw;"}
1967  }
1968
1969  ${({theme:e})=>e.breakpoints.up("sm")} {
1970    display: block;
1971  }
1972
1973  // Defaults to standard split
1974  position: relative;
1975  background-color: var(--color-bg);
1976
1977  ${e=>e.$isCMS&&`
1978      ${lX.sharedEditSettingsCss};
1979    `}
1980
1981  // Flip content
1982  ${e=>!0===e.$flipLayout&&`
1983    // moves main image to left
1984    .hero-image {
1985      left: 0;
1986    }
1987  `}
1988`,xc=(0,sW.styled)("div",{label:"HeaderLayoutFlourish",...sZ.transientOptions})`
1989  position: absolute;
1990  top: 0;
1991  left: 0;
1992  width: 100%;
1993  height: 100%;
1994
1995  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.GRADIENT&&`
1996    &::before {
1997      content: '';
1998      position: absolute;
1999      inset: 0 -10vw 0 0;
2000      background: linear-gradient(to right, var(--color-bg) 0%, var(--color-bg) 100%);
2001      mask-image: 
2002        linear-gradient(
2003          to right, rgba(255,255,255, 1) 40%,
2004        rgba(255,255,255, 0.966) 42.125%,
2005        rgba(255,255,255, 0.92) 43.975%,
2006        rgba(255,255,255, 0.864) 45.65%,
2007        rgba(255,255,255, 0.8) 47.15%,
2008        rgba(255,255,255, 0.73) 48.525%,
2009        rgba(255,255,255, 0.654) 49.85%,
2010        rgba(255,255,255, 0.574) 51.125%,
2011        rgba(255,255,255, 0.493) 52.4%,
2012        rgba(255,255,255, 0.411) 53.725%,
2013        rgba(255,255,255, 0.33) 55.125%,
2014        rgba(255,255,255, 0.252) 56.675%,
2015        rgba(255,255,255, 0.179) 58.4%,
2016        rgba(255,255,255, 0.111) 60.325%,
2017        rgba(255,255,255, 0.051) 62.525%,
2018        rgba(255,255,255, 0) 100%);
2019      pointer-events: none;
2020    }
2021  `}
2022
2023  ${e=>!0===e.$flipLayout&&e.$layoutType===sk.HERO_LAYOUT_TYPE.GRADIENT&&`
2024    &::before {
2025      transform: scaleX(-1);
2026      inset: 0 0 0 -10vw;
2027    }
2028  `}
2029
2030  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.ANGLED&&`
2031    &::before {
2032      content: '';
2033      position: absolute;
2034      top: 0;
2035      bottom: 0;
2036      left: 0;
2037      width: 56.5vw;
2038      background: linear-gradient(to right, var(--color-bg) 0%, var(--color-bg) 100%);
2039      clip-path: polygon(0 0, 84% 0, 100% 101%, 0% 100%);
2040      pointer-events: none;
2041    }
2042  `}
2043
2044  ${e=>!0===e.$flipLayout&&e.$layoutType===sk.HERO_LAYOUT_TYPE.ANGLED&&`
2045    &::before {
2046      transform: scaleX(-1);
2047      left: auto;
2048      right: 0;
2049    }
2050  `}
2051`,xu=(0,sW.styled)("div",{label:"HeaderLayoutGrid",...sZ.transientOptions})`
2052  width: 100%;
2053  height: 100%;
2054  display: grid;
2055  grid-template-columns: 1fr 1fr;
2056  grid-template-rows: auto 1fr;
2057  overflow-x: clip;
2058`,xp=(0,sW.styled)("div",{label:"HeaderContent",...sZ.transientOptions})`
2059  // Default
2060  padding-left: var(--menu-padding-horiz);
2061  padding-right: var(--menu-padding-horiz);
2062  width: calc(40% + 5vw);
2063  flex-direction: column;
2064  display: flex;
2065  align-items: center;
2066  justify-content: center;
2067  grid-column: 1 / span 1;
2068  ${({$flipLayout:e})=>e&&`
2069    grid-column: 2 / span 1;
2070  `}
2071  width: 100%;
2072
2073  .social-media-icons {
2074    margin-left: auto;
2075    margin-right: auto;
2076    justify-content: ${({$isLeftAligned:e})=>e?"flex-start":"center"};
2077  }
2078
2079  // No image
2080  ${e=>(e.$layoutType===sk.HERO_LAYOUT_TYPE.NO_IMAGE||e.$layoutType===sk.HERO_LAYOUT_TYPE.BACKGROUND_IMAGE)&&`
2081      padding-left: 0;
2082      padding-right: 0;
2083    `}
2084
2085  // Flip content
2086  ${e=>!0===e.$flipLayout&&e.$layoutType!==sk.HERO_LAYOUT_TYPE.NO_IMAGE&&e.$layoutType!==sk.HERO_LAYOUT_TYPE.BACKGROUND_IMAGE&&e.$layoutType!==sk.HERO_LAYOUT_TYPE.FLOATING&&`
2087    padding-right: var(--menu-padding-horiz);
2088    right: 0;
2089    left: auto;
2090  `}
2091
2092  ${e=>!0===e.$flipLayout&&[sk.HERO_LAYOUT_TYPE.FULL_WIDTH].includes(e.$layoutType)&&`
2093    right: 0;
2094    left: auto;
2095    padding-right: 0;
2096  `}
2097
2098  ${e=>!0===e.$flipLayout&&[sk.HERO_LAYOUT_TYPE.NO_BACKGROUND].includes(e.$layoutType)&&`
2099    right: 0;
2100    left: auto;
2101    padding-right: 0;
2102  `}
2103
2104  // Full width image
2105  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.FULL_WIDTH&&`
2106    padding-top: var(--small-padding);
2107    padding-bottom: var(--small-padding);
2108    padding-left: 0;
2109    padding-right: 0;
2110  `}
2111
2112  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.NO_BACKGROUND&&`
2113    padding-left: 0;
2114    padding-right: 0;
2115  `}
2116
2117  ${e=>(e.$layoutType===sk.HERO_LAYOUT_TYPE.NO_IMAGE||e.$layoutType===sk.HERO_LAYOUT_TYPE.BACKGROUND_IMAGE)&&`
2118    width: 100%;
2119    left: var(--menu-padding-horiz);
2120    right: var(--menu-padding-horiz);
2121    grid-column: 1 / span 2;
2122  `}
2123
2124  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.FLOATING&&!0===e.$flipLayout&&`
2125    order: 2;
2126  `}
2127
2128  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.FLOATING&&!0!==e.$flipLayout&&`
2129    order: 1;
2130  `}
2131`,xm=(0,sW.styled)("div",{label:"HeaderContentInner",...sZ.transientOptions})`
2132  // Defaults
2133  padding-top: 5vw;
2134  padding-bottom: var(--standard-padding-vert);
2135  position: relative;
2136
2137  // Intro content resizing
2138
2139  & > div {
2140    margin-bottom: 1.5em;
2141  }
2142
2143  & >
2143 div:last-of-type {
2144    margin-bottom: 0;
2145  }
2146
2147  .logo-big-link {
2148    display: block;
2149    cursor: pointer;
2150    text-align: center;
2151  }
2152
2153  .hero-button {
2154    z-index: 10;
2155  }
2156
2157  // Full width image
2158  --full-width-header-content-inner-width: 4vw;
2159
2160  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.FLOATING&&`
2161    padding-top: 4vw;
2162    padding-bottom: 4vw;
2163
2164    h1 {
2165      margin-top: -0.1em;
2166    }
2167  `};
2168
2169  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.FULL_WIDTH&&`
2170    padding: 4vw var(--full-width-header-content-inner-width);
2171    padding-bottom: 4vw;
2172    background-color: var(--color-bg);
2173    width: 100%;
2174    
2175    h1 {
2176      margin-top: -0.1em;
2177    }
2178    
2179    // Rounded corners
2180    ${e.$corners===sD.THEME_CORNERS.ROUNDED&&`
2181      border-top-right-radius: 1vw;
2182      border-bottom-right-radius: 1vw;
2183    `}
2184  `};
2185
2186  // Full width image flipped
2187  ${e=>!0===e.$flipLayout&&e.$layoutType===sk.HERO_LAYOUT_TYPE.FULL_WIDTH&&`
2188    // Rounded corners
2189    ${e.$corners===sD.THEME_CORNERS.ROUNDED&&`
2190      border-top-right-radius: 0;
2191      border-bottom-right-radius: 0;
2192      border-top-left-radius: 1vw;
2193      border-bottom-left-radius: 1vw;
2194    `}
2195  `}
2196
2197  ${e=>e.$layoutType===sk.HERO_LAYOUT_TYPE.NO_BACKGROUND&&`
2198    padding: 4vw var(--full-width-header-content-inner-width);
2199    padding-left: var(--menu-padding-horiz);
2200    padding-bottom: 4vw;
2201    width: 100%;
2202
2203    h1 {
2204      margin-top: -0.1em;
2205    }
2206  `};
2207
2208  // Full width image flipped
2209  ${e=>!0===e.$flipLayout&&e.$layoutType===sk.HERO_LAYOUT_TYPE.NO_BACKGROUND&&`
2210    padding-left: var(--full-width-header-content-inner-width);
2211    padding-right: var(--menu-padding-horiz);
2212  `}
2213
2214  // No image
2215  ${e=>(e.$layoutType===sk.HERO_LAYOUT_TYPE.NO_IMAGE||e.$layoutType===sk.HERO_LAYOUT_TYPE.BACKGROUND_IMAGE)&&`
2216    width: 75%;
2217  `}
2218`,xh=(0,sW.styled)("div",{label:"LinkWrapper",...sZ.transientOptions})`
2219  display: flex;
2220  justify-content: center;
2221`,xg=(0,sW.styled)("div",{label:"HeroIntro",...sZ.transientOptions})`
2222  ${e=>(e.$layoutType===sk.HERO_LAYOUT_TYPE.NO_IMAGE||e.$layoutType===sk.HERO_LAYOUT_TYPE.BACKGROUND_IMAGE)&&`
2223    width: 70%;
2224    margin: auto;
2225  `}
2226  margin-bottom: 1.5em;
2227`,xf=(0,sW.styled)("div",{label:"StyledIntro",...sZ.transientOptions})`
2228  text-align: ${e=>e.$alignment};
2229
2230  ${({theme:e})=>e.breakpoints.down("md")} {
2231    margin-bottom: 1em;
2232  }
2233
2234  /* Hero-tuned headline → description gap; outranks the global rhythm's
2235     native 0.5em by specificity. */
2236  h1,
2237  h2 {
2238    width: 100%;
2239    margin-bottom: 0.25em;
2240  }
2241
2242  & [data-field='eyebrow'] h6 {
2243    margin-bottom: 0.35em;
2244    transition: font-size 0.2s ease-out;
2245    ${({$blockId:e})=>e&&`
2246      font-size: calc(clamp(14px, calc(1.2vw + var(--slider-eyebrow-${e}, 0) * 0.015vw), 28px) * var(--body-font-size-multiplier));
2247    `}
2248
2249    ${({theme:e})=>e.breakpoints.down("md")} {
2250      ${({$blockId:e})=>e&&`
2251      font-size: calc((14px + var(--slider-eyebrow-${e}, 0) * 0.015vw) * var(--body-font-size-multiplier));
2252      `}
2253    }
2254  }
2255
2256  .section-default-color {
2257    color: var(--color-text);
2258  }
2259
2260  & [data-field='description'] {
2261    color: var(--color-text);
2262    margin-left: auto;
2263    margin-right: auto;
2264    transition: font-size 0.2s ease-out;
2265    ${({$blockId:e})=>e&&`
2266      font-size: calc(var(--tw-font-size-body) + var(--slider-description-${e}, 0) * 0.01vw);
2267    `}
2268  }
2269
2270  .MuiContainer-root {
2271    max-width: 800px;
2272  }
2273
2274  & [data-field='headline'] h1 {
2275    ${({$blockId:e})=>e&&`
2276      font-size: calc((3.6vw + var(--slider-headline-${e}, 0) * 0.075vw) * var(--header-font-size-multiplier));
2277    `}
2278    line-height: var(--tw-line-height-headline-xl);
2279    transition: font-size 0.2s ease-out;
2280    margin-left: auto;
2281    margin-right: auto;
2282
2283    ${({theme:e})=>e.breakpoints.down("md")} {
2284      ${({$blockId:e})=>e&&`
2285      font-size: calc((4vw + var(--slider-headline-${e}, 0) * 0.075vw) * var(--header-font-size-multiplier));
2286      `}
2287    }
2288  }
2289
2290  & > div:last-child {
2291    h6,
2292    h1 {
2293      margin-bottom: 0;
2294    }
2295  }
2296`,xv=(0,sW.styled)("div",{label:"Gradient",...sZ.transientOptions})`
2297  background: linear-gradient(
2298    to bottom,
2299    rgba(0, 31, 69, 0.7) 0%,
2300    rgba(0, 31, 69, 0.6762) 8.5%,
2301    rgba(0, 31, 69, 0.644) 15.9%,
2302    rgba(0, 31, 69, 0.6048) 22.6%,
2303    rgba(0, 31, 69, 0.56) 28.6%,
2304    rgba(0, 31, 69, 0.511) 34.1%,
2305    rgba(0, 31, 69, 0.4578) 39.4%,
2306    rgba(0, 31, 69, 0.4018) 44.5%,
2307    rgba(0, 31, 69, 0.3451) 49.6%,
2308    rgba(0, 31, 69, 0.2877) 54.9%,
2309    rgba(0, 31, 69, 0.231) 60.5%,
2310    rgba(0, 31, 69, 0.1764) 66.7%,
2311    rgba(0, 31, 69, 0.1253) 73.6%,
2312    rgba(0, 31, 69, 0.0777) 81.3%,
2313    rgba(0, 31, 69, 0.0357) 90.1%,
2314    rgba(0, 31, 69, 0) 100%
2315  );
2316
2317  ${({$colorRgb:e})=>e&&`
2318    background: linear-gradient(to bottom,
2319      rgba(${e.r}, ${e.g}, ${e.b}, 0.7) 0%,
2320      rgba(${e.r}, ${e.g}, ${e.b}, 0.6762) 8.5%,
2321      rgba(${e.r}, ${e.g}, ${e.b}, 0.644) 15.9%,
2322      rgba(${e.r}, ${e.g}, ${e.b}, 0.6048) 22.6%,
2323      rgba(${e.r}, ${e.g}, ${e.b}, 0.56) 28.6%,
2324      rgba(${e.r}, ${e.g}, ${e.b}, 0.511) 34.1%,
2325      rgba(${e.r}, ${e.g}, ${e.b}, 0.4578) 39.4%,
2326      rgba(${e.r}, ${e.g}, ${e.b}, 0.4018) 44.5%,
2327      rgba(${e.r}, ${e.g}, ${e.b}, 0.3451) 49.6%,
2328      rgba(${e.r}, ${e.g}, ${e.b}, 0.2877) 54.9%,
2329      rgba(${e.r}, ${e.g}, ${e.b}, 0.231) 60.5%,
2330      rgba(${e.r}, ${e.g}, ${e.b}, 0.1764) 66.7%,
2331      rgba(${e.r}, ${e.g}, ${e.b}, 0.1253) 73.6%,
2332      rgba(${e.r}, ${e.g}, ${e.b}, 0.0777) 81.3%,
2333      rgba(${e.r}, ${e.g}, ${e.b}
2333, 0.0357) 90.1%,
2334      rgba(${e.r}, ${e.g}, ${e.b}, 0) 100%
2335    );
2336  `}
2337
2338  background-blend-mode: multiply;
2339  position: absolute;
2340  left: 0;
2341  top: 0;
2342  height: min(12vw, 100%);
2343  width: 100%;
2344  /* 0, not 1: at equal z-index, DOM order already puts this above .hero-image
2345     (an earlier sibling), which is all it needs to cover. A positive value
2346     would also paint it over the hero content — positioned, later siblings
2347     like HeaderContentInner — darkening logos/eyebrows near the top. */
2348  z-index: 0;
2349  ${({$blockId:e})=>e&&`
2350    opacity: calc(var(--slider-header-gradient-opacity-${e}, 0) / 100);
2351    `}
2352
2353  /* Hide only on the mobile hero, which handles its own overlay. On tablet
2354     the gradient stays: it keeps the hamburger/language switcher legible over
2355     the image. It can't darken the hero text — content is positioned later in
2356     the DOM (see z-index note above) and the always-padded nav bar keeps text
2357     below the gradient's strongest stops. */
2358  ${({theme:e})=>e.breakpoints.down("sm")} {
2359    display: none;
2360  }
2361`,xb=(0,sW.styled)("div",{label:"SocialIconsWrapper",...sZ.transientOptions})`
2362  .social-media-icons {
2363    ${({$blockId:e})=>e&&`
2364      font-size: calc(1vw + var(--slider-social-icons-${e}, 0) * 0.015vw);
2365      `}
2366  }
2367`;function xy({src:e,width:t,height:a,aspectRatio:n,alt:r,colorCss:o="currentColor",className:i}){let s=b.useId(),l=Number.isFinite(n)&&n>0?n:1,d=l<1,c=d?100:100*l,u=d?100/l:100;return(0,h.jsxs)("svg",{className:i,viewBox:`0 0 ${c} ${u}`,preserveAspectRatio:"xMidYMid meet",role:r?"img":"presentation","aria-label":r,style:{display:"block",color:o,width:t,height:a},children:[(0,h.jsx)("defs",{children:(0,h.jsx)("mask",{id:s,x:"0",y:"0",width:c,height:u,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"},children:(0,h.jsx)("image",{href:e,x:"0",y:"0",width:c,height:u,preserveAspectRatio:"xMidYMid meet",crossOrigin:"anonymous"})})}),(0,h.jsx)("rect",{x:"0",y:"0",width:c,height:u,fill:"currentColor",mask:`url(#${s})`})]})}let xx=(0,sW.styled)("div",{label:"IntroContainer",...sZ.transientOptions})`
2368  display: flex;
2369  flex-wrap: wrap;
2370  text-align: ${e=>e.$isTwoColumn?"left":"center"};
2371  justify-content: ${e=>e.$isTwoColumn?"space-between":"center"};
2372  flex-direction: ${e=>e.$isTwoColumn?"row":"column"};
2373  ${e=>e.$isTwoColumn&&"align-items: flex-start;"};
2374
2375  ${({theme:e})=>e.breakpoints.up("sm")} {
2376    ${e=>!e.$isTwoColumn&&`
2377      padding-left: var(--large-padding-horiz);
2378      padding-right: var(--large-padding-horiz);
2379    `}
2380  }
2381
2382  h2 {
2383    color: var(--color-headline-primary);
2384    margin-bottom: 0.5em;
2385    font-size: ${e=>`calc(var(--tw-font-size-headline-lg) + var(--slider-intro-headline-${e.$blockId}, 0) * 0.075vw)`};
2386
2387    ${({theme:e})=>e.breakpoints.down("sm")} {
2388      /* coarser slider factor on phones */
2389      font-size: ${e=>`calc(var(--tw-font-size-headline-lg) + var(--slider-intro-headline-${e.$blockId}, 0) * 0.1vw)`};
2390    }
2391  }
2392
2393  // One Column
2394  ${e=>!e.$isTwoColumn&&`
2395      .text-editor {
2396        text-align: center;
2397      }
2398  `}
2399
2400  // Two Column
2401  ${({theme:e})=>e.breakpoints.up("sm")} {
2402    ${e=>e.$isTwoColumn&&`
2403      text-align: left;
2404      justify-content: space-between;
2405      align-items: flex-start;
2406    `};
2407  }
2408
2409  // Blurb / quote area
2410  [data-field='text'] {
2411    font-size: ${e=>`calc(var(--tw-font-size-body-xl) + var(--slider-intro-body-copy-${e.$blockId}, 0) * 0.04vw)`};
2412
2413    margin-bottom: ${e=>e.$textBottomMargin};
2414    text-align: ${e=>e.$isTwoColumn?"left":"center"};
2415
2416    ${({theme:e})=>e.breakpoints.down("sm")} {
2417      text-align: center;
2418      font-size: inherit; // reset size to same as rest of body copy
2419    }
2420  }
2421
2422  // Breakpoints
2423  ${({theme:e})=>e.breakpoints.down("sm")} {
2424    padding-left: 0;
2425    padding-right: 0;
2426    text-align: center;
2427  }
2428`,xS=(0,sW.styled)("div",{label:"MediaWrapper",...sZ.transientOptions})`
2429  &.outer-image,
2430  &.video-image {
2431    display: inline-block;
2432    text-align: center;
2433    margin-bottom: calc(20px + 2vw);
2434    width: ${e=>e.$blockId?`calc(var(--slider-intro-image-size-${e.$blockId}, 0) * 1%  + 70%)`:"70%"};
2435
2436    position: relative;
2437    margin: 0 auto 4vw;
2438
2439    ${({theme:e})=>e.breakpoints.down("sm")} {
2440      width: 90%;
2441      ${e=>e.$hasImageBorder?"margin-bottom: 2em":"margin-bottom: 1.5em"};
2442    }
2443  }
2444
2445  &.outer-image {
2446    /* TODO(mime): consolidate with BlockTextField */
2447
2448    ${e=>e.$isTilted&&e.$isFlipped&&"transform: rotate(2deg);"}
2449
2450    ${e=>e.$isTilted&&!e.$isFlipped&&"transform: rotate(-2deg);"}
2451
2452    ${e=>!e.$isTilted&&"transform: rotate(0deg);"}
2453
2454    ${e=>e.$hasImageBorder&&`
2455      &::before {
2456        content: '';
2457        background: url('/img/site/curved_shadow.png');
2458        background-size: 100% 100%;
2459        height: 75vmin;
2460        mix-blend-mode: multiply;
2461        position: absolute;
2462        top: -1.5%;
2463        left: -2%;
2464        height: 107%;
2465        width: 104%;
2466        z-index: -1;
2467      }`}
2468
2469    & > div {
2470      border: 16px solid var(--color-common-white) !important;
2471
2472      ${({theme:e})=>e.breakpoints.up("xl")} {
2473        ${e=>e.$hasImageBorder?"border: 14px solid var(--color-common-white) !important":"border: 0px !important"};
2474      }
2475
2476      ${({theme:e})=>e.breakpoints.down("xl")} {
2477        ${e=>e.$hasImageBorder?"border: 14px solid var(--color-common-white) !important":"border: 0px !important"};
2478      }
2479
2480      ${({theme:e})=>e.breakpoints.down("lg")} {
2481        ${e=>e.$hasImageBorder?"border: 10px solid var(--color-common-white) !important":"border: 0px !important"};
2482      }
2483
2484      ${({theme:e})=>e.breakpoints.down("sm")} {
2485        ${e=>e.$hasImageBorder?"border: 7px solid var(--color-common-white) !important":"border: 0px !important"};
2486      }
2487    }
2488
2489    img {
2490      width: 100%;
2491      height: auto;
2492    }
2493
2494    // Two Column
2495    ${({theme:e})=>e.breakpoints.up("sm")} {
2496      ${e=>e.$isTwoColumn&&`
2497        width: ${e.$blockId?`calc(var(--slider-intro-image-size-${e.$blockId}, 0) * 1%  + 38%)`:"38%"};
2498        margin-bottom: 0;
2499
2500        ${e.$isFlipped?"margin-right: 0; order: 2;":"margin-left: 0; order: 1;"}
2501    `};
2502
2503      ${({theme:e})=>e.breakpoints.down("sm")} {
2504        ${e=>e.$isTwoColumn&&`
2505          img {
2506            object-fit: cover;
2507            object-position: top;
2508          }
2509        `};
2510      }
2511    }
2512  }
2513`,xw=(0,sW.styled)("div",{label:"WrittenContent",...sZ.transientOptions})`
2514  ${({theme:e})=>e.breakpoints.up("sm")} {
2515    ${e=>e.$isTwoColumn&&`
2516        width: ${e.$blockId?`calc(55% - var(--slider-intro-image-size-${e.$blockId}, 0) * 1%)`:"55%"};
2517        ${e.$isFlipped?"order: 1;":"order: 2;"}
2518      `}
2519  }
2520
2521  & > *:last-child {
2522    margin-bottom: 0;
2523  }
2524`,xC=(0,sW.styled)("div",{label:"Signature",...sZ.transientOptions})`
2525  position: relative;
2526
2527  display: flex;
2528  justify-content: ${e=>e.$isTwoColumn?"flex-start":"center"};
2529
2530  &:not(:last-child) {
2531    margin-bottom: 1.5em;
2532  }
2533
2534  ${e=>e.$isTwoColumn&&`
2535    margin: 0;
2536  `}
2537
2538  ${({theme:e})=>e.breakpoints.down("sm")} {
2539    justify-content: center;
2540    margin: auto;
2541  }
2542`;var xT=e.i(67844),x$=e.i(65482);function xE(e){if("u"<typeof document)return null;let t=document.createElement("template");return t.innerHTML=e,t}let xI=(0,sW.styled)(x$.List,{label:"Sidebar",...sZ.transientOptions})`
2543  position: sticky;
2544  top: 0;
2545  width: 20%;
2546  text-transform: uppercase;
2547  font-family: var(--font-family-button);
2548
2549  & li {
2550    flex-direction: column;
2551    padding-top: 1em;
2552    padding-bottom: 1em;
2553    align-items: flex-start;
2554
2555    a {
2556      width: 100%;
2557      font-size: var(--tw-font-size-button-sm);
2558      font-weight: var(--font-weight-bold);
2559      transition: 0.2s;
2560      text-decoration: none;
2561    }
2562
2563    @media (hover: hover) and (pointer: fine) {
2564      a:hover {
2565        color: var(--color-text-accent-primary);
2566      }
2567    }
2568  }
2569
2570  & li:first-of-type {
2571    padding-top: 0;
2572  }
2573
2574  & li:not(:last-child) {
2575    border-bottom: 1px solid var(--color-text-accent-primary);
2576  }
2577
2578  ${e=>e.theme.breakpoints.down("md")} {
2579    ${({$showOnMobile:e})=>e?`
2580      /* full-width list below the article — flex order in the Grid wrapper
2581         (restores the pre-2025 "standalone" mobile placement) */
2582      order: 1;
2583      position: static;
2584      width: 100%;
2585      margin-left: 0;
2586      text-align: left;
2587    `:"display: none;"}
2588  }
2589
2590  .article-type {
2591    font-weight: var(--font-weight-extrabold);
2592    color: var(--color-headline-secondary);
2593    font-size: var(--tw-font-size-button-xs);
2594    letter-spacing: 0.1em;
2595    text-transform: uppercase;
2596    margin-bottom: 1em;
2597    font-family: var(--font-family-button);
2598
2599    ${({theme:e})=>e.breakpoints.down("md")} {
2600      margin-bottom: 0.4em;
2601    }
2602  }
2603`,xN=(0,sW.styled)("div",{label:"IssuesColumn",...sZ.transientOptions})`
2604  width: 60%;
2605  margin-right: 20%;
2606
2607  ${e=>e.theme.breakpoints.down("md")} {
2608    width: 80%;
2609    margin: 0 auto;
2610  }
2611
2612  ${e=>e.theme.breakpoints.down("sm")} {
2613    width: 100%;
2614    margin-right: 0;
2615  }
2616
2617  .issue-item {
2618    &:last-of-type {
2619      margin-bottom: 0;
2620    }
2621  }
2622`,x_=(0,sW.styled)("article",{label:"IssueItem",...sZ.transientOptions})`
2623  // Corners
2624  color: var(--color-text);
2625  ${e=>e.$corners===sD.THEME_CORNERS.ROUNDED&&`
2626    border-radius: .4em;
2627  `}
2628
2629  ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&`
2630    border-radius: 0 .4em;
2631  `}
2632
2633  background: var(--color-bg);
2634  margin-bottom: var(--small-padding);
2635  padding: 7% 9%;
2636  text-align: center;
2637
2638  /* Text group → button gap; collapses when the button is hidden and the
2639     group is last. Fields inside keep the system's native rhythm. */
2640  .issue-text:not(:last-child) {
2641    margin-bottom: 1.7em;
2642  }
2643
2644  .short-description {
2645    text-align: center;
2646    ${e=>e.theme.breakpoints.down("sm")} {
2647      text-align: left;
2648    }
2649  }
2650
2651  & > div:last-of-type {
2652    margin-bottom: 0;
2653  }
2654
2655  ${e=>e.theme.breakpoints.down("md")} {
2656    padding: 0 var(--standard-padding-horiz) 11%;
2657    width: 100%;
2658    margin-right: auto;
2659    margin-left: auto;
2660
2661    padding: 11% var(--standard-padding-horiz);
2662  }
2663`,xk=(0,sW.styled)("div",{label:"CheckWrapper",...sZ.transientOptions})`
2664  position: relative;
2665  margin-bottom: 1em;
2666
2667  & .site-icon-frame {
2668    width: ${({$circled:e})=>e?"14%":"12%"};
2669    margin: 0 auto;
2670  }
2671
2672  ${e=>e.theme.breakpoints.down("sm")} {
2673    & .site-icon-frame {
2674      width: ${({$circled:e})=>e?"23%":"20%"};
2675    }
2676  }
2677
2678  &::before,
2679  &::after {
2680    content: '';
2681    background: var(--color-flourish-primary);
2682    height: 1px;
2683    position: absolute;
2684    top: 50%;
2685    /* circles fill their frame edge-to-edge, so give the flourish lines
2686       more clearance than bare icons need */
2687    width: ${({$circled:e})=>e?"29.5%":"31.5%"};
2688    ${e=>e.theme.breakpoints.down("sm")} {
2689      width: ${({$circled:e})=>e?"26%":"29.5%"};
2690    }
2691  }
2692
2693  &::before {
2694    left: 10%;
2695  }
2696
2697  &::after {
2698    right: 10%;
2699  }
2700
2701  ${e=>e.theme.breakpoints.down("sm")} {
2702    &:before {
2703      left: 6%;
2704    }
2705
2706    &:after {
2707      right: 6%;
2708    }
2709  }
2710`,xM=e=>{let t=xE(e=(e=(0,fy.sanitizeBlockHtml)(e)).replace(/<\/?h[1-6](\s[^>]*)?>/gi,""));return t?(t.content.querySelectorAll("[style]").forEach(e=>{let t=e.getAttribute("style");if(t){let a=t.split(";").filter(e=>{let t=e.trim().toLowerCase();return!t.startsWith("color:")&&!t.startsWith("text-decoration-color:")}).join(";");a.trim()?e.setAttribute("style",a):e.removeAttribute("style")}}),t.innerHTML):e},xA=({item:e,index:t,displayHref:a,onItemClick:n})=>{let r=(0,cO.resolvePostAction)(e?.visibility,e.data?.url,{isCMS:"true"===y.default.env.NEXT_PUBLIC_IS_CMS,openInNewTab:e.data?.openInNewTab}),o=xM(e.data.title),i="custom-link"===r.type&&r.openInNewTab;return"none"===r.type?(0,h.jsx)(lZ,{disableGutters:!0,className:"py-2",children:(0,h.jsx)("a",{href:`#issue-item-${t}`,onClick:e=>{e.preventDefault();let a=document.getElementById(`issue-item-${t}`);a&&a.scrollIntoView({behavior:"smooth",block:"start"})},style:{display:"block",cursor:"pointer"},dangerouslySetInnerHTML:{__html:o}})},e.id):(0,h.jsx)(lZ,{disableGutters:!0,className:"py-2",children:(0,h.jsx)("a",{href:a,onClick:a=>n(a,t,e.id,!1),target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,style:{display:"block"},dangerouslySetInnerHTML:{__html:o}})},e.id)},xR=(0,sW.styled)(x$.List,{label:"Sidebar",...sZ.transientOptions})`
2711  position: sticky;
2712  top: 0;
2713  width: 20%;
2714  text-transform: uppercase;
2715  font-family: var(--font-family-button);
2716
2717  & li {
2718    flex-direction: column;
2719    padding-top: 1em;
2720    padding-bottom: 1em;
2721    align-items: flex-start;
2722
2723    a {
2724      width: 100%;
2725      font-size: var(--tw-font-size-button-sm);
2726      font-weight: var(--font-weight-bold);
2727      transition: 0.2s;
2728      text-decoration: none;
2729    }
2730
2731    @media (hover: hover) and (pointer: fine) {
2732      a:hover {
2733        color: var(--color-text-accent-primary);
2734      }
2735    }
2736  }
2737
2738  & li:first-of-type {
2739    padding-top: 0;
2740  }
2741
2742  & li:not(:last-child) {
2743    border-bottom: 1px solid var(--color-text-accent-primary);
2744  }
2745
2746  ${e=>e.theme.breakpoints.down("sm")} {
2747    margin-left: 0;
2748    order: 1;
2749    position: static;
2750    width: 100%;
2751    text-align: left;
2752  }
2753
2754  ${e=>e.theme.breakpoints.down("sm")} {
2755    order: 1;
2756  }
2757`,xO=(0,sW.styled)("div",{label:"IssuesColumn",...sZ.transientOptions})`
2758  width: 80%;
2759
2760  ${e=>e.theme.breakpoints.down("md")} {
2761    width: 80%;
2762    margin: 0 auto;
2763  }
2764
2765  ${e=>e.theme.breakpoints.down("sm")} {
2766    width: 100%;
2767    margin-right: 0;
2768  }
2769`,xB=(0,sW.styled)("article",{label:"IssueItem",...sZ.transientOptions})`
2770  // Corners
2771  color: var(--color-text);
2772  ${e=>e.$corners===sD.THEME_CORNERS.ROUNDED&&`
2773    border-radius: .4em;
2774  `}
2775
2776  ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&`
2777    border-radius: 0 .4em;
2778  `}
2779
2780  & > button {
2781    background: var(--color-button-background);
2782    color: var(--color-button-text);
2783    /* TODO(mime): btn_style-2 */
2784    font-size: var(--tw-font-size-button);
2785
2786    .MuiButton-endIcon {
2787      margin-bottom: 1px;
2788    }
2789    path {
2790      stroke: var(--color-button-text);
2791    }
2792
2793    @media (hover: hover) and (pointer: fine) {
2794      &:hover {
2795        background: var(--color-button-background-hover);
2796        color: var(--color-button-text-hover);
2797
2798        path {
2799          stroke: var(--color-button-solid-accent);
2800        }
2801      }
2802    }
2803  }
2804
2805  ${e=>e.theme.breakpoints.down("md")} {
2806    padding: 0 var(--standard-padding-horiz) 11%;
2807    width: 100%;
2808    margin-right: auto;
2809    margin-left: auto;
2810
2811    padding: 0 0 0 var(--standard-padding-horiz);
2812  }
2813
2814  ${e=>e.theme.breakpoints.down("sm")} {
2815    padding: 0 0 11% 0;
2816
2817    & [data-field='eyebrow'] h6 {
2818      font-size: calc(3.5vw * var(--body-font-size-multiplier));
2819    }
2820  }
2821`,xP=(0,sW.styled)("div",{label:"PreviewBlock",...sZ.transientOptions})`
2822  display: grid;
2823  grid-template-columns: 50% 50%;
2824  ${({$collapseMargin:e})=>e?"":"margin-top: 3em;"}
2825
2826  ${e=>e.theme.breakpoints.down("sm")} {
2827    display: block;
2828    position: relative;
2829    z-index: ${sA.default.zindex.abovePinstripes};
2830  }
2831`,xL=(0,sW.styled)("div",{label:"IssuePreview"})`
2832  display: flex;
2833  align-items: flex-start;
2834  padding-top: 1.5vw;
2835  padding-bottom: ${e=>e.$showDescription?"2vw":"1.5vw"};
2836  border-color: var(--color-flourish-secondary);
2837  border-style: solid;
2838  border-width: 0; // hides divider borders by default
2839
2840  &:nth-of-type(odd) {
2841    border-right-width: 1px;
2842    padding-right: 10%;
2843  }
2844
2845  &:nth-of-type(even) {
2846    padding-left: 10%;
2847  }
2848
2849  // remove the padding top on the first 2 issues
2850  &:nth-of-type(3),
2851  &:nth-of-type(4) {
2852    padding-top: 0;
2853  }
2854
2855  // remove the padding bottom on the last 2 issues
2856  &:last-of-type,
2857  &:nth-last-of-type(2) {
2858    padding-bottom: 0;
2859  }
2860
2861  // hides the last issues if it's an odd number
2862  &:last-of-type:nth-of-type(odd) {
2863    display: none;
2864  }
2865
2866  h2 {
2867    color: var(--color-headline-primary);
2868    margin-top: 3.5%;
2869
2870    ${e=>e.theme.breakpoints.down("md")} {
2871      margin-top: 0.5em;
2872      margin-bottom: 0.5em;
2873      margin-top: 2%;
2874    }
2875
2876    ${e=>e.theme.breakpoints.down("sm")} {
2877      margin-top: 3.5%;
2878    }
2879  }
2880
2881  ${e=>e.theme.breakpoints.down("md")} {
2882    &:nth-of-type(2n + 1):after {
2883      height: calc(100% - 5vw);
2884    }
2885  }
2886
2887  ${e=>e.theme.breakpoints.down("sm")} {
2888    && {
2889      width: 100%;
2890      padding-left: 0;
2891      padding-right: 0;
2892      padding-top: 0;
2893      margin-bottom: 20px;
2894      border-right: none;
2895    }
2896
2897    &:last-child {
2898      margin-bottom: 0;
2899    }
2900
2901    &:last-child .text-section {
2902      padding-bottom: 0;
2903      border: none;
2904    }
2905  }
2906`,xD=(0,sW.styled)("div",{label:"PreviewTextSection"})`
2907  width: 80%;
2908  ${e=>e.theme.breakpoints.down("sm")} {
2909    padding-bottom: 30px;
2910    border-bottom: 1px solid var(--color-flourish-secondary);
2911  }
2912`,xj=(0,sW.styled)("div",{label:"PreviewDivider"})`
2913  & {
2914    width: 95%;
2915    margin-top: 1.5vw;
2916    margin-bottom: 1.5vw;
2917    border-bottom: 1px solid var(--color-flourish-secondary);
2918    height: 1px;
2919  }
2920
2921  &:nth-of-type(odd) {
2922    justify-self: start;
2923  }
2924
2925  &:nth-of-type(even) {
2926    justify-self: end;
2927  }
2928
2929  &:nth-of-type(1),
2930  &:nth-of-type(2) {
2931    display: none;
2932  }
2933
2934  ${e=>e.theme.breakpoints.down("sm")} {
2935    display: none;
2936  }
2937`,xG=(0,sW.styled)("div",{label:"PreviewCheckWrapper"})`
2938  width: 15%;
2939  margin-right: 5%;
2940  margin-top: 0;
2941
2942  ${e=>e.theme.breakpoints.down("sm")} {
2943    width: 15%;
2944    margin-right: 5%;
2945  }
2946`;var xF=sU,dT=dT;let xH=(0,sW.styled)("div",{label:"FlexContainer"})`
2947  display: flex;
2948  flex-direction: column;
2949  justify-content: space-between;
2950  row-gap: 3vw;
2951  width: 100%;
2952
2953  ${({theme:e})=>e.breakpoints.down("md")} {
2954    row-gap: 5vw;
2955  }
2956
2957  ${({theme:e})=>e.breakpoints.down("sm")} {
2958    row-gap: 7vw;
2959  }
2960`,xU=(0,sW.styled)("div",{label:"Logo"})`
2961  padding: var(--small-padding);
2962  padding-bottom: 0;
2963  & > div {
2964    margin: 0;
2965
2966    ${({theme:e})=>e.breakpoints.down("md")} {
2967      margin: 0 auto;
2968      position: relative;
2969      left: 0;
2970      top: 0;
2971    }
2972  }
2973`,xK=(0,sW.styled)("span",{label:"SiteImageWrapper",...sZ.transientOptions})`
2974  display: block;
2975  width: ${({$width:e})=>e};
2976  height: ${({$height:e})=>e};
2977  position: relative;
2978  ${({theme:e})=>e.breakpoints.down("md")} {
2979    width: 100%;
2980  }
2981  &:hover button {
2982    background: var(--color-button-background-hover);
2983    width: calc(55px + 3vw);
2984    height: calc(55px + 3vw);
2985
2986    img {
2987      width: 25%;
2988    }
2989  }
2990`,xz=(0,sW.styled)("div",{label:"VideoWrapper"})`
2991  position: relative;
2992  width: 100%;
2993  ${({$width:e,$height:t})=>`width: ${e}; padding-top: ${t};`}
2994
2995  iframe {
2996    ${({$width:e,$height:t})=>`width: ${e}; height: ${t};`}
2997    position: absolute;
2998    top: 0;
2999    left: 0;
3000    width: 100%;
3001    height: 100%;
3002  }
3003`,xV=(0,sW.styled)("div",{label:"DonatePopup",...sZ.transientOptions})`
3004  margin-top: 1.25em;
3005  width: 100%;
3006
3007  ${({theme:e})=>e.breakpoints.down("md")} {
3008    >
3008 div:nth-last-child(2) {
3009      margin-bottom: 5vw;
3010    }
3011    > div:last-child {
3012      margin-bottom: 0;
3013    }
3014  }
3015`,xW=(0,sW.styled)("div",{label:"VideoContentWrapper",...sZ.transientOptions})`
3016  display: flex;
3017  justify-content: center;
3018  flex-direction: row;
3019  align-items: flex-start;
3020  column-gap: 4vw;
3021  width: 100%;
3022  padding: 0 var(--standard-padding-horiz);
3023
3024  &:last-of-type {
3025    margin-bottom: 0;
3026  }
3027
3028  ${({theme:e,$isPortrait:t})=>e.breakpoints.down("md")} {
3029    column-gap: 4vw;
3030    flex-direction: ${({$isPortrait:e})=>e?"row":"column"};
3031  }
3032
3033  ${({theme:e})=>e.breakpoints.down("sm")} {
3034    flex-direction: column;
3035  }
3036
3037  .video-image {
3038    display: flex;
3039    align-items: flex-start;
3040    justify-content: flex-end;
3041    display: flex;
3042    justify-content: center;
3043    align-items: center;
3044
3045    .image-wrapper {
3046      position: relative;
3047    }
3048
3049    ${({theme:e,$isPortrait:t})=>e.breakpoints.down("md")} {
3050      margin-bottom: ${({$isPortrait:e})=>e?"0":"2em"};
3051      width: ${({$isPortrait:e})=>e?"auto":"100%"};
3052      height: 100%;
3053      justify-content: center;
3054    }
3055
3056    ${({theme:e})=>e.breakpoints.down("sm")} {
3057      margin-bottom: 2em;
3058      width: 100%;
3059    }
3060  }
3061  .video-item {
3062    position: relative;
3063    text-align: left;
3064    display: flex;
3065    align-items: flex-start;
3066    justify-content: center;
3067    flex-direction: column;
3068    align-self: center;
3069    width: 60%;
3070
3071    ${({theme:e})=>e.breakpoints.down("md")} {
3072      width: 100%;
3073      padding-left: 0;
3074    }
3075
3076    .text-wrapper {
3077      h2 {
3078        margin-bottom: 0.5em;
3079      }
3080    }
3081
3082    & > .MuiGrid-root {
3083      width: auto;
3084    }
3085
3086    & [data-field='title'] {
3087      ${({theme:e})=>e.breakpoints.down("md")} {
3088        margin-bottom: 0;
3089      }
3090      h2,
3091      h3,
3092      h4,
3093      h5 {
3094        color: var(--color-headline-primary);
3095      }
3096
3097      h4 {
3098        margin-bottom: 0.3em;
3099      }
3100    }
3101  }
3102`,xZ=(0,sW.styled)("div",{label:"ButtonWrapper"})`
3103  padding: 0 var(--standard-padding-horiz) var(--standard-padding-vert)
3104    var(--standard-padding-horiz);
3105`,xY=({layoutType:e,isMobile:t,isTablet:a,blockData:n,originalEmbedCode:r="",...o})=>{let{activePage:i,createUrl:s,navigate:l}=(0,sb.useNavigation)(),d=(0,s_.usePublishedSiteLink)(),[c,u]=(0,b.useState)(n.usePreviewImage?"":r),[p,m]=(0,b.useState)(!n.usePreviewImage),[g,f]=(0,b.useState)({width:0,height:0}),v=(0,b.useMemo)(()=>(0,s$.extractVideoWidthHeight)(r),[r]),{width:x,height:S}=(0,bv.useEllipseImageScaling)(v?.aspectRatio||16/9,40,18),{width:w,height:C}=(0,bv.useEllipseImageScaling)(v?.aspectRatio||16/9,40,15),{width:T,height:$}=(0,bv.useEllipseImageScaling)(v?.aspectRatio||16/9,55,55);(0,b.useEffect)(()=>{if(v){if(x>41){let e=41/x;x=41,S*=e}if(w>43){let e=43/w;w=43,C*=e}if(T>43){let e=43/T;T=43,$*=e}f({width:t?2*T:a?2*w:x,height:t?2*$:a?2*C:S})}},[t,a,v]);let E=(0,b.useMemo)(()=>{if(!r)return!1;try{let e=new DOMParser().parseFromString(r,"text/html").querySelector("iframe");if(!e||!e.src)return!1;return new URL(e.src).hostname.includes("drive.google.com")}catch{return!1}},[r]);return(0,b.useEffect)(()=>{n.usePreviewImage?(u(""),m(!1)):(u(r),m(!0))},[n.usePreviewImage,r]),(0,h.jsx)(lr.Box,{className:"video-image",sx:{width:`${g.width}vw`,height:`${g.height}vw`},children:n.usePreviewImage?(0,h.jsxs)("div",{className:"image-wrapper",children:[n.image&&(0,h.jsxs)("div",{style:{position:p?"absolute":"relative",zIndex:1,opacity:+!p,visibility:p?"hidden":"visible",transition:"all 0.3s"},children:[(0,h.jsx)(xK,{$width:`${g.width}vw`,$height:`${g.height}vw`,children:(0,h.jsx)(sq,{...o,src:n.image,alt:"",width:`${g.width}vw`,height:`${g.height}vw`})}),(0,h.jsx)(sK,{blockData:n,handleOpen:()=>{if(n.video?.linkToUrl&&n.video?.url){let{as:e,isExternal:t,linkType:a}=s({url:n.video.url}),r=e;"true"===y.default.env.NEXT_PUBLIC_IS_CMS&&(a===sM.HyperlinkType.PDF||a===sM.HyperlinkType.File)&&(r=d+n.video.url),n.video?.openInNewTab||"true"===y.default.env.NEXT_PUBLIC_IS_CMS&&t?window.open(r,"_blank","noopener,noreferrer"):t?window.location.href=r:l({url:n.video.url});return}u(E?r:(e=>{let t=new DOMParser().parseFromString(e,"text/html").querySelector("iframe");
3105if(t&&t.src){let e=new URL(t.src);return(e.hostname.includes("youtube.com")||e.hostname.includes("youtu.be")||e.hostname.includes("vimeo.com")||e.hostname.includes("wistia.com")||e.hostname.includes("wistia.net")||e.hostname.includes("dailymotion.com")||e.hostname.includes("twitch.tv"))&&(e.searchParams.set("autoplay","1"),t.src=e.toString()),t.outerHTML}return e})(r)),m(!0)}})]}),p&&c&&(0,h.jsx)(xz,{$width:`${g.width}vw`,$height:`${g.height}vw`,children:(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:sQ(c)}})})]}):p&&c&&(0,h.jsx)(xz,{$width:`${g.width}vw`,$height:`${g.height}vw`,children:(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:sQ(c)}})})})},xJ=({blockData:e})=>(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("div",{className:"text-wrapper",children:[e.showEyebrow&&(0,h.jsx)(xF.default,{className:"eyebrow-rule mb-4 pb-2",value:e.eyebrow||"Eyebrow Text Here",name:"eyebrow",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:6,charLimit:30,list:"items",alignToolbarRight:!0,blockData:e}),e.showDescription&&(0,h.jsx)(xF.default,{className:"trim-trailing-margins [&_h4]:text-site-headline-sm",name:"title",value:e.title,list:"items",toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","h4","h5","ToggleSmallText","TextColor","Lists","Links"],charLimit:400,alignToolbarRight:!0,blockData:e})]})}),xq=({block:e,blockData:t,onClick:a,logo:n,allowAllColors:r})=>{let o=(0,sE.useTheme)(),{palette:i}=(0,sO.useSiteColorPalette)(),{primarySiteFontButton:s}=(0,ly.usePrimarySiteFonts)(),{createUrl:l,navigate:d}=(0,sb.useNavigation)(),{site:c}=(0,ln.useSite)(),u=d$("video_donate"),p=s?{fontFamily:`"${s}"`}:void 0,m=(0,sR.useMediaQuery)(o.breakpoints.down(sA.default.breakpoints.values.sm)),g=(0,sR.useMediaQuery)(o.breakpoints.down(sA.default.breakpoints.values.md)),{aspectRatio:f}=(0,sY.useImageSize)(n),v=(0,bv.useEllipseImageScaling)(f,9,4),y=(0,bv.useEllipseImageScaling)(f,14,7),x=(0,bv.useEllipseImageScaling)(f,20,20),S=(0,b.useMemo)(()=>{if(i)return(0,sL.getBorderColors)(t.bgColor,i?.[t.bgColor].bgButtonBackground,i).borderSingleColor},[t,i]),w=(0,b.useMemo)(()=>(0,s$.extractVideoWidthHeight)(t.embedCode),[t.embedCode]),C=(0,b.useMemo)(()=>1>(w?.aspectRatio||16/9),[w]);return(0,h.jsxs)(xH,{children:[(0,h.jsx)(xU,{children:t.displayLogo&&(0,h.jsx)(h.Fragment,{children:m?(0,h.jsx)(sq,{src:n,alt:"Campaign logo",width:`${x.width}vw`,height:`${x.height}vw`,objectFit:"contain",objectPosition:"center",priority:!0}):(0,h.jsx)(sq,{src:n,alt:"Campaign logo",height:`${g?y.height:v.height}vw`,width:`${g?y.width:v.width}vw`,priority:!0})})}),(0,h.jsxs)(xW,{$isPortrait:C,children:[(0,h.jsx)(xY,{layoutType:t.layoutType,isMobile:m,isTablet:g,blockData:t,originalEmbedCode:t.embedCode}),(0,h.jsxs)("div",{className:"video-item",id:"donate-video-item",children:[(0,h.jsx)(xJ,{blockData:t}),(0,h.jsxs)(xV,{$flourishColor:S,children:[(0,h.jsx)("div",{className:"grid grid-cols-12 gap-3 max-sm:gap-2",children:t.items?.map((e,a)=>{let n=null===e.amount||"Other"===e.amount;return(0,h.jsx)("div",{className:"col-span-4 max-sm:col-span-6",children:(0,h.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer","data-track-click":"donation",onClick:t=>{e.url?u(e):t.preventDefault()},className:(0,sG.cn)("group inline-block h-full w-full focus-visible:outline-dotted focus-visible:outline-2 focus-visible:outline-offset-[-5px]",n?"focus-visible:outline-[var(--color-text)]":"focus-visible:outline-[var(--color-button-text)]",e.url?"":"pointer-events-none"),children:(0,h.jsx)(sj.Button,{asChild:!0,size:"medium",variant:n?"outlined":"contained",className:(0,sG.cn)("supports-[text-box-trim:trim-both]:py-[0.5em]","text-site-button-headline-xs h-full w-full p-[0.3em_0.3em_0.3em_0.3em] tracking-normal",n?"":"justify-start border-b-0 border-l-[0.3em] border-r-0 border-t-0 border-solid p-[0.3em_0.3em_0.3em_1em]",n?null:S?`border-l-[var(--color-${S})]`:"border-l-[var(--color-button-background-hover)]"),children:(0,h.jsx)("span",{children:(0,h.jsx)("span",{className:"button-content",children:n?(0,h.jsx)("span",{className:"button-label",style:p,children:t.otherButtonText||"Other"}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("span",{className:"currency button-label",style:p,children:e.currency??"$"}),(0,h.jsx)("span",{className:"button-label",style:p,children:e.amount})]})})})})})},a)})}),t.showDisclaimer&&(0,h.jsx)(lr.Box,{sx:{mt:{xs:"5vw",sm:"3vw",md:"3vw",lg:"2vw",xl:"2vw"}},children:(0,h.jsx)(dT.default,{name:"disclaimerDonate",value:t?.disclaimerDonate||sk.DISCLAIMER_DEFAULT_TEXT,color:"var(--color-text)",isLandingPopupDisclaimer:!0,alignLeft:!0,allowAllColors:r})})]})]})]}),(0,h.jsx)(xZ,{children:(0,h.jsx)("div",{className:"group inline-block max-w-full text-center",children:(0,h.jsx)(sj.Button,{onClick:e=>{e.stopPropagation(),a?.()},variant:"underline",shiftIcon:!0,size:"medium",endIcon:(0,h.jsx)(df.ArrowIcon,{}),className:"whitespace-normal text-center [text-wrap:balance] [&_.button-content]:!justify-center [&_.button-content]:!text-center",children:t.buttons?t.buttons[0]?.buttonText:"Continue to Site"})})})]})};var dT=dT;let xX=(0,sW.styled)("div",{label:"DonatePopup"})`
3106  .MuiButtonBase-root {
3107    height: 100%;
3108  }
3109  ${({theme:e})=>e.breakpoints.down("sm")} {
3110    >
3110 div:nth-last-child(2) {
3111      margin-bottom: 5vw;
3112    }
3113    > div:last-child {
3114      margin-bottom: 0;
3115    }
3116  }
3117`,xQ=({blockData:e})=>{let t=d$("donate_popup"),{primarySiteFontButton:a}=(0,ly.usePrimarySiteFonts)(),n=a?{fontFamily:`"${a}"`}:void 0;return(0,h.jsxs)(xX,{children:[(0,h.jsx)(li.Grid,{container:!0,spacing:1.5,children:e.items.map((a,r)=>(0,h.jsx)(li.Grid,{item:!0,xs:6,children:(0,h.jsx)("a",{href:a.url,target:"_blank",rel:"noopener noreferrer","data-track-click":"donation",onClick:e=>{a.url?t(a):e.preventDefault()},className:(0,sG.cn)("group inline-block w-full focus-visible:outline-dotted focus-visible:outline-2 focus-visible:outline-offset-[-5px] focus-visible:outline-current",a.url?"":"pointer-events-none"),children:(0,h.jsx)(sj.Button,{asChild:!0,size:"xl",variant:null===a.amount||"Other"===a.amount?"outlined":"contained",className:"w-full",tabIndex:-1,children:(0,h.jsx)("span",{children:(0,h.jsx)("span",{className:"button-content",children:null===a.amount||"Other"===a.amount?(0,h.jsx)("span",{className:"button-label",style:n,children:e.otherButtonText||"Other"}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("span",{className:"currency button-label",style:n,children:a.currency??"$"}),(0,h.jsx)("span",{className:"button-label",style:n,children:a.amount})]})})})})})},r))}),e.showDisclaimer&&(0,h.jsx)(lr.Box,{sx:{mt:{xs:"5vw",sm:"3vw",md:"3vw",lg:"2vw",xl:"2vw"}},children:(0,h.jsx)(dT.default,{name:"disclaimerDonate",value:e?.disclaimerDonate||e?.disclaimer||sk.DISCLAIMER_DEFAULT_TEXT,color:"var(--color-text)",isLandingPopupDisclaimer:!0,allowAllColors:!0})})]})},x0=(0,sW.styled)("div",{label:"SignupPopup"})`
3118  .MuiSelect-select {
3119    text-align: left;
3120  }
3121`,x1=({block:e,blockData:t})=>(0,h.jsx)(x0,{children:(0,h.jsx)(bg,{block:e,blockData:t})}),x2=(0,sW.styled)("div",{label:"DialogInner"})`
3122  ${"true"===y.default.env.NEXT_PUBLIC_IS_CMS?`
3123  /* the popup clips overflow, so toolbars cap at the field width and wrap,
3124     bottom-anchored to grow upward — everywhere else they stay one long row
3125     that overflows the field edge (see EditorStyling in the text editor) */
3126  && .text-editor-toolbar > :first-of-type {
3127    top: auto;
3128    bottom: -8px;
3129    max-width: 100%;
3130    flex-wrap: wrap;
3131    row-gap: 2px;
3132  }
3133  `:""}
3134
3135  color: var(--color-text);
3136  padding: 12%;
3137  ${({$isFullScreen:e})=>e&&"padding: 0; min-height: 100dvh;"}
3138  text-align: center;
3139  background: var(--color-bg);
3140  ${({$isFullScreen:e})=>e?"min-height: 100%;":"height: 100%;"}
3141  ${({$flexContent:e})=>e&&"display: flex; align-items: stretch; justify-content: center;"}
3142
3143  h2 {
3144    color: var(--color-headline-primary);
3145  }
3146
3147  .styledIntro {
3148    margin-bottom: 2vw;
3149
3150    [data-field='description']:last-child {
3151      margin-bottom: 0;
3152    }
3153  }
3154
3155  ${({theme:e})=>e.breakpoints.down("md")} {
3156    [data-field='description'] {
3157      margin-bottom: 3vw; // match to disclaimer margin top
3158    }
3159  }
3160
3161  ${({theme:e})=>e.breakpoints.down("sm")} {
3162    padding-top: 12%;
3163    padding-bottom: 12%;
3164    padding-left: var(--standard-padding-horiz);
3165    padding-right: var(--standard-padding-horiz);
3166
3167    ${({$isFullScreen:e})=>e&&"padding: 0;"}
3168
3169    [data-field='description'] {
3170      margin-bottom: 5vw; // match to disclaimer margin top
3171    }
3172
3173    .styledIntro {
3174      margin-bottom: 5vw;
3175    }
3176  }
3177`,x3=(0,sW.styled)("div",{label:"GeneralPopup"})`
3178  ${({theme:e})=>e.breakpoints.down("sm")} {
3179    button {
3180      svg {
3181        height: 12px;
3182        margin-bottom: 0;
3183      }
3184    }
3185  }
3186`,x5=!1,x4=({block:e,blockData:t,isOpen:a})=>{let n=({button:e})=>(0,h.jsx)(lo.FeaturedLink,{href:e.url||"",align:"center",buttonText:(0,cA.stripHtml)(e.buttonText??"View More").result,endIcon:(0,h.jsx)(df.ArrowIcon,{width:16,height:16}),variant:"contained",size:"medium",className:"max-w-full whitespace-normal font-bold [text-wrap:balance]"});switch(t.variant){case sk.LANDING_POPUP_TYPES.GENERAL:return(0,h.jsx)(x3,{children:(0,h.jsx)("div",{className:"flex flex-row flex-wrap justify-center gap-2",children:t.buttons?.slice(0,t.displayNumberOfButtons||1).map(e=>(0,h.jsx)(n,{button:e},e.id))})});case sk.LANDING_POPUP_TYPES.DONATE:return(0,h.jsx)(xQ,{block:e,blockData:t});case sk.LANDING_POPUP_TYPES.SIGNUP:return(0,h.jsx)(x1,{block:e,blockData:t});case sk.LANDING_POPUP_TYPES.VIDEO:return(0,h.jsx)(h.Fragment,{children:a&&(0,h.jsx)(s0,{width:"100%",height:"100%",src:"",embedCode:t.embedCode,alt:"landing popup video",open:!0,displayIconButton:!1})})}},x6=(0,sW.styled)("div",{label:"ListsWrapper",...sZ.transientOptions})`
3187  color: var(--color-text);
3188
3189  .listTitle {
3190    color: var(--color-headline-primary);
3191    padding-bottom: 1em;
3192    margin-bottom: 1.3em;
3193    border-bottom: 1px solid var(--color-flourish-secondary);
3194
3195    ${({theme:e})=>e.breakpoints.down("sm")} {
3196      padding-bottom: 0.5em;
3197      margin-bottom: 1em;
3198    }
3199  }
3200
3201  ul {
3202    padding: 0 !important;
3203    margin: 0 !important;
3204  }
3205
3206  li {
3207    position: relative;
3208    border-bottom: 1px solid var(--color-text-accent-primary);
3209    margin-bottom: 0.5em !important;
3210    padding-bottom: 0.5em;
3211    padding-left: 1.1em;
3212    list-style-type: none;
3213
3214    &:last-child {
3215      border-bottom: none;
3216    }
3217
3218    &::before {
3219      content: '•';
3220      color: var(--color-flourish-secondary);
3221      width: 0.2em;
3222      position: absolute;
3223      top: 0;
3224      left: 0.1em;
3225    }
3226  }
3227
3228  /* Nested (second-level) items: indented, hollow bullet, no separators. */
3229  li ul {
3230    margin-top: 0.5em !important;
3231    padding-left: 1em !important;
3232  }
3233
3234  li li {
3235    border-bottom: none;
3236    margin-bottom: 0.2em !important;
3237    padding-bottom: 0;
3238
3239    &::before {
3240      content: '◦';
3241    }
3242  }
3243
3244  ${e=>!e.$showDividers&&`
3245  li {
3246    border-bottom: none;
3247    /* the 0.5em padding existed to breathe around the divider line */
3248    padding-bottom: 0.2em;
3249  }
3250  `}
3251
3252  /* Visual only — the tiptap markup stays a real ul/li. Sub-bullets keep
3253     their marker and hanging indent; only the outer level goes bare. */
3254  ${e=>!e.$showBullets&&`
3255  li {
3256    padding-left: 0;
3257
3258    &::before {
3259      content: none;
3260    }
3261  }
3262
3263  li li {
3264    padding-left: 1.1em;
3265
3266    &::before {
3267      content: '◦';
3268    }
3269  }
3270  `}
3271
3272  ${({theme:e})=>e.breakpoints.down("sm")} {
3273    .MuiGrid-root:first-of-type {
3274      margin-bottom: 1.5em;
3275    }
3276  }
3277`,x8=(e,t,a)=>{let n=Array(e.length).fill(!1),r=0;return e.forEach((e,o)=>{o>0&&(a&&(e.offset??0)>0||r>=t)&&(n[o-1]=!0,r=0),r++}),e.length>0&&(n[e.length-1]=!0),n},x9=(e,t,a=4)=>{if(!e||a<1)return e;let n=24%a==0?24:2*a,r=n/a,o=Math.ceil(t/a),i=o>0?Math.floor(t/o):0,s=o>0?t%o:0,l=0;for(let t=0;t<o&&l<e.length;t++){let o=t<s?i+1:i,d=o<a?(n-o*r)/2+1:0;for(let t=0;t<o&&l<e.length;t++,l++)e[l].offset=0===t?d:0}for(;l<e.length;)e[l++].offset=0;return e},x7=(0,sW.styled)(lr.Box,{label:"OrgLogoWrapper"})`
3278  padding: calc(var(--standard-padding-vert) / 1.5)
3279    var(--standard-padding-horiz) 0 var(--standard-padding-horiz);
3280
3281  ${({theme:e})=>e.breakpoints.down("sm")} {
3282    padding: 0;
3283  }
3284`,Se=(0,sW.styled)(lr.Box,{label:"TickerWrapper"})`
3285  ${({theme:e})=>e.breakpoints.down("sm")} {
3286    /* cancel the section's mobile gutter so the ticker runs edge to edge */
3287    margin-left: calc(-1 * var(--standard-padding-horiz));
3288    margin-right: calc(-1 * var(--standard-padding-horiz));
3289  }
3290`,St=(0,sW.styled)(lr.Box,{label:"TickerViewport"})`
3291  overflow: hidden;
3292  width: 100%;
3293  mask-image: linear-gradient(
3294    to right,
3295    transparent,
3296    #000 6%,
3297    #000 94%,
3298    transparent
3299  );
3300
3301  &:hover > * {
3302    animation-play-state: paused;
3303  }
3304`,Sa=(0,sW.styled)(lr.Box,{label:"TickerTrack"})`
3305  @keyframes logos-ticker-scroll {
3306    from {
3307      transform: translateX(0);
3308    }
3309    to {
3310      transform: translateX(-50%);
3311    }
3312  }
3313
3314  display: flex;
3315  width: max-content;
3316  animation: logos-ticker-scroll var(--ticker-duration, 40s) linear infinite;
3317
3318  @media (prefers-reduced-motion: reduce) {
3319    animation-play-state: paused;
3320  }
3321`,Sn=(0,sW.styled)(lr.Box,{label:"TickerGroup",...sZ.transientOptions})`
3322  display: flex;
3323  /* with descriptions, tops align and the slot band bottom-aligns the logos */
3324  align-items: ${e=>e.$hasExtras?"flex-start":"center"};
3325  /* description columns carry their own whitespace, so the gap shrinks to
3326     keep logo centers on the same rhythm as the logo-only ticker */
3327  gap: ${e=>e.$hasExtras?"2.5rem":"5rem"};
3328  padding-right: ${e=>e.$hasExtras?"2.5rem":"5rem"};
3329
3330  & > * {
3331    flex-shrink: 0;
3332    /* descriptions need a fixed column, or text sizes items to max-content;
3333       the unscaled rem floor keeps BlockTextField's 100px min-width + padding
3334       inside the column when logos are small (slider or tablet) */
3335    ${e=>e.$hasExtras&&"width: max(calc(11vw * var(--ticker-scale, 1)), 10rem);"}
3336  }
3337
3338  ${({theme:e})=>e.breakpoints.down("md")} {
3339    gap: ${e=>e.$hasExtras?"1.75rem":"3rem"};
3340    padding-right: ${e=>e.$hasExtras?"1.75rem":"3rem"};
3341  }
3342
3343  ${({theme:e})=>e.breakpoints.down("sm")} {
3344    gap: ${e=>e.$hasExtras?"1.5rem":"2.5rem"};
3345    padding-right: ${e=>e.$hasExtras?"1.5rem":"2.5rem"};
3346
3347    & > * {
3348      ${e=>e.$hasExtras&&"width: max(calc(36vw * var(--ticker-scale, 1)), 9rem);"}
3349    }
3350  }
3351`,Sr=(0,sW.styled)(li.Grid,{label:"OrgLogo",...sZ.transientOptions})`
3352  ${e=>e.$isMonochrome&&`
3353  position: relative;
3354  `}
3355
3356  /* logo / description / button rhythm — the gap lives on the preceding
3357     sibling and collapses when it's last (same pattern as the Issues card) */
3358  & > *:not(:last-child) {
3359    margin-bottom: 1em;
3360  }
3361`,So=({index:e,logo:t,blockData:a,isMobile:n,hasExtras:r,semiAxis:o,mobileSemiAxis:i=17,slotHeight:s,isTicker:l,linkTabIndex:d,alignToolbarRight:c})=>{let{createUrl:u,navigate:p}=(0,sb.useNavigation)(),{aspectRatio:m}=(0,sY.useImageSize)(t.image),g=(0,bv.useEllipseImageScaling)(m,o,o),f=(0,bv.useEllipseImageScaling)(m,i,i),v=e=>l?`calc(${e}vw * var(--ticker-scale, 1))`:`${e}vw`,b=v(n?f.width:g.width),x=v(n?f.height:g.height),S=a.isMonochrome,w=`${t.image.replace("&fit=fillmax","&fit=clamp")}&invert=1&bg=fff`,C=S?(0,h.jsx)(xy,{src:w,width:b,height:x,aspectRatio:m,alt:"Logo of endorser",colorCss:"var(--color-text)"}):(0,h.jsx)(sq,{width:b,height:"auto",src:t.image,alt:t.imageAltText||"Logo of endorser",objectFit:"contain",objectPosition:"center",isBgImage:!0});return(0,h.jsxs)(Sr,{item:!l,xs:l?void 0:6,sm:l?void 0:3,$isMonochrome:S,display:"flex",flexDirection:"column",justifyContent:r?"flex-start":"center",alignItems:"center",sx:{height:r?"100%":void 0},children:[(0,h.jsx)(lr.Box,{display:"flex",alignItems:r?"flex-end":"center",justifyContent:"center",width:"100%",sx:{height:r&&null!=s?v(s):void 0},children:(()=>{let{as:e,isExternal:a}=u({url:t.url||""});if(!t.url)return C;let n=a?"true"===y.default.env.NEXT_PUBLIC_IS_CMS?"_blank":void 0!==t.openInNewTab?t.openInNewTab?"_blank":void 0:"_blank":void 0;return(0,h.jsx)("a",{href:e,target:n,tabIndex:d,rel:a?"noopener noreferrer":void 0,onClick:a?void 0:e=>{e.preventDefault(),p({url:t.url})},style:{textDecoration:"none",display:"block"},children:C})})()}),a.showItemDescriptions&&(0,h.jsx)(lr.Box,{width:"100%",sx:{px:{xs:1,md:2}},children:(0,h.jsx)(sU.default,{name:"description",value:t.description??"Description goes here",list:"items",listKey:e,toolbarOption:"basic",charLimit:150,className:"text-site-body-sm w-full text-center",blockData:a,alignToolbarRight:c})}),t.showButton&&(0,h.jsx)(lr.Box,{sx:{mt:"auto"},children:(0,h.jsx)(lo.FeaturedLink,{href:t.url||"",buttonId:t.id,align:"center",variant:"outlined",size:"xs",className:"text-site-body-xs max-w-full whitespace-normal uppercase leading-[1.4] [&_.button-content]:text-center",buttonText:t.buttonText,openInNewTab:t.openInNewTab})})]})};var Si=e.i(87699),Ss=e.i(25269),Sl=e.i(73705);let Sd=(0,sW.styled)("time",sZ.transientOptions)`
3362  display: block;
3363  background: var(--color-bg);
3364  text-align: center;
3365  padding: 0.8em 1.5em;
3366  letter-spacing: 0.2em;
3367  text-transform: uppercase;
3368  z-index: ${sA.default.zindex.abovePage};
3369  cursor: pointer;
3370  font-size: calc((10px + 0.2vw) * var(--header-font-size-multiplier));
3371  /* Lining figures — day/year digits sit on the baseline like button amounts */
3372  font-variant-numeric: lining-nums;
3373  /* Constant width whether the day is one digit or two (content centers) */
3374  min-width: 8em;
3375
3376  & > * {
3377    /* spans (phrasing content, valid inside <time>) that stack like divs */
3378    display: block;
3379    word-break: initial;
3380  }
3381
3382  ${e=>e.$corners===sD.THEME_CORNERS.ROUNDED&&`
3383    border-radius: .3em;
3384  `};
3385
3386  ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&`
3387    border-top-right-radius: 0.3em;
3388    border-bottom-left-radius: .3em;
3389  `};
3390
3391  .month {
3392    color: var(--color-text);
3393    font-family: var(--font-family-header);
3394    margin-bottom: 0.1em;
3395  }
3396
3397  .day {
3398    color: var(--color-text-accent-primary);
3399    font-family: var(--font-family-header);
3400    font-size: 3.5em;
3401    font-weight: var(--font-weight-black);
3402    line-height: 0.9;
3403  }
3404
3405  .year {
3406    color: var(--color-text);
3407    font-family: var(--font-family-header);
3408  }
3409
3410  .month,
3411  .year {
3412    font-size: calc((10px + 0.2vw) * var(--header-font-size-multiplier));
3413    margin-bottom: 0;
3414  }
3415`,Sc=(0,sW.styled)(Sd)`
3416  position: absolute;
3417  top: 0;
3418  transform: translateY(-50%);
3419`,Su=(0,sW.styled)(Sd)`
3420  position: relative;
3421  display: inline-block;
3422  margin-bottom: 1em;
3423
3424  ${({theme:e})=>e.breakpoints.down("sm")} {
3425    top: calc(60px + 1.2vw) 0;
3426  }
3427`,Sp=(0,b.lazy)(()=>e.A(77181).then(e=>({default:e.Calendar}))),Sm=({item:e,index:t,news:a,borderSingleColor:n,handleClick:r})=>{let{theme:o}=(0,sB.useSiteTheme)(),{primarySiteFontHeader:i}=(0,ly.usePrimarySiteFonts)(),[s,l]=(0,b.useState)(-1),{updatePost:d}=(0,xT.usePostUpdate)(),c=e=>{let t=new Date(e);return new Date(t.getTime()+6e4*t.getTimezoneOffset())},u=(0,b.useMemo)(()=>c(e.data.date),[e.data.date]),p=i?{fontFamily:`"${i}"`}:void 0;return(0,h.jsxs)(Sl.Popover,{open:s===t,onOpenChange:e=>!e&&l(-1),children:[(0,h.jsx)(Sl.PopoverAnchor,{asChild:!0,children:(0,h.jsxs)(Sc,{$corners:o?.corners,dateTime:e.data.date?.slice(0,10),onClick:a=>{var n;return n=e.id,void(a.stopPropagation(),"true"===y.default.env.NEXT_PUBLIC_IS_CMS?l(t):r(null,t,n))},className:`color-${n}`,children:[(0,h.jsx)("span",{className:"month",style:p,children:c(e.data.date).toLocaleDateString("en-EN",{month:"short"})}),(0,h.jsx)("span",{className:"day",style:p,children:c(e.data.date).toLocaleDateString("en-EN",{day:"numeric"})}),(0,h.jsx)("span",{className:"year",style:p,children:c(e.data.date).toLocaleDateString("en-EN",{year:"numeric"})})]})}),(0,h.jsx)(Sl.PopoverContent,{align:"start",className:"w-auto p-0",children:(0,h.jsx)(b.Suspense,{fallback:(0,h.jsx)("span",{}),children:(0,h.jsx)(Sp,{mode:"single",captionLayout:"dropdown",startMonth:new Date(2e3,0),endMonth:new Date(new Date().getFullYear()+5,11),selected:u,defaultMonth:u,onSelect:e=>{var n;let r,o;return e&&(n=new Date((o=e).getTime()-6e4*o.getTimezoneOffset()),void((r=a[t])&&d(r.id,"date",n.toISOString()),setTimeout(()=>l(-1),0)))}})})})]})},Sh=(0,sW.styled)("div",{label:"StyledNewsItem",...sZ.transientOptions})`
3428  // Default
3429  position: relative;
3430  padding: 4.5em 4% 6.6%;
3431  transition-property: background-color, fill, border-top;
3432  ${({$itemBorder:e})=>`border-top: calc(9px + 0.1vw) solid ${e}; background: var(--color-bg);`}
3433  color: var(--color-text);
3434
3435  // Corners
3436  ${e=>e.$corners===sD.THEME_CORNERS.ROUNDED&&`
3437    border-radius: 0 0 .5em .5em;
3438  `}
3439
3440  ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&`
3441    border-radius: 0 0 0.5em 0;
3442  `}
3443  
3444  [data-field='title'] h4 {
3445    color: var(--color-headline-primary);
3446  }
3447
3448  // News page specific styles
3449  ${({$isPreviewBlock:e})=>!e&&`
3450    width: 48%;
3451    padding-bottom: 5%;
3452    margin-bottom: 6em;
3453
3454    &:last-child,
3455    &:nth-last-of-type(2):nth-of-type(odd) {
3456      margin-bottom: 0;
3457    }
3458  `}
3459
3460  // NewsPreview specific styles
3461  ${({$isPreviewBlock:e,$showShortDescriptions:t})=>e&&`
3462    background: var(--color-bg);
3463    color: var(--color-text);
3464    width: 100%;
3465    padding-bottom: ${t?"4.5em":"5%"};
3466
3467    // For when there's only one news item
3468    max-width: 800px;
3469    margin-right: auto;
3470    margin-left: auto;
3471
3472    .MuiButton-root {
3473      border-radius: 0;
3474    }
3475  `}
3476
3477  // Remove third article at breakpoint lg to save space (NewsPreview only)
3478  ${({$isPreviewBlock:e,theme:t})=>e&&`
3479    ${t.breakpoints.down("lg")} {
3480      &:nth-of-type(3) {
3481        display: none;
3482      }
3483    }
3484  `}
3485
3486  // Desktop/tablet styles
3487  ${({theme
3487:e})=>e.breakpoints.up("sm")} {
3488    background: var(--color-bg);
3489
3490    strong,
3491    a {
3492      color: var(--color-text-accent-primary);
3493    }
3494
3495    .article-type {
3496      color: var(--color-text);
3497    }
3498
3499    [data-field='shortDescription'] {
3500      color: var(--color-text);
3501    }
3502
3503    @media (hover: hover) and (pointer: fine) {
3504      &:hover {
3505        cursor: pointer;
3506      }
3507    }
3508  }
3509
3510  // Breakpoints
3511  ${({theme:e})=>e.breakpoints.down("md")} {
3512    padding-top: calc(25px + 5vw);
3513    padding-bottom: calc(25px + 6vw);
3514  }
3515
3516  ${e=>e.theme.breakpoints.down("sm")} {
3517    width: 100%;
3518    margin-top: 0;
3519    margin-bottom: 0;
3520    margin-right: 0;
3521    margin-bottom: 20vw;
3522    padding: calc(60px + 1.2vw) var(--standard-padding-horiz);
3523
3524    &:last-child {
3525      margin-bottom: 1em;
3526    }
3527
3528    ${e=>e.$isPreviewBlock?"":`
3529      &:nth-last-of-type(2):nth-of-type(odd) {
3530        margin-bottom: 6em;
3531      }
3532    `}
3533
3534    // Bring back 3rd article at phone size (NewsPreview only)
3535    ${e=>e.$isPreviewBlock?`
3536      &:nth-of-type(3) {
3537        display: block;
3538      }
3539    `:""}
3540  }
3541
3542  [data-field='description'] {
3543    margin-bottom: 1em;
3544  }
3545
3546  .article-type {
3547    font-size: var(--tw-font-size-button-xs);
3548    letter-spacing: 0.2em;
3549    text-transform: uppercase;
3550    margin-bottom: 1em;
3551    font-family: var(--font-family-button);
3552
3553    ${({theme:e})=>e.breakpoints.down("md")} {
3554      margin-bottom: 0.4em;
3555    }
3556  }
3557`,Sg=({item:e,index:t,news:a,theme:n,block:r,blockData:o,isPreviewBlock:i=!1})=>{let{site:s,Posts:l}=(0,ln.useSite)(),{palette:d}=(0,sO.useSiteColorPalette)(),{updatePost:c}=(0,xT.usePostUpdate)(),{navigate:u,createUrl:p}=(0,sb.useNavigation)(),[m,g]=(0,b.useState)(null),f=(0,cO.resolvePostAction)(e?.visibility,e.data?.url,{isCMS:"true"===y.default.env.NEXT_PUBLIC_IS_CMS,openInNewTab:e.data?.openInNewTab}),v="custom-link"===f.type,x="none"===f.type,S=v&&f.isExternal,w=m===e.id&&"true"!==y.default.env.NEXT_PUBLIC_IS_CMS,C=(0,lq.getSinglePostPageByPostType)(s,cR.PostTypes.NEWS_LIST),T=(e,t,a,n)=>{if(e?.preventDefault(),e?.stopPropagation(),"none"!==f.type){if("custom-link"===f.type)return void(f.isExternal?f.openInNewTab?window.open(f.url,"_blank","noopener,noreferrer"):window.location.href=f.url:u({url:f.url}));u({pageId:C?.id,postId:a,queryParams:{settings:"post",source:r.id}})}},$=(0,b.useMemo)(()=>(0,sL.getBorderColors)(o.bgColor,o.innerBgColor,d).borderSingleColor,[o,o.bgColor,o.innerBgColor,d]),{strokeColor:E,strokeHoverColor:I}=(0,Si.useButtonStrokeColors)($,$),N=w?`color-${$}`:`color-${o.innerBgColor}`,_=$?`color-${$}`:`color-${d?.[o.bgColor]?.bgButtonBackground}`,k=w?`var(--color-${o.innerBgColor})`:`var(--color-${o.bgColor}-${o.innerBgColor}-border-single)`;return(0,h.jsxs)(Sh,{$corners:n?.corners,className:(0,sG.cn)(N,"group"),$itemBorder:k,$showShortDescriptions:o.showShortDescriptions,$showHoverStyles:w,$isPreviewBlock:i,onMouseEnter:()=>g(e.id),onMouseLeave:()=>g(null),onClick:(()=>{if("true"!==y.default.env.NEXT_PUBLIC_IS_CMS&&!x)return a=>T(a,t,e.id,e.slug)})(),children:[(0,h.jsx)("div",{className:"article-type",onClick:e=>e.stopPropagation(),children:(0,h.jsx)(sU.default,{name:"articleType",value:e.data.articleType??(v?o?.newsArticleLabel||"NEWS ARTICLE":o?.pressReleaseLabel||"PRESS RELEASE"),onBlurOverride:(t,a)=>{c(e.id,t,a)},toolbarOption:"headlinesOnly",charLimit:100,blockData:o},`articleType-${e.id}-${v}`)}),(0,h.jsx)(sU.default,{name:"title",value:e.data.title,onBlurOverride:(t,a)=>c(e.id,t,a),toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:4,charLimit:100,blockData:o}),o.showShortDescriptions&&(0,h.jsx)("div",{onClick:e=>{let t=e.target;("A"===t.tagName||t.closest("a"))&&e.stopPropagation()},children:(0,h.jsx)(sU.default,{name:"shortDescription",value:e.data.shortDescription||"",onBlurOverride:(t,a)=>c(e.id,t,a),toolbarOption:"basic",charLimit:500,blockData:o})}),(0,h.jsx)("div",{className:"absolute -bottom-[1.4rem] right-[4%]",children:x?null:(0,h.jsx)("div",{className:"transition-transform duration-300 ease-out group-hover:-translate-y-[1.4rem]",children:(0,h.jsx)(sj.Button,{asChild:!0,className:(0,sG.cn)("read-more border-none bg-[var(--color-bg)] text-[color:var(--color-text)]",_),bgColor:$||void 0,hoverColor:$||void 0,strokeColor:E,strokeHoverColor:I,variant:"contained",size:"default",children:(0,h.jsxs)("a",{className:"font-button",href:"custom-link"===f.type?f.isExternal?f.url:p({url:f.url}).href||"/":"single-post"===f.type&&C?.id?p({pageId:C.id,postId:e.id,queryParams:{source:r.id}}).href:"#",onClick:a=>T(a,t,e.id,e.slug),target:e.data?.url&&S&&e.data?.openInNewTab!==!1?"_blank":void 0,rel:e.data?.url&&S&&e.data?.openInNewTab!==!1?"noopener noreferrer":void 0,children:[(0,h.jsx)("span",{className:"button-content",children:(0,h.jsx)("span",{className:"button-label",children:o?.readMoreText||"Read more"})}),(0,h.jsx)("span",{className:(0,sG.cn)((0,Ss.getEndIconClasses)("contained",$,!1,!0,$,E,I)),children:(0,h.jsx)(df.ArrowIcon,{width:12,height:12})})]})})})}),(0,h.jsx)(Sm,{item:e,index:t,news:a,borderSingleColor:$,handleClick:T})]})},Sf=(0,sW.styled)(li.Grid,{label:"NewsItemWrapper",...sZ.transientOptions})`
3558  justify-content: ${e=>1===e.$numItems?"center":"space-between"};
3559  ${({$collapseMargin:e})=>e?"padding-top: 2em;":"margin-top: 5em;"}
3560
3561  #page-sidebar {
3562    margin-left: 0;
3563  }
3564`,Sv=(0,sW.styled)(li.Grid,{label:"NewsItemWrapper",...sZ.transientOptions})`
3565  justify-content: space-between;
3566  ${({$collapseMargin:e})=>e?"padding-top: 2em;":"margin-top: 5em;"}
3567
3568  gap: 3%;
3569  flex-wrap: nowrap;
3570
3571  // Setting max-width for wide screens
3572  ${({theme:e})=>e.breakpoints.up("xl")} {
3573    ${e=>2===e.$numItems&&`
3574      max-width: 60vw;
3575      margin-left: auto;
3576      margin-right: auto;
3577    `}
3578  }
3579
3580  ${({theme:e})=>e.breakpoints.down("sm")} {
3581    flex-wrap: wrap;
3582  }
3583
3584  #page-sidebar {
3585    margin-left: 0;
3586  }
3587`,Sb=(0,b.lazy)(()=>e.A(77181).then(e=>({default:e.Calendar}))),Sy=(0,sW.styled)(li.Grid,{label:"NewsItemWrapper",...sZ.transientOptions})`
3588  justify-content: space-between;
3589  padding-top: 2em;
3590
3591  margin-top: 0;
3592
3593  #page-sidebar {
3594    margin-left: 0;
3595  }
3596`,Sx=(0,sW.styled)("div",{label:"NewsItem",...sZ.transientOptions})`
3597  // Default
3598  position: relative;
3599  padding: 4.5em 4% 6.6%;
3600  transition-property: background-color, fill, border-top;
3601  color: var(--color-text);
3602
3603  // Corners
3604  ${e=>e.$corners===sD.THEME_CORNERS.ROUNDED&&`
3605    border-radius: 0 0 .5em .5em;
3606  `}
3607
3608  ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&`
3609    border-radius: 0 0 0.5em 0;
3610  `}
3611
3612  .MuiButton-root {
3613    border-radius: 0;
3614  }
3615
3616  padding-top: 0;
3617  padding-bottom: 0;
3618  padding-left: 9%;
3619  padding-right: 0;
3620  width: 80%;
3621
3622  [data-field='title'] :is(h1, h4) {
3623    color: var(--color-headline-primary);
3624  }
3625
3626  /* live sites render the title as the page h1 (SEO title link); pin h4 metrics */
3627  [data-field='title'] h1 {
3628    font-size: var(--tw-font-size-headline-sm);
3629    line-height: var(--tw-line-height-headline-sm);
3630    margin-bottom: 0.7em;
3631  }
3632
3633  ${({theme:e})=>e.breakpoints.down("md")} {
3634    padding-left: 0;
3635    width: 100%;
3636  }
3637
3638  ${({theme:e})=>e.breakpoints.down("sm")} {
3639    width: 100%;
3640    margin-top: 0;
3641    margin-bottom: 0;
3642    margin-right: 0;
3643    margin-bottom: 20vw;
3644    padding: calc(60px + 1.2vw) var(--standard-padding-horiz);
3645
3646    &:last-child {
3647      margin-bottom: 2em;
3648    }
3649  }
3650
3651  ${({theme:e})=>e.breakpoints.down("md")} {
3652    padding-bottom: calc(30px + 1.2vw);
3653    margin-top: 0;
3654  }
3655
3656  ${({theme:e})=>e.breakpoints.down("sm")} {
3657    padding: 0;
3658  }
3659
3660  .article-type {
3661    font-size: var(--tw-font-size-button-sm);
3662    letter-spacing: 0.1em;
3663    font-weight: var(--font-weight-extrabold);
3664    color: var(--color-text);
3665    text-transform: uppercase;
3666    margin-bottom: 1em;
3667    font-family: var(--font-family-button);
3668
3669    ${({theme:e})=>e.breakpoints.down("md")} {
3670      margin-bottom: 0.4em;
3671    }
3672  }
3673`,SS="true"===y.default.env.NEXT_PUBLIC_IS_CMS,Sw=e=>{let t=new Date(e);return new Date(t.getTime()+6e4*t.getTimezoneOffset())};var dv=dv;let SC="true"===y.default.env.NEXT_PUBLIC_IS_CMS,ST=(0,sW.styled)("div",{label:"NotificationBar"})`
3674  ${SC?`
3675  ${lX.sharedEditSettingsCss}
3676
3677  /* the text toolbar normally floats above the field, which clips at the top
3678     of the iframe when the bar is the first block — anchor it below the bar */
3679  && .text-editor-toolbar {
3680    position: static;
3681
3682    > :first-of-type {
3683      top: 100%;
3684      bottom: auto;
3685      margin: 4px 0 0;
3686      /* above the next block's z-50 edit settings button */
3687      z-index: 60;
3688    }
3689  }
3690  `:""}
3691`,S$=e=>(0,h.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,h.jsx)("path",{d:"M5 5l14 14M19 5L5 19"})}),SE={none:null,star:dv.default,sparkle:e=>(0,h.jsx)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,h.jsx)("path",{d:"M12 0c1.1 6.9 5 10.9 12 12-7 1.1-10.9 5.
36911-12 12-1.1-6.9-5-10.9-12-12 7-1.1 10.9-5.1 12-12z"})})},SI={left:{row:"justify-start max-sm:items-start",text:"text-left",buttons:"max-sm:justify-start"},center:{row:"justify-center max-sm:items-center",text:"text-center",buttons:"max-sm:justify-center"},right:{row:"justify-end max-sm:items-end",text:"text-right",buttons:"max-sm:justify-end"}},SN=({blockId:e,button:t})=>(0,h.jsx)("div",{className:"leading-[0]",children:(0,h.jsx)(lo.FeaturedLink,{href:t.url,buttonText:t.buttonText,blockId:e,buttonId:t.id,variant:t.buttonStyle||"contained",size:"xs",className:"text-site-body-xs uppercase leading-[1.4]",hasUrl:!!t.url,openInNewTab:t.openInNewTab})});var S_=e.i(49125);function Sk(e){e()}function SM(e,t){return a=>e(t(a))}function SA(e){return void 0!==e}function SR(){}function SO(e,t){return t(e)}function SB(...e){return e}function SP(e){e(2)}function SL(e){return e(4)}function SD(e,t){return e(1,e=>t(0,e))}function Sj(e,t){let a=e(1,e=>{a(),t(e)});return a}function SG(e){let t,a;return n=>r=>{t=r,a&&clearTimeout(a),a=setTimeout(()=>{n(t)},e)}}function SF(e,t){return e===t}function SH(e=SF){let t;return a=>n=>{e(t,n)||(t=n,a(n))}}function SU(e){return t=>a=>{e(a)&&t(a)}}function SK(e){return t=>SM(t,e)}function Sz(e){return t=>()=>{t(e)}}function SV(e,...t){let a=function(...e){return t=>e.reduceRight(SO,t)}(...t);return(t,n)=>{switch(t){case 2:SP(e);return;case 1:return e(1,a(n))}}}function SW(e,t){return a=>n=>{a(t=e(t,n))}}function SZ(e){return t=>a=>{e>0?e--:t(a)}}function SY(e){let t=null,a;return n=>r=>{t=r,a||(a=setTimeout(()=>{a=void 0,n(t)},e))}}function SJ(...e){let t=Array(e.length),a=0,n=null,r=2**e.length-1;return e.forEach((e,o)=>{let i=2**o;e(1,e=>{let s=a;a|=i,t[o]=e,s!==r&&a===r&&n&&(n(),n=null)})}),e=>o=>{let i=()=>{e([o].concat(t))};a===r?i():n=i}}function Sq(e){let t=e,a=SQ();return(e,n)=>{switch(e){case 0:t=n;break;case 1:n(t);break;case 4:return t}return a(e,n)}}function SX(e,t){var a;return a=Sq(t),SD(e,a),a}function SQ(){let e=[];return(t,a)=>{switch(t){case 0:e.slice().forEach(e=>{e(a)});return;case 2:e.splice(0,e.length);return;case 1:return e.push(a),()=>{let t=e.indexOf(a);t>-1&&e.splice(t,1)}}}}function S0(e){var t;return t=SQ(),SD(e,t),t}function S1(e,t=[],{singleton:a}={singleton:!0}){return{constructor:e,dependencies:t,id:S2(),singleton:a}}let S2=()=>Symbol();function S3(...e){let t=SQ(),a=Array(e.length),n=0,r=2**e.length-1;return e.forEach((e,o)=>{let i=2**o;e(1,e=>{a[o]=e,(n|=i)===r&&t(0,a)})}),function(e,o){switch(e){case 2:return void SP(t);case 1:return n===r&&o(a),t(1,o)}}}function S5(e,t=SF){return SV(e,SH(t))}function S4(...e){return function(t,a){switch(t){case 2:return;case 1:return function(...e){return()=>{e.map(Sk)}}(...e.map(e=>e(1,a)))}}}let S6=1,S8={0:"debug",3:"error",[S6]:"log",2:"warn"},S9=S1(()=>{let e=Sq(3);return{log:Sq((t,a,n=S6)=>{n>=((typeof globalThis>"u"?window:globalThis).VIRTUOSO_LOG_LEVEL??SL(e))&&console[S8[n]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,a)}),logLevel:e}},[],{singleton:!0}),S7=new WeakMap;function we(e){return"self"in e?e.document.documentElement:e}function wt(e){S7.delete(we(e))}function wa(e,t){return!function(e){let t=we(e),a=S7.get(t);if(void 0!==a)return a;let n="rtl"===t.ownerDocument.defaultView.getComputedStyle(t).direction;return S7.set(t,n),n}(e)?t:-t}function wn(e,t,a){return wr(e,t,a).callbackRef}function wr(e,t,a){let n=b.default.useRef(null),r=b.default.useMemo(()=>"u">typeof ResizeObserver?new ResizeObserver(t=>{let n=()=>{let a=t[0].target;null!==a.offsetParent&&e(a)};a?n():requestAnimationFrame(n)}):null,[e,a]);return{callbackRef:e=>{e&&t?(r?.observe(e),n.current=e):(n.current&&r?.unobserve(n.current),n.current=null)},ref:n}}function wo(e,t,a,n,r,o,i,s,l){return wr(b.default.useCallback(a=>{let l,d=function(e,t,a,n){let r=e.length;if(0===r)return null;let o=[];for(let i=0;i<r;i++){let r=e.item(i);if(void 0===r.dataset.index)continue;let s=parseInt(r.dataset.index),l=parseFloat(r.dataset.knownSize),d=t(r,a);if(0===d&&n("Zero-sized element, this should not happen",{child:r},3),d===l)continue;let c=o[o.length-1];0===o.length||c.size!==d||c.endIndex!==s-1?o.push({endIndex:s,size:d,startIndex:s}):o[o.length-1].endIndex++}return o}(a.children,t,s?"offsetWidth":"offsetHeight",r),c=a.parentElement;for(;void 0===c.dataset.virtuosoScroller;)c=c.parentElement;let u="window"===c.lastElementChild.dataset.viewportType;u&&(l=c.ownerDocument.defaultView);let p=i?s?i.scrollWidth:i.scrollHeight:u?s?l.document.documentElement.scrollWidth:l.document.documentElement.scrollHeight:s?c.scrollWidth:c.scrollHeight,m=i?s?i.offsetWidth:i.offsetHeight:u?s?l.innerWidth:l.innerHe
3691ight:s?c.offsetWidth:c.offsetHeight;n({scrollHeight:p,scrollTop:Math.max(i?s?wa(i,i.scrollLeft):i.scrollTop:u?s?wa(l,l.scrollX||l.document.documentElement.scrollLeft):l.scrollY||l.document.documentElement.scrollTop:s?wa(c,c.scrollLeft):c.scrollTop,0),viewportHeight:m}),o?.(s?wi("column-gap",getComputedStyle(a).columnGap,r):wi("row-gap",getComputedStyle(a).rowGap,r)),null!==d&&e(d)},[e,t,r,o,i,n,s]),a,l)}function wi(e,t,a){return"normal"!==t&&t?.endsWith("px")!==!0&&a(`${e} was not resolved to pixel value correctly`,t,2),"normal"===t?0:parseInt(t??"0",10)}function ws(e,t,a){let n=b.default.useRef(null),r=b.default.useCallback(a=>{let r,o;if(!a?.offsetParent)return;let s=a.getBoundingClientRect(),l=s.width;if(t){let e=t.getBoundingClientRect(),a=s.top-e.top;o=e.height-Math.max(0,a),r=a+t.scrollTop}else{let e=i.current.ownerDocument.defaultView;o=e.innerHeight-Math.max(0,s.top),r=s.top+e.scrollY}n.current={listHeight:s.height,offsetTop:r,visibleHeight:o,visibleWidth:l},e(n.current)},[e,t]),{callbackRef:o,ref:i}=wr(r,!0,a),s=b.default.useCallback(()=>{r(i.current)},[r,i]);return b.default.useEffect(()=>{if(t){t.addEventListener("scroll",s);let e=new ResizeObserver(()=>{requestAnimationFrame(s)});return e.observe(t),()=>{t.removeEventListener("scroll",s),e.unobserve(t)}}let e=i.current?.ownerDocument.defaultView;return e?.addEventListener("scroll",s),e?.addEventListener("resize",s),()=>{e?.removeEventListener("scroll",s),e?.removeEventListener("resize",s)}},[s,t,i]),o}let wl=S1(()=>{let e=SQ(),t=SQ(),a=Sq(0),n=SQ(),r=Sq(0),o=SQ(),i=SQ(),s=Sq(0),l=Sq(0),d=Sq(0),c=Sq(0),u=SQ(),p=SQ(),m=Sq(!1),h=Sq(!1),g=Sq(!1);return SD(SV(e,SK(({scrollTop:e})=>e)),t),SD(SV(e,SK(({scrollHeight:e})=>e)),i),SD(t,r),{deviation:a,fixedFooterHeight:d,fixedHeaderHeight:l,footerHeight:c,headerHeight:s,horizontalDirection:h,scrollBy:p,scrollContainerState:e,scrollHeight:i,scrollingInProgress:m,scrollTo:u,scrollTop:t,skipAnimationFrameInResizeObserver:g,smoothScrollTargetReached:n,statefulScrollTop:r,viewportHeight:o}},[],{singleton:!0}),wd={lvl:0};function wc(e,t){let a=e.length;if(0===a)return[];let{index:n,value:r}=t(e[0]),o=[];for(let i=1;i<a;i++){let{index:a,value:s}=t(e[i]);o.push({end:a-1,start:n,value:r}),n=a,r=s}return o.push({end:1/0,start:n,value:r}),o}function wu(e){return e===wd}function wp(e,t){if(!wu(e))return t===e.k?e.v:t<e.k?wp(e.l,t):wp(e.r,t)}function wm(e,t,a="k"){if(wu(e))return[-1/0,void 0];if(Number(e[a])===t)return[e.k,e.v];if(Number(e[a])<t){let n=wm(e.r,t,a);return n[0]===-1/0?[e.k,e.v]:n}return wm(e.l,t,a)}function wh(e,t,a){return wu(e)?wx(t,a,1):t===e.k?wb(e,{k:t,v:a}):t<e.k?ww(wS(wb(e,{l:wh(e.l,t,a)}))):ww(wS(wb(e,{r:wh(e.r,t,a)})))}function wg(e,t,a){if(wu(e))return[];let n=wm(e,t)[0];return wc(function e(t,a,n){if(wu(t))return[];let{k:r,l:o,r:i,v:s}=t,l=[];return r>a&&(l=l.concat(e(o,a,n))),r>=a&&r<=n&&l.push({k:r,v:s}),r<=n&&(l=l.concat(e(i,a,n))),l}(e,n,a),({k:e,v:t})=>({index:e,value:t}))}function wf(e){return wu(e)?[]:[...wf(e.l),{k:e.k,v:e.v},...wf(e.r)]}function wv(e){let{l:t,lvl:a,r:n}=e;if(n.lvl>=a-1&&t.lvl>=a-1)return e;if(a>n.lvl+1){if(wy(t))return wS(wb(e,{lvl:a-1}));if(!wu(t)&&!wu(t.r))return wb(t.r,{l:wb(t,{r:t.r.l}),lvl:a,r:wb(e,{l:t.r.r,lvl:a-1})});throw Error("Unexpected empty nodes")}if(wy(e))return ww(wb(e,{lvl:a-1}));if(!wu(n)&&!wu(n.l)){let t=n.l,r=wy(t)?n.lvl-1:n.lvl;return wb(t,{l:wb(e,{lvl:a-1,r:t.l}),lvl:t.lvl+1,r:ww(wb(n,{l:t.r,lvl:r}))})}throw Error("Unexpected empty nodes")}function wb(e,t){return wx(void 0!==t.k?t.k:e.k,void 0!==t.v?t.v:e.v,void 0!==t.lvl?t.lvl:e.lvl,void 0!==t.l?t.l:e.l,void 0!==t.r?t.r:e.r)}function wy(e){return wu(e)||e.lvl>e.r.lvl}function wx(e,t,a,n=wd,r=wd){return{k:e,l:n,lvl:a,r,v:t}}function wS(e){let{l:t}=e;return wu(t)||t.lvl!==e.lvl?e:wb(t,{r:wb(e,{l:t.r})})}function ww(e){let{lvl:t,r:a}=e;return wu(a)||wu(a.r)||a.lvl!==t||a.r.lvl!==t?e:wb(a,{l:wb(e,{r:a.l}),lvl:t+1})}function wC(e,t){return!!(e&&e.startIndex===t.startIndex&&e.endIndex===t.endIndex)}function wT(e,t){return!!(e&&e[0]===t[0]&&e[1]===t[1])}let w$=S1(()=>({recalcInProgress:Sq(!1)}),[],{singleton:!0});function wE(e,t,a,n=0){let r=e.length-1;for(;n<=r;){let o=Math.floor((n+r)/2),i=a(e[o],t);if(0===i)return o;if(-1===i){if(r-n<2)return o-1;r=o-1}else{if(r===n)return o;n=o+1}}
3691throw Error(`Failed binary finding record in array - ${e.join(",")}, searched for ${t}`)}function wI(e,t){return Math.round(e.getBoundingClientRect()[t])}function wN(e){return!wu(e.groupOffsetTree)}function w_({index:e},t){return t===e?0:t<e?-1:1}function wk({offset:e},t){return t===e?0:t<e?-1:1}function wM(e,t,a){if(0===t.length)return 0;let{index:n,offset:r,size:o}=t[wE(t,e,w_)],i=e-n,s=o*i+(i-1)*a+r;return s>0?s+a:s}function wA(e,t){if(!wN(t))return e;let a=0;for(;t.groupIndices[a]<=e+a;)a++;return e+a}function wR(e,t,a){if("u">typeof e.groupIndex)return t.groupIndices[e.groupIndex]+1;let n=wA("LAST"===e.index?a:e.index,t);return Math.max(0,n,Math.min(a,n))}function wO(e,[t,a,n,r]){t.length>0&&n("received item sizes",t,0);let o=e.sizeTree,i=o,s=0;if(a.length>0&&wu(o)&&2===t.length){let e=t[0].size,n=t[1].size;i=a.reduce((t,a)=>wh(wh(t,a,e),a+1,n),i)}else[i,s]=function(e,t){let a=wu(e)?0:1/0;for(let n of t){let{endIndex:t,size:r,startIndex:o}=n;if(a=Math.min(a,o),wu(e)){e=wh(e,0,r);continue}let i=wg(e,o-1,t+1);if(i.some(function(e){let{endIndex:t,size:a,startIndex:n}=e;return e=>e.start===n&&(e.end===t||e.end===1/0)&&e.value===a}(n)))continue;let s=!1,l=!1;for(let{end:a,start:n,value:o}of i)s?(t>=n||r===o)&&(e=function e(t,a){if(wu(t))return wd;let{k:n,l:r,r:o}=t;if(a===n){if(wu(r))return o;if(wu(o))return r;let[e,a]=function e(t){return wu(t.r)?[t.k,t.v]:e(t.r)}(r);return wv(wb(t,{k:e,l:function e(t){return wu(t.r)?t.l:wv(wb(t,{r:e(t.r)}))}(r),v:a}))}return a<n?wv(wb(t,{l:e(r,a)})):wv(wb(t,{r:e(o,a)}))}(e,n)):(l=o!==r,s=!0),a>t&&t>=n&&o!==r&&(e=wh(e,t+1,o));l&&(e=wh(e,o,r))}return[e,a]}(i,t);if(i===o)return e;let{lastIndex:l,lastOffset:d,lastSize:c,offsetTree:u}=wP(e.offsetTree,s,i,r);return{groupIndices:a,groupOffsetTree:a.reduce((e,t)=>wh(e,t,wM(t,u,r)),wd),lastIndex:l,lastOffset:d,lastSize:c,offsetTree:u,sizeTree:i}}function wB(e,t){let a=0,n=0;for(;a<e;)a+=t[n+1]-t[n]-1,n++;return n-(a!==e)}function wP(e,t,a,n){let r=e,o=0,i=0,s=0,l=0;if(0!==t){l=wE(r,t-1,w_),s=r[l].offset;let e=wm(a,t-1);o=e[0],i=e[1],r.length&&r[l].size===wm(a,t)[1]&&(l-=1),r=r.slice(0,l+1)}else r=[];for(let{start:e,value:l}of wg(a,t,1/0)){let t=e-o,a=t*i+s+t*n;r.push({index:e,offset:a,size:l}),o=e,s=a,i=l}return{lastIndex:o,lastOffset:s,lastSize:i,offsetTree:r}}function wL(e){return{index:e.index,value:e}}let wD={offsetHeight:"height",offsetWidth:"width"},wj=S1(([{log:e},{recalcInProgress:t}])=>{let a=SQ(),n=SQ(),r=SX(n,0),o=SQ(),i=SQ(),s=Sq(0),l=Sq([]),d=Sq(void 0),c=Sq(void 0),u=Sq(void 0),p=Sq(void 0),m=Sq((e,t)=>wI(e,wD[t])),h=Sq(void 0),g=Sq(0),f={groupIndices:[],groupOffsetTree:wd,lastIndex:0,lastOffset:0,lastSize:0,offsetTree:[],sizeTree:wd},v=SX(SV(a,SJ(l,e,g),SW(wO,f),SH()),f),b=SX(SV(l,SH(),SW((e,t)=>({current:t,prev:e.current}),{current:[],prev:[]}),SK(({prev:e})=>e)),[]);SD(SV(l,SU(e=>e.length>0),SJ(v,g),SK(([e,t,a])=>{let n=e.reduce((e,n,r)=>wh(e,n,wM(n,t.offsetTree,a)||r),wd);return{...t,groupIndices:e,groupOffsetTree:n}})),v),SD(SV(n,SJ(v),SU(([e,{lastIndex:t}])=>e<t),SK(([e,{lastIndex:t,lastSize:a}])=>[{endIndex:t,size:a,startIndex:e}])),a),SD(d,c);let y=SX(SV(d,SK(e=>void 0===e)),!0);SD(SV(c,SU(e=>void 0!==e&&wu(SL(v).sizeTree)),SK(e=>{let t=SL(u),a=SL(l).length>0;return void 0!==t&&0!==t?a?[{endIndex:0,size:t,startIndex:0},{endIndex:1,size:e,startIndex:1}]:[]:[{endIndex:0,size:e,startIndex:0}]})),a),SD(SV(p,SU(e=>void 0!==e&&e.length>0&&wu(SL(v).sizeTree)),SK(e=>{let t=[],a=e[0],n=0;for(let r=1;r<e.length;r++){let o=e[r];o!==a&&(t.push({endIndex:r-1,size:a,startIndex:n}),a=o,n=r)}return t.push({endIndex:e.length-1,size:a,startIndex:n}),t})),a),SD(SV(l,SJ(u,c),SU(([,e,t])=>void 0!==e&&void 0!==t),SK(([e,t,a])=>{let n=[];for(let r=0;r<e.length;r++){let o=e[r],i=e[r+1];n.push({startIndex:o,endIndex:o,size:t}),void 0!==i&&n.push({startIndex:o+1,endIndex:i-1,size:a})}return n})),a);let x=S0(SV(a,SJ(v),SW(({sizes:e},[t,a])=>({changed:a!==e,sizes:a}),{changed:!1,sizes:f}),SK(e=>e.changed)));SV(s,SW((e,t)=>({diff:e.prev-t,prev:t}),{diff:0,prev:0}),SK(e=>e.diff))(1,e=>{let{groupIndices:a}=SL(v);if(e>0)t(0,!0),o(0,e+wB(e,a));else if(e<0){let t=SL(b);t.length>0&&(e-=wB(-e,t)),i(0,e)}}),SV(s,SJ(e))(1,([e,t])=>{e<0&&t("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:s},3)});let S=S0(o);SD(SV(o,SJ(v),SK(([e,t])=>{let a=t.groupIndices.length>0,n=[],r=t.lastSize;if(a){let a=wp(t.sizeTree,0),o=0,i=0;for(;o<e;){let e=t.groupIndices[i],s=t.groupIndices.length===i+1?1/0:t.groupIndices[i+1]-e-1;n.push({endIndex:e,size:a,startIndex:e}),n.push({endIndex:e+1+s-1,size:r,startIndex:e+1}),i++,o+=s+1}let s=wf(t.sizeTree);return o!==e&&s.shift(),s.reduce((t,{k:a,v:n})=>{let r=t.ranges;return 0!==t.prevSize&&(r=[...t.ranges,{endIndex:a+e-1,size:t.prevSize,startIndex:t.prevIndex}]),{prevIndex:a+e,prevSize:n,ranges:r}},{prevIndex:e,prevSize:0,ranges:n}).ranges}return wf(t.sizeTree).reduce((t,{k:a,v:n})=>({prevIndex:a+e,prevSize:n,ranges:[...t.ranges,{endIndex:a+e-1,size:t.prevSize,startIndex:t.prevIndex}]}),{prevIndex:0,prevSize:r,ranges:[]}).ranges})),a);let w=S0(SV(i,SJ(v,g),SK(([e,{offsetTree:t},a])=>
3691wM(-e,t,a))));return SD(SV(i,SJ(v,g),SK(([e,t,a])=>{if(t.groupIndices.length>0){if(wu(t.sizeTree))return t;let n=wd,r=SL(b),o=0,i=0,s=0;for(;o<-e;){s=r[i];let e=r[i+1]-s-1;i++,o+=e+1}return n=wf(t.sizeTree).reduce((t,{k:a,v:n})=>wh(t,Math.max(0,a+e),n),n),o!==-e&&(n=wh(n,0,wp(t.sizeTree,s)),n=wh(n,1,wm(t.sizeTree,-e+1)[1])),{...t,sizeTree:n,...wP(t.offsetTree,0,n,a)}}let n=wf(t.sizeTree).reduce((t,{k:a,v:n})=>wh(t,Math.max(0,a+e),n),wd);return{...t,sizeTree:n,...wP(t.offsetTree,0,n,a)}})),v),{beforeUnshiftWith:S,data:h,defaultItemSize:c,firstItemIndex:s,fixedItemSize:d,fixedGroupSize:u,gap:g,groupIndices:l,heightEstimates:p,itemSize:m,listRefresh:x,shiftWith:i,shiftWithOffset:w,sizeRanges:a,sizes:v,statefulTotalCount:r,totalCount:n,trackItemSizes:y,unshiftWith:o}},SB(S9,w$),{singleton:!0});function wG(e){return e.reduce((e,t)=>(e.groupIndices.push(e.totalCount),e.totalCount+=t+1,e),{groupIndices:[],totalCount:0})}let wF=S1(([{groupIndices:e,sizes:t,totalCount:a},{headerHeight:n,scrollTop:r}])=>{let o=SQ(),i=SQ(),s=S0(SV(o,SK(wG)));return SD(SV(s,SK(e=>e.totalCount)),a),SD(SV(s,SK(e=>e.groupIndices)),e),SD(SV(S3(r,t,n),SU(([e,t])=>wN(t)),SK(([e,t,a])=>wm(t.groupOffsetTree,Math.max(e-a,0),"v")[0]),SH(),SK(e=>[e])),i),{groupCounts:o,topItemsIndexes:i}},SB(wj,wl)),wH=S1(([{log:e}])=>{let t=Sq(!1),a=S0(SV(t,SU(e=>e),SH()));return t(1,t=>{t&&SL(e)("props updated",{},0)}),{didMount:a,propsReady:t}},SB(S9),{singleton:!0}),wU="u">typeof document&&"scrollBehavior"in document.documentElement.style;function wK(e){let t="number"==typeof e?{index:e}:e;return t.align||(t.align="start"),t.behavior&&wU||(t.behavior="auto"),void 0===t.offset&&(t.offset=0),t}let wz=S1(([{gap:e,listRefresh:t,sizes:a,totalCount:n},{fixedFooterHeight:r,fixedHeaderHeight:o,footerHeight:i,headerHeight:s,scrollingInProgress:l,scrollTo:d,smoothScrollTargetReached:c,viewportHeight:u},{log:p}])=>{let m=SQ(),h=SQ(),g=Sq(0),f=null,v=null,b=null;function y(){null!==f&&(f(),f=null),null!==b&&(b(),b=null),v&&(clearTimeout(v),v=null),l(0,!1)}return SD(SV(m,SJ(a,u,n,g,s,i,p),SJ(e,o,r),SK(([[e,a,n,r,o,i,s,d],u,p,g])=>{let x=wK(e),{align:S,behavior:w,offset:C}=x,T=r-1,$=wR(x,a,T),E=wM($,a.offsetTree,u)+i;"end"===S?(E+=p+wm(a.sizeTree,$)[1]-n+g,$===T&&(E+=s)):"center"===S?E+=(p+wm(a.sizeTree,$)[1]-n+g)/2:E-=o,void 0!==C&&0!==C&&(E+=C);let I=t=>{y(),t?(d("retrying to scroll to",{location:e},0),m(0,e)):(h(0,!0),d("list did not change, scroll successful",{},0))};if(y(),"smooth"===w){let e=!1;b=t(1,t=>{e=e||t}),f=Sj(c,()=>{I(e)})}else f=Sj(SV(t,e=>{let t=setTimeout(()=>{e(!1)},150);return a=>{a&&(e(!0),clearTimeout(t))}}),I);return v=setTimeout(()=>{y()},1200),l(0,!0),d("scrolling from index to",{behavior:w,index:$,top:E},0),{behavior:w,top:E}})),d),{scrollTargetReached:h,scrollToIndex:m,topListHeight:g}},SB(wj,wl,S9),{singleton:!0});function wV(e,t){0===e?t():requestAnimationFrame(()=>{wV(e-1,t)})}function wW(e,t){return"number"==typeof e?e:"LAST"===e.index?t-1:e.index}let wZ=S1(([{defaultItemSize:e,listRefresh:t,sizes:a},{scrollTop:n},{scrollTargetReached:r,scrollToIndex:o},{didMount:i}])=>{let s=Sq(!0),l=Sq(0),d=Sq(!0);return SD(SV(i,SJ(l),SU(([e,t])=>0!==t),Sz(!1)),s),SD(SV(i,SJ(l),SU(([e,t])=>0!==t),Sz(!1)),d),SV(S3(t,i),SJ(s,a,e,d),SU(([[,e],t,{sizeTree:a},n,r])=>e&&(!wu(a)||SA(n))&&!t&&!r),SJ(l))(1,([,e])=>{Sj(r,()=>{d(0,!0)}),wV(4,()=>{Sj(n,()=>{s(0,!0)}),o(0,e)})}),{initialItemFinalLocationReached:d,initialTopMostItemIndex:l,scrolledToInitialItem:s}},SB(wj,wl,wz,wH),{singleton:!0});function wY(e,t){return 1.01>Math.abs(e-t)}let wJ="down",wq={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollHeight:0,scrollTop:0,viewportHeight:0}},wX=S1(([{footerHeight:e,headerHeight:t,scrollBy:a,scrollContainerState:n,scrollTop:r,viewportHeight:o}])=>{let i=Sq(!1),s=Sq(!0),l=SQ(),d=SQ(),c=Sq(4),u=Sq(0),p=SX(SV(S4(SV(S5(r),SZ(1),Sz(!0)),SV(S5(r),SZ(1),Sz(!1),SG(100))),SH()),!1),m=SX(SV(S4(SV(a,Sz(!0)),SV(a,Sz(!1),SG(200))),SH()),!1);SD(SV(S3(S5(r),S5(u)),SK(([e,t])=>e<=t),SH()),s),SD(SV(s,SY(50)),d);let h=S0(SV(S3(n,S5(o),S5(t),S5(e),S5(c)),SW((e,[{scrollHeight:t,scrollTop:a},n,r,o,i])=>
3691{let s={scrollHeight:t,scrollTop:a,viewportHeight:n};if(a+n-t>-i){let t,n;return a>e.state.scrollTop?(t="SCROLLED_DOWN",n=e.state.scrollTop-a):(t="SIZE_DECREASED",n=e.state.scrollTop-a||e.scrollTopDelta),{atBottom:!0,atBottomBecause:t,scrollTopDelta:n,state:s}}return{atBottom:!1,notAtBottomBecause:s.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":n<e.state.viewportHeight?"VIEWPORT_HEIGHT_DECREASING":a<e.state.scrollTop?"SCROLLING_UPWARDS":"NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM",state:s}},wq),SH((e,t)=>void 0!==e&&e.atBottom===t.atBottom))),g=SX(SV(n,SW((e,{scrollHeight:t,scrollTop:a,viewportHeight:n})=>{if(!wY(e.scrollHeight,t)){let r=t-(a+n)<1;return e.scrollTop!==a&&r?{changed:!0,jump:e.scrollTop-a,scrollHeight:t,scrollTop:a}:{changed:!0,jump:0,scrollHeight:t,scrollTop:a}}return{changed:!1,jump:0,scrollHeight:t,scrollTop:a}},{changed:!1,jump:0,scrollHeight:0,scrollTop:0}),SU(e=>e.changed),SK(e=>e.jump)),0);SD(SV(h,SK(e=>e.atBottom)),i),SD(SV(i,SY(50)),l);let f=Sq(wJ);SD(SV(n,SK(({scrollTop:e})=>e),SH(),SW((e,t)=>SL(m)?{direction:e.direction,prevScrollTop:t}:{direction:t<e.prevScrollTop?"up":wJ,prevScrollTop:t},{direction:wJ,prevScrollTop:0}),SK(e=>e.direction)),f),SD(SV(n,SY(50),Sz("none")),f);let v=Sq(0);return SD(SV(p,SU(e=>!e),Sz(0)),v),SD(SV(r,SY(100),SJ(p),SU(([e,t])=>t),SW(([e,t],[a])=>[t,a],[0,0]),SK(([e,t])=>t-e)),v),{atBottomState:h,atBottomStateChange:l,atBottomThreshold:c,atTopStateChange:d,atTopThreshold:u,isAtBottom:i,isAtTop:s,isScrolling:p,lastJumpDueToItemResize:g,scrollDirection:f,scrollVelocity:v}},SB(wl)),wQ="bottom",w0="none";function w1(e,t,a){return"number"==typeof e?"up"===a&&"top"===t||a===wJ&&t===wQ?e:0:"up"===a?"top"===t?e.main:e.reverse:t===wQ?e.main:e.reverse}function w2(e,t){return"number"==typeof e?e:e[t]??0}let w3=S1(([{deviation:e,fixedHeaderHeight:t,headerHeight:a,scrollTop:n,viewportHeight:r}])=>{let o=SQ(),i=Sq(0),s=Sq(0),l=Sq(0),d=SX(SV(S3(S5(n),S5(r),S5(a),S5(o,wT),S5(l),S5(i),S5(t),S5(e),S5(s)),SK(([e,t,a,[n,r],o,i,s,l,d])=>{let c=e-l,u=Math.max(a-c,0),p=w0,m=w2(d,"top"),h=w2(d,wQ);return n-=l,n+=a+s,r+=a+s,n>e+(i+s)-m&&(p="up"),(r-=l)<e-u+t+h&&(p=wJ),p!==w0?[Math.max(c-a-w1(o,"top",p)-m,0),c-u-s+t+w1(o,wQ,p)+h]:null}),SU(e=>null!==e),SH(wT)),[0,0]);return{increaseViewportBy:s,listBoundary:o,overscan:l,topListHeight:i,visibleRange:d}},SB(wl),{singleton:!0}),w5={bottom:0,firstItemIndex:0,items:[],offsetBottom:0,offsetTop:0,top:0,topItems:[],topListHeight:0,totalCount:0};function w4(e,t,a,n,r,o){let{lastIndex:i,lastOffset:s,lastSize:l}=r,d=0,c=0;if(e.length>0){d=e[0].offset;let t=e[e.length-1];c=t.offset+t.size}let u=a-i,p=d,m=s+u*l+(u-1)*n-c;return{bottom:c,firstItemIndex:o,items:w8(e,r,o),offsetBottom:m,offsetTop:d,top:p,topItems:w8(t,r,o),topListHeight:t.reduce((e,t)=>t.size+e,0),totalCount:a}}function w6(e,t,a,n,r,o){let i=0;if(a.groupIndices.length>0)for(let t of a.groupIndices){if(t-i>=e)break;i++}let s=e+i,l=wW(t,s);return w4(Array.from({length:s}).map((e,t)=>({data:o[t+l],index:t+l,offset:0,size:0})),[],s,r,a,n)}function w8(e,t,a){if(0===e.length)return[];if(!wN(t))return e.map(e=>({...e,index:e.index+a,originalIndex:e.index}));let n=e[0].index,r=e[e.length-1].index,o=[],i=wg(t.groupOffsetTree,n,r),s,l=0;for(let n of e){let e;(!s||s.end<n.index)&&(s=i.shift(),l=t.groupIndices.indexOf(s.start)),e=n.index===s.start?{index:l,type:"group"}:{groupIndex:l,index:n.index-(l+1)+a},o.push({...e,data:n.data,offset:n.offset,originalIndex:n.index,size:n.size})}return o}function w9(e,t){return void 0===e?0:"number"==typeof e?e:e[t]??0}let w7=S1(([{data:e,firstItemIndex:t,gap:a,sizes:n,totalCount:r},o,{listBoundary:i,topListHeight:s,visibleRange:l},{initialTopMostItemIndex:d,scrolledToInitialItem:c},{topListHeight:u},p,{didMount:m},{recalcInProgress:h}])=>{let g=Sq([]),f=Sq(0),v=SQ(),b=Sq(0);SD(o.topItemsIndexes,g);let y=SX(SV(S3(m,h,S5(l,wT),S5(r),S5(n),S5(d),c,S5(g),S5(t),S5(a),S5(b),e),SU(([e,t,,a,,,,,,,,n])=>{let r=void 0!==n&&n.length!==a;return e&&!t&&!r}),SK(([,,[e,t],a,n,r,o,i,s,l,d,c])=>{var u;let{offsetTree:p,sizeTree:m}=n,h=SL(f);if(0===a)return{...w5,totalCount:a};if(0===e&&0===t)return 0===h?{...w5,totalCount:a}:w6(h,r,n,s,l,c||[]);if(wu(m))return h>0?null:w4(function(e,t,a){if(wN(t)){let n=wA(e,t);return[{index:wm(t.groupOffsetTree,n)[0],offset:0,size:0},{data:a?.[0],index:n,offset:0,size:0}]}return[{data:a?.[0],index:e,offset:0,size:0}]}(wW(r,a),n,c),[],a,l,n,s);let g=[];if(i.length>0){let e=i[0],t=i[i.length-1],a=0;for(let n of wg(m,e,t)){let r=n.value,o=Math.max(n.start,e),i=Math.min(n.end,t);for(let e=o;e<=i;e++)g.push({data:c?.[e],index:e,offset:a,size:r}),a+=r}}if(!o)return w4([],g,a,l,n,s);let v=i.length>0?i[i.length-1]+1:0,b=function(e,t,a,n=0){let r,o;return n>0&&(t=Math.max(t,e[wE(e,n,w_)].offset)),wc((r=wE(e,t,wk),o=wE(e,a,wk,r),e.slice(r,o+1)),wL)}(p,e,t,v);if(0===b.length)return null;let y=a-1,x=((a=>{for(let n of b){let r=n.value,o=r.offset,i=n.start,s=r.size;if(r.offset<e){let t=(i+=Math.floor((e-r.offset+l)/(s+l)))-n.start;o+=t*s+t*l}
3691i<v&&(o+=(v-i)*s,i=v);let d=Math.min(n.end,y);for(let e=i;e<=d&&!(o>=t);e++)a.push({data:c?.[e],index:e,offset:o,size:s}),o+=s+l}})(u=[]),u),S=w9(d,"top"),w=w9(d,wQ);if(x.length>0&&(S>0||w>0)){let e=x[0],t=x[x.length-1];if(S>0&&e.index>v){let t=Math.min(S,e.index-v),a=[],n=e.offset;for(let r=e.index-1;r>=e.index-t;r--){let t=wg(m,r,r)[0]?.value??e.size;n-=t+l,a.unshift({data:c?.[r],index:r,offset:n,size:t})}x.unshift(...a)}if(w>0&&t.index<y){let e=Math.min(w,y-t.index),a=t.offset+t.size+l;for(let n=t.index+1;n<=t.index+e;n++){let e=wg(m,n,n)[0]?.value??t.size;x.push({data:c?.[n],index:n,offset:a,size:e}),a+=e+l}}}return w4(x,g,a,l,n,s)}),SU(e=>null!==e),SH()),w5);SD(SV(e,SU(SA),SK(e=>e?.length)),r),SD(SV(y,SK(e=>e.topListHeight)),u),SD(u,s),SD(SV(y,SK(e=>[e.top,e.bottom])),i),SD(SV(y,SK(e=>e.items)),v);let x=S0(SV(y,SU(({items:e})=>e.length>0),SJ(r,e),SU(([{items:e},t])=>e[e.length-1].originalIndex===t-1),SK(([,e,t])=>[e-1,t]),SH(wT),SK(([e])=>e))),S=S0(SV(y,SY(200),SU(({items:e,topItems:t})=>e.length>0&&e[0].originalIndex===t.length),SK(({items:e})=>e[0].index),SH())),w=S0(SV(y,SU(({items:e})=>e.length>0),SK(({items:e})=>{let t=0,a=e.length-1;for(;"group"===e[t].type&&t<a;)t++;for(;"group"===e[a].type&&a>t;)a--;return{endIndex:e[a].index,startIndex:e[t].index}}),SH(wC)));return{endReached:x,initialItemCount:f,itemsRendered:v,listState:y,minOverscanItemCount:b,rangeChanged:w,startReached:S,topItemsIndexes:g,...p}},SB(wj,wF,w3,wZ,wz,wX,wH,w$),{singleton:!0}),Ce=S1(([{fixedFooterHeight:e,fixedHeaderHeight:t,footerHeight:a,headerHeight:n},{listState:r}])=>{let o=SQ(),i=SX(SV(S3(a,e,n,t,r),SK(([e,t,a,n,r])=>e+t+a+n+r.offsetBottom+r.bottom)),0);return SD(S5(i),o),{totalListHeight:i,totalListHeightChanged:o}},SB(wl,w7),{singleton:!0}),Ct=S1(([{viewportHeight:e},{totalListHeight:t}])=>{let a=Sq(!1),n=SX(SV(S3(a,e,t),SU(([e])=>e),SK(([,e,t])=>Math.max(0,e-t)),SY(0),SH()),0);return{alignToBottom:a,paddingTopAddition:n}},SB(wl,Ce),{singleton:!0}),Ca=S1(()=>({context:Sq(null)})),Cn=({itemBottom:e,itemTop:t,locationParams:{align:a,behavior:n,...r},viewportBottom:o,viewportTop:i})=>t<i?{...r,align:a??"start",...void 0!==n?{behavior:n}:{}}:e>o?{...r,align:a??"end",...void 0!==n?{behavior:n}:{}}:null,Cr=S1(([{gap:e,sizes:t,totalCount:a},{fixedFooterHeight:n,fixedHeaderHeight:r,headerHeight:o,scrollingInProgress:i,scrollTop:s,viewportHeight:l},{scrollToIndex:d}])=>{let c=SQ();return SD(SV(c,SJ(t,l,a,o,r,n,s),SJ(e),SK(([[e,t,a,n,r,o,s,l],d])=>{let{calculateViewLocation:c=Cn,done:u,...p}=e,m=wR(e,t,n-1),h=wM(m,t.offsetTree,d)+r+o,g=c({itemBottom:h+wm(t.sizeTree,m)[1],itemTop:h,locationParams:p,viewportBottom:l+a-s,viewportTop:l+o});return null!==g?u&&Sj(SV(i,SU(e=>!e),SZ(SL(i)?1:2)),u):u?.(),g}),SU(e=>null!==e)),d),{scrollIntoView:c}},SB(wj,wl,wz,w7,S9),{singleton:!0});function Co(e){return!1!==e&&("smooth"===e?"smooth":"auto")}let Ci=S1(([{listRefresh:e,totalCount:t,fixedItemSize:a,data:n},{atBottomState:r,isAtBottom:o},{scrollToIndex:i},{scrolledToInitialItem:s},{didMount:l,propsReady:d},{log:c},{scrollingInProgress:u},{context:p},{scrollIntoView:m}])=>{let h=Sq(!1),g=SQ(),f=null;function v(e){i(0,{align:"end",behavior:e,index:"LAST"})}function b(e){setTimeout(Sj(r,t=>{e&&!t.atBottom&&"SIZE_INCREASED"===t.notAtBottomBecause&&null===f&&(SL(c)("scrolling to bottom due to increased size",{},0),v("auto"))}),100)}SV(S3(SV(S5(t),SZ(1)),l),SJ(S5(h),o,s,u),SK(([[e,t],a,n,r,o])=>{let i,s=t&&r,l="auto";return s&&(i=n||o,l="function"==typeof a?Co(a(i)):i&&Co(a),s=s&&!1!==l),{followOutputBehavior:l,shouldFollow:s,totalCount:e}}),SU(({shouldFollow:e})=>e))(1,({followOutputBehavior:t,totalCount:n})=>{null!==f&&(f(),f=null),void 0!==SL(a)?requestAnimationFrame(()=>{SL(c)("following output to ",{totalCount:n},0),v(t)}):f=Sj(e,()=>{SL(c)("following output to ",{totalCount:n},0),v(t),f=null})}),SV(S3(S5(h),t,d),SU(([e,,t])=>!1!==e&&t),SW(({value:e},[,t])=>({refreshed:e===t,value:t}),{refreshed:!1,value:0}),SU(({refreshed:e})=>e),SJ(h,t))(1,([,e])=>{SL(s)&&b(!1!==e)}),g(1,()=>{b(!1!==SL(h))}),S3(S5(h),r)(1,([e,t])=>{!1===e||t.atBottom||"VIEWPORT_HEIGHT_DECREASING"!==t.notAtBottomBecause||v("auto")});let y=Sq(null),x=SQ();return SD(S4(SV(S5(n),SK(e=>e?.length??0)),SV(S5(t))),x),SV(S3(SV(x,SZ(1)),l),SJ(S5(y),s,u,p),SK(([[e,t],a,n,r,o])=>t&&n&&a?.({context:o,totalCount:e,scrollingInProgress:r})),SU(e=>!!e),SY(0))(1,t=>{null!==f&&(f(),f=null),void 0!==SL(a)?requestAnimationFrame(()=>{SL(c)("scrolling into view",{}),m(0,t)}):f=Sj(e,()=>{SL(c)("scrolling into view",{}),m(0,t),f=null})}),{autoscrollToBottom:g,followOutput:h,scrollIntoViewOnChange:y}},SB(wj,wX,wz,wZ,wH,S9,wl,Ca,Cr)),Cs=S1(([{data:e,firstItemIndex:t,gap:a,sizes:n}
3691,{initialTopMostItemIndex:r},{initialItemCount:o,listState:i},{didMount:s}])=>(SD(SV(s,SJ(o),SU(([,e])=>0!==e),SJ(r,n,t,a,e),SK(([[,e],t,a,n,r,o=[]])=>w6(e,t,a,n,r,o))),i),{}),SB(wj,wZ,w7,wH),{singleton:!0}),Cl=S1(([{didMount:e},{scrollTo:t},{listState:a}])=>{let n=Sq(0);return SV(e,SJ(n),SU(([,e])=>0!==e),SK(([,e])=>({top:e})))(1,e=>{Sj(SV(a,SZ(1),SU(e=>e.items.length>1)),()=>{requestAnimationFrame(()=>{t(0,e)})})}),{initialScrollTop:n}},SB(wH,wl,w7),{singleton:!0}),Cd=S1(([{scrollVelocity:e}])=>{let t=Sq(!1),a=SQ(),n=Sq(!1);return SD(SV(e,SJ(n,t,a),SU(([e,t])=>!1!==t&&void 0!==t),SK(([e,t,a,n])=>{let{enter:r,exit:o}=t;if(a){if(o(e,n))return!1}else if(r(e,n))return!0;return a}),SH()),t),SV(S3(t,e,a),SJ(n))(1,([[e,t,a],n])=>{e&&!1!==n&&void 0!==n&&n.change&&n.change(t,a)}),{isSeeking:t,scrollSeekConfiguration:n,scrollSeekRangeChanged:a,scrollVelocity:e}},SB(wX),{singleton:!0}),Cc=S1(([{scrollContainerState:e,scrollTo:t}])=>{let a=SQ(),n=SQ(),r=SQ(),o=Sq(!1),i=Sq(void 0);return SD(SV(S3(a,n),SK(([{scrollTop:e,viewportHeight:t},{offsetTop:a,listHeight:n}])=>({scrollHeight:n,scrollTop:Math.max(0,e-a),viewportHeight:t}))),e),SD(SV(t,SJ(n),SK(([e,{offsetTop:t}])=>({...e,top:e.top+t}))),r),{customScrollParent:i,useWindowScroll:o,windowScrollContainerState:a,windowScrollTo:r,windowViewportRect:n}},SB(wl)),Cu=S1(([{sizeRanges:e,sizes:t},{headerHeight:a,scrollTop:n},{initialTopMostItemIndex:r},{didMount:o},{useWindowScroll:i,windowScrollContainerState:s,windowViewportRect:l}])=>{let d=SQ(),c=Sq(void 0),u=Sq(null),p=Sq(null);return SD(s,u),SD(l,p),SV(d,SJ(t,n,i,u,p,a))(1,([e,t,a,n,r,o,i])=>{let s=wf(t.sizeTree).map(({k:e,v:t},a,n)=>{let r=n[a+1];return{endIndex:void 0!==r?r.k-1:1/0,size:t,startIndex:e}});n&&null!==r&&null!==o&&(a=r.scrollTop-o.offsetTop),e({ranges:s,scrollTop:a-=i})}),SD(SV(c,SU(SA),SK(Cp)),r),SD(SV(o,SJ(c),SU(([,e])=>void 0!==e),SH(),SK(([,e])=>e.ranges)),e),{getState:d,restoreStateFrom:c}},SB(wj,wl,wZ,wH,Cc));function Cp(e){return{align:"start",index:0,offset:e.scrollTop}}let Cm=S1(([{topItemsIndexes:e}])=>{let t=Sq(0);return SD(SV(t,SU(e=>e>=0),SK(e=>Array.from({length:e}).map((e,t)=>t))),e),{topItemCount:t}},SB(w7));function Ch(e){let t=!1,a;return()=>(t||(t=!0,a=e()),a)}let Cg=Ch(()=>/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent)),Cf=S1(([{deviation:e,scrollBy:t,scrollingInProgress:a,scrollTop:n},{isAtBottom:r,isScrolling:o,lastJumpDueToItemResize:i,scrollDirection:s},{listState:l},{beforeUnshiftWith:d,gap:c,shiftWithOffset:u,sizes:p},{log:m},{recalcInProgress:h}])=>{let g=S0(SV(l,SJ(i),SW(([,e,t,a],[{bottom:n,items:r,offsetBottom:o,totalCount:i},s])=>{let l=n+o,d=0;return t===i&&e.length>0&&r.length>0&&(0===r[0].originalIndex&&0===e[0].originalIndex||0!=(d=l-a)&&(d+=s)),[d,r,i,l]},[0,[],0,0]),SU(([e])=>0!==e),SJ(n,s,a,r,m,h),SU(([,e,t,a,,,n])=>!n&&!a&&0!==e&&"up"===t),SK(([[e],,,,,t])=>(t("Upward scrolling compensation",{amount:e},0),e))));function f(a){a>0?(t(0,{behavior:"auto",top:-a}),e(0,0)):(e(0,0),t(0,{behavior:"auto",top:-a}))}return SV(g,SJ(e,o))(1,([t,a,n])=>{n&&Cg()?e(0,a-t):f(-t)}),SV(S3(SX(o,!1),e,h),SU(([e,t,a])=>!e&&!a&&0!==t),SK(([e,t])=>t),SY(1))(1,f),SD(SV(u,SK(e=>({top:-e}))),t),SV(d,SJ(p,c),SK(([e,{groupIndices:t,lastSize:a,sizeTree:n},r])=>{if(0===t.length)return e*(a+r);let o=0,i=wp(n,0),s=0,l=0;for(;s<e;){s++,o+=i;let n=t.length===l+1?1/0:t[l+1]-t[l]-1;s+n>e&&(o-=i,n=e-s+1),s+=n,o+=n*(a+r),l++}return o}))(1,a=>{e(0,a),requestAnimationFrame(()=>{t(0,{top:a}),requestAnimationFrame(()=>{e(0,0),h(0,!1)})})}),{deviation:e}},SB(wl,wX,w7,wj,S9,w$)),Cv=S1(([e,t,a,n,r,o,i,s,l,d,c])=>({...e,...t,...a,...n,...r,...o,...i,...s,...l,...d,...c}),SB(w3,Cs,wH,Cd,Ce,Cl,Ct,Cc,Cr,S9,Ca)),Cb=S1(([{data:e,defaultItemSize:t,firstItemIndex:a,fixedItemSize:n,fixedGroupSize:r,gap:o,groupIndices:i,heightEstimates:s,itemSize:l,sizeRanges:d,sizes:c,statefulTotalCount:u,totalCount:p,trackItemSizes:m},{initialItemFinalLocationReached:h,initialTopMostItemIndex:g,scrolledToInitialItem:f},v,b,y,x,{scrollToIndex:S},w,{topItemCount:C},{groupCounts:T},$])=>{let{listState:E,minOverscanItemCount:I,topItemsIndexes:N,rangeChanged:_,...k}=x;return SD(_,$.scrollSeekRangeChanged),SD(SV($.windowViewportRect,SK(e=>
3691e.visibleHeight)),v.viewportHeight),{data:e,defaultItemHeight:t,firstItemIndex:a,fixedItemHeight:n,fixedGroupHeight:r,gap:o,groupCounts:T,heightEstimates:s,initialItemFinalLocationReached:h,initialTopMostItemIndex:g,scrolledToInitialItem:f,sizeRanges:d,topItemCount:C,topItemsIndexes:N,totalCount:p,...y,groupIndices:i,itemSize:l,listState:E,minOverscanItemCount:I,scrollToIndex:S,statefulTotalCount:u,trackItemSizes:m,rangeChanged:_,...k,...$,...v,sizes:c,...b}},SB(wj,wZ,wl,Cu,Ci,w7,wz,Cf,Cm,wF,Cv)),Cy="u">typeof document?b.default.useLayoutEffect:b.default.useEffect;function Cx(e,t,a){let n=Object.keys(t.required||{}),r=Object.keys(t.optional||{}),o=Object.keys(t.methods||{}),i=Object.keys(t.events||{}),s=b.default.createContext({});function l(e,a){for(let r of(void 0!==e.propsReady&&(0,e.propsReady)(0,!1),n))(0,e[t.required[r]])(0,a[r]);for(let n of r)n in a&&(0,e[t.optional[n]])(0,a[n]);void 0!==e.propsReady&&(0,e.propsReady)(0,!0)}function d(e){return i.reduce((a,n)=>{var r;let o,i,s;return a[n]=(r=e[t.events[n]],s=()=>o?.(),function(e,t){switch(e){case 1:return t?i===t?void 0:(s(),i=t,o=r(1,t)):(s(),SR);case 2:s(),i=null;return}}),a},{})}return{Component:b.default.forwardRef(function(c,u){var p;let{children:m,...g}=c,[f]=b.default.useState(()=>{var t;let a,n;return a=new Map,l(t=(n=({constructor:e,dependencies:t,id:r,singleton:o})=>{if(o&&a.has(r))return a.get(r);let i=e(t.map(e=>n(e)));return o&&a.set(r,i),i})(e),g),t}),[v]=b.default.useState(()=>d(f));return Cy(()=>{for(let e of i)e in g&&(0,v[e])(1,g[e]);return()=>{Object.values(v).map(SP)}},[g,v,f]),Cy(()=>{l(f,g)}),b.default.useImperativeHandle(u,(p=o.reduce((e,a)=>(e[a]=e=>{(0,f[t.methods[a]])(0,e)},e),{}),()=>p)),(0,h.jsx)(s.Provider,{value:f,children:void 0!==a?(0,h.jsx)(a,{...function(e,t){let a={},n={},r=0,o=e.length;for(;r<o;)n[e[r]]=1,r+=1;for(let e in t)Object.hasOwn(n,e)||(a[e]=t[e]);return a}([...n,...r,...i],g),children:m}):m})}),useEmitter:(e,t)=>{let a=b.default.useContext(s)[e];Cy(()=>a(1,t),[t,a])},useEmitterValue:parseInt(b.default.version)>=18?e=>{let t=b.default.useContext(s)[e],a=b.default.useCallback(e=>t(1,e),[t]);return b.default.useSyncExternalStore(a,()=>SL(t),()=>SL(t))}:e=>{let t=b.default.useContext(s)[e],[a,n]=b.default.useState(()=>SL(t));return Cy(()=>t(1,e=>{e!==a&&n(()=>e)}),[t,a]),a},usePublisher:e=>{let t=b.default.useContext(s);return b.default.useCallback(a=>{(0,t[e])(0,a)},[t,e])}}}let CS=b.default.createContext(void 0),Cw=b.default.createContext(void 0),CC="-webkit-sticky",CT="sticky",C$=Ch(()=>{if(typeof document>"u")return CT;let e=document.createElement("div");return e.style.position=CC,e.style.position===CC?CC:CT}),CE="u">typeof document?b.default.useLayoutEffect:b.default.useEffect;function CI(e){return"self"in e}function CN(e,t,a,n=SR,r,o){let i=b.default.useRef(null),s=b.default.useRef(null),l=b.default.useRef(null),d=b.default.useCallback(a=>{let n,r,i,d=a.target;if("body"in d||CI(d)){let e=CI(d)?d:d.defaultView;i=!0===o?wa(e,e.scrollX):e.scrollY,n=!0===o?e.document.documentElement.scrollWidth:e.document.documentElement.scrollHeight,r=!0===o?e.innerWidth:e.innerHeight}else i=!0===o?wa(d,d.scrollLeft):d.scrollTop,n=!0===o?d.scrollWidth:d.scrollHeight,r=!0===o?d.offsetWidth:d.offsetHeight;let c=()=>{e({scrollHeight:n,scrollTop:Math.max(i,0),viewportHeight:r})};!0===a.suppressFlushSync?c():vy.default.flushSync(c),null!==s.current&&(i===s.current||i<=0||i===n-r)&&(s.current=null,t(!0),l.current&&(clearTimeout(l.current),l.current=null))},[e,t,o]);return b.default.useEffect(()=>{let e=r||i.current;return wt(e),n(r||i.current),d({suppressFlushSync:!0,target:e}),e.addEventListener("scroll",d,{passive:!0}),()=>{wt(e),n(null),e.removeEventListener("scroll",d)}},[i,d,a,n,r]),{scrollByCallback:function(e){!0===o&&(e={...void 0!==e.behavior?{behavior:e.behavior}:{},...void 0!==e.top?{left:wa(i.current,e.top)}:{}}),i.current.scrollBy(e)},scrollerRef:i,scrollToCallback:function(a){let n,r,d,c=i.current;if(!c||(!0===o?"offsetWidth"in c&&0===c.offsetWidth:"offsetHeight"in c&&0===c.offsetHeight))return;let u="smooth"===a.behavior;CI(c)?(r=Math.max(wI(c.document.documentElement,!0===o?"width":"height"),!0===o?c.document.documentElement.scrollWidth:c.document.documentElement.scrollHeight),n=!0===o?c.innerWidth:c.innerHeight,d=!0===o?wa(c,c.scrollX):c.scrollY):(r=c[!0===o?"scrollWidth":"scrollHeight"],n=wI(c,!0===o?"width":"height"),d=!0===o?wa(c,c.scrollLeft):c.scrollTop);let p=r-n;if(void 0===a.top)return void c.scrollTo(a);let m=Math.ceil(Math.max(Math.min(p,a.top),0));if(a.top=m,wY(n,r)||m===d){e({scrollHeight:r,scrollTop:d,viewportHe
3691ight:n}),u&&t(!0);return}u?(s.current=m,l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{l.current=null,s.current=null,t(!0)},1e3)):s.current=null,!0===o&&(a={...void 0!==a.behavior?{behavior:a.behavior}:{},left:wa(c,m)}),c.scrollTo(a)}}}function C_(e){return e}let Ck=S1(()=>{let e=Sq(e=>`Item ${e}`),t=Sq(e=>`Group ${e}`),a=Sq({}),n=Sq(C_),r=Sq("div"),o=Sq(SR),i=(e,t=null)=>SX(SV(a,SK(t=>t[e]),SH()),t);return{components:a,computeItemKey:n,EmptyPlaceholder:i("EmptyPlaceholder"),FooterComponent:i("Footer"),GroupComponent:i("Group","div"),groupContent:t,HeaderComponent:i("Header"),HeaderFooterTag:r,ItemComponent:i("Item","div"),itemContent:e,ListComponent:i("List","div"),ScrollerComponent:i("Scroller","div"),scrollerRef:o,ScrollSeekPlaceholder:i("ScrollSeekPlaceholder"),TopItemListComponent:i("TopItemList")}}),CM=S1(([e,t])=>({...e,...t}),SB(Cb,Ck)),CA=({height:e})=>(0,h.jsx)("div",{style:{height:e}}),CR={overflowAnchor:"none",position:C$(),zIndex:1},CO={overflowAnchor:"none"},CB={...CO,display:"inline-block",height:"100%"},CP=b.default.memo(function({showTopList:e=!1}){let t=CQ("listState"),a=C0("sizeRanges"),n=CQ("useWindowScroll"),r=CQ("customScrollParent"),o=C0("windowScrollContainerState"),i=C0("scrollContainerState"),s=CQ("itemContent"),l=CQ("context"),d=CQ("groupContent"),c=CQ("trackItemSizes"),u=CQ("itemSize"),p=CQ("log"),m=C0("gap"),g=CQ("horizontalDirection"),{callbackRef:f}=wo(a,u,c,e?SR:r||n?o:i,p,m,r,g,CQ("skipAnimationFrameInResizeObserver")),[v,y]=b.default.useState(0);CX("deviation",e=>{v!==e&&y(e)});let x=CQ("EmptyPlaceholder"),S=CQ("ScrollSeekPlaceholder")??CA,w=CQ("ListComponent"),C=CQ("ItemComponent"),T=CQ("GroupComponent"),$=CQ("computeItemKey"),E=CQ("isSeeking"),I=CQ("groupIndices").length>0,N=CQ("alignToBottom"),_=CQ("initialItemFinalLocationReached"),k=e?{}:{boxSizing:"border-box",...g?{display:"inline-block",height:"100%",marginInlineStart:0!==v?v:N?"auto":0,paddingInlineEnd:t.offsetBottom,paddingInlineStart:t.offsetTop,whiteSpace:"nowrap"}:{marginTop:0!==v?v:N?"auto":0,paddingBottom:t.offsetBottom,paddingTop:t.offsetTop},..._?{}:{visibility:"hidden"}};return e||0!==t.totalCount||null==x?(0,h.jsx)(w,{...CH(w,l),"data-testid":e?"virtuoso-top-item-list":"virtuoso-item-list",ref:f,style:k,children:(e?t.topItems:t.items).map(e=>{let a=e.originalIndex,n=$(a+t.firstItemIndex,e.data,l);return E?(0,b.createElement)(S,{...CH(S,l),height:e.size,index:e.index,key:n,type:e.type||"item",..."group"===e.type?{}:{groupIndex:e.groupIndex}}):"group"===e.type?(0,b.createElement)(T,{...CH(T,l),"data-index":a,"data-item-index":e.index,"data-known-size":e.size,key:n,style:CR},d(e.index,l)):(0,b.createElement)(C,{...CH(C,l),...CU(C,e.data),"data-index":a,"data-item-group-index":e.groupIndex,"data-item-index":e.index,"data-known-size":e.size,key:n,style:g?CB:CO},I?s(e.index,e.groupIndex,e.data,l):s(e.index,e.data,l))})}):(0,h.jsx)(x,{...CH(x,l)})}),CL={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},CD={outline:"none",overflowX:"auto",position:"relative"},Cj=e=>({height:"100%",position:"absolute",top:0,width:"100%",...e?{display:"flex",flexDirection:"column"}:void 0}),CG=(e,t,a=0)=>({...Cj(e),position:t?"relative":"absolute",top:t?-a:0}),CF={position:C$(),top:0,width:"100%",zIndex:1};function CH(e,t){if("string"!=typeof e)return{context:t}}function CU(e,t){return{item:"string"==typeof e?void 0:t}}let CK=b.default.memo(function(){let e=CQ("HeaderComponent"),t=C0("headerHeight"),a=CQ("HeaderFooterTag"),n=wn(b.default.useMemo(()=>e=>{t(wI(e,"height"))},[t]),!0,CQ("skipAnimationFrameInResizeObserver")),r=CQ("context");return null!=e?(0,h.jsx)(a,{ref:n,children:(0,h.jsx)(e,{...CH(e,r)})}):null}),Cz=b.default.memo(function(){let e=CQ("FooterComponent"),t=C0("footerHeight"),a=CQ("HeaderFooterTag"),n=wn(b.default.useMemo(()=>e=>{t(wI(e,"height"))},[t]),!0,CQ("skipAnimationFrameInResizeObserver")),r=CQ("context");return null!=e?(0,h.jsx)(a,{ref:n,children:(0,h.jsx)(e,{...CH(e,r)})}):null});function CV({useEmitter:e,useEmitterValue:t,usePublisher:a}){return b.default.memo(function({children:n,style:r,context:o,...i}){let s=a("scrollContainerState"),l=t("ScrollerComponent"),d=a("smoothScrollTargetReached"),c=t("scrollerRef"),u=t
3691("horizontalDirection")||!1,{scrollByCallback:p,scrollerRef:m,scrollToCallback:g}=CN(s,d,l,c,void 0,u);return e("scrollTo",g),e("scrollBy",p),(0,h.jsx)(l,{"data-testid":"virtuoso-scroller","data-virtuoso-scroller":!0,ref:m,style:{...u?CD:CL,...r},tabIndex:0,...i,...CH(l,o),children:n})})}function CW({useEmitter:e,useEmitterValue:t,usePublisher:a}){return b.default.memo(function({children:n,style:r,context:o,...i}){let s=a("windowScrollContainerState"),l=t("ScrollerComponent"),d=a("smoothScrollTargetReached"),c=t("totalListHeight"),u=t("deviation"),p=t("customScrollParent"),m=b.default.useRef(null),{scrollByCallback:g,scrollerRef:f,scrollToCallback:v}=CN(s,d,l,t("scrollerRef"),p);return CE(()=>(f.current=p||m.current?.ownerDocument.defaultView,()=>{f.current=null}),[f,p]),e("windowScrollTo",v),e("scrollBy",g),(0,h.jsx)(l,{ref:m,"data-virtuoso-scroller":!0,style:{position:"relative",...r,...0!==c?{height:c+u}:void 0},...i,...CH(l,o),children:n})})}let CZ=({children:e})=>{let t=b.default.useContext(CS),a=C0("viewportHeight"),n=C0("fixedItemHeight"),r=CQ("alignToBottom"),o=CQ("horizontalDirection"),i=wn(b.default.useMemo(()=>SM(a,e=>wI(e,o?"width":"height")),[a,o]),!0,CQ("skipAnimationFrameInResizeObserver"));return b.default.useEffect(()=>{t&&(a(t.viewportHeight),n(t.itemHeight))},[t,a,n]),(0,h.jsx)("div",{"data-viewport-type":"element",ref:i,style:Cj(r),children:e})},CY=({children:e})=>{let t=b.default.useContext(CS),a=C0("windowViewportRect"),n=C0("fixedItemHeight"),r=CQ("customScrollParent"),o=CQ("useWindowScroll"),i=CQ("topListHeight"),s=ws(a,r,CQ("skipAnimationFrameInResizeObserver")),l=CQ("alignToBottom");return b.default.useEffect(()=>{t&&(n(t.itemHeight),a({listHeight:0,offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,a,n]),(0,h.jsx)("div",{"data-viewport-type":"window",ref:s,style:CG(l,o,i),children:e})},CJ=({children:e})=>{let t=CQ("TopItemListComponent")??"div",a=CQ("headerHeight"),n={...CF,marginTop:`${a}px`},r=CQ("context");return(0,h.jsx)(t,{style:n,...CH(t,r),children:e})},{Component:Cq,useEmitter:CX,useEmitterValue:CQ,usePublisher:C0}=Cx(CM,{optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",scrollIntoViewOnChange:"scrollIntoViewOnChange",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",minOverscanItemCount:"minOverscanItemCount",totalCount:"totalCount",groupCounts:"groupCounts",topItemCount:"topItemCount",firstItemIndex:"firstItemIndex",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedGroupHeight:"fixedGroupHeight",fixedItemHeight:"fixedItemHeight",heightEstimates:"heightEstimates",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"HeaderFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",horizontalDirection:"horizontalDirection",skipAnimationFrameInResizeObserver:"skipAnimationFrameInResizeObserver"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",autoscrollToBottom:"autoscrollToBottom",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},b.default.memo(function(e){let t=CQ("useWindowScroll"),a=CQ("topItemsIndexes").length>0,n=CQ("customScrollParent"),r=CQ("context");return(0,h.jsxs)(n||t?C2:C1,{...e,context:r,children:[a&&(0,h.jsx)(CJ,{children:(0,h.jsx)(CP,{showTopList:!0})}),(0,h.jsxs)(n||t?CY:CZ,{children:[(0,h.jsx)(CK,{}),(0,h.jsx)(CP,{}),(0,h.jsx)(Cz,{})]})]})})),C1=CV({useEmitter:CX,useEmitterValue:CQ,usePublisher:C0}
3691),C2=CW({useEmitter:CX,useEmitterValue:CQ,usePublisher:C0}),C3=S1(()=>{let e=Sq(e=>(0,h.jsxs)("td",{children:["Item $",e]})),t=Sq(null),a=Sq(e=>(0,h.jsxs)("td",{colSpan:1e3,children:["Group ",e]})),n=Sq(null),r=Sq(null),o=Sq({}),i=Sq(C_),s=Sq(SR),l=(e,t=null)=>SX(SV(o,SK(t=>t[e]),SH()),t);return{components:o,computeItemKey:i,context:t,EmptyPlaceholder:l("EmptyPlaceholder"),FillerRow:l("FillerRow"),fixedFooterContent:r,fixedHeaderContent:n,itemContent:e,groupContent:a,ScrollerComponent:l("Scroller","div"),scrollerRef:s,ScrollSeekPlaceholder:l("ScrollSeekPlaceholder"),TableBodyComponent:l("TableBody","tbody"),TableComponent:l("Table","table"),TableFooterComponent:l("TableFoot","tfoot"),TableHeadComponent:l("TableHead","thead"),TableRowComponent:l("TableRow","tr"),GroupComponent:l("Group","tr")}}),C5=S1(([e,t])=>({...e,...t}),SB(Cb,C3)),C4=({height:e})=>(0,h.jsx)("tr",{children:(0,h.jsx)("td",{style:{height:e}})}),C6=({height:e})=>(0,h.jsx)("tr",{children:(0,h.jsx)("td",{style:{border:0,height:e,padding:0}})}),C8={overflowAnchor:"none"},C9={position:C$(),zIndex:2,overflowAnchor:"none"},C7=b.default.memo(function({showTopList:e=!1}){let t=Tr("listState"),a=Tr("computeItemKey"),n=Tr("firstItemIndex"),r=Tr("context"),o=Tr("isSeeking"),i=Tr("fixedHeaderHeight"),s=Tr("groupIndices").length>0,l=Tr("itemContent"),d=Tr("groupContent"),c=Tr("ScrollSeekPlaceholder")??C4,u=Tr("GroupComponent"),p=Tr("TableRowComponent"),m=(e?t.topItems:[]).reduce((e,t,a)=>(0===a?e.push(t.size):e.push(e[a-1]+t.size),e),[]);return(e?t.topItems:t.items).map(t=>{let h=t.originalIndex,g=a(h+n,t.data,r),f=e?0===h?0:m[h-1]:0;return o?(0,b.createElement)(c,{...CH(c,r),height:t.size,index:t.index,key:g,type:t.type||"item"}):"group"===t.type?(0,b.createElement)(u,{...CH(u,r),"data-index":h,"data-item-index":t.index,"data-known-size":t.size,key:g,style:{...C9,top:i}},d(t.index,r)):(0,b.createElement)(p,{...CH(p,r),...CU(p,t.data),"data-index":h,"data-item-index":t.index,"data-known-size":t.size,"data-item-group-index":t.groupIndex,key:g,style:e?{...C9,top:i+f}:C8},s?l(t.index,t.groupIndex,t.data,r):l(t.index,t.data,r))})}),Te=b.default.memo(function(){let e=Tr("listState"),t=Tr("topItemsIndexes").length>0,a=To("sizeRanges"),n=Tr("useWindowScroll"),r=Tr("customScrollParent"),o=To("windowScrollContainerState"),i=To("scrollContainerState"),s=Tr("trackItemSizes"),{callbackRef:l,ref:d}=wo(a,Tr("itemSize"),s,r||n?o:i,Tr("log"),void 0,r,!1,Tr("skipAnimationFrameInResizeObserver")),[c,u]=b.default.useState(0);Tn("deviation",e=>{c!==e&&(d.current.style.marginTop=`${e}px`,u(e))});let p=Tr("EmptyPlaceholder"),m=Tr("FillerRow")??C6,g=Tr("TableBodyComponent"),f=Tr("paddingTopAddition"),v=Tr("statefulTotalCount"),y=Tr("context");if(0===v&&null!=p)return(0,h.jsx)(p,{...CH(p,y)});let x=(t?e.topItems:[]).reduce((e,t)=>e+t.size,0),S=e.offsetTop+f+c-x,w=e.offsetBottom,C=S>0?(0,h.jsx)(m,{context:y,height:S},"padding-top"):null,T=w>0?(0,h.jsx)(m,{context:y,height:w},"padding-bottom"):null;return(0,h.jsxs)(g,{"data-testid":"virtuoso-item-list",ref:l,...CH(g,y),children:[C,t&&(0,h.jsx)(C7,{showTopList:!0}),(0,h.jsx)(C7,{}),T]})}),Tt=({children:e})=>{let t=b.default.useContext(CS),a=To("viewportHeight"),n=To("fixedItemHeight"),r=wn(b.default.useMemo(()=>SM(a,e=>wI(e,"height")),[a]),!0,Tr("skipAnimationFrameInResizeObserver"));return b.default.useEffect(()=>{t&&(a(t.viewportHeight),n(t.itemHeight))},[t,a,n]),(0,h.jsx)("div",{"data-viewport-type":"element",ref:r,style:Cj(!1),children:e})},Ta=({children:e})=>{let t=b.default.useContext(CS),a=To("windowViewportRect"),n=To("fixedItemHeight"),r=Tr("customScrollParent"),o=Tr("useWindowScroll"),i=ws(a,r,Tr("skipAnimationFrameInResizeObserver"));return b.default.useEffect(()=>{t&&(n(t.itemHeight),a({listHeight:0,offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,a,n]),(0,h.jsx)("div",{"data-viewport-type":"window",ref:i,style:CG(!1,o),children:e})},{useEmitter:Tn,useEmitterValue:Tr,usePublisher:To}=Cx(C5,{optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",groupContent:"groupContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",minOverscanItemCount:"minOverscanItemCount",totalCount:"totalCount",topItemCount:"topItemCount",initialTopM
3691ostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedGroupHeight:"fixedGroupHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},b.default.memo(function(e){let t=Tr("useWindowScroll"),a=Tr("customScrollParent"),n=To("fixedHeaderHeight"),r=To("fixedFooterHeight"),o=Tr("fixedHeaderContent"),i=Tr("fixedFooterContent"),s=Tr("context"),l=wn(b.default.useMemo(()=>SM(n,e=>wI(e,"height")),[n]),!0,Tr("skipAnimationFrameInResizeObserver")),d=wn(b.default.useMemo(()=>SM(r,e=>wI(e,"height")),[r]),!0,Tr("skipAnimationFrameInResizeObserver")),c=a||t?Ts:Ti,u=a||t?Ta:Tt,p=Tr("TableComponent"),m=Tr("TableHeadComponent"),g=Tr("TableFooterComponent"),f=o?(0,h.jsx)(m,{ref:l,style:{position:"sticky",top:0,zIndex:2},...CH(m,s),children:o()},"TableHead"):null,v=i?(0,h.jsx)(g,{ref:d,style:{bottom:0,position:"sticky",zIndex:1},...CH(g,s),children:i()},"TableFoot"):null;return(0,h.jsx)(c,{...e,...CH(c,s),children:(0,h.jsx)(u,{children:(0,h.jsxs)(p,{style:{borderSpacing:0,overflowAnchor:"none"},...CH(p,s),children:[f,(0,h.jsx)(Te,{},"TableBody"),v]})})})})),Ti=CV({useEmitter:Tn,useEmitterValue:Tr,usePublisher:To}),Ts=CW({useEmitter:Tn,useEmitterValue:Tr,usePublisher:To}),Tl={bottom:0,itemHeight:0,items:[],itemWidth:0,offsetBottom:0,offsetTop:0,top:0},Td={bottom:0,itemHeight:0,items:[{index:0}],itemWidth:0,offsetBottom:0,offsetTop:0,top:0},{ceil:Tc,floor:Tu,max:Tp,min:Tm,round:Th}=Math;function Tg(e,t,a){return Array.from({length:t-e+1}).map((t,n)=>({data:null===a?null:a[n+e],index:n+e}))}function Tf(e,t){return void 0!==e&&e.width===t.width&&e.height===t.height}function Tv(e,t){return void 0!==e&&e.column===t.column&&e.row===t.row}let Tb=S1(([{increaseViewportBy:e,listBoundary:t,overscan:a,visibleRange:n},{footerHeight:r,headerHeight:o,scrollBy:i,scrollContainerState:s,scrollTo:l,scrollTop:d,smoothScrollTargetReached:c,viewportHeight:u},p,m,{didMount:h,propsReady:g},{customScrollParent:f,useWindowScroll:v,windowScrollContainerState:b,windowScrollTo:y,windowViewportRect:x},S])=>{let w=Sq(0),C=Sq(0),T=Sq(Tl),$=Sq({height:0,width:0}),E=Sq({height:0,width:0}),I=SQ(),N=SQ(),_=Sq(0),k=Sq(null),M=Sq({column:0,row:0}),A=SQ(),R=SQ(),O=Sq(!1),B=Sq(0),P=Sq(!0),L=Sq(!1),D=Sq(!1);SV(h,SJ(B),SU(([e,t])=>0!==t))(1,()=>{P(0,!1)}),SV(S3(h,P,E,$,B,L),SU(([e,t,a,n,,r])=>e&&!t&&0!==a.height&&0!==n.height&&!r))(1,([,,,,e])=>{L(0,!0),wV(1,()=>{I(0,e)}),Sj(SV(d),()=>{t(0,[0,0]),P(0,!0)})}),SD(SV(R,SU(e=>null!=e&&e.scrollTop>0),Sz(0)),C),SV(h,SJ(R),SU(([,e])=>null!=e))(1,([,e])=>{e&&($(0,e.viewport),E(0,e.item),M(0,e.gap),e.scrollTop>0&&(O(0,!0),Sj(SV(d,SZ(1)),e=>{O(0,!1)}),l(0,{top:e.scrollTop})))}),SD(SV($,SK(({height:e})=>e)),u),SD(SV(S3(S5($,Tf),S5(E,Tf),S5(M,(e,t)=>void 0!==e&&e.column===t.column&&e.row===t.row),S5(d)),SK(([e,t,a,n])=>({gap:a,item:t,scrollTop:n,viewport:e}))),A),SD(SV(S3(S5(w),n,S5(M,Tv),S5(E,Tf),S5($,Tf),S5(k),S5(C),S5(O),S5(P),S5(B)),SU(([,,,,,,,e])=>!e),SK(([e,[t,a],n,r,o,i,s,,l,d])=>{let c,u,{column:p,row:m}=n,{height:h,width:g}=r,{width:f}=o;if(0===s&&(0===e||0===f))return Tl;if(0===g){var v;let t=wW(d,e),a=t+Math.max(s-1,0);return v=Tg(t,a,i),{...Td,items:v}}let b=Ty(f,g,p);l?0===t&&0===a&&s>0?(c=0,u=s-1):(c=b*Tu((t+m)/(h+m)),u=Tm(e-1,Tp(u=b*Tc((a+m)/(h+m))-1,b-1)),c=Tm(u,Tp(0,c))):(c=0,u=-1);let y=Tg(c,u,i),{bottom:x,top:S}=Tx(o,n,r,y),w=Tc(e/b);return{bottom:x,itemHeight:h,items:y,itemWidth:g,offsetBottom:w*h+(w-1)*m-x,offsetTop:S,top:S}})),T),SD(SV(k,SU(e=>null!==e),SK(e=>e.length)),w),SD(SV(S3($,E,T,M),SU(([e,t,{items:a}])=>a.length>0&&0!==t.height&&0!==e.height),SK(([e,t,{items:a},n])=>{let{bottom:r,top:o}=Tx(e,n,t,a);return[o,r]}),SH(wT)),t);let j=Sq(!1);SD(SV(d,SJ(j),SK(([e,t])=>t||0!==e)),j);let G=S0(SV(S3(T,w),SU(([{items:e}])=>e.length>0),SJ(j),SU(([[e,t],a])=>{let n=e.items[e.items.length-1].index===t-1;return(a||e.bottom>0&&e.itemHeight>0&&0===e.offsetBottom&&e.items.length===t)&&n}),SK(([[,e]])=>e-1),SH())),F=S0(SV(S5(T),SU(({items:e})=>e.length>0&&0===e[0].index),Sz(0),SH())),H=S0(SV(S5(T),SJ(O),SU(([{items:e},t])=>e.length>0&&!t),SK(([{items:e}])=>({endIndex:e[e.length-1].index,startIndex:e[0].index})),SH(wC),SY(0)));SD(H,m.scrollSeekRangeChanged),SD(SV(I,SJ($,E,w,M),SK(([e,t,a,n,r])=>{let o=wK(e),{align:i,behavior:s,offset:l}=o,d=o.index;"LAST"===d&&(d=n-1);let c=TS(t,r,a,d=Tp(0,d,Tm(n-1,d)));return"end"===i?c=Th(c-t.height+a.height):"center"===i&&(c=Th(c-t.height/2+a.height/2)),void 0!==l&&0!==l&&(c+=l),{behavior:s,top:c}})),l);let U=SX(SV(T,SK(e=>
3691e.offsetBottom+e.bottom)),0);return SD(SV(x,SK(e=>({height:e.visibleHeight,width:e.visibleWidth}))),$),{customScrollParent:f,data:k,deviation:_,footerHeight:r,gap:M,headerHeight:o,increaseViewportBy:e,initialItemCount:C,itemDimensions:E,overscan:a,restoreStateFrom:R,scrollBy:i,scrollContainerState:s,scrollHeight:N,scrollTo:l,scrollToIndex:I,scrollTop:d,smoothScrollTargetReached:c,totalCount:w,useWindowScroll:v,viewportDimensions:$,windowScrollContainerState:b,windowScrollTo:y,windowViewportRect:x,...m,gridState:T,horizontalDirection:D,initialTopMostItemIndex:B,totalListHeight:U,...p,endReached:G,propsReady:g,rangeChanged:H,startReached:F,stateChanged:A,stateRestoreInProgress:O,...S}},SB(w3,wl,wX,Cd,wH,Cc,S9));function Ty(e,t,a){return Tp(1,Tu((e+a)/(Tu(t)+a)))}function Tx(e,t,a,n){let{height:r}=a;if(void 0===r||0===n.length)return{bottom:0,top:0};let o=TS(e,t,a,n[0].index);return{bottom:TS(e,t,a,n[n.length-1].index)+r,top:o}}function TS(e,t,a,n){let r=Tu(n/Ty(e.width,a.width,t.column)),o=r*a.height+Tp(0,r-1)*t.row;return o>0?o+t.row:o}let Tw=S1(()=>{let e=Sq(e=>`Item ${e}`),t=Sq({}),a=Sq(null),n=Sq("virtuoso-grid-item"),r=Sq("virtuoso-grid-list"),o=Sq(C_),i=Sq("div"),s=Sq(SR),l=(e,a=null)=>SX(SV(t,SK(t=>t[e]),SH()),a),d=Sq(!1),c=Sq(!1);return SD(S5(c),d),{components:t,computeItemKey:o,context:a,FooterComponent:l("Footer"),HeaderComponent:l("Header"),headerFooterTag:i,itemClassName:n,ItemComponent:l("Item","div"),itemContent:e,listClassName:r,ListComponent:l("List","div"),readyStateChanged:d,reportReadyState:c,ScrollerComponent:l("Scroller","div"),scrollerRef:s,ScrollSeekPlaceholder:l("ScrollSeekPlaceholder","div")}}),TC=S1(([e,t])=>({...e,...t}),SB(Tb,Tw)),TT=b.default.memo(function(){let e=Tk("gridState"),t=Tk("listClassName"),a=Tk("itemClassName"),n=Tk("itemContent"),r=Tk("computeItemKey"),o=Tk("isSeeking"),i=TM("scrollHeight"),s=Tk("ItemComponent"),l=Tk("ListComponent"),d=Tk("ScrollSeekPlaceholder"),c=Tk("context"),u=TM("itemDimensions"),p=TM("gap"),m=Tk("log"),g=Tk("stateRestoreInProgress"),f=TM("reportReadyState"),v=wn(b.default.useMemo(()=>e=>{i(e.parentElement.parentElement.scrollHeight);let t=e.firstChild;if(null!==t){let{height:e,width:a}=t.getBoundingClientRect();u({height:e,width:a})}p({column:TO("column-gap",getComputedStyle(e).columnGap,m),row:TO("row-gap",getComputedStyle(e).rowGap,m)})},[i,u,p,m]),!0,!1);return CE(()=>{e.itemHeight>0&&e.itemWidth>0&&f(!0)},[e]),g?null:(0,h.jsx)(l,{className:t,ref:v,...CH(l,c),"data-testid":"virtuoso-item-list",style:{paddingBottom:e.offsetBottom,paddingTop:e.offsetTop},children:e.items.map(t=>{let i=r(t.index,t.data,c);return o?(0,h.jsx)(d,{...CH(d,c),height:e.itemHeight,index:t.index,width:e.itemWidth},i):(0,b.createElement)(s,{...CH(s,c),className:a,"data-index":t.index,key:i},n(t.index,t.data,c))})})}),T$=b.default.memo(function(){let e=Tk("HeaderComponent"),t=TM("headerHeight"),a=Tk("headerFooterTag"),n=wn(b.default.useMemo(()=>e=>{t(wI(e,"height"))},[t]),!0,!1),r=Tk("context");return null!=e?(0,h.jsx)(a,{ref:n,children:(0,h.jsx)(e,{...CH(e,r)})}):null}),TE=b.default.memo(function(){let e=Tk("FooterComponent"),t=TM("footerHeight"),a=Tk("headerFooterTag"),n=wn(b.default.useMemo(()=>e=>{t(wI(e,"height"))},[t]),!0,!1),r=Tk("context");return null!=e?(0,h.jsx)(a,{ref:n,children:(0,h.jsx)(e,{...CH(e,r)})}):null}),TI=({children:e})=>{let t=b.default.useContext(Cw),a=TM("itemDimensions"),n=TM("viewportDimensions"),r=wn(b.default.useMemo(()=>e=>{n(e.getBoundingClientRect())},[n]),!0,!1);return b.default.useEffect(()=>{t&&(n({height:t.viewportHeight,width:t.viewportWidth}),a({height:t.itemHeight,width:t.itemWidth}))},[t,n,a]),(0,h.jsx)("div",{ref:r,style:Cj(!1),children:e})},TN=({children:e})=>{let t=b.default.useContext(Cw),a=TM("windowViewportRect"),n=TM("itemDimensions"),r=Tk("customScrollParent"),o=Tk("useWindowScroll"),i=ws(a,r,!1);return b.default.useEffect(()=>{t&&(n({height:t.itemHeight,width:t.itemWidth}),a({listHeight:0,offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:t.viewportWidth}))},[t,a,n]),(0,h.jsx)("div",{ref:i,style:CG(!1,o),children:e})},{useEmitter:T_,useEmitterValue:Tk,usePublisher:TM}=Cx(TC,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",listClassName:"listClassName",itemClassName:"itemClassName",useW
3691indowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",restoreStateFrom:"restoreStateFrom",initialTopMostItemIndex:"initialTopMostItemIndex",increaseViewportBy:"increaseViewportBy"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",stateChanged:"stateChanged",readyStateChanged:"readyStateChanged"}},b.default.memo(function({...e}){let t=Tk("useWindowScroll"),a=Tk("customScrollParent"),n=a||t?TR:TA,r=a||t?TN:TI,o=Tk("context");return(0,h.jsx)(n,{...e,...CH(n,o),children:(0,h.jsxs)(r,{children:[(0,h.jsx)(T$,{}),(0,h.jsx)(TT,{}),(0,h.jsx)(TE,{})]})})})),TA=CV({useEmitter:T_,useEmitterValue:Tk,usePublisher:TM}),TR=CW({useEmitter:T_,useEmitterValue:Tk,usePublisher:TM});function TO(e,t,a){return"normal"!==t&&t?.endsWith("px")!==!0&&a(`${e} was not resolved to pixel value correctly`,t,2),"normal"===t?0:parseInt(t??"0",10)}var TB=e.i(43448),lJ=lJ;let TP=(0,sW.styled)(li.Grid,{label:"Individual",...sZ.transientOptions})`
3692  position: relative;
3693  width: 100%;
3694
3695  &.headshot-item {
3696    & > a {
3697      display: block;
3698    }
3699
3700    & > a > div:headshot-image {
3701      ${e=>e.$isRound&&`
3702        transition: transform 0.2s ease-in-out;
3703        cursor: pointer;
3704      `}
3705    }
3706
3707    &:hover {
3708      & > a > div:headshot-image {
3709        ${e=>e.$isRound&&`
3710          transform: scale(1.025);
3711          z-index: 1;
3712        `}
3713      }
3714
3715      a h4,
3716      a h4 span,
3717      a h6,
3718      a h6 span {
3719        cursor: pointer;
3720      }
3721    }
3722
3723    /* the button is the CTA — leave the text color alone on hover */
3724    &:not(.has-button):hover {
3725      a h4,
3726      a h4 span,
3727      a h6,
3728      a h6 span {
3729        color: var(--color-headline-secondary) !important;
3730      }
3731    }
3732
3733    /* text → button gap lives on the preceding sibling (the card link or
3734       the details) and collapses when it's last (Issues card pattern). The
3735       CMS's image-only link sits above the details and owns no gap. */
3736    & > a:not(:last-child):not(.headshot-image-link),
3737    & > .headshot-details:not(:last-child) {
3738      margin-bottom: 0.75em;
3739    }
3740
3741    /* row-aligned buttons: the wrapper stretches items when any headshot has
3742       a button, and mt auto pins this item's button to the shared bottom */
3743    &.has-button {
3744      display: flex;
3745      flex-direction: column;
3746
3747      & > *:last-child {
3748        margin-top: auto;
3749      }
3750    }
3751  }
3752
3753  ${({theme:e})=>e.breakpoints.down("sm")} {
3754    position: relative;
3755    width: calc(100% + var(--standard-padding-horiz) * 2);
3756    margin-left: calc(-1 * var(--standard-padding-horiz));
3757    margin-right: calc(-1 * var(--standard-padding-horiz));
3758
3759    & > div:headshot-image,
3760    div.headshot-image {
3761      width: ${e=>e.$isRound?"60vw":"100%"};
3762      margin: ${e=>e.$isRound?"auto":"0"};
3763      background: ${e=>e.$isRound?"transparent":"var(--color-flourish-secondary)"};
3764      height: ${e=>e.$mobileImageWidth};
3765    }
3766
3767    &::before {
3768      content: '';
3769      position: absolute;
3770      width: 100%;
3771      height: 50vw;
3772      top: 5vw;
3773      background: var(--color-flourish-secondary);
3774    }
3775
3776    /* single column: the details' mobile padding-bottom used to be the
3777       inter-item gap — with a button it lands between text and button, so
3778       move the gap onto the item itself instead */
3779    &.has-button {
3780      .headshot-details {
3781        padding-bottom: 0;
3782      }
3783
3784      &:not(:last-child) {
3785        margin-bottom: 24px;
3786      }
3787    }
3788  }
3789`,TL=(0,sW.styled)(li.Grid,{label:"FeaturedHeadshotsWrapper",...sZ.transientOptions})`
3790  z-index: 1; // There's some weird sideways line that shows up on mobile if this isn't here
3791  padding: 0 var(--standard-padding-horiz);
3792  position: relative;
3793
3794  img {
3795    object-fit: cover !important;
3796
3797    ${({theme:e})=>e.breakpoints.down("sm")} {
3798      object-fit: contain !important;
3799    }
3800  }
3801
3802  ${e=>!e.$isRound&&`
3803    &:before {
3804      content: '';
3805      background-color: var(--color-flourish-secondary);
3806      position: absolute;
3807      width: 100vw;
3808      height: 27.3vw;
3809      top: 0;
3810      left: 0;
3811    }
3812  `}
3813
3814  ${e=>e.$isRound&&`
3815    &:before {
3816      content: '';
3817      background-color: var(--color-flourish-secondary);
3818      position: absolute;
3819      width: 100vw;
3820      height: 18vw;
3821      top: 3.5vw;
3822      left: 0;
3823    }
3824  `}
3825
3826  ${({theme:e})=>e.breakpoints.down("sm")} {
3827    padding: 0;
3828
3829    &:before {
3830      content: none;
3831    }
3832  }
3833`,TD=(0,sW.styled)("div",{label:"FeaturedIndividualDetails",...sZ.transientOptions})`
3834  width: 100%;
3835  padding: 1.5vw;
3836  padding-bottom: 0;
3837  text-align: center;
3838
3839  h4 {
3840    margin: auto;
3841    width: fit-content;
3842    transition: color 0.2s ease-in-out;
3843    span {
3844      transition: color 0.2s ease-in-out;
3845    }
3846  }
3847
3848  & > *:not(:last-child) {
3849    margin-bottom: 0.35rem;
3850  }
3851
3852  ${({theme:e})=>e.breakpoints.down("md")} {
3853    padding: 1.7vw 2.55vw 0 2.55vw;
3854  }
3855
3856  ${({theme:e})=>e.breakpoints.down("sm")} {
3857    position: static;
3858    margin-left: auto;
3859    margin-right: auto;
3860    padding-top: 4.25vw;
3861    padding-bottom: calc(20px + 1vw);
3862    padding-left: var(--standard-padding-horiz);
3863    padding-right: var(--standard-padding-horiz);
3864    width: 100%;
3865    min-width: ${e=>e.$mobileImageWidth};
3866
3867    div:last-child > & {
3868      padding-bottom: 0;
3869    }
3870  }
3871`,Tj=(0,sW.styled)("div",{label:"IndividualDetails",...sZ.transientOptions})`
3872  margin: auto;
3873  padding: 1.28vw 1.28vw 0 1.28vw;
3874  text-align: center;
3875
3876  h5 {
3877    margin: auto;
3878    width: fit-content;
3879    margin-bottom: 0.2em;
3880    transition: color 0.2s ease-in-out;
3881    span {
3882      transition: color 0.2s ease-in-out;
3883    }
3884  }
3885
3886  & > *:not(:last-child) {
3887    margin-bottom: 0.35rem;
3888  }
3889
3890  ${({theme:e})=>e.breakpoints.down("md")} {
3891    padding: 1.7vw 1.7vw 0 1.7vw;
3892  }
3893
3894  ${({theme:e})=>e.breakpoints.down("sm")} {
3895    position: static;
3896    margin-left: auto;
3897    margin-right: auto;
3898    padding-top: 4.25vw;
3899    padding-bottom: calc(20px + 1vw);
3900    width: 100%;
3901    min-width: ${e=>e.$mobileImageWidth};
3902
3903    h5 {
3904      margin-bottom: 0.3em;
3905    }
3906
3907    div:last-child > & {
3908      padding-bottom: 0;
3909    }
3910  }
3911`,TG=(0,sW.styled)(lr.Box,{label:"StandardHeadshotsWrapper"})`
3912  padding: calc(var(--standard-padding-vert) / 1.5)
3913    var(--standard-padding-horiz) 0 var(--standard-padding-horiz);
3914
3915  & .headshot-item {
3916    & > a {
3917      display: block;
3918    }
3919
3920    & > a > div.headshot-image {
3921      transition: transform 0.2s ease-in-out;
3922      cursor: pointer;
3923    }
3924    &:hover {
3925      & > a > div.headshot-image {
3926        transform: scale(1.025);
3927        z-index: 1;
3928      }
3929      a h5,
3930      a h6 {
3931        cursor: pointer;
3932      }
3933    }
3934
3935    /* the button is the CTA — leave the text color alone on hover */
3936    &:not(.has-button):hover {
3937      a h5,
3938      a h6 {
3939        color: var(--color-headline-secondary) !important;
3940      }
3941    }
3942
3943    /* text → button gap lives on the preceding sibling (the card link or
3944       the details) and collapses when it's last (Issues card pattern). The
3945       CMS's image-only link sits above the details and owns no gap. */
3946    & >
3946 a:not(:last-child):not(.headshot-image-link),
3947    & > .headshot-details:not(:last-child) {
3948      margin-bottom: 0.75em;
3949    }
3950
3951    /* row-aligned buttons: the wrapper stretches items when any headshot has
3952       a button, and mt auto pins this item's button to the shared bottom */
3953    &.has-button {
3954      display: flex;
3955      flex-direction: column;
3956
3957      /* the details' vertical margin:auto would absorb flex slack and float
3958         the text; keep the slack on the button's auto margin instead */
3959      & > .headshot-details {
3960        margin-top: 0;
3961      }
3962
3963      & > *:last-child {
3964        margin-top: auto;
3965      }
3966    }
3967  }
3968
3969  ${({theme:e})=>e.breakpoints.down("sm")} {
3970    padding: 0;
3971
3972    /* single column: the details' mobile padding-bottom used to be the
3973       inter-item gap — with a button it lands between text and button, so
3974       move the gap onto the item itself instead */
3975    & .headshot-item.has-button {
3976      .headshot-details {
3977        padding-bottom: 0;
3978      }
3979
3980      &:not(:last-child) {
3981        margin-bottom: 24px;
3982      }
3983    }
3984  }
3985`,TF=(0,b.memo)(({item:e,index:t,listKey:a,blockData:n,totalFeaturedCount:r,isRoundFeatured:o,showIndividualTitles:i,showIndividualDescriptions:s,showSocialMedia:l,isMobile:d,featuredImageSize:c,mobileFeaturedImageSize:u,roundImageBorder:p,dropShadow:m,createUrl:g,navigate:f})=>{let v,b=(0,h.jsx)(lJ.default,{iconType:"small-simple",blockData:n,socialLinks:e.socialMedia}),x=(0,h.jsx)(sq,{width:o?d?u:c:"100%",height:d?u:c,src:e.image,alt:e.imageAltText||`${(0,cA.stripHtml)(e.title).result}`,title:(0,cA.stripHtml)(e.title).result,isRound:o,border:o?p:"",dropShadow:o?m:""}),S=(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(sU.default,{name:"title",value:e.title,list:"items",listKey:a,toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:4,charLimit:40,className:"endorserTitle [&_h4]:text-site-headline-md [&_h4]:max-lg:text-site-headline-sm [&_h4]:max-md:text-site-headline-md [&_h4]:mb-[0.7em] [&_h4]:text-[color:var(--color-headline-primary)]",blockData:n}),i&&(0,h.jsx)(sU.default,{className:"endorserSubtitle [&_h6]:max-sm:text-site-body [&_h6]:max-md:text-site-body-xs [&_h6]:text-site-body-sm",name:"subtitle",value:e.subtitle,list:"items",listKey:a,toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:6,charLimit:50,blockData:n})]}),{as:w,isExternal:C}=g({url:e.url||""}),T="true"===y.default.env.NEXT_PUBLIC_IS_CMS,$=(0,h.jsxs)(TD,{className:"trim-trailing-margins headshot-details",$imageWidth:`${c}`,$mobileImageWidth:`${u}`,children:[S,s&&(0,h.jsx)(sU.default,{name:"individualDescription",value:e.individualDescription??"Description goes here",list:"items",listKey:a,toolbarOption:"basic",charLimit:300,className:"individualDescription text-site-body-sm mt-[0.5em]",blockData:n}),l&&b]});if(e.url){let t={href:w,target:C?"true"===y.default.env.NEXT_PUBLIC_IS_CMS?"_blank":void 0!==e.openInNewTab?e.openInNewTab?"_blank":void 0:"_blank":void 0,rel:C?"noopener noreferrer":void 0,onClick:C?void 0:t=>{t.preventDefault(),f({url:e.url})},style:{textDecoration:"none"}};v=T?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("a",{...t,className:"headshot-image-link",children:(0,h.jsx)("div",{children:x})}),$]}):(0,h.jsxs)("a",{...t,children:[(0,h.jsx)("div",{children:x}),$]})}else v=(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{children:x}),$]});return(0,h.jsxs)(TP,{item:!0,className:e.showButton?"headshot-item has-button":"headshot-item",$imageWidth:"100%",$mobileImageWidth:"100%",$isRound:o,sx:{gridColumn:{xs:"span 12",sm:2===r?0===t?"3 / span 4":"span 4":1===r?"5 / span 4":"span 4"}},children:[v,e.showButton&&(0,h.jsx)(lo.FeaturedLink,{href:e.url||"",buttonId:e.id,align:"center",variant:"outlined",size:"xs",className:"text-site-body-xs max-w-full whitespace-normal uppercase leading-[1.4] [&_.button-content]:text-center",buttonText:e.buttonText,openInNewTab:e.openInNewTab})]})},(e,t)=>e.index===t.index&&e.listKey===t.listKey&&e.totalFeaturedCount===t.totalFeaturedCount&&e.isRoundFeatured===t.isRoundFeatured&&e.showIndividualTitles===t.showIndividualTitles&&e.showIndividualDescriptions===t.showIndividualDescriptions&&e.showSocialMedia===t.showSocialMedia&&e.charLimitsEnabled===t.charLimitsEnabled&&e.featuredImageSize===t.featuredImageSize&&e.mobileFeaturedImageSize===t.mobileFeaturedImageSize&&e.dropShadow===t.dropShadow&&e.isMobile===t.isMobile&&e.createUrl===t.createUrl&&e.navigate===t.navigate&&!!(0,S_.default)(e.item,t.item)&&!!(0,S_.default)(e.roundImageBorder,t.roundImageBorder)&&!0);TF.displayName="FeaturedHeadshotItem";let TH=(0,b.memo)(({item:e,listKey:t,baseIndex:a,blockData:n,showIndividualTitles:r,showIndividualDescriptions:o,showSocialMedia:i,showFeaturedHeadshots:s,adjustLayout:l,isMobile:d,isTablet:c,numColumns:u,alignToolbarRight:p,standardImageSize:m,tabletStandardImageSize:g,mobileStandardImageSize:f,roundImageBorder:v,roundImageBorderTablet:x,dropShadow:S,createUrl:w,navigate:C})=>{let T,{onBlur:$}=(0,b.useContext)(TB.default),E=(0,h.jsx)(lJ.default,{iconType:"small-simple",blockData:n,socialLinks:e.socialMedia}),I=(0,h.jsx)(sq,{width:d?f:c?g:m,height:d?f:c?g:m,src:e.image,alt:e.imageAltText||`${(0,cA.stripHtml)(e.title).result}`,title:(0,cA.stripHtml)(e.title).result,isRound:!0,border:c?x:v,dropShadow:S}),N=(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(sU.default,{name:"title",value:e.title.replace(/<(\/?)h4(?=[\s>])/gi,"<$1h5"),list:"items",listKey:t,toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:5,charLimit:40,onBlurOverride:(e,t,a,n)=>$(e,t.replace(/<(\/?)h5(?=[\s>])/gi,"<$1h4"),a,n),className:`endorserTitle ${3===u?"[&_h5]:text-site-headline-md [&_h5]:max-lg:text-site-headline-sm [&_h5]:max-md:text-site-headline-md [&_h5]:max-sm:text-site-headline-sm":u>=5?"[&_h5]:text-site-headline-xs [&_h5]:max-lg:text-site-headline-xxs [&_h5]:max-md:text-site-headline-xs [&_h5]:max-sm:text-site-headline-sm":"[&_h5]:text-site-headline-sm [&_h5]:max-lg:text-site-headline-xs [&_h5]:max-md:text-site-headline-sm"} [&_h5]:mb-[0.75em]`,blockData:n,alignToolbarRight:p}),r&&(0,h.jsx)(sU.default,{className:`endorserSubtitle ${3===u?"[&_h6]:text-site-body-sm [&_h6]:max-sm:text-site-body-xs":u>=5?"[&_h6]:max-sm:text-site-body-xs [&_h6]:max-md:text-site-body-xxs [&_h6]:text-site-body-xxs":"[&_h6]:max-sm:text-site-body-xs [&_h6]:max-md:text-site-body-xs [&_h6]:text-site-body-xs"}
3985`,name:"subtitle",value:e.subtitle,list:"items",listKey:t,toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:6,charLimit:50,blockData:n,alignToolbarRight:p})]}),{as:_,isExternal:k}=w({url:e.url||""}),M="true"===y.default.env.NEXT_PUBLIC_IS_CMS,A=(0,h.jsxs)(Tj,{className:"trim-trailing-margins headshot-details",$imageWidth:m,$mobileImageWidth:f,children:[N,o&&(0,h.jsx)(sU.default,{name:"individualDescription",value:e.individualDescription??"Description goes here",list:"items",listKey:t,toolbarOption:"basic",charLimit:300,className:"individualDescription text-site-body-sm mt-[0.5em]",blockData:n,alignToolbarRight:p}),i&&E]});if(e.url){let t={href:_,target:k?"true"===y.default.env.NEXT_PUBLIC_IS_CMS?"_blank":void 0!==e.openInNewTab?e.openInNewTab?"_blank":void 0:"_blank":void 0,rel:k?"noopener noreferrer":void 0,onClick:k?void 0:t=>{t.preventDefault(),C({url:e.url})},style:{textDecoration:"none"}};T=M?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("a",{...t,className:"headshot-image-link",children:(0,h.jsx)("div",{className:"headshot-image",children:I})}),A]}):(0,h.jsxs)("a",{...t,children:[(0,h.jsx)("div",{className:"headshot-image",children:I}),A]})}else T=(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"headshot-image",children:I}),A]});return(0,h.jsxs)(lr.Box,{sx:l&&!d?{gridColumn:{xs:"span 12",sm:`${0===e.offset?"":`${e.offset} / `}span ${(24%u==0?24:2*u)/u}`}}:{width:{xs:"50%",sm:`${100/u}%`}},className:e.showButton?"headshot-item has-button":"headshot-item",children:[T,e.showButton&&(0,h.jsx)(lo.FeaturedLink,{href:e.url||"",buttonId:e.id,align:"center",variant:"outlined",size:"xs",className:"text-site-body-xs max-w-full whitespace-normal uppercase leading-[1.4] [&_.button-content]:text-center",buttonText:e.buttonText,openInNewTab:e.openInNewTab})]})},(e,t)=>e.listKey===t.listKey&&e.baseIndex===t.baseIndex&&e.showIndividualTitles===t.showIndividualTitles&&e.showIndividualDescriptions===t.showIndividualDescriptions&&e.showSocialMedia===t.showSocialMedia&&e.charLimitsEnabled===t.charLimitsEnabled&&e.adjustLayout===t.adjustLayout&&e.showFeaturedHeadshots===t.showFeaturedHeadshots&&e.featuredHeadshotsLength===t.featuredHeadshotsLength&&e.numColumns===t.numColumns&&e.alignToolbarRight===t.alignToolbarRight&&e.standardImageSize===t.standardImageSize&&e.tabletStandardImageSize===t.tabletStandardImageSize&&e.mobileStandardImageSize===t.mobileStandardImageSize&&e.dropShadow===t.dropShadow&&e.isMobile===t.isMobile&&e.isTablet===t.isTablet&&e.createUrl===t.createUrl&&e.navigate===t.navigate&&!!(0,S_.default)(e.item,t.item)&&!!(0,S_.default)(e.roundImageBorder,t.roundImageBorder)&&!!(0,S_.default)(e.roundImageBorderTablet,t.roundImageBorderTablet)&&!0);TH.displayName="StandardHeadshotItem";var lJ=lJ;let TU="22vw",TK="27vw",Tz="60vw",TV=(0,sW.styled)("article",{label:"TestimonialContainer",...sZ.transientOptions})`
3986  display: flex;
3987  flex-wrap: wrap;
3988  text-align: left;
3989  justify-content: space-between;
3990  flex-direction: row;
3991  align-items: flex-start;
3992  width: 100%;
3993
3994  h1 {
3995    color: var(--color-headline-primary);
3996  }
3997
3998  .bio-item {
3999    margin-bottom: 1em;
4000
4001    &:last-of-type {
4002      margin-bottom: 0;
4003    }
4004
4005    &.title-bio-item {
4006      margin-bottom: 0.5em;
4007    }
4008  }
4009
4010  // Two Column
4011  ${({theme:e})=>e.breakpoints.up("sm")} {
4012    text-align: left;
4013    justify-content: space-between;
4014    align-items: flex-start;
4015  }
4016
4017  // Breakpoints
4018  ${({theme:e})=>e.breakpoints.down("sm")} {
4019    padding-left: 0;
4020    padding-right: 0;
4021    text-align: center;
4022  }
4023`,TW=(0,sW.styled)("div",{label:"Bio"})`
4024  display: flex;
4025  flex-direction: ${e=>e.$flexDirection};
4026  justify-content: ${e=>"row-reverse"===e.$flexDirection?"space-between":"flex-start"};
4027  gap: 3vw;
4028  width: 100%;
4029
4030  ${({theme:e})=>e.breakpoints.down("sm")} {
4031    flex-direction: column;
4032    gap: 5vw;
4033  }
4034`,TZ=(0,sW.styled)("div",{label:"BioIndividual"})`
4035  position: relative;
4036
4037  ${({theme:e})=>e.breakpoints.down("sm")} {
4038    position: static;
4039    width: calc(100% + var(--standard-padding-horiz) * 2);
4040    margin-left: calc(-1 * var(--standard-padding-horiz));
4041    margin-right: calc(-1 * var(--standard-padding-horiz));
4042  }
4043`,TY=(0,sW.styled)("div",{label:"BioTitle"})`
4044  [data-field='title'] {
4045    h4 {
4046      margin-bottom: 0;
4047    }
4048  }
4049`,TJ=(0,sW.styled)(li.Grid,{label:"BioSubtitle",...sZ.transientOptions})`
4050  transition: none;
4051  &.wrap-title {
4052    border: 2px solid var(--color-text);
4053    display: inline-flex;
4054    align-items: center;
4055    justify-content: center;
4056    position: relative;
4057    vertical-align: middle;
4058    padding: 0.5em 1em;
4059  }
4060
4061  & h6 {
4062    margin-bottom: 0;
4063  }
4064`,Tq=(0,sW.styled)("div",{label:"SocialIconsContainer"})`
4065  display: flex;
4066  font-size: var(--tw-font-size-body-sm);
4067
4068  ${({theme:e})=>e.breakpoints.down("sm")} {
4069    justify-content: center;
4070
4071    .social-media-icons {
4072      & > a {
4073        margin-left: 0.25em;
4074        margin-right: 0.25em;
4075      }
4076    }
4077  }
4078`,TX=(0,sW.styled)("div",{label:"PreviewBlock",...sZ.transientOptions})`
4079  display: grid;
4080  grid-template-columns: 50% 50%;
4081
4082  ${e=>e.theme.breakpoints.down("sm")} {
4083    display: block;
4084    position: relative;
4085    z-index: ${sA.default.zindex.abovePinstripes};
4086  }
4087`,TQ=(0,sW.styled)("div",{label:"IssuePreview"})`
4088  display: flex;
4089  align-items: flex-start;
4090  padding-top: 1.5vw;
4091  padding-bottom: ${e=>e.$showDescription?"2vw":"1.5vw"};
4092  border-color: var(--color-flourish-secondary);
4093  border-style: solid;
4094  border-width: 0; // hides divider borders by default
4095
4096  &:nth-of-type(odd) {
4097    border-right-width: 1px;
4098    padding-right: 10%;
4099  }
4100
4101  &:nth-of-type(even) {
4102    padding-left: 10%;
4103  }
4104
4105  // remove the padding top on the first 2 issues
4106  &:nth-of-type(3),
4107  &:nth-of-type(4) {
4108    padding-top: 0;
4109  }
4110
4111  // remove the padding bottom on the last 2 issues
4112  &:last-of-type,
4113  &:nth-last-of-type(2) {
4114    padding-bottom: 0;
4115  }
4116
4117  // hides the last issues if it's an odd number
4118  &:last-of-type:nth-of-type(odd) {
4119    display: none;
4120  }
4121
4122  /* [data-field] scope outranks the global (0,1,1) first-child/trim rules */
4123  [data-field='title'] h2 {
4124    color: var(--color-headline-primary);
4125    margin-top: 3.5%;
4126
4127    ${e=>e.theme.breakpoints.down("md")} {
4128      margin-top: 0.5em;
4129      margin-bottom: 0.5em;
4130      margin-top: 2%;
4131    }
4132
4133    ${e=>e.theme.breakpoints.down("sm")} {
4134      margin-top: 3.5%;
4135    }
4136  }
4137
4138  ${e=>e.theme.breakpoints.down("md")} {
4139    &:nth-of-type(2n + 1):after {
4140      height: calc(100% - 5vw);
4141    }
4142  }
4143
4144  ${e=>e.theme.breakpoints.down("sm")} {
4145    && {
4146      width: 100%;
4147      padding-left: 0;
4148      padding-right: 0;
4149      padding-top: 0;
4150      margin-bottom: 20px;
4151      border-right: none;
4152    }
4153
4154    &:last-child {
4155      margin-bottom: 0;
4156    }
4157
4158    &:last-child .text-section {
4159      padding-bottom: 0;
4160      border: none;
4161    }
4162  }
4163`,T0=(0,sW.styled)("div",{label:"PreviewTextSection"})`
4164  width: 80%;
4165  ${e=>e.theme.breakpoints.down("sm")} {
4166    padding-bottom: 30px;
4167    border-bottom: 1px solid var(--color-flourish-secondary);
4168  }
4169`,T1=(0,sW.styled)("div",{label:"PreviewDivider"})`
4170  & {
4171    width: 95%;
4172    margin-top: 1.5vw;
4173    margin-bottom: 1.5vw;
4174    border-bottom: 1px solid var(--color-flourish-secondary);
4175    height: 1px;
4176  }
4177
4178  &:nth-of-type(odd) {
4179    justify-self: start;
4180  }
4181
4182  &:nth-of-type(even) {
4183    justify-self: end;
4184  }
4185
4186  &:nth-of-type(1),
4187  &:nth-of-type(2) {
4188    display: none;
4189  }
4190
4191  ${e=>e.theme.breakpoints.down("sm")} {
4192    display: none;
4193  }
4194`,T2=(0,sW.styled)("div",{label:"PreviewCheckWrapper",...sZ.transientOptions})`
4195  width: ${({$bare:e})=>e?"12.5%":"15%"};
4196  margin-right: ${({$bare:e})=>e?"3%":"5%"};
4197  /* the shrunk bare glyph top-aligns high against the large title —
4198     drop it back to the title's optical center */
4199  margin-top: ${({$bare:e})=>e?"1.5%":"0"};
4200
4201  ${e=>e.theme.breakpoints.down("sm")} {
4202    width: ${({$bare:e})=>e?"12.5%":"15%"};
4203    margin-right: ${({$bare:e})=>e?"3%":"5%"};
4204  }
4205`,T3=(0,sW.styled)("div",{label:"ColumnsWrapper"})`
4206  display: grid;
4207  grid-template-columns: minmax(30%, auto) minmax(40%, auto);
4208  column-gap: 4%;
4209
4210  ${e=>e.theme.breakpoints.down("sm")} {
4211    display: block;
4212    position: relative;
4213    z-index: ${sA.default.zindex.abovePinstripes};
4214  }
4215`,T5=(0,sW.styled)("div",{label:"IntroWrapper"})`
4216  .text-wrapper {
4217    ${({theme:e})=>e.breakpoints.down("sm")} {
4218      margin-bottom: var(--small-padding);
4219    }
4220
4221    h1,
4222    h2,
4223    h3,
4224    h4,
4225    h5 {
4226      color: var(--color-headline-primary);
4227    }
4228
4229    ${({theme:e})=>e.breakpoints.down("sm")} {
4230      text-align: center;
4231    }
4232  }
4233`,T4=(0,sW.styled)("div",{label:"IssuesWrapper"})`
4234  /* Every distance in the list derives from these; retune here, not per
4235     rule. item-gap is text <-> divider (both sides), title-gap is title <->
4236     description, title-line is the title's first line box. */
4237  --icon-size: calc(1.5 * var(--tw-font-size-headline-lg));
4238  --icon-gap: calc(0.5 * var(--tw-font-size-headline-lg));
4239  --title-line: calc(
4240    var(--tw-font-size-headline-sm) * var(--tw-line-height-headline-sm)
4241  );
4242  --item-gap: calc(0.8 * var(--tw-font-size-headline-sm));
4243  --title-gap: calc(0.4 * var(--tw-font-size-headline-sm));
4244
4245  /* Block-wide heading color (matches IntroWrapper): everything except the
4246     h6 eyebrow uses the primary headline color. */
4247  h1,
4248  h2,
4249  h3,
4250  h4,
4251  h5 {
4252    color: var(--color-headline-primary);
4253  }
4254`,T6=(0,sW.styled)("div",{label:"IssuePreview"})`
4255  position: relative;
4256  display: flex;
4257  align-items: flex-start;
4258  padding-block: var(--item-gap);
4259
4260  &:first-child {
4261    padding-top: 0;
4262  }
4263
4264  &:last-child {
4265    padding-bottom: 0;
4266  }
4267
4268  /* Hairline between items, inset to the text column */
4269  & + &::before {
4270    content: '';
4271    position: absolute;
4272    top: 0;
4273    left: calc(var(--icon-size) + var(--icon-gap));
4274    right: 0;
4275    border-top: 1px solid var(--color-flourish-secondary);
4276  }
4277
4278  /* Fields are margin-neutral; the item padding and --title-gap own the
4279     rhythm. Unlayered, so this outranks the global [data-field] trim rules. */
4280  [data-field='title'] h4 {
4281    margin: 0;
4282  }
4283
4284  [data-field='shortDescription'] {
4285    margin-top: var(--title-gap);
4286  }
4287`,T8=(0,sW.styled)("div",{label:"PreviewTextSection"})`
4288  flex: 1;
4289  min-width: 0;
4290`,T9=(0,sW.styled)("div",{label:"HoverLink"})`
4291  color: var(--color-headline-primary);
4292  transition: color 0.2s ease;
4293
4294  &:hover {
4295    color: var(--color-headline-secondary);
4296  }
4297
4298  /* Disable ALL color transitions on nested elements to prevent conflicts */
4299  * {
4300    transition-property: none !important;
4301  }
4302
4303  /* Specifically target links to ensure no color transitions */
4304  a,
4305  a:hover,
4306  a:visited,
4307  a:focus,
4308  a:active {
4309    transition: none !important;
4310    transition-property: none !important;
4311  }
4312
4313  /* Ensure nested links stay their accent color */
4314  &:hover a,
4315  &:hover a:hover,
4316  &:hover a:visited {
4317    color: var(--color-text-accent-secondary) !important;
4318  }
4319`,T7=(0,sW.styled)("div",{label:"PreviewCheckWrapper"})`
4320  flex: none;
4321  display: flex;
4322  align-items: center;
4323  width: var(--icon-size);
4324  /* One title line tall: the icon overflows it equally above and below, so
4325     it centers on the first line without ever adding height to the item */
4326  height: var(--title-line);
4327  margin-right: var(--icon-gap);
4328
4329  & > * {
4330    flex: none;
4331    width: 100%;
4332  }
4333`,$e=({url:e,openInNewTab:t,children:a})=>{let{createUrl:n,navigate:r}=(0,sb.useNavigation)(),{as:o,isExternal:i}=n({url:e});return(0,h.jsx)(T9,{children:(0,h.jsx)("a",{href:o,target:t?"_blank":void 0,rel:t?"noopener noreferrer":void 0,onClick:t=>{i||(t.preventDefault(),r({url:e}))},style:{textDecoration:"none"},children:a})})},$t=(0,sW.styled)("div",{label:"Quote",...sZ.transientOptions})`
4334  color: var(--color-text);
4335  max-width: 900px;
4336  margin: auto;
4337
4338  h5 {
4339    ${({$blockId:e})=>e&&`
4340     font-size: calc(var(--tw-font-size-headline-md) + var(--slider-headline-size-${e}, 0) * 0.01vw) !important;
4341      line-height: var(--tw-line-height-headline-md);
4342    `}
4343  }
4344
4345  p {
4346    ${({$blockId:e})=>e&&`
4347      font-size: calc(var(--tw-font-size-body-xl) + var(--slider-text-size-${e}, 0) * 0.01vw) !important;
4348    `}
4349  }
4350
4351  .callout-quote-inner-container {
4352    position: relative;
4353    padding-top: ${e=>e.$hasTopPadding?"var(--standard-padding-vert)":"0"};
4354    padding-bottom: var(--standard-padding-vert);
4355    max-width: var(--single-col-width);
4356    display: flex;
4357    align-items: center;
4358    justify-content: center;
4359    min-height: 27vw;
4360    text-align: center;
4361    color: var(--color-headline-primary);
4362
4363    ${e=>e.$hasTopBorder&&`&::before {
4364        top: 0;
4365        content: '';
4366        position: absolute;
4367        width: 100%;
4368        background: var(--color-flourish-secondary);
4369        height: var(--bar-height);
4370        min-height: var(--min-bar-height);
4371        left: 0;
4372        z-index: ${sA.default.zindex.abovePage};
4373      }`}
4374
4375    ${e=>e.$hasBottomBorder&&`&::after {
4376        bottom: 0;
4377        content: '';
4378        position: absolute;
4379        width: 100%;
4380        background: var(--color-flourish-secondary);
4381        height: var(--bar-height);
4382        min-height: var(--min-bar-height);
4383        left: 0;
4384        z-index: ${sA.default.zindex.abovePage};
4385      }`}
4386
4387    ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&`
4388      &::before {
4389        border-bottom-left-radius: 10px;
4390        border-bottom-right-radius: 10px;
4391      }
4392
4393      &::after {
4394        border-top-left-radius: 10px;
4395        border-top-right-radius: 10px;
4396      }
4397    `}
4398  }
4399
4400  ${({theme:e})=>e.breakpoints.down("md")} {
4401    .callout-quote-inner-container {
4402      padding-top: ${e=>e.$hasTopPadding?"var(--standard-padding-vert)":"0"};
4403      padding-bottom: var(--standard-padding-vert);
4404    }
4405  }
4406
4407  ${({theme:e})=>e.breakpoints.down("sm")} {
4408    .callout-quote-inner-container {
4409      min-height: 35vw;
4410    }
4411  }
4412`,$a=(0,sW.styled)("div",sZ.transientOptions)`
4413  .callout-quote-with-text-wrapper {
4414    display: flex;
4415    min-height: 27vw;
4416
4417    & > div {
4418      width: 50%;
4419    }
4420
4421    .callout-quote-image-text {
4422      display: flex;
4423      align-items: center;
4424      color: var(--color-headline-primary);
4425    }
4426
4427    ${e=>e.$flipContent&&`
4428      .callout-quote-image-text {
4429        order: 2;
4430      }
4431      .callout-quote-image {
4432        order: 1;
4433      }
4434    `}
4435
4436    ${({theme:e})=>e.breakpoints.down("sm")} {
4437      flex-wrap: wrap;
4438
4439      .callout-quote-image-text {
4440        order: 2;
4441      }
4442      .callout-quote-image {
4443        order: 1;
4444      }
4445
4446      & > div.callout-quote-image {
4447        min-height: 68vw;
4448        width: 100%;
4449      }
4450
4451      & > div.callout-quote-image-text {
4452        min-height: 45vw;
4453        width: 100%;
4454      }
4455    }
4456  }
4457`,$n=(0,sW.styled)("div",{label:"QuoteImageText",...sZ.transientOptions})`
4458  color: var(--color-text);
4459  // em basis for the decorative-line inset below; p/h5 set their own sizes
4460  font-size: var(--tw-font-size-body-xl);
4461
4462  h5 {
4463    ${({$blockId:e})=>e&&`
4464      font-size: calc(var(--tw-font-size-headline-md) + var(--slider-headline-size-${e}, 0) * 0.01vw) !important;
4465      line-height: var(--tw-line-height-headline-md);
4466    `}
4467  }
4468
4469  p {
4470    ${({$blockId:e})=>e&&`
4471      font-size: calc(var(--tw-font-size-body-xl) + var(--slider-text-size-${e}, 0) * 0.01vw) !important;
4472    `}
4473  }
4474
4475  padding: var(--standard-padding-vert) var(--standard-padding-horiz);
4476
4477  // this targets the blocktextfield
4478  & > div {
4479    padding-left: 1.7em;
4480    position: relative;
4481
4482    // creates the decorative line
4483    &::before {
4484      content: '';
4485      position: absolute;
4486      top: 0;
4487      left: 0;
4488      background: var(--color-flourish-secondary);
4489      height: 100%;
4490      width: 8px;
4491    }
4492
4493    ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&`
4494      &::before {
4495        border-bottom-right-radius: 10px;
4496        border-top-right-radius: 10px;
4497      }
4498    `}
4499  }
4500
4501  ${({theme:e})=>e.breakpoints.down("sm")} {
4502    padding-top: var(--medium-padding);
4503    padding-bottom: var(--medium-padding);
4504  }
4505`,$r=(0,sW.styled)("div",{label:"QuoteImage"})`
4506  z-index: 1;
4507`,$o=(0,sW.styled)(li.Grid,{label:"RedBox"})`
4508  border: 1px solid red;
4509  padding: 2em;
4510`;var $i=e.i(16970),$i=$i;
4510let $s=(0,sW.styled)("div",{label:"BackgroundFlourish",...sZ.transientOptions})`
4511  position: absolute;
4512  top: 10%;
4513  right: -10%;
4514  width: auto;
4515  height: auto;
4516  z-index: 0;
4517  opacity: 0.05;
4518
4519  svg {
4520    & path[class*='inner-arrow'],
4521    & polygon[class*='inner-arrow'],
4522    & rect[class*='inner-arrow'],
4523    & circle[class*='inner-arrow'] {
4524      fill: var(--color-flourish-primary);
4525      transition: 0.2s;
4526  }
4527
4528  & path[class*='outer-circle'],
4529  & polygon[class*='outer-circle'],
4530  & rect[class*='outer-circle'],
4531  & circle[class*='outer-circle'] {
4532    stroke: var(--color-flourish-primary);
4533    fill: var(--color-bg);
4534    transition: 0.2s;
4535  }
4536`,$l=(0,sW.styled)(lr.Box,{label:"ColumnsWrapper",...sZ.transientOptions})`
4537  padding: 0 var(--standard-padding-horiz) 0 var(--standard-padding-horiz);
4538  display: flex;
4539  flex-direction: ${({$layoutType:e})=>e===sk.VOTING_LAYOUT_TYPE.STANDARD?"column":"row"};
4540  ${e=>e.theme.breakpoints.down("sm")} {
4541    display: block;
4542    position: relative;
4543    padding: 0;
4544    z-index: ${sA.default.zindex.abovePinstripes};
4545  }
4546`,$d=(0,sW.styled)(lr.Box,{label:"DescriptionWrapper",...sZ.transientOptions})`
4547  position: relative;
4548  max-width: 1100px;
4549  margin-left: auto;
4550  margin-right: auto;
4551  justify-content: ${({$layoutType:e})=>e===sk.VOTING_LAYOUT_TYPE.STANDARD?"center":"flex-start"};
4552  text-align: ${({$layoutType:e})=>e===sk.VOTING_LAYOUT_TYPE.STANDARD?"center":"left"};
4553  width: 100%;
4554  margin-bottom: 2em;
4555
4556  ${({theme:e})=>e.breakpoints.down("md")} {
4557    margin-bottom: 0;
4558  }
4559
4560  ${({theme:e})=>e.breakpoints.down("sm")} {
4561    margin-bottom: var(--medium-padding);
4562    margin-left: calc(var(--standard-padding-horiz) * -1);
4563    margin-right: calc(var(--standard-padding-horiz) * -1);
4564    width: calc(100% + (2 * var(--standard-padding-horiz)));
4565    padding: 0 var(--standard-padding-horiz);
4566    border-top: none;
4567    text-align: center;
4568  }
4569`,$c=(0,sW.styled)("div",{label:"ResourcesWrapper",...sZ.transientOptions})`
4570  // Controls the padding and other em-based styles. Matched to the text size used by the internal h5
4571  font-size: var(--tw-font-size-headline-xxs);
4572
4573  a {
4574    text-decoration: none;
4575    display: block;
4576    height: 100%;
4577  }
4578
4579  ${({$layoutType:e,theme:t})=>e===sk.VOTING_LAYOUT_TYPE.TWO_COL&&`
4580    flex: 1 0 50%;
4581    display: flex;
4582    flex-direction: column;
4583    justify-content: center;
4584  `}
4585`,$u=(0,sW.styled)(lr.Box,{label:"Resource",...sZ.transientOptions})`
4586  width: 100%;
4587  display: flex;
4588  align-items: flex-end;
4589  position: relative;
4590  text-decoration: none;
4591  flex-direction: column;
4592  align-items: stretch;
4593  max-height: 350px;
4594  ${({$buttonColor:e,$useOutlinedButtons:t,$hasPhotos:a})=>e&&!t||a?`background: var(--color-${e});`:`border: 2px solid var(--color-${e});`}
4595  ${({$corners:e})=>e===sD.THEME_CORNERS.ROUNDED?"border-radius: .2em; ":e===sD.THEME_CORNERS.HALF_ROUNDED?"border-radius: 0 .2em;":""}
4596  [data-field='title'] {
4597    h5 {
4598      margin-bottom: 0;
4599      display: flex;
4600      justify-content: space-between;
4601      align-items: center;
4602      width: 100%;
4603      color: var(--color-text);
4604      transition: color 0.2s ease;
4605    }
4606
4607    /* min-height: 1em resolves against the block's large font; keep the
4608       click target but pin the title to the bottom of it */
4609    .inactive-text-field {
4610      display: flex;
4611      flex-direction: column;
4612      justify-content: flex-end;
4613    }
4614  }
4615
4616  &:hover {
4617    background: var(--color-bg);
4618    [data-field='title'] {
4619      h5 {
4620        color: var(--color-headline-secondary);
4621      }
4622    }
4623  }
4624
4625  a {
4626    text-decoration: none;
4627  }
4628`,$p=(0,sW.styled)("div",{label:"ImageContainer"})`
4629  display: block;
4630  position: relative;
4631  width: 100%;
4632  height: 7em;
4633
4634  ${({theme:e})=>e.breakpoints.down("md")} {
4635    height: 8em;
4636  }
4637`,$m=(0,sW.styled)("div",{label:"TextContainer",...sZ.transientOptions})`
4638  padding-left: 1em;
4639  padding-right: 1em;
4640  padding-bottom: 0.75em;
4641  position: relative;
4642  min-height: 7em;
4643  display: flex;
4644  align-items: flex-end;
4645  flex: 1;
4646  ${({$hasPhotos:e})=>e?"padding-top: 1.25em;":"padding-top: 1.5em;"}
4647
4648  ${({theme:e})=>e.breakpoints.down("md")} {
4649    min-height: 8em;
4650  }
4651`,$h=(0,sW.styled)("div",{label:"ResourceLink",...sZ.transientOptions})`
4652  width: 100%;
4653  height: 100%;
4654  display: flex;
4655  align-items: flex-end;
4656  position: relative;
4657  text-decoration: none;
4658  flex-direction: column;
4659  align-items: stretch;
4660  flex: 1 1 calc(47% - 0.25em);
4661  max-height: 350px;
4662  overflow: hidden;
4663  ${({$buttonColor:e,$useOutlinedButtons:t,$hasPhotos:a})=>e&&!t||a?`background: var(--color-${e});`:`border: 2px solid var(--color-${e});`}
4664  ${({$corners:e})=>e===sD.THEME_CORNERS.ROUNDED?"border-radius: .4em; ":e===sD.THEME_CORNERS.HALF_ROUNDED?"border-radius: 0 .4em;":""}
4665    ${({$layoutType:e,$buttonColor:t})=>
4665e===sk.VOTING_LAYOUT_TYPE.TWO_COL&&`
4666    border-bottom: 2px solid var(--color-${t});
4667  `}
4668  [data-field='title'] {
4669    h5 {
4670      margin-bottom: 0;
4671      display: flex;
4672      justify-content: space-between;
4673      align-items: center;
4674      width: 100%;
4675      color: var(--color-text);
4676    }
4677  }
4678
4679  a {
4680    text-decoration: none;
4681  }
4682
4683  &:hover {
4684    background: var(--color-bg);
4685    [data-field='title'] {
4686      h5 {
4687        color: var(--color-headline-secondary);
4688      }
4689    }
4690  }
4691`,$g=(0,sW.styled)("div",{label:"ResourceArrow",...sZ.transientOptions})`
4692  font-size: var(--tw-font-size-body);
4693  position: absolute;
4694  top: 0.5em;
4695  right: 0.6em;
4696
4697  ${({theme:e})=>e.breakpoints.down("md")} {
4698    position: absolute;
4699    top: 0.5em;
4700    right: 0.5em;
4701    margin-right: 0;
4702  }
4703
4704  svg {
4705    & path[class*='inner-arrow'],
4706    & polygon[class*='inner-arrow'],
4707    & rect[class*='inner-arrow'],
4708    & circle[class*='inner-arrow'] {
4709      fill: var(--color-flourish-primary);
4710      transition: 0.2s;
4711      ${({$isHovered:e})=>e&&`
4712        fill: var(--color-button-text);
4713    `}
4714  }
4715
4716  & path[class*='outer-circle'],
4717  & polygon[class*='outer-circle'],
4718  & rect[class*='outer-circle'],
4719  & circle[class*='outer-circle'] {
4720    stroke: var(--color-flourish-secondary);
4721    fill: var(--color-bg);
4722    ${({$isHovered:e})=>e&&`
4723      fill: var(--color-button-background);
4724      stroke: var(--color-button-background);
4725  `}
4726    transition: 0.2s;
4727  }
4728`,$f=({blockData:e,index:t,layoutType:a})=>(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)($d,{$layoutType:a,children:[e.showEyebrow&&(0,h.jsx)(sU.default,{value:e.eyebrow,name:"eyebrow",className:"[&_h6]:mb-[0.75em]",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:6,charLimit:30,blockData:e}),e.showDescription&&(0,h.jsx)(sU.default,{name:"description",className:"combined-text-field",value:e.description||"",toolbarOption:"full",isHeader:!0,charLimit:1e3,blockData:e})]})}),$v="22vw",$b="27vw",$y="60vw",$x=(0,sW.styled)("article",{label:"TestimonialContainer",...sZ.transientOptions})`
4729  display: flex;
4730  flex-wrap: wrap;
4731  text-align: left;
4732  justify-content: space-between;
4733  flex-direction: row;
4734  align-items: flex-start;
4735  width: 100%;
4736
4737  h1 {
4738    color: var(--color-headline-primary);
4739  }
4740
4741  // Two Column
4742  ${({theme:e})=>e.breakpoints.up("sm")} {
4743    text-align: left;
4744    justify-content: space-between;
4745    align-items: flex-start;
4746  }
4747
4748  // Breakpoints
4749  ${({theme:e})=>e.breakpoints.down("sm")} {
4750    padding-left: 0;
4751    padding-right: 0;
4752    text-align: center;
4753  }
4754`,$S=(0,sW.styled)("div",{label:"Testimonial"})`
4755  display: flex;
4756  flex-direction: ${e=>e.$flexDirection};
4757  justify-content: space-between;
4758  gap: 3vw;
4759  width: 100%;
4760
4761  ${({theme:e})=>e.breakpoints.down("sm")} {
4762    flex-direction: column;
4763    gap: 5vw;
4764  }
4765`,$w=(0,sW.styled)("div",{label:"TestimonialIndividual"})`
4766  position: relative;
4767
4768  ${({theme:e})=>e.breakpoints.down("sm")} {
4769    position: static;
4770    width: calc(100% + var(--standard-padding-horiz) * 2);
4771    margin-left: calc(-1 * var(--standard-padding-horiz));
4772    margin-right: calc(-1 * var(--standard-padding-horiz));
4773  }
4774`,$C=(0,sW.styled)(li.Grid,{label:"TestimonialQuote",...sZ.transientOptions})`
4775  margin-bottom: ${e=>e.$showNames?"1.5em":0};
4776  h4 {
4777    color: var(--color-headline-secondary);
4778  }
4779
4780  [data-field='quote'] {
4781    & .font-large {
4782      font-size: var(--tw-font-size-body-lg);
4783    }
4784  }
4785`,$T=(0,sW.styled)(li.Grid,{label:"TestimonialNameBar",...sZ.transientOptions})`
4786  transition: none;
4787  &.wrap-names {
4788    background-color: var(--color-button-background);
4789    display: inline-flex;
4790    align-items: center;
4791    justify-content: center;
4792    position: relative;
4793    vertical-align: middle;
4794    padding: 0.8em 1.2em;
4795
4796    & h6 {
4797      text-box: trim-both cap alphabetic;
4798    }
4799
4800    & .inactive-text-field {
4801      min-height: 0;
4802    }
4803
4804    & .inactive-text-field:empty,
4805    & .inactive-text-field :is(h1, h2, h3, h4, h5, h6, p):empty {
4806      min-height: 1em;
4807    }
4808
4809    @supports (text-box-trim: trim-both) {
4810      padding-top: 1.1em;
4811      padding-bottom: 1.1em;
4812    }
4813  }
4814
4815  & h6 {
4816    text-align: left;
4817    color: var(--color-button-text);
4818    ${({theme:e})=>e.breakpoints.down("sm")} {
4819      text-align: center;
4820    }
4821  }
4822
4823  &:not(.wrap-names) h6 {
4824    color: var(--color-text-accent-secondary);
4825  }
4826`;var $$=e.i(16474);let $E=(0,sW.styled)("div",{label:"SectionInnerWrapper",...sZ.transientOptions})`
4827  display: flex;
4828  justify-content: space-between;
4829  flex-wrap: wrap;
4830  align-items: flex-start;
4831
4832  ${({theme:e})=>e.breakpoints.down("sm")} {
4833    // re-adds right padding for mobile which is currently removed via component attribute
4834    padding-right: var(--standard-padding-horiz);
4835
4836    // move all children to 100% width for mobile
4837    & > div,
4838    & > aside {
4839      width: 100% !important;
4840    }
4841  }
4842
4843  .description-wrapper {
4844    width: 55%;
4845
4846    ${({theme:e})=>e.breakpoints.down("md")} {
4847      width: 50%;
4848    }
4849
4850    ${({theme:e})=>e.breakpoints.down("sm")} {
4851      margin-bottom: var(--standard-padding-vert);
4852    }
4853  }
4854
4855  .sidebar {
4856    width: 40%;
4857    position: relative;
4858    background: var(--color-bg);
4859    color: var(--color-text);
4860    padding: var(--small-padding);
4861    ${e=>(0,$$.corners)(e.$corners)};
4862    border-top-right-radius: 0 !important;
4863    border-bottom-right-radius: 0 !important;
4864
4865    .sidebar-description {
4866      margin-bottom: 1em;
4867    }
4868
4869    h4 {
4870      color: var(--color-headline-primary);
4871    }
4872
4873    li {
4874      position: relative;
4875      padding-left: 2.2em;
4876      margin-bottom: 1em;
4877    }
4878
4879    li:last-child {
4880      margin-bottom: 0;
4881    }
4882
4883    &::before {
4884      content: '';
4885      background: var(--color-flourish-secondary);
4886      ${({$innerBg:e,$outerBg:t})=>`
4887          background: var(--color-${t}-${e}-border-single);
4888        `}
4889      position: absolute;
4890      top: 0;
4891      left: var(--small-padding);
4892      height: var(--bar-height);
4893      min-height: var(--min-bar-height);
4894      width: calc(100% - (2 * var(--small-padding)));
4895
4896      ${e=>e.$corners===sD.THEME_CORNERS.HALF_ROUNDED&&`
4897        & {
4898          border-bottom-left-radius: 10px;
4899          border-bottom-right-radius: 10px;
4900        }
4901      `};
4902    }
4903
4904    // sidebar breakpoints
4905    ${({theme:e})=>e.breakpoints.down("md")} {
4906      padding: 5vw;
4907      width: 45%;
4908    }
4909
4910    // sidebar breakpoints
4911    ${({theme:e})=>e.breakpoints.down("sm")} {
4912      // rare change here, colors are shifted as background is removed for phone and wrapper is removed
4913      padding: 0;
4914      padding-top: var(--standard-padding-vert);
4915
4916      &::before {
4917        width: 100%;
4918        left: 0;
4919      }
4920    }
4921  }
4922`,$I=(0,sW.styled)("div",{label:"CheckWrapper",...sZ.transientOptions})`
4923  & .site-icon-frame {
4924    position: absolute;
4925    top: -0.125em;
4926    left: -0.125em;
4927    width: 1.75em;
4928  }
4929`,$N=(0,sW.styled)("div",{label:"TimelineContainer"})`
4930  position: relative;
4931  text-align: center;
4932  ${({theme:e})=>e.breakpoints.down("sm")} {
4933    top: 1em;
4934  }
4935`,$_=(0,sW.styled)("div",{label:"TimelineLine"})`
4936  content: '';
4937  border-left: 3px dotted var(--color-flourish-primary);
4938  height: 100%;
4939  position: absolute;
4940  left: calc(50% - 1px);
4941
4942  ${({theme:e})=>e.breakpoints.down("sm")} {
4943    top: -1.5em;
4944    left: 0;
4945    height: calc(100% + 1.5em);
4946  }
4947
4948  &::before,
4949  &::after {
4950    content: '';
4951    background: var(--color-bg);
4952    border: 4px solid var(--color-flourish-primary);
4953    border-radius: 50%;
4954    position: absolute;
4955    left: -9px;
4956    width: 15px;
4957    height: 15px;
4958  }
4959
4960  &::before {
4961    top: 0;
4962  }
4963
4964  &::after {
4965    bottom: 0;
4966  }
4967`,$k=(0,sW.styled)("div",{label:"TimelineElement"})`
4968  position: relative;
4969  width: calc(50% - 6vw);
4970
4971  ${({theme:e})=>e.breakpoints.down("sm")} {
4972    width: 85%;
4973    margin-left: 15%;
4974    margin-top: 1em;
4975  }
4976
4977  &:nth-of-type(even) {
4978    margin-right: auto;
4979    text-align: right;
4980
4981    ${({theme:e})=>e.breakpoints.down("sm")} {
4982      margin-left: 3rem;
4983      text-align: left;
4984    }
4985  }
4986
4987  &:nth-of-type(odd) {
4988    margin-left: auto;
4989    text-align: left;
4990
4991    ${({theme:e})=>e.breakpoints.down("sm")} {
4992      margin-left: 3rem;
4993    }
4994  }
4995
4996  &:last-child {
4997    margin-bottom: 1em;
4998  }
4999
5000  &::before {
5001    border-top: 3px dotted var(--color-flourish-primary);
5002    content: '';
5003    position: absolute;
5004    top: 2rem;
5005    width: 4.2vw;
5006
5007    ${({theme:e})=>e.breakpoints.down("md")} {
5008      top: 1.4rem;
5009      width: 3vw;
5010    }
5011
5012    ${({theme:e})=>e.breakpoints.down("sm")} {
5013      left: 0;
5014      top: 1.1rem;
5015      width: 1.75rem;
5016    }
5017  }
5018
5019  &::after {
5020    background: var(--color-flourish-primary);
5021    border-radius: 50%;
5022    content: '';
5023    height: 8px;
5024    position: absolute;
5025    top: calc(2rem - 2.5px);
5026    width: 8px;
5027
5028    ${({theme:e})=>e.breakpoints.down("md")} {
5029      top: calc(1.4rem - 2px);
5030    }
5031
5032    ${({theme:e})=>e.breakpoints.down("sm")} {
5033      left: -1.1rem !important;
5034      top: calc(1.1rem - 2px) !important;
5035    }
5036  }
5037
5038  &:nth-of-type(even)::before {
5039    left: 105%;
5040
5041    ${({theme:e})=>e.breakpoints.down("md")} {
5042      left: 106%;
5043    }
5044
5045    ${({theme:e})=>e.breakpoints.down("sm")} {
5046      left: -3rem;
5047    }
5048  }
5049  &:nth-of-type(even)::after {
5050    left: 105%;
5051
5052    ${({theme:e})=>e.breakpoints.down("md")} {
5053      left: 106%;
5054    }
5055
5056    ${({theme:e})=>e.breakpoints.down("sm")} {
5057      left: -3rem;
5058    }
5059  }
5060
5061  &:nth-of-type(odd)::before {
5062    right: 105%;
5063
5064    ${({theme:e})=>e.breakpoints.down("md")} {
5065      right: 106%;
5066    }
5067
5068    ${({theme:e})=>e.breakpoints.down("sm")} {
5069      right: auto;
5070      left: -3rem;
5071    }
5072  }
5073  &:nth-of-type(odd)::after {
5074    right: 105%;
5075
5076    ${({theme:e})=>e.breakpoints.down("md")} {
5077      right: 106%;
5078    }
5079
5080    ${({theme:e})=>e.breakpoints.down("sm")} {
5081      right: auto;
5082    }
5083  }
5084`;var dg=dg;let $M=`
5085  .copy-link {
5086    color: var(--color-text);
5087    @media (hover: hover) and (pointer: fine) {
5088      &:hover {
5089        color: var(--color-text-accent-primary);
5090      }
5091    }
5092  }
5093
5094  & > button,
5095  & > div {
5096    border: none;
5097    padding: 0px;
5098    font: inherit;
5099    color: inherit;
5100    cursor: pointer;
5101
5102    &:last-child {
5103      &.copy-link,
5104      & > div {
5105        margin-right: 0;
5106      }
5107    }
5108  }
5109`,$A=e=>`
5110  &.copy-link,
5111  & > div {
5112    ${e}
5113  }
5114
5115  &:last-child {
5116    &.copy-link,
5117    & > div {
5118      margin-right: 0 !important;
5119    }
5120  }
5121`,$R=(0,sW.styled)(lr.Box,{label:"VideoContentWrapper",...sZ.transientOptions})`
5122  display: flex;
5123  margin-bottom: var(--small-padding);
5124  justify-content: center;
5125  flex-direction: row-reverse;
5126
5127  &:last-of-type {
5128    margin-bottom: 0;
5129  }
5130
5131  ${({theme:e})=>e.breakpoints.down("sm")} {
5132    flex-direction: column;
5133  }
5134
5135  .video-image {
5136    width: ${({$isOnlyVideo:e})=>e?"auto":"50%"};
5137    display: flex;
5138    align-items: flex-start;
5139    justify-content: flex-end;
5140
5141    .video-wrapper {
5142      position: relative;
5143    }
5144
5145    ${({theme:e})=>e.breakpoints.down("sm")} {
5146      margin-bottom: 1em;
5147      width: 100%;
5148      justify-content: center;
5149    }
5150  }
5151  .video-item {
5152    ${({$isOnlyVideo:e})=>e?"width: auto;":"width: 50%;"}
5153    position: relative;
5154    text-align: left;
5155    display: flex;
5156    align-items: flex-start;
5157    justify-content: center;
5158    flex-direction: column;
5159    padding-left: var(--small-padding);
5160
5161    ${({theme:e})=>e.breakpoints.down("sm")} {
5162      width: 100%;
5163      padding-left: 0;
5164    }
5165
5166    .text-wrapper {
5167      order: 1;
5168      ${({theme:e})=>e.breakpoints.down("sm")} {
5169        order: 2;
5170        margin-bottom: 1em;
5171      }
5172
5173      h2 {
5174        margin-bottom: 0.5em;
5175      }
5176    }
5177
5178    .share-video {
5179      order: 2;
5180      column-gap: 1em;
5181      ${({theme:e})=>e.breakpoints.down("sm")} {
5182        order: 1;
5183        display: flex;
5184        justify-content: space-between;
5185        align-items: flex-start;
5186        width: 100%;
5187        margin-bottom: 1em;
5188      }
5189
5190      /* Stacked above the icons: the global trim strips the h6's trailing
5191         margin since no text field follows, so the block owns this gap */
5192      .share-text {
5193        margin-bottom: 0.75em;
5194        ${({theme:e})=>e.breakpoints.down("sm")} {
5195          margin-bottom: 0;
5196        }
5197      }
5198    }
5199
5200    & > .MuiGrid-root {
5201      width: auto;
5202    }
5203
5204    ${e=>e.$hasTopPadding?"":"padding-top: 0;"}
5205    &
5206      > button {
5207      margin-top: 1.7em;
5208      background: var(--color-button-background);
5209      /* TODO(mime): btn_style-2 */
5210      font-size: var(--tw-font-size-button);
5211
5212      .MuiButton-endIcon {
5213        margin-bottom: 1px;
5214      }
5215    }
5216
5217    .share-wrapper {
5218      display: flex;
5219      justify-content: flex-start;
5220      align-items: center;
5221      row-gap: 0.5em;
5222
5223      ${({theme:e})=>e.breakpoints.down("sm")} {
5224        flex: 60%;
5225        flex-wrap: wrap;
5226        place-content: flex-end;
5227        &.max-share-links {
5228          flex: 0 0 40%;
5229        }
5230      }
5231
5232      ${$M}
5233
5234      & > button,
5235      & > div {
5236        ${$A(`
5237          ${({theme:e})=>e.breakpoints.down("md")} {
5238            width: 1.75em;
5239            height: 1.75em;
5240          }
5241
5242          ${({theme:e})=>e.breakpoints.down("sm")} {
5243            margin-left: 0.25em;
5244            margin-right: 0.25em;
5245          }
5246        `)}
5247      }
5248    }
5249
5250    & [data-field='title'] {
5251      margin-bottom: ${e=>e.$hasShareLinks?"1em":"0"};
5252      ${({theme:e})=>e.breakpoints.down("sm")} {
5253        margin-bottom: 0;
5254      }
5255      h2,
5256      h3,
5257      h4,
5258      h5 {
5259        color: var(--color-headline-primary);
5260      }
5261
5262      h4 {
5263        margin-bottom: 0.3em;
5264      }
5265    }
5266  }
5267  overflow: hidden;
5268`,$O=(0,sW.styled)(lr.Box,{label:"VideoContentWrapper",...sZ.transientOptions})`
5269  display: flex;
5270  margin: auto;
5271  margin-bottom: var(--small-padding);
5272  justify-content: center;
5273  flex-direction: column;
5274  max-width: 1100px;
5275
5276  &:last-of-type {
5277    margin-bottom: 0;
5278  }
5279
5280  ${({theme:e})=>e.breakpoints.down("sm")} {
5281    flex-direction: column;
5282  }
5283
5284  .video-image {
5285    width: 100%;
5286    display: flex;
5287    align-items: center;
5288    justify-content: center;
5289
5290    .video-wrapper {
5291      position: relative;
5292      width: 100%;
5293
5294      & > span {
5295        display: block;
5296        width: 100%;
5297        height: auto;
5298      }
5299    }
5300
5301    ${({theme:e})=>e.breakpoints.down("sm")} {
5302      margin-bottom: 1em;
5303      width: 100%;
5304      justify-content: center;
5305    }
5306  }
5307  .video-item {
5308    width: 100%;
5309    position: relative;
5310    text-align: left;
5311    display: flex;
5312    align-items: flex-start;
5313    justify-content: flex-start;
5314    flex-direction: column;
5315    padding-left: 0;
5316    margin-bottom: 1.5em;
5317
5318    ${({theme:e})=>e.breakpoints.down("sm")} {
5319      margin-bottom: 0;
5320      text-align: left;
5321      align-items: flex-start;
5322      justify-content: flex-start;
5323    }
5324
5325    &.video-item-share {
5326      align-items: flex-end;
5327      justify-content: flex-end;
5328    }
5329
5330    .text-wrapper {
5331      order: 1;
5332      ${({theme:e})=>e.breakpoints.down("sm")} {
5333        order: 2;
5334        margin-bottom: 1em;
5335      }
5336
5337      h2 {
5338        margin-bottom: 0.5em;
5339      }
5340    }
5341
5342    .share-video {
5343      column-gap: 1em;
5344      display: flex;
5345      justify-content: flex-end;
5346      align-items: center;
5347
5348      ${({theme:e})=>e.breakpoints.down("sm")} {
5349        order: 1;
5350        justify-content: space-between;
5351        width: 100%;
5352        margin-bottom: 1em;
5353
5354        &.max-share-links {
5355          align-items: flex-start;
5356        }
5357      }
5358    }
5359
5360    & > .MuiGrid-root {
5361      width: auto;
5362    }
5363
5364    ${e=>e.$hasTopPadding?"":"padding-top: 0;"}
5365    &
5366      > button {
5367      margin-top: 1.7em;
5368      background: var(--color-button-background);
5369      /* TODO(mime): btn_style-2 */
5370      font-size: var(--tw-font-size-button);
5371
5372      .MuiButton-endIcon {
5373        margin-bottom: 1px;
5374      }
5375    }
5376
5377    .share-wrapper {
5378      display: flex;
5379      justify-content: flex-start;
5380      align-items: center;
5381      row-gap: 0.5em;
5382
5383      ${({theme:e})=>e.breakpoints.down("sm")} {
5384        .react-share__ShareButton,
5385        button.copy-link {
5386          margin: 0 !important;
5387        }
5388        flex: 60%;
5389        flex-wrap: wrap;
5390        place-content: flex-end;
5391
5392        &.max-share-links {
5393          flex: 0 0 40%;
5394        }
5395      }
5396
5397      .copy-link {
5398        color: var(--color-text);
5399        @media (hover: hover) and (pointer: fine) {
5400          &:hover {
5401            color: var(--color-text-accent-primary);
5402          }
5403        }
5404      }
5405
5406      & > button,
5407      & > div {
5408        border: none;
5409        padding: 0px;
5410        color: inherit;
5411        cursor: pointer;
5412
5413        &.copy-link,
5414        & > div {
5415          ${({theme:e})=>e.breakpoints.down("md")} {
5416            width: 1.75em;
5417            height: 1.75em;
5418          }
5419
5420          ${({theme:e})=>e.breakpoints.down("sm")} {
5421            margin-left: 0.25em;
5422            margin-right: 0.25em;
5423          }
5424        }
5425
5426        &:last-child {
5427          & > div {
5428            margin-right: 0;
5429          }
5430        }
5431      }
5432    }
5433
5434    & [data-field='title'] {
5435      h2,
5436      h3,
5437      h4,
5438      h5 {
5439        color: var(--color-headline-primary);
5440      }
5441    }
5442  }
5443`,$B=(0,sW.styled)(lr.Box,{label:"VideoContentWrapper",...sZ.transientOptions})`
5444  margin-bottom: var(--small-padding);
5445
5446  &:last-of-type {
5447    margin-bottom: 0;
5448  }
5449
5450  .video-item {
5451    position: relative;
5452
5453    .video-image {
5454      position: relative;
5455      z-index: 1;
5456
5457      .video-wrapper {
5458        width: 100%;
5459        height: 100%;
5460      }
5461
5462      &:after {
5463        content: '';
5464        position: absolute;
5465        top: 0;
5466        left: 0;
5467        width: 100%;
5468        height: 100%;
5469        background: linear-gradient(
5470          -15deg,
5471          rgba(0, 0, 0, 0) 50%,
5472          rgba(0, 0, 0, 0.9) 100%
5473        );
5474      }
5475    }
5476    .overlay-content {
5477      position: absolute;
5478      top: 0;
5479      z-index: 1;
5480      padding: 1.5em;
5481
5482      ${({theme:e})=>e.breakpoints.down("lg")} {
5483        padding: 1em;
5484      }
5485    }
5486
5487    .video-icon-button {
5488      ${({$numColumns:e,theme:t})=>3===e&&`
5489        width: calc(40px + 1vw);
5490        height: calc(40px + 1vw);
5491        transform: scale(1);
5492        &:hover {
5493          transform: scale(1.1);
5494        }
5495
5496        ${t.breakpoints.down("lg")} {
5497          width: calc(35px + 0.5vw);
5498          height: calc(35px + 0.5vw);
5499        }
5500      `}
5501    }
5502
5503    .content {
5504      position: absolute;
5505      top: 0;
5506      left: 0;
5507      right: 0;
5508      bottom: 0;
5509      z-index: 2;
5510      opacity: 0;
5511      background-color: var(--color-bg);
5512      transition: opacity 0.3s ease;
5513      width: 100%;
5514      height: 100%;
5515      padding: 1.5em;
5516
5517      ${({theme:e})=>e.breakpoints.down("lg")} {
5518        padding: 1em;
5519      }
5520
5521      .text-wrapper {
5522        width: auto;
5523        display: block;
5524
5525        [data-field='title'] {
5526          max-width: 80%;
5527          ${({theme:e})=>e.breakpoints.up("xl")} {
5528            max-width: 100%;
5529          }
5530
5531          display: -webkit-box;
5532          -webkit-line-clamp: 5;
5533          -webkit-box-orient: vertical;
5534          overflow: hidden;
5535
5536          /* The tiptap toolbar hangs above the field inside this wrapper —
5537             unclip while editing so it isn't cut off */
5538          &:focus-within {
5539            overflow: visible;
5540            -webkit-line-clamp: unset;
5541          }
5542
5543          ${({theme:e})=>e.breakpoints.down("lg")} {
5544            -webkit-line-clamp: 4;
5545          }
5546          ${({$numColumns:e,theme:t})=>3===e&&`
5547              -webkit-line-clamp: 4;
5548
5549              ${t.breakpoints.down("lg")} {
5550                -webkit-line-clamp: 3;
5551              }
5552            `}
5553        }
5554      }
5555
5556      &.has-eyebrow {
5557        [data-field='title'] {
5558          -webkit-line-clamp: 4;
5559          ${({theme:e})=>e.breakpoints.down("lg")} {
5560            -webkit-line-clamp: 3;
5561          }
5562
5563          ${({$numColumns:e,theme:t})=>3===e&&`
5564              -webkit-line-clamp: 3;
5565
5566              ${t.breakpoints.down("lg")} {
5567                -webkit-line-clamp: 2;
5568              }
5569            `}
5570        }
5571      }
5572
5573      .share-video {
5574        position: absolute;
5575        left: 1.5em;
5576        bottom: 1.5em;
5577        display: flex;
5578        flex-wrap: wrap;
5579        align-items: center;
5580
5581        ${({theme:e})=>e.breakpoints.down("sm")} {
5582          align-items: flex-start;
5583        }
5584
5585        ${({theme:e})=>e.breakpoints.down("lg")} {
5586          left: 1em;
5587          bottom: 1em;
5588        }
5589
5590        .share-text {
5591          display: none;
5592        }
5593
5594        .share-wrapper {
5595          display: flex;
5596          flex-direction: row;
5597          justify-content: flex-start;
5598          align-items: center;
5599          row-gap: 0.5em;
5600
5601          ${$M}
5602
5603          & > button,
5604          & > div {
5605            ${$A(`
5606              width: 2vw;
5607              height: 2vw;
5608
5609              ${({theme:e})=>e.breakpoints.down("lg")} {
5610                width: 2.5vw;
5611                height: 2.5vw;
5612              }
5613
5614              ${({$numColumns:e,theme:t})=>3===e&&`
5615                ${t.breakpoints.up("lg")} {
5616                  width: 1.5vw;
5617                  height: 1.5vw;
5618                }
5619
5620                ${t.breakpoints.down("lg")} {
5621                  width: 2vw;
5622                  height: 2vw;
5623                }
5624              `}
5625            `)}
5626          }
5627        }
5628      }
5629    }
5630    &:hover {
5631      .content {
5632        opacity: 1;
5633      }
5634    }
5635
5636    &:has(*:focus-visible) {
5637      .content {
5638        opacity: 1;
5639      }
5640    }
5641  }
5642`,$P=({layoutType:e,video:t,isMobile:a,isTablet:n,index:r,displayIconButton:o,numColumns:i,playButtonColor:s,blockData:l,usePreviewImage:d,playInline:c})=>{let u=(0,sY.useImageSize)(t.image),p=t.linkToUrl&&t.url,m=(0,b.useMemo)(()=>p?null:(0,s$.extractVideoWidthHeight)(t.embedCode),[t.embedCode,p]),g=e===sk.VIDEO_LAYOUT_TYPE.GRID?16/9:c&&m?.aspectRatio||!t.image&&m?.aspectRatio?m.aspectRatio:u.aspectRatio,f=(0,bv.useEllipseImageScaling)(g,40,20),{width:v,height:y}=e===sk.VIDEO_LAYOUT_TYPE.GRID&&i?{width:78/i,height:43.875/i}:f,{width:x,height:S}=(0,bv.useEllipseImageScaling)(g,30,40),{width:w,height:C}=(0,bv.useEllipseImageScaling)(g,10,20);if(a&&x>43){let e=43/x;x=43,S*=e}if(!a&&v>41){let e=41/v;v=41,y*=e}let T=a?"100%":n&&e===sk.VIDEO_LAYOUT_TYPE.TWO?`${2*w}
5642vw`:e===sk.VIDEO_LAYOUT_TYPE.SINGLE?"100%":`${v}vw`,$=a?c?`${1/g*100}%`:`${2*S}vw`:n&&e===sk.VIDEO_LAYOUT_TYPE.TWO?`${2*C}vw`:e===sk.VIDEO_LAYOUT_TYPE.SINGLE?c?`${1/g*100}%`:"auto":`${y}vw`,E=e!==sk.VIDEO_LAYOUT_TYPE.SINGLE||c||t.image?g:1.5;return(0,h.jsx)("div",{className:"video-wrapper",style:e!==sk.VIDEO_LAYOUT_TYPE.SINGLE||c?void 0:{aspectRatio:E.toString()},children:(0,h.jsx)(s0,{src:t.image,alt:t.imageAltText||"Video component image",embedCode:t.embedCode,url:t.url,linkToUrl:t.linkToUrl,openInNewTab:t.openInNewTab,width:T,height:$,displayIconButton:o,playButtonColor:s,hasMaxHeight:!0,usePreviewImage:d,playInline:e!==sk.VIDEO_LAYOUT_TYPE.GRID&&(t.playInline??!1)},r)})},$L=({video:e,index:t,layoutType:a,blockData:n})=>(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("div",{className:"text-wrapper",children:[e.showEyebrow&&(0,h.jsx)(sU.default,{className:a!==sk.VIDEO_LAYOUT_TYPE.GRID?"thin eyebrow-rule [&_h6]:text-site-body-sm mb-4 pb-1 [&_h6]:mb-[0.75em]":"3"===n.numGridColumns?"[&_h6]:text-site-body-xs [&_h6]:mb-0 [&_h6]:pb-[0.75em]":"[&_h6]:text-site-body-sm [&_h6]:mb-0 [&_h6]:pb-[0.75em]",value:e.eyebrow||"Eyebrow Text Here",name:"eyebrow",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:6,charLimit:30,list:"items",listKey:t,alignToolbarRight:a===sk.VIDEO_LAYOUT_TYPE.TWO,blockData:n}),e.showVideoDescription&&(0,h.jsx)(sU.default,{name:"title",className:a===sk.VIDEO_LAYOUT_TYPE.GRID?(0,sG.cn)("text-site-body-sm","3"===n.numGridColumns&&"[&_h4]:text-site-headline-xs [&_h5]:text-site-headline-xxs"):void 0,value:e.title,list:"items",listKey:t,toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","h4","h5","h6","ToggleSmallText","TextColor","Lists","Links"],charLimit:800,alignToolbarRight:a===sk.VIDEO_LAYOUT_TYPE.TWO,blockData:n})]})}),$D=({video:e,index:t,blockData:a})=>(0,h.jsxs)("div",{className:`share-video ${6===e.shareLinks.length?"max-share-links":""}`,children:[(0,h.jsx)("div",{className:"share-text",children:(0,h.jsx)(sU.default,{className:"[&_h6]:text-site-body-sm [&_h6]:[color:var(--color-text-accent-secondary)]",value:e.shareText||"Share Now",name:"shareText",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:6,charLimit:25,list:"items",listKey:t,blockData:a})}),(0,h.jsx)("div",{className:`share-wrapper ${6===e.shareLinks.length?"max-share-links":""}`,children:e.shareLinks.map((t,a)=>(0,h.jsx)(dg.default,{platform:t.platform,videoUrl:t.url,isLast:a===e.shareLinks.length-1},`${t.platform}-${a}`))})]});var $j=e.i(74765),dv=dv,$i=$i,xF=sU;let $G=(0,sW.styled)("div",{label:"VotingResourcesWrapper",...sZ.transientOptions})`
5643  padding: 0 12vw;
5644  font-size: var(--tw-font-size-headline-lg);
5645
5646  ${({theme:e})=>e.breakpoints.down("md")} {
5647    padding: 0 var(--standard-padding-horiz);
5648  }
5649  ${({theme:e})=>e.breakpoints.down("sm")} {
5650    padding: 0;
5651    margin-top: 0;
5652  }
5653
5654  [data-field='resourcesHeadline'] {
5655    text-align: center;
5656    margin-bottom: 3vw;
5657  }
5658
5659  a {
5660    text-decoration: none;
5661    display: block;
5662    height: 100%;
5663  }
5664
5665  ${({$layoutType:e,theme:t})=>e===sk.VOTING_LAYOUT_TYPE.TWO_COL&&`
5666    padding-left: var(--medium-padding);
5667    flex: 1 0 50%;
5668    display: flex;
5669    flex-direction: column;
5670    justify-content: flex-start;
5671
5672    [data-field='resourcesHeadline'] {
5673      text-align: left;
5674      margin-bottom: 0;
5675      ${t.breakpoints.down("sm")} {
5676        text-align: center;
5677      }
5678    }
5679  `}
5680`,$F=(0,sW.styled)(lr.Box,{label:"Resource",...sZ.transientOptions})`
5681  width: 100%;
5682  background: var(--color-bg);
5683  display: flex;
5684  align-items: flex-end;
5685  position: relative;
5686  text-decoration: none;
5687
5688  ${({theme:e})=>e.breakpoints.down("sm")} {
5689    padding-right: 2.5em; /* clear the centered absolute arrow */
5690  }
5691
5692  ${({$layoutType:e,$borderColor:t})=>e===sk.VOTING_LAYOUT_TYPE.STANDARD&&`
5693    padding: 1.5em 0.5em 0.3em 0.5em;
5694    border: 2px solid var(--color-${t});
5695  `}
5696
5697  ${({$corners:e,$layoutType:t})=>e===sD.THEME_CORNERS.ROUNDED&&t===sk.VOTING_LAYOUT_TYPE.STANDARD?"border-radius: .2em; ":e===sD.THEME_CORNERS.HALF_ROUNDED&&t===sk.VOTING_LAYOUT_TYPE.STANDARD?"border-radius: 0 .2em;":""}
5698
5699  ${({$layoutType:e,$borderColor:t})=>
5699e===sk.VOTING_LAYOUT_TYPE.TWO_COL&&`
5700    border-bottom: 2px solid var(--color-${t});
5701  `}
5702
5703  & > div {
5704    display: flex;
5705    justify-content: space-between;
5706    align-items: center;
5707    width: 100%;
5708    column-gap: 0.5em;
5709  }
5710
5711  /* Campaign nests title + arrow inside the link/span (CMS renders them as
5712     direct siblings of the flex div above); same flex row one level down. */
5713  & > div > :is(a, span):has(> [data-field]) {
5714    display: flex;
5715    justify-content: space-between;
5716    align-items: center;
5717    width: 100%;
5718    column-gap: 0.5em;
5719  }
5720
5721  [data-field='title'] {
5722    color: var(--color-text);
5723    transition: color 0.2s ease;
5724    /* ambient pin for the inactive editor snapshot: its min-height: 1em
5725       resolves against inherited size, and this block's wrapper broadcasts
5726       headline-lg for the em geometry */
5727    font-size: var(--tw-font-size-headline-xxs);
5728
5729    h5 {
5730      margin-bottom: 0;
5731    }
5732  }
5733
5734  &:hover {
5735    [data-field='title'] {
5736      h5 {
5737        color: var(--color-headline-secondary);
5738      }
5739    }
5740  }
5741
5742  a {
5743    text-decoration: none;
5744  }
5745`,$H=(0,sW.styled)("div",{label:"ResourceLink",...sZ.transientOptions})`
5746  width: 100%;
5747  height: 100%;
5748  background: var(--color-bg);
5749  display: flex;
5750  justify-content: space-between;
5751  align-items: flex-end;
5752  column-gap: 0.5em;
5753  position: relative;
5754  text-decoration: none;
5755
5756  ${({theme:e})=>e.breakpoints.down("sm")} {
5757    align-items: center;
5758    padding-right: 2.5em; /* clear the centered absolute arrow */
5759  }
5760
5761  ${({$corners:e,$layoutType:t})=>e===sD.THEME_CORNERS.ROUNDED&&t===sk.VOTING_LAYOUT_TYPE.STANDARD?"border-radius: .2em; ":e===sD.THEME_CORNERS.HALF_ROUNDED&&t===sk.VOTING_LAYOUT_TYPE.STANDARD?"border-radius: 0 .2em;":""}
5762
5763  ${({$layoutType:e,$borderColor:t})=>e===sk.VOTING_LAYOUT_TYPE.STANDARD&&`
5764    padding: 0.5em;
5765    padding-top: 1.5em;
5766    border: 2px solid var(--color-${t});
5767  `}
5768
5769  ${({$layoutType:e,$borderColor:t})=>e===sk.VOTING_LAYOUT_TYPE.TWO_COL&&`
5770    border-bottom: 2px solid var(--color-${t});
5771  `}
5772
5773  [data-field='title'] {
5774    /* ambient pin — see the note on Resource's title wrapper */
5775    font-size: var(--tw-font-size-headline-xxs);
5776
5777    h5 {
5778      margin-bottom: 0;
5779      color: var(--color-text);
5780    }
5781  }
5782
5783  a {
5784    text-decoration: none;
5785  }
5786`,$U=(0,sW.styled)("div",{label:"ResourceArrow",...sZ.transientOptions})`
5787  // em basis for the arrow icon geometry, matched to the old title curve
5788  font-size: calc(15px + 0.3vw);
5789  
5790  ${({$layoutType:e})=>e===sk.VOTING_LAYOUT_TYPE.TWO_COL&&`
5791      margin-right: 0.5em;
5792  `}
5793   ${({$layoutType:e})=>e===sk.VOTING_LAYOUT_TYPE.STANDARD&&`
5794      position: absolute;
5795      top: 0.5em;
5796      right: 0.5em;
5797  `}
5798
5799  ${({theme:e})=>e.breakpoints.down("md")} {
5800    position: absolute;
5801    top: 0.5em;
5802    right: 0.5em;
5803    margin-right: 0;
5804  }
5805
5806  ${({theme:e})=>e.breakpoints.down("sm")} {
5807    position: absolute;
5808    top: 50%;
5809    transform: translateY(-50%);
5810    right: 0.5em;
5811    margin-right: 0;
5812  }
5813
5814  svg {
5815    & path[class*='inner-arrow'],
5816    & polygon[class*='inner-arrow'],
5817    & rect[class*='inner-arrow'],
5818    & circle[class*='inner-arrow'] {
5819      fill: var(--color-flourish-primary);
5820      transition: 0.2s;
5821      ${({$isHovered:e})=>e&&`
5822        fill: var(--color-button-text);
5823    `}
5824  }
5825
5826  & path[class*='outer-circle'],
5827  & polygon[class*='outer-circle'],
5828  & rect[class*='outer-circle'],
5829  & circle[class*='outer-circle'] {
5830    stroke: var(--color-flourish-secondary);
5831    fill: var(--color-bg);
5832    ${({$isHovered:e})=>e&&`
5833      fill: var(--color-button-background);
5834      stroke: var(--color-button-background);
5835  `}
5836    transition: 0.2s;
5837  }
5838`,$K=({blockData:e,layoutType:t,theme:a,isMobile:n})=>{let[r,o]=(0,b.useState)(null),{site:i}=(0,ln.useSite)(),{createUrl:s,navigate:l}=(0,sb.useNavigation)();return(0,h.jsx)(h.Fragment,{children:t===sk.VOTING_LAYOUT_TYPE.STANDARD?(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)($G,{$layoutType:t,children:[!1!==e.resourcesHeadlineOn&&(0,h.jsx)(xF.default,{name:"resourcesHeadline",className:"[&_h4]:text-site-headline-sm",value:e.resourcesHeadline??"",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:4,charLimit:45,blockData:e}),(0,h.jsx)(lr.Box,{display:e.adjustLayout&&!n?"grid":"flex",justifyItems:"center",alignItems:"center",rowGap:n?"8px":"0.5em",sx:e.adjustLayout&&!n?{gridTemplateColumns:{xs:"repeat(12, 1fr)",sm:"repeat(24, 
58381fr)",md:"repeat(24, 1fr)"},paddingTop:0,columnGap:"0.5em"}:{justifyContent:"center",alignItems:"stretch",flexWrap:"wrap",width:"100%",paddingTop:0,columnGap:"0.5em"},children:e.links.slice(0,e.links.length).map((i,d)=>{let c=r===i.id,u=c?`color-${e.barColor}`:`color-${e.bgColor}`,p=(0,h.jsx)($U,{className:`${u}`,$layoutType:t,$isHovered:c,children:(0,h.jsx)($i.default,{width:"1.5em"})}),m=(0,h.jsxs)($H,{className:`${u} resource`,$corners:a?.corners,$borderColor:e.barColor,$layoutType:t,onMouseEnter:()=>o(i.id),onMouseLeave:()=>o(null),children:[(0,h.jsx)(xF.default,{value:i.title||"Check if you are registered to vote",name:"title",className:"[&_h5]:text-site-headline-xxs",toolbarOption:"headlinesOnly",charLimit:45,isHeader:!0,headingLevel:5,list:"links",listKey:d,blockData:e}),p]}),g=i.url?s({url:i.url}):null;return y.default.env.NEXT_PUBLIC_IS_CMS?(0,h.jsx)($F,{className:`${u} resource`,$corners:a?.corners,$borderColor:e.barColor,$layoutType:t,sx:e.adjustLayout&&!n?{gridColumn:{xs:"span 12",sm:`${0===i.offset?"":`${i.offset} / `}span 6`},width:"100%",height:"100%"}:{width:{md:"calc(25% - 0.375em)",sm:"calc(25% - 0.375em)",xs:"50%"}},onMouseEnter:()=>o(i.id),onMouseLeave:()=>o(null),children:(0,h.jsxs)("div",{children:[(0,h.jsx)(xF.default,{value:i.title||"Check if you are registered to vote",name:"title",className:"[&_h5]:text-site-headline-xxs",toolbarOption:"headlinesOnly",charLimit:45,isHeader:!0,headingLevel:5,list:"links",listKey:d,blockData:e}),g?(0,h.jsx)("a",{href:g.as,target:i.openInNewTab?"_blank":void 0,rel:i.openInNewTab?"noopener noreferrer":void 0,onClick:g.isExternal?void 0:e=>{e.preventDefault(),l({url:i.url})},children:(0,h.jsx)("div",{children:p})},i.id):(0,h.jsx)("span",{children:p},i.id)]},i.id)},i.id):(0,h.jsx)(lr.Box,{sx:e.adjustLayout&&!n?{gridColumn:{xs:"span 12",sm:`${0===i.offset?"":`${i.offset} / `}span 6`},width:"100%",height:"100%"}:{width:{md:"21%",sm:"calc(25% - 0.375em)",xs:"50%"}},children:g?(0,h.jsx)("a",{href:g.as,target:i.openInNewTab?"_blank":void 0,rel:i.openInNewTab?"noopener noreferrer":void 0,onClick:g.isExternal?void 0:e=>{e.preventDefault(),l({url:i.url})},children:m}):(0,h.jsx)(lr.Box,{sx:{width:"100%",height:"100%"},children:m})},i.id)})})]})}):(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)($G,{$layoutType:t,children:[!1!==e.resourcesHeadlineOn&&(0,h.jsx)(xF.default,{name:"resourcesHeadline",className:"[&_h4]:text-site-headline-sm",value:e.resourcesHeadline??"Resources",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:4,charLimit:45,blockData:e}),(0,h.jsx)(lr.Box,{display:"flex",justifyItems:"center",alignItems:"center",rowGap:0,sx:{justifyContent:"center",alignItems:"stretch",flexWrap:"wrap",width:"100%",paddingTop:0,columnGap:"0.5em"},children:e.links.slice(0,e.links.length).map((n,i)=>{let d=r===n.id;d?e.barColor:e.bgColor;let c=(0,h.jsx)($U,{$layoutType:t,$isHovered:d,children:(0,h.jsx)($i.default,{width:"1.5em"})}),u=(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(xF.default,{value:n.title||"Check if you are registered to vote",name:"title",className:"[&_h5]:text-site-headline-xxs",toolbarOption:"headlinesOnly",charLimit:45,isHeader:!0,headingLevel:5,list:"links",listKey:i}),c]}),p=n.url?s({url:n.url}):null;return(0,h.jsx)($F,{className:"resource",$borderColor:e.barColor,$corners:a?.corners,$layoutType:t,sx:{width:"100%"},onMouseEnter:()=>o(n.id),onMouseLeave:()=>o(null),children:(0,h.jsx)(lr.Box,{sx:{padding:"0.5em 0",width:"100%",display:"block"},children:y.default.env.NEXT_PUBLIC_IS_CMS?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(xF.default,{value:n.title||"Check if you are registered to vote",name:"title",className:"[&_h5]:text-site-headline-xxs",toolbarOption:"headlinesOnly",charLimit:45,isHeader:!0,headingLevel:5,list:"links",listKey:i,blockData:e}),p?(0,h.jsx)("a",{href:p.as,target:n.openInNewTab?"_blank":void 0,rel:n.openInNewTab?"noopener noreferrer":void 0,onClick:p.isExternal?void 0:e=>{e.preventDefault(),l({url:n.url})},children:(0,h.jsx)("div",{children:c})},n.id):(0,h.jsx)("span",{children:c},n.id)]}):(0,h.jsx)(h.Fragment,{children:p?(0,h.jsx)("a",{href:p.as,target:n.openInNewTab?"_blank":void 0,rel:n.openInNewTab?"noopener noreferrer":void 0,onClick:p.isExternal?void 0:e=>{e.preventDefault(),l({url:n.url})},children:u}):(0,h.jsx)("span",{children:u})})},n.id)},n.id)})})]})})})};var xF=sU;let $z=(0,sW.styled)(lr.Box,{label:"VotingStepsWrapper",...sZ.transientOptions})`
5839  padding: 0 var(--standard-padding-horiz) 0 var(--standard-padding-horiz);
5840  position: relative;
5841  display: flex;
5842  flex-wrap: nowrap;
5843  align-items: stretch;
5844  justify-items: center;
5845  justify-content: center;
5846  width: 100%;
5847  margin-bottom: ${({$layoutType:e})=>
5847e===sk.VOTING_LAYOUT_TYPE.STANDARD?"6em":"0"};
5848
5849  &:before {
5850    content: '';
5851    ${({$barColor:e})=>`
5852      background: var(--color-${e});
5853    `}
5854    position: absolute;
5855    top: 3em;
5856    left: 0;
5857    width: 100%;
5858    height: 100%;
5859    z-index: 0;
5860
5861    ${({theme:e})=>e.breakpoints.down("sm")} {
5862      left: calc(var(--standard-padding-horiz) * -1);
5863      width: calc(100% + (2 * var(--standard-padding-horiz)));
5864    }
5865  }
5866
5867  .voting-step-wrapper {
5868    width: 100%;
5869    display: flex;
5870    flex-direction: row;
5871    flex-wrap: nowrap;
5872    align-items: stretch;
5873    justify-items: center;
5874    justify-content: center;
5875    column-gap: 2em;
5876    row-gap: 1em;
5877    z-index: 2;
5878  }
5879
5880  ${({$layoutType:e,$numItems:t,$barColor:a,$borderColor:n,$corners:r})=>e===sk.VOTING_LAYOUT_TYPE.TWO_COL&&`
5881      padding: var(--small-padding) var(--medium-padding) var(--small-padding) var(--standard-padding-horiz);
5882      align-items: ${1===t?"center":"stretch"};
5883      flex: 1 0 50%;
5884      border-top: 10px solid var(--color-${n});
5885      background: var(--color-${a});
5886
5887      &:before {
5888        content: none;
5889        top: 0;
5890      }
5891
5892      .voting-step-wrapper {
5893        flex-direction: column;
5894        row-gap: 0;
5895      }
5896
5897      ${r===sD.THEME_CORNERS.ROUNDED?"border-radius: 0 .4em .4em 0; ":r===sD.THEME_CORNERS.HALF_ROUNDED?"border-radius: 0 .4em 0 0;":""}
5898
5899  `}
5900
5901  ${({theme:e})=>e.breakpoints.down("sm")} {
5902    margin-bottom: var(--medium-padding);
5903    margin-left: calc(var(--standard-padding-horiz) * -1);
5904    margin-right: calc(var(--standard-padding-horiz) * -1);
5905    width: calc(100% + (2 * var(--standard-padding-horiz)));
5906    padding: var(--standard-padding-horiz);
5907    border-top: none;
5908    border-radius: 0;
5909  }
5910`,$V=(0,sW.styled)("div",{label:"VotingStep",...sZ.transientOptions})`
5911  text-align: center;
5912  width: 100%;
5913  display: flex;
5914  flex-direction: column;
5915  justify-content: flex-start;
5916  row-gap: 1em;
5917  column-gap: 1em;
5918  align-items: start;
5919
5920  ${({$layoutType:e})=>e===sk.VOTING_LAYOUT_TYPE.STANDARD&&`
5921      margin: auto;
5922      height: 100%;
5923  `}
5924
5925  ${({$layoutType:e})=>e===sk.VOTING_LAYOUT_TYPE.TWO_COL&&`
5926      text-align: left;
5927      flex-direction: row;
5928  `}
5929
5930  &:last-of-type {
5931    .voting-text-wrapper {
5932      margin-bottom: 0;
5933      border-bottom: none;
5934      ${({$layoutType:e})=>e!==sk.VOTING_LAYOUT_TYPE.STANDARD&&"padding-bottom: 0;"}
5935    }
5936  }
5937
5938  ${({theme:e})=>e.breakpoints.down("sm")} {
5939    column-gap: 0.75em;
5940  }
5941`,$W=(0,sW.styled)("div",{label:"VoteTextWrapper",...sZ.transientOptions})`
5942  width: 100%;
5943
5944  [data-field='title'] {
5945    color: var(--color-text);
5946    h2,
5947    h3,
5948    h4,
5949    h5,
5950    p {
5951      margin-bottom: 0.35em;
5952      color: var(--color-headline-primary);
5953    }
5954  }
5955
5956  ${({$layoutType:e})=>e===sk.VOTING_LAYOUT_TYPE.TWO_COL&&`
5957      padding-bottom: 1.5em; 
5958      margin-bottom: 1.5em; 
5959      border-bottom: 1px solid var(--color-text);
5960      
5961      /* TWO_COL drops the eyebrow's underline flourish: target the
5962         .eyebrow-rule class directly, since its ::after (campaign.css) lives
5963         on the inner editor element, not the field wrapper. */
5964      & .eyebrow-rule:after {
5965        content: none;
5966      }
5967    `}
5968`,$Z=(0,sW.styled)("div",{label:"VoteIconWrapper",...sZ.transientOptions})`
5969  width: ${({$size:e})=>e};
5970  height: ${({$size:e})=>e};
5971  margin-left: auto;
5972  margin-right: auto;
5973  background: ${({$circleColor:e})=>e};
5974  border-radius: 100%;
5975  display: flex;
5976  align-items: center;
5977  justify-content: center;
5978  border: 3px solid ${({$circleColor:e})=>e};
5979  background-clip: content-box;
5980  padding: 5px;
5981  flex: none;
5982
5983  /* Same coloring as IconFrame's solid circles: the circle entry's
5984     illustrated pair, tertiary knocked out to the circle. */
5985  ${({$fills:e})=>l6(e)}
5986
5987  .site-icon-fit {
5988    width: 100%;
5989  }
5990
5991  .icon-numbers {
5992    font-size: calc(3 * var(--tw-font-size-body));
5993  }
5994
5995  ${({theme:e})=>e.breakpoints.down("sm")} {
5996    width: 4em;
5997    height: 4em;
5998    border-width: 2px;
5999    padding: 4px;
6000    .icon-numbers {
6001      font-size: calc(2 * var(--tw-font-size-body));
6002    }
6003  }
6004`,$Y=({blockData:e,layoutType:t,theme:a,nextBlockSection:n,marginBottom:r,flourishMatchesNextBgColor:o,filteredBgColors:i,popupState:s,size:l})=>{let{circleColor:d,fills:c,basicFills:u}=l7("solid",e.iconBgColor,e.barColor),{byName:p}=s4();return(0,h.jsx)($z,{rowGap:5,columnGap:5,$layoutType:t,$nextSectionBgColor:n?.bgColor,$borderMatches:o,$iconBg:e.iconBgColor,$outerBg:e.bgColor,$barColor:e.barC
6004olor,$borderColor:i[i.length-1],$numItems:e.items.length,$corners:a?.corners,children:(0,h.jsx)("div",{className:"voting-step-wrapper",children:e.items.map((a,n)=>{let o=2===n;return(0,h.jsxs)($V,{className:`color-${e.barColor}`,$layoutType:t,children:[(0,h.jsx)($Z,{className:`color-${e.iconBgColor}`,$circleColor:d,$fills:s3(p.get(a.icon[0].name))?u:c,$size:l,...y.default.env.NEXT_PUBLIC_IS_CMS?(0,$j.bindTrigger)(s):{},children:e.useNumbers?(0,h.jsx)("h2",{className:"icon-numbers mb-0",children:n+1}):(0,h.jsx)(l3,{name:a.icon[0].name,fit:!0,fitFactor:.7})}),(0,h.jsxs)($W,{className:"voting-text-wrapper",$layoutType:t,children:[e.showEyebrows&&(0,h.jsx)("div",{style:{marginBottom:r},children:(0,h.jsx)(xF.default,{className:`eyebrow-rule [&_h6]:max-md:text-site-body-sm [&_h6]:mb-[0.75em] ${t===sk.VOTING_LAYOUT_TYPE.TWO_COL?"text-left [&_h6]:mb-0":"text-center"}`,value:a.eyebrow||"Eyebrow Text Here",name:"eyebrow",toolbarOption:"headlinesOnly",charLimit:45,isHeader:!0,headingLevel:6,list:"items",listKey:n,blockData:e})}),a.showTitle&&(0,h.jsx)(xF.default,{value:a.title||"<h5>Description Here</h5>",name:"title",toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","h2","h3","h4","h5","ToggleSmallText","TextColor","Lists","Links"],charLimit:800,list:"items",listKey:n,alignToolbarRight:o,blockData:e})]})]},a.id)})})})},$J=(0,sW.styled)(lr.Box,{label:"VotingBanner",...sZ.transientOptions})`
6005  --band-height: 2.5em;
6006  --sash-size: ${({$bannerLength:e})=>`calc(${e/Math.SQRT2}em + var(--band-height) + 1.77em)`};
6007  position: absolute;
6008  top: 0;
6009  left: 0;
6010  width: var(--sash-size);
6011  height: var(--sash-size);
6012  overflow: hidden;
6013  pointer-events: none;
6014  z-index: 2;
6015
6016  .banner-strip {
6017    position: absolute;
6018    top: calc((100% - var(--band-height)) / 2);
6019    left: calc((100% - var(--band-height)) / 2);
6020    width: 150%;
6021    height: var(--band-height);
6022    transform: translate(-50%, -50%) rotate(-45deg);
6023    display: flex;
6024    justify-content: center;
6025    align-items: center;
6026    white-space: nowrap;
6027    background: ${({$bannerColor:e})=>`var(--color-${e})`};
6028
6029    &:before {
6030      content: '';
6031      position: absolute;
6032      top: 12.5%;
6033      bottom: 12.5%;
6034      left: 0;
6035      right: 0;
6036      border-top: 1px solid
6037        ${({$bannerColor:e})=>`var(--color-${e}-text)`};
6038      border-bottom: 1px solid
6039        ${({$bannerColor:e})=>`var(--color-${e}-text)`};
6040    }
6041  }
6042
6043  .banner-text {
6044    color: ${({$bannerColor:e})=>`var(--color-${e}-text)`};
6045    font-family: var(--font-family-button);
6046    font-size: var(--tw-font-size-button-sm);
6047    font-weight: var(--font-weight-bold);
6048    letter-spacing: 0.15em;
6049    text-transform: uppercase;
6050  }
6051
6052  & svg {
6053    min-width: 10px;
6054    width: 0.75em;
6055  }
6056
6057  & svg.star-left {
6058    left: -0.5em;
6059    position: relative;
6060  }
6061
6062  & svg.star-right {
6063    right: -0.5em;
6064    position: relative;
6065  }
6066
6067  & path {
6068    fill: var(--color-flourish-secondary);
6069  }
6070`,$q=(0,sW.styled)(lr.Box,{label:"ColumnsWrapper",...sZ.transientOptions})`
6071  display: flex;
6072  flex-direction: ${({$layoutType:e})=>e===sk.VOTING_LAYOUT_TYPE.STANDARD?"column":"row"};
6073  ${e=>e.theme.breakpoints.down("sm")} {
6074    display: block;
6075    position: relative;
6076    z-index: ${sA.default.zindex.abovePinstripes};
6077  }
6078`;var $X=e.i(21983),$Q=e.i(63545);function $0(e,t){return function(){return e.apply(t,arguments)}}let{toString:$1}=Object.prototype,{getPrototypeOf:$2}=Object,{iterator:$3,toStringTag:$5}=Symbol,$4=(({hasOwnProperty:e})=>(t,a)=>e.call(t,a))(Object.prototype),$6=(e,t)=>{let a=e,n=[];for(;null!=a&&a!==Object.prototype&&-1===n.indexOf(a);){if(n.push(a),$4(a,t))return!0;a=$2(a)}return!1},$8=(a=Object.create(null),e=>{let t=$1.call(e);return a[t]||(a[t]=t.slice(8,-1).toLowerCase())}),$9=e=>(e=e.toLowerCase(),t=>$8(t)===e),$7=e=>t=>typeof t===e,{isArray:Ee}=Array,Et=$7("undefined");function Ea(e){return null!==e&&!Et(e)&&null!==e.constructor&&!Et(e.constructor)&&Eo(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let En=$9("ArrayBuffer"),Er=$7("string"),Eo=$7("function"),Ei=$7("number"),Es=e=>null!==e&&"object"==typeof e,El=e=>{if(!Es(e))return!1;let t=$2(e);return(null===t||t===Object.prototype||null===$2(t))&&!$6(e,$5)&&!$6(e,$3)},Ed=$9("Date"),Ec=$9("File"),Eu=$9("Blob"),Ep=$9("FileList"),Em="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:e.g,Eh=void 0!==Em.FormData?Em.FormData:void 0,Eg=$9("URLSearchParams"),[Ef,Ev,Eb,Ey]=["ReadableStream","Request","Response","Headers"].map($9);function Ex(e,t,{allOwnKeys:a=!1}={}){let n,r;if(null!=e)if("object"!=typeof e&&(e=[e]),Ee(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{let r;if(Ea(e))return;let o=a?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;for(n=0;n<i;n++)r=o[n],t.call(null,e[r],r,e)}}function ES(e,t){let a;if(Ea(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length;for(;r-- >0;)if(t===(a=n[r]).toLowerCase())return a;return null}let Ew="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:e.g,EC=e=>!Et(e)&&e!==Ew,ET=(n="u">typeof Uint8Array&&$2(Uint8Array),e=>n&&e instanceof n),E$=$9("HTMLFormElement"),{propertyIsEnumerable:EE}=Object.prototype,EI=$9("RegExp"),EN=(e,t)=>{let a=Object.getOwnPropertyDescriptors(e),n={};Ex(a,(a,r)=>{let o;!1!==(o=t(a,r,e))&&(n[r]=o||a)}),Object.defineProperties(e,n)},E_=$9("AsyncFunction"),Ek=(i="function"==typeof setImmediate,s=Eo(Ew.postMessage),i?setImmediate:s?(l=`axios@${Math.random()}`,d=[],Ew.addEventListener("message",({source:e,data:t})=>{e===Ew&&t===l&&d.length&&d.shift()()},!1),e=>{d.push(e),Ew.postMessage(l,"*")}):e=>setTimeout(e)),EM="u">typeof queueMicrotask?queueMicrotask.bind(Ew):void 0!==y.default&&y.default.nextTick||Ek,EA=e=>null!=e&&Eo(e[$3]),ER={isArray:Ee,isArrayBuffer:En,isBuffer:Ea,isFormData:e=>{if(!e)return!1;if(Eh&&e instanceof Eh)return!0;let t=$2(e);if(!t||t===Object.prototype||!Eo(e.append))return!1;let a=$8(e);return"formdata"===a||"object"===a&&Eo(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&En(e.buffer)},isString:Er,isNumber:Ei,isBoolean:e=>!0===e||!1===e,isObject:Es,isPlainObject:El,isEmptyObject:e=>{if(!Es(e)||Ea(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Ef,isRequest:Ev,isResponse:Eb,isHeaders:Ey,isUndefined:Et,isDate:Ed,isFile:Ec,isReactNativeBlob:e=>!!(e&&void 0!==e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:Eu,isRegExp:EI,isFunction:Eo,isStream:e=>Es(e)&&Eo(e.pipe),isURLSearchParams:Eg,isTypedArray:ET,isFileList:Ep,forEac
6078h:Ex,merge:function e(...t){let{caseless:a,skipUndefined:n}=EC(this)&&this||{},r={},o=(t,o)=>{if("__proto__"===o||"constructor"===o||"prototype"===o)return;let i=a&&"string"==typeof o&&ES(r,o)||o,s=$4(r,i)?r[i]:void 0;El(s)&&El(t)?r[i]=e(s,t):El(t)?r[i]=e({},t):Ee(t)?r[i]=t.slice():n&&Et(t)||(r[i]=t)};for(let e=0,a=t.length;e<a;e++){let a=t[e];if(!a||Ea(a)||(Ex(a,o),"object"!=typeof a||Ee(a)))continue;let n=Object.getOwnPropertySymbols(a);for(let e=0;e<n.length;e++){let t=n[e];EE.call(a,t)&&o(a[t],t)}}return r},extend:(e,t,a,{allOwnKeys:n}={})=>(Ex(t,(t,n)=>{a&&Eo(t)?Object.defineProperty(e,n,{__proto__:null,value:$0(t,a),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,a,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),a&&Object.assign(e.prototype,a)},toFlatObject:(e,t,a,n)=>{let r,o,i,s={};if(t=t||{},null==e)return t;do{for(o=(r=Object.getOwnPropertyNames(e)).length;o-- >0;)i=r[o],(!n||n(i,e,t))&&!s[i]&&(t[i]=e[i],s[i]=!0);e=!1!==a&&$2(e)}while(e&&(!a||a(e,t))&&e!==Object.prototype)return t},kindOf:$8,kindOfTest:$9,endsWith:(e,t,a)=>{e=String(e),(void 0===a||a>e.length)&&(a=e.length),a-=t.length;let n=e.indexOf(t,a);return -1!==n&&n===a},toArray:e=>{if(!e)return null;if(Ee(e))return e;let t=e.length;if(!Ei(t))return null;let a=Array(t);for(;t-- >0;)a[t]=e[t];return a},forEachEntry:(e,t)=>{let a,n=(e&&e[$3]).call(e);for(;(a=n.next())&&!a.done;){let n=a.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let a,n=[];for(;null!==(a=e.exec(t));)n.push(a);return n},isHTMLForm:E$,hasOwnProperty:$4,hasOwnProp:$4,hasOwnInPrototypeChain:$6,getSafeProp:(e,t)=>null!=e&&$6(e,t)?e[t]:void 0,reduceDescriptors:EN,freezeMethods:e=>{EN(e,(t,a)=>{if(Eo(e)&&["arguments","caller","callee"].includes(a))return!1;if(Eo(e[a])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+a+"'")})}})},toObjectSet:(e,t)=>{let a={};return(Ee(e)?e:String(e).split(t)).forEach(e=>{a[e]=!0}),a},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,a){return t.toUpperCase()+a}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:ES,global:Ew,isContextDefined:EC,isSpecCompliantForm:function(e){return!!(e&&Eo(e.append)&&"FormData"===e[$5]&&e[$3])},toJSONObject:e=>{let t=new WeakSet,a=e=>{if(Es(e)){if(t.has(e))return;if(Ea(e))return e;if(!("toJSON"in e)){t.add(e);let n=Ee(e)?[]:{};return Ex(e,(e,t)=>{let r=a(e);Et(r)||(n[t]=r)}),t.delete(e),n}}return e};return a(e)},isAsyncFn:E_,isThenable:e=>e&&(Es(e)||Eo(e))&&Eo(e.then)&&Eo(e.catch),setImmediate:Ek,asap:EM,isIterable:EA,isSafeIterable:e=>null!=e&&$6(e,$3)&&EA(e)};var EO=e.i(21168);let EB=ER.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),EP=RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),EL=RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ED(e,t){return ER.isArray(e)?e.map(e=>ED(e,t)):function(e){let t=0,a=e.length;for(;t<a;){let a=e.charCodeAt(t);if(9!==a&&32!==a)break;t+=1}for(;a>t;){let t=e.charCodeAt(a-1);if(9!==t&&32!==t)break;a-=1}return 0===t&&a===e.length?e:e.slice(t,a)}(String(e).replace(t,""))}function Ej(e){let t=Object.create(null);return ER.forEach(e.toJSON(),(e,a)=>{t[a]=ED(e,EL)}),t}let EG=Symbol("internals");function EF(e){return e&&String(e).trim().toLowerCase()}function EH(e){return!1===e||null==e?e:ER.isArray(e)?e.map(EH):ED(String(e),EP)}function EU(e,t,a,n,r){if(ER.isFunction(n))return n.call(this,t,a);if(r&&(t=a),ER.isString(t)){if(ER.isString(n))return -1!==t.indexOf(n);if(ER.isRegExp(n))return n.test(t)}}class EK{constructor(e){e&&this.set(e)}set(e,t,a){let n=this;function r(e,t,a){let r=EF(t);if(!r)return;let o=ER.findKey(n,r);o&&void 0!==n[o]&&!0!==a&&(void 0!==a||!1===n[o])||(n[o||t]=EH(e))}let o=(e,t)=>
6078ER.forEach(e,(e,a)=>r(e,a,t));if(ER.isPlainObject(e)||e instanceof this.constructor)o(e,t);else{let n;if(ER.isString(e)&&(e=e.trim())&&(n=e,!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim()))){var i;let a,n,r,s;o((s={},(i=e)&&i.split("\n").forEach(function(e){r=e.indexOf(":"),a=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!a||s[a]&&EB[a]||("set-cookie"===a?s[a]?s[a].push(n):s[a]=[n]:s[a]=s[a]?s[a]+", "+n:n)}),s),t)}else if(ER.isObject(e)&&ER.isSafeIterable(e)){let a=Object.create(null),n,r;for(let t of e){if(!ER.isArray(t))throw TypeError("Object iterator must return a key-value pair");r=t[0],ER.hasOwnProp(a,r)?(n=a[r],a[r]=ER.isArray(n)?[...n,t[1]]:[n,t[1]]):a[r]=t[1]}o(a,t)}else null!=e&&r(t,e,a)}return this}get(e,t){if(e=EF(e)){let a=ER.findKey(this,e);if(a){let e=this[a];if(!t)return e;if(!0===t){let t,a=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)a[t[1]]=t[2];return a}if(ER.isFunction(t))return t.call(this,e,a);if(ER.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=EF(e)){let a=ER.findKey(this,e);return!!(a&&void 0!==this[a]&&(!t||EU(this,this[a],a,t)))}return!1}delete(e,t){let a=this,n=!1;function r(e){if(e=EF(e)){let r=ER.findKey(a,e);r&&(!t||EU(a,a[r],r,t))&&(delete a[r],n=!0)}}return ER.isArray(e)?e.forEach(r):r(e),n}clear(e){let t=Object.keys(this),a=t.length,n=!1;for(;a--;){let r=t[a];(!e||EU(this,this[r],r,e,!0))&&(delete this[r],n=!0)}return n}normalize(e){let t=this,a={};return ER.forEach(this,(n,r)=>{let o=ER.findKey(a,r);if(o){t[o]=EH(n),delete t[r];return}let i=e?r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,a)=>t.toUpperCase()+a):String(r).trim();i!==r&&delete t[r],t[i]=EH(n),a[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return ER.forEach(this,(a,n)=>{null!=a&&!1!==a&&(t[n]=e&&ER.isArray(a)?a.join(", "):a)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let a=new this(e);return t.forEach(e=>a.set(e)),a}static accessor(e){let t=(this[EG]=this[EG]={accessors:{}}).accessors,a=this.prototype;function n(e){let n=EF(e);if(!t[n]){let r;r=ER.toCamelCase(" "+e),["get","set","has"].forEach(t=>{Object.defineProperty(a,t+r,{__proto__:null,value:function(a,n,r){return this[t].call(this,e,a,n,r)},configurable:!0})}),t[n]=!0}}return ER.isArray(e)?e.forEach(n):n(e),this}}EK.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ER.reduceDescriptors(EK.prototype,({value:e},t)=>{let a=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[a]=e}}}),ER.freezeMethods(EK);class Ez extends Error{static from(e,t,a,n,r,o){let i=new Ez(e.message,t||e.code,a,n,r);return Object.defineProperty(i,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),i.name=e.name,null!=e.status&&null==i.status&&(i.status=e.status),o&&Object.assign(i,o),i}constructor(e,t,a,n,r){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),a&&(this.config=a),n&&(this.request=n),r&&(this.response=r,this.status=r.status)}toJSON(){let e,t,a,n=this.config,r=n&&ER.hasOwnProp(n,"redact")?n.redact:void 0,o=ER.isArray(r)&&r.length>0?(e=new Set(r.map(e=>String(e).toLowerCase())),t=[],(a=n=>{let r;if(null===n||"object"!=typeof n||ER.isBuffer(n))return n;if(-1===t.indexOf(n)){if(n instanceof EK&&(n=n.toJSON()),t.push(n),ER.isArray(n))r=[],n.forEach((e,t)=>{let n=a(e);ER.isUndefined(n)||(r[t]=n)});else{if(!ER.isPlainObject(n)&&function(e){if(ER.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(ER.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(n))return t.pop(),n;for(let[t,o]of(r=Object.create(null),Object.entries(n))){let n=e.has(t.toLowerCase())?"[REDACTED ****]":a(o);ER.isUndefined(n)||(r[t]=n)}}return t.pop(),r}})(n)):ER.toJSONObject(n);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:o,code:this.code,status:this.status}}}Ez.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Ez.ERR_BAD_OPTION="ERR_BAD_OPTION",Ez.ECONNABORTED="ECONNABORTED",Ez.ETIMEDOUT="ETIMEDOUT",Ez.ECONNREFUSED="ECONNREFUSED",Ez.ERR_NETWORK="ERR_NETWORK",Ez.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Ez.ERR_DEPRECATED="ERR_DEPRECATED",Ez.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Ez.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Ez.ERR_CANCELED="ERR_CANCELED",Ez.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Ez.ERR_INVALID_URL="ERR_INVALID_URL",Ez.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";let EV=Ez;function EW(e){return ER.isPlainObject(e)||ER.isArray(e)}function EZ(e){return ER.endsWith(e,"[]")?e.slice(0,-2):e}function EY(e,t,a){return e?e.concat(t).map(function(e,t){return e=EZ(e),!a&&t?"["+e+"]":e}).join(a?".":""):t}let EJ=ER.toFlatObject(ER,{},null,function(e){return/^is[A-Z]/.test(e)}),Eq=function(e,t,a){if(!ER.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(a=ER.toFlatObject(a,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!ER.isUndefined(t[e])})).metaTokens,r=a.visitor||m,o=a.dots,i=a.indexes,s=a.Blob||"u">typeof Blob&&Blob,l=void 0===a.maxDepth?100:a.maxDepth,d=s&&ER.isSpecCompliantForm(t),c=[];if(!ER.isFunction(r))throw TypeError("visitor must be a function");function u(e){if(null===e)return"";if(ER.isDate(e))return e.toISOString();if(ER.isBoolean(e))return e.toString();if(!d&&ER.isBlob(e))throw new EV("Blob is not supported. Use a Buffer instead.");if(ER.isArrayBuffer(e)||ER.isTypedArray(e)){if(d&&"function"==typeof s)return new s([e]);if(void 0!==EO.Buffer)return EO.Buffer.from(e);throw new EV("Blob is not supported. Use a Buffer instead.",EV.ERR_NOT_SUPPORT)}return e}function p(e){if(e>l)throw new EV("Object is too deeply nested ("+e+" levels). Max depth: "+l,EV.ERR_FORM_DATA_DEPTH_EXCEEDED)}function m(e,a,r){let s=e;if(ER.isReactNative(t)&&ER.isReactNativeBlob(e))return t.append(EY(r,a,o),u(e)),!1;if(e&&!r&&"object"==typeof e)if(ER.endsWith(a,"{}"))a=n?a:a.slice(0,-2),e=function(e){if(l===1/0)return JSON.stringify(e);let t=[];return JSON.stringify(e,function(e,a){if(!ER.isObject(a))return a;for(;t.length&&t[t.length-1]!==this;)t.pop();return t.push(a),p(1+t.length-1),a})}(e);else{var d;
6078if(ER.isArray(e)&&(d=e,ER.isArray(d)&&!d.some(EW))||(ER.isFileList(e)||ER.endsWith(a,"[]"))&&(s=ER.toArray(e)))return a=EZ(a),s.forEach(function(e,n){ER.isUndefined(e)||null===e||t.append(!0===i?EY([a],n,o):null===i?a:a+"[]",u(e))}),!1}return!!EW(e)||(t.append(EY(r,a,o),u(e)),!1)}let h=Object.assign(EJ,{defaultVisitor:m,convertValue:u,isVisitable:EW});if(!ER.isObject(e))throw TypeError("data must be an object");return!function e(a,n,o=0){if(!ER.isUndefined(a)){if(p(o),-1!==c.indexOf(a))throw Error("Circular reference detected in "+n.join("."));c.push(a),ER.forEach(a,function(a,i){!0===(!(ER.isUndefined(a)||null===a)&&r.call(t,a,ER.isString(i)?i.trim():i,n,h))&&e(a,n?n.concat(i):[i],o+1)}),c.pop()}}(e),t};function EX(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function EQ(e,t){this._pairs=[],e&&Eq(e,this,t)}let E0=EQ.prototype;function E1(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function E2(e,t,a){let n;if(!t)return e;e=e||"";let r=ER.isFunction(a)?{serialize:a}:a,o=ER.getSafeProp(r,"encode")||E1,i=ER.getSafeProp(r,"serialize");if(n=i?i(t,r):ER.isURLSearchParams(t)?t.toString():new EQ(t,r).toString(o)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}E0.append=function(e,t){this._pairs.push([e,t])},E0.toString=function(e){let t=e?t=>e.call(this,t,EX):EX;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};let E3=class{constructor(){this.handlers=[]}use(e,t,a){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!a&&a.synchronous,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ER.forEach(this.handlers,function(t){null!==t&&e(t)})}},E5={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},E4="u">typeof URLSearchParams?URLSearchParams:EQ,E6="u">typeof FormData?FormData:null,E8="u">typeof Blob?Blob:null,E9="u">typeof window&&"u">typeof document,E7="object"==typeof navigator&&navigator||void 0,Ie=E9&&(!E7||0>["ReactNative","NativeScript","NS"].indexOf(E7.product)),It="u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ia=E9&&window.location.href||"http://localhost";e.s(["hasBrowserEnv",0,E9,"hasStandardBrowserEnv",0,Ie,"hasStandardBrowserWebWorkerEnv",0,It,"navigator",0,E7,"origin",0,Ia],38358);let In={...e.i(38358),isBrowser:!0,classes:{URLSearchParams:E4,FormData:E6,Blob:E8},protocols:["http","https","file","blob","url","data"]};function Ir(e){if(e>100)throw new EV("FormData field is too deeply nested ("+e+" levels). Max depth: 100",EV.ERR_FORM_DATA_DEPTH_EXCEEDED)}let Io=function(e){if(ER.isFormData(e)&&ER.isFunction(e.entries)){let t={};return ER.forEachEntry(e,(e,a)=>{!function e(t,a,n,r){Ir(r);let o=t[r++];if("__proto__"===o)return!0;let i=Number.isFinite(+o),s=r>=t.length;return(o=!o&&ER.isArray(n)?n.length:o,s)?ER.hasOwnProp(n,o)?n[o]=ER.isArray(n[o])?n[o].concat(a):[n[o],a]:n[o]=a:(ER.hasOwnProp(n,o)&&ER.isObject(n[o])||(n[o]=[]),e(t,a,n[o],r)&&ER.isArray(n[o])&&(n[o]=function(e){let t,a,n={},r=Object.keys(e),o=r.length;for(t=0;t<o;t++)n[a=r[t]]=e[a];return n}(n[o]))),!i}(function(e){let t,a=[],n=/\w+|\[(\w*)]/g;for(;null!==(t=n.exec(e));)Ir(a.length),a.push("[]"===t[0]?"":t[1]||t[0]);return a}(e),a,t,0)}),t}return null},Ii=(e,t)=>null!=e&&ER.hasOwnProp(e,t)?e[t]:void 0,Is={transitional:E5,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let a,n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=ER.isObject(e);if(o&&ER.isHTMLForm(e)&&(e=new FormData(e)),ER.isFormData(e))return r?JSON.stringify(Io(e)):e;if(ER.isArrayBuffer(e)||ER.isBuffer(e)||ER.isStream(e)||ER.isFile(e)||ER.isBlob(e)||ER.isReadableStream(e))return e;if(ER.isArrayBufferView(e))return e.buffer;if(ER.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();
6078if(o){let t=Ii(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return Eq(e,new In.classes.URLSearchParams,{visitor:function(e,t,a,n){return In.isNode&&ER.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t}).toString();if((a=ER.isFileList(e))||n.indexOf("multipart/form-data")>-1){let n=Ii(this,"env"),r=n&&n.FormData;return Eq(a?{"files[]":e}:e,r&&new r,t)}}if(o||r){t.setContentType("application/json",!1);var i=e;if(ER.isString(i))try{return(0,JSON.parse)(i),ER.trim(i)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(i)}return e}],transformResponse:[function(e){let t=Ii(this,"transitional")||Is.transitional,a=t&&t.forcedJSONParsing,n=Ii(this,"responseType"),r="json"===n;if(ER.isResponse(e)||ER.isReadableStream(e))return e;if(e&&ER.isString(e)&&(a&&!n||r)){let a=t&&t.silentJSONParsing;try{return JSON.parse(e,Ii(this,"parseReviver"))}catch(e){if(!a&&r){if("SyntaxError"===e.name)throw EV.from(e,EV.ERR_BAD_RESPONSE,this,null,Ii(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:In.classes.FormData,Blob:In.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function Il(e,t){let a=this||Is,n=t||a,r=EK.from(n.headers),o=n.data;return ER.forEach(e,function(e){o=e.call(a,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Id(e){return!!(e&&e.__CANCEL__)}ER.forEach(["delete","get","head","post","put","patch","query"],e=>{Is.headers[e]={}});let Ic=class extends EV{constructor(e,t,a){super(null==e?"canceled":e,EV.ERR_CANCELED,t,a),this.name="CanceledError",this.__CANCEL__=!0}};function Iu(e,t,a){let n=a.config.validateStatus;!a.status||!n||n(a.status)?e(a):t(new EV("Request failed with status code "+a.status,a.status>=400&&a.status<500?EV.ERR_BAD_REQUEST:EV.ERR_BAD_RESPONSE,a.config,a.request,a))}let Ip=function(e,t){let a,n=Array(e=e||10),r=Array(e),o=0,i=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),d=r[i];a||(a=l),n[o]=s,r[o]=l;let c=i,u=0;for(;c!==o;)u+=n[c++],c%=e;if((o=(o+1)%e)===i&&(i=(i+1)%e),l-a<t)return;let p=d&&l-d;return p?Math.round(1e3*u/p):void 0}},Im=function(e,t){let a,n,r=0,o=1e3/t,i=(t,o=Date.now())=>{r=o,a=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-r;s>=o?i(e,t):(a=e,n||(n=setTimeout(()=>{n=null,i(a)},o-s)))},()=>a&&i(a)]},Ih=(e,t,a=3)=>{let n=0,r=Ip(50,250);return Im(a=>{if(!a||"number"!=typeof a.loaded)return;let o=a.loaded,i=a.lengthComputable?a.total:void 0,s=null!=i?Math.min(o,i):o,l=Math.max(0,s-n),d=r(l);n=Math.max(n,s),e({loaded:s,total:i,progress:i?s/i:void 0,bytes:l,rate:d||void 0,estimated:d&&i?(i-s)/d:void 0,event:a,lengthComputable:null!=i,[t?"download":"upload"]:!0})},a)},Ig=(e,t)=>{let a=null!=e;return[n=>t[0]({lengthComputable:a,total:e,loaded:n}),t[1]]},If=e=>(...t)=>ER.asap(()=>e(...t)),Iv=In.hasStandardBrowserEnv?(r=new URL(In.origin),o=In.navigator&&/(msie|trident)/i.test(In.navigator.userAgent),e=>(e=new URL(e,In.origin),r.protocol===e.protocol&&r.host===e.host&&(o||r.port===e.port))):()=>!0,Ib=In.hasStandardBrowserEnv?{write(e,t,a,n,r,o,i){if("u"<typeof document)return;let s=[`${e}=${encodeURIComponent(t)}`];ER.isNumber(a)&&s.push(`expires=${new Date(a).toUTCString()}`),ER.isString(n)&&s.push(`path=${n}`),ER.isString(r)&&s.push(`domain=${r}`),!0===o&&s.push("secure"),ER.isString(i)&&s.push(`SameSite=${i}`),document.cookie=s.join("; ")},read(e){if("u"<typeof document)return null;let t=document.cookie.split(";");for(let a=0;a<t.length;a++){let n=t[a].replace(/^\s+/,""),r=n.indexOf("=");if(-1!==r&&n.slice(0,r)===e)try{return decodeURIComponent(n.slice(r+1))}catch(e){return n.slice(r+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}},Iy=/^https?:(?!\/\/)/i,Ix=/[\t\n\r]/g;function IS(e,t){if("string"==typeof e&&Iy.test((function(e){let t=0;for(;t<e.length&&32>=e.charCodeAt(t);)t++;return e.slice(t)})(e).replace(Ix,"")))throw new EV('Invalid URL: missing "//" after protocol',EV.ERR_INVALID_URL,t)}function Iw(e,t,a,n){IS(t,n);let r=!("string"==typeof t&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t));return e&&(r||!1===a)?(IS(e,n),t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e):t}let IC=e=>e instanceof EK?{...e}:e;function IT(e,t){e=e||{},t=t||{};let a=Object.create(null);function n(e,t,a,n){return ER.isPlainObject(e)&&ER.isPlainObject(t)?ER.merge.call({caseless:n},e,t):ER.isPlainObject(t)?ER.merge({},t):ER.isArray(t)?t.slice():t}function r(e,t,a,r){return ER.isUndefined(t)?ER.isUndefined(e)?void 0:n(void 0,e,a,r):n(e,t,a,r)}function o(e,t){if(!ER.isUndefined(t))return n(void 0,t)}function i(e,t){return ER.isUndefined(t)?ER.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(a,r,o){return ER.hasOwnProp(t,o)?n(a,r):ER.hasOwnProp(e,o)?n(void 0,a):void 0}Object.defineProperty(a,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});let l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:s,headers:(e,t,a)=>r(IC(e),IC(t),a,!0)};
6078return ER.forEach(Object.keys({...e,...t}),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;let o=ER.hasOwnProp(l,n)?l[n]:r,i=o(ER.hasOwnProp(e,n)?e[n]:void 0,ER.hasOwnProp(t,n)?t[n]:void 0,n);ER.isUndefined(i)&&o!==s||(a[n]=i)}),ER.hasOwnProp(t,"validateStatus")&&ER.isUndefined(t.validateStatus)&&!1===function(a){let n=ER.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!ER.isUndefined(n)){if(!ER.isPlainObject(n))return;else if(ER.hasOwnProp(n,a))return n[a]}let r=ER.hasOwnProp(e,"transitional")?e.transitional:void 0;if(ER.isPlainObject(r)&&ER.hasOwnProp(r,a))return r[a]}("validateStatusUndefinedResolves")&&(ER.hasOwnProp(e,"validateStatus")?a.validateStatus=n(void 0,e.validateStatus):delete a.validateStatus),a}let I$=["content-type","content-length"],IE=function(e){let t=IT({},e),a=e=>ER.hasOwnProp(t,e)?t[e]:void 0,n=a("data"),r=a("withXSRFToken"),o=a("xsrfHeaderName"),i=a("xsrfCookieName"),s=a("headers"),l=a("auth"),d=a("baseURL"),c=a("allowAbsoluteUrls"),u=a("url");if(t.headers=s=EK.from(s),t.url=E2(Iw(d,u,c,t),a("params"),a("paramsSerializer")),l){let t=ER.getSafeProp(l,"username")||"",a=ER.getSafeProp(l,"password")||"";try{s.set("Authorization","Basic "+btoa(t+":"+(a?encodeURIComponent(a).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))):"")))}catch(t){throw EV.from(t,EV.ERR_BAD_OPTION_VALUE,e)}}if(ER.isFormData(n))if(In.hasStandardBrowserEnv||In.hasStandardBrowserWebWorkerEnv||ER.isReactNative(n))s.setContentType(void 0);else{var p,m;ER.isFunction(n.getHeaders)&&(p=s,m=n.getHeaders(),"content-only"!==a("formDataHeaderPolicy")?p.set(m):Object.entries(m||{}).forEach(([e,t])=>{I$.includes(e.toLowerCase())&&p.set(e,t)}))}if(In.hasStandardBrowserEnv&&(ER.isFunction(r)&&(r=r(t)),!0===r||null==r&&Iv(t.url))){let e=o&&i&&Ib.read(i);e&&s.set(o,e)}return t},II="u">typeof XMLHttpRequest&&function(e){return new Promise(function(t,a){var n;let r,o,i,s,l,d,c=IE(e),u=c.data,p=EK.from(c.headers).normalize(),{responseType:m,onUploadProgress:h,onDownloadProgress:g}=c;function f(){s&&s(),l&&l(),c.cancelToken&&c.cancelToken.unsubscribe(r),c.signal&&c.signal.removeEventListener("abort",r)}let v=new XMLHttpRequest;function b(){if(!v)return;let n=EK.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders());Iu(function(e){t(e),f()},function(e){a(e),f()},{data:m&&"text"!==m&&"json"!==m?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v}),v=null}v.open(c.method.toUpperCase(),c.url,!0),v.timeout=c.timeout,"onloadend"in v?v.onloadend=b:v.onreadystatechange=function(){!v||4!==v.readyState||(0!==v.status||v.responseURL&&v.responseURL.startsWith("file:"))&&setTimeout(b)},v.onabort=function(){v&&(a(new EV("Request aborted",EV.ECONNABORTED,e,v)),f(),v=null)},v.onerror=function(t){let n=new EV(t&&t.message?t.message:"Network Error",EV.ERR_NETWORK,e,v);n.event=t||null,a(n),f(),v=null},v.ontimeout=function(){let t=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",n=c.transitional||E5;c.timeoutErrorMessage&&(t=c.timeoutErrorMessage),a(new EV(t,n.clarifyTimeoutError?EV.ETIMEDOUT:EV.ECONNABORTED,e,v)),f(),v=null},void 0===u&&p.setContentType(null),"setRequestHeader"in v&&ER.forEach(Ej(p),function(e,t){v.setRequestHeader(t,e)}),ER.isUndefined(c.withCredentials)||(v.withCredentials=!!c.withCredentials),m&&"json"!==m&&(v.responseType=c.responseType),g&&([i,l]=Ih(g,!0),v.addEventListener("progress",i)),h&&v.upload&&([o,s]=Ih(h),v.upload.addEventListener("progress",o),v.upload.addEventListener("loadend",s)),(c.cancelToken||c.signal)&&(r=t=>{v&&(a(!t||t.type?new Ic(null,e,v):t),v.abort(),f(),v=null)},c.cancelToken&&c.cancelToken.subscribe(r),c.signal&&(c.signal.aborted?r():c.signal.addEventListener("abort",r)));let y=(n=c.url,(d=/^([-+\w]{1,25}):(?:\/\/)?/.exec(n))&&d[1]||"");if(y&&!In.protocols.includes(y)){a(new EV("Unsupported protocol "+y+":",EV.ERR_BAD_REQUEST,e)),f();return}v.send(u||null)})},IN=function*(e,t){let a,n=e.byteLength;if(!t||n<t)return void(yield e);let r=0;for(;r<n;)a=r+t,yield e.slice(r,a),r=a},I_=async function*(e,t){for await(let a of Ik(e))yield*IN(a,t)},Ik=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);let t=e.getReader();try{for(;;){let{done:e,value:a}=await t.read();if(e)break;yield a}}finally{await t.cancel()}},IM=(e,t,a,n)=>{let r,o=I_(e,t),i=0,s=e=>{!r&&(r=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await o.next();if(t){s(),e.close();return}let r=n.byteLength;if(a){let e=i+=r;a(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},IA=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,IR=(e,t,a)=>t+2<a&&IA(e.charCodeAt(t+1))&&IA(e.charCodeAt(t+2)),IO="1.18.1",{isFunction:IB}=ER,IP=e=>{if(!ER.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},IL=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},ID=e=>{let t,a=void 0!==ER.global&&null!==ER.global?ER.global:globalThis,{ReadableStream:n,TextEncoder:r}=a,{fetch:o,Request:i,Response:s}=e=ER.merge.call({skipUndefined:!0},{Request:a.Request,Response:a.Response},e),l=o?IB(o):"function"==typeof fetch,d=IB(i),c=IB(s);if(!l)return!1;let u=l&&IB(n),p=l&&("function"==typeof r?(t=new r,e=>t.encode(e)):async e=>new Uint8Array(await new i(e).arrayBuffer())),m=d&&u&&IL(()=>{let e=!1,t=new i(In.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),a=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!a}),h=c&&u&&IL(()=>
6078ER.isReadableStream(new s("").body)),g={stream:h&&(e=>e.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{g[e]||(g[e]=(t,a)=>{let n=t&&t[e];if(n)return n.call(t);throw new EV(`Response type '${e}' is not supported`,EV.ERR_NOT_SUPPORT,a)})});let f=async e=>{if(null==e)return 0;if(ER.isBlob(e))return e.size;if(ER.isSpecCompliantForm(e)){let t=new i(In.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return ER.isArrayBufferView(e)||ER.isArrayBuffer(e)?e.byteLength:(ER.isURLSearchParams(e)&&(e+=""),ER.isString(e))?(await p(e)).byteLength:void 0},v=async(e,t)=>{let a=ER.toFiniteNumber(e.getContentLength());return null==a?f(t):a};return async e=>{let t,{url:a,method:n,data:l,signal:c,cancelToken:p,timeout:b,onDownloadProgress:y,onUploadProgress:x,responseType:S,headers:w,withCredentials:C="same-origin",fetchOptions:T,maxContentLength:$,maxBodyLength:E}=IE(e),I=ER.isNumber($)&&$>-1,N=ER.isNumber(E)&&E>-1,_=o||fetch;S=S?(S+"").toLowerCase():"text";let k=((e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let a=new AbortController,n=!1,r=function(e){if(!n){n=!0,i();let t=e instanceof Error?e:this.reason;a.abort(t instanceof EV?t:new Ic(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{o=null,r(new EV(`timeout of ${t}ms exceeded`,EV.ETIMEDOUT))},t),i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)}),e=null)};e.forEach(e=>e.addEventListener("abort",r,{once:!0}));let{signal:s}=a;return s.unsubscribe=()=>ER.asap(i),s})([c,p&&p.toAbortSignal()],b),M=null,A=k&&k.unsubscribe&&(()=>{k.unsubscribe()}),R=null,O=()=>new EV("Request body larger than maxBodyLength limit",EV.ERR_BAD_REQUEST,e,M);try{var B;let o,c,p,b,P=(c="auth",ER.hasOwnProp(e,c)?e[c]:void 0);if(P){let e=ER.getSafeProp(P,"username")||"",t=ER.getSafeProp(P,"password")||"";o={username:e,password:t}}if(p=(B=a).indexOf("://"),b=B,-1!==p&&(b=b.slice(p+3)),b.includes("@")||b.includes(":")){let e=new URL(a,In.origin);if(!o&&(e.username||e.password)){let t=IP(e.username),a=IP(e.password);o={username:t,password:a}}(e.username||e.password)&&(e.username="",e.password="",a=e.href)}if(o){let e;w.delete("authorization"),w.set("Authorization","Basic "+btoa((e=(o.username||"")+":"+(o.password||""),encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))))}if(I&&"string"==typeof a&&a.startsWith("data:")&&function(e){if(!e||"string"!=typeof e||!e.startsWith("data:"))return 0;let t=e.indexOf(",");if(t<0)return 0;let a=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(a)){let e=n.length,t=n.length;for(let a=0;a<t;a++)if(37===n.charCodeAt(a)&&a+2<t){let t=n.charCodeAt(a+1),r=n.charCodeAt(a+2);IA(t)&&IA(r)&&(e-=2,a+=2)}let a=0,r=t-1,o=e=>e>=2&&37===n.charCodeAt(e-2)&&51===n.charCodeAt(e-1)&&(68===n.charCodeAt(e)||100===n.charCodeAt(e));r>=0&&(61===n.charCodeAt(r)?(a++,r--):o(r)&&(a++,r-=3)),1===a&&r>=0&&(61===n.charCodeAt(r)?a++:o(r)&&a++);let i=3*Math.floor(e/4)-(a||0);return i>0?i:0}let r=0;for(let e=0,t=n.length;e<t;e++){let a=n.charCodeAt(e);if(37===a&&IR(n,e,t))r+=1,e+=2;else if(a<128)r+=1;else if(a<2048)r+=2;else if(a>=55296&&a<=56319&&e+1<t){let t=n.charCodeAt(e+1);t>=56320&&t<=57343?(r+=4,e++):r+=3}else r+=3}return r}(a)>$)throw new EV("maxContentLength size of "+$+" exceeded",EV.ERR_BAD_RESPONSE,e,M);if(N&&"get"!==n&&"head"!==n){let e=await f(l);if("number"==typeof e&&isFinite(e)&&(t=e,e>E))throw O()}let L=N&&(ER.isReadableStream(l)||ER.isStream(l)),D=(e,t,a)=>IM(e,65536,e=>{if(N&&e>E)throw R=O();t&&t(e)},a);if(m&&"get"!==n&&"head"!==n&&(x||L)){if(t=null==t?await v(w,l):t,0!==t||L){let e,n=new i(a,{method:"POST",body:l,duplex:"half"});if(ER.isFormData(l)&&(e=n.headers.get("content-type"))&&w.setContentType(e),n.body){let[e,a]=x&&Ig(t,Ih(If(x)))||[];l=D(n.body,e,a)}}}else if(L&&!d&&u&&"get"!==n&&"head"!==n)l=D(l);else if(L&&d&&!m&&"get"!==n&&"head"!==n)throw new EV("Stream request bodies are not supported by the current fetch implementation",EV.ERR_NOT_SUPPORT,e,M);ER.isString(C)||(C=C?"include":"omit");let j=d&&"credentials"in i.prototype;if(ER.isFormData(l)){let e=w.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&w.delete("content-type")}w.set("User-Agent","axios/"+IO,!1);let G={...T,signal:k,method:n.toUpperCase(),headers:Ej(w.normalize()),body:l,duplex:"half",credentials:j?C:void 0};M=d&&new i(a,G);let F=await (d?_(M,T):_(a,G)),H=EK.from(F.headers);if(I){let t=ER.toFiniteNumber(H.getContentLength());if(null!=t&&t>$)throw new EV("maxContentLength size of "+$+" exceeded",EV.ERR_BAD_RESPONSE,e,M)}let U=h&&("stream"===S||"response"===S);if(h&&F.body&&(y||I||U&&A)){let t={};
6078["status","statusText","headers"].forEach(e=>{t[e]=F[e]});let a=ER.toFiniteNumber(H.getContentLength()),[n,r]=y&&Ig(a,Ih(If(y),!0))||[];F=new s(IM(F.body,65536,t=>{if(I&&t>$)throw new EV("maxContentLength size of "+$+" exceeded",EV.ERR_BAD_RESPONSE,e,M);n&&n(t)},()=>{r&&r(),A&&A()}),t)}S=S||"text";let K=await g[ER.findKey(g,S)||"text"](F,e);if(I&&!h&&!U){let t;if(null!=K&&("number"==typeof K.byteLength?t=K.byteLength:"number"==typeof K.size?t=K.size:"string"==typeof K&&(t="function"==typeof r?new r().encode(K).byteLength:K.length)),"number"==typeof t&&t>$)throw new EV("maxContentLength size of "+$+" exceeded",EV.ERR_BAD_RESPONSE,e,M)}return!U&&A&&A(),await new Promise((t,a)=>{Iu(t,a,{data:K,headers:EK.from(F.headers),status:F.status,statusText:F.statusText,config:e,request:M})})}catch(t){if(A&&A(),k&&k.aborted&&k.reason instanceof EV){let a=k.reason;throw a.config=e,M&&(a.request=M),t!==a&&Object.defineProperty(a,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),a}if(R)throw M&&!R.request&&(R.request=M),R;if(t instanceof EV)throw M&&!t.request&&(t.request=M),t;if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)){let a=new EV("Network Error",EV.ERR_NETWORK,e,M,t&&t.response);throw Object.defineProperty(a,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),a}throw EV.from(t,t&&t.code,e,M,t&&t.response)}}},Ij=new Map,IG=e=>{let t=e&&e.env||{},{fetch:a,Request:n,Response:r}=t,o=[n,r,a],i=o.length,s,l,d=Ij;for(;i--;)s=o[i],void 0===(l=d.get(s))&&d.set(s,l=i?new Map:ID(t)),d=l;return l};IG();let IF={http:null,xhr:II,fetch:{get:IG}};ER.forEach(IF,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});let IH=e=>`- ${e}`,IU=e=>ER.isFunction(e)||null===e||!1===e,IK=function(e,t){let a,n,{length:r}=e=ER.isArray(e)?e:[e],o={};for(let i=0;i<r;i++){let r;if(n=a=e[i],!IU(a)&&void 0===(n=IF[(r=String(a)).toLowerCase()]))throw new EV(`Unknown adapter '${r}'`);if(n&&(ER.isFunction(n)||(n=n.get(t))))break;o[r||"#"+i]=n}if(!n){let e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new EV("There is no suitable adapter to dispatch the request "+(r?e.length>1?"since :\n"+e.map(IH).join("\n"):" "+IH(e[0]):"as no adapter specified"),EV.ERR_NOT_SUPPORT)}return n};function Iz(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ic(null,e)}function IV(e){return Iz(e),e.headers=EK.from(e.headers),e.data=Il.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),IK(e.adapter||Is.adapter,e)(e).then(function(t){Iz(e),e.response=t;try{t.data=Il.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=EK.from(t.headers),t},function(t){if(!Id(t)&&(Iz(e),t&&t.response)){e.response=t.response;try{t.response.data=Il.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=EK.from(t.response.headers)}return Promise.reject(t)})}let IW={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{IW[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}});let IZ={};IW.transitional=function(e,t,a){function n(e,t){return"[Axios v"+IO+"] Transitional option '"+e+"'"+t+(a?". "+a:"")}return(a,r,o)=>{if(!1===e)throw new EV(n(r," has been removed"+(t?" in "+t:"")),EV.ERR_DEPRECATED);return t&&!IZ[r]&&(IZ[r]=!0,console.warn(n(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(a,r,o)}},IW.spelling=function(e){return(t,a)=>(console.warn(`${a} is likely a misspelling of ${e}`),!0)};let IY=function(e,t,a){if("object"!=typeof e||null===e)throw new EV("options must be an object",EV.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),r=n.length;for(;r-- >0;){let o=n[r],i=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(i){let t=e[o],a=void 0===t||i(t,o,e);if(!0!==a)throw new EV("option "+o+" must be "+a,EV.ERR_BAD_OPTION_VALUE);continue}if(!0!==a)throw new EV("Unknown option "+o,EV.ERR_BAD_OPTION)}};class IJ{constructor(e){this.defaults=e||{},this.interceptors={request:new E3,response:new E3}}
6078async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let a=(()=>{if(!t.stack)return"";let e=t.stack.indexOf("\n");return -1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(a){let t=a.indexOf("\n"),n=-1===t?-1:a.indexOf("\n",t+1),r=-1===n?"":a.slice(n+1);String(e.stack).endsWith(r)||(e.stack+="\n"+a)}}else e.stack=a}catch(e){}}throw e}}_request(e,t){let a,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:r,paramsSerializer:o,headers:i}=t=IT(this.defaults,t);void 0!==r&&IY(r,{silentJSONParsing:IW.transitional(IW.boolean),forcedJSONParsing:IW.transitional(IW.boolean),clarifyTimeoutError:IW.transitional(IW.boolean),legacyInterceptorReqResOrdering:IW.transitional(IW.boolean),advertiseZstdAcceptEncoding:IW.transitional(IW.boolean),validateStatusUndefinedResolves:IW.transitional(IW.boolean)},!1),null!=o&&(ER.isFunction(o)?t.paramsSerializer={serialize:o}:IY(o,{encode:IW.function,serialize:IW.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),IY(t,{baseUrl:IW.spelling("baseURL"),withXsrfToken:IW.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=i&&ER.merge(i.common,i[t.method]);i&&ER.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete i[e]}),t.headers=EK.concat(s,i);let l=[],d=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;d=d&&e.synchronous;let a=t.transitional||E5;a&&a.legacyInterceptorReqResOrdering?l.unshift(e.fulfilled,e.rejected):l.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let u=0;if(!d){let e=[IV.bind(this),void 0];for(e.unshift(...l),e.push(...c),n=e.length,a=Promise.resolve(t);u<n;)a=a.then(e[u++],e[u++]);return a}n=l.length;let p=t;for(;u<n;){let e=l[u++],t=l[u++];try{p=e(p)}catch(e){t.call(this,e);break}}try{a=IV.call(this,p)}catch(e){return Promise.reject(e)}for(u=0,n=c.length;u<n;)a=a.then(c[u++],c[u++]);return a}getUri(e){return E2(Iw((e=IT(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}}ER.forEach(["delete","get","head","options"],function(e){IJ.prototype[e]=function(t,a){return this.request(IT(a||{},{method:e,url:t,data:a&&ER.hasOwnProp(a,"data")?a.data:void 0}))}}),ER.forEach(["post","put","patch","query"],function(e){function t(t){return function(a,n,r){return this.request(IT(r||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:a,data:n}))}}IJ.prototype[e]=t(),"query"!==e&&(IJ.prototype[e+"Form"]=t(!0))});let Iq=class e{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});const a=this;this.promise.then(e=>{if(!a._listeners)return;let t=a._listeners.length;for(;t-- >0;)a._listeners[t](e);a._listeners=null}),this.promise.then=e=>{let t,n=new Promise(e=>{a.subscribe(e),t=e}).then(e);return n.cancel=function(){a.unsubscribe(t)},n},e(function(e,n,r){a.reason||(a.reason=new Ic(e,n,r),t(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}},IX={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
6078alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};
6078Object.entries(IX).forEach(([e,t])=>{IX[t]=e});let IQ=function e(t){let a=new IJ(t),n=$0(IJ.prototype.request,a);return ER.extend(n,IJ.prototype,a,{allOwnKeys:!0}),ER.extend(n,a,null,{allOwnKeys:!0}),n.create=function(a){return e(IT(t,a))},n}(Is);IQ.Axios=IJ,IQ.CanceledError=Ic,IQ.CancelToken=Iq,IQ.isCancel=Id,IQ.VERSION=IO,IQ.toFormData=Eq,IQ.AxiosError=EV,IQ.Cancel=IQ.CanceledError,IQ.all=function(e){return Promise.all(e)},IQ.spread=function(e){return function(t){return e.apply(null,t)}},IQ.isAxiosError=function(e){return ER.isObject(e)&&!0===e.isAxiosError},IQ.mergeConfig=IT,IQ.AxiosHeaders=EK,IQ.formToJSON=e=>Io(ER.isHTMLForm(e)?new FormData(e):e),IQ.getAdapter=IK,IQ.HttpStatusCode=IX,IQ.default=IQ;let I0=e=>{let t=(e=>{let t,a={},n={sizeAdjustPct:Number((t=e.metadata?.adjustments??{}).sizeAdjustPct??e.sizeAdjustPct??100),lineHeightAdjustPct:Number(t.lineHeightAdjustPct??e.lineHeightAdjustPct??100),verticalOffsetPct:Number(t.verticalOffsetPct??e.verticalOffsetPct??0)}.verticalOffsetPct,r=e.metadata?.metrics;if(Number.isFinite(n)&&0!==n&&r?.unitsPerEm>0&&Number.isFinite(r.ascent)&&Number.isFinite(r.descent)){let e=e=>Math.round(100*e)/100,t=r.ascent/r.unitsPerEm*100+n,o=Math.abs(r.descent)/r.unitsPerEm*100-n;a.ascentOverride=`${e(Math.max(t,0))}%`,a.descentOverride=`${e(Math.max(o,0))}%`}return a})(e),a="";return t.ascentOverride&&(a+=`
6079  ascent-override: ${t.ascentOverride};`),t.descentOverride&&(a+=`
6080  descent-override: ${t.descentOverride};`),a};function I1(e){let t=Number(e?.verticalOffsetPct);return Number.isFinite(t)&&0!==t&&!!e?.metrics?.unitsPerEm}let I2=async e=>String((await IQ.get(e,{timeout:5e3,maxContentLength:2097152})).data);async function I3(e,t,a=I2){let n,r=(n=e.startsWith("//")?`https:${e}`:e).startsWith("https://")?n:null;if(!r)return null;let o=await a(r);if(null==o)return null;let i=!1,s=o.replace(/@font-face\s*{[\s\S]*?}/g,e=>{let a=e.match(/font-family\s*:\s*(['"]?)([^'";]+)\1/i),n=a?.[2]?.trim(),r=n?t[n]:void 0;if(!r||!I1(r))return e;let o=I0({verticalOffsetPct:r.verticalOffsetPct,metadata:{metrics:r.metrics}});return o?(i=!0,e.replace(/;?\s*}\s*$/,`;${o}
6081}`)):e});return i?s.replace(/<\/style/gi,""):null}function I5(e){let t=e.match(/href=(?:"([^"]+)"|“([^”]+)”)
6081/);return t?t[1]||t[2]:null}async function I4(e,t,a="external-font-adjustments-css"){if(!Object.values(t??{}).some(e=>I1(e))||!e?.length)return void document.getElementById(a)?.remove();let n=e.flatMap(e=>e.match(/<link[^>]*?>/g)||[]).filter(e=>/rel=["']stylesheet["']/i.test(e)).map(e=>I5(e)).filter(Boolean),r=(await Promise.all(n.map(e=>I3(e,t).catch(()=>null)))).filter(Boolean).join("\n"),o=document.getElementById(a);if(!r)return void o?.remove();if(o)o.textContent!==r&&(o.textContent=r);else{let e=document.createElement("style");e.id=a,e.textContent=r,document.head.appendChild(e)}}var I6=e.i(65695);let I8=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),I9=e=>`:root{${e.map(({name:e,value:t})=>`${e}:${String(t)};`).join("")}}`,I7=e=>{let t=e.data,a=e.id;return[{name:`--slider-headline-${a}`,value:t.headlineSize??0},{name:`--slider-eyebrow-${a}`,value:t.eyebrowSize??0},{name:`--slider-description-${a}`,value:t.descriptionSize??0},{name:`--slider-button-size-${a}`,value:t.buttonSize??0},{name:`--slider-header-height-${a}`,value:t.adjustHeroHeight??0},{name:`--slider-big-logo-${a}`,value:t.bigLogoSize??0},{name:`--slider-big-logo-mobile-${a}`,value:t.bigLogoSizeMobile??0},{name:`--slider-logo-size-${a}`,value:t.adjustLogoSize??0},{name:`--slider-mobile-logo-size-${a}`,value:t.adjustMobileLogoSize??0},{name:`--slider-overlay-opacity-${a}`,value:t.overlayOpacity??0},{name:`--slider-overlay-opacity-mobile-${a}`,value:t.overlayOpacityMobile??0},{name:`--slider-header-gradient-opacity-${a}`,value:t.headerGradientOpacity??0},{name:`--slider-social-icons-${a}`,value:t.socialIconsSize??0},{name:`--slider-link-size-${a}`,value:t.linkSize??0},{name:`--slider-featured-button-size-${a}`,value:t.featuredButtonSize??0},{name:`--slider-header-gradient-color-${a}`,value:t.headerGradientColor??""},{name:`--slider-align-navigation-${a}`,value:t.alignNavigation??""},{name:`--slider-time-to-trigger-${a}`,value:t.timeToTrigger??0},{name:`--slider-text-shadow-opacity-${a}`,value:t.textShadowOpacity??0},{name:`--slider-text-shadow-color-${a}`,value:t.textShadowColor??""}]},Ne=(0,s7.default)(()=>e.A(14298).then(e=>e.Twitter),{loadableGenerated:{modules:[33282]},ssr:!1}),Nt=(0,s7.default)(()=>e.A(47378).then(e=>e.Bluesky),{loadableGenerated:{modules:[54204]},ssr:!1}),Na={[cF.BlockTypes.ANNOUNCEMENT]:({block:e,blockData:t})=>{let{theme:a}=(0,sB.useSiteTheme)(),{palette:n}=(0,sO.useSiteColorPalette)(),r=(0,sE.useTheme)(),o=(0,sR.useMediaQuery)(r.breakpoints.down(sA.default.breakpoints.values.sm)),{prevBlockSection:i}=(0,lt.useBlockSection)(e.id,o),[s,l]=(0,b.useState)(0),d=(0,b.useMemo)(()=>!!t.showImages&&!o&&t.showBackgroundImage,[t.showImages,t.showBackgroundImage,o]),c=(0,b.useMemo)(()=>!!t.showImages&&!t.showBackgroundImage&&t.showImages,[t.showImages,t.showBackgroundImage,o]);(0,b.useEffect)(()=>{t.showBanner&&l(t.bannerText.length)},[t.bannerText]);let u=(0,b.useMemo)(()=>!0===o?t.innerBgColor:t.bgColor,[t,o]),p=(0,b.useMemo)(()=>i?.bottomBgColor,[t,n,i,o]),m=(e,a)=>d?!!t.flipContent:a%2==1&&!e.flipContent||a%2==0&&!!e.flipContent;return(0,h.jsx)(ls.default,{block:e,bgColor:u,bgImage:d?t.backgroundImage:void 0,bgImageAlignment:t.imageAlignment||"top",maxWidth:c||d?void 0:"1100px",sx:o?{padding:"0 !important"}:void 0,children:(0,h.jsx)(ll,{children:t.items.map((e,n)=>(0,h.jsxs)(li.Grid,{container:!0,flexDirection:{md:"row",sm:"row",xs:"column"},children:[0===n&&(0,h.jsxs)(lu,{$innerBg:t.innerBgColor,$outerBg:o?p:u,$showBorder:t.showBanner||!o,children:[(0,h.jsx)(lp,{$hasBackgroundImage:d,$isRightSide:m(e,n),className:"announcement-border"}),t.showBanner&&(0,h.jsx)(lm,{$hasBackgroundImage:d,$isRightSide:m(e,n),$bannerLength:s,$degree:.267*s-11.3,className:"announcement-banner",children:(0,h.jsx)("span",{className:"font-button uppercase tracking-[0.15em]",children:t.bannerText})})]}),d&&m(e,n)&&(0,h.jsx)(li.Grid,{item:!0,sm:6,md:6}),(0,h.jsx)(lc,{item:!0,xs:12,sm:d||c?6:12,md:d||c?6:12,id:`announcement-item-${e.id}`,order:{sm:m(e,n)?2:1,xs:2},$corners:a?.corners,$showImages:t.showImages,$hasBackgroundImage:d,$hasTopPadding:0===n||!d&&!!t.showImages&&(!o||!!c)&&!!(c||n>0&&(m(e,n)&&!m(t.items[n-1],n-1)||!m(e,n)&&m(t.items[n-1],n-1))),$collapseBottomPadding:n+1!==t.items.length&&(!t.showImages||!!d),$hasFeaturedLink:e.showFeaturedLink,$isMobile:o,$isRightSide:m(e,n),$isLast:n===t.items.length-1,className:`color-${t.innerBgColor}`,children:(0,h.jsxs)(li.Grid,{container:!0,flexDirection:"column",alignContent:t.showImages&&!o?"flex-start":"center",children:[e.showEyebrow&&(0,h.jsx)(sU.default,{className:"eyebrow-rule mb-6 max-sm:mb-4 [&_h6]:mb-[0.75em]",value:e.eyebrow||"Eyebrow Text Here",name:"eyebrow",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:6,charLimit:45,list:"items",listKey:n,alignToolbarRight:m(e,n),blockData:t}),(0,h.jsx)(sU.default,{name:"title",className:"center-only",value:e.title,list:"items",listKey:n,toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","h2","h3","h4","h5","h6","ToggleSmallText","TextColor","Lists","Links"],charLimit:800,alignToolbarRight:m(e,n),blockData:t}),e.showFeaturedLink&&(0,h.jsx)(lo.FeaturedLink,{href:e.url,variant:"contained",align:t.showImages&&!o?"left":"center",size:"default",buttonText:e.buttonText,openInNewTab:e.openInNewTab})]})}),c&&(0,h.jsx)(ld,{item:!0,xs:12,sm:c?6:12,md:c?6:12,order:{sm:m(e,n)?1:2,xs:1},sx:{position:"relative",zIndex:0,background:"var(--color-bg)"},$corners:a?.corners,$isRightSide:m(e,n),$isLast:n===t.items.length-1,children:(0,h.jsx)(sq,{width:"100%",height:"100%",objectFit:"cover",alt:e.imageAltText||"Announcement photo",src:e.image,style:{minHeight:`${o?"calc(100vw - 2 * var(--standard-padding-horiz))":""}`},isBgImage:!0,objectPosition:`${t.items[n].imageAlignment} center`})})]},e.id))})})},[cF.BlockTypes.BASIC_TEXT]:({block:e,blockData:t})=>(0,h.jsxs)(ls.default,{block:e,maxWidth:"1100px",bgColor:t.bgColor,children:[(0,h.jsx)(lb,{block:e,blockData:t,disablePadding:!0,hasStyledWrapper:!0,disableMargin:!0!==t.showEyebrow&&!0!==t.headlineOn&&!0!==t.showDescription}),(0,h.jsx)(sU.default,{name:"text",value:t.text,toolbarOption:"full",blockData:t})]}),[cF.BlockTypes.BLUESKY]:Nt,[cF.BlockTypes.BULLET_COLUMNS]:({block:e,blockData:t})=>{let a=t.icons?.[0]??{name:"IconCheckCircle1"},n=(0,sE.useTheme)();return(0,h.jsxs)(ls.default,{block:e,bgColor:t.bgColor,maxWidth:`${t.isSingleColumn?`${n.breakpoints.values.md}px`:`${n.breakpoints.values.xl}px`}`,children:[(0,h.jsx)(lb,{block:e,blockData:t,disablePadding:!0,disableMargin:!0!==t.showEyebrow&&!0!==t.headlineOn&&!0!==t.showDescription||0===t.items.length,hasStyledWrapper:!0}),(0,h.jsx)(dt,{$isSingleColumn:t.isSingleColumn,children:t?.items?.map((e,n)=>(0,h.jsxs)("li",{children:[(0,h.jsx)(da,{children:(0,h.jsx)(de,{name:(e?.icon?.[0]??a).name,displayStyle:t.iconDisplayStyle,bgColor:t.iconBgColor,contextBg:t.bgColor})}),(0,h.jsx)(sU.default,{name:"value",value:e.value,list:"items",listKey:n,toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","h4","h5","h6","ToggleSmallText","TextColor","Links"],charLimit:450,alignToolbarRight:n>=t?.items.length/2,blockData:t})]},`${e.id}-${n}`))})]})},[cF.BlockTypes.CARDS]:({block:e,blockData:t})=>{var a;let n=(0,sE.useTheme)(),{palette:r}=(0,sO.useSiteColorPalette)(),o=(0,sR.useMediaQuery)(n.breakpoints.down(sA.default.breakpoints.values.sm)),{currentBlockSection:i,nextBlockSection:s}=(0,lt.useBlockSection)(e.id,o),l=(0,sR.useMediaQuery)(n.breakpoints.down(sA.default.breakpoints.values.md)),d=1===t.items.length,c=4===t.items.length,u=!!i?.shortFlourish,p=(a=t.items.length,0===a?0:o?1:l?2:Math.min(3,a)),m=function(e,t){if(0===t)return[];let a=Array.from({length:t},()=>[]);return e.forEach((e,n)=>{a[n%t].push(e)}),a}(t.items,p),{filteredBgColors:g}=(0,sL.getMissingBgColors)(t.bgColor,t.innerBgColor,t.barColor);return(0,h.jsxs)(ls.default,{block:e,sx:{px:o?void 0:0},className:"cards-block",bgColor:t.bgColor,children:[(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!(t.showEyebrow||t.headlineOn||t.showDescription),hasStyledWrapper:!0,block:e,blockData:t}),t.showList&&(0,h.jsx)("div",{className:"flex justify-center",children:(0,h.jsx)(ds,{children:m.map((e,a)=>(0,h.jsx)(dl,{children:e.map(e=>(0,h.jsx)(dd,{children:(0,h.jsx)(dc,{onClick:()=>(e=>{let a=t.items.findIndex(t=>t.id===e.id);if(-1===a)return;let n=document.getElementById(`card-${a}`);n&&n.scrollIntoView({behavior:"smooth",block:"start"})})(e),"aria-label":`Scroll to ${e.title.replace(/<[^>]*>/g,"")} card`,children:(0,h.jsx)("span",{className:"text-site-body-sm",children:(0,di.stripHtml)(e.title)})})},e.id))},a))})}),0!==t.items.length&&(0,h.jsx)(du,{rowGap:o?"8px":l?"1em":5,columnGap:o?"8px":l?"1em":5,$nextSectionBgColor:s?.bgColor,$shortFlourish:u,$is2x2:c,$isSingleCard:d,$innerBg:t.innerBgColor,$outerBg:t.bgColor,$barColor:t.barColor,children:(0,h.jsx)("div",{className:"internal-cards-wrapper",children:t.items.map((e,a)=>{let n=(0,h.jsx)(lJ.default,{iconType:"small-bordered",blockData:t,bgColor:t.innerBgColor,socialLinks:e.socialMedia}),o=3===p&&a%3==2||2===p&&a%2==1;return c&&(o=a%2==1),(0,h.jsx)(dp,{id:`card-${a}`,$is2x2:c,$isSingleCard:d,$borderColor:g[g.length-1],className:`color-${t.innerBgColor}`,children:(0,h.jsxs)(dm,{$showWebsite:t.items[a].showWebsite,$numSocial:t.items[a].socialMedia.length,children:[(0,h.jsxs)("div",{className:"card-text-wrapper",children:[(0,h.jsx)(sU.default,{name:"title",value:e.title,list:"items",listKey:a,toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:2,charLimit:40,className:"cardTitle [&_h2]:text-site-headline-xxs max-md:[&_h2]:text-site-headline-sm",alignToolbarRight:o,blockData:t}),(0,h.jsx)("div",{className:"social-wrapper-float",children:n}),(0,h.jsx)(sU.default,{name:"individualDescription",value:e.individualDescription||"",list:"items",listKey:a,toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","h6","ToggleSmallText","TextColor","Links"],charLimit:300,className:"individualDescription text-site-body-sm [&_h6]:text-site-body-xs [&_h6]:mb-0",alignToolbarRight:o,blockData:t})]}),t.items[a].showWebsite&&t.items[a].websiteUrl&&(0,h.jsxs)(dh,{href:(0,s$.formatExternalUrl)(t.items[a].websiteUrl),target:"_blank",$innerBg:t.innerBgColor,className:`color-${r?.[t.innerBgColor].bgButtonBackgroun
6081d}`,children:[(0,h.jsx)("h6",{children:(0,s$.extractDomain)(t.items[a].websiteUrl)}),(0,h.jsx)(dn.IconButton,{onClick:()=>{},tabIndex:-1,"aria-hidden":"true",children:(0,h.jsx)(dr.default,{width:14,height:14})})]})]})},e.id)})})})]})},[cF.BlockTypes.CTA]:({block:e,blockData:t})=>{let a=(0,sE.useTheme)(),n=(0,sR.useMediaQuery)(a.breakpoints.down(sA.default.breakpoints.values.sm)),r="image"===t.ctaLayout,o=!!r||!t.showFlourish;return(0,h.jsx)(ls.default,{block:e,className:"image"===t.ctaLayout?"no-collapse":"",bgColor:t.bgColor,bgImageAlignment:t.bgImageAlignment||"top",sx:o?{padding:0}:void 0,children:(0,h.jsxs)(dy,{$flipContent:t.flipContent,$hasImage:r,$hasDisabledPadding:o,children:[(0,h.jsxs)("div",{className:"cta-content-wrapper",children:[t.showFlourish&&(0,h.jsx)("div",{className:"cta-flourish",children:(0,h.jsxs)(db,{$hasImage:r,children:[("image"!==t.ctaLayout||n)&&(0,h.jsx)("div",{className:"cta-flourish-line"}),(0,h.jsx)(dv.default,{}),(0,h.jsx)("div",{className:"cta-flourish-line"})]})}),(0,h.jsxs)("div",{className:"cta-content",children:[(0,h.jsx)(lr.Box,{className:"cta-row",children:(0,h.jsx)(sU.default,{name:"text",className:"align-left-mobile text [&_h2]:text-site-headline-lg [&_h2]:mb-[0.5em]",value:t.text,toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:2,charLimit:120,blockData:t})}),t.showDescription&&(0,h.jsx)(lr.Box,{className:"cta-row",children:(0,h.jsx)(sU.default,{name:"description",className:"align-left-mobile description",value:t.description,toolbarOption:"basic",charLimit:350,blockData:t})}),t.showButtons&&(0,h.jsx)(lr.Box,{className:"cta-row",sx:{display:"flex",flexWrap:"wrap",justifyContent:r?"flex-start":"center",flexDirection:{xs:"column",sm:"row"}},children:t.buttons.map((e,t)=>(0,h.jsx)("div",{className:"cta-button",children:(0,h.jsx)(lo.FeaturedLink,{className:"whitespace-normal",href:e.url,variant:"contained",align:"center",size:"large",endIcon:(0,h.jsx)(df.ArrowIcon,{width:n?14:18,height:n?14:18}),buttonText:e.buttonText,openInNewTab:e.openInNewTab})},t))}),t.showShareLinks&&t.shareLinks.length>0&&(0,h.jsx)(lr.Box,{className:"cta-row",children:(0,h.jsxs)("div",{className:"share-links",children:[(0,h.jsx)(sU.default,{className:"shareText [&_h6]:text-site-body-sm mb-2 [&_h6]:inline-block [&_h6]:min-w-[50px] [&_h6]:[color:var(--color-text)]",value:t.shareText||"Share Now",name:"shareText",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:6,charLimit:25}),(0,h.jsx)("div",{className:"share-wrapper",children:t.shareLinks.map((e,a)=>(0,h.jsx)(dg.default,{platform:e.platform,videoUrl:e.url,title:t.shareLinksMessage,isLast:a===t.shareLinks.length-1},`share-icon-${a}`))})]})})]})]}),r&&(0,h.jsx)("div",{className:"cta-image",children:(0,h.jsx)(sq,{src:t.ctaImage,width:"100%",height:"100%",alt:t.imageAltText||"photo (generic)",isBgImage:!0,objectPosition:`${t.bgImageAlignment} center`})})]})})},[cF.BlockTypes.DATA_DETAILS]:({block:e,blockData:t})=>{let{theme:a}=(0,sB.useSiteTheme)(),n=(0,sE.useTheme)(),r=(0,sR.useMediaQuery)(n.breakpoints.down(sA.default.breakpoints.values.sm)),{currentBlockSection:o}=(0,lt.useBlockSection)(e.id,r),i=!!o?.showTopBar,s=!!o?.showBottomBar,l=!!o?.hasInternalTopPadding;return(0,h.jsx)(ls.default,{block:e,sx:{py:0},bgColor:t.bgColor,className:"callout-block",children:(0,h.jsx)(dx,{$corners:a?.corners,$hasTopBorder:i,$hasBottomBorder:s,$hasTopPadding:l,children:(0,h.jsxs)(lx.Container,{maxWidth:"md",disableGutters:!0,className:"data-details-inner",children:[(0,h.jsx)(dS,{children:t.items&&t.items.slice(0,Math.floor(t.items.length/2)).map((e,a)=>(0,h.jsxs)(b.Fragment,{children:[(0,h.jsx)(dw,{$title:!!e.title,children:(0,h.jsx)(sU.default,{className:"[&_h6]:m-0 [&_h6]:tracking-[0.1em]",name:"title",value:e.title,list:"items",listKey:a,toolbarOption:"basic",isHeader:!0,headingLevel:6,charLimit:100,blockData:t})}),(0,h.jsx)(dC,{$title:!!e.title,$isLast:!1,children:(0,h.jsx)(sU.default,{name:"value",value:e.value,list:"items",listKey:a,toolbarOption:"basic",charLimit:100,blockData:t})})]},e.id))}),(0,h.jsx)(dS,{children:t.items&&t.items.slice(Math.floor(t.items.length/2),t.items.length%2?t.items.length-1:t.items.length).map((e,a)=>(0,h.jsxs)(b.Fragment,{children:[(0,h.jsx)(dw,{$title:!!e.title,children:(0,h.jsx)(sU.default,{className:"[&_h6]:m-0 [&_h6]:tracking-[0.1em]",name:"title",value:e.title,list:"items",listKey:Math.floor(t.items.length/2)+a,toolbarOption:"basic",isHeader:!0,headingLevel:6,charLimit:100,blockData:t})}),(0,h.jsx)(dC,{$title:!!e.title,$isLast:a===Math.floor(t.items.length/2)-1,children:(0,h.jsx)(sU.default,{name:"value",value:e.value,list:"items",listKey:Math.floor(t.items.length/2)+a,toolbarOption:"basic",charLimit:100,blockData:t})})]},e.id))})]})})})},[cF.BlockTypes.DONATE]:({block:e,blockData:t})=>{let a=(0,sE.useTheme)(),{primarySiteFontButton:n}=(0,ly.usePrimarySiteFonts)(),r=(0,sR.useMediaQuery)(a.breakpoints.down(sA.default.breakpoints.values.sm)),o=(0,sR.useMediaQuery)(a.breakpoints.down(sA.default.breakpoints.values.md)),i=t.headlineOn||t.showEyebrow||t.showDescription,s=r||o||!i?sk.DONATE_LAYOUT_TYPE.STANDARD:t.layoutType;return(0,h.jsxs)(ls.default,{block:e,bgColor:t.bgColor,children:[s===sk.DONATE_LAYOUT_TYPE.STANDARD&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(lb,{block:e,blockData:t,className:"mb-8 max-md:mb-6"}),(0,h.jsx)("div",{className:"block max-md:hidden",children:(0,h.jsxs)("div",{className:"flex justify-center gap-3 max-md:flex-wrap max-md:gap-3",children:[t.showLabel&&(0,h.jsx)("h2",{className:"text-site-headline-lg mr-2 items-center self-center text-nowrap text-left font-bold",children:t.donateLabel||"Donate:"}),t.items.map((e,a)=>(0,h.jsx)("div",{className:"flex-grow",children:(0,h.jsx)(dE,{blockData:t,item:e,primarySiteFontButton:n})},a))]})}),(0,h.jsxs)("div",{className:"hidden max-md:block",children:[t.showLabel&&(0,h.jsx)("h2",{className:"text-site-headline-lg mb-6 items-center self-center text-nowrap text-center font-bold",children:t.donateLabel||"Donate:"}),(0,h.jsx)("div",{className:"grid grid-cols-2 gap-3 max-sm:gap-2",children:t.items.map((e,a)=>(0,h.jsx)(dE,{blockData:t,item:e,primarySiteFontButton:n},a))})]})]}),s===sk.DONATE_LAYOUT_TYPE.TWO_COL&&(0,h.jsxs)("div",{className:(0,sG.cn)("grid grid-cols-2 items-start gap-16 max-lg:gap-8"),children:[(0,h.jsx)("div",{className:"flex flex-col",children:(0,h.jsx)(lb,{block:e,blockData:t,shouldAlignLeft:!0,isNarrowEditor:!0})}),(0,h.jsx)("div",{className:"flex flex-col gap-6",children:(0,h.jsxs)("div",{children:[(0,h.jsx)("div",{className:"hidden md:block",children:(0,h.jsx)("div",{className:(0,sG.cn)("grid gap-3","two-columns"===t.numC
6081olumns?"grid-cols-2":"grid-cols-3"),children:t.items.map((e,a)=>(0,h.jsx)(dE,{blockData:t,item:e,primarySiteFontButton:n},a))})}),(0,h.jsx)("div",{className:"grid grid-cols-2 gap-3 max-sm:gap-2 md:hidden",children:t.items.map((e,a)=>(0,h.jsx)(dE,{blockData:t,item:e,primarySiteFontButton:n},a))})]})})]}),t.showDisclaimer&&(0,h.jsx)("div",{className:"mt-[3vw] max-sm:mt-[6vw]",children:(0,h.jsx)(dT.default,{name:"disclaimerDonate",value:t?.disclaimerDonate||t?.disclaimer||sk.DISCLAIMER_DEFAULT_TEXT,maxWidth:"900px",blockData:t})})]})},[cF.BlockTypes.EMBED]:({block:e,blockData:t})=>{let a,n=(0,sE.useTheme)(),{activeBlockId:r,navigate:o}=(0,sb.useNavigation)(),i=`[data-block-id="${e.id}"]`,s=`${i} iframe:not([data-embed-sandbox])`,l=/<iframe\b/i.test(t.html),d=`
6082    ${i} {
6083      display: flex;
6084      flex-direction: column;
6085      width: 100%;
6086    }
6087    ${i} iframe {
6088      max-width: 100%;
6089      width: 100%;
6090      box-sizing: border-box;
6091    }
6092  `,c=d+(a="",t.desktopHeight&&(a+=`
6093        ${s} {
6094          height: ${t.desktopHeight}px !important;
6095        }
6096      `),t.tabletHeight&&(a+=`
6097        ${n.breakpoints.down("lg")} {
6098          ${s} {
6099            height: ${t.tabletHeight}px !important;
6100          }
6101        }
6102      `),t.mobileHeight&&(a+=`
6103        ${n.breakpoints.down("sm")} {
6104          ${s} {
6105            height: ${t.mobileHeight}px !important;
6106          }
6107        }
6108      `),a),u=!!(t.desktopHeight||t.tabletHeight||t.mobileHeight)&&l,p="padding-disabled"===t.padding,m=dI&&!!t.javascriptPreview,g=p?{paddingTop:"0",paddingBottom:"0",paddingLeft:"0",paddingRight:"0",[n.breakpoints.down("sm")]:{paddingTop:"0",paddingBottom:"0"}}:m?{paddingLeft:"0",paddingRight:"0"}:void 0;return(0,h.jsx)(ls.default,{block:e,bgColor:t.bgColor,maxWidth:p||m?"none":"1100px",centerAlign:!0,sx:g,children:(0,h.jsxs)("div",{"data-block-id":e.id,children:[(0,h.jsx)("style",{dangerouslySetInnerHTML:{__html:((e,t)=>{let a=`
6109    ${e} iframe:not([data-embed-sandbox]) {
6110      max-width: 100%;
6111    }
6112  `,n=new Set;for(let r of t.match(/<iframe\b[^>]*>/gi)??[]){let t=r.match(/\bwidth\s*=\s*["']?(\d+)["']?/i)?.[1],o=r.match(/\bheight\s*=\s*["']?(\d+)["']?/i)?.[1];if(!t||!o||!Number(t)||!Number(o))continue;let i=`${t}x${o}`;n.has(i)||(n.add(i),a+=`
6113      ${e} iframe[width="${t}"][height="${o}"] {
6114        aspect-ratio: ${t} / ${o};
6115        height: auto;
6116      }
6117    `)}return a})(i,t.html)}}),u&&(0,h.jsx)("style",{[dk]:"",dangerouslySetInnerHTML:{__html:c}}),dI&&t.javascriptPreview?(0,h.jsx)(dO,{html:t.html,blockId:e.id,baseCss:u?d:"",ancestorKey:`${t.padding}|${t.bgColor}`,onActivate:()=>{r!==e.id&&o({blockId:e.id})},insetCss:p?"":"body{padding-left:var(--standard-padding-horiz);padding-right:var(--standard-padding-horiz);}[data-block-id]{max-width:1100px;margin-left:auto;margin-right:auto;}",desktopHeight:t.desktopHeight,tabletHeight:t.tabletHeight,mobileHeight:t.mobileHeight}):dI?(0,h.jsx)(dN,{html:t.html}):(0,h.jsx)(dB,{html:t.html})]})})},[cF.BlockTypes.ACCORDION]:({block:e,blockData:t})=>{let{theme:a}=(0,sB.useSiteTheme)(),n=(0,sG.cn)(a?.corners===sD.THEME_CORNERS.ROUNDED&&"rounded-[0.4em]",a?.corners===sD.THEME_CORNERS.HALF_ROUNDED&&"rounded-[0_0.4em]"),r=(0,b.useCallback)(e=>{e.target.closest(".tiptap")&&e.stopPropagation()},[]),o=(0,b.useCallback)(e=>{document.activeElement?.closest(".tiptap")&&e.preventDefault()},[]),i={"--accordion-title-font-size":`calc(var(--tw-font-size-headline-sm) + var(--slider-accordion-item-title-${e.id}, 0) * 0.02vw)`},s={"--accordion-eyebrow-font-size":`calc(var(--tw-font-size-eyebrow) + var(--slider-accordion-item-eyebrow-${e.id}, 0) * 0.015vw)`},l="horizontal"===t.layout,d="outerOnly"===t.wrapperStyle||"both"===t.wrapperStyle,c="innerOnly"===t.wrapperStyle||"both"===t.wrapperStyle,u={"--accordion-icon-scale":`calc(1 + var(--slider-accordion-item-icon-${e.id}, 0) * var(--icon-multiplier))`,"--accordion-max-width":`calc(800px + var(--slider-accordion-width-${e.id}, 0) * 20px)`,"--accordion-column-width":`calc(50% + var(--slider-accordion-width-${e.id}, 0) * 1%)`,"--styledintro-column-width":`calc(50% - var(--slider-accordion-width-${e.id}
6117, 0) * 1%)`,"--accordion-divider-inset":"none"===t.wrapperStyle?"0px":"2rem","--accordion-divider-inset-tablet":"none"===t.wrapperStyle?"0px":"1.5rem"};return(0,h.jsx)(ls.default,{block:e,bgColor:t.bgColor,children:(0,h.jsxs)("div",{className:(0,sG.cn)("[--icon-multiplier:0.04] max-sm:[--icon-multiplier:0.02]",l?"flex items-start max-lg:flex-col":"max-lg:flex max-lg:flex-col","max-lg:[&_.styledIntro]:!mb-0","none"===t.wrapperStyle?"max-lg:gap-[var(--medium-padding)]":"max-lg:gap-[var(--small-padding)]",!l&&"none"===t.wrapperStyle&&"[&_.styledIntro]:!mb-[var(--small-padding)]"),style:u,children:[l?(0,h.jsx)("div",{className:(0,sG.cn)("w-[var(--styledintro-column-width)] min-w-0 max-lg:w-full","none"===t.wrapperStyle?"pr-24":"pr-16","max-lg:pr-0","sm:max-lg:px-[var(--standard-padding-horiz)]","max-lg:[&_.description]:!mx-auto max-lg:[&_.description]:!text-center max-lg:[&_.styledIntro]:!text-center max-lg:[&_[data-field=eyebrow]_h6]:!text-center"),children:(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!(t.showEyebrow||t.headlineOn||t.showDescription),hasStyledWrapper:!1,shouldAlignLeft:!0,block:e,blockData:t})}):(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!(t.showEyebrow||t.headlineOn||t.showDescription),hasStyledWrapper:!0,block:e,blockData:t}),(0,h.jsx)("div",{className:(0,sG.cn)(!l&&"mx-auto max-w-[var(--accordion-max-width)]",l&&"w-[var(--accordion-column-width)] min-w-0 max-lg:!w-full"),children:(0,h.jsx)("div",{className:(0,sG.cn)(d&&`color-${t.wrapperBgColor} bg-[var(--color-bg)]`,d&&n,"both"===t.wrapperStyle&&"p-8 max-md:p-6 max-sm:p-2"),children:(0,h.jsx)(cn,{type:"single",collapsible:!0,children:t.items?.map((e,a)=>{let l=t.icons?.[0];return(0,h.jsxs)(c$,{value:e.id,className:(0,sG.cn)("last:mb-0",c&&`color-${t.itemBgColor} mb-[6px] bg-[var(--color-bg)] after:hidden`,c&&n),children:[(0,h.jsx)(cI,{onClick:o,className:(0,sG.cn)("p-8 max-md:p-6","none"===t.wrapperStyle&&"px-0 max-md:px-0","none"===t.wrapperStyle&&"group-[:first-child]:pt-0","none"===t.wrapperStyle&&"group-[:last-child]:pb-0"),customIcon:l?(0,h.jsx)(l3,{name:l.name}):void 0,customIconOpen:l&&dP[l.name]?(0,h.jsx)(l3,{name:dP[l.name]}):void 0,eyebrow:t.showItemEyebrow?(0,h.jsx)("div",{className:(0,sG.cn)("m-0 mb-3","[font-size:var(--accordion-eyebrow-font-size)] [&_h6]:mb-[0.75em] max-sm:text-site-headline-xxs [&_.tiptap]:![font-size:inherit] [&_.tiptap_*]:![font-size:inherit] [&_h6]:![font-size:inherit]"),style:s,children:(0,h.jsx)(sU.default,{name:"eyebrow",value:e.eyebrow??"",list:"items",listKey:a,toolbarOption:"none",isHeader:!0,headingLevel:6,charLimit:30,blockData:t})}):void 0,children:(0,h.jsx)("div",{className:"flex flex-1 items-start gap-3",onClick:r,children:(0,h.jsx)("div",{className:"flex flex-1 flex-col",children:(0,h.jsx)("div",{className:"[font-size:var(--accordion-title-font-size)] [line-height:var(--tw-line-height-headline-sm)] max-sm:text-site-headline-sm [&_.tiptap]:![font-size:inherit] [&_.tiptap_*]:![font-size:inherit]",style:i,children:(0,h.jsx)(sU.default,{name:"title",value:e.title,list:"items",listKey:a,toolbarOption:"none",charLimit:120,blockData:t})})})})}),(0,h.jsx)(cN,{className:(0,sG.cn)("px-8 pb-8 max-md:px-6 max-md:pb-6","none"===t.wrapperStyle&&"px-0 max-md:px-0","none"===t.wrapperStyle&&"group-[:last-child]:pt-8 max-md:group-[:last-child]:pt-6"),children:(0,h.jsx)(sU.default,{name:"answer",value:e.answer,list:"items",listKey:a,toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","h5","h6","ToggleSmallText","TextColor","Lists","Image","Video","Links"],blockData:t})})]},e.id)})})})})]})})},[cF.BlockTypes.EVENTS_LIST]:({blockData:e,block:t})=>{let{site:a,Posts:n}=(0,ln.useSite)(),{navigate:r}=(0,sb.useNavigation)(),o=(0,lq.getSinglePostPageByPostType)(a,cR.PostTypes.EVENTS_LIST),i=(0,b.useRef)(null),s=(0,b.useMemo)(()=>!(0,sI.default)(e.calendarSourceId),[e.calendarSourceId]),{data:l}=s2.trpc.calendarSource.byCalendarSourceId.useQuery({calendarSourceId:e.calendarSourceId},{enabled:s}),d=(0,sE.useTheme)(),c=(0,sR.useMediaQuery)(d.breakpoints.down(sA.default.breakpoints.values.md)),u=(0,b.useMemo)(()=>
6117{if(s)return[];let e=a.SiteContent?.postStructure?.EVENTS_LIST??[],r=(0,lq.getPostsByIds)(n,e).filter(e=>!e.draft),o=(0,lq.getValidTagFilter)(t.data?.tagFilter,a.SiteContent?.postTags,"EVENTS_LIST");return o.length&&(r=r.filter(e=>e.tags?.some(e=>o.includes(e)))),r},[n,a.SiteContent?.postStructure,a.SiteContent?.postTags,s,t.data?.tagFilter]),p=(0,b.useMemo)(()=>{if(s)if(!l)return{events:[]};else{let t=(e,t)=>(!0!==t||0===e.getHours()&&0===e.getMinutes()&&0===e.getSeconds()&&0===e.getMilliseconds()||(e.setHours(0,0,0,0),e.setDate(e.getDate()+1)),e);return{...l?.calendar,events:l?.calendar?.events?.filter(t=>!e.pinnedOnly||t.featured)?.map(e=>({...e,occurrences:e.occurrences.map(e=>({...e,start:t(e.start,e.allDay),end:t(e.end||e.start,e.allDay)}))}))}}return{events:u.map(t=>{let a=t.data;return{id:t.id,visibility:t?.visibility,title:a.headline,description:a.description,shortDescription:a.shortDescription,featured:!1,url:a.url,openInNewTab:a.openInNewTab,showAllRSVPButtons:e.showAllRSVPButtons,slug:t.slug,location:a.location&&!(0,sI.default)((0,cA.stripHtml)(a.location.location??"").result)?{type:"physical",location:a.location?.location||""}:void 0,occurrences:a?.occurrences?.map(e=>({id:`${t.id}-${cM(new Date(e.start||0))}`,start:new Date(e.start||0),end:new Date(e.end||e.start||0),...e.allDay&&{allDay:!0}}))??[{start:new Date(0),end:new Date(0)}]}})}},[u,l,s,e.showAllRSVPButtons,e.pinnedOnly]),m=e.bgColor,g=(e,a)=>{"single-post"===(0,cO.resolvePostAction)(e?.visibility,e.url,{isCMS:"true"===y.default.env.NEXT_PUBLIC_IS_CMS}).type&&r({pageId:o?.id,postId:e.id,queryParams:{settings:"post",occurrenceId:a??"",source:t.id}})};return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"scroll-anchor",ref:i}),(0,h.jsx)(ls.default,{block:t,bgColor:m,sx:{position:"relative"},children:(0,h.jsx)("div",{id:"events-popup-container",style:{position:"relative"},children:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(lb,{block:t,blockData:e,hasStyledWrapper:!0}),"calendar"!==e.eventsView||c?(0,h.jsx)(cD,{data:p,blockData:e,block:t,onClick:g,usesExternalProvider:s,isMobilize:l?.service==="mobilize",uiShowAllRsvpButtons:l?.service!=="ical"||e.showAllRSVPButtons,bgColor:m,innerBgColor:e.innerBgColor}):(0,h.jsx)(cj,{data:p,blockData:e,onRSVP:g,usesExternalProvider:s,isMobilize:l?.service==="mobilize",uiShowAllRsvpButtons:l?.service!=="ical"||e.showAllRSVPButtons,showPastEvents:!0===e.showPastEvents})]})})})]})},[cF.BlockTypes.EVENT_SINGLE]:({blockData:e,block:t})=>{let{site:a,Posts:n}=(0,ln.useSite)(),{activePage:r,activePostId:o,queryParams:i}=(0,sb.useNavigation)(),{occurrenceId:s}=i,l=(0,b.useRef)(null),d=(0,b.useRef)(i.source),c=(0,b.useMemo)(()=>{if(!d.current)return;let e=(0,lq.getBlockById)(a,d.current);return e?.type===cF.BlockTypes.EVENTS_LIST?e:void 0},[a]),u=(0,b.useMemo)(()=>{if(c)return c;let e=(0,lq.getAllBlocksByType)(a,cF.BlockTypes.EVENTS_LIST),t=o&&!n?.[o];if(e&&e.length>1)if(t){let t=e.find(e=>!(0,sI.default)(e.data?.calendarSourceId));if(t)return t}else{let t=e.find(e=>(0,sI.default)(e.data?.calendarSourceId));if(t)return t}return e?.[0]},[r,o,a,c,n]),p=(0,b.useMemo)(()=>!(0,sI.default)(u?.data?.calendarSourceId),[u?.data?.calendarSourceId]),{data:m}=s2.trpc.calendarSource.byCalendarSourceId.useQuery({calendarSourceId:u?.data?.calendarSourceId},{enabled:p}),g=(0,b.useMemo)(()=>{if(p)return[];let e=a.SiteContent?.postStructure?.EVENTS_LIST??[];return(e.length>0?(0,lq.getPostsByIds)(n,e):(0,lq.getPostsByType)(n,cR.PostTypes.EVENTS_LIST)).filter(e=>!e.draft&&"NONE"!==e.visibility)},[a.SiteContent?.postStructure,n,p]),f=(0,b.useMemo)(()=>{if(p)if(!m)return{events:[]};else{let e=(e,t)=>(!0!==t||0===e.getHours()&&0===e.getMinutes()&&0===e.getSeconds()&&0===e.getMilliseconds()||(e.setHours(0,0,0,0),e.setDate(e.getDate()+1)),e);return{...m?.calendar,events:m?.calendar?.events?.map(t=>({...t,occurrences:t.occurrences.map(t=>({...t,start:e(t.start,t.allDay),end:e(t.end||t.start,t.allDay)}))}))}}return{events:g.map(e=>{let t=e.data;return{id:e.id,visibility:e?.visibility,title:t.headline,description:t.description,shortDescription:t.shortDe
6117scription,featured:!1,url:t.url,slug:e.slug,location:t.location&&!(0,sI.default)((0,cA.stripHtml)(t.location.location??"").result)?{type:"physical",location:t.location?.location||""}:void 0,occurrences:t?.occurrences?.map(t=>({id:`${e.id}-${cM(new Date(t.start||0))}`,start:new Date(t.start||0),end:new Date(t.end||t.start||0),...t.allDay&&{allDay:!0}}))??[{start:new Date(0),end:new Date(0)}]}})}},[g,m,p]),v=(0,b.useMemo)(()=>o?f.events?.findIndex(e=>e.id===o):-1,[f.events,o]),y=(0,b.useMemo)(()=>void 0!==v?f.events?.[v]:null,[f.events,v]),x=(0,b.useMemo)(()=>{if(y)return y.occurrences?.find(e=>e.id===s)},[y,s]);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"scroll-anchor",ref:l}),(0,h.jsx)(ls.default,{block:t,bgColor:e.bgColor,sx:{position:"relative"},children:(0,h.jsx)("div",{id:"events-popup-container",style:{position:"relative"},children:(0,cG.default)(v)&&y&&(0,h.jsx)(vd,{block:t,blockData:e,calendarSourceId:u?.data?.calendarSourceId,isMobilize:m?.service==="mobilize",submitBtnText:"RSVP",event:y,occurrenceId:x?.id,index:v,innerBgColor:e.bgColor},y.id)})})]})},[cF.BlockTypes.FOOTER]:({block:e,blockData:t})=>{let{site:a}=(0,ln.useSite)(),{navigate:n,createUrl:r}=(0,sb.useNavigation)(),{primarySiteFontBody:o}=(0,ly.usePrimarySiteFonts)(),i=o?{fontFamily:`"${o}"`}:void 0,s=(0,sE.useTheme)(),l=(0,sR.useMediaQuery)(s.breakpoints.down(sA.default.breakpoints.values.sm)),{prevBlockSection:d}=(0,lt.useBlockSection)(e.id,l),c=(0,b.useMemo)(()=>d?.bottomBgColor===t.bgColor&&!d?.hasBottomBgImage,[d?.bottomBgColor,t.bgColor,d?.hasBottomBgImage])&&!d?.hasBottomBgImage,u=(0,lq.getPagesInCategory)(a,sk.PAGE_CATEGORIES.FOOTER_NAV),p=a.FooterSetting?.addOnFooter===!0||a.FooterSetting?.footerOverride===!0,m=t=>{t.isTrusted&&y.default.env.NEXT_PUBLIC_IS_CMS&&n({blockId:e.id})},g=(0,b.useCallback)((e,t)=>{e.preventDefault(),n({url:t,scroll:!0})},[n]);return(0,h.jsxs)(lQ,{className:`section-${t.bgColor}-color color-${t.bgColor} text-site-body-sm`,onClick:m,$isCMS:!!y.default.env.NEXT_PUBLIC_IS_CMS,$collapseTopPadding:c,$showDisclaimerOutline:void 0===t.showDisclaimerOutline||t.showDisclaimerOutline,children:[(0,h.jsx)(lX.default,{onClick:m}),(0,h.jsxs)(lx.Container,{className:"run-footer-container",children:[u&&u.length>0&&(0,h.jsx)("div",{children:(0,h.jsx)(l0,{className:"font-button [&_a]:text-site-button-xs",children:u?.filter(e=>!e.parentId).map((e,t)=>{let a=(0,sI.default)(e.url)?`/${e.slug}`:`${e.url}`,{href:n,isExternal:o}=r({url:a}),i=n.startsWith("#");return(0,h.jsx)(lZ,{className:"py-2",children:(0,h.jsx)(lY.Menu,{title:e.title,href:n,onClick:o||i?void 0:e=>g(e,a),isExternalLink:o,target:o?"_blank":void 0})},e.id)})})}),(0,h.jsx)(lJ.default,{blockData:t,className:"[&_.social-icon-link]:h-[2em] [&_.social-icon-link]:w-[2em] [&_.social-media-icons]:gap-[0.25em] [&_.social-media-icons]:text-[length:inherit]"}),!1!==t.showDescription&&(0,h.jsx)(sU.default,{name:"info",value:t.info,toolbarOption:"basic",charLimit:450,blockData:t}),(0,h.jsx)("div",{className:"powered-by-run text-site-body-xs",children:!p&&(0,h.jsxs)(h.Fragment,{children:[!a.languageCode&&"Powered by ",(0,h.jsx)(lS.Link,{href:"https://designedtorun.com?utm_source=run-site-footer&utm_medium=referral",target:"_blank","aria-label":"RUN!",style:i,children:"RUN! website builder"})]})}),!1!==t.showPaidFor&&(0,h.jsx)("div",{style:i,children:(0,h.jsx)(sU.default,{name:"disclaimer",value:t.disclaimer,toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","TextColor","Links"],disabled:t.lockDisclaimer,blockData:t})})]})]})},[cF.BlockTypes.FULL_WIDTH_IMAGE]:({block:e,blockData:t})=>{let a=!!t.embedCode||t.video?.linkToUrl&&t.video?.url;return(0,h.jsx)(ls.default,{block:e,bgColor:t.bgColor,sx:{px:0,pt:t.headlineOn?void 0:0,pb:t.captionOn?void 0:0},children:(0,h.jsxs)(vc,{children:[t.headlineOn&&(0,h.jsx)(sU.default,{name:"title",className:"[&_h4]:text-site-headline-sm [&_h4]:mb-[0.7em]",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:4,value:t.title||"",charLimit:100,blockData:t}),a?(0,h.jsx)("div",{style:{position:"relative"},children:(0,h.jsx)(s0,{src:t.thumbnail,width:"100vw",height:"auto",alt:t.imageAltText||"photo (generic)",embedCode:t.embedCode,url:t.video?.url,linkToUrl:t.video?.linkToUrl,openInNewTab:t.video?.openInNewTab})}):(0,h.jsx)(sq,{src:t.thumbnail,width:"100vw",height:"auto",alt:t.imageAltText||"photo (generic)",isBgImage:!0}),t.captionOn&&(0,h.jsx)("div",{className:"description-wrapper",children:(0,h.jsx)(sU.default,{name:"description",className:"align-left-mobile",value:t.description||"",charLimit:350,toolbarOption:"basic",blockData:t})})]})})},[cF.BlockTypes.GALLERY]:bu,[cF.BlockTypes.HEADSHOTS]:({block:e,blockData:t})=>{let{createUrl:a,navigate:n}=(0,sb.useNavigation)(),r=(0,cO.ensureButtonsArray)(t),o=!0===t.isRoundFeatured?"25vw":"27.3vw",i=(t.isRoundFeatured,"60vw"),s=Number(t.
6117numColumns)||4,l=24%s==0?24:2*s,d=`${Number((68/s).toFixed(1))}vw`,c="38vw",u=(0,sE.useTheme)(),p=(0,sR.useMediaQuery)(u.breakpoints.down(sA.default.breakpoints.values.md)),m=(0,sR.useMediaQuery)(u.breakpoints.down(sA.default.breakpoints.values.sm)),g=t.items.some(e=>e.showButton),f=!0===t.showFeaturedHeadshots?t.items.slice(3,t.items.length):t.items,v=!0===t.showFeaturedHeadshots?t.items.slice(0,3):[],x=!0!==t.dropShadow&&"bg0"===t.bgColor,S=(0,b.useMemo)(()=>({hasBorder:!0,hasDoubleBorder:x,borderColor:"white",borderWidth:"10px",outlineColor:"var(--color-flourish-secondary)",outlineWidth:"2px",outlineOffset:"-12px"}),[x]),w=(0,b.useMemo)(()=>({hasBorder:!0,hasDoubleBorder:x,borderColor:"white",borderWidth:"8px",outlineColor:"var(--color-flourish-secondary)",outlineWidth:"2px",outlineOffset:"-10px"}),[x]),C=!0===t.dropShadow?"0px 12px 18px -6px rgb(0 0 0 / 30%)":void 0;x9(f,!0===t.showFeaturedHeadshots?t.items.length-3:t.items.length,s);let T=x8(f,m?2:s,!0===t.adjustLayout&&!m),$="true"===y.default.env.NEXT_PUBLIC_IS_CMS&&!m&&!0!==t.adjustLayout&&f.length>20,E=Math.ceil(f.length/s);return(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)(ls.default,{block:e,sx:{px:m?void 0:0},bgColor:t.bgColor,children:[(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!0!==t.showEyebrow&&!0!==t.headlineOn&&!0!==t.showDescription,hasStyledWrapper:!0,block:e,blockData:t}),!0===t.showFeaturedHeadshots&&(0,h.jsx)(TL,{container:!0,display:"grid",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:g?"stretch":"flex-start",$isRound:!0===t.isRoundFeatured,sx:{backgroundColor:{xs:"transparent"},mb:{xs:3*(t.items.length>3),sm:5*(t.items.length>3)},gridTemplateColumns:"repeat(12, 1fr)",paddingTop:0},children:t.items.slice(0,v.length).map((e,r)=>(0,h.jsx)(TF,{item:e,index:r,listKey:r,blockData:t,totalFeaturedCount:t.items.length,isRoundFeatured:!0===t.isRoundFeatured,showIndividualTitles:!1!==t.showIndividualTitles,showIndividualDescriptions:!0===t.showIndividualDescriptions,showSocialMedia:!0===t.showSocialMedia,charLimitsEnabled:t.charLimitsEnabled,isMobile:m,featuredImageSize:o,mobileFeaturedImageSize:i,roundImageBorder:S,dropShadow:C,createUrl:a,navigate:n},e.id))}),0!==f.length&&(0,h.jsx)(TG,{display:$?"block":!0!==t.adjustLayout||m?"flex":"grid",justifyItems:"center",alignItems:g?"stretch":"flex-start",rowGap:m?"8px":5,sx:$?{paddingTop:0}:t.adjustLayout&&!m?{gridTemplateColumns:{xs:"repeat(12, 1fr)",sm:`repeat(${l}, 1fr)`},paddingTop:0}:{justifyContent:"center",alignItems:g?"stretch":"flex-start",flexWrap:"wrap",width:"100%",paddingTop:0},children:$?(0,h.jsx)(Cq,{useWindowScroll:!0,totalCount:E,overscan:400,itemContent:e=>{let r=e*s,o=f.slice(r,r+s);return(0,h.jsx)("div",{style:{display:"flex",alignItems:g?"stretch":"flex-start",width:"100%"},children:o.map((e,o)=>{let i=r+o,l=!0===t.showFeaturedHeadshots?`${i+v.length}`:i;return(0,h.jsx)(TH,{item:e,listKey:l,baseIndex:i,blockData:t,showIndividualTitles:!1!==t.showIndividualTitles,showIndividualDescriptions:!0===t.showIndividualDescriptions,showSocialMedia:!0===t.showSocialMedia,showFeaturedHeadshots:!0===t.showFeaturedHeadshots,featuredHeadshotsLength:v.length,charLimitsEnabled:t.charLimitsEnabled,adjustLayout:!0===t.adjustLayout,isMobile:m,isTablet:p,numColumns:s,alignToolbarRight:!!T[i],standardImageSize:d,tabletStandardImageSize:d,mobileStandardImageSize:c,roundImageBorder:S,roundImageBorderTablet:w,dropShadow:C,createUrl:a,navigate:n},e.id)})})}}):t.items.slice(v.length,t.items.length).map((e,r)=>{let o=!0===t.showFeaturedHeadshots?`${r+v.length}`:r;return(0,h.jsx)(TH,{item:e,listKey:o,baseIndex:r,blockData:t,showIndividualTitles:!1!==t.showIndividualTitles,showIndividualDescriptions:!0===t.showIndividualDescriptions,showSocialMedia:!0===t.showSocialMedia,showFeaturedHeadshots:!0===t.showFeaturedHeadshots,featuredHeadshotsLength:v.length,charLimitsEnabled:t.charLimitsEnabled,adjustLayout:!0===t.adjustLayout,isMobile:m,isTablet:p,numColumns:s,alignToolbarRight:!!T[r],standardImageSize:d,tabletStandardImageSize:d,mobileStandardImageSize:c,roundImageBorder:S,roundImageBorderTablet:w,dropShadow:C,createUrl:a,navigate:n},e.id)})}),!0===t.showFeaturedLink&&(0,h.jsx)(lo.FeaturedLink,{href:r?.buttons[0]?.url,blockId:e.id,align:"center",size:"medium",hasMarginTop:!0,buttonText:r?.buttons[0]?.buttonText,openInNewTab:r?.buttons[0]?.openInNewTab})]})})},[cF.BlockTypes.HERO]:({block:e,blockData:t})=>{let{site:a,SiteGroupContent:n}=(0,ln.useSite)(),r=(0,s_.usePublishedSiteLink)(),{activePage:o,navigate:i,createUrl:s}=(0,sb.useNavigation)(),{palette:l}=(0,sO.useSiteColorPalette)(),d=(0,sE.useTheme)(),c=(0,gP.useSsrMediaQuery)(d.breakpoints.down(sA.default.breakpoints.values.sm)),u=!0===c,p=(0,sR.useMediaQuery)(d.breakpoints.down(sA.default.breakpoints.values.md)),m=(0,lq.getHomePageHeroBlock)(a),g=o?.slug==="home",f=o?.id||"",v=(0,b.useMemo)(()=>(0,lq.getMergedHeroData)(t,a,g),[t,a,g]),{nextBlockSection:x}=(0,lt.useBlockSection)(e.id,u),{theme:S}=(0,sB.useSiteTheme)(),w="below-content"===v.socialIconsPosition&&Object.keys(n||{}).filter(e=>e.startsWith("socialLink")).some(e=>!!n[e])&&(0,h.jsx)(xb,{$blockId:t.overrideNavSettings?e.id:m?.id,children:(0,h.jsx)(lJ.default,{iconType:v.socialIconsType,blockData:v,bgColor:v.bgColor})}),C=x?.bgColor===v.bgColor,T=!1!==t.pinstripesEnabled,$=v.layoutType===sk.HERO_LAYOUT_TYPE.NAV_ONLY&&x?.hasTopBgImage,{aspectRatio:E}=(0,sY.useImageSize)(v.logo),[I,N]=(0,b.useState)(!1),[_,k]=(0,vR.useBoolean)(!1),M=()=>
6117{if(v.video?.linkToUrl&&v.video?.url){let{as:e,isExternal:t,linkType:a}=s({url:v.video.url}),n=e;"true"===y.default.env.NEXT_PUBLIC_IS_CMS&&(a===sM.HyperlinkType.PDF||a===sM.HyperlinkType.File)&&(n=r+v.video.url),v.video?.openInNewTab||"true"===y.default.env.NEXT_PUBLIC_IS_CMS&&t?window.open(n,"_blank","noopener,noreferrer"):t?window.location.href=n:i({url:v.video.url});return}k()},A=(0,lq.getPagesInCategory)(a,sk.PAGE_CATEGORIES.HOME)?.[0],R=(0,lq.getPagesInCategory)(a,sk.PAGE_CATEGORIES.MAIN_NAVIGATION);a.SiteContent.displayHomeInNav&&A&&R?.unshift(A);let O=(0,lq.getPagesInCategory)(a,sk.PAGE_CATEGORIES.FEATURED_NAV)?.[0],B=v.layoutType!==sk.HERO_LAYOUT_TYPE.NO_IMAGE&&v.layoutType!==sk.HERO_LAYOUT_TYPE.BACKGROUND_IMAGE,P=t=>{t.isTrusted&&y.default.env.NEXT_PUBLIC_IS_CMS&&i({blockId:e.id})},L=e=>{e.preventDefault(),e.stopPropagation(),A?.id?i({pageId:A.id}):i({url:"/"})},D=e=>{if(!e||(e=e.replace("#",""),!/^([0-9A-Fa-f]{3}){1,2}$/.test(e)))return null;3===e.length&&(e=e.split("").map(e=>e+e).join(""));let t=parseInt(e.slice(0,2),16);return{r:t,g:parseInt(e.slice(2,4),16),b:parseInt(e.slice(4,6),16)}},j=(0,bv.useEllipseImageScaling)(E,17,8),G=(0,bv.useEllipseImageScaling)(E,30,30),F=!1!==c?(0,h.jsx)(xi,{className:`hero-color-${v.bgColor} color-${v.bgColor}`,"data-block-id":e.id,children:(0,h.jsx)(gP.ViewportHintContext.Provider,{value:"mobile",children:(0,h.jsx)(xr,{site:a,isHome:g,block:e,blockData:v,onClick:P,handleLinkClick:L,className:`hero-color-${v.bgColor}`,pageId:f,isOpen:I,setIsOpen:N,mainPages:R,featuredPage:O,hideBottomPinstripes:C,showPinstripes:T,palette:l})})}):null;if(!0===c)return F;if(v.layoutType===sk.HERO_LAYOUT_TYPE.NAV_ONLY)return(0,h.jsxs)(h.Fragment,{children:[F,(0,h.jsx)(gP.ViewportHintContext.Provider,{value:"desktop",children:(0,h.jsxs)(xd,{className:`color-${x?.bgColor}`,"data-block-id":e.id,$flipLayout:"flipped"===v.adjustLayout,onClick:P,$isHome:g,$isCMS:"true"===y.default.env.NEXT_PUBLIC_IS_CMS,$addBottomPadding:$,children:[(0,h.jsx)(xv,{$blockId:v.overrideNavSettings?e.id:m?.id,$opacity:v.headerGradientOpacity/100,$colorRgb:D(v.headerGradientColor?v.headerGradientColor.startsWith("#")?v.headerGradientColor:l?.[v.headerGradientColor]?.bg:sk.COLOR_DEFAULTS.nav.headerGradientColor)}),(0,h.jsx)(lX.default,{onClick:P}),T&&(0,h.jsx)(y8.default,{type:"top"}),(0,h.jsx)(y6,{className:"!bg-transparent",block:e,blockData:v,bgColor:x?.bgColor,heroBgColor:x?.bgColor,isOpen:I,featuredPage:O,mainPages:R||[],isFixed:!1,logo:v.logo,isNavOnly:!0}),(0,h.jsx)("div",{id:"main-content"})]})})]});let H=!!v.desktopImage||g&&!!v.showEmbedVideo&&(!!v.embedCode||!!v.video?.linkToUrl&&!!v.video?.url);return(0,h.jsxs)(h.Fragment,{children:[F,(0,h.jsx)(gP.ViewportHintContext.Provider,{value:"desktop",children:(0,h.jsx)("div",{className:`hero-color-${v.bgColor} color-${v.bgColor}`,style:{height:"100%",display:"flex",overflowX:"clip"},"data-block-id":e.id,children:(0,h.jsxs)(xo,{className:`hero-color-${v.bgColor} color-${v.bgColor}`,$layoutType:v.layoutType,$flipLayout:"flipped"===v.adjustLayout,onClick:P,$isHome:g,$isCMS:"true"===y.default.env.NEXT_PUBLIC_IS_CMS,$addOverlay:v.addOverlay&&H,$overlayColor:v.overlayColor,$blockIdForLayout:v.overrideLayoutSettings?e.id:m?.id,$blockIdForImages:v.overrideImagesSettings?e.id:m?.id,children:[v.layoutType!==sk.HERO_LAYOUT_TYPE.NO_IMAGE&&v.layoutType!==sk.HERO_LAYOUT_TYPE.FLOATING&&(0,h.jsx)("div",{className:"hero-image hero-image-actual",children:g&&v.showEmbedVideo&&(v.embedCode||v.video?.linkToUrl&&v.video?.url)?(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(s0,{blockData:v,width:"100%",height:"100%",src:v.desktopImage||v.desktopImage,embedCode:v.embedCode,url:v.video?.url,linkToUrl:v.video?.linkToUrl,openInNewTab:v.video?.openInNewTab,alt:v.desktopImageAltText||"Hero background image",objectPosition:`${v.desktopImageAlignment} center`,open:_,onClose:()=>k(!1),displayIconButton:!1,flipLayout:v.layoutType!==sk.HERO_LAYOUT_TYPE.NO_IMAGE&&v.layoutType!==sk.HERO_LAYOUT_TYPE.BACKGROUND_IMAGE&&"flipped"===v.adjustLayout,isHeroVideo:!0,homeHeroBlockId:m?.id,textShadowColor:v.textShadowColor?v.textShadowColor.startsWith("#")?v.textShadowColor:l?.[v.textShadowColor]?.bg:sk.COLOR_DEFAULTS.hero.textShadowColor})}):(0,h.jsx)(sq,{height:"100%",width:"100%",src:v.desktopImage||v.desktopImage,alt:v.desktopImageAltText||"Hero background image",isBgImage:!0,objectPosition:`${v.desktopImageAlignment} center`,priority:!0,sizes:xl})}),(0,h.jsx)(xc,{$layoutType:v.layoutType,$flipLayout:"flipped"===v.adjustLayout}),(0,h.jsx)(xv,{$blockId:v.overrideNavSettings?e.id:m?.id,$opacity:v.headerGradientOpacity/100,$colorRgb:D(v.headerGradientColor?v.headerGradientColor.startsWith("#")?v.headerGradientColor:l?.[v.headerGradientColor]?.bg:sk.COLOR_DEFAULTS.nav.headerGradientColor)}),T&&(0,h.jsx)(y8.default,{type:"top"}),(0,h.jsx)(lX.default,{onClick:P}),(0,h.jsxs)(xu,{$layoutType:v.layoutType,$flipLayout:"flipped"===v.adjustLayout,children:[(0,h.jsx)(y6,{block:e,blockData:v,bgColor:v.bgColor,heroBgColor:v.bgColor,
6117isOpen:I,featuredPage:O,mainPages:R||[],isFixed:!1,logo:v.logo,isNavOnly:!1}),g&&!!v.showEmbedVideo&&(!!v.embedCode||v.video?.linkToUrl&&v.video?.url)&&v.layoutType!==sk.HERO_LAYOUT_TYPE.FLOATING&&(0,h.jsx)(sK,{blockData:v,handleOpen:M,flipLayout:v.layoutType!==sk.HERO_LAYOUT_TYPE.NO_IMAGE&&v.layoutType!==sk.HERO_LAYOUT_TYPE.BACKGROUND_IMAGE&&"flipped"===v.adjustLayout,isHeroVideo:!0,homeHeroBlockId:m?.id,textShadowColor:v.textShadowColor?v.textShadowColor.startsWith("#")?v.textShadowColor:l?.[v.textShadowColor]?.bg:sk.COLOR_DEFAULTS.hero.textShadowColor}),v.layoutType===sk.HERO_LAYOUT_TYPE.FLOATING&&(0,h.jsx)("div",{className:"floating hero-image hero-image-actual",children:g&&v.showEmbedVideo&&(v.embedCode||v.video?.linkToUrl&&v.video?.url)?(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(s0,{blockData:v,width:"100%",height:"100%",src:v.desktopImage||v.desktopImage,embedCode:v.embedCode,url:v.video?.url,linkToUrl:v.video?.linkToUrl,openInNewTab:v.video?.openInNewTab,alt:v.desktopImageAltText||"Hero background image",objectPosition:`${v.desktopImageAlignment} center`,open:_,onClose:()=>k(!1),displayIconButton:!0,flipLayout:"flipped"===v.adjustLayout,isHeroVideo:!0,homeHeroBlockId:m?.id,textShadowColor:v.textShadowColor?v.textShadowColor.startsWith("#")?v.textShadowColor:l?.[v.textShadowColor]?.bg:sk.COLOR_DEFAULTS.hero.textShadowColor})}):(0,h.jsx)(sq,{height:"100%",width:"100%",src:v.desktopImage||v.desktopImage,alt:v.desktopImageAltText||"Hero background image",isBgImage:!0,objectPosition:`${v.desktopImageAlignment} center`,priority:!0,sizes:xl})}),v.layoutType===sk.HERO_LAYOUT_TYPE.NO_IMAGE&&g&&!!v.showEmbedVideo&&(!!v.embedCode||v.video?.linkToUrl&&v.video?.url)&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(sK,{blockData:v,handleOpen:M,flipLayout:!1,isHeroVideo:!0,homeHeroBlockId:m?.id,textShadowColor:v.textShadowColor?v.textShadowColor.startsWith("#")?v.textShadowColor:l?.[v.textShadowColor]?.bg:sk.COLOR_DEFAULTS.hero.textShadowColor}),_&&(0,h.jsx)(s0,{blockData:v,width:"100%",height:"100%",embedCode:v.embedCode,url:v.video?.url,linkToUrl:v.video?.linkToUrl,openInNewTab:v.video?.openInNewTab,alt:v.desktopImageAltText||"Hero background image",objectPosition:`${v.desktopImageAlignment} center`,open:_,onClose:()=>k(!1),displayIconButton:!1,flipLayout:!1,isHeroVideo:!0,homeHeroBlockId:m?.id,textShadowColor:v.textShadowColor?v.textShadowColor.startsWith("#")?v.textShadowColor:l?.[v.textShadowColor]?.bg:sk.COLOR_DEFAULTS.hero.textShadowColor})]}),(0,h.jsx)(xp,{id:"main-content",$layoutType:v.layoutType,$flipLayout:"flipped"===v.adjustLayout,$actionType:v.actionType,$isLeftAligned:B&&"content-left"===v.alignContent,children:(0,h.jsxs)(xm,{$corners:S?.corners,$layoutType:v.layoutType,$flipLayout:"flipped"===v.adjustLayout,children:["above-content"===v.logoPosition&&!!v.logo&&(0,h.jsx)(xh,{children:(0,h.jsx)(lS.Link,{className:"logo-big-link",onClick:L,href:"/",children:(0,h.jsx)(sq,{src:v.logo,alt:`${a.SiteGroup.name} logo`,width:`calc(${u?`${G.width}vw + var(--slider-big-logo-mobile-${e.id})`:`${j.width}vw + var(--slider-big-logo-${e.id})`} / 5 * 1vw)`,height:"auto"})})}),(0,h.jsx)(xg,{$layoutType:v.layoutType,$isLeftAligned:B&&"content-left"===v.alignContent,children:!1!==v.headlineOn||!1!==v.showDescription||!1!==v.showEyebrow?(0,h.jsxs)(xf,{$blockId:v.overrideContentSettings?e.id:m?.id,$disablePadding:!(v.showEyebrow||!1!==v.headlineOn||v.showDescription),$showDescription:!!v.showDescription,$alignment:B&&"content-left"===v.alignContent?"left":"center",className:"styledIntro",children:[(v.showEyebrow||!1!==v.headlineOn)&&(0,h.jsxs)(h.Fragment,{children:[v.showEyebrow&&(0,h.jsx)(sU.default,{value:v.eyebrow||"",name:"eyebrow",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:6,charLimit:45,listKey:g?void 0:f,allowAllColors:!0,blockData:t},`${f}-hero-eyebrow`),!1!==v.headlineOn&&(0,h.jsx)(sU.default,{name:"headline",value:v.headline??"",toolbarOption:"headlinesOnly",headingLevel:1,isHeader:!0,charLimit:70,allowAllColors:!0,blockData:t},`${f}-hero-headline`)]}),v.showDescription&&(0,h.jsx)("div",{className:"description-container",children:(0,h.jsx)(sU.default,{name:"description",value:v.description||"",toolbarOption:"basic",charLimit:350,listKey:g?void 0:f,allowAllColors:!0,blockData:t},`${f}-hero-description`)})]}):(0,h.jsx)(h.Fragment,{})}),!0===v.action&&(0,h.jsx)(h.Fragment,{children:g&&"form"===v.actionType?(0,h.jsx)(bg,{block:e,blockData:v}):g&&"button"===v.actionType?(0,h.jsx)("div",{className:`flex flex-wrap items-center gap-4 ${B&&"content-left"===v.alignContent?"justify-start":"justify-center"}`,children:v.buttons?.slice(0,v.displayNumberOfButtons).map(t=>(0,h.jsx)(bp,{block:e,blockData:v,button:t},t.id))}):(0,h.jsx)(h.Fragment,{})}),!u&&!p&&w]})})]}),T&&!C&&(0,h.jsx)(y8.default,{type:"bottom"})]})})})]})},[cF.BlockTypes.INSTAGRAM_GALLERY]:({block:e,blockData:t})=>{let{data:a}=s2.trpc.instagram.media.useQuery({handle:t.igHandle}),n=Object.assign({},t,{items:a?.map(e=>({id:e.id,image:e.media_url,alt:e.caption||"",title:e.caption||"",caption:e.caption||""}))||[]});return(0,h.jsx)(bu,{block:e,blockData:n})},[cF.BlockTypes.INTRO]:({block:e,blockData:t})=>{let a=(0,sE.useTheme)(),n=(0,sR.useMediaQuery)(a.breakpoints.down(sA.default.breakpoints.values.sm));(0,sR.useMediaQuery)(a.breakpoints.down(sA.default.breakpoints.values.md));let r=t.layoutType===sk.INTRO_LAYOUT_TYPE.SINGLE||t.layoutType===sk.INTRO_LAYOUT_TYPE.VIDEO||t.layoutType===sk.INTRO_LAYOUT_TYPE.NO_IMAGE,{aspectRatio:o}=(0,sY.useImageSize)(t.signatureImage),i=(0,bv.useEllipseImageScaling)(o,10,5),s=(0,bv.useEllipseImageScaling)(o,12,6);return(0,h.jsx)(ls.default,{block:e,bgColor:t.bgColor,sx:{px:!n&&r?0:void 0},children:(0,h.jsxs)(xx,{$isSingleColumn:r,$isTwoColumn:!r,$textBottomMargin:t.showFeaturedLink||t.showSignature&&t.signatureImage?"1.25em":"0",$blockId:e.id,children:[t.layoutType===sk.INTRO_LAYOUT_TYPE.VIDEO&&(t?.embedCode||t.video?.linkToUrl&&t.video?.url)&&t.image&&(0,h.jsx)(xS,{className:"video-image",$blockId:e.id,$isTilted:"tilt"===t.imageTilt,$hasImageBorder:"border"===t.imageBorder,$isSingleColumn:!0,$isTwoColumn:!1,$isFlipped:!1,children:(0,h.jsx)(s0,{width:"100%",height:"auto",src:t.image,alt:t.imageAltText||"Introductory photo",embedCode:t.embedCode,url:t.video?.url,linkToUrl:t.video?.linkToUrl,openInNewTab:t.video?.openInNewTab})}),t.layoutType!==sk.INTRO_LAYOUT_TYPE.NO_IMAGE&&t.layoutType!==sk.INTRO_LAYOUT_TYPE.VIDEO&&(0,h.jsx)(xS,{className:"outer-image",$blockId:e.id,$isTilted:"tilt"===t.imageTilt,$hasImageBorder:"border"===t.imageBorder,$isSingleColumn:r,$isTwoColumn:!r,$isFlipped:t.layoutType===sk.INTRO_LAYOUT_TYPE.TWO_FLIPPED,children:(0,h.jsx)(sq,{width:"100%",height:"auto",src:r?t.image:t.twoColImage,alt:r?t.imageAltText||"Introductory photo":t.twoColImageAltText||"Introductory photo"})}),(0,h.jsxs)(xw,{$blockId:e.id,$isTwoColumn:!r,$isFlipped:t.layoutType===sk.INTRO_LAYOUT_TYPE.TWO_FLIPPED,children:[!1!==t.showHeadline&&(0,h.jsx)(sU.default,{name:"heading",value:t.heading,charLimit:100,toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:2,blockData:t}),!1!==t.showDescription&&(0,h.jsx)(sU.default,{name:"text",className:"text align-left-mobile",value:t.text,charLimit:750,toolbarOption:"basic",blockData:t}),t.showSignature&&t.signatureImage&&(0,h.jsx)(xC,{$isTwoColumn:!r,children:(0,h.jsx)(xy,{src:`${t.signatureImage.replace("&fit=fillmax","&fit=clamp")}&invert=1&bg=fff`,width:`${n?2*s.width:i.width}vw`,height:`${n?2*s.height:i.height}vw`,aspectRatio:o,alt:"Candidate signature",colorCss:"var(--color-text-accent-primary)"})}),!0===t.showFeaturedLink&&(0,h.jsx)("div",{className:`flex flex-row flex-wrap gap-4 ${r||n?"justify-center":"justify-start"}`,children:t.buttons?.slice(0,t.displayNumberOfButtons||1).map(t=>(0,h.jsx)(lo.FeaturedLink,{href:t.url,buttonText:t.buttonText,blockId:e.id,variant:"contained",align:r||n?"center":"left",size:"large",endIcon:(0,h.jsx)(df.ArrowIcon,{}),openInNewTab:t.openInNewTab},t.id))})]})]})})},[cF.BlockTypes.ISSUES_LIST]:({block:e,blockData:t})=>{let{site:a,Posts:n}=(0,ln.useSite)(),{navigate:r,createUrl:o}=(0,sb.useNavigation)(),{theme:i}=(0,sB.useSiteTheme)(),s=(0,s_.usePublishedSiteLink)(),l=t.icons?.[0]??{name:"IconCheckCircle1"},d=(0,b.useMemo)(()=>{let t=a.SiteContent?.postStructure?.ISSUES_LIST??[];if(!t.length)return[];let r=(0,lq.getPostsByIds)(n,t).filter(e=>!e.draft),o=(0,lq.getValidTagFilter)(e.data?.tagFilter,a.SiteContent?.postTags,"ISSUES_LIST");return o.length&&(r=r.filter(e=>e.tags?.some(e=>o.includes(e)))),r},[a.SiteContent?.postStructure,a.SiteContent?.postTags,n,e.data?.tagFilter]),c=(0,lq.getSinglePostPageByPostType)(a,cR.PostTypes.ISSUES_LIST),u=c?(0,lq.getBlocksForPage)(a,c)?.find(e=>e.type===cF.BlockTypes.ISSUE_SINGLE):void 0,{updatePost:p}=(0,xT.usePostUpdate)(),m=(t,a,n,r)=>
6117{let i=r||d[t]?.data?.url;if(i){let{href:e,linkType:t}=o({url:i});return"true"===y.default.env.NEXT_PUBLIC_IS_CMS&&(t===sM.HyperlinkType.PDF||t===sM.HyperlinkType.File)?s+i:e}return c?.id?o({pageId:c.id,postId:a,blockId:n?void 0:u?.id,queryParams:{source:e.id}}).href:"#"},g=(t,a,n,o)=>{let i=d[a],s=(0,cO.resolvePostAction)(i?.visibility,i?.data?.url,{isCMS:"true"===y.default.env.NEXT_PUBLIC_IS_CMS,openInNewTab:i?.data?.openInNewTab});if("none"===s.type)return void t.preventDefault();if(t.stopPropagation(),"custom-link"===s.type){if(s.isExternal)return;t.preventDefault(),r({url:s.url});return}t.preventDefault(),c?.id&&r({pageId:c.id,postId:n,blockId:o?void 0:u?.id,queryParams:{settings:"post",source:e.id}})};return(0,h.jsxs)(ls.default,{block:e,bgColor:t.bgColor,children:[(0,h.jsx)(lb,{block:e,blockData:t,hasStyledWrapper:!0,disableMargin:!1}),(0,h.jsxs)(li.Grid,{container:!0,justifyContent:"space-between",children:[(0,h.jsx)(xI,{disablePadding:!0,sx:{ml:{md:"-5%",xs:"0"}},children:d.map((e,t)=>(0,h.jsx)(xA,{item:e,index:t,displayHref:m(t,e.id,!1,e.data?.url),onItemClick:g},e.id))}),(0,h.jsx)(xN,{children:d.map((e,a)=>(0,h.jsxs)(x_,{id:`issue-item-${a}`,$corners:i?.corners,className:`color-${t.innerBgColor} issue-item`,children:[(0,h.jsx)(xk,{$circled:(t.iconDisplayStyle??"none")!=="none",children:(0,h.jsx)(de,{name:(e?.data?.icon?.[0]??l).name,displayStyle:t.iconDisplayStyle,bgColor:t.iconBgColor,contextBg:t.innerBgColor})}),(0,h.jsxs)("div",{className:"issue-text",children:[(0,h.jsx)(sU.default,{name:"title",value:e.data?.title||"",onBlurOverride:(t,a)=>p(e.id,t,a),toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:2,charLimit:45,blockData:t}),t.showShortDescriptions&&(0,h.jsx)(sU.default,{name:"shortDescription",className:"short-description",value:e.data?.shortDescription||"",onBlurOverride:(t,a)=>p(e.id,t,a),toolbarOption:"basic",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","TextColor","Links"],charLimit:400,blockData:t})]}),(()=>{let n=e?.visibility;if(n===cR.PostVisibility.NONE||n===cR.PostVisibility.CUSTOM_LINK&&!e.data?.url)return null;let{isExternal:r}=n===cR.PostVisibility.CUSTOM_LINK&&e.data?.url?o({url:e.data.url}):{isExternal:!1},i=r&&("true"===y.default.env.NEXT_PUBLIC_IS_CMS||e.data?.openInNewTab===void 0||e.data.openInNewTab);return(0,h.jsx)("div",{className:"group",children:(0,h.jsx)(sj.Button,{asChild:!0,variant:"contained",endIcon:(0,h.jsx)(df.ArrowIcon,{width:12,height:12}),size:"default",children:(0,h.jsx)("a",{href:m(a,e.id,!0,e.data?.url),onClick:t=>g(t,a,e.id,!0),target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,className:"font-button",children:(0,h.jsx)("span",{className:"button-content",children:(0,h.jsx)("span",{className:"button-label",children:t.viewMoreButtonText||"View more"})})})})})})()]},e.id))})]})]})},[cF.BlockTypes.ISSUES_PREVIEW]:({block:e,blockData:t})=>{let a=(0,cO.ensureButtonsArray)(t),{site:n,Posts:r}=(0,ln.useSite)(),o=t.icons?.[0]??{name:"IconCheckCircle1"},i=(0,b.useMemo)(()=>{let t=n.SiteContent?.postStructure?.ISSUES_LIST??[];if(!t.length)return[];let a=(0,lq.getPostsByIds)(r,t).filter(e=>!e.draft),o=(0,lq.getValidTagFilter)(e.data?.tagFilter,n.SiteContent?.postTags,"ISSUES_LIST");return o.length&&(a=a.filter(e=>e.tags?.some(e=>o.includes(e)))),a},[n.SiteContent?.postStructure,n.SiteContent?.postTags,r,e.data?.tagFilter]),{updatePost:s}=(0,xT.usePostUpdate)();return(0,h.jsxs)(ls.default,{block:e,bgColor:t.bgColor,children:[(0,h.jsx)(lb,{block:e,blockData:t}),(0,h.jsx)(xP,{$collapseMargin:!1===t.headlineOn&&!1===t.showDescription&&!1===t.showEyebrow,className:`${t.showFeaturedLink?"mb-12":""}`,children:i.slice(0,Math.min(parseInt(t.maxPreviewItems??4),i.length-i.length%2)).map((e,a)=>(0,h.jsxs)(b.Fragment,{children:[a%2==0&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(xj,{}),(0,h.jsx)(xj,{})]}),(0,h.jsxs)(xL,{$showDescription:t.showShortDescriptions,children:[(0,h.jsx)(xG,{children:(0,h.jsx)(de,{name:(e?.data?.icon?.[0]??o).name,displayStyle:t.iconDisplayStyle,bgColor:t.iconBgColor,contextBg:t.bgColor})}),(0,h.jsxs)(xD,{className:"text-section",children:[(0,h.jsx)(sU.default,{name:"title",value:e.data.title,onBlurOverride:(t,a)=>s(e.id,t,a),toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:2,charLimit:45,blockData:t}),t.showShortDescriptions&&(0,h.jsx)(sU.default,{name:"shortDescription",value:e.data.shortDescription||"",onBlurOverride:(t,a)=>s(e.id,t,a),toolbarOption:"basic",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","TextColor","Links"],charLimit:400,blockData:t})]})]},e.id)]},e.id))}),t.showFeaturedLink&&(0,h.jsx)(lo.FeaturedLink,{href:a?.buttons[0]?.url,blockId:e.id,align:"right",size:"medium",buttonText:a?.buttons[0]?.buttonText,openInNewTab:a?.buttons[0]?.openInNewTab})]})},[cF.BlockTypes.ISSUE_SINGLE]:({block:e,blockData:t})=>{let{site:a,Posts:n}=(0,ln.useSite)(),{activePostId:r,navigate:o,createUrl:i,queryParams:s}=(0,sb.useNavigation)(),l=(0,lq.getSinglePostPageByPostType)(a,cR.PostTypes.ISSUES_LIST),d=(0,b.useRef)(s.source),c=(0,b.useMemo)(()=>
6117{if(d.current)return(0,lq.getBlockById)(a,d.current)},[a]),u=(0,b.useMemo)(()=>{let e=a.SiteContent?.postStructure?.ISSUES_LIST??[],t=e.length>0?(0,lq.getPostsByIds)(n,e):(0,lq.getPostsByType)(n,cR.PostTypes.ISSUES_LIST);t=t.filter(e=>!e.deleted&&!e.draft&&"NONE"!==e.visibility);let r=(0,lq.getValidTagFilter)(c?.data?.tagFilter,a.SiteContent?.postTags,"ISSUES_LIST");return r.length>0&&(t=t.filter(e=>e.tags?.some(e=>r.includes(e)))),t},[a.SiteContent?.postStructure,n,c]),{theme:p}=(0,sB.useSiteTheme)(),m=n[r],g=(0,b.useRef)(null),f=t.bgColor,{updatePost:v}=(0,xT.usePostUpdate)();return(0,h.jsxs)(ls.default,{block:e,bgColor:f,maxWidth:"1380px",children:[(0,h.jsx)("div",{ref:g}),(0,h.jsxs)(li.Grid,{container:!0,justifyContent:"space-between",children:[(0,h.jsx)(xR,{disablePadding:!0,sx:{ml:{md:"-5%",xs:"0"}},children:u.map((e,t)=>{let a=(0,s$.resolveLinkType)(e.data.url),n="true"===y.default.env.NEXT_PUBLIC_IS_CMS?e.data.url:a?.type===sM.HyperlinkType.PDF||a?.type===sM.HyperlinkType.File?a.filepath:a?.type===sM.HyperlinkType.External?a.url:e.data.url,r=a?.type!==sM.HyperlinkType.Page?`#issue-item-${t}`:i({url:n||"/"}).href;return(0,h.jsx)(lZ,{disableGutters:!0,className:"py-2",children:(0,h.jsx)("a",{href:r,onClick:a=>((e,t,a)=>{e.preventDefault(),e.stopPropagation();let n=u[t],r=(0,cO.resolvePostAction)(n?.visibility,n?.data?.url,{isCMS:"true"===y.default.env.NEXT_PUBLIC_IS_CMS,openInNewTab:n?.data?.openInNewTab});if("none"!==r.type){if("custom-link"===r.type)return void(r.isExternal?r.openInNewTab?window.open(r.url,"_blank","noopener,noreferrer"):window.location.href=r.url:o({url:r.url}));o({pageId:l?.id,postId:a,queryParams:{settings:"post",...d.current?{source:d.current}:{}},scroll:!1}),g.current?.scrollIntoView()}})(a,t,e.id),style:{display:"block"},dangerouslySetInnerHTML:{__html:xM(e.data.title)}})},e.id)})}),m&&(0,h.jsx)(xO,{children:(0,h.jsxs)(xB,{id:"issue-item-focused",$corners:p?.corners,className:`color-${f}`,children:[t.showEyebrow&&(0,h.jsx)(sU.default,{className:"[&_h6]:mb-0",name:"eyebrow",value:m.data?.eyebrow||"",onBlurOverride:(e,t)=>v(m.id,e,t),toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:6,charLimit:45,blockData:t}),(0,h.jsx)(sU.default,{name:"title",value:m.data?.title||"",onBlurOverride:(e,t)=>v(m.id,e,t),toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:2,charLimit:45,blockData:t}),(0,h.jsx)(sU.default,{name:"description",value:m.data?.description||"",onBlurOverride:(e,t)=>v(m.id,e,t),toolbarOption:"full",blockData:t})]},`focusedItem-${m.id}`)})]})]})},[cF.BlockTypes.LANDING_POPUP]:({block:e,blockData:t})=>{let{shouldDisablePopup:a}=(0,v.useRouter)().query,[n,r]=(0,vR.useBoolean)(!1),{activeBlock:o,navigate:i,queryParams:s}=(0,sb.useNavigation)(),{site:l}=(0,ln.useSite)(),d=sC(),c=(0,b.useRef)(null),u=(0,b.useRef)(!!t.enablePopup),p=(0,lq.getHomePageHeroBlock)(l),m=(0,b.useMemo)(()=>(0,sI.default)(t.videoDonateLogo)?p?.data?.logo:t.videoDonateLogo,[p?.data?.logo,t.videoDonateLogo]),{theme:g}=(0,sB.useSiteTheme)(),{aspectRatio:f}=(0,sY.useImageSize)(m),x=(0,bv.useEllipseImageScaling)(f,20,20);(0,b.useEffect)(()=>{if(!t.enablePopup||a){u.current=!1,r(!1);return}let n="true"===y.default.env.NEXT_PUBLIC_IS_CMS&&!u.current;if(u.current=!0,n){x5=!0,r(!0);return}let i="true"!==y.default.env.NEXT_PUBLIC_IS_CMS&&sessionStorage.getItem("hasSeenLandingPopup");if(i)try{let e=parseInt(i,10),t=Date.now();if(!isNaN(e)&&t-e<12e5)return}catch(e){console.error("Error parsing popup timestamp:",e)}let s=t.timeToTrigger;if("true"===y.default.env.NEXT_PUBLIC_IS_CMS){if(o?.type===cF.BlockTypes.LANDING_POPUP)s=0;else if(x5)return}let d=setTimeout(()=>{"true"===y.default.env.NEXT_PUBLIC_IS_CMS&&(x5=!0),"true"!==y.default.env.NEXT_PUBLIC_IS_CMS&&(sessionStorage.setItem("hasSeenLandingPopup",Date.now().toString()),l?.id&&sv("popup_shown",{site_id:l.id,site_group_id:l.SiteGroup?.id,language_code:l.languageCode??void 0,block_id:e.id,block_type:cF.BlockTypes.LANDING_POPUP,variant:t.variant})),r(!0)},1e3*s);return()=>clearTimeout(d)},[t,e.id,l,o?.id,o?.type,a,r,s]);let S=()=>r(!1),w=t=>{t.isTrusted&&y.default.env.NEXT_PUBLIC_IS_CMS&&i({blockId:e.id})},C=e=>{!e.isTrusted||e.target?.closest?.("a")&&setTimeout(S,0)},T=(0,b.useMemo)(()=>{let a=!(t.showEyebrow||t.headlineOn||t.showDescription);return t.variant!==sk.LANDING_POPUP_TYPES.VIDEO_DONATE?(0,h.jsx)(lb,{disablePadding:!0,disableMargin:a,block:e,blockData:t,toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","TextColor","Links","Image"],isNarrowEditor:!0},`styled-intro-${t.variant}`):(0,h.jsx)(lb,{disablePadding:!0,disableMargin:a,block:e,blockData:t},`styled-intro-${t.variant}`)},[t.variant,t.showEyebrow,t.headlineOn,t.showDescription,e,t]),$=g?.corners===sD.THEME_CORNERS.ROUNDED?"!rounded-[0.7em]":g?.corners===sD.THEME_CORNERS.HALF_ROUNDED?"!rounded-[0_0.7em_0_0.7em]":"!rounded-none";return(0,h.jsx)(h.Fragment,{children:t.variant===sk.LANDING_POPUP_TYPES.VIDEO_DONATE?(0,h.jsx)(sT.Dialog,{open:n,onOpenChange:e=>!e&&S(),children:(0,h.jsxs)(sT.DialogContent,{className:(0,sG.cn)("h-[100dvh] w-screen max-w-none border-none p-0 shadow-none","data-[state=closed]:!animate-none data-[state=open]:!animate-none","left-0 top-0 translate-x-0 translate-y-0","!max-h-none overflow-y-auto overflow-x-hidden","!rounded-none",`color-${t.bgColor}`),onOpenAutoFocus:e=>{e.preventDefault(),c.current?.focus()},isKeyboardUserRef:d,"aria-describedby":void 0,"data-block-id":e.id,"data-track-click":"button",children:[(0,h.jsx)(sT.DialogTitle,{ref:c,className:"sr-only",children:"Landing popup"}),(0,h.jsx)("main",{style:{minHeight:"100dvh",width:"100%",maxWidth:"100vw"},children:(0,h.jsxs)(x2,{$showDisclaimer:t.showDisclaimer,$flexContent:!0,$isFullScreen:t.variant===sk.LANDING_POPUP_TYPES.VIDEO_DONATE,$isLogoDisplayed:t.displayLogo,$offsetForLogo:t.displayLogo?x.height:0,onClick:w,onClickCapture:C,children:[(0,h.jsx)(xq,{block:e,blockData:t,onClick:S,logo:m,allowAllColors:!0}),(0,h.jsx)(x4,{block:e,blockData:t,isOpen:n})]})})]})}):t.variant!==sk.LANDING_POPUP_TYPES.VIDEO?(0,h.jsx)(sT.Dialog,{open:n,onOpenChange:e=>!e&&S(),children:(0,h.jsxs)(sT.DialogContent,{className:(0,sG.cn)("min-w-[min(650px,90vw)] max-w-[90vw] border-none bg-[var(--color-bg)] p-0 shadow-none","data-[state=closed]:!animate-none data-[state=open]:!animate-none","overflow-x-hidden",$,`color-${t.bgColor}`),style:{width:"min(50%, 90vw)",margin:0,backgroundColor:`var(--color-${t.bgColor})`},onOpenAutoFocus:e=>{e.preventDefault(),c.current?.focus()},isKeyboardUserRef:d,"aria-describedby":void 0,"data-block-id":e.id,"data-track-click":"button",children:[(0,h.jsx)(sT.DialogTitle,{ref:c,className:"sr-only",children:"Landing popup"}),(0,h.jsx)("main",{children:(0,h.jsxs)(x2,{$showDisclaimer:t.showDisclaimer,$isFullScreen:t.variant===sk.LANDING_POPUP_TYPES.VIDEO_DONATE,$isLogoDisplayed:t.displayLogo,$offsetForLogo:t.displayLogo?x.height:0,onClick:w,onClickCapture:C,children:[T,(0,h.jsx)(x4,{block:e,blockData:t,isOpen:n})]})})]})}):(0,h.jsx)(h.Fragment,{children:""!==t.embedCode&&(0,h.jsx)(x4,{block:e,blockData:t,isOpen:n})})})},[cF.BlockTypes.LISTS]:({block:e,blockData:t})=>{let a=(0,cO.ensureButtonsArray)(t);return(0,h.jsxs)(ls.default,{block:e,bgColor:t.bgColor,sx:t.showFeaturedLink?{}:{pb:0},children:[(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!(t.showEyebrow||t.headlineOn||t.showDescription),hasStyledWrapper:!0,block:e,blockData:t}),(0,h.jsx)(x6,{$showDividers:!1!==t.showDividers,$showBullets:!1!==t.showBullets,children:(0,h.jsx)(vA,{columns:{xs:1,sm:t.isSingleColumn||t.items?.length===1?1:2},spacing:{xs:2,sm:4,md:8},sx:t.isSingleColumn||t.items?.length===1?{width:{xs:"100%",sm:"75%"},margin:"auto !important",maxWidth:"1100px"}:{},children:t.items?.map((e,a)=>(0,h.jsxs)("div",{children:[!1!==e.showListTitle&&(0,h.jsx)(sU.default,{name:"title",className:"listTitle [&_h5]:text-site-headline-xs [&_h5]:mb-2",value:e.title,list:"items",listKey:a,toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:5,charLimit:70,blockData:t}),(0,h.jsx)(sU.default,{name:"value",className:"itemTitle",value:e.value,list:"items",listKey:a,toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","TextColor","CustomBulletList","CustomDocument","CustomListItem","Links"]})]},e.id))})}),t.showFeaturedLink&&(0,h.jsx)(lo.FeaturedLink,{href:a?.buttons[0]?.url,blockId:e.id,align:"center",size:"medium",buttonText:a?.buttons[0]?.buttonText,openInNewTab:a?.buttons[0]?.openInNewTab})]})},[cF.BlockTypes.LONG_FORM]:vb,[cF.BlockTypes.LOGOS]:({block:e,blockData:t})=>{let a=(0,cO.ensureButtonsArray)(t),n=(0,sE.useTheme)(),r=(0,sR.useMediaQuery)(n.breakpoints.down(sA.default.breakpoints.values.sm)),o=(t.layoutType??"standard")==="ticker",i=o&&t.showItemDescriptions,s=(0,sR.useMediaQuery)(n.breakpoints.down(sA.default.breakpoints.values.md))&&!r?6.5:4.5,l=Number(t.
6117numColumns)||4,d=24%l==0?24:2*l,c=d/l,u=28/l;x9(t.items,t.items.length,l);let p=!o&&(t.showItemDescriptions||t.items.some(e=>e.showButton)),m=x8(t.items,r?2:l,t.adjustLayout&&!r),g=b.useMemo(()=>{if(!p)return[];let e=r?17:u,a=t.adjustLayout&&!r,n=r?2:l,o=[],i=[],s=0,d=0;return t.items.forEach((t,r)=>{r>0&&(a&&t.offset>0||d>=n)&&(s++,d=0),d++,o[r]=s;let{aspectRatio:l}=(0,sY.getImageSize)(t.image),{height:c}=(0,bv.ellipseInscribedSize)(l,e,e);i[s]=Math.max(i[s]??0,c)}),t.items.map((e,t)=>i[o[t]])},[p,r,t.adjustLayout,t.items,l,u]),f=b.useRef(null),v=b.useRef(null),[y,x]=b.useState(2);b.useEffect(()=>{if(!o)return;let e=f.current,t=v.current;if(!e||!t)return;let a=()=>{let a=t.getBoundingClientRect().width,n=e.clientWidth;a&&n&&x(2*Math.max(1,Math.ceil(n/a)))};a();let n=new ResizeObserver(a);return n.observe(e),n.observe(t),()=>n.disconnect()},[o,t.items,i]);let S=b.useMemo(()=>{if(!i)return;let e=r?12:s;return t.items.reduce((t,a)=>{let{aspectRatio:n}=(0,sY.getImageSize)(a.image),{height:r}=(0,bv.ellipseInscribedSize)(n,e,e);return Math.max(t,r)},0)},[i,r,s,t.items]);return(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)(ls.default,{block:e,sx:{px:r?void 0:0},bgColor:t.bgColor,children:[(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!(t.showEyebrow||t.headlineOn||t.showDescription),hasStyledWrapper:!0,block:e,blockData:t}),o&&(0,h.jsx)(Se,{children:(0,h.jsx)(St,{ref:f,children:(0,h.jsx)(Sa,{style:{"--ticker-duration":`${t.items.length*(r?5:3)*(y/2)}s`,"--ticker-scale":`calc(1 + var(--slider-logos-ticker-size-${e.id}, 0) / 100)`},children:Array.from({length:y},(e,a)=>(0,h.jsx)(Sn,{ref:0===a?v:void 0,"aria-hidden":a>0||void 0,$hasExtras:!!i,children:t.items.map((e,n)=>(0,h.jsx)(So,{logo:{...e,showButton:!1},linkTabIndex:a>0?-1:void 0,blockData:t,index:n,isMobile:r,hasExtras:!!i,slotHeight:S,semiAxis:s,mobileSemiAxis:12,isTicker:!0},`${e.id}-${n}-${a}`))},a))})})}),!o&&(0,h.jsx)(x7,{display:t.adjustLayout&&!r?"grid":"flex",justifyItems:"center",alignItems:p?"stretch":"center",rowGap:r?p?"32px":"calc(8px + var(--small-padding) / 1.5)":p?8:"calc(40px + var(--small-padding) / 1.5)",sx:t.adjustLayout&&!r?{gridTemplateColumns:{xs:"repeat(12, 1fr)",sm:`repeat(${d}, 1fr)`,md:`repeat(${d}, 1fr)`},paddingTop:0}:{justifyContent:"center",alignItems:p?"stretch":"center",flexWrap:"wrap",width:"100%",paddingTop:0},children:t.items.slice(0,t.items.length).map((e,a)=>(0,h.jsx)(lr.Box,{sx:t.adjustLayout&&!r?{gridColumn:{xs:"span 12",sm:`${0===e.offset?"":`${e.offset} / `}span ${c}`}}:{width:{md:`${100/l}%`,sm:`${100/l}%`,xs:"50%"}},children:(0,h.jsx)(So,{logo:e,blockData:t,index:a,isMobile:r,hasExtras:p,semiAxis:u,slotHeight:g[a],alignToolbarRight:m[a]})},`${e.id}-${a}`))}),t.showFeaturedLink&&(0,h.jsx)(lo.FeaturedLink,{href:a?.buttons[0]?.url,blockId:e.id,align:"center",size:"medium",hasMarginTop:!0,buttonText:a?.buttons[0]?.buttonText,openInNewTab:a?.buttons[0]?.openInNewTab})]})})},[cF.BlockTypes.NEWS_LIST]:({block:e,blockData:t})=>{let{site:a,Posts:n}=(0,ln.useSite)(),r=(0,b.useMemo)(()=>{let t=a.SiteContent?.postStructure?.NEWS_LIST??[];if(!t.length)return[];let r=(0,lq.getPostsByIds)(n,t).filter(e=>!e.draft),o=(0,lq.getValidTagFilter)(e.data?.tagFilter,a.SiteContent?.postTags,"NEWS_LIST");return(o.length&&(r=r.filter(e=>e.tags?.some(e=>o.includes(e)))),e.data?.chronologicalSort)?[...r].sort((e,t)=>new Date(t.data?.date??0).getTime()-new Date(e.data?.date??0).getTime()):r},[a.SiteContent?.postStructure,a.SiteContent?.postTags,n,e.data?.tagFilter,e.data?.chronologicalSort]),{theme:o}=(0,sB.useSiteTheme)(),i=(0,b.useRef)(null);return(0,h.jsxs)(ls.default,{block:e,bgColor:t.bgColor,children:[(0,h.jsx)("div",{ref:i}),(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!(t.showEyebrow||t.headlineOn||t.showDescription),hasStyledWrapper:!0,block:e,blockData:t}),(0,h.jsx)(Sf,{container:!0,$numItems:r.length,$collapseMargin:!1===t.headlineOn&&!1===t.showDescription&&!1===t.showEyebrow,children:r.slice(0,r.length).map((a,n)=>(0,h.jsx)(b.Fragment,{children:(0,h.jsx)(Sg,{item:a,index:n,news:r,theme:o,block:e,blockData:t,isPreviewBlock:!1})},a.id))})]})},[cF.BlockTypes.NEWS_PREVIEW]:({block:e,blockData:t})=>{let{site:a,Posts:n}=(0,ln.useSite)(),r=(0,b.useMemo)(()=>{let t=a.SiteContent?.postStructure?.NEWS_LIST??[];if(!t.length)return[];let r=(0,lq.getPostsByIds)(n,t).filter(e=>!e.draft),o=(0,lq.getValidTagFilter)(e.data?.tagFilter,a.SiteContent?.postTags,"NEWS_LIST");return(o.length&&(r=r.filter(e=>e.tags?.some(e=>o.includes(e)))),e.data?.chronologicalSort)?[...r].sort((e,t)=>
6117new Date(t.data?.date??0).getTime()-new Date(e.data?.date??0).getTime()):r},[a.SiteContent?.postStructure,a.SiteContent?.postTags,n,e.data?.tagFilter,e.data?.chronologicalSort]),{theme:o}=(0,sB.useSiteTheme)(),i=(0,b.useRef)(null);return(0,h.jsxs)(ls.default,{block:e,bgColor:t.bgColor,children:[(0,h.jsx)("div",{ref:i}),(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!(t.showEyebrow||t.headlineOn||t.showDescription),hasStyledWrapper:!0,block:e,blockData:t}),(0,h.jsx)(Sv,{container:!0,$numItems:r.length,$collapseMargin:!1===t.headlineOn&&!1===t.showDescription&&!1===t.showEyebrow,children:r.slice(0,3).map((a,n)=>(0,h.jsx)(b.Fragment,{children:(0,h.jsx)(Sg,{item:a,index:n,news:r,theme:o,block:e,blockData:t,isPreviewBlock:!0})},a.id))})]})},[cF.BlockTypes.NEWS_SINGLE]:({block:e,blockData:t})=>{let a,{site:n,Posts:r}=(0,ln.useSite)(),{palette:o}=(0,sO.useSiteColorPalette)(),{activePostId:i,navigate:s,createUrl:l,queryParams:d}=(0,sb.useNavigation)(),{primarySiteFontHeader:c}=(0,ly.usePrimarySiteFonts)(),u=(0,lq.getSinglePostPageByPostType)(n,cR.PostTypes.NEWS_LIST),p=(0,b.useRef)(d.source),m=(0,b.useMemo)(()=>{if(p.current)return(0,lq.getBlockById)(n,p.current)},[n]),g=(0,b.useMemo)(()=>{let e=n.SiteContent?.postStructure?.NEWS_LIST??[],t=e.length>0?(0,lq.getPostsByIds)(r,e):(0,lq.getPostsByType)(r,cR.PostTypes.NEWS_LIST);t=t.filter(e=>!e.deleted&&!e.draft&&"NONE"!==e.visibility);let a=(0,lq.getValidTagFilter)(m?.data?.tagFilter,n.SiteContent?.postTags,"NEWS_LIST");return a.length>0&&(t=t.filter(e=>e.tags?.some(e=>a.includes(e)))),m?.data?.chronologicalSort&&(t=[...t].sort((e,t)=>new Date(t.data?.date??0).getTime()-new Date(e.data?.date??0).getTime())),t},[n.SiteContent?.postStructure,r,m]),{theme:f}=(0,sB.useSiteTheme)(),v=r[i],x=(0,b.useRef)(null),[S,w]=(0,b.useState)(!1),{updatePost:C}=(0,xT.usePostUpdate)(),T=e=>{e.stopPropagation(),"true"===y.default.env.NEXT_PUBLIC_IS_CMS&&w(!0)},$=t.bgColor,E=e=>e.data.articleType??((0,sI.default)(e.data.url)?"PRESS RELEASE":"NEWS ARTICLE"),I=e=>e?`articleType-${e.id}-${!(0,sI.default)(e.data.url)}`:null,N=(e,t,a)=>{C(e,t,a)},_=c?{fontFamily:`"${c}"`}:void 0;return(0,b.useEffect)(()=>{i&&setTimeout(()=>{x.current?.scrollIntoView({behavior:"smooth"})},10)},[i]),(0,h.jsxs)(ls.default,{block:e,bgColor:$,maxWidth:"1550px",children:[(0,h.jsx)("div",{ref:x,"data-news-scroll-anchor":"true"}),(0,h.jsxs)(Sy,{container:!0,$numItems:g?.length,children:[(0,h.jsx)(xI,{disablePadding:!0,$showOnMobile:!0,children:g?.map((e,t)=>{let a=(0,s$.resolveLinkType)(e.data.url),n="true"===y.default.env.NEXT_PUBLIC_IS_CMS?e.data.url:a?.type===sM.HyperlinkType.PDF||a?.type===sM.HyperlinkType.File?a.filepath:a?.type===sM.HyperlinkType.External?a.url:e.data.url,r=a?.type!==sM.HyperlinkType.Page?"/":l({url:n||"/"}).href;return(0,h.jsxs)(lZ,{disableGutters:!0,className:"py-2",children:[(0,h.jsx)("div",{className:"article-type",children:(0,h.jsx)(sU.default,{name:"articleType",value:E(e),onBlurOverride:(t,a)=>N(e.id,t,a),toolbarOption:"headlinesOnly",charLimit:100},I(e))}),(0,h.jsx)("a",{href:r,onClick:a=>((e,t,a)=>{e?.preventDefault(),e?.stopPropagation();let n=g[t],r=(0,cO.resolvePostAction)(n?.visibility,n?.data?.url,{isCMS:"true"===y.default.env.NEXT_PUBLIC_IS_CMS,openInNewTab:n?.data?.openInNewTab});if("none"!==r.type){if("custom-link"===r.type)return void(r.isExternal?r.openInNewTab?window.open(r.url,"_blank","noopener,noreferrer"):window.location.href=r.url:s({url:r.url}));s({pageId:u?.id,postId:a,queryParams:{settings:"post",...p.current?{source:p.current}:{}},scroll:!1})}})(a,t,e.id),style:{display:"block"},dangerouslySetInnerHTML:{__html:xM(e.data.title)}})]},e.id)})}),v&&(0,h.jsxs)(Sx,{$corners:f?.corners,className:`color-${$}`,children:[(0,h.jsx)(({item:e})=>(0,h.jsxs)(Sl.Popover,{open:S,onOpenChange:e=>!e&&w(!1),children:[(0,h.jsx)(Sl.PopoverAnchor,{asChild:!0,children:(0,h.jsxs)(Su,{$corners:f?.corners,dateTime:e.data.date?.slice(0,10),onClick:T,className:`color-${o?.[$]?.bgButtonBackground}`,children:[(0,h.jsx)("span",{className:"month",style:_,children:Sw(e.data.date).toLocaleDateString("en-EN",{month:"short"})}),(0,h.jsx)("span",{className:"day",style:_,children:Sw(e.data.date).toLocaleDateString("en-EN",{day:"numeric"})}),(0,h.jsx)("span",{className:"year",style:_,children:Sw(e.data.date).toLocaleDateString("en-EN",{year:"numeric"})})]})}),(0,h.jsx)(Sl.PopoverContent,{align:"start",className:"w-auto p-0",children:(0,h.jsx)(b.Suspense,{fallback:(0,h.jsx)("span",{}),children:(0,h.jsx)(Sb,{mode:"single",captionLayout:"dropdown",startMonth:new Date(2e3,0),endMonth:new Date(new Date().getFullYear()+5,11),selected:Sw(e.data.date),defaultMonth:Sw(e.data.date),onMonthChange:e=>{v&&C(v.id,"date",e.toISOString())},onSelect:e=>{var t;let a;return e&&(t=new Date((a=e).getTime()-6e4*a.getTimezoneOffset()),void(w(!1),v&&C(v.id,"date",t.toISOString())))}})})})]}),{item:v}),(0,h.jsx)("div",{className:"article-type",children:(0,h.jsx)(sU.default,{name:"articleType",value:E(v),onBlurOverride:(e,t)=>N(v.id,e,t),toolbarOption:"headlinesOnly",charLimit:100},I(v))}),(0,h.jsx)(sU.default,{name:"title",value:SS?v.data.title:(a=v.data.title,a?.replace(RegExp("<(\\/?)h4(?=[\\s>])","gi"),"<$1h1")),onBlurOverride:(e,t)=>C(v.id,e,t),toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:SS?4:1,charLimit:100}),(0,h.jsx)(sU.default,{name:"description",value:v.data.description||"",onBlurOverride:(e,t)=>C(v.id,e,t),toolbarOption:"full"})]},`focusedItem-${v.id}`)]})]})},[cF.BlockTypes.NOTIFICATION_BAR]:({block:e,blockData:t})=>{let{activeBlockId:a,navigate:n}=(0,sb.useNavigation)(),[r,o]=(0,b.useState)(!1),i=(0,b.useRef)(null),s=`notificationBarDismissed:${e.id}`;if((0,b.useEffect)(()=>
6117{if(SC)return;let e=sessionStorage.getItem(s);if(!e)return;let t=parseInt(e,10);!isNaN(t)&&Date.now()-t<12e5&&o(!0)},[s]),(0,b.useEffect)(()=>{let e=i.current,t=document.documentElement;if(!e)return void t.style.removeProperty("--notification-bar-nav-position");let a=e.getBoundingClientRect().top+window.scrollY<8,n=new IntersectionObserver(([e])=>{e.isIntersecting&&a?t.style.setProperty("--notification-bar-nav-position","absolute"):t.style.removeProperty("--notification-bar-nav-position")});return n.observe(e),()=>{n.disconnect(),t.style.removeProperty("--notification-bar-nav-position")}}),!t.enabled||r)return null;let l=SE[t.wrapper||"none"],d=SI[t.alignment||"center"],c=t.showButtons?(t.buttons||[]).slice(0,t.displayNumberOfButtons??1):[];return(0,h.jsxs)(ST,{ref:i,id:`block-${e.id}`,onClick:SC?t=>{t.isTrusted&&!t.target.closest("a, button")&&SC&&a!==e.id&&n({blockId:e.id})}:void 0,className:(0,sG.cn)(`color-${t.bgColor||"bg2"}`,"relative w-full"),style:{background:"var(--color-bg)",color:"var(--color-text)"},children:[(0,h.jsxs)("div",{className:(0,sG.cn)("flex items-center gap-x-4 px-6 py-2.5 max-sm:flex-col max-sm:gap-y-2 max-sm:py-4",!1!==t.dismissible&&("center"===(t.alignment||"center")?"px-14 max-sm:px-6":"pr-14 max-sm:pr-6"),d.row),children:[l&&(0,h.jsx)(l,{className:(0,sG.cn)("h-[0.7em] w-[0.7em] shrink-0 fill-[var(--color-flourish-secondary)] max-sm:hidden","star"===t.wrapper&&"-translate-y-[0.05em]")}),(0,h.jsx)(sU.default,{name:"text",value:t.text,toolbarOption:"custom",toolbarComponents:["Italic","Underline","TextColor","Links"],charLimit:80,singleLine:!0,blockData:t,className:(0,sG.cn)("min-w-0 font-bold max-sm:w-full",d.text,"caps"===t.textStyle?"font-button text-site-body-xs uppercase tracking-[0.15em]":"text-site-body-sm")}),c.length>0&&(0,h.jsx)("div",{className:(0,sG.cn)("flex shrink-0 items-center gap-x-4 max-sm:w-full",d.buttons),children:c.map(t=>(0,h.jsx)(SN,{blockId:e.id,button:t},t.id))}),l&&(0,h.jsx)(l,{className:(0,sG.cn)("h-[0.7em] w-[0.7em] shrink-0 fill-[var(--color-flourish-secondary)] max-sm:hidden","star"===t.wrapper&&"-translate-y-[0.05em]")})]}),!1!==t.dismissible&&(0,h.jsx)("button",{type:"button","aria-label":"Dismiss notification",onClick:()=>{SC?hm.toast.info("This closes the notification bar for visitors on your live site. It stays visible in the editor."):(sessionStorage.setItem(s,Date.now().toString()),o(!0))},className:"absolute right-5 top-1/2 -translate-y-1/2 cursor-pointer border-0 bg-transparent p-0 text-inherit max-sm:hidden",children:(0,h.jsx)(S$,{className:"h-3.5 w-3.5"})}),!SC&&!1!==t.dismissible&&(0,h.jsx)("script",{dangerouslySetInnerHTML:{__html:`try{var t=+sessionStorage.getItem('${s}');if(t&&Date.now()-t<1200000)document.getElementById('block-${e.id}').style.display='none';}catch(e){}`}})]})},[cF.BlockTypes.PEOPLE_WITH_BIOS]:({block:e,blockData:t})=>{let a=(0,cO.ensureButtonsArray)(t),{site:n}=(0,ln.useSite)(),r=(0,lq.getAllBlocksByType)(n,cF.BlockTypes.HERO),o=r[0]?.data.socialIconsType,i=(0,sE.useTheme)(),s=(0,sR.useMediaQuery)(i.breakpoints.down(sA.default.breakpoints.values.md)),l=(0,sR.useMediaQuery)(i.breakpoints.down(sA.default.breakpoints.values.sm)),d={hasBorder:!0,hasDoubleBorder:!0!==t.dropShadow&&"bg0"===t.bgColor,borderColor:"white",borderWidth:"10px",outlineColor:"var(--color-flourish-secondary)",outlineWidth:"2px",outlineOffset:"-12px"},c=t.dropShadow?"0px 12px 18px -6px rgb(0 0 0 / 30%)":void 0;return(0,h.jsxs)(ls.default,{block:e,bgColor:t.bgColor,maxWidth:`${i.breakpoints.values.lg}px`,children:[(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!(t.showEyebrow||t.headlineOn||t.showDescription),hasStyledWrapper:!0,block:e,blockData:t}),(0,h.jsx)(li.Grid,{container:!0,spacing:{xs:4,sm:6,md:4,lg:4},children:t.items?.map((a,n)=>{let r=(0,h.jsx)(lJ.default,{iconType:o,blockData:t,socialLinks:t.items[n].socialMedia});return(0,h.jsx)(li.Grid,{item:!0,xs:12,children:(0,h.jsx)(TV,{children:(0,h.jsxs)(TW,{$flexDirection:t.alternateLayouts&&n%2==1?t.flipContent?"row":"row-reverse":t.flipContent?"row-reverse":"row",children:[(0,h.jsx)(lr.Box,{sx:{display:"flex",flexDirection:"column",justifyContent:"flex-start"},children:(0,h.jsx)(TZ,{children:(0,h.jsx)(sq,{src:a.image,alt:a.imageAltText||(0,di.stripHtml)(a.title)||"Photo of person",width:`${l?Tz:`calc(${s?TK:TU} + var(--slider-people-bios-image-size-${e.id}, 0) / 10 * 1vw)`}`,height:`${l?Tz:`calc(${s?TK:TU} + var(--slider-people-bios-image-size-${e.id}, 0) / 10 * 1vw)`}`,isRound:!0,border:d,dropShadow:c})})}),(0,h.jsxs)(lr.Box,{sx:{display:"flex",flexDirection:"column",justifyContent:"center"},children:[(t.showTitles||t.showSubtitles)&&(0,h.jsxs)(h.Fragment,{children:[t.showTitles&&(0,h.jsx)("div",{className:"bio-item title-bio-item",children:(0,h.jsx)(TY,{children:(0,h.jsx)(sU.default,{name:"title",className:"[&_h4]:text-site-headline-sm",value:a.title,list:"items",listKey:n,charLimit:80,toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:4,blockData:t})})}),t.showSubtitles&&(0,h.jsx)("div",{className:"bio-item",children:(0,h.jsx)(TJ,{item:!0,alignSelf:{md:"flex-start",sm:"flex-start",xs:"center"},className:`bio-item ${t.wrapTitle?"wrap-title":""}`,children:(0,h.jsx)(sU.default,{className:"[&_h6]:text-site-body-sm [&_h6]:m-0 [&_h6]:[color:var(--color-text)]",name:"subtitle",value:a.subtitle,list:"items",listKey:n,charLimit:80,toolbarOption:"none",isHeader:!0,headingLevel:6,minWidth:"30px",blockData:t})})})]}),(0,h.jsx)(li.Grid,{item:!0,className:"bio-item",children:(0,h.jsx)(sU.default,{name:"bio",className:"align-left-mobile",value:a.bio,list:"items",listKey:n,toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","h5","TextColor","Lists","Links"],charLimit:1500,blockData:t})}),a.showFeaturedLink&&(0,h.jsx)(li.Grid,{item:!0,className:"bio-item",children:(0,h.jsx)(lo.FeaturedLink,{href:a.url,variant:"contained",blockId:e.id,align:l?"center":"left",buttonText:a.buttonText,endIcon:(0,h.jsx)(df.ArrowIcon,{width:14,height:14}),size:"small",openInNewTab:a.openInNewTab})}),t.showSocialMedia&&t.items[n].socialMedia.length>0&&(0,h.jsx)(Tq,{className:"bio-item",children:r})]})]})})},`${n}-${a.image}-${a.title}`)})}),t.showFeaturedLink&&(0,h.jsx)(lo.FeaturedLink,{href:a?.buttons[0]?.url,blockId:e.id,align:"center",size:"medium",hasMarginTop:!0,buttonText:a?.buttons[0]?.buttonText,openInNewTab:a?.buttons[0]?.openInNewTab})]})},[cF.BlockTypes.PRIORITIES_LIST]:({block:e,blockData:t})=>{let a=t.icons?.[0]??{name:"IconCheckCircle1"},n=(0,cO.ensureButtonsArray)(t),r=(0,b.useMemo)(()=>t.bgColor,[t.bgColor]);return(0,h.jsxs)(ls.default,{block:e,bgColor:r,children:[(0,h.jsx)(lb,{block:e,blockData:t,disablePadding:!0,disableMargin:!0!==t.showEyebrow&&!0!==t.headlineOn&&!0!==t.showDescription,hasStyledWrapper:!0}),(0,h.jsxs)(T3,{sx:{mb:t.showFeaturedLink?"2em":0},children:[(0,h.jsx)(T5,{children:(0,h.jsxs)("div",{className:"text-wrapper",children:[t.showSecondaryEyebrow&&(0,h.jsx)(sU.default,{className:"[&_h6]:text-site-body eyebrow-rule mb-4 pb-2 [&_h6]:mb-[0.75em]",value:t.secondaryEyebrow??"<h6>Our priorities</h6>",name:"secondaryEyebrow",toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:6,charLimit:45,blockData:t}
6117),(0,h.jsx)(sU.default,{name:"secondaryDescription",className:"combined-text-field",value:t.secondaryDescription||"",toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","h2","h3","h4","h5","h6","ToggleSmallText","TextColor","Lists","Links","Image"],charLimit:700,isNarrowEditor:!0,blockData:t})]})}),(0,h.jsx)(T4,{children:t.items.map((e,n)=>(0,h.jsxs)(T6,{children:[(0,h.jsx)(T7,{children:(0,h.jsx)(de,{name:(e?.icon?.[0]??a).name,displayStyle:t.iconDisplayStyle,bgColor:t.iconBgColor,contextBg:t.bgColor})}),(0,h.jsxs)(T8,{children:[y.default.env.NEXT_PUBLIC_IS_CMS||!e.url?(0,h.jsx)(sU.default,{name:"title",className:"[&_h4]:text-site-headline-sm",value:e.title,list:"items",listKey:n,toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:4,charLimit:45,blockData:t}):(0,h.jsx)($e,{url:e.url,openInNewTab:e.openInNewTab,children:(0,h.jsx)(sU.default,{name:"title",className:"[&_h4]:text-site-headline-sm",value:e.title,list:"items",listKey:n,toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:4,charLimit:45,blockData:t})}),t.showShortDescriptions&&(0,h.jsx)(sU.default,{name:"shortDescription",value:e.shortDescription??"Your short description here",list:"items",listKey:n,toolbarOption:"basic",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","TextColor","Links"],charLimit:400,blockData:t})]})]},e.id))})]}),t.showFeaturedLink&&(0,h.jsx)(lo.FeaturedLink,{href:n.buttons[0].url,blockId:e.id,align:"right",size:"medium",buttonText:n.buttons[0].buttonText,openInNewTab:n.buttons[0].openInNewTab})]})},[cF.BlockTypes.PRIORITIES_GRID]:({block:e,blockData:t})=>{let a=t.icons?.[0]??{name:"IconCheckCircle1"},n=(0,cO.ensureButtonsArray)(t);return(0,h.jsxs)(ls.default,{block:e,bgColor:t.bgColor,children:[(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!(t.showEyebrow||t.headlineOn||t.showDescription),hasStyledWrapper:!0,block:e,blockData:t}),(0,h.jsx)(TX,{className:`${t.showFeaturedLink?"mb-12":""}`,children:t.items.slice(0,t.items.length-t.items.length%2).map((e,n)=>(0,h.jsxs)(b.Fragment,{children:[n%2==0&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(T1,{}),(0,h.jsx)(T1,{})]}),(0,h.jsxs)(TQ,{$showDescription:t.showShortDescriptions,children:[(0,h.jsx)(T2,{$bare:(t.iconDisplayStyle??"none")==="none",children:(0,h.jsx)(de,{name:(e?.icon?.[0]??a).name,displayStyle:t.iconDisplayStyle,bgColor:t.iconBgColor,contextBg:t.bgColor})}),(0,h.jsxs)(T0,{className:"text-section",children:[(0,h.jsx)(sU.default,{name:"title",className:"[&_h2]:text-site-headline-lg",value:e.title,list:"items",listKey:n,toolbarOption:"headlinesOnly",isHeader:!0,headingLevel:2,charLimit:45,blockData:t}),t.showShortDescriptions&&(0,h.jsx)(sU.default,{name:"shortDescription",value:e.shortDescription??"Your short description here",list:"items",listKey:n,toolbarOption:"basic",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","TextColor","Links"],charLimit:400,blockData:t})]})]},e.id)]},e.id))}),t.showFeaturedLink&&(0,h.jsx)(lo.FeaturedLink,{href:n?.buttons[0]?.url,blockId:e.id,align:"right",size:"medium",buttonText:n?.buttons[0]?.buttonText,openInNewTab:n?.buttons[0]?.openInNewTab})]})},[cF.BlockTypes.QUOTE]:({block:e,blockData:t})=>{let{theme:a}=(0,sB.useSiteTheme)(),n=(0,sE.useTheme)(),r=(0,sR.useMediaQuery)(n.breakpoints.down(sA.default.breakpoints.values.sm)),{currentBlockSection:o}=(0,lt.useBlockSection)(e.id,r),i=!!o?.showTopBar,s=!!o?.showBottomBar,l=!!o?.hasInternalTopPadding;return(0,h.jsxs)(ls.default,{block:e,sx:{px:t.layoutType===sk.QUOTE_LAYOUT_TYPE.QUOTE_IMAGE?0:void 0,py:0},bgColor:t.bgColor,className:"callout-block",children:[t.layoutType===sk.QUOTE_LAYOUT_TYPE.QUOTE&&(0,h.jsx)($t,{$corners:a?.corners,$hasTopBorder:i,$hasBottomBorder:s,$hasTopPadding:l,$blockId:e.id,children:(0,h.jsx)("div",{className:"callout-quote-inner-container",children:(0,h.jsx)(sU.default,{name:"text",value:t.text,className:"text align-left-mobile",toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","h5","TextColor","Links"],charLimit:300,blockData:t})})}),t.layoutType===sk.QUOTE_LAYOUT_TYPE.QUOTE_IMAGE&&(0,h.jsx)($a,{$flipContent:t.flipContent,children:(0,h.jsxs)("div",{className:"callout-quote-with-text-wrapper",children:[(0,h.jsx)($n,{$corners:a?.corners,$blockId:e.id,className:"callout-quote-image-text",children:(0,h.jsx)(sU.default,{name:"text",value:t.text,toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","h5","TextColor","Links"],charLimit:300,blockData:t})}),(0,h.jsx)($r,{className:"callout-quote-image",children:(0,h.jsx)(sq,{src:t.image,width:"100%",height:"100%",alt:t.imageAltText||"photo (generic)",isBgImage:!0,objectPosition:`${t.imageAlignment} center`})})]})})]})},[cF.BlockTypes.RED_BOX_TEXT]:({block:e,blockData:t})=>(0,h.jsx)(ls.default,{block:e,maxWidth:"1100px",className:"red-box-text-block",bgColor:t.bgColor,children:(0,h.jsx)($o,{children:(0,h.jsx)(sU.default,{name:"text",value:t.text,toolbarOption:"full",blockData:t})})}),[cF.BlockTypes.RESOURCES_LINKS]:({block:e,blockData:t})=>{let a=(0,cO.ensureButtonsArray)(t),{createUrl:n,navigate:r}=(0,sb.useNavigation)(),o=(0,sE.useTheme)(),{theme:i}=(0,sB.useSiteTheme)(),[s,l]=(0,b.useState)(null),d=(0,sR.useMediaQuery)(o.breakpoints.down(sA.default.breakpoints.values.sm)),c=(0,sR.useMediaQuery)(o.breakpoints.down(sA.default.breakpoints.values.md)),u=d?sk.VOTING_LAYOUT_TYPE.TWO_COL:c?sk.VOTING_LAYOUT_TYPE.STANDARD:t.layoutType,{filteredBgColors:p}=(0,sL.getMissingBgColors)(t.bgColor,t.buttonColor),m=(0,b.useMemo)(()=>
6117u===sk.VOTING_LAYOUT_TYPE.STANDARD,[u]),g=(0,b.useMemo)(()=>t.bgColor,[t.bgColor]);return x9(t.items,t.items.length),(0,h.jsxs)(ls.default,{block:e,bgColor:g,sx:{px:d?void 0:0,position:"relative",overflow:"hidden"},children:[t.showFlourish&&(0,h.jsx)($s,{children:(0,h.jsx)($i.default,{width:"60vw"})}),(0,h.jsxs)($l,{$layoutType:u,rowGap:m?5:void 0,columnGap:m?void 0:5,sx:{mb:t.showFeaturedLink?"3em":0},children:[(t.showDescription||t.showEyebrow)&&(0,h.jsx)($f,{blockData:t,index:0,layoutType:u}),(0,h.jsx)($c,{$layoutType:u,$hasPhotos:t.showResourcePhotos,children:(0,h.jsx)(lr.Box,{display:t.adjustLayout&&!d&&m?"grid":"flex",justifyItems:"center",alignItems:"center",rowGap:"0.5em",sx:t.adjustLayout&&!d&&m?{gridTemplateColumns:{xs:"repeat(12, 1fr)",sm:"repeat(24, 1fr)",md:"repeat(24, 1fr)"},paddingTop:0,columnGap:"0.5em"}:{justifyContent:m?"center":"flex-start",alignItems:"stretch",flexWrap:"wrap",width:"100%",paddingTop:0,columnGap:"0.5em",height:"100%"},children:t.items.slice(0,t.items.length).map((e,a)=>{let o,c=s===e.id;o=t.useOutlinedButtons&&!t.showResourcePhotos?c?`color-${t.buttonColor}`:`color-${t.bgColor}`:c?`color-${p[p.length-1]}`:`color-${t.buttonColor}`;let g=(0,h.jsx)($g,{className:`${o}`,$layoutType:u,$isHovered:c,children:(0,h.jsx)($i.default,{width:"1.5em"})}),f=(0,h.jsxs)($h,{className:`${o} resource`,$corners:i?.corners,$hasPhotos:t.showResourcePhotos,$useOutlinedButtons:t.useOutlinedButtons,$buttonColor:t.buttonColor,$layoutType:u,onMouseEnter:()=>l(e.id),onMouseLeave:()=>l(null),children:[t.showResourcePhotos&&e.image&&(0,h.jsx)($p,{children:(0,h.jsx)(sq,{width:"100%",height:"100%",src:e.image,alt:e.imageAltText||`${(0,cA.stripHtml)(e.title).result}`,title:(0,cA.stripHtml)(e.title).result})}),(0,h.jsxs)($m,{$hasPhotos:t.showResourcePhotos,children:[(0,h.jsx)(sU.default,{value:e.title,name:"title",className:"[&_h5]:text-site-headline-xxs",toolbarOption:"headlinesOnly",charLimit:45,isHeader:!0,headingLevel:5,list:"items",listKey:a,blockData:t}),(0,h.jsx)($g,{className:`${o}`,$layoutType:u,$isHovered:c,children:(0,h.jsx)($i.default,{width:"1.5em"})})]})]});return y.default.env.NEXT_PUBLIC_IS_CMS?(0,h.jsxs)($u,{className:`${o} resource`,$corners:i?.corners,$buttonColor:t.buttonColor,$buttonHoverColor:p[p.length-1],$useOutlinedButtons:t.useOutlinedButtons,$layoutType:u,$hasPhotos:t.showResourcePhotos,sx:t.adjustLayout&&!d&&m?{gridColumn:{xs:"span 12",sm:`${0===e.offset?"":`${e.offset} / `}span 6`},width:"100%",height:"100%"}:{width:m?{md:"calc(25% - 0.375em)",sm:"calc(25% - 0.375em)",xs:"50%"}:"calc(50% - 0.25em)"},onMouseEnter:()=>l(e.id),onMouseLeave:()=>l(null),children:[t.showResourcePhotos&&e.image&&(0,h.jsx)($p,{children:(0,h.jsx)(sq,{width:"100%",height:"100%",src:e.image,alt:e.imageAltText||`${(0,cA.stripHtml)(e.title).result}`,title:(0,cA.stripHtml)(e.title).result,objectPosition:`${t.items[a].imageAlignment} center`})}),(0,h.jsxs)($m,{$hasPhotos:t.showResourcePhotos,children:[(0,h.jsx)(sU.default,{value:e.title,name:"title",className:"[&_h5]:text-site-headline-xxs",toolbarOption:"headlinesOnly",charLimit:45,isHeader:!0,headingLevel:5,list:"items",listKey:a,blockData:t}),(()=>{let{as:t,isExternal:a}=n({url:e.url||""});return e.url?(0,h.jsx)("a",{href:t,target:a?"_blank":void 0,rel:a?"noopener noreferrer":void 0,onClick:a?void 0:t=>{t.preventDefault(),r({url:e.url})},children:(0,h.jsx)("div",{children:g})},e.id):(0,h.jsx)("span",{children:g},e.id)})()]})]},e.id):(0,h.jsx)(lr.Box,{sx:t.adjustLayout&&"STANDARD"===u&&!d?{gridColumn:{xs:"span 12",sm:`${0===e.offset?"":`${e.offset} / `}span 6`},width:"100%",height:"100%"}:{width:m?{md:"calc(25% - 0.375em)",sm:"calc(25% - 0.375em)",xs:"calc(50% - 0.25em)"}:"calc(50% - 0.25em)"},onMouseEnter:()=>l(e.id),onMouseLeave:()=>l(null),children:(()=>{let{as:t,isExternal:a}=n({url:e.url||""}),o=a?void 0!==e.openInNewTab?e.openInNewTab?"_blank":void 0:"_blank":void 0;return e.url?(0,h.jsx)("a",{href:t,target:o,rel:a?"noopener noreferrer":void 0,onClick:a?void 0:t=>{t.preventDefault(),r({url:e.url})},children:f}):(0,h.jsx)(h.Fragment,{children:f})})()},e.id)})})})]}),t.showFeaturedLink&&(0,h.jsx)(lo.FeaturedLink,{href:a?.buttons[0]?.url,blockId:e.id,align:"center",size:"medium",buttonText:a?.buttons[0]?.buttonText,openInNewTab:a?.buttons[0]?.openInNewTab})]})},[cF.BlockTypes.SHORT_FORM]:vb,[cF.BlockTypes.TESTIMONIALS]:({block:e,blockData:t})=>{let a=(0,cO.ensureButtonsArray)(t),n=(0,sE.useTheme)(),r=(0,sR.useMediaQuery)(n.breakpoints.down(sA.default.breakpoints.values.md)),o=(0,sR.useMediaQuery)(n.breakpoints.down(sA.default.breakpoints.values.sm)),i={hasBorder:!0,hasDoubleBorder:!0!==t.dropShadow&&"bg0"===t.bgColor,borderColor:"white",borderWidth:"10px",outlineColor:"var(--color-flourish-primary)",outlineWidth:"2px",outlineOffset:"-12px"},s=t.dropShadow?"0px 12px 18px -6px rgb(0 0 0 / 30%)":void 0;return(0,h.jsxs)(ls.default,{block:e,bgColor:t.bgColor,maxWidth:`${n.breakpoints.values.xl}px`,children:[(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!(t.showEyebrow||t.headlineOn||t.showDescription),hasStyledWrapper:!0,block:e,blockData:t}),(0,h.jsx)(li.Grid,{container:!0,spacing:{xs:4,sm:6,md:4,lg:4},children:t.items?.map((a,n)=>(0,h.jsx)(li.Grid,{item:!0,xs:12,children:(0,h.jsx)($x,{children:(0,h.jsxs)($S,{$flexDirection:t.alternateLayouts&&n%2==1?t.flipContent?"row":"row-reverse":t.flipContent?"row-reverse":"row",children:[(0,h.jsx)(lr.Box,{sx:{display:"flex",flexDirection:"column",justifyContent:"flex-start"},children:(0,h.jsx)($w,{children:(0,h.jsx)(sq,{width:`${o?$y:`calc(${r?$b:$v} + var(--slider-testimonials-image-size-${e.id}, 0) / 10 * 1vw)`}`,height:`${o?$y:`calc(${r?$b:$v} + var(--slider-testimonials-image-size-${e.id}, 0) / 10 * 1vw)`}`,src:a.image,alt:a.imageAltText||(0,di.stripHtml)(a.title)||"Photo of person",isRound:!0,border:i,dropShadow:s})})}),(0,h.jsxs)(lr.Box,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",flexGrow:1},children:[(0,h.jsx)($C,{item:!0,$showNames:t.showNames,children:(0,h.jsx)(sU.default,{name:"quote",className:"quote align-left-mobile",value:a.quote,list:"items",listKey:n,toolbarOption:"custom",toolbarComponents:["Bold","Italic","Underline","Strike","Superscript","h4","TextColor","ToggleClass","Links"],charLimit:1e3,blockData:t})}),t.showNames&&(0,h.jsx)($T,{item:!0,alignSelf:{md:"flex-start",sm:"flex-start",xs:"center"},className:`${t.wrapNames?"wrap-names":""}`,children:(0,h.jsx)(sU.default,{className:"[&_h6]:text-site-body-sm [&_h6]:mb-0",name:"title",value:a.title,list:"items",listKey:n,charLimit:80,headingLevel:6,isHeader:!0,toolbarOption:"none",minWidth:"30px",blockData:t})})]})]})})},`${n}-${a.image}-${a.title}`))}),t.showFeaturedLink&&(0,h.jsx)(lo.FeaturedLink,{href:a?.buttons[0]?.url,blockId:e.id,variant:"underline",align:"center",size:"medium",hasMarginTop:!0,buttonText:a?.buttons[0]?.buttonText,openInNewTab:a?.buttons[0]?.openInNewTab})]})},[cF.BlockTypes.TEXT_WITH_SIDEBAR]:({block:e,blockData:t})=>{let a=(0,sE.useTheme)(),{theme:n}=(0,sB.useSiteTheme)(),r=(0,sR.useMediaQuery)(a.breakpoints.down(sA.default.breakpoints.values.sm)),o=t.icons?.[0]??{name:"IconCheckCircle1"};return(0,h.jsx)(ls.default,{block:e,sx:{pr:0},bgColor:t.bgColor,children:(0,h.jsxs)($E,{$corners:n?.corners,$innerBg:t.innerBgColor,$outerBg:t.bgColor,children:[(0,h.jsx)("div",{className:"description-wrapper",children:(0,h.jsx)(sU.default,{name:"description",value:t.description||"",toolbarOption:"full",isNarrowEditor:!0})}),(0,h.jsxs)("aside",{className:`sidebar color-${r?t.bgColor:t.innerBgColor}`,children:[(0,h.jsx)(sU.default,{className:"[&_h4]:text-site-headline-xs [&_h4]:mb-[0.7em]",name:"sidebarTitle",toolbarOption:"headlinesOnly",value:t.sidebarTitle||"",alignToolbarRight:!0,isHeader:!0,headingLevel:4,charLimit:150,blockData:t}),t.showDescription&&(0,h.jsx)("div",{className:"sidebar-description",children:(0,h.jsx)(sU.default,{name:"sidebarDescription",charLimit:150,toolbarOption:"basic",value:t.sidebarDescription||"",alignToolbarRight:!0,blockData:t})}),(0,h.jsx)(x$.List,{children:t?.items?.map((e,a)=>(0,h.jsxs)(lZ,{children:[(0,h.jsx)($I,{children:(0,h.jsx)(de,{name:(e?.icon?.[0]??o).name,displayStyle:t.iconDisplayStyle,bgColor:t.iconBgColor,contextBg:t.innerBgColor})}),(0,h.jsx)(sU.default,{name:"value",value:e.value||"",list:"items",listKey:a,charLimit:150,toolbarOption:"basic",alignToolbarRight:!0,blockData:t})]},`${e.id}-${a}`))})]})]})})},[cF.BlockTypes.TIMELINE]:({block:e,blockData:t})=>(0,h.jsxs)(ls.default,{block:e,bgColor:t.bgColor,children:[(0,h.jsx)(lb,{block:e,blockData:t,hasStyledWrapper:!0}),(0,h.jsxs)($N,{children:[(0,h.jsx)($_,{}),t.items?.map((e,a)=>(0,h.jsxs)($k,{children:[(0,h.jsx)(sU.default,{name:"title",className:"font-header text-site-headline-xl [&_p]:text-site-headline-xl mb-0 font-black uppercase text-[color:var(--color-headline-secondary)] [&_p]:mb-0 [&_p]:[color:var(--color-headline-secondary)]",value:e.title||"",toolbarOption:"headlinesOnly",list:"items",listKey:a,charLimit:20,blockData:t}),(0,h.jsx)(sU.default,{name:"value",value:e.value||"",list:"items",listKey:a,charLimit:350,toolbarOption:"basic",blockData:t})]},`${e.id}-${a}`))]})]}),[cF.BlockTypes.TWITTER]:Ne,[cF.BlockTypes.VIDEO]:({block:e,blockData:t})=>{let{theme:a}=(0,sB.useSiteTheme)(),n=(0,sE.useTheme)(),r=(0,sR.useMediaQuery)(n.breakpoints.down(sA.default.breakpoints.values.sm)),o=(0,sR.useMediaQuery)(n.breakpoints.down(sA.default.breakpoints.values.md)),{width:i}=(0,bv.useEllipseImageScaling)(16/9,10,20),s=(0,b.useMemo)(()=>
6117r?sk.VIDEO_LAYOUT_TYPE.SINGLE:o&&t.layoutType===sk.VIDEO_LAYOUT_TYPE.GRID?sk.VIDEO_LAYOUT_TYPE.TWO:t.layoutType,[r,o,t.layoutType]),l=(0,b.useMemo)(()=>{switch(s){case sk.VIDEO_LAYOUT_TYPE.SINGLE:return $O;case sk.VIDEO_LAYOUT_TYPE.TWO:return $R;case sk.VIDEO_LAYOUT_TYPE.GRID:return $B;default:return $O}},[s]),d=!o&&!r&&"3"===t.numGridColumns;return x9(d?t.items:[],d?t.items.length:0,3*!!d),(0,h.jsxs)(ls.default,{block:e,bgColor:t.bgColor,children:[(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!(t.showEyebrow||t.headlineOn||t.showDescription),hasStyledWrapper:!0,block:e,blockData:t}),s===sk.VIDEO_LAYOUT_TYPE.GRID?(0,h.jsx)(l,{className:`color-${t.overlayBgColor}`,$corners:a?.corners,$hasBackgroundImage:t.showBackgroundImage&&!r,$hasTopPadding:!0,$hasShareLinks:t.items.some(e=>e.shareLinks.length>0),$isMobile:r,$isLast:!1,display:o||"3"!==t.numGridColumns?"flex":"grid",justifyItems:"center",alignItems:"center",rowGap:"2vw",columnGap:"2vw",$numColumns:"3"===t.numGridColumns?3:2,sx:o||"3"!==t.numGridColumns?{color:"var(--color-text)",justifyContent:"center",alignItems:"center",flexWrap:"wrap",width:"100%",paddingTop:0}:{color:"var(--color-text)",gridTemplateColumns:"repeat(24, 1fr)",paddingTop:0},children:t.items.map((e,a)=>(0,h.jsxs)(lr.Box,{className:"video-item",id:`video-item-${e.id}`,sx:o||"3"!==t.numGridColumns?{width:{md:"39vw",sm:`${2*i}vw`,xs:"100%"}}:{gridColumn:{md:`${0===e.offset?"":`${e.offset} / `}span 8`}},children:[(0,h.jsx)(lr.Box,{className:"video-image",children:(0,h.jsx)($P,{layoutType:s,video:e,isMobile:r,isTablet:o,index:a,displayIconButton:!1,numColumns:"3"===t.numGridColumns?3:2,playButtonColor:t.playButtonColor,blockData:t,usePreviewImage:t.usePreviewImage,playInline:!1})}),e.showEyebrow&&(0,h.jsx)("div",{className:`overlay-content [&_h6]:text-white ${"3"===t.numGridColumns?"[&_h6]:text-site-body-xs":"[&_h6]:text-site-body-sm"}`,children:(0,h.jsx)("div",{className:"text-wrapper",children:(0,h.jsx)("div",{className:"eyebrow",dangerouslySetInnerHTML:{__html:(0,fy.sanitizeBlockHtml)(e.eyebrow||"")}})})}),(0,h.jsxs)("div",{className:`content ${e.showEyebrow?"has-eyebrow":""}`,children:[(0,h.jsx)($L,{video:e,index:a,layoutType:s,blockData:t}),e.shareLinks.length>0&&(0,h.jsx)($D,{video:e,index:a,blockData:t})]}),!r&&(0,h.jsx)(s0,{alt:e.imageAltText||"Video component image",embedCode:e.embedCode,url:e.url,linkToUrl:e.linkToUrl,openInNewTab:e.openInNewTab,width:"auto",height:"auto",displayIconButton:!0,playButtonColor:t.playButtonColor,hasMaxHeight:!0,bgColor:t.overlayBgColor,playInline:!1},a)]},`${e.id}-${a}`))}):(0,h.jsx)(h.Fragment,{children:t.items.map((e,n)=>(0,h.jsxs)(l,{$corners:a?.corners,$hasBackgroundImage:t.showBackgroundImage&&!r,$hasTopPadding:0===n,$hasShareLinks:e.shareLinks.length>0,$isMobile:r,$isLast:n===t.items.length-1,$isOnlyVideo:1===t.items.length,children:[!r&&s===sk.VIDEO_LAYOUT_TYPE.TWO&&(e.showEyebrow||e.showVideoDescription)&&(0,h.jsxs)("div",{className:"video-item",id:`video-item-${e.id}`,children:[(0,h.jsx)($L,{video:e,index:n,layoutType:s,blockData:t}),s===sk.VIDEO_LAYOUT_TYPE.TWO&&e.shareLinks.length>0&&(0,h.jsx)($D,{video:e,index:n,blockData:t})]}),(r||s===sk.VIDEO_LAYOUT_TYPE.SINGLE)&&(e.showEyebrow||e.showVideoDescription)&&(0,h.jsx)("div",{className:"video-item video-item-text",id:`video-item-${e.id}-text`,children:(0,h.jsx)($L,{video:e,index:n,layoutType:s,blockData:t})}),(0,h.jsx)(lr.Box,{className:"video-image",sx:{mb:2*(s===sk.VIDEO_LAYOUT_TYPE.SINGLE)},children:(0,h.jsx)($P,{layoutType:s,video:e,isMobile:r,isTablet:o,index:n,playButtonColor:t.playButtonColor,blockData:t,usePreviewImage:t.usePreviewImage,playInline:e.playInline??!1})}),(r||s===sk.VIDEO_LAYOUT_TYPE.SINGLE)&&e.shareLinks.length>0&&(0,h.jsx)("div",{className:"video-item video-item-share",id:`video-item-${e.id}-share`,children:(0,h.jsx)($D,{video:e,index:n,blockData:t})})]},`${e.id}-${n}`))})]})},[cF.BlockTypes.VOTING]:({block:e,blockData:t})=>{let a=(0,cO.ensureButtonsArray)(t),n=(0,sE.useTheme)(),{theme:r}=(0,sB.useSiteTheme)(),o=(0,b.useId)(),i=(0,$j.usePopupState)({variant:"dialog",popupId:o}),[s,l]=(0,vR.useBoolean)(!1),d=(0,sR.useMediaQuery)(n.breakpoints.down(sA.default.breakpoints.values.sm)),c=(0,sR.useMediaQuery)(n.breakpoints.down(sA.default.breakpoints.values.md)),{prevBlockSection:u,currentBlockSection:p,nextBlockSection:m}=(0,lt.useBlockSection)(e.id,d),g=d?sk.VOTING_LAYOUT_TYPE.TWO_COL:c?sk.VOTING_LAYOUT_TYPE.STANDARD:t.layoutType,{filteredBgColors:f}=(0,sL.getMissingBgColors)(t.bgColor,t.iconBgColor,t.barColor);(0,b.useEffect)(()=>
6117{l(m?.bgColor===p?.bottomBgColor)},[u,p,m]);let v=(0,b.useMemo)(()=>t.bgColor,[t.bgColor]);x9(t.links,t.links.length);let y=(0,b.useMemo)(()=>Math.max(5,(t.bannerText?.length??0)*(t.showStars?.875:.75)),[t.bannerText,t.showStars]);return(0,h.jsxs)(ls.default,{block:e,bgColor:v,sx:{px:d?void 0:0},children:[t.showBanner&&!d&&!c&&u?.bgColor!==v&&(0,h.jsx)($J,{$bannerLength:y,$bannerColor:f[f.length-1],className:`voting-banner color-${f[f.length-1]}`,children:(0,h.jsxs)("div",{className:"banner-strip",children:[t.showStars&&(0,h.jsx)(dv.default,{className:"star-left"}),(0,h.jsx)("div",{className:"banner-text",children:t.bannerText}),t.showStars&&(0,h.jsx)(dv.default,{className:"star-right"})]})}),(0,h.jsx)(lb,{disablePadding:!0,disableMargin:!(t.showEyebrow||t.headlineOn||t.showDescription),hasStyledWrapper:!0,block:e,blockData:t}),(0,h.jsxs)($q,{$layoutType:g,sx:{mb:t.showFeaturedLink&&g===sk.VOTING_LAYOUT_TYPE.STANDARD?"3em":0},children:[(0,h.jsx)($Y,{blockData:t,layoutType:g,theme:r,nextBlockSection:m,flourishMatchesNextBgColor:s,filteredBgColors:f,popupState:i,size:"6em",marginBottom:g===sk.VOTING_LAYOUT_TYPE.STANDARD?"0.75em":"0.25em"}),(0,h.jsx)($K,{blockData:t,layoutType:g,theme:r,isMobile:d})]}),t.showFeaturedLink&&(0,h.jsx)(lr.Box,{sx:{mt:"3em"},children:(0,h.jsx)(lo.FeaturedLink,{href:a?.buttons[0]?.url,blockId:e.id,align:"center",size:"medium",buttonText:a?.buttons[0]?.buttonText,openInNewTab:a?.buttons[0]?.openInNewTab})})]})}},Nn=e=>({...e,createdAt:"string"==typeof e.createdAt?e.createdAt:e.createdAt?.toISOString?.()||new Date().toISOString(),tags:e.tags||null}),Nr=(0,sW.styled)("div",{label:"SiteWrapper"})`
6118  font-size: var(--tw-font-size-body);
6119  -webkit-text-size-adjust: none;
6120  -moz-osx-font-smoothing: grayscale;
6121  -webkit-font-smoothing: antialiased;
6122  font-weight: var(--font-weight-regular);
6123
6124  * {
6125    transition-duration: 0.2s; /* TODO(mime) */
6126    transition-property:
6127      background-color, fill, padding, transform, bottom, border-color, color;
6128    word-break: break-word;
6129  }
6130
6131  .section-bg0-color:not(.no-collapse) + .section-bg0-color .twitter-box,
6132  .section-bg1-color:not(.no-collapse) + .section-bg1-color .twitter-box,
6133  .section-bg2-color:not(.no-collapse) + .section-bg2-color .twitter-box,
6134  .section-bg3-color:not(.no-collapse) + .section-bg3-color .twitter-box,
6135  .section-bg4-color:not(.no-collapse) + .section-bg4-color .twitter-box,
6136  .section-bg0-color:not(.no-collapse) + .section-bg0-color .bluesky-box,
6137  .section-bg1-color:not(.no-collapse) + .section-bg1-color .bluesky-box,
6138  .section-bg2-color:not(.no-collapse) + .section-bg2-color .bluesky-box,
6139  .section-bg3-color:not(.no-collapse) + .section-bg3-color .bluesky-box,
6140  .section-bg4-color:not(.no-collapse) + .section-bg4-color .bluesky-box {
6141    padding-top: 0;
6142  }
6143
6144  .section-bg0-color + .section-bg0-color .TweetDecorator-wrapper,
6145  .section-bg1-color + .section-bg1-color .TweetDecorator-wrapper,
6146  .section-bg2-color + .section-bg2-color .TweetDecorator-wrapper,
6147  .section-bg3-color + .section-bg3-color .TweetDecorator-wrapper,
6148  .section-bg4-color + .section-bg4-color .TweetDecorator-wrapper,
6149  .section-bg0-color + .section-bg0-color .PostDecorator-wrapper,
6150  .section-bg1-color + .section-bg1-color .PostDecorator-wrapper,
6151  .section-bg2-color + .section-bg2-color .PostDecorator-wrapper,
6152  .section-bg3-color + .section-bg3-color .PostDecorator-wrapper,
6153  .section-bg4-color + .section-bg4-color .PostDecorator-wrapper {
6154    ${({theme:e})=>e.breakpoints.down("md")} {
6155      left: 12vw;
6156    }
6157    ${({theme:e})=>e.breakpoints.down("sm")} {
6158      left: 13vw;
6159    }
6160  }
6161
6162  .section-bg0-color.no-collapse + .section-bg0-color .TweetDecorator,
6163  .section-bg1-color.no-collapse + .section-bg1-color .TweetDecorator,
6164  .section-bg2-color.no-collapse + .section-bg2-color .TweetDecorator,
6165  .section-bg3-color.no-collapse + .section-bg3-color .TweetDecorator,
6166  .section-bg4-color.no-collapse + .section-bg4-color .TweetDecorator,
6167  .section-bg0-color.no-collapse + .section-bg0-color .PostDecorator,
6168  .section-bg1-color.no-collapse + .section-bg1-color .PostDecorator,
6169  .section-bg2-color.no-collapse + .section-bg2-color .PostDecorator,
6170  .section-bg3-color.no-collapse + .section-bg3-color .PostDecorator,
6171  .section-bg4-color.no-collapse + .section-bg4-color .PostDecorator {
6172    top: 6.5vw;
6173    ${({theme:e})=>e.breakpoints.down("sm")} {
6174      // top: calc(var(--standard-padding-vert) * -1 + 7vw - 1px);
6175      top: 5.5em;
6176    }
6177  }
6178
6179  .section-bg0-color.no-collapse
6180    + .section-bg0-color.small-padding
6181    .TweetDecorator,
6182  .section-bg1-color.no-collapse
6183    + .section-bg1-color.small-padding
6184    .TweetDecorator,
6185  .section-bg2-color.no-collapse
6186    + .section-bg2-color.small-padding
6187    .TweetDecorator,
6188  .section-bg3-color.no-collapse
6189    + .section-bg3-color.small-padding
6190    .TweetDecorator,
6191  .section-bg4-color.no-collapse
6192    + .section-bg4-color.small-padding
6193    .TweetDecorator,
6194  .section-bg0-color.no-collapse
6195    + .section-bg0-color.small-padding
6196    .PostDecorator,
6197  .section-bg1-color.no-collapse
6198    + .section-bg1-color.small-padding
6199    .PostDecorator,
6200  .section-bg2-color.no-collapse
6201    + .section-bg2-color.small-padding
6202    .PostDecorator,
6203  .section-bg3-color.no-collapse
6204    + .section-bg3-color.small-padding
6205    .PostDecorator,
6206  .section-bg4-color.no-collapse
6207    + .section-bg4-color.small-padding
6208    .PostDecorator {
6209    top: 4vw;
6210    ${({theme:e})=>e.breakpoints.down("sm")} {
6211      // top: calc(var(--standard-padding-vert) * -1 + 7vw - 1px);
6212      top: 5.5em;
6213    }
6214  }
6215
6216  .section-bg0-color + .section-bg1-color .TweetDecorator,
6217  .section-bg0-color + .section-bg1-color .PostDecorator {
6218    & path:nth-of-type(1) {
6219      fill: var(--color-bg0-bg1-border-secondary);
6220    }
6221    & path:nth-of-type(2) {
6222      fill: var(--color-bg0-bg1-border-primary);
6223    }
6224    & path:nth-of-type(3) {
6225      fill: var(--color-bg0-bg1-border-primary-text);
6226    }
6227  }
6228
6229  .section-bg0-color + .section-bg2-color .TweetDecorator,
6230  .section-bg0-color + .section-bg2-color .PostDecorator {
6231    & path:nth-of-type(1) {
6232      fill: var(--color-bg0-bg2-border-secondary);
6233    }
6234    & path:nth-of-type(2) {
6235      fill: var(--color-bg0-bg2-border-primary);
6236    }
6237    & path:nth-of-type(3) {
6238      fill: var(--color-bg0-bg2-border-primary-text);
6239    }
6240  }
6241
6242  .section-bg0-color + .section-bg3-color .TweetDecorator,
6243  .section-bg0-color + .section-bg3-color .PostDecorator {
6244    & path:nth-of-type(1) {
6245      fill: var(--color-bg0-bg3-border-secondary);
6246    }
6247    & path:nth-of-type(2) {
6248      fill: var(--color-bg0-bg3-border-primary);
6249    }
6250    & path:nth-of-type(3) {
6251      fill: var(--color-bg0-bg3-border-primary-text);
6252    }
6253  }
6254
6255  .section-bg0-color + .section-bg4-color .TweetDecorator,
6256  .section-bg0-color + .section-bg4-color .PostDecorator {
6257    & path:nth-of-type(1) {
6258      fill: var(--color-bg0-bg4-border-secondary);
6259    }
6260    & path:nth-of-type(2) {
6261      fill: var(--color-bg0-bg4-border-primary);
6262    }
6263    & path:nth-of-type(3) {
6264      fill: var(--color-bg0-bg4-border-primary-text);
6265    }
6266  }
6267
6268  .section-bg1-color + .section-bg0-color .TweetDecorator,
6269  .section-bg1-color + .section-bg0-color .PostDecorator {
6270    & path:nth-of-type(1) {
6271      fill: var(--color-bg1-bg0-border-secondary);
6272    }
6273    & path:nth-of-type(2) {
6274      fill: var(--color-bg1-bg0-border-primary);
6275    }
6276    & path:nth-of-type(3) {
6277      fill: var(--color-bg1-bg0-border-primary-text);
6278    }
6279  }
6280
6281  .section-bg1-color + .section-bg2-color .TweetDecorator,
6282  .section-bg1-color + .section-bg2-color .PostDecorator {
6283    & path:nth-of-type(1) {
6284      fill: var(--color-bg1-bg2-border-secondary);
6285    }
6286    & path:nth-of-type(2) {
6287      fill: var(--color-bg1-bg2-border-primary);
6288    }
6289    & path:nth-of-type(3) {
6290      fill: var(--color-bg1-bg2-border-primary-text);
6291    }
6292  }
6293
6294  .section-bg1-color + .section-bg3-color .TweetDecorator,
6295  .section-bg1-color + .section-bg3-color .PostDecorator {
6296    & path:nth-of-type(1) {
6297      fill: var(--color-bg1-bg3-border-secondary);
6298    }
6299    & path:nth-of-type(2) {
6300      fill: var(--color-bg1-bg3-border-primary);
6301    }
6302    & path:nth-of-type(3) {
6303      fill: var(--color-bg1-bg3-border-primary-text);
6304    }
6305  }
6306
6307  .section-bg1-color + .section-bg4-color .TweetDecorator,
6308  .section-bg1-color + .section-bg4-color .PostDecorator {
6309    & path:nth-of-type(1) {
6310      fill: var(--color-bg1-bg4-border-secondary);
6311    }
6312    & path:nth-of-type(2) {
6313      fill: var(--color-bg1-bg4-border-primary);
6314    }
6315    & path:nth-of-type(3) {
6316      fill: var(--color-bg1-bg4-border-primary-text);
6317    }
6318  }
6319
6320  .section-bg2-color + .section-bg0-color .TweetDecorator,
6321  .section-bg2-color + .section-bg0-color .PostDecorator {
6322    & path:nth-of-type(1) {
6323      fill: var(--color-bg2-bg0-border-secondary);
6324    }
6325    & path:nth-of-type(2) {
6326      fill: var(--color-bg2-bg0-border-primary);
6327    }
6328    & path:nth-of-type(3) {
6329      fill: var(--color-bg2-bg0-border-primary-text);
6330    }
6331  }
6332
6333  .section-bg2-color + .section-bg1-color .TweetDecorator,
6334  .section-bg2-color + .section-bg1-color .PostDecorator {
6335    & path:nth-of-type(1) {
6336      fill: var(--color-bg2-bg1-border-secondary);
6337    }
6338    & path:nth-of-type(2) {
6339      fill: var(--color-bg2-bg1-border-primary);
6340    }
6341    & path:nth-of-type(3) {
6342      fill: var(--color-bg2-bg1-border-primary-text);
6343    }
6344  }
6345
6346  .section-bg2-color + .section-bg3-color .TweetDecorator,
6347  .section-bg2-color + .section-bg3-color .PostDecorator {
6348    & path:nth-of-type(1) {
6349      fill: var(--color-bg2-bg3-border-secondary);
6350    }
6351    & path:nth-of-type(2) {
6352      fill: var(--color-bg2-bg3-border-primary);
6353    }
6354    & path:nth-of-type(3) {
6355      fill: var(--color-bg2-bg3-border-primary-text);
6356    }
6357  }
6358
6359  .section-bg2-color + .section-bg4-color .TweetDecorator,
6360  .section-bg2-color + .section-bg4-color .PostDecorator {
6361    & path:nth-of-type(1) {
6362      fill: var(--color-bg2-bg4-border-secondary);
6363    }
6364    & path:nth-of-type(2) {
6365      fill: var(--color-bg2-bg4-border-primary);
6366    }
6367    & path:nth-of-type(3) {
6368      fill: var(--color-bg2-bg4-border-primary-text);
6369    }
6370  }
6371
6372  .section-bg3-color + .section-bg0-color .TweetDecorator,
6373  .section-bg3-color + .section-bg0-color .PostDecorator {
6374    & path:nth-of-type(1) {
6375      fill: var(--color-bg3-bg0-border-secondary);
6376    }
6377    & path:nth-of-type(2) {
6378      fill: var(--color-bg3-bg0-border-primary);
6379    }
6380    & path:nth-of-type(3) {
6381      fill: var(--color-bg3-bg0-border-primary-text);
6382    }
6383  }
6384
6385  .section-bg3-color + .section-bg1-color .TweetDecorator,
6386  .section-bg3-color + .section-bg1-color .PostDecorator {
6387    & path:nth-of-type(1) {
6388      fill: var(--color-bg3-bg1-border-secondary);
6389    }
6390    & path:nth-of-type(2) {
6391      fill: var(--color-bg3-bg1-border-primary);
6392    }
6393    & path:nth-of-type(3) {
6394      fill: var(--color-bg3-bg1-border-primary-text);
6395    }
6396  }
6397
6398  .section-bg3-color + .section-bg2-color .TweetDecorator,
6399  .section-bg3-color + .section-bg2-color .PostDecorator {
6400    & path:nth-of-type(1) {
6401      fill: var(--color-bg3-bg2-border-secondary);
6402    }
6403    & path:nth-of-type(2) {
6404      fill: var(--color-bg3-bg2-border-primary);
6405    }
6406    & path:nth-of-type(3) {
6407      fill: var(--color-bg3-bg2-border-primary-text);
6408    }
6409  }
6410
6411  .section-bg3-color + .section-bg4-color .TweetDecorator,
6412  .section-bg3-color + .section-bg4-color .PostDecorator {
6413    & path:nth-of-type(1) {
6414      fill: var(--color-bg3-bg4-border-secondary);
6415    }
6416    & path:nth-of-type(2) {
6417      fill: var(--color-bg3-bg4-border-primary);
6418    }
6419    & path:nth-of-type(3) {
6420      fill: var(--color-bg3-bg4-border-primary-text);
6421    }
6422  }
6423
6424  .section-bg4-color + .section-bg0-color .TweetDecorator,
6425  .section-bg4-color + .section-bg0-color .PostDecorator {
6426    & path:nth-of-type(1) {
6427      fill: var(--color-bg4-bg0-border-secondary);
6428    }
6429    & path:nth-of-type(2) {
6430      fill: var(--color-bg4-bg0-border-primary);
6431    }
6432    & path:nth-of-type(3) {
6433      fill: var(--color-bg4-bg0-border-primary-text);
6434    }
6435  }
6436
6437  .section-bg4-color + .section-bg1-color .TweetDecorator,
6438  .section-bg4-color + .section-bg1-color .PostDecorator {
6439    & path:nth-of-type(1) {
6440      fill: var(--color-bg4-bg1-border-secondary);
6441    }
6442    & path:nth-of-type(2) {
6443      fill: var(--color-bg4-bg1-border-primary);
6444    }
6445    & path:nth-of-type(3) {
6446      fill: var(--color-bg4-bg1-border-primary-text);
6447    }
6448  }
6449
6450  .section-bg4-color + .section-bg2-color .TweetDecorator,
6451  .section-bg4-color + .section-bg2-color .PostDecorator {
6452    & path:nth-of-type(1) {
6453      fill: var(--color-bg4-bg2-border-secondary);
6454    }
6455    & path:nth-of-type(2) {
6456      fill: var(--color-bg4-bg2-border-primary);
6457    }
6458    & path:nth-of-type(3) {
6459      fill: var(--color-bg4-bg2-border-primary-text);
6460    }
6461  }
6462
6463  .section-bg4-color + .section-bg3-color .TweetDecorator,
6464  .section-bg4-color + .section-bg3-color .PostDecorator {
6465    & path:nth-of-type(1) {
6466      fill: var(--color-bg4-bg3-border-secondary);
6467    }
6468    & path:nth-of-type(2) {
6469      fill: var(--color-bg4-bg3-border-primary);
6470    }
6471    & path:nth-of-type(3) {
6472      fill: var(--color-bg4-bg3-border-primary-text);
6473    }
6474  }
6475`,No=({siteGroupId:e,fontHeader:t,fontBody:a,fontButton:n})=>{let{data:r}=s2.trpc.customFont.byCustomFontId.useQuery({siteGroupId:e},{enabled:!!e}),{data:o}=s2.trpc.fontFile.bySiteGroupId.useQuery({siteGroupId:e},{enabled:!!e});(0,le.useEffect)(()=>{var e;if(!o||0===o.length)return;let r=[t,a,n].filter(Boolean),i=document.querySelector('style[data-font-css="critical"]'),s=new Set(Array.from((i?.textContent||"").matchAll(/font-family:\s*(?:"([^"]+)"|'([^']+)'|([^;"'{}]+));/g)).map(e=>(e[1]??e[2]??e[3])?.trim()).filter(Boolean)),l=o.filter(e=>r.includes(e.fontFamily)&&!s.has(e.fontFamily));if(0===l.length)return;let d="run-font-files-css",c=document.getElementById(d),u=(e=l.map(Nn))&&0!==e.length?e.map(e=>{let t,a=(t=e.path,`https://incvkhbqobmwcwauulqp.supabase.co/storage/v1/object/public/fonts/${t}`),n=e.path.split(".").pop()?.toLowerCase()||"",r=e.fontFamily.includes(" ")?`"${e.fontFamily}"`:e.fontFamily;return`@font-face {
6476  font-family: ${r};
6477  font-style: ${e.fontStyle};
6478  font-weight: ${e.fontWeight};
6479  src: url('${a}') format('${({woff:"woff",woff2:"woff2",ttf:"truetype",otf:"opentype",eot:"embedded-opentype"})[n]||"truetype"}');
6480  font-display: swap;${I0(e)}
6481}`}).join("\n\n"):"";c||((c=document.createElement("style")).id=d,c.type="text/css",document.head.appendChild(c)),c.textContent!==u&&(c.textContent=u,l.forEach(e=>{let t=`https://incvkhbqobmwcwauulqp.supabase.co/storage/v1/object/public/fonts/${e.path}`,a=`font-preload-${e.path?.replace(/[^a-zA-Z0-9]/g,"-")}`;if(!document.getElementById(a)){let n=document.createElement("link");n.id=a,n.rel="preload",n.href=t,n.as="font",n.type="font/"+(e.format||"woff2"),n.crossOrigin="anonymous",document.head.insertBefore(n,document.head.firstChild)}}))},[o,t,a,n]);let i=(0,le.useMemo)(()=>Object.entries(r?.adjustments??{}).map(([e,t])=>({fontFamily:e,lineHeightAdjustPct:t?.lineHeightAdjustPct,sizeAdjustPct:t?.sizeAdjustPct})),[r]),s=(0,le.useMemo)(()=>{var e,r;let s,l,d,c,u;return e={fontHeader:t,fontBody:a,fontButton:n},r=[...o??[],...i],s=`"${I8(e.fontHeader)}", ${(0,I6.getFontFallbacks)(e.fontHeader)}`,l=`"${I8(e.fontBody)}", ${(0,I6.getFontFallbacks)(e.fontBody)}`,d=`"${I8(e.fontButton)}", ${(0,I6.getFontFallbacks)(e.fontButton)}`,c=e=>(0,I6.getLineHeightMultiplier)(e,r),u=e=>(0,I6.getFontSizeMultiplier)(e,r),I9([{name:"--font-family-header",value:s},{name:"--font-family-body",value:l},{name:"--font-family-button",value:d},{name:"--font-family-site",value:l},{name:"--font-family-site-header",value:s},{name:"--font-family-site-body",value:l},{name:"--font-family-site-button",value:d},{name:"--header-line-height-multiplier",value:c(e.fontHeader)},{name:"--body-line-height-multiplier",value:c(e.fontBody)},{name:"--button-line-height-multiplier",value:c(e.fontButton)},{name:"--header-font-size-multiplier",value:u(e.fontHeader)},{name:"--body-font-size-multiplier",value:u(e.fontBody)},{name:"--button-font-size-multiplier",value:u(e.fontButton)}])},[o,i,t,a,n]);(0,le.useEffect)(()=>{I4(r?.fontScripts??[],r?.adjustments??{}).catch(e=>console.error("Error applying external font adjustments:",e))},[r]);let[l,d]=(0,le.useState)(()=>new Set),[c,u]=(0,le.useState)(!1);(0,le.useEffect)(()=>{let e=new Set(Array.from(document.head.querySelectorAll('link[rel="stylesheet"], link[rel="prec
6481onnect"], link[rel="dns-prefetch"]')).map(e=>e.href));try{for(let t of JSON.parse(document.querySelector('style[data-font-css="critical"]')?.getAttribute("data-replaced-hrefs")??"[]")){e.add(t);try{e.add(new URL(t,window.location.href).href)}catch{}}}catch{}d(e),u(!0)},[]);let p=(0,le.useMemo)(()=>r?.fontScripts&&c?0===l.size?r.fontScripts:r.fontScripts.filter(e=>{let t=(e=>{let t=I5(e);if(t)return t;let a=e.match(/href\s*=\s*(['"])(.*?)\1/i);return a?a[2]:null})(e);if(!t)return!0;try{let e=new URL(t,window.location.href).href;return!l.has(e)&&!l.has(t)}catch(e){return!l.has(t)}}):[],[r?.fontScripts,l,c]);return(0,le.useEffect)(()=>{window.self!==window.top&&function(){if(window.parent)try{if(window.self!==window.parent){let e=window.parent.__RUN_FONT_SCRIPTS,t=window.parent.__RUN_FONT_STYLESHEET_URLS,a=window.parent.__RUN_FONT_CSS;if(e||a){if(e&&e&&0!==e.length&&e.forEach((e,t)=>{try{(e.match(/<link[^>]*>/g)||[]).forEach((e,a)=>{let n=e.match(/href=["'](https?:\/\/[^"']+)["']/i);if(n&&n[1]){let r=n[1],o=e.match(/rel=["']([^"']+)["']/i),i=o?o[1]:"stylesheet",s=e.match(/crossorigin/i),l=`external-font-${t}-${a}-${i.replace(/\s+/g,"-")}`,d=document.getElementById(l);if(d)d.getAttribute("href")!==r&&d.setAttribute("href",r);else{let e=document.createElement("link");e.id=l,e.rel=i,e.href=r,s&&e.setAttribute("crossorigin",""),document.head.appendChild(e)}}})}catch(t){console.error("Error processing font script:",e,t)}}),t&&t&&0!==t.length&&t.forEach((e,t)=>{try{let a=`font-preload-${t}`;if(!document.getElementById(a)){let n=document.createElement("link");n.id=a,n.rel="preload",n.href=e,n.as="style",n.setAttribute("crossorigin",""),document.head.appendChild(n);let r=`font-force-${t}`,o=document.createElement("link");o.id=r,o.rel="stylesheet",o.href=e,document.head.appendChild(o)}}catch(t){console.error(`Error preloading font stylesheet: ${e}`,t)}}),a){let e="run-iframe-font-css",t=document.getElementById(e);if(t)t.textContent=a;else{let t=document.createElement("style");t.id=e,t.setAttribute("type","text/css"),t.textContent=a,document.head.appendChild(t)}};}}}catch(e){}}()},[]),(0,le.useEffect)(()=>{c&&p.length&&p.forEach(e=>{let t=xE(e)?.content.querySelector("link");if(t){let e=t.getAttribute("href");if(e&&!document.head.querySelector(`link[href="${e}"]`)){let e=document.createElement("link");for(let a of Array.from(t.attributes))/^on/i.test(a.name)||e.setAttribute(a.name,a.value);document.head.appendChild(e)}}})},[p,c]),(0,h.jsx)("style",{"data-font-variables":"site",dangerouslySetInnerHTML:{__html:s}})},Ni=({site:e,currentPage:t})=>{let a=(0,le.useMemo)(()=>{let a,n,r;return a=[],n=(0,lq.getHomePageHeroBlock)(e),r=(0,lq.getBlocksForPage)(e,t),n&&a.push(...I7(n)),r.forEach(e=>{let t,n,r;a.push(...(t=[],n=e.data,r=e.id,e.type===cF.BlockTypes.LONG_FORM?t.push({name:`--slider-form-${n.formId}`,value:n.formWidth??60}):e.type===cF.BlockTypes.INTRO?t.push({name:`--slider-intro-headline-${r}`,value:n.introHeadlineSize??0},{name:`--slider-intro-body-copy-${r}`,value:n.bodyCopySize??0},{name:`--slider-intro-image-size-${r}`,value:n.adjustImageSize??0}):e.type===cF.BlockTypes.PEOPLE_WITH_BIOS?t.push({name:`--slider-people-bios-image-size-${r}`,value:n.imageSize??0}):e.type===cF.BlockTypes.LOGOS?t.push({name:`--slider-logos-ticker-size-${r}`,value:n.tickerLogoSize??0}):e.type===cF.BlockTypes.TESTIMONIALS?t.push({name:`--slider-testimonials-image-size-${r}`,value:n.imageSize??0}):e.type===cF.BlockTypes.HERO?t.push(...I7(e)):e.type===cF.BlockTypes.QUOTE?t.push({name:`--slider-headline-size-${r}`,value:n.headlineSize??0},{name:`--slider-text-size-${r}`,value:n.textSize??0}):e.type===cF.BlockTypes.ACCORDION&&t.push({name:`--slider-accordion-item-title-${r}`,value:n.accordionTitleSize??0},{name:`--slider-accordion-item-eyebrow-${r}`,value:n.itemEyebrowSize??0},{name:`--slider-accordion-item-icon-${r}`,value:n.accordionIconSize??0},{name:`--slider-accordion-width-${r}`,value:n.accordionWidth??0}),n.eyebrowSize&&t.push({name:`--slider-eyebrow-${r}`,value:n.eyebrowSize}),n.headlineSize&&t.push({name:`--slider-headline-${r}`,value:n.headlineSize}),n.descriptionSize&&t.push({name:`--slider-description-${r}`,value:n.descriptionSize}),t))}),I9(a)},[t,e]);
6481return(0,h.jsx)("style",{"data-slider-variables":"site",dangerouslySetInnerHTML:{__html:a}})},Ns=({MaybeBlockWrapper:e=le.Fragment})=>{let{site:t}=(0,ln.useSite)(),{activePage:a}=(0,sb.useNavigation)(),{theme:n}=(0,sB.useSiteTheme)(),{palette:r}=(0,sO.useSiteColorPalette)(),o=(0,lq.getAllBlocksByType)(t,cF.BlockTypes.FOOTER)?.[0],i=(0,le.useMemo)(()=>o?.data?.bgColor,[o?.data?.bgColor]),s=(0,le.useMemo)(()=>(0,$X.default)(n),[n?.fontHeader,n?.fontBody,n?.fontButton,n?.corners]);if(!t)return null;if(!n||!r)return(0,h.jsx)(h.Fragment,{});let{fontHeader:l,fontBody:d,fontButton:c}=n,u=(0,h.jsx)(s8.GlobalStyles,{styles:()=>`
6482        body {
6483          background-color: var(--color-${i});
6484        }
6485    `});return(0,h.jsxs)(Nr,{children:[(0,h.jsx)(No,{siteGroupId:t.SiteGroup.id,fontHeader:l,fontBody:d,fontButton:c}),(0,h.jsx)(Ni,{site:t,currentPage:a}),(0,h.jsx)(la.default,{}),(0,h.jsxs)(s9.ThemeProvider,{theme:s,children:[u,lq.BLOCK_CATEGORY_ORDER.map(n=>{let r=(a?.blockStructure?.[n]||[]).map(e=>t.Blocks[e]).filter(Boolean),o=()=>r?.map(t=>{let a=Na[t.type];if(!a)return console.error(`Missing component for block type: ${t.type}`),null;let n=t.data;n||console.error(`Missing blockData: ${t.data}`);let r=e==le.Fragment?void 0:{block:t};return(0,h.jsx)($Q.ErrorBoundary,{children:(0,h.jsx)(e,{...r,children:n?(0,h.jsx)(a,{block:t,blockData:n}):(0,h.jsx)("em",{children:"Error: Unable to render content. (missing blockData)"})})},t.id)});return n===sk.BLOCK_CATEGORIES.CONTENT?(0,h.jsx)("main",{children:o()},n):(0,h.jsx)(le.Fragment,{children:o()},n)})]})]})},Nl=({domain:e,siteInfo:t,languageCode:a,authKey:n,variantLanguageCodes:r})=>{let o=(0,v.useRouter)(),i=s2.trpc.useUtils(),[s,l]=(0,b.useState)(""),[d,c]=(0,b.useState)(!1),[u,p]=(0,b.useState)(!1),[m,g]=(0,b.useState)(null),[f,y]=(0,b.useState)(void 0),[x,S]=(0,b.useState)(!1),w=(0,b.useRef)(!1),C=(0,b.useRef)(!1),T=`site_authorized_${n||e}`,$=async()=>{S(!0);try{let t=await fetch("/api/authenticated-site",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({domain:e,languageCode:a})});if(t.ok){let e=await t.json(),a=e.site.SiteGroup.id;sessionStorage.setItem("siteId",e.site.id),sessionStorage.setItem("siteGroupId",a),await Promise.all([i.theme.get.fetch(),i.colorPalette.byPaletteId.fetch({paletteId:a})]),y(e.variantSlugMap),g(e.site)}else console.error("Failed to fetch site data"),localStorage.removeItem(T),p(!1)}catch(e){console.error("Error fetching site data:",e),localStorage.removeItem(T),p(!1)}finally{S(!1)}};(0,b.useEffect)(()=>{localStorage.getItem(T)&&(p(!0),$())},[T]),(0,b.useEffect)(()=>{m&&!w.current&&C.current&&(w.current=!0,setTimeout(()=>{window.scrollTo({top:0,left:0,behavior:"instant"})},0))},[m]);let E=async t=>{c(!0),l("");try{let n=await fetch("/api/verify-password",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({domain:e,password:t,languageCode:a})});(await n.json()).authorized?(localStorage.setItem(T,"true"),C.current=!0,p(!0),$()):l("Incorrect password. Please try again.")}catch(e){console.error("Error verifying password:",e),l("Error verifying password. Please try again.")}finally{c(!1)}};if(m){let t=o.query.slug,n=t;t&&t.length>0&&(0,yg.isLanguageCode)(t[0])&&a&&(n=t.slice(1));let i=(0,lq.getPageInfoByRoute)(m,n);return(0,h.jsx)(Nd,{domain:e,site:m,initialPageId:i?.id,initialPostId:i?.postId,variantLanguageCodes:r,variantSlugMap:f})}return u&&x?(0,h.jsx)("div",{}):(0,h.jsx)(sx,{onPasswordSubmit:E,error:s,isLoading:d})},Nd=({domain:e,site:t,siteIcons:a,initialPageId:n,initialPostId:r,variantLanguageCodes:o,variantSlugMap:i})=>{let{SiteContent:s,SiteGroup:l,SiteGroupContent:d,Pages:c}=t;(0,b.useEffect)(()=>{t?.id&&(sessionStorage.setItem("siteId",t.id),sessionStorage.setItem("siteGroupId",t.SiteGroup.id))},[t?.id,t.SiteGroup.id]);
6485let u=n?c[n]:void 0,p=s?.uiCopy?.skipToContent||void 0;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(s6.default,{text:p}),(0,h.jsx)(sw.default.Provider,{value:{site:t},children:(0,h.jsxs)(s5.Provider,{value:a??null,children:[(0,h.jsx)("div",{"data-site-id":t.id,"data-site-group-id":t.SiteGroup.id,style:{display:"none"}}),(0,h.jsx)(sS.PopupProvider,{children:(0,h.jsx)(sb.NavigationProvider,{initialPageId:n,initialPostId:r,variantLanguageCodes:o,variantSlugMap:i,children:(0,h.jsx)(Nu,{site:t,SiteContent:s,SiteGroup:l,SiteGroupContent:d,initialPage:u,initialPostId:r})})})]})})]})},Nc=({html:e,contentId:t,position:a})=>{let n=(0,b.useRef)(null);return(0,b.useEffect)(()=>{if(!n.current)return;let t=n.current,a=document.createElement("div");a.innerHTML=e,t.innerHTML="",a.querySelectorAll("script").forEach(e=>e.remove()),t.innerHTML=a.innerHTML;let r=document.createElement("div");return r.innerHTML=e,r.querySelectorAll("script").forEach(e=>{let a=document.createElement("script");Array.from(e.attributes).forEach(e=>{a.setAttribute(e.name,e.value)}),e.textContent&&(a.textContent=e.textContent),t.appendChild(a)}),()=>{n.current&&(n.current.innerHTML="")}},[e,t]),(0,h.jsx)("div",{ref:n})},Nu=({site:e,SiteContent:t,SiteGroupContent:a,SiteGroup:n,initialPage:r,initialPostId:o})=>{let{activePage:i,activePost:s,activeBlockId:l}=(0,sb.useNavigation)(),d=sC(),c=(0,b.useRef)(),u=i||r;(0,b.useEffect)(()=>{let e=u?.id;void 0!==c.current&&c.current!==e&&d.current&&setTimeout(()=>{if(l){let e=document.getElementById(`block-${l}`);if(e){e.setAttribute("tabindex","-1"),e.focus();return}}let e=window.location.hash.slice(1);if(e){let t=document.getElementById(e)||document.getElementById(`block-${e}`);if(t){t.setAttribute("tabindex","-1"),t.focus();return}}let t=document.getElementById("main-content")||document.querySelector("main");t&&(t.setAttribute("tabindex","-1"),t.focus())},150),c.current=e},[u?.id,l,d]),(0,b.useEffect)(()=>{if(u?.url){let[e,t]=u.url.split("#");if((e===`/${u.slug}`||e===`/${u.id}`)&&t){let e=`${window.location.pathname}#${t}`;window.history.replaceState(null,"",e),setTimeout(()=>{let e=document.getElementById(t)||document.getElementById(`block-${t}`);e&&e.scrollIntoView({behavior:"smooth"})},100)}}},[u]);let p=o&&e.Posts?e.Posts[o]:void 0,m=s||p,v=m?.data?.shareTitle,y=m?.data?.shareDescription,x=m?.data?.shareImage,S=m?.data?.htmlHeader,w=m?.data?.htmlBody,C=m?.data?.htmlFooter,T=(0,di.stripHtml)(m?.data?.title||m?.data?.headline||"").trim(),$=(0,di.stripHtml)(m?.data?.shortDescription||m?.data?.description||""),E=!!m;!function(e){let{site:t,Blocks:a}=(0,ln.useSite)(),n=(0,b.useRef)({site:t,Blocks:a,...e});n.current={site:t,Blocks:a,...e},(0,b.useEffect)(()=>{let e=e=>{if(!e.isTrusted)return;let t=e.target;if(!t?.closest||t.closest('[data-track-click="none"]'))return;let a=t.closest("a[href]"),r=a?null:t.closest('button, input[type="submit"], input[type="button"]'),o=a??r;if(!o)return;let i="";if(a){if(!(i=a.getAttribute("href")??"")||"#"===i)return}else if(r){let e=r.closest("[data-track-click]")?.getAttribute("data-track-click");if("button"!==e&&"video"!==e||r.closest("form")&&"submit"!==r.type)return}let{site:s,Blocks:l,page:d,post:c}=n.current;if(!s?.id)return;let u=o.closest(".run-section"),p=u?.id?.startsWith("block-")?u.id.slice(6):o.closest("[data-block-id]")?.getAttribute("data-block-id")||void 0,m=u?Array.from(u.classList).find(e=>"block"!==e&&e.startsWith("block-"))?.slice("block-".length).replace(/-/g,"_").toUpperCase():void 0,h=(p?l?.[p]?.type:void 0)??m;sv("link_clicked",{site_id:s.id,site_group_id:s.SiteGroup?.id,language_code:s.languageCode??void 0,page_id:d?.id,page_slug:d?.slug??void 0,post_id:c?.id,post_slug:c?.slug??void 0,link_kind:o.closest('[data-track-click="donation"]')?"donation":o.closest('[data-track-click="video"]')||(0,ym.isVideoLink)(o.getAttribute("href"))||o.hasAttribute("data-embed")?"video":o.closest('nav[aria-label="Main navigation"], nav[aria-label="Mobile navigation menu"]')?"nav":o.closest("footer")?"footer":o.closest(".social-media-icons")?"social":o.closest('[data-track-click="button"]')?"button":o.closest("[data-field]")?"text":"other",link_text:(o.textContent?.replace(/\s+/g," ").trim()||(o instanceof HTMLInputElement?o.value.trim():"")||o.getAttribute("aria-label")?.trim()||o.querySelector("img")?.getAttribute("alt")?.trim()||o.getAttribute("title")?.trim()||"").slice(0,200),link_url:a?i.slice(0,500):void 0,form_submit:!!r?.closest("form")||void 0,block_id:p,block_type:h})};return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0)},[])}({page:u,post:m});let I=(0,b.useRef)();(0,b.useEffect)(()=>{let t=m?.id||u?.id;if(t&&t!==I.current){var a;let n;I.current=t,a={site_id:e.id,site_group_id:e.SiteGroup.id,language_code:e.languageCode??void 0,content_type:m?"post":"page",page_id:u?.id,page_slug:u?.slug,post_id:m?.i
6485d,post_slug:m?.slug??void 0},(n=sf())&&(n.register({site_id:a.site_id,...a.site_group_id?{site_group_id:a.site_group_id}:{},...a.language_code?{language_code:a.language_code}:{}}),n.capture("$pageview",a))}},[u?.id,u?.slug,m,e.id,e.SiteGroup.id,e.languageCode]);let N=E?v||T||(u&&"home"!==u.slug?`${u?.title||""} — ${n.name}`:void 0)||t?.shareTitle||n.name||"RUN!":u?.shareTitle||(u&&"home"!==u.slug?`${u?.title||""} — ${n.name}`:null)||t?.shareTitle||n.name||"RUN!",_=E?y||(0,di.truncate)((0,di.stripHtml)($),200)||t?.shareDescription||`${n.name}'s campaign`:u?.shareDescription||t?.shareDescription||`${n.name}'s campaign`,k=(0,lq.getHomePageHeroBlock)(e),M=k?.data?.desktopImage||null,A=E?x||t?.shareImage||M:u?.shareImage||t?.shareImage||M;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(f.default,{children:[(0,h.jsx)("title",{children:N}),(0,h.jsx)("meta",{name:"description",content:_}),a?.favicon&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:(0,sV.imgixLoader)({src:a.favicon,width:32,format:"png"})}),(0,h.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:(0,sV.imgixLoader)({src:a.favicon,width:16,format:"png"})}),(0,h.jsx)("link",{rel:"shortcut icon",href:(0,sV.imgixLoader)({src:a.favicon,width:48,format:"png"})}),(0,h.jsx)("link",{rel:"icon",href:(0,sV.imgixLoader)({src:a.favicon,width:48,format:"png"})},"icon"),(0,h.jsx)("link",{sizes:"180x180",rel:"apple-touch-icon",href:(0,sV.imgixLoader)({src:a.favicon,width:180,format:"png"})},"apple-touch-icon")]}),a?.htmlHeader&&(0,h.jsx)(h.Fragment,{children:(0,g.default)(a.htmlHeader)}),u?.htmlHeader&&(0,h.jsx)(h.Fragment,{children:(0,g.default)(u.htmlHeader)}),S&&(0,h.jsx)(h.Fragment,{children:(0,g.default)(S)}),(0,h.jsx)("meta",{property:"og:title",content:N}),(0,h.jsx)("meta",{property:"og:description",content:_}),(0,h.jsx)("meta",{property:"og:type",content:"website"}),(0,h.jsx)("meta",{property:"og:site_name",content:n.name}),A&&(0,h.jsx)("meta",{property:"og:image",content:A}),(0,h.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,h.jsx)("meta",{name:"twitter:title",content:N}),(0,h.jsx)("meta",{name:"twitter:description",content:_}),A&&(0,h.jsx)("meta",{name:"twitter:image",content:A}),t.schemaData?.active!=="none"&&t.schemaData?.[t.schemaData?.active]&&(0,h.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t.schemaData[t.schemaData.active]).replace(/</g,"\\u003c")}})]}),a?.htmlBody&&(0,h.jsx)(h.Fragment,{children:(0,g.default)(a.htmlBody)}),u?.htmlBody&&(0,h.jsx)(Nc,{html:u.htmlBody,contentId:u.id,position:"body"},`body-${u.id}`),m&&w&&(0,h.jsx)(Nc,{html:w,contentId:m.id,position:"body"},`body-post-${m.id}`),(0,h.jsx)(Ns,{}),a?.htmlFooter&&(0,h.jsx)(h.Fragment,{children:(0,g.default)(a.htmlFooter)}),u?.htmlFooter&&(0,h.jsx)(Nc,{html:u.htmlFooter,contentId:u.id,position:"footer"},`footer-${u.id}`),m&&C&&(0,h.jsx)(Nc,{html:C,contentId:m.id,position:"footer"},`footer-post-${m.id}`),(0,h.jsx)(s1,{})]})};e.s(["__N_SSG",0,!0,"config",0,{maxDuration:60},"default",0,e=>{let{site:t,siteIcons:a,siteLapsed:n,requiresPassword:r,siteInfo:o,domain:i,languageCode:s,authKey:l,initialPageId:d,initialPostId:c,variantLanguageCodes:u,variantSlugMap:p}=e;if(r&&o)return(0,h.jsx)(Nl,{domain:i,siteInfo:o,languageCode:s,authKey:l,variantLanguageCodes:u});if(n){let e=t?Object.values(t.Blocks).find(e=>"FOOTER"===e.type):void 0;return(0,h.jsx)(sy.default,{branded:e?.data.shouldShowRunLogo||!0,site:t})}return t?(0,h.jsx)(Nd,{domain:i,site:t,siteIcons:a,initialPageId:d,initialPostId:c,variantLanguageCodes:u,variantSlugMap:p}):null}],67098)},64011,(e,t,a)=>{let n="/_sites/[domain]/[[...slug]]";(window.__NEXT_P=window.__NEXT_P||[]).push([n,()=>e.r(67098)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([n])})},71701,(e,t,a)=>{var n=e.r(12904),r=e.r(32836);t.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==n(e)}},49194,(e,t,a)=>{"use strict";e.i(50461),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"Image",{enumerable:!0,get:function(){return S}});let n=e.r(41705),r=e.r(52456),o=e.r(91398),i=r._(e.r(91788)),s=n._(e.r(30943)),l=n._(e.r(80963)),d=e.r(66785),c=e.r(15125),u=e.r(13521),p=e.r(25479),m=n._(e.r(3866)),h=e.r(63230),g={deviceSizes:[640,750,828,1080,1200,1920,2048],imageSizes:[32,48,64,96,128,256,384],qual
6485ities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function f(e,t,a,n,r,o,i){let s=e?.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&r(!0),a?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,r=!1;a.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{r=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function v(e){return i.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b="u"<typeof window?i.useEffect:i.useLayoutEffect,y=(0,i.forwardRef)(({src:e,srcSet:t,sizes:a,height:n,width:r,decoding:s,className:l,style:d,fetchPriority:c,placeholder:u,loading:p,unoptimized:m,fill:g,onLoadRef:y,onLoadingCompleteRef:x,setBlurComplete:S,setShowAltText:w,sizesInput:C,onLoad:T,onError:$,...E},I)=>{let N=(0,i.useRef)(!1),_=(0,i.useRef)(null);b(()=>{let{current:e}=N,{current:t}=_;e||null===t||($&&(t.src=t.src),t.complete&&f(t,u,y,x,S,m,C),N.current=!0)},[e,u,y,x,$,m,C]);let k=(0,h.useMergedRef)(I,_);return(0,o.jsx)("img",{...E,...v(c),loading:p,width:r,height:n,decoding:s,"data-nimg":g?"fill":"1",className:l,style:d,sizes:a,srcSet:t,src:e,ref:k,onLoad:e=>{f(e.currentTarget,u,y,x,S,m,C)},onError:e=>{w(!0),"empty"!==u&&S(!0),$&&$(e)}})});function x({isAppRouter:e,imgAttributes:t}){let a={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...v(t.fetchPriority)};return e&&s.default.preload?(s.default.preload(t.src,a),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...a},"__nimg-"+t.src+t.srcSet+t.sizes)})}let S=(0,i.forwardRef)((e,t)=>{let a=(0,i.useContext)(p.RouterContext),n=(0,i.useContext)(u.ImageConfigContext),r=(0,i.useMemo)(()=>{let e=g||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),a=e.deviceSizes.sort((e,t)=>e-t),r=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:a,qualities:r,localPatterns:"u"<typeof window?n?.localPatterns:e.localPatterns}},[n]),{onLoad:s,onLoadingComplete:l}=e,h=(0,i.useRef)(s);(0,i.useEffect)(()=>{h.current=s},[s]);let f=(0,i.useRef)(l);(0,i.useEffect)(()=>{f.current=l},[l]);let[v,b]=(0,i.useState)(!1),[S,w]=(0,i.useState)(!1),{props:C,meta:T}=(0,d.getImgProps)(e,{defaultLoader:m.default,imgConf:r,blurComplete:v,showAltText:S});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(y,{...C,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:h,onLoadingCompleteRef:f,setBlurComplete:b,setShowAltText:w,sizesInput:e.sizes,ref:t}),T.preload?(0,o.jsx)(x,{isAppRouter:!a,imgAttributes:C}):null]})});("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},88961,(e,t,a)=>{"use strict";e.i(50461),Object.defineProperty(a,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return d}};for(var r in n)Object.defineProperty(a,r,{enumerable:!0,get:n[r]});let o=e.r(41705),i=e.r(66785),s=e.r(49194),l=o._(e.r(3866));function d(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,a]of Object.entries(t))void 0===a&&delete t[e];return{props:t}}let c=s.Image},26019,(e,t,a)=>{t.exports=e.r(88961)},68816,(e,t,a)=>{"use strict";function n(e,t){let a=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-a)<Math.abs(e-a)?t:e,t.qualities[0]):a}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"findClosestQuality",{enumerable:!0,get:function(){return n}})},3866,(e,t,a)=>{"use strict";e.i(50461),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return i}});let n=e.r(68816),r=e.r(20262);function o({config:e,src:t,width:a,quality:i}){let s=(0,r.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//"))if(t.includes("/_next/static/immutable")&&!(0,r.getAssetToken)())s=void 0;else{let e=t.indexOf("?");if(-1!==e){let a=new URLSearchParams(t.slice(e+1)),n=a.get("dpl");if(n){s=n,a.delete("dpl");let r=a.toString();t=t.slice(0,e)+(r?"?"+r:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
6486Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,
6486configurable:!0});let l=(0,n.findClosestQuality)(i,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${a}&q=${l}${t.startsWith("/")&&s?`&dpl=${s}`:""}`}o.__next_img_default=!0;let i=o},66785,(e,t,a)=>{"use strict";e.i(50461),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getImgProps",{enumerable:!0,get:function(){return d}});let n=e.r(20262),r=e.r(13606),o=e.r(15125),i=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function d({src:e,sizes:t,unoptimized:a=!1,priority:c=!1,preload:u=!1,loading:p,className:m,quality:h,width:g,height:f,fill:v=!1,style:b,overrideSrc:y,onLoad:x,onLoadingComplete:S,placeholder:w="empty",blurDataURL:C,fetchPriority:T,decoding:$="async",layout:E,objectFit:I,objectPosition:N,lazyBoundary:_,lazyRoot:k,...M},A){var R;let O,B,P,{imgConf:L,showAltText:D,blurComplete:j,defaultLoader:G}=A,F=L||o.imageConfigDefault;if("allSizes"in F)O=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t),a=F.qualities?.sort((e,t)=>e-t);O={...F,allSizes:e,deviceSizes:t,qualities:a}}if(void 0===G)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let H=M.loader||G;delete M.loader,delete M.srcSet;let U="__next_img_default"in H;if(U){if("custom"===O.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
6487Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=H;H=t=>{let{config:a,...n}=t;return e(n)}}if(E){"fill"===E&&(v=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[E];e&&(b={...b,...e});let a={responsive:"100vw",fill:"100vw"}[E];a&&!t&&(t=a)}let K="",z=l(g),V=l(f);if((R=e)&&"object"==typeof R&&(s(R)||void 0!==R.src)){let t=s(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(B=t.blurWidth,P=t.blurHeight,C=C||t.blurDataURL,K=t.src,!v)if(z||V){if(z&&!V){let e=z/t.width;V=Math.round(t.height*e)}else if(!z&&V){let e=V/t.height;z=Math.round(t.width*e)}}else z=t.width,V=t.height}let W=!c&&!u&&("lazy"===p||void 0===p);(!(e="string"==typeof e?e:K)||e.startsWith("data:")||e.startsWith("blob:"))&&(a=!0,W=!1),O.unoptimized&&(a=!0),U&&!O.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(a=!0);let Z=l(h),Y=Object.assign(v?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:I,objectPosition:N}:{},D?{}:{color:"transparent"},b),J=j||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,r.getImageBlurSvg)({widthInt:z,heightInt:V,blurWidth:B,blurHeight:P,blurDataURL:C||"",objectFit:Y.objectFit})}")`:`url("${w}")`,q=i.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,X=J?{backgroundSize:q,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:J}:{},Q=function({config:e,src:t,unoptimized:a,width:r,quality:o,sizes:i,loader:s}){if(a){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(t.includes("/_next/static/immutable")&&!(0,n.getAssetToken)())e=void 0;else if(e){let a=t.indexOf("?");if(-1!==a){let n=new URLSearchParams(t.slice(a+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,a)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:d}=function({deviceSizes:e,allSizes:t}
6487,a,n){if(n){let a=/(^|\s)(1?\d?\d)vw/g,r=[];for(let e;e=a.exec(n);)r.push(parseInt(e[2]));if(r.length){let a=.01*Math.min(...r);return{widths:t.filter(t=>t>=e[0]*a),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof a?{widths:e,kind:"w"}:{widths:[...new Set([a,2*a].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,r,i),c=l.length-1;return{sizes:i||"w"!==d?i:"100vw",srcSet:l.map((a,n)=>`${s({config:e,src:t,quality:o,width:a})} ${"w"===d?a:n+1}${d}`).join(", "),src:s({config:e,src:t,quality:o,width:l[c]})}}({config:O,src:e,unoptimized:a,width:z,quality:Z,sizes:t,loader:H}),ee=W?"lazy":p;return{props:{...M,loading:ee,fetchPriority:T,width:z,height:V,decoding:$,className:m,style:{...Y,...X},sizes:Q.sizes,srcSet:Q.srcSet,src:y||Q.src},meta:{unoptimized:a,preload:u||c,placeholder:w,fill:v}}}},13606,(e,t,a)=>{"use strict";function n({widthInt:e,heightInt:t,blurWidth:a,blurHeight:r,blurDataURL:o,objectFit:i}){let s=a?40*a:e,l=r?40*r:t,d=s&&l?`viewBox='0 0 ${s} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${d}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${d?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${o}'/%3E%3C/svg%3E`}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},61592,(e,t,a)=>{"use strict";e.i(50461),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=e.r(41705)._(e.r(91788)).default.createContext(null)},52414,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return p}});let n=e.r(41705)._(e.r(91788)),r=e.r(61592),o=[],i=[],s=!1;function l(e){let t=e(),a={loading:!0,loaded:null,error:null};return a.promise=t.then(e=>(a.loading=!1,a.loaded=e,e)).catch(e=>{throw a.loading=!1,a.error=e,e}),a}class d{constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}}function c(t){return function(t,a){let l=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},a),c=null;function u(){if(!c){let e=new d(t,l);c={getCurrentValue:e.getCurrentValue.bind(e),subscribe:e.subscribe.bind(e),retry:e.retry.bind(e),promise:e.promise.bind(e)}}return c.promise()}if("u"<typeof window&&o.push(u),!s&&"u">typeof window){let t=l.webpack&&"function"==typeof e.t.resolveWeak?l.webpack():l.modules;t&&i.push(e=>{for(let a of t)if(e.includes(a))return u()})}function p(e,t){let a;u(),(a=n.default.useContext(r.LoadableContext))&&Array.isArray(l.modules)&&l.modules.forEach(e=>{a(e)});let o=n.default.useSyncExternalStore(c.subscribe,c.getCurrentValue,c.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:c.retry}),[]),n.default.useMemo(()=>{var t;return o.loading||o.error?n.default.createElement(l.loading,{isLoading:o.loading,pastDelay:o.pastDelay,timedOut:o.timedOut,error:o.error,retry:c.retry}):o.loaded?n.default.createElement((t=o.loaded)&&t.default?t.default:t,e):null},[e,o])}return p.preload=()=>u(),p.displayName="LoadableComponent",n.default.forwardRef(p)}(l,t)}function u(e,t){let a=[];for(;e.length;){let n=e.pop();a.push(n(t))}return Promise.all(a).then(()=>
6487{if(e.length)return u(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{u(o).then(e,t)}),c.preloadReady=(e=[])=>new Promise(t=>{let a=()=>(s=!0,t());u(i,e).then(a,a)}),"u">typeof window&&(window.__NEXT_PRELOADREADY=c.preloadReady);let p=c},25167,(e,t,a)=>{"use strict";e.i(50461),Object.defineProperty(a,"__esModule",{value:!0});var n={default:function(){return u},noSSR:function(){return c}};for(var r in n)Object.defineProperty(a,r,{enumerable:!0,get:n[r]});let o=e.r(41705),i=e.r(91398);e.r(91788);let s=o._(e.r(52414)),l="u"<typeof window;function d(e){return{default:e?.default||e}}function c(e,t){if(delete t.webpack,delete t.modules,!l)return e(t);let a=t.loading;return()=>(0,i.jsx)(a,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function u(e,t){let a=s.default,n={loading:({error:e,isLoading:t,pastDelay:a})=>null};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let r=(n={...n,...t}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?a({...n,loader:()=>null!=r?r().then(d):Promise.resolve(d(()=>null))}):(delete n.webpack,delete n.modules,c(a,n))}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},68489,(e,t,a)=>{t.exports=e.r(25167)}]);

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.