| 2 |
var Ki=Object.defineProperty,Qi=Object.defineProperties;var Ji=Object.getOwnPropertyDescriptors;var Kr=Object.getOwnPropertySymbols;var nn=Object.prototype.hasOwnProperty,ln=Object.prototype.propertyIsEnumerable;var an=(r,a,e)=>a in r?Ki(r,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[a]=e,de=(r,a)=>{for(var e in a||(a={}))nn.call(a,e)&&an(r,e,a[e]);if(Kr)for(var e of Kr(a))ln.call(a,e)&&an(r,e,a[e]);return r},Qe=(r,a)=>Qi(r,Ji(a));var on=(r,a)=>{var e={};for(var n in r)nn.call(r,n)&&a.indexOf(n)<0&&(e[n]=r[n]);if(r!=null&&Kr)for(var n of Kr(r))a.indexOf(n)<0&&ln.call(r,n)&&(e[n]=r[n]);return e};var bt=(r,a,e)=>new Promise((n,t)=>{var l=m=>{try{d(e.next(m))}catch(T){t(T)}},i=m=>{try{d(e.throw(m))}catch(T){t(T)}},d=m=>m.done?n(m.value):Promise.resolve(m.value).then(l,i);d((e=e.apply(r,a)).next())});import{Y as Ma,Z as Ra,a0 as la,a1 as oa,a2 as gt,a3 as Xi,a4 as Zi,c as Ze,a5 as el,J as Hn,a6 as tl,a7 as rl,a8 as al,a9 as nl,aa as il,ab as ll,ac as ol,ad as sl,ae as dl,j as o,a as lt,g as Dt,u as xe,$ as ct,i as Ye,K as St,h as kt,_ as D,af as Bn,r as B,ag as Un,z as _t,ah as Ea,ai as cl,F as Ia,aj as Me,ak as fl,al as Yn,am as Fa,an as ul,ao as lr,ap as Vn,aq as Nr,ar as Er,as as Ir,at as pl,au as Gn,av as Kn,aw as Qn,ax as Jn,ay as bl,az as Xn,aA as Zn,aB as ei,aC as ti,aD as ri,aE as ml,f as rr,aF as sn,aG as dn,aH as cn,aI as fn,aJ as hl,aK as gl,aL as gr,aM as _l,aN as ai,aO as ea,aP as un,aQ as vl,aR as yl,aS as $l,aT as xl,aU as wl,aV as kl,aW as Sl,L as or,aX as Ta,aY as Dl,aZ as Aa,a_ as Cl,a$ as Ol,b0 as ni,b1 as sr,b2 as sa,b3 as ii,b4 as La,b5 as li,b6 as da,b7 as oi,b8 as si,b9 as di,ba as Tl,bb as qa,M as nr,e as Nt,bc as ci,b as jt,bd as za,d as ca,be as ut,bf as Fr,G as Ar,R as fi,C as Pl,bg as ui,y as pn,bh as pi,S as Wa,bi as fa,bj as Mr,X as jl,bk as bi,bl as Pa,bm as ja,bn as mi,bo as ze,bp as Mt,bq as Rt,br as Nl,bs as he,bt as Ml,bu as ht,H as ot,bv as Rl,E as El,o as Il,bw as Fl,bx as bn,by as Al,A as Ll,B as ql,D as zl,q as mn,bz as Wl,bA as Hl,bB as Bl,bC as Ul,V as Yl,bD as Vl,bE as Gl,bF as Kl,bG as Ha,bH as Ql,bI as $a,bJ as Jl,bK as Ge}from"./main-96.js";import{e as ar,i as Xl,R as Zl,f as eo,g as to,h as ro,d as ao,P as no,T as io,a as lo,b as _r,c as vr,C as oo,j as jr,B as Pt,k as so,S as co,l as fo}from"./bf-781-46.js";import{u as hi}from"./bf-431-60.js";/* empty css */import{u as gi}from"./bf-63-62.js";import{M as uo}from"./bf-762-63.js";var po=""+new URL("logo-black.svg",import.meta.url).href;const bo=Ma({}),mo=Ma("bitformDefault"),ua=Ma({allThemeVars:{},allThemeColors:{},allStyles:{}}),hu=Ra(r=>{const a=r(la),{lightThemeColors:e,darkThemeColors:n}=r(ua).allThemeColors;return a==="dark"?de(de({},e),n):e}),gu=Ra(r=>{const a=r(la)==="dark",e=r(oa),{lgLightThemeVars:n,lgDarkThemeVars:t,mdLightThemeVars:l,mdDarkThemeVars:i,smLightThemeVars:d,smDarkThemeVars:m}=r(ua).allThemeVars;if(e==="lg")return a?de(de({},n),t):n;if(e==="md")return de(de(de(de({},n),a&&t),l),a&&i);if(e==="sm")return de(de(de(de(de(de({},n),a&&t),l),a&&i),d),a&&m)}),_u=Ra(r=>{const a=r(la)==="dark",e=r(oa),{lgLightStyles:n,lgDarkStyles:t,mdLightStyles:l,mdDarkStyles:i,smLightStyles:d,smDarkStyles:m}=r(ua).allStyles;if(e==="lg")return a?gt(n,t):n;if(e==="md")return a?gt(n,t,l,i):gt(n,l);if(e==="sm")return a?gt(n,t,l,i,d,m):gt(n,l,d)});var ho={name:"Academic Advisor Meeting Form",theme:"bitformDefault",formInfo:{formName:"Academic Advisor Meeting Form"},layouts:{lg:[{w:60,h:28,x:0,y:0,i:"fld_key-5",moved:!1,static:!1},{w:30,h:77,x:0,y:28,i:"fld_key-2",moved:!1,static:!1},{w:30,h:77,x:30,y:28,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:105,i:"fld_key-4",moved:!1,static:!1},{w:60,h:28,x:0,y:182,i:"fld_key-6",moved:!1,static:!1},{w:30,h:77,x:0,y:210,i:"fld_key-7",moved:!1,static:!1},{w:30,h:77,x:30,y:210,i:"fld_key-8",moved:!1,static:!1},{w:60,h:77,x:0,y:287,i:"fld_key-9",moved:!1,static:!1},{w:60,h:31,x:0,y:364,i:"fld_key-14",moved:!1,static:!1},{w:60,h:103,x:0,y:395,i:"fld_key-10",moved:!1,static:!1},{w:60,h:65,x:0,y:498,i:"fld_key-11",moved:!1,static:!1},{w:60,h:65,x:0,y:563,i:"fld_key-12",moved:!1,static:!1},{w:60,h:98,x:0,y:628,i:"fld_key-13",minW:9,moved:!1,static:!1,resizeHandles:["se","e"]},{w:60,h:54,x:0,y:726,i:"fld_key-1",moved:!1,static:!1}]},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1"},"fld_key-2":{typ:"text",lbl:"First Name",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-2"},"fld_key-3":{typ:"text",lbl:"Last Name",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-3"},"fld_key-4":{typ:"email",lbl:"Email",phHide:!1,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-4"},"fld_key-5":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"Student Information",titleHide:!1,subtitleHide:!0,titleTag:"h4",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-5"},"fld_key-6":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"Advisor Information",titleHide:!1,subtitleHide:!0,titleTag:"h4",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-6"},"fld_key-7":{typ:"text",lbl:"First Name",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-7"},"fld_key-8":{typ:"text",lbl:"Last Name",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-8"},"fld_key-9":{typ:"email",lbl:"Email",phHide:!1,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-9"},"fld_key-10":{typ:"radio",lbl:"Reason For Meetting",round:!0,opt:[{lbl:"Scheduling Courses"},{lbl:"Drop/Add Courses"},{lbl:"Discuss Academic Progress"},{lbl:"Interest in Transferring"}],valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},optionCol:"2",customClasses:{},customAttributes:{},fieldName:"fld_key-10"},"fld_key-11":{typ:"check",lbl:"Best Days to Meet (check all that apply) ",opt:[{lbl:"Monday"},{lbl:"Tuesday"},{lbl:"Wednesday"},{lbl:"Thursday"},{lbl:"Friday"}],valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},optionCol:"5",customClasses:{},customAttributes:{},fieldName:"fld_key-11"},"fld_key-12":{typ:"check",lbl:"Best Times to Meet (check all that apply)",opt:[{lbl:"Morning"},{lbl:"Mid-morning"},{lbl:"Afternoon"},{lbl:"Mid-afternoon"},{lbl:"Evening"}],valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},optionCol:"5",customClasses:{},customAttributes:{},fieldName:"fld_key-12"},"fld_key-13":{typ:"textarea",lbl:"Comment or Message",ph:"Placeholder...",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"textarea-157-13"},"fld_key-14":{typ:"divider",adminLbl:"Divider",adminLblHide:!0,valid:{},divider:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-14"}}},go={name:"Conference Room Registration Form",theme:"bitformDefault",formInfo:{formName:"Conference Room Registration Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1"},"fld_key-2":{typ:"text",lbl:"Firstname",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-2"},"fld_key-3":{typ:"text",lbl:"Lastname",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-3"},"fld_key-4":{typ:"email",lbl:"Email",phHide:!1,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-4"},"fld_key-5":{typ:"radio",lbl:"Which access pass would you like to purchase?",round:!0,opt:[{lbl:"Bronze-$100.00",check:!0,val:"100"},{lbl:"Sliver-$200.00",val:"200"},{lbl:"Gold-$300",val:"300"},{lbl:"Diamond-$400",val:"400"}],valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,msg:'<p style="margin:0">This field is required</p>'}},optionCol:1,customClasses:{},customAttributes:{},fieldName:"fld_key-5"},"fld_key-6":{typ:"check",lbl:"Which sessions do you plan on attending?",opt:[{lbl:"Session 1"},{lbl:"Session 2"},{lbl:"Session 3"},{lbl:"Session 4"},{lbl:"Session 5"}],valid:{},err:{},optionCol:1,customClasses:{},customAttributes:{},fieldName:"fld_key-6"},"fld_key-7":{typ:"radio",lbl:"Will you be staying overnight?",round:!0,opt:[{lbl:"Yes"},{lbl:"No"}],valid:{},err:{},optionCol:1,customClasses:{},customAttributes:{},fieldName:"fld_key-7"},"fld_key-8":{typ:"decision-box",adminLbl:"Decision Box",adminLblHide:!0,lbl:`<p style="margin: 0;"><span style="color: rgba(0, 0, 0, 0.85); font-family: GeneralSans-Variable, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;">I would like to receive email updates regarding future conferences</span></p>`,msg:{checked:"Accepted",unchecked:"Rejected"},valid:{req:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-8"},"fld_key-9":{typ:"textarea",lbl:"Comments or Questions",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-9"}},layouts:{lg:[{w:30,h:77,x:0,y:0,i:"fld_key-2",moved:!1,static:!1},{w:30,h:77,x:30,y:0,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:77,i:"fld_key-4"},{w:60,h:164,x:0,y:154,i:"fld_key-5"},{w:60,h:197,x:0,y:318,i:"fld_key-6"},{w:60,h:98,x:0,y:515,i:"fld_key-7"},{w:60,h:153,x:0,y:651,i:"fld_key-9",minW:9,resizeHandles:["se","e"]},{w:60,h:38,x:0,y:613,i:"fld_key-8"},{w:60,h:54,x:0,y:804,i:"fld_key-1"}],md:[],sm:[]}},_o={name:"Contact Form",theme:"bitformDefault",formInfo:{formName:"Contact Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fulW:!0},"fld_key-2":{typ:"text",lbl:"Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"name",acHide:!0,ac:"name",ph:"John Doe"},"fld_key-3":{typ:"textarea",lbl:"Message",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Message can not be empty.</p>'}},customClasses:{},customAttributes:{},fieldName:"textarea-44-3",ph:"Write your message..."},"fld_key-5":{typ:"email",lbl:"Email",ph:"[email protected]",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqPos:"after",reqShow:!0},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"email",acHide:!0,ac:"email"}},layouts:{lg:[{w:60,h:77,x:0,y:0,i:"fld_key-2"},{w:60,h:77,x:0,y:77,i:"fld_key-5"},{w:60,h:98,x:0,y:154,i:"fld_key-3",minW:9},{w:60,h:50,x:0,y:252,i:"fld_key-1"}],md:[],sm:[]}},vo={themeColors:{lightThemeColors:{"--btn-sh":"0 2px 4px -2px hsla(0, 0%, 0%, 40%)","--req-smbl-c":"hsla(0, 100%, 50%, 100%)"}},themeVars:{lgLightThemeVars:{"--btn-fs":"16px","--fld-lbl-fs":"1.1rem","--fld-wrp-bdr-width":"5px","--lbl-font-w":"600","--sub-titl-fs":"16px"}},layouts:{lg:[{w:30,h:79,x:0,y:0,i:"fld_key-2",moved:!1,static:!1},{w:30,h:79,x:30,y:0,i:"fld_key-12",moved:!1,static:!1},{w:30,h:79,x:0,y:79,i:"fld_key-5",moved:!1,static:!1},{w:30,h:79,x:30,y:79,i:"fld_key-6",moved:!1,static:!1},{w:30,h:79,x:0,y:158,i:"fld_key-7",moved:!1,static:!1},{w:30,h:79,x:30,y:158,i:"fld_key-8",moved:!1,static:!1},{w:30,h:79,x:0,y:237,i:"fld_key-9",moved:!1,static:!1},{w:30,h:79,x:30,y:237,i:"fld_key-11",moved:!1,static:!1},{w:60,h:100,x:0,y:316,i:"fld_key-3",minW:9,moved:!1,static:!1},{w:60,h:107,x:0,y:416,i:"fld_key-10",minW:20,moved:!1,static:!1},{w:60,h:40,x:0,y:523,i:"fld_key-13",moved:!1,static:!1},{w:60,h:56,x:0,y:563,i:"fld_key-1",moved:!1,static:!1}]},name:"Customer Complaint Form",formInfo:{formName:"Customer Complaint Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fulW:!0,fieldName:"button-fld_key-1"},"fld_key-2":{typ:"text",lbl:"First Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"text-fld_key-2",acHide:!0,ac:"name",ph:"John"},"fld_key-3":{typ:"textarea",lbl:"Complaint Description",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Message can not be empty.</p>'}},customClasses:{},customAttributes:{},fieldName:"textarea-fld_key-3",ph:"Write your complaint..."},"fld_key-5":{typ:"email",lbl:"Email",ph:"[email protected]",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqPos:"after",reqShow:!0},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"email-fld_key-5",acHide:!0,ac:"email"},"fld_key-6":{typ:"phone-number",lbl:"Phone Number",ph:"Enter Phone Number",phHide:!0,config:{selectedFlagImage:!0,selectedCountryClearable:!0,searchClearable:!0,optionFlagImage:!0,defaultCountryKey:"",showSearchPh:!0,searchPlaceholder:"Search for countries",noCountryFoundText:"No Country Found",inputFormat:"+c #### ### ###",valueFormat:"+c #### ### ###"},options:[{i:"AD",lbl:"Andorra",img:"ad.png",code:"+376",ex:"312345",frmt:"+c ## ### ### ##",ptrn:"690$_bf_$d{6}|[356]$_bf_$d{5}"},{i:"AE",lbl:"United Arab Emirates (the)",img:"ae.png",code:"+971",ex:"501234567",ptrn:"5[024-68]$_bf_$d{7}"},{i:"AF",lbl:"Afghanistan",img:"af.png",code:"+93",ex:"701234567",ptrn:"7$_bf_$d{8}"},{i:"AG",lbl:"Antigua and Barbuda",img:"ag.png",code:"+1",ex:"2684641234",ptrn:"268(?:464|7(?:1[3-9]|[28]$_bf_$d|3[0246]|64|7[0-689]))$_bf_$d{4}"},{i:"AI",lbl:"Anguilla",img:"ai.png",code:"+1",ex:"2642351234",ptrn:"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))$_bf_$d{4}"},{i:"AL",lbl:"Albania",img:"al.png",code:"+355",ex:"672123456",ptrn:"6(?:[78][2-9]|9$_bf_$d)$_bf_$d{6}"},{i:"AM",lbl:"Armenia",img:"am.png",code:"+374",ex:"77123456",ptrn:"(?:33|4[1349]|55|77|88|9[13-9])$_bf_$d{6}"},{i:"AO",lbl:"Angola",img:"ao.png",code:"+244",ex:"923123456",ptrn:"9[1-49]$_bf_$d{7}"},{i:"AR",lbl:"Argentina",img:"ar.png",code:"+54",ex:"91123456789",ptrn:"93888[013-9]$_bf_$d{5}|9(?:29(?:54|66)|3(?:777|865))[2-8]$_bf_$d{5}|93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]$_bf_$d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]$_bf_$d{5}|9(?:2(?:284|302|657|920)|3(?:4(?:8[27]|92)|541|755|878))[2-7]$_bf_$d{5}|9(?:2(?:(?:26|62)2|32[03]|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]$_bf_$d{5}|(?:675$_bf_$d|9(?:11[1-8]$_bf_$d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-8]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:[03][45]|[17][2-6]|[58][3-6]))))$_bf_$d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4$_bf_$d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]$_bf_$d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]$_bf_$d{5}"},{i:"AS",lbl:"American Samoa",img:"as.png",code:"+1",ex:"6847331234",ptrn:"684(?:2(?:48|5[2468]|72)|7(?:3[13]|70|82))$_bf_$d{4}"},{i:"AT",lbl:"Austria",img:"at.png",code:"+43",ex:"664123456",ptrn:"6(?:5[0-3579]|6[013-9]|[7-9]$_bf_$d)$_bf_$d{4,10}"},{i:"AU",lbl:"Australia",img:"au.png",code:"+61",ex:"412345678",ptrn:"4(?:83[0-38]|93[0-6])$_bf_$d{5}|4(?:[0-3]$_bf_$d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])$_bf_$d{6}"},{i:"AW",lbl:"Aruba",img:"aw.png",code:"+297",ex:"5601234",ptrn:"(?:290|5[69]$_bf_$d|6(?:[03]0|22|4[0-2]|[69]$_bf_$d)|7(?:[34]$_bf_$d|7[07])|9(?:6[45]|9[4-8]))$_bf_$d{4}"},{i:"AX",lbl:"Åland Islands",img:"ax.png",code:"+358",ex:"412345678",ptrn:"4946$_bf_$d{2,6}|(?:4[0-8]|50)$_bf_$d{4,8}"},{i:"AZ",lbl:"Azerbaijan",img:"az.png",code:"+994",ex:"401234567",ptrn:"36554$_bf_$d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)$_bf_$d{7}"},{i:"BA",lbl:"Bosnia and Herzegovina",img:"ba.png",code:"+387",ex:"61123456",ptrn:"6040$_bf_$d{5}|6(?:03|[1-356]|44|7$_bf_$d)$_bf_$d{6}"},{i:"BB",lbl:"Barbados",img:"bb.png",code:"+1",ex:"2462501234",ptrn:"246(?:2(?:[3568]$_bf_$d|4[0-57-9])|45$_bf_$d|69[5-7]|8(?:[2-5]$_bf_$d|83))$_bf_$d{4}"},{i:"BD",lbl:"Bangladesh",img:"bd.png",code:"+880",ex:"1812345678",ptrn:"(?:1[13-9]$_bf_$d|644)$_bf_$d{7}|(?:3[78]|44|66)[02-9]$_bf_$d{7}"},{i:"BE",lbl:"Belgium",img:"be.png",code:"+32",ex:"470123456",ptrn:"4[5-9]$_bf_$d{7}"},{i:"BF",lbl:"Burkina Faso",img:"bf.png",code:"+226",ex:"70123456",ptrn:"(?:0[1267]|5[1-8]|[67]$_bf_$d)$_bf_$d{6}"},{i:"BG",lbl:"Bulgaria",img:"bg.png",code:"+359",ex:"48123456",ptrn:"43[07-9]$_bf_$d{5}|(?:48|8[7-9]$_bf_$d|9(?:8$_bf_$d|9[69]))$_bf_$d{6}"},{i:"BH",lbl:"Bahrain",img:"bh.png",code:"+973",ex:"36001234",ptrn:"(?:3(?:[1-79]$_bf_$d|8[0-47-9])$_bf_$d|6(?:3(?:00|33|6[16])|6(?:3[03-9]|[69]$_bf_$d|7[0-6])))$_bf_$d{4}"},{i:"BI",lbl:"Burundi",img:"bi.png",code:"+257",ex:"79561234",ptrn:"(?:29|31|6[1289]|7[125-9])$_bf_$d{6}"},{i:"BJ",lbl:"Benin",img:"bj.png",code:"+229",ex:"90011234",ptrn:"(?:5[1-35-8]|6$_bf_$d|9[013-9])$_bf_$d{6}"},{i:"BL",lbl:"Saint Barthélemy",img:"bl.png",code:"+590",ex:"690001234",ptrn:"69(?:0$_bf_$d$_bf_$d|1(?:2[2-9]|3[0-5]))$_bf_$d{4}"},{i:"BM",lbl:"Bermuda",img:"bm.png",code:"+1",ex:"4413701234",ptrn:"441(?:[2378]$_bf_$d|5[0-39])$_bf_$d{5}"},{i:"BN",lbl:"Brunei Darussalam",img:"bn.png",code:"+673",ex:"7123456",ptrn:"(?:22[89]|[78]$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"BO",lbl:"Bolivia (Plurinational State of)",img:"bo.png",code:"+591",ex:"71234567",ptrn:"[67]$_bf_$d{7}"},{i:"BQ",lbl:"Bonaire, Sint Eustatius and Saba",img:"bq.png",code:"+599",ex:"3181234",ptrn:"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8$_bf_$d|9[056])$_bf_$d)$_bf_$d{3}"},{i:"BR",lbl:"Brazil",img:"br.png",code:"+55",ex:"11961234567",ptrn:"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9$_bf_$d)$_bf_$d{7}"},{i:"BS",lbl:"Bahamas (the)",img:"bs.png",code:"+1",ex:"2423591234",ptrn:"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7$_bf_$d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2$_bf_$d|[89]9))$_bf_$d{4}"},{i:"BT",lbl:"Bhutan",img:"bt.png",code:"+975",ex:"17123456",ptrn:"(?:1[67]|77)$_bf_$d{6}"},{i:"BW",lbl:"Botswana",img:"bw.png",code:"+267",ex:"71123456",ptrn:"(?:321|7(?:[1-7]$_bf_$d|8[01]))$_bf_$d{5}"},{i:"BY",lbl:"Belarus",img:"by.png",code:"+375",ex:"294911911",ptrn:"(?:2(?:5[5-79]|9[1-9])|(?:33|44)$_bf_$d)$_bf_$d{6}"},{i:"BZ",lbl:"Belize",img:"bz.png",code:"+501",ex:"6221234",ptrn:"6[0-35-7]$_bf_$d{5}"},{i:"CA",lbl:"Canada",img:"ca.png",code:"+1",ex:"5062345678",ptrn:"(?:2(?:04|[23]6|[48]9|50|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|73)|90[25])[2-9]$_bf_$d{6}"},{i:"CC",lbl:"Cocos (Keeling) Islands (the)",img:"cc.png",code:"+61",ex:"412345678",ptrn:"4(?:83[0-38]|93[0-6])$_bf_$d{5}|4(?:[0-3]$_bf_$d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])$_bf_$d{6}"},{i:"CD",lbl:"Congo (the Democratic Republic of the)",img:"cd.png",code:"+243",ex:"991234567",ptrn:"88$_bf_$d{5}|(?:8[0-59]|9[017-9])$_bf_$d{7}"},{i:"CF",lbl:"Central African Republic (the)",img:"cf.png",code:"+236",ex:"70012345",ptrn:"7[0257]$_bf_$d{6}"},{i:"CG",lbl:"Congo (the)",img:"cg.png",code:"+242",ex:"061234567",ptrn:"026(?:1[0-5]|6[6-9])$_bf_$d{4}|0(?:[14-6]$_bf_$d$_bf_$d|2(?:40|5[5-8]|6[07-9]))$_bf_$d{5}"},{i:"CH",lbl:"Switzerland",img:"ch.png",code:"+41",ex:"781234567",ptrn:"7[35-9]$_bf_$d{7}"},{i:"CI",lbl:"Côte d'Ivoire",img:"ci.png",code:"+225",ex:"0123456789",ptrn:"0704[0-7]$_bf_$d{5}|0(?:[15]$_bf_$d$_bf_$d|7(?:0[0-37-9]|[4-9][7-9]))$_bf_$d{6}"},{i:"CK",lbl:"Cook Islands (the)",img:"ck.png",code:"+682",ex:"71234",ptrn:"[578]$_bf_$d{4}"},{i:"CL",lbl:"Chile",img:"cl.png",code:"+56",ex:"221234567",ptrn:"2(?:1982[0-6]|3314[05-9])$_bf_$d{3}|(?:2(?:1(?:160|962)|3(?:2$_bf_$d$_bf_$d|3(?:[03467]$_bf_$d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]$_bf_$d$_bf_$d|9(?:3(?:[0-57-9]$_bf_$d$_bf_$d|6(?:0[02-9]|[1-9]$_bf_$d))|6(?:[0-8]$_bf_$d$_bf_$d|9(?:[02-79]$_bf_$d|1[05-9]))|7[1-9]$_bf_$d$_bf_$d|9(?:[03-9]$_bf_$d$_bf_$d|1(?:[0235-9]$_bf_$d|4[0-24-9])|2(?:[0-79]$_bf_$d|8[0-46-9]))))$_bf_$d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])$_bf_$d{7}"},{i:"CM",lbl:"Cameroon",img:"cm.png",code:"+237",ex:"671234567",ptrn:"(?:24[23]|6[5-9]$_bf_$d)$_bf_$d{6}"},{i:"CN",lbl:"China",img:"cn.png",code:"+86",ex:"13123456789",ptrn:"1740[0-5]$_bf_$d{6}|1(?:[38]$_bf_$d|4[57]|5[0-35-9]|6[25-7]|7[0-35-8]|9[0135-9])$_bf_$d{8}"},{i:"CO",lbl:"Colombia",img:"co.png",code:"+57",ex:"3211234567",ptrn:"3333(?:0(?:0$_bf_$d|1[0-5])|[4-9]$_bf_$d$_bf_$d)$_bf_$d{3}|(?:3(?:24[2-6]|3(?:00|3[0-24-9]))|9101)$_bf_$d{6}|3(?:0[0-5]|1$_bf_$d|2[0-3]|5[01]|70)$_bf_$d{7}"},{i:"CR",lbl:"Costa Rica",img:"cr.png",code:"+506",ex:"83123456",ptrn:"(?:3005$_bf_$d|6500[01])$_bf_$d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])$_bf_$d{6}"},{i:"CU",lbl:"Cuba",img:"cu.png",code:"+53",ex:"51234567",ptrn:"5$_bf_$d{7}"},{i:"CV",lbl:"Cabo Verde",img:"cv.png",code:"+238",ex:"9911234",ptrn:"(?:[34][36]|5[1-389]|9$_bf_$d)$_bf_$d{5}"},{i:"CW",lbl:"Curaçao",img:"cw.png",code:"+599",ex:"95181234",ptrn:"953[01]$_bf_$d{4}|9(?:5[12467]|6[5-9])$_bf_$d{5}"},{i:"CX",lbl:"Christmas Island",img:"cx.png",code:"+61",ex:"412345678",ptrn:"4(?:83[0-38]|93[0-6])$_bf_$d{5}|4(?:[0-3]$_bf_$d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])$_bf_$d{6}"},{i:"CY",lbl:"Cyprus",img:"cy.png",code:"+357",ex:"96123456",ptrn:"9[4-79]$_bf_$d{6}"},{i:"CZ",lbl:"Czechia",img:"cz.png",code:"+420",ex:"601123456",ptrn:"(?:60[1-8]|7(?:0[2-5]|[2379]$_bf_$d))$_bf_$d{6}"},{i:"DE",lbl:"Germany",img:"de.png",code:"+49",ex:"15123456789",ptrn:"15[0-25-9]$_bf_$d{8}|1(?:6[023]|7$_bf_$d)$_bf_$d{7,8}"},{i:"DJ",lbl:"Djibouti",img:"dj.png",code:"+253",ex:"77831001",ptrn:"77$_bf_$d{6}"},{i:"DK",lbl:"Denmark",img:"dk.png",code:"+45",ex:"32123456",ptrn:"(?:[2-7]$_bf_$d|8[126-9]|9[1-46-9])$_bf_$d{6}"},{i:"DM",lbl:"Dominica",img:"dm.png",code:"+1",ex:"7672251234",ptrn:"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])$_bf_$d{4}"},{i:"DO",lbl:"Dominican Republic (the)",img:"do.png",code:"+1",ex:"8092345678",ptrn:"8[024]9[2-9]$_bf_$d{6}"},{i:"DZ",lbl:"Algeria",img:"dz.png",code:"+213",ex:"551234567",ptrn:"(?:5(?:4[0-29]|5$_bf_$d|6[0-2])|6(?:[569]$_bf_$d|7[0-6])|7[7-9]$_bf_$d)$_bf_$d{6}"},{i:"EC",lbl:"Ecuador",img:"ec.png",code:"+593",ex:"991234567",ptrn:"964[0-2]$_bf_$d{5}|9(?:39|[57][89]|6[0-36-9]|[89]$_bf_$d)$_bf_$d{6}"},{i:"EE",lbl:"Estonia",img:"ee.png",code:"+372",ex:"51234567",ptrn:"5(?:[0-35-9]$_bf_$d{6}|4(?:[0-57-9]$_bf_$d{5}|6(?:[0-24-9]$_bf_$d{4}|3(?:[0-35-9]$_bf_$d{3}|4000))))|8(?:1(?:0(?:000|[3-9]$_bf_$d$_bf_$d)|(?:1(?:0[236]|1$_bf_$d)|(?:23|[3-79]$_bf_$d)$_bf_$d)$_bf_$d)|2(?:0(?:000|(?:19|[24-7]$_bf_$d)$_bf_$d)|(?:(?:[124-6]$_bf_$d|3[5-9])$_bf_$d|7(?:[679]$_bf_$d|8[13-9])|8(?:[2-6]$_bf_$d|7[01]))$_bf_$d)|[349]$_bf_$d{4})$_bf_$d$_bf_$d|5(?:(?:[02]$_bf_$d|5[0-478])$_bf_$d|1(?:[0-8]$_bf_$d|95)|6(?:4[0-4]|5[1-589]))$_bf_$d{3}"},{i:"EG",lbl:"Egypt",img:"eg.png",code:"+20",ex:"1001234567",ptrn:"1[0-25]$_bf_$d{8}"},{i:"EH",lbl:"Western Sahara",img:"eh.png",code:"+212",ex:"650123456",ptrn:"(?:6(?:[0-79]$_bf_$d|8[0-247-9])|7(?:0$_bf_$d|1[0-5]|6[1267]|7[0-57]))$_bf_$d{6}"},{i:"ER",lbl:"Eritrea",img:"er.png",code:"+291",ex:"7123456",ptrn:"(?:17[1-3]|7$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"ES",lbl:"Spain",img:"es.png",code:"+34",ex:"612345678",ptrn:"(?:590[16]00$_bf_$d|9(?:6906(?:09|10)|7390$_bf_$d$_bf_$d))$_bf_$d$_bf_$d|(?:6$_bf_$d|7[1-48])$_bf_$d{7}"},{i:"ET",lbl:"Ethiopia",img:"et.png",code:"+251",ex:"911234567",ptrn:"9$_bf_$d{8}"},{i:"FI",lbl:"Finland",img:"fi.png",code:"+358",ex:"412345678",ptrn:"4946$_bf_$d{2,6}|(?:4[0-8]|50)$_bf_$d{4,8}"},{i:"FJ",lbl:"Fiji",img:"fj.png",code:"+679",ex:"7012345",ptrn:"(?:[279]$_bf_$d|45|5[01568]|8[034679])$_bf_$d{5}"},{i:"FK",lbl:"Falkland Islands (the) [Malvinas]",img:"fk.png",code:"+500",ex:"51234",ptrn:"[56]$_bf_$d{4}"},{i:"FM",lbl:"Micronesia (Federated States of)",img:"fm.png",code:"+691",ex:"3501234",ptrn:"31(?:00[67]|208|309)$_bf_$d$_bf_$d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]$_bf_$d)$_bf_$d)$_bf_$d{3}"},{i:"FO",lbl:"Faroe Islands (the)",img:"fo.png",code:"+298",ex:"211234",ptrn:"(?:[27][1-9]|5$_bf_$d|91)$_bf_$d{4}"},{i:"FR",lbl:"France",img:"fr.png",code:"+33",ex:"612345678",ptrn:"(?:6(?:[0-24-8]$_bf_$d|3[0-8]|9[589])|7(?:00|[3-9]$_bf_$d))$_bf_$d{6}"},{i:"GA",lbl:"Gabon",img:"ga.png",code:"+241",ex:"06031234",ptrn:"(?:0[2-7]|6[256]|7[47])$_bf_$d{6}|[2-7]$_bf_$d{6}"},{i:"GB",lbl:"United Kingdom of Great Britain and Northern Ireland (the)",img:"gb.png",code:"+44",ex:"7400123456",ptrn:"7(?:457[0-57-9]|700[01]|911[028])$_bf_$d{5}|7(?:[1-3]$_bf_$d$_bf_$d|4(?:[0-46-9]$_bf_$d|5[0-689])|5(?:0[0-8]|[13-9]$_bf_$d|2[0-35-9])|7(?:0[1-9]|[1-7]$_bf_$d|8[02-9]|9[0-689])|8(?:[014-9]$_bf_$d|[23][0-8])|9(?:[024-9]$_bf_$d|1[02-9]|3[0-689]))$_bf_$d{6}"},{i:"GD",lbl:"Grenada",img:"gd.png",code:"+1",ex:"4734031234",ptrn:"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)$_bf_$d{4}"},{i:"GE",lbl:"Georgia",img:"ge.png",code:"+995",ex:"555123456",ptrn:"5(?:(?:0555|1177)[5-9]|757(?:7[7-9]|8[01]))$_bf_$d{3}|5(?:0070|(?:11|33)33|[25]222)[0-4]$_bf_$d{3}|5(?:00(?:0$_bf_$d|50)|11(?:00|1$_bf_$d|2[0-4])|5200|75(?:00|[57]5)|8(?:0(?:[01]$_bf_$d|2[0-4])|58[89]|8(?:55|88)))$_bf_$d{4}|(?:5(?:[14]4|5[0157-9]|68|7[0147-9]|9[1-35-9])|790)$_bf_$d{6}"},{i:"GF",lbl:"French Guiana",img:"gf.png",code:"+594",ex:"694201234",ptrn:"694(?:[0-249]$_bf_$d|3[0-48])$_bf_$d{4}"},{i:"GG",lbl:"Guernsey",img:"gg.png",code:"+44",ex:"7781123456",ptrn:"7(?:(?:781|839)$_bf_$d|911[17])$_bf_$d{5}"},{i:"GH",lbl:"Ghana",img:"gh.png",code:"+233",ex:"231234567",ptrn:"(?:2(?:[0346-8]$_bf_$d|5[67])|5(?:[0457]$_bf_$d|6[01]|9[1-9]))$_bf_$d{6}"},{i:"GI",lbl:"Gibraltar",img:"gi.png",code:"+350",ex:"57123456",ptrn:"(?:5[146-8]$_bf_$d|606)$_bf_$d{5}"},{i:"GL",lbl:"Greenland",img:"gl.png",code:"+299",ex:"221234",ptrn:"[245]$_bf_$d{5}"},{i:"GM",lbl:"Gambia (the)",img:"gm.png",code:"+220",ex:"3012345",ptrn:"(?:[23679]$_bf_$d|5[0-389])$_bf_$d{5}"},{i:"GN",lbl:"Guinea",img:"gn.png",code:"+224",ex:"601123456",ptrn:"6[0-356]$_bf_$d{7}"},{i:"GP",lbl:"Guadeloupe",img:"gp.png",code:"+590",ex:"690001234",ptrn:"69(?:0$_bf_$d$_bf_$d|1(?:2[2-9]|3[0-5]))$_bf_$d{4}"},{i:"GQ",lbl:"Equatorial Guinea",img:"gq.png",code:"+240",ex:"222123456",ptrn:"(?:222|55$_bf_$d)$_bf_$d{6}"},{i:"GR",lbl:"Greece",img:"gr.png",code:"+30",ex:"6912345678",ptrn:"68[57-9]$_bf_$d{7}|(?:69|94)$_bf_$d{8}"},{i:"GT",lbl:"Guatemala",img:"gt.png",code:"+502",ex:"51234567",ptrn:"[3-5]$_bf_$d{7}"},{i:"GU",lbl:"Guam",img:"gu.png",code:"+1",ex:"6713001234",ptrn:"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))$_bf_$d{4}"},{i:"GW",lbl:"Guinea-Bissau",img:"gw.png",code:"+245",ex:"955012345",ptrn:"9(?:5$_bf_$d|6[569]|77)$_bf_$d{6}"},{i:"GY",lbl:"Guyana",img:"gy.png",code:"+592",ex:"6091234",ptrn:"6$_bf_$d{6}"},{i:"HK",lbl:"Hong Kong",img:"hk.png",code:"+852",ex:"51234567",ptrn:"(?:46(?:[07][0-7]|1[0-6]|4[0-57-9]|5[0-8]|6[0-4])|5730|6(?:26[013-7]|66[0-3])|70(?:7[1-5]|8[0-4])|848[015-9]|929[03-9])$_bf_$d{4}|(?:46[238]|5(?:[1-59][0-46-9]|6[0-4689]|7[0-2469])|6(?:0[1-9]|[13-59]$_bf_$d|[268][0-57-9]|7[0-79])|84[09]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]$_bf_$d))$_bf_$d{5}"},{i:"HN",lbl:"Honduras",img:"hn.png",code:"+504",ex:"91234567",ptrn:"[37-9]$_bf_$d{7}"},{i:"HR",lbl:"Croatia",img:"hr.png",code:"+385",ex:"921234567",ptrn:"9(?:751$_bf_$d{5}|8$_bf_$d{6,7})|9(?:0[1-9]|[1259]$_bf_$d|7[0679])$_bf_$d{6}"},{i:"HT",lbl:"Haiti",img:"ht.png",code:"+509",ex:"34101234",ptrn:"[34]$_bf_$d{7}"},{i:"HU",lbl:"Hungary",img:"hu.png",code:"+36",ex:"201234567",ptrn:"(?:[257]0|3[01])$_bf_$d{7}"},{i:"ID",lbl:"Indonesia",img:"id.png",code:"+62",ex:"812345678",ptrn:"8[1-35-9]$_bf_$d{7,10}"},{i:"IE",lbl:"Ireland",img:"ie.png",code:"+353",ex:"850123456",ptrn:"8(?:22|[35-9]$_bf_$d)$_bf_$d{6}"},{i:"IL",lbl:"Israel",img:"il.png",code:"+972",ex:"502345678",ptrn:"5(?:(?:[02368]$_bf_$d|[19][2-9]|4[1-9])$_bf_$d|5(?:01|1[79]|2[2-9]|3[0-3]|4[34]|5[015689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))$_bf_$d{5}"},{i:"IM",lbl:"Isle of Man",img:"im.png",code:"+44",ex:"7924123456",ptrn:"76245[06]$_bf_$d{4}|7(?:4576|[59]24$_bf_$d|624[0-4689])$_bf_$d{5}"},{i:"IN",lbl:"India",img:"in.png",code:"+91",ex:"8123456789",ptrn:"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))$_bf_$d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))$_bf_$d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]$_bf_$d|7[02-8])$_bf_$d{5}|(?:6(?:[09]$_bf_$d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0$_bf_$d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]$_bf_$d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9$_bf_$d$_bf_$d)$_bf_$d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])$_bf_$d|7(?:[235689]$_bf_$d|4[0189]))|7(?:1(?:[013-8]$_bf_$d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]$_bf_$d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4$_bf_$d|5[0-367])|70[13-7]|881))[0189]$_bf_$d{5}"},{i:"IO",lbl:"British Indian Ocean Territory (the)",img:"io.png",code:"+246",ex:"3801234",ptrn:"38$_bf_$d{5}"},{i:"IQ",lbl:"Iraq",img:"iq.png",code:"+964",ex:"7912345678",ptrn:"7[3-9]$_bf_$d{8}"},{i:"IR",lbl:"Iran (Islamic Republic of)",img:"ir.png",code:"+98",ex:"9123456789",ptrn:"9(?:(?:0(?:[0-35]$_bf_$d|4[4-6])|(?:[13]$_bf_$d|2[0-3])$_bf_$d)$_bf_$d|9(?:(?:[0-3]$_bf_$d|4[0145])$_bf_$d|5[15]0|8(?:1$_bf_$d|88)|9(?:0[013]|[19]$_bf_$d|21|77|8[7-9])))$_bf_$d{5}"},{i:"IS",lbl:"Iceland",img:"is.png",code:"+354",ex:"6111234",ptrn:"(?:38[589]$_bf_$d$_bf_$d|6(?:1[1-8]|2[0-6]|3[027-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9$_bf_$d)|7(?:5[057]|[6-9]$_bf_$d)|8(?:2[0-59]|[3-69]$_bf_$d|8[28]))$_bf_$d{4}"},{i:"IT",lbl:"Italy",img:"it.png",code:"+39",ex:"3123456789",ptrn:"3[1-9]$_bf_$d{8}|3[2-9]$_bf_$d{7}"},{i:"JE",lbl:"Jersey",img:"je.png",code:"+44",ex:"7797712345",ptrn:"7(?:(?:(?:50|82)9|937)$_bf_$d|7(?:00[378]|97[7-9]))$_bf_$d{5}"},{i:"JM",lbl:"Jamaica",img:"jm.png",code:"+1",ex:"8762101234",ptrn:"(?:658295|876(?:2(?:0[6-9]|[14-9]$_bf_$d|2[013-9]|3[7-9])|[348]$_bf_$d$_bf_$d|5(?:0[1-9]|[1-9]$_bf_$d)|6(?:4[89]|6[67])|7(?:0[07]|7$_bf_$d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))$_bf_$d{4}"},{i:"JO",lbl:"Jordan",img:"jo.png",code:"+962",ex:"790123456",ptrn:"7(?:[78][0-25-9]|9$_bf_$d)$_bf_$d{6}"},{i:"JP",lbl:"Japan",img:"jp.png",code:"+81",ex:"9012345678",ptrn:"[7-9]0[1-9]$_bf_$d{7}"},{i:"KE",lbl:"Kenya",img:"ke.png",code:"+254",ex:"712123456",ptrn:"(?:1(?:0[0-6]|1[0-5]|2[014])|7$_bf_$d$_bf_$d)$_bf_$d{6}"},{i:"KG",lbl:"Kyrgyzstan",img:"kg.png",code:"+996",ex:"700123456",ptrn:"312(?:58$_bf_$d|973)$_bf_$d{3}|(?:2(?:0[0-35]|2$_bf_$d)|5[0-24-7]$_bf_$d|7(?:[07]$_bf_$d|55)|880|99[05-9])$_bf_$d{6}"},{i:"KH",lbl:"Cambodia",img:"kh.png",code:"+855",ex:"91234567",ptrn:"(?:(?:1[28]|3[18]|9[67])$_bf_$d|6[016-9]|7(?:[07-9]|[16]$_bf_$d)|8(?:[013-79]|8$_bf_$d))$_bf_$d{6}|(?:1$_bf_$d|9[0-57-9])$_bf_$d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48$_bf_$d{5}"},{i:"KI",lbl:"Kiribati",img:"ki.png",code:"+686",ex:"72001234",ptrn:"(?:63$_bf_$d{3}|73(?:0[0-5]$_bf_$d|140))$_bf_$d{3}|[67]200[01]$_bf_$d{3}"},{i:"KM",lbl:"Comoros (the)",img:"km.png",code:"+269",ex:"3212345",ptrn:"[34]$_bf_$d{6}"},{i:"KN",lbl:"Saint Kitts and Nevis",img:"kn.png",code:"+1",ex:"8697652917",ptrn:"869(?:48[89]|55[6-8]|66$_bf_$d|76[02-7])$_bf_$d{4}"},{i:"KP",lbl:"Korea (the Democratic People's Republic of)",img:"kp.png",code:"+850",ex:"1921234567",ptrn:"19[1-3]$_bf_$d{7}"},{i:"KR",lbl:"Korea (the Republic of)",img:"kr.png",code:"+82",ex:"1020000000",ptrn:"1(?:05(?:[0-8]$_bf_$d|9[0-6])|22[13]$_bf_$d)$_bf_$d{4,5}|1(?:0[1-46-9]|[16-9]$_bf_$d|2[013-9])$_bf_$d{6,7}"},{i:"KW",lbl:"Kuwait",img:"kw.png",code:"+965",ex:"50012345",ptrn:"(?:5(?:2(?:22|5[25])|7(?:55|77)|88[58])|6(?:222|333|444|70[013-9]|888|93[039])|9(?:11[01]|3(?:00|33)|500))$_bf_$d{4}|(?:5(?:[05]$_bf_$d|1[0-7]|6[56])|6(?:0[034679]|5[015-9]|6$_bf_$d|7[67]|9[069])|9(?:0[09]|22|[4679]$_bf_$d|55|8[057-9]))$_bf_$d{5}"},{i:"KY",lbl:"Cayman Islands (the)",img:"ky.png",code:"+1",ex:"3453231234",ptrn:"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|9(?:1[679]|2[2-9]|3[06-9]|90))$_bf_$d{4}"},{i:"KZ",lbl:"Kazakhstan",img:"kz.png",code:"+7",ex:"7710009998",ptrn:"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)$_bf_$d{7}"},{i:"LA",lbl:"Lao People's Democratic Republic (the)",img:"la.png",code:"+856",ex:"2023123456",ptrn:"(?:20(?:[239]$_bf_$d|5[24-9]|7[6-8])|302$_bf_$d)$_bf_$d{6}"},{i:"LB",lbl:"Lebanon",img:"lb.png",code:"+961",ex:"71123456",ptrn:"793(?:[01]$_bf_$d|2[0-4])$_bf_$d{3}|(?:(?:3|81)$_bf_$d|7(?:[01]$_bf_$d|6[013-9]|8[89]|9[12]))$_bf_$d{5}"},{i:"LC",lbl:"Saint Lucia",img:"lc.png",code:"+1",ex:"7582845678",ptrn:"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2$_bf_$d|3[0-3])|812)$_bf_$d{4}"},{i:"LI",lbl:"Liechtenstein",img:"li.png",code:"+423",ex:"660234567",ptrn:"(?:6(?:4(?:69|[7-9]$_bf_$d)|5[0-4]$_bf_$d|6(?:[024]$_bf_$d|[17]0|3[7-9]))$_bf_$d|7(?:[37-9]$_bf_$d|42|56))$_bf_$d{4}"},{i:"LK",lbl:"Sri Lanka",img:"lk.png",code:"+94",ex:"712345678",ptrn:"7(?:[0-25-8]$_bf_$d|4[01])$_bf_$d{6}"},{i:"LR",lbl:"Liberia",img:"lr.png",code:"+231",ex:"770123456",ptrn:"(?:(?:330|555|(?:77|88)$_bf_$d)$_bf_$d|4[67])$_bf_$d{5}|[56]$_bf_$d{6}"},{i:"LS",lbl:"Lesotho",img:"ls.png",code:"+266",ex:"50123456",ptrn:"[56]$_bf_$d{7}"},{i:"LT",lbl:"Lithuania",img:"lt.png",code:"+370",ex:"61234567",ptrn:"6$_bf_$d{7}"},{i:"LU",lbl:"Luxembourg",img:"lu.png",code:"+352",ex:"628123456",ptrn:"6(?:[269][18]|5[1568]|7[189]|81)$_bf_$d{6}"},{i:"LV",lbl:"Latvia",img:"lv.png",code:"+371",ex:"21234567",ptrn:"2$_bf_$d{7}"},{i:"LY",lbl:"Libya",img:"ly.png",code:"+218",ex:"912345678",ptrn:"9[1-6]$_bf_$d{7}"},{i:"MA",lbl:"Morocco",img:"ma.png",code:"+212",ex:"650123456",ptrn:"(?:6(?:[0-79]$_bf_$d|8[0-247-9])|7(?:0$_bf_$d|1[0-5]|6[1267]|7[0-57]))$_bf_$d{6}"},{i:"MC",lbl:"Monaco",img:"mc.png",code:"+377",ex:"612345678",ptrn:"4(?:[46]$_bf_$d|5[1-9])$_bf_$d{5}|(?:3|6$_bf_$d)$_bf_$d{7}"},{i:"MD",lbl:"Moldova (the Republic of)",img:"md.png",code:"+373",ex:"62112345",ptrn:"562$_bf_$d{5}|(?:6$_bf_$d|7[16-9])$_bf_$d{6}"},{i:"ME",lbl:"Montenegro",img:"me.png",code:"+382",ex:"67622901",ptrn:"6(?:[07-9]$_bf_$d|3[024]|6[0-25])$_bf_$d{5}"},{i:"MF",lbl:"Saint Martin (French part)",img:"mf.png",code:"+590",ex:"690001234",ptrn:"69(?:0$_bf_$d$_bf_$d|1(?:2[2-9]|3[0-5]))$_bf_$d{4}"},{i:"MG",lbl:"Madagascar",img:"mg.png",code:"+261",ex:"321234567",ptrn:"3[2-489]$_bf_$d{7}"},{i:"MH",lbl:"Marshall Islands (the)",img:"mh.png",code:"+692",ex:"2351234",ptrn:"(?:(?:23|54)5|329|45[56])$_bf_$d{4}"},{i:"MK",lbl:"Republic of North Macedonia",img:"mk.png",code:"+389",ex:"72345678",ptrn:"7(?:3555|4(?:60$_bf_$d|747)|94(?:[01]$_bf_$d|2[0-4]))$_bf_$d{3}|7(?:[0-25-8]$_bf_$d|3[2-4]|42|9[23])$_bf_$d{5}"},{i:"ML",lbl:"Mali",img:"ml.png",code:"+223",ex:"65012345",ptrn:"2(?:0(?:01|79)|17$_bf_$d)$_bf_$d{4}|(?:5[01]|[679]$_bf_$d|8[239])$_bf_$d{6}"},{i:"MM",lbl:"Myanmar",img:"mm.png",code:"+95",ex:"92123456",ptrn:"(?:17[01]|9(?:2(?:[0-4]|[56]$_bf_$d$_bf_$d)|(?:3(?:[0-36]|4$_bf_$d)|(?:6$_bf_$d|8[89]|9[4-8])$_bf_$d|7(?:3|40|[5-9]$_bf_$d))$_bf_$d|4(?:(?:[0245]$_bf_$d|[1379])$_bf_$d|88)|5[0-6])$_bf_$d)$_bf_$d{4}|9[69]1$_bf_$d{6}|9(?:[68]$_bf_$d|9[089])$_bf_$d{5}"},{i:"MN",lbl:"Mongolia",img:"mn.png",code:"+976",ex:"88123456",ptrn:"(?:83[01]|920)$_bf_$d{5}|(?:5[05]|8[05689]|9[013-9])$_bf_$d{6}"},{i:"MO",lbl:"Macao",img:"mo.png",code:"+853",ex:"66123456",ptrn:"6800[0-79]$_bf_$d{3}|6(?:[235]$_bf_$d$_bf_$d|6(?:0[0-5]|[1-9]$_bf_$d)|8(?:0[1-9]|[14-8]$_bf_$d|2[5-9]|[39][0-4]))$_bf_$d{4}"},{i:"MP",lbl:"Northern Mariana Islands (the)",img:"mp.png",code:"+1",ex:"6702345678",ptrn:"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)$_bf_$d{4}"},{i:"MQ",lbl:"Martinique",img:"mq.png",code:"+596",ex:"696201234",ptrn:"69(?:6(?:[0-46-9]$_bf_$d|5[0-6])|727)$_bf_$d{4}"},{i:"MR",lbl:"Mauritania",img:"mr.png",code:"+222",ex:"22123456",ptrn:"[2-4][0-46-9]$_bf_$d{6}"},{i:"MS",lbl:"Montserrat",img:"ms.png",code:"+1",ex:"6644923456",ptrn:"664(?:3(?:49|9[1-6])|49[2-6])$_bf_$d{4}"},{i:"MT",lbl:"Malta",img:"mt.png",code:"+356",ex:"96961234",ptrn:"(?:7(?:210|[79]$_bf_$d$_bf_$d)|9(?:[29]$_bf_$d$_bf_$d|69[67]|8(?:1[1-3]|89|97)))$_bf_$d{4}"},{i:"MU",lbl:"Mauritius",img:"mu.png",code:"+230",ex:"52512345",ptrn:"5(?:4(?:2[1-389]|7[1-9])|87[15-8])$_bf_$d{4}|5(?:2[5-9]|4[3-589]|[57]$_bf_$d|8[0-689]|9[0-8])$_bf_$d{5}"},{i:"MV",lbl:"Maldives",img:"mv.png",code:"+960",ex:"7712345",ptrn:"46[46]$_bf_$d{4}|(?:7$_bf_$d|9[13-9])$_bf_$d{5}"},{i:"MW",lbl:"Malawi",img:"mw.png",code:"+265",ex:"991234567",ptrn:"111$_bf_$d{6}|(?:31|77|88|9[89])$_bf_$d{7}"},{i:"MX",lbl:"Mexico",img:"mx.png",code:"+52",ex:"12221234567",ptrn:"6571$_bf_$d{6}|(?:1(?:2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3$_bf_$d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]$_bf_$d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1$_bf_$d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))|2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3$_bf_$d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4$_bf_$d|8[1-35-9]|9[2-689])|5(?:[56]$_bf_$d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1$_bf_$d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9$_bf_$d))$_bf_$d{7}"},{i:"MY",lbl:"Malaysia",img:"my.png",code:"+60",ex:"123456789",ptrn:"1(?:1888[69]|4400|8(?:47|8[27])[0-4])$_bf_$d{4}|1(?:0(?:[23568]$_bf_$d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]$_bf_$d$_bf_$d|6(?:0[5-9]|[1-9]$_bf_$d)|7(?:[0134]$_bf_$d|2[1-9]|5[0-6]))|(?:(?:[269]|59)$_bf_$d|[37][1-9]|4[235-9])$_bf_$d|8(?:1[23]|[236]$_bf_$d|4[06]|5[7-9]|7[016-9]|8[01]|9[0-8]))$_bf_$d{5}"},{i:"MZ",lbl:"Mozambique",img:"mz.png",code:"+258",ex:"821234567",ptrn:"8[2-79]$_bf_$d{7}"},{i:"NA",lbl:"Namibia",img:"na.png",code:"+264",ex:"811234567",ptrn:"(?:60|8[1245])$_bf_$d{7}"},{i:"NC",lbl:"New Caledonia",img:"nc.png",code:"+687",ex:"751234",ptrn:"(?:5[0-4]|[79]$_bf_$d|8[0-79])$_bf_$d{4}"},{i:"NE",lbl:"Niger (the)",img:"ne.png",code:"+227",ex:"93123456",ptrn:"(?:23|7[04]|[89]$_bf_$d)$_bf_$d{6}"},{i:"NF",lbl:"Norfolk Island",img:"nf.png",code:"+672",ex:"381234",ptrn:"(?:14|3[58])$_bf_$d{4}"},{i:"NG",lbl:"Nigeria",img:"ng.png",code:"+234",ex:"8021234567",ptrn:"(?:702[0-24-9]|8(?:01|19)[01])$_bf_$d{6}|(?:70[13-689]|8(?:0[2-9]|1[0-8])|9(?:0[1-9]|1[2356]))$_bf_$d{7}"},{i:"NI",lbl:"Nicaragua",img:"ni.png",code:"+505",ex:"81234567",ptrn:"(?:5(?:5[0-7]|[78]$_bf_$d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8$_bf_$d)$_bf_$d)$_bf_$d{5}"},{i:"NL",lbl:"Netherlands (the)",img:"nl.png",code:"+31",ex:"612345678",ptrn:"6[1-58]$_bf_$d{7}"},{i:"NO",lbl:"Norway",img:"no.png",code:"+47",ex:"40612345",ptrn:"(?:4[015-8]|59|9$_bf_$d)$_bf_$d{6}"},{i:"NP",lbl:"Nepal",img:"np.png",code:"+977",ex:"9841234567",ptrn:"9(?:6[0-3]|7[245]|8[0-24-68])$_bf_$d{7}"},{i:"NR",lbl:"Nauru",img:"nr.png",code:"+674",ex:"5551234",ptrn:"(?:55[3-9]|666|8$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"NU",lbl:"Niue",img:"nu.png",code:"+683",ex:"8884012",ptrn:"888[4-9]$_bf_$d{3}"},{i:"NZ",lbl:"New Zealand",img:"nz.png",code:"+64",ex:"211234567",ptrn:"2[0-27-9]$_bf_$d{7,8}|21$_bf_$d{6}"},{i:"OM",lbl:"Oman",img:"om.png",code:"+968",ex:"92123456",ptrn:"1505$_bf_$d{4}|(?:7(?:[1289]$_bf_$d|70)|9(?:0[1-9]|[1-9]$_bf_$d))$_bf_$d{5}"},{i:"PA",lbl:"Panama",img:"pa.png",code:"+507",ex:"61234567",ptrn:"(?:1[16]1|21[89]|6(?:[02-9]$_bf_$d|1[0-8])$_bf_$d|8(?:1[01]|7[23]))$_bf_$d{4}"},{i:"PE",lbl:"Peru",img:"pe.png",code:"+51",ex:"912345678",ptrn:"9$_bf_$d{8}"},{i:"PF",lbl:"French Polynesia",img:"pf.png",code:"+689",ex:"87123456",ptrn:"8[7-9]$_bf_$d{6}"},{i:"PG",lbl:"Papua New Guinea",img:"pg.png",code:"+675",ex:"70123456",ptrn:"(?:7$_bf_$d|8[18])$_bf_$d{6}"},{i:"PH",lbl:"Philippines (the)",img:"ph.png",code:"+63",ex:"9051234567",ptrn:"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[2357]$_bf_$d|4[2-9]|6[0-35-9]|8[135-9]|9[1-9]))$_bf_$d{7}"},{i:"PK",lbl:"Pakistan",img:"pk.png",code:"+92",ex:"3012345678",ptrn:"3(?:[014]$_bf_$d|2[0-5]|3[0-7]|55|64)$_bf_$d{7}"},{i:"PL",lbl:"Poland",img:"pl.png",code:"+48",ex:"512345678",ptrn:"211(?:1$_bf_$d|3[1-5])$_bf_$d{4}|(?:45|5[0137]|6[069]|7[2389]|88)$_bf_$d{7}"},{i:"PM",lbl:"Saint Pierre and Miquelon",img:"pm.png",code:"+508",ex:"551234",ptrn:"(?:4[02-4]|5[05])$_bf_$d{4}"},{i:"PR",lbl:"Puerto Rico",img:"pr.png",code:"+1",ex:"7872345678",ptrn:"(?:787|939)[2-9]$_bf_$d{6}"},{i:"PS",lbl:"Palestine, State of",img:"ps.png",code:"+970",ex:"599123456",ptrn:"5[69]$_bf_$d{7}"},{i:"PT",lbl:"Portugal",img:"pt.png",code:"+351",ex:"912345678",ptrn:"6[0356]92(?:30|9$_bf_$d)$_bf_$d{3}|(?:(?:16|6[0356])93|9(?:[1-36]$_bf_$d$_bf_$d|480))$_bf_$d{5}"},{i:"PW",lbl:"Palau",img:"pw.png",code:"+680",ex:"6201234",ptrn:"(?:46[0-5]|6[2-4689]0)$_bf_$d{4}|(?:45|77|88)$_bf_$d{5}"},{i:"PY",lbl:"Paraguay",img:"py.png",code:"+595",ex:"961456789",ptrn:"9(?:51|6[129]|[78][1-6]|9[1-5])$_bf_$d{6}"},{i:"QA",lbl:"Qatar",img:"qa.png",code:"+974",ex:"33123456",ptrn:"(?:28|[35-7]$_bf_$d)$_bf_$d{6}"},{i:"RE",lbl:"Réunion",img:"re.png",code:"+262",ex:"692123456",ptrn:"(?:69(?:2$_bf_$d$_bf_$d|3(?:[06][0-46]|1[013]|2[0-2]|3[0-39]|4$_bf_$d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))|9769$_bf_$d)$_bf_$d{4}"},{i:"RO",lbl:"Romania",img:"ro.png",code:"+40",ex:"712034567",ptrn:"7020$_bf_$d{5}|7(?:0[013-9]|1[0-2]|[2-7]$_bf_$d|8[03-8]|9[019])$_bf_$d{6}"},{i:"RS",lbl:"Serbia",img:"rs.png",code:"+381",ex:"601234567",ptrn:"6(?:[0-689]|7$_bf_$d)$_bf_$d{6,7}"},{i:"RU",lbl:"Russian Federation (the)",img:"ru.png",code:"+7",ex:"9123456789",ptrn:"9$_bf_$d{9}"},{i:"RW",lbl:"Rwanda",img:"rw.png",code:"+250",ex:"720123456",ptrn:"7[2389]$_bf_$d{7}"},{i:"SA",lbl:"Saudi Arabia",img:"sa.png",code:"+966",ex:"512345678",ptrn:"579[01]$_bf_$d{5}|5(?:[013-689]$_bf_$d|7[0-36-8])$_bf_$d{6}"},{i:"SB",lbl:"Solomon Islands",img:"sb.png",code:"+677",ex:"7421234",ptrn:"48$_bf_$d{3}|(?:(?:7[1-9]|8[4-9])$_bf_$d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]$_bf_$d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))$_bf_$d{4}"},{i:"SC",lbl:"Seychelles",img:"sc.png",code:"+248",ex:"2510123",ptrn:"2[5-8]$_bf_$d{5}"},{i:"SD",lbl:"Sudan (the)",img:"sd.png",code:"+249",ex:"911231234",ptrn:"(?:1[0-2]|9[0-3569])$_bf_$d{7}"},{i:"SE",lbl:"Sweden",img:"se.png",code:"+46",ex:"701234567",ptrn:"7[02369]$_bf_$d{7}"},{i:"SG",lbl:"Singapore",img:"sg.png",code:"+65",ex:"81234567",ptrn:"(?:8(?:0(?:[13]$_bf_$d|2[013-9]|4[0-35-7])|[1-8]$_bf_$d$_bf_$d|9(?:[0-4]$_bf_$d|5[0-2]))|9[0-8]$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"SH",lbl:"Saint Helena, Ascension and Tristan da Cunha",img:"sh.png",code:"+290",ex:"51234",ptrn:"[56]$_bf_$d{4}"},{i:"SI",lbl:"Slovenia",img:"si.png",code:"+386",ex:"31234567",ptrn:"65(?:1$_bf_$d|55|[67]0)$_bf_$d{4}|(?:[37][01]|4[0139]|51|6[489])$_bf_$d{6}"},{i:"SJ",lbl:"Svalbard and Jan Mayen",img:"sj.png",code:"+47",ex:"41234567",ptrn:"(?:4[015-8]|59|9$_bf_$d)$_bf_$d{6}"},{i:"SK",lbl:"Slovakia",img:"sk.png",code:"+421",ex:"912123456",ptrn:"909[1-9]$_bf_$d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5$_bf_$d)$_bf_$d{6}"},{i:"SL",lbl:"Sierra Leone",img:"sl.png",code:"+232",ex:"25123456",ptrn:"(?:25|3[0-5]|66|7[3-9]|8[08]|9[09])$_bf_$d{6}"},{i:"SM",lbl:"San Marino",img:"sm.png",code:"+378",ex:"66661212",ptrn:"6[16]$_bf_$d{6}"},{i:"SN",lbl:"Senegal",img:"sn.png",code:"+221",ex:"701234567",ptrn:"75(?:01|[38]3)$_bf_$d{5}|7(?:[06-8]$_bf_$d|21|5[4-7]|90)$_bf_$d{6}"},{i:"SO",lbl:"Somalia",img:"so.png",code:"+252",ex:"71123456",ptrn:"(?:(?:15|(?:3[59]|4[89]|79|8[08])$_bf_$d|6(?:0[5-7]|[1-9]$_bf_$d)|9(?:0$_bf_$d|[2-9]))$_bf_$d|2(?:4$_bf_$d|8))$_bf_$d{5}|(?:6$_bf_$d|7[1-9])$_bf_$d{6}"},{i:"SR",lbl:"Suriname",img:"sr.png",code:"+597",ex:"7412345",ptrn:"(?:7[124-7]|8[124-9])$_bf_$d{5}"},{i:"SS",lbl:"South Sudan",img:"ss.png",code:"+211",ex:"977123456",ptrn:"(?:12|9[1257-9])$_bf_$d{7}"},{i:"ST",lbl:"Sao Tome and Principe",img:"st.png",code:"+239",ex:"9812345",ptrn:"900[5-9]$_bf_$d{3}|9(?:0[1-9]|[89]$_bf_$d)$_bf_$d{4}"},{i:"SV",lbl:"El Salvador",img:"sv.png",code:"+503",ex:"70123456",ptrn:"66(?:[02-9]$_bf_$d$_bf_$d|1(?:[02-9]$_bf_$d|16))$_bf_$d{3}|(?:6[0-57-9]|7$_bf_$d)$_bf_$d{6}"},{i:"SX",lbl:"Sint Maarten (Dutch part)",img:"sx.png",code:"+1",ex:"7215205678",ptrn:"7215(?:1[02]|2$_bf_$d|5[034679]|8[014-8])$_bf_$d{4}"},{i:"SY",lbl:"Syrian Arab Republic",img:"sy.png",code:"+963",ex:"944567890",ptrn:"9(?:22|[3-689]$_bf_$d)$_bf_$d{6}"},{i:"SZ",lbl:"Eswatini",img:"sz.png",code:"+268",ex:"76123456",ptrn:"7[6-9]$_bf_$d{6}"},{i:"TC",lbl:"Turks and Caicos Islands (the)",img:"tc.png",code:"+1",ex:"6492311234",ptrn:"649(?:2(?:3[129]|4[1-79])|3$_bf_$d$_bf_$d|4[34][1-3])$_bf_$d{4}"},{i:"TD",lbl:"Chad",img:"td.png",code:"+235",ex:"63012345",ptrn:"(?:6[023568]|77|9$_bf_$d)$_bf_$d{6}"},{i:"TG",lbl:"Togo",img:"tg.png",code:"+228",ex:"90112345",ptrn:"(?:7[09]|9[0-36-9])$_bf_$d{6}"},{i:"TH",lbl:"Thailand",img:"th.png",code:"+66",ex:"812345678",ptrn:"671[0-3]$_bf_$d{5}|(?:14|6[1-6]|[89]$_bf_$d)$_bf_$d{7}"},{i:"TJ",lbl:"Tajikistan",img:"tj.png",code:"+992",ex:"917123456",ptrn:"41[18]$_bf_$d{6}|(?:[034]0|11|2[02]|5[05]|7[07]|8[08]|9$_bf_$d)$_bf_$d{7}"},{i:"TK",lbl:"Tokelau",img:"tk.png",code:"+690",ex:"7290",ptrn:"7[2-4]$_bf_$d{2,5}"},{i:"TL",lbl:"Timor-Leste",img:"tl.png",code:"+670",ex:"77212345",ptrn:"7[2-8]$_bf_$d{6}"},{i:"TM",lbl:"Turkmenistan",img:"tm.png",code:"+993",ex:"66123456",ptrn:"6$_bf_$d{7}"},{i:"TN",lbl:"Tunisia",img:"tn.png",code:"+216",ex:"20123456",ptrn:"3(?:001|[12]40)$_bf_$d{4}|(?:(?:[259]$_bf_$d|4[0-7])$_bf_$d|3(?:1[1-35]|6[0-4]|91))$_bf_$d{5}"},{i:"TO",lbl:"Tonga",img:"to.png",code:"+676",ex:"7715123",ptrn:"(?:55[4-6]|6(?:[09]$_bf_$d|3[02]|8[15-9])|(?:7$_bf_$d|8[46-9])$_bf_$d|999)$_bf_$d{4}"},{i:"TR",lbl:"Turkey",img:"tr.png",code:"+90",ex:"5012345678",ptrn:"56161$_bf_$d{5}|5(?:0[15-7]|1[06]|24|[34]$_bf_$d|5[1-59]|9[46])$_bf_$d{7}"},{i:"TT",lbl:"Trinidad and Tobago",img:"tt.png",code:"+1",ex:"8682911234",ptrn:"868(?:(?:2[5-9]|3$_bf_$d)$_bf_$d|4(?:3[0-6]|[6-9]$_bf_$d)|6(?:20|78|8$_bf_$d)|7(?:0[1-9]|1[02-9]|[2-9]$_bf_$d))$_bf_$d{4}"},{i:"TV",lbl:"Tuvalu",img:"tv.png",code:"+688",ex:"901234",ptrn:"(?:7[01]$_bf_$d|90)$_bf_$d{4}"},{i:"TW",lbl:"Taiwan (Province of China)",img:"tw.png",code:"+886",ex:"912345678",ptrn:"(?:40001[0-2]|9[0-8]$_bf_$d{4})$_bf_$d{3}"},{i:"TZ",lbl:"Tanzania, United Republic of",img:"tz.png",code:"+255",ex:"621234567",ptrn:"77[2-9]$_bf_$d{6}|(?:6[1-9]|7[1-689])$_bf_$d{7}"},{i:"UA",lbl:"Ukraine",img:"ua.png",code:"+380",ex:"501234567",ptrn:"(?:50|6[36-8]|7[1-3]|9[1-9])$_bf_$d{7}"},{i:"UG",lbl:"Uganda",img:"ug.png",code:"+256",ex:"712345678",ptrn:"726[01]$_bf_$d{5}|7(?:[0157-9]$_bf_$d|20|36|[46][0-4])$_bf_$d{6}"},{i:"US",lbl:"United States of America (the)",img:"us.png",code:"+1",ex:"2015550123",ptrn:"5056(?:[0-35-9]$_bf_$d|4[46])$_bf_$d{4}|(?:4722|505[2-57-9])$_bf_$d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|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-47-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]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|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-389]|8[04-69]))[2-9]$_bf_$d{6}"},{i:"UY",lbl:"Uruguay",img:"uy.png",code:"+598",ex:"94231234",ptrn:"9[1-9]$_bf_$d{6}"},{i:"UZ",lbl:"Uzbekistan",img:"uz.png",code:"+998",ex:"912345678",ptrn:"(?:(?:33|88|9[0-57-9])$_bf_$d{3}|55(?:50[013]|90$_bf_$d)|6(?:1(?:2(?:2[01]|98)|35[0-4]|50$_bf_$d|61[23]|7(?:[01][017]|4$_bf_$d|55|9[5-9]))|2(?:(?:11|7$_bf_$d)$_bf_$d|2(?:[12]1|9[01379])|5(?:[126]$_bf_$d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7$_bf_$d)$_bf_$d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])$_bf_$d|4(?:56|83)|7(?:[07]$_bf_$d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0$_bf_$d|[39][07])|9(?:0$_bf_$d|7[079]))|9(?:2(?:1[1267]|3[01]|5$_bf_$d|7[0-4])|(?:5[67]|7$_bf_$d)$_bf_$d|6(?:2[0-26]|8$_bf_$d)))|7(?:[07]$_bf_$d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98$_bf_$d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57$_bf_$d|7(?:0$_bf_$d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])$_bf_$d|5(?:0[0-4]|5[579]|9$_bf_$d)|7(?:[0-3579]$_bf_$d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8$_bf_$d|9[5-9])|7(?:0$_bf_$d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]$_bf_$d))|5(?:112|2(?:0$_bf_$d|2[29]|[49]4)|3[1568]$_bf_$d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]$_bf_$d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39$_bf_$d|41[179]|5(?:[349]$_bf_$d|5[0-2])|7(?:0[017]|[13]$_bf_$d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7$_bf_$d)|57[02569]|7(?:2[05-9]|3[37]|4$_bf_$d|60|7[2579]|87|9[07]))))$_bf_$d{4}"},{i:"VA",lbl:"Holy See (the)",img:"va.png",code:"+39",ex:"3123456789",ptrn:"3[1-9]$_bf_$d{8}|3[2-9]$_bf_$d{7}"},{i:"VC",lbl:"Saint Vincent and the Grenadines",img:"vc.png",code:"+1",ex:"7844301234",ptrn:"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)$_bf_$d{4}"},{i:"VE",lbl:"Venezuela (Bolivarian Republic of)",img:"ve.png",code:"+58",ex:"4121234567",ptrn:"4(?:1[24-8]|2[46])$_bf_$d{7}"},{i:"VG",lbl:"Virgin Islands (British)",img:"vg.png",code:"+1",ex:"2843001234",ptrn:"284496[6-9]$_bf_$d{3}|284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|99)|5(?:4[0-7]|68|9[69]))$_bf_$d{4}"},{i:"VI",lbl:"Virgin Islands (U.S.)",img:"vi.png",code:"+1",ex:"3406421234",ptrn:"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7$_bf_$d)|884|998)$_bf_$d{4}"},{i:"VN",lbl:"Viet Nam",img:"vn.png",code:"+84",ex:"912345678",ptrn:"(?:5(?:2[238]|59)|89[689]|99[013-9])$_bf_$d{6}|(?:3$_bf_$d|5[689]|7[06-9]|8[1-8]|9[0-8])$_bf_$d{7}"},{i:"VU",lbl:"Vanuatu",img:"vu.png",code:"+678",ex:"5912345",ptrn:"(?:[58]$_bf_$d|7[013-7])$_bf_$d{5}"},{i:"WF",lbl:"Wallis and Futuna",img:"wf.png",code:"+681",ex:"821234",ptrn:"(?:72|8[23])$_bf_$d{4}"},{i:"WS",lbl:"Samoa",img:"ws.png",code:"+685",ex:"7212345",ptrn:"(?:7[1-35-7]|8(?:[3-7]|9$_bf_$d{3}))$_bf_$d{5}"},{i:"YE",lbl:"Yemen",img:"ye.png",code:"+967",ex:"712345678",ptrn:"7[0137]$_bf_$d{7}"},{i:"YT",lbl:"Mayotte",img:"yt.png",code:"+262",ex:"639012345",ptrn:"639(?:0[0-79]|1[019]|[267]$_bf_$d|3[09]|40|5[05-9]|9[04-79])$_bf_$d{4}"},{i:"ZA",lbl:"South Africa",img:"za.png",code:"+27",ex:"711234567",ptrn:"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])$_bf_$d{3}|8[1-4]$_bf_$d{3,7}|(?:2[27]|47|54)4950$_bf_$d{3}|(?:1(?:049[2-4]|9[12]$_bf_$d$_bf_$d)|(?:6$_bf_$d|7[0-46-9])$_bf_$d{3}|8(?:5$_bf_$d{3}|7(?:08[67]|158|28[5-9]|310)))$_bf_$d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920$_bf_$d{3}|(?:12|[2-5]1)492$_bf_$d{4}"},{i:"ZM",lbl:"Zambia",img:"zm.png",code:"+260",ex:"955123456",ptrn:"(?:7[679]|9[5-8])$_bf_$d{7}"},{i:"ZW",lbl:"Zimbabwe",img:"zw.png",code:"+263",ex:"712345678",ptrn:"7(?:[178]$_bf_$d|3[1-9])$_bf_$d{6}"}],valid:{},err:{invalid:{dflt:'<p style="margin:0">Please enter a valid phone number</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"phone-number-19-6"},"fld_key-7":{typ:"select",lbl:"Complaint Type",phHide:!0,ph:"Select an Option",optionsList:[{"List-1":[{lbl:"Product"},{lbl:"Service"},{lbl:"Billing"},{lbl:"Shipping"},{lbl:"Other"}]}],config:{selectedOptImage:!1,selectedOptClearable:!0,searchClearable:!0,optionIcon:!1,placeholder:"Select an option",showSearchPh:!0,searchPlaceholder:"Search options..",maxHeight:400,multipleSelect:!1,showChip:!1,selectedOptImgSrc:"test.png",closeOnSelect:!0,activeList:0,allowCustomOption:!1,defaultValue:""},valid:{req:!0,reqShow:!0,reqPos:"after"},err:{mn:{dflt:'<p style="margin:0">Minimum 0 file required</p>',show:!0},mx:{dflt:'<p style="margin:0">Maximum 0 file can uploaded</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"select-19-7"},"fld_key-8":{typ:"date",lbl:"Date of Incident",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"date-19-8"},"fld_key-9":{typ:"number",lbl:"Order Number/Transaction ID",ph:"e.g. 675",phHide:!0,valid:{},err:{invalid:{dflt:'<p style="margin:0">Number is invalid</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"number-19-9"},"fld_key-10":{typ:"file-up",lbl:"Attachments ",btnTxt:"Attach File",valid:{},prefixIcn:"https://bitapps.pro/wp-content/plugins/bit-form/static/file-upload/paperclip.svg",err:{maxSize:{dflt:'<p style="margin:0">File Size is Exceeded</p>',show:!0},minFile:{dflt:'<p style="margin:0">Minimum 0 file required</p>',show:!0},maxFile:{dflt:'<p style="margin:0">Maximum 0 file can uploaded</p>',show:!0}},customClasses:{},customAttributes:{},config:{multiple:!0,allowMaxSize:!0,showMaxSize:!0,maxSize:2,sizeUnit:"MB",isItTotalMax:!1,showSelectStatus:!0,fileSelectStatus:"No File Selected",allowedFileType:"",showFileList:!0,fileExistMsg:"A file already exists",showFilePreview:!0,showFileSize:!0,duplicateAllow:!1,accept:"",minFile:0,maxFile:0},fieldName:"file-up-19-10",subtitle:"supporting documents such as receipts, screenshots, or photos.",subtitleHide:!0},"fld_key-11":{typ:"select",lbl:"Urgency of the Complaint",phHide:!0,ph:"Select an Option",optionsList:[{"List-1":[{lbl:"Low"},{lbl:"Medium"},{lbl:"High"}]}],config:{selectedOptImage:!1,selectedOptClearable:!0,searchClearable:!0,optionIcon:!1,placeholder:"Select an option",showSearchPh:!0,searchPlaceholder:"Search options..",maxHeight:400,multipleSelect:!1,showChip:!1,selectedOptImgSrc:"test.png",closeOnSelect:!0,activeList:0,allowCustomOption:!1,defaultValue:""},valid:{},err:{mn:{dflt:'<p style="margin:0">Minimum 0 file required</p>',show:!0},mx:{dflt:'<p style="margin:0">Maximum 0 file can uploaded</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"select-19-11"},"fld_key-12":{typ:"text",lbl:"Last Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"text-fld_key-12",acHide:!0,ac:"name",ph:"Doe"},"fld_key-13":{typ:"decision-box",adminLbl:"Decision Box",adminLblHide:!0,lbl:'<p style="margin: 0;">I agree to the <a href="#" rel="noopener">Terms & Conditions</a> and consent to the use of my data for resolving this complaint.</p>',msg:{checked:"Accepted",unchecked:"Rejected"},valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"decision-box-19-13"}},additionalSettings:{enabled:{empty_submission:!0},settings:{empty_submission:{message:"Empty form cannot be submitted."}}}},yo={name:"Disaster Relief Donation",formInfo:{formName:"Disaster Relief Donation"},themeVars:{lgDarkThemeVars:{},lgLightThemeVars:{"--btn-bdr":"none","--btn-bdr-rad":"var(--g-bdr-rad)","--btn-bdr-width":"0","--btn-f-style":"","--btn-fs":"var(--fld-fs)","--btn-fw":700,"--btn-m":"0px 0px","--btn-p":"12px 15px","--dir":"ltr","--err-bdr":"solid","--err-bdr-rad":"3px","--err-bdr-width":"1px","--err-h":"","--err-m":"4px 0 0 0","--err-p":"7px","--err-txt-al":"","--err-txt-font-style":"","--err-txt-font-w":400,"--err-txt-fs":"12px","--err-txt-pre-i-bdr":"","--err-txt-pre-i-bdr-rad":"8px","--err-txt-pre-i-bdr-width":"","--err-txt-pre-i-h":"15px","--err-txt-pre-i-m":"0px 5px 0px 0px","--err-txt-pre-i-p":"","--err-txt-pre-i-w":"15px","--err-txt-suf-i-bdr":"","--err-txt-suf-i-bdr-rad":"8px","--err-txt-suf-i-bdr-width":"","--err-txt-suf-i-h":"15px","--err-txt-suf-i-m":"0px 0px 0px 5px","--err-txt-suf-i-p":"","--err-txt-suf-i-w":"15px","--fld-f-style":"normal","--fld-f-w":500,"--fld-fs":"14px","--fld-lbl-bdr":"","--fld-lbl-bdr-rad":"","--fld-lbl-bdr-width":"","--fld-lbl-fs":"14px","--fld-lbl-m":"","--fld-lbl-p":"","--fld-lbl-pn":"","--fld-m":"","--fld-p":"10px","--fld-wrp-bdr":"","--fld-wrp-bdr-rad":"","--fld-wrp-bdr-width":"","--fld-wrp-dis":"block","--fld-wrp-fdir":"","--fld-wrp-justify":"center","--fld-wrp-m":"","--fld-wrp-p":"7px 5px 7px 5px","--fld-wrp-width":"","--g-bdr-rad":"3px","--g-bdr-width":"2px","--g-font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif","--g-o-offset":"1px","--g-o-s":"solid","--g-o-w":"1px","--global-fld-bdr":"solid","--global-outline":"1px solid var(--global-accent-color)","--global-outline-offset":"1px","--hlp-txt-al":"","--hlp-txt-bdr":"","--hlp-txt-bdr-rad":"","--hlp-txt-bdr-width":"","--hlp-txt-font-style":"","--hlp-txt-font-w":400,"--hlp-txt-fs":"12px","--hlp-txt-m":"2px 0px 0px 0px","--hlp-txt-p":"3px 0","--hlp-txt-pre-i-bdr":"","--hlp-txt-pre-i-bdr-rad":"8px","--hlp-txt-pre-i-bdr-width":"","--hlp-txt-pre-i-h":"15px","--hlp-txt-pre-i-m":"0px 5px 0px 0px","--hlp-txt-pre-i-p":"","--hlp-txt-pre-i-w":"15px","--hlp-txt-suf-i-bdr":"","--hlp-txt-suf-i-bdr-rad":"8px","--hlp-txt-suf-i-bdr-width":"","--hlp-txt-suf-i-h":"15px","--hlp-txt-suf-i-m":"0px 0px 0px 5px","--hlp-txt-suf-i-p":"","--hlp-txt-suf-i-w":"15px","--inp-wrp-width":"","--lbl-al":"","--lbl-font-style":"","--lbl-font-w":600,"--lbl-pre-i-bdr":"","--lbl-pre-i-bdr-rad":"8px","--lbl-pre-i-bdr-width":"","--lbl-pre-i-h":"20px","--lbl-pre-i-m":"0px 5px 0px 0px","--lbl-pre-i-p":"","--lbl-pre-i-w":"20px","--lbl-suf-i-bdr":"","--lbl-suf-i-bdr-rad":"8px","--lbl-suf-i-bdr-width":"","--lbl-suf-i-h":"20px","--lbl-suf-i-m":"0px 0px 0px 5px","--lbl-suf-i-p":"","--lbl-suf-i-w":"20px","--lbl-wrp-bdr":"","--lbl-wrp-bdr-rad":"","--lbl-wrp-bdr-width":"","--lbl-wrp-m":"0 0 4px 0","--lbl-wrp-p":"","--lbl-wrp-sa":"","--lbl-wrp-width":"100%","--pre-i-bdr":"","--pre-i-bdr-rad":"8px","--pre-i-bdr-width":"","--pre-i-h":"25px","--pre-i-m":"0px 0px 0px 3px","--pre-i-p":"","--pre-i-w":"25px","--req-smbl-fs":"","--req-smbl-fw":"","--req-smbl-lh":"","--req-smbl-lt":"","--req-smbl-m":"","--req-smbl-p":"","--req-smbl-pn":"","--req-smbl-rt":"","--sub-titl-al":"","--sub-titl-bdr":"","--sub-titl-bdr-rad":"","--sub-titl-bdr-width":"","--sub-titl-font-style":"","--sub-titl-font-w":500,"--sub-titl-fs":"12px","--sub-titl-m":"2px 0px 0px 0px","--sub-titl-p":"3px 0","--sub-titl-pre-i-bdr":"","--sub-titl-pre-i-bdr-rad":"8px","--sub-titl-pre-i-bdr-width":"","--sub-titl-pre-i-h":"15px","--sub-titl-pre-i-m":"0px 5px 0px 0px","--sub-titl-pre-i-p":"","--sub-titl-pre-i-w":"15px","--sub-titl-suf-i-bdr":"","--sub-titl-suf-i-bdr-rad":"8px","--sub-titl-suf-i-bdr-width":"","--sub-titl-suf-i-h":"15px","--sub-titl-suf-i-m":"0px 0px 0px 5px","--sub-titl-suf-i-p":"","--sub-titl-suf-i-w":"15px","--suf-i-bdr":"","--suf-i-bdr-rad":"8px","--suf-i-bdr-width":"","--suf-i-h":"25px","--suf-i-m":"0px 3px 0px 0px","--suf-i-p":"","--suf-i-w":"25px"},mdDarkThemeVars:{},mdLightThemeVars:{},smDarkThemeVars:{},smLightThemeVars:{}},themeColors:{darkThemeColors:{"--bg-0":"hsl(213, 32%, 14%)","--bg-10":"hsl(213, 32%, 24%)","--bg-100":"hsl(213, 32%, 100%)","--bg-15":"hsl(213, 32%, 29%)","--bg-20":"hsl(213, 32%, 34%)","--bg-25":"hsl(213, 32%, 39%)","--bg-30":"hsl(213, 32%, 44%)","--bg-35":"hsl(213, 32%, 49%)","--bg-40":"hsl(213, 32%, 54%)","--bg-45":"hsl(213, 32%, 59%)","--bg-5":"hsl(213, 32%, 19%)","--bg-50":"hsl(213, 32%, 64%)","--bg-55":"hsl(213, 32%, 69%)","--bg-60":"hsl(213, 32%, 74%)","--bg-65":"hsl(213, 32%, 79%)","--bg-70":"hsl(213, 32%, 84%)","--bg-75":"hsl(213, 32%, 89%)","--bg-80":"hsl(213, 32%, 94%)","--bg-85":"hsl(213, 32%, 99%)","--bg-90":"hsl(213, 32%, 100%)","--bg-95":"hsl(213, 32%, 100%)","--gah":215,"--gal":"67%","--gas":"100%","--gbg-h":206,"--gbg-l":"10%","--gbg-s":"14%","--gfbc-a":"16%","--gfbc-h":209,"--gfbc-l":"77%","--gfbc-s":"51%","--gfbg-l":"13%","--gfbg-s":"12%","--gfh":215,"--gfl":"91%","--gfs":"35%","--global-accent-color":"hsla(215, 100%, 67%, 100%)","--global-bg-color":"hsla(206, 14%, 10%, 100%)","--global-fld-bdr-clr":"hsla(209, 51%, 77%, 16%)","--global-fld-bg-color":"hsla(210, 12%, 13%, 100%)","--global-font-color":"hsla(215, 35%, 91%, 100%)"},lightThemeColors:{"--bf-lower-track-clr":"var(--global-accent-color)","--bf-upper-track-clr":"#ffffff","--bg-0":"hsl(0, 0%, 100%)","--bg-10":"hsl(0, 0%, 90%)","--bg-100":"hsl(0, 0%, 0%)","--bg-15":"hsl(0, 0%, 85%)","--bg-20":"hsl(0, 0%, 80%)","--bg-25":"hsl(0, 0%, 75%)","--bg-30":"hsl(0, 0%, 70%)","--bg-35":"hsl(0, 0%, 65%)","--bg-40":"hsl(0, 0%, 60%)","--bg-45":"hsl(0, 0%, 55%)","--bg-5":"hsl(0, 0%, 95%)","--bg-50":"hsl(0, 0%, 50%)","--bg-55":"hsl(0, 0%, 45%)","--bg-60":"hsl(0, 0%, 40%)","--bg-65":"hsl(0, 0%, 35%)","--bg-70":"hsl(0, 0%, 30%)","--bg-75":"hsl(0, 0%, 25%)","--bg-80":"hsl(0, 0%, 20%)","--bg-85":"hsl(0, 0%, 15%)","--bg-90":"hsl(0, 0%, 10%)","--bg-95":"hsl(0, 0%, 5%)","--btn-bdr-clr":"none","--btn-bg":"var(--global-accent-color)","--btn-bgc":"var(--global-accent-color)","--btn-c":"hsla(0, 0%, 100%, 100%)","--btn-sh":"","--ck-bdr-c":"hsla(210, 78%, 96%, 100%)","--err-bdr-clr":"hsla(0, 55%, 78%, 100%)","--err-bg":"hsla(0, 100%, 96%, 100%)","--err-c":"hsla(0, 100%, 11%, 100%)","--err-sh":"","--err-txt-pre-i-bdr-clr":"","--err-txt-pre-i-clr":"","--err-txt-pre-i-fltr":"","--err-txt-pre-i-sh":"","--err-txt-suf-i-bdr-clr":"","--err-txt-suf-i-clr":"","--err-txt-suf-i-fltr":"","--err-txt-suf-i-sh":"","--fld-focs-i-fltr":"invert(16%) sepia(8%) saturate(288%) hue-rotate(181deg) brightness(92%) contrast(84%);","--fld-inp-c":"var(--global-font-color)","--fld-lbl-bdr-clr":"","--fld-lbl-bg":"","--fld-lbl-c":"var(--global-font-color)","--fld-lbl-sh":"","--fld-wrp-bdr-clr":"","--fld-wrp-bg":"","--fld-wrp-sh":"","--g-o-c":"hsla(217, 100%, 50%, 100%)","--gaa":"100%","--gah":216,"--gal":"21%","--gas":"2%","--gbg-a":"100%","--gbg-h":0,"--gbg-l":"100%","--gbg-s":"0%","--gfa":"100%","--gfbc-a":"100%","--gfbc-h":223,"--gfbc-l":"89%","--gfbc-s":"12%","--gfbg-a":"100%","--gfbg-h":210,"--gfbg-l":"98%","--gfbg-s":"25%","--gfh":218,"--gfl":"15%","--gfs":"76%","--global-accent-color":"hsla(216, 2%, 21%, 100%)","--global-bg-color":"hsla(0, 0%, 100%, 100%)","--global-fld-bdr-clr":"hsla(223, 12%, 89%, 100%)","--global-fld-bg-color":"hsla(210, 25%, 98%, 100%)","--global-font-color":"hsla(218, 76%, 15%, 100%)","--hlp-txt-bdr-clr":"","--hlp-txt-bg":"","--hlp-txt-c":"hsla(var(--gfh), var(--gfs), var(--gfl), 0.7)","--hlp-txt-pre-i-bdr-clr":"","--hlp-txt-pre-i-clr":"","--hlp-txt-pre-i-fltr":"","--hlp-txt-pre-i-sh":"","--hlp-txt-sh":"","--hlp-txt-suf-i-bdr-clr":"","--hlp-txt-suf-i-clr":"","--hlp-txt-suf-i-fltr":"","--hlp-txt-suf-i-sh":"","--lbl-pre-i-bdr-clr":"","--lbl-pre-i-clr":"","--lbl-pre-i-fltr":"invert(99%) sepia(1%) saturate(2%) hue-rotate(213deg) brightness(115%) contrast(100%);","--lbl-pre-i-sh":"","--lbl-suf-i-bdr-clr":"","--lbl-suf-i-clr":"","--lbl-suf-i-fltr":"","--lbl-suf-i-sh":"","--lbl-wrp-bdr-clr":"","--lbl-wrp-bg":"","--lbl-wrp-sh":"","--pre-i-bdr-clr":"","--pre-i-clr":"","--pre-i-fltr":"","--pre-i-sh":"","--req-smbl-c":"var(--global-font-color)","--sub-titl-bdr-clr":"","--sub-titl-bg":"","--sub-titl-c":"hsla(var(--gfh), var(--gfs), var(--gfl), 0.7)","--sub-titl-pre-i-bdr-clr":"","--sub-titl-pre-i-clr":"","--sub-titl-pre-i-fltr":"","--sub-titl-pre-i-sh":"","--sub-titl-sh":"","--sub-titl-suf-i-bdr-clr":"","--sub-titl-suf-i-clr":"","--sub-titl-suf-i-fltr":"","--sub-titl-suf-i-sh":"","--suf-i-bdr-clr":"","--suf-i-clr":"","--suf-i-fltr":"","--suf-i-sh":""}},layouts:{lg:[{w:60,h:69,x:0,y:0,i:"fld_key-9",moved:!1,static:!1},{w:60,h:77,x:0,y:69,i:"fld_key-2",moved:!1,static:!1},{w:60,h:77,x:0,y:146,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:223,i:"fld_key-4",moved:!1,static:!1},{w:30,h:77,x:0,y:300,i:"fld_key-5",moved:!1,static:!1},{w:30,h:77,x:30,y:300,i:"fld_key-10",moved:!1,static:!1},{w:60,h:105,x:0,y:377,i:"fld_key-7",moved:!1,static:!1},{w:60,h:41,x:0,y:482,i:"fld_key-6",moved:!1,static:!1},{w:60,h:109,x:0,y:523,i:"fld_key-8",minW:20,moved:!1,static:!1},{w:60,h:58,x:0,y:632,i:"fld_key-1",moved:!1,static:!1}],md:[{w:60,h:69,x:0,y:0,i:"fld_key-9",moved:!1,static:!1},{w:60,h:77,x:0,y:69,i:"fld_key-2",moved:!1,static:!1},{w:60,h:77,x:0,y:146,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:223,i:"fld_key-4",moved:!1,static:!1},{w:60,h:77,x:0,y:300,i:"fld_key-5",moved:!1,static:!1},{w:60,h:77,x:0,y:377,i:"fld_key-10",moved:!1,static:!1},{w:60,h:105,x:0,y:454,i:"fld_key-7",moved:!1,static:!1},{w:60,h:41,x:0,y:559,i:"fld_key-6",moved:!1,static:!1},{w:60,h:109,x:0,y:600,i:"fld_key-8",minW:20,moved:!1,static:!1},{w:60,h:58,x:0,y:709,i:"fld_key-1",moved:!1,static:!1}],sm:[{w:60,h:69,x:0,y:0,i:"fld_key-9",moved:!1,static:!1},{w:60,h:77,x:0,y:69,i:"fld_key-2",moved:!1,static:!1},{w:60,h:77,x:0,y:146,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:223,i:"fld_key-4",moved:!1,static:!1},{w:60,h:77,x:0,y:300,i:"fld_key-5",moved:!1,static:!1},{w:60,h:77,x:0,y:377,i:"fld_key-10",moved:!1,static:!1},{w:60,h:105,x:0,y:454,i:"fld_key-7",moved:!1,static:!1},{w:60,h:41,x:0,y:559,i:"fld_key-6",moved:!1,static:!1},{w:60,h:109,x:0,y:600,i:"fld_key-8",minW:20,moved:!1,static:!1},{w:60,h:58,x:0,y:709,i:"fld_key-1",moved:!1,static:!1}]},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit Your Donation",icn:{pos:"",url:""},valid:{hide:!0},customClasses:{},customAttributes:{},fieldName:"fld_key-1",fulW:!0,btnSufIcn:"${bf_main_domain}/wp-content/uploads/bitforms/icons/font-awesome-donate.svg"},"fld_key-2":{typ:"text",lbl:"Name",ph:"Enter your full name here",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-2"},"fld_key-3":{typ:"email",lbl:"Email",ph:"[email protected]",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-3"},"fld_key-4":{typ:"phone-number",lbl:"Phone Number",ph:"Enter Phone Number",phHide:!0,config:{selectedFlagImage:!0,selectedCountryClearable:!0,searchClearable:!0,optionFlagImage:!0,defaultCountryKey:"",showSearchPh:!0,searchPlaceholder:"Search for countries",noCountryFoundText:"No Country Found",inputFormat:"+c #### ### ###",valueFormat:"+c #### ### ###"},options:[{i:"AD",lbl:"Andorra",img:"ad.png",code:"+376",ex:"312345",frmt:"+c ## ### ### ##",ptrn:"690$_bf_$d{6}|[356]$_bf_$d{5}"},{i:"AE",lbl:"United Arab Emirates (the)",img:"ae.png",code:"+971",ex:"501234567",ptrn:"5[024-68]$_bf_$d{7}"},{i:"AF",lbl:"Afghanistan",img:"af.png",code:"+93",ex:"701234567",ptrn:"7$_bf_$d{8}"},{i:"AG",lbl:"Antigua and Barbuda",img:"ag.png",code:"+1",ex:"2684641234",ptrn:"268(?:464|7(?:1[3-9]|[28]$_bf_$d|3[0246]|64|7[0-689]))$_bf_$d{4}"},{i:"AI",lbl:"Anguilla",img:"ai.png",code:"+1",ex:"2642351234",ptrn:"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))$_bf_$d{4}"},{i:"AL",lbl:"Albania",img:"al.png",code:"+355",ex:"672123456",ptrn:"6(?:[78][2-9]|9$_bf_$d)$_bf_$d{6}"},{i:"AM",lbl:"Armenia",img:"am.png",code:"+374",ex:"77123456",ptrn:"(?:33|4[1349]|55|77|88|9[13-9])$_bf_$d{6}"},{i:"AO",lbl:"Angola",img:"ao.png",code:"+244",ex:"923123456",ptrn:"9[1-49]$_bf_$d{7}"},{i:"AR",lbl:"Argentina",img:"ar.png",code:"+54",ex:"91123456789",ptrn:"93888[013-9]$_bf_$d{5}|9(?:29(?:54|66)|3(?:777|865))[2-8]$_bf_$d{5}|93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]$_bf_$d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]$_bf_$d{5}|9(?:2(?:284|302|657|920)|3(?:4(?:8[27]|92)|541|755|878))[2-7]$_bf_$d{5}|9(?:2(?:(?:26|62)2|32[03]|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]$_bf_$d{5}|(?:675$_bf_$d|9(?:11[1-8]$_bf_$d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-8]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:[03][45]|[17][2-6]|[58][3-6]))))$_bf_$d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4$_bf_$d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]$_bf_$d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]$_bf_$d{5}"},{i:"AS",lbl:"American Samoa",img:"as.png",code:"+1",ex:"6847331234",ptrn:"684(?:2(?:48|5[2468]|72)|7(?:3[13]|70|82))$_bf_$d{4}"},{i:"AT",lbl:"Austria",img:"at.png",code:"+43",ex:"664123456",ptrn:"6(?:5[0-3579]|6[013-9]|[7-9]$_bf_$d)$_bf_$d{4,10}"},{i:"AU",lbl:"Australia",img:"au.png",code:"+61",ex:"412345678",ptrn:"4(?:83[0-38]|93[0-6])$_bf_$d{5}|4(?:[0-3]$_bf_$d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])$_bf_$d{6}"},{i:"AW",lbl:"Aruba",img:"aw.png",code:"+297",ex:"5601234",ptrn:"(?:290|5[69]$_bf_$d|6(?:[03]0|22|4[0-2]|[69]$_bf_$d)|7(?:[34]$_bf_$d|7[07])|9(?:6[45]|9[4-8]))$_bf_$d{4}"},{i:"AX",lbl:"Åland Islands",img:"ax.png",code:"+358",ex:"412345678",ptrn:"4946$_bf_$d{2,6}|(?:4[0-8]|50)$_bf_$d{4,8}"},{i:"AZ",lbl:"Azerbaijan",img:"az.png",code:"+994",ex:"401234567",ptrn:"36554$_bf_$d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)$_bf_$d{7}"},{i:"BA",lbl:"Bosnia and Herzegovina",img:"ba.png",code:"+387",ex:"61123456",ptrn:"6040$_bf_$d{5}|6(?:03|[1-356]|44|7$_bf_$d)$_bf_$d{6}"},{i:"BB",lbl:"Barbados",img:"bb.png",code:"+1",ex:"2462501234",ptrn:"246(?:2(?:[3568]$_bf_$d|4[0-57-9])|45$_bf_$d|69[5-7]|8(?:[2-5]$_bf_$d|83))$_bf_$d{4}"},{i:"BD",lbl:"Bangladesh",img:"bd.png",code:"+880",ex:"1812345678",ptrn:"(?:1[13-9]$_bf_$d|644)$_bf_$d{7}|(?:3[78]|44|66)[02-9]$_bf_$d{7}"},{i:"BE",lbl:"Belgium",img:"be.png",code:"+32",ex:"470123456",ptrn:"4[5-9]$_bf_$d{7}"},{i:"BF",lbl:"Burkina Faso",img:"bf.png",code:"+226",ex:"70123456",ptrn:"(?:0[1267]|5[1-8]|[67]$_bf_$d)$_bf_$d{6}"},{i:"BG",lbl:"Bulgaria",img:"bg.png",code:"+359",ex:"48123456",ptrn:"43[07-9]$_bf_$d{5}|(?:48|8[7-9]$_bf_$d|9(?:8$_bf_$d|9[69]))$_bf_$d{6}"},{i:"BH",lbl:"Bahrain",img:"bh.png",code:"+973",ex:"36001234",ptrn:"(?:3(?:[1-79]$_bf_$d|8[0-47-9])$_bf_$d|6(?:3(?:00|33|6[16])|6(?:3[03-9]|[69]$_bf_$d|7[0-6])))$_bf_$d{4}"},{i:"BI",lbl:"Burundi",img:"bi.png",code:"+257",ex:"79561234",ptrn:"(?:29|31|6[1289]|7[125-9])$_bf_$d{6}"},{i:"BJ",lbl:"Benin",img:"bj.png",code:"+229",ex:"90011234",ptrn:"(?:5[1-35-8]|6$_bf_$d|9[013-9])$_bf_$d{6}"},{i:"BL",lbl:"Saint Barthélemy",img:"bl.png",code:"+590",ex:"690001234",ptrn:"69(?:0$_bf_$d$_bf_$d|1(?:2[2-9]|3[0-5]))$_bf_$d{4}"},{i:"BM",lbl:"Bermuda",img:"bm.png",code:"+1",ex:"4413701234",ptrn:"441(?:[2378]$_bf_$d|5[0-39])$_bf_$d{5}"},{i:"BN",lbl:"Brunei Darussalam",img:"bn.png",code:"+673",ex:"7123456",ptrn:"(?:22[89]|[78]$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"BO",lbl:"Bolivia (Plurinational State of)",img:"bo.png",code:"+591",ex:"71234567",ptrn:"[67]$_bf_$d{7}"},{i:"BQ",lbl:"Bonaire, Sint Eustatius and Saba",img:"bq.png",code:"+599",ex:"3181234",ptrn:"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8$_bf_$d|9[056])$_bf_$d)$_bf_$d{3}"},{i:"BR",lbl:"Brazil",img:"br.png",code:"+55",ex:"11961234567",ptrn:"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9$_bf_$d)$_bf_$d{7}"},{i:"BS",lbl:"Bahamas (the)",img:"bs.png",code:"+1",ex:"2423591234",ptrn:"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7$_bf_$d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2$_bf_$d|[89]9))$_bf_$d{4}"},{i:"BT",lbl:"Bhutan",img:"bt.png",code:"+975",ex:"17123456",ptrn:"(?:1[67]|77)$_bf_$d{6}"},{i:"BW",lbl:"Botswana",img:"bw.png",code:"+267",ex:"71123456",ptrn:"(?:321|7(?:[1-7]$_bf_$d|8[01]))$_bf_$d{5}"},{i:"BY",lbl:"Belarus",img:"by.png",code:"+375",ex:"294911911",ptrn:"(?:2(?:5[5-79]|9[1-9])|(?:33|44)$_bf_$d)$_bf_$d{6}"},{i:"BZ",lbl:"Belize",img:"bz.png",code:"+501",ex:"6221234",ptrn:"6[0-35-7]$_bf_$d{5}"},{i:"CA",lbl:"Canada",img:"ca.png",code:"+1",ex:"5062345678",ptrn:"(?:2(?:04|[23]6|[48]9|50|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|73)|90[25])[2-9]$_bf_$d{6}"},{i:"CC",lbl:"Cocos (Keeling) Islands (the)",img:"cc.png",code:"+61",ex:"412345678",ptrn:"4(?:83[0-38]|93[0-6])$_bf_$d{5}|4(?:[0-3]$_bf_$d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])$_bf_$d{6}"},{i:"CD",lbl:"Congo (the Democratic Republic of the)",img:"cd.png",code:"+243",ex:"991234567",ptrn:"88$_bf_$d{5}|(?:8[0-59]|9[017-9])$_bf_$d{7}"},{i:"CF",lbl:"Central African Republic (the)",img:"cf.png",code:"+236",ex:"70012345",ptrn:"7[0257]$_bf_$d{6}"},{i:"CG",lbl:"Congo (the)",img:"cg.png",code:"+242",ex:"061234567",ptrn:"026(?:1[0-5]|6[6-9])$_bf_$d{4}|0(?:[14-6]$_bf_$d$_bf_$d|2(?:40|5[5-8]|6[07-9]))$_bf_$d{5}"},{i:"CH",lbl:"Switzerland",img:"ch.png",code:"+41",ex:"781234567",ptrn:"7[35-9]$_bf_$d{7}"},{i:"CI",lbl:"Côte d'Ivoire",img:"ci.png",code:"+225",ex:"0123456789",ptrn:"0704[0-7]$_bf_$d{5}|0(?:[15]$_bf_$d$_bf_$d|7(?:0[0-37-9]|[4-9][7-9]))$_bf_$d{6}"},{i:"CK",lbl:"Cook Islands (the)",img:"ck.png",code:"+682",ex:"71234",ptrn:"[578]$_bf_$d{4}"},{i:"CL",lbl:"Chile",img:"cl.png",code:"+56",ex:"221234567",ptrn:"2(?:1982[0-6]|3314[05-9])$_bf_$d{3}|(?:2(?:1(?:160|962)|3(?:2$_bf_$d$_bf_$d|3(?:[03467]$_bf_$d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]$_bf_$d$_bf_$d|9(?:3(?:[0-57-9]$_bf_$d$_bf_$d|6(?:0[02-9]|[1-9]$_bf_$d))|6(?:[0-8]$_bf_$d$_bf_$d|9(?:[02-79]$_bf_$d|1[05-9]))|7[1-9]$_bf_$d$_bf_$d|9(?:[03-9]$_bf_$d$_bf_$d|1(?:[0235-9]$_bf_$d|4[0-24-9])|2(?:[0-79]$_bf_$d|8[0-46-9]))))$_bf_$d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])$_bf_$d{7}"},{i:"CM",lbl:"Cameroon",img:"cm.png",code:"+237",ex:"671234567",ptrn:"(?:24[23]|6[5-9]$_bf_$d)$_bf_$d{6}"},{i:"CN",lbl:"China",img:"cn.png",code:"+86",ex:"13123456789",ptrn:"1740[0-5]$_bf_$d{6}|1(?:[38]$_bf_$d|4[57]|5[0-35-9]|6[25-7]|7[0-35-8]|9[0135-9])$_bf_$d{8}"},{i:"CO",lbl:"Colombia",img:"co.png",code:"+57",ex:"3211234567",ptrn:"3333(?:0(?:0$_bf_$d|1[0-5])|[4-9]$_bf_$d$_bf_$d)$_bf_$d{3}|(?:3(?:24[2-6]|3(?:00|3[0-24-9]))|9101)$_bf_$d{6}|3(?:0[0-5]|1$_bf_$d|2[0-3]|5[01]|70)$_bf_$d{7}"},{i:"CR",lbl:"Costa Rica",img:"cr.png",code:"+506",ex:"83123456",ptrn:"(?:3005$_bf_$d|6500[01])$_bf_$d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])$_bf_$d{6}"},{i:"CU",lbl:"Cuba",img:"cu.png",code:"+53",ex:"51234567",ptrn:"5$_bf_$d{7}"},{i:"CV",lbl:"Cabo Verde",img:"cv.png",code:"+238",ex:"9911234",ptrn:"(?:[34][36]|5[1-389]|9$_bf_$d)$_bf_$d{5}"},{i:"CW",lbl:"Curaçao",img:"cw.png",code:"+599",ex:"95181234",ptrn:"953[01]$_bf_$d{4}|9(?:5[12467]|6[5-9])$_bf_$d{5}"},{i:"CX",lbl:"Christmas Island",img:"cx.png",code:"+61",ex:"412345678",ptrn:"4(?:83[0-38]|93[0-6])$_bf_$d{5}|4(?:[0-3]$_bf_$d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])$_bf_$d{6}"},{i:"CY",lbl:"Cyprus",img:"cy.png",code:"+357",ex:"96123456",ptrn:"9[4-79]$_bf_$d{6}"},{i:"CZ",lbl:"Czechia",img:"cz.png",code:"+420",ex:"601123456",ptrn:"(?:60[1-8]|7(?:0[2-5]|[2379]$_bf_$d))$_bf_$d{6}"},{i:"DE",lbl:"Germany",img:"de.png",code:"+49",ex:"15123456789",ptrn:"15[0-25-9]$_bf_$d{8}|1(?:6[023]|7$_bf_$d)$_bf_$d{7,8}"},{i:"DJ",lbl:"Djibouti",img:"dj.png",code:"+253",ex:"77831001",ptrn:"77$_bf_$d{6}"},{i:"DK",lbl:"Denmark",img:"dk.png",code:"+45",ex:"32123456",ptrn:"(?:[2-7]$_bf_$d|8[126-9]|9[1-46-9])$_bf_$d{6}"},{i:"DM",lbl:"Dominica",img:"dm.png",code:"+1",ex:"7672251234",ptrn:"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])$_bf_$d{4}"},{i:"DO",lbl:"Dominican Republic (the)",img:"do.png",code:"+1",ex:"8092345678",ptrn:"8[024]9[2-9]$_bf_$d{6}"},{i:"DZ",lbl:"Algeria",img:"dz.png",code:"+213",ex:"551234567",ptrn:"(?:5(?:4[0-29]|5$_bf_$d|6[0-2])|6(?:[569]$_bf_$d|7[0-6])|7[7-9]$_bf_$d)$_bf_$d{6}"},{i:"EC",lbl:"Ecuador",img:"ec.png",code:"+593",ex:"991234567",ptrn:"964[0-2]$_bf_$d{5}|9(?:39|[57][89]|6[0-36-9]|[89]$_bf_$d)$_bf_$d{6}"},{i:"EE",lbl:"Estonia",img:"ee.png",code:"+372",ex:"51234567",ptrn:"5(?:[0-35-9]$_bf_$d{6}|4(?:[0-57-9]$_bf_$d{5}|6(?:[0-24-9]$_bf_$d{4}|3(?:[0-35-9]$_bf_$d{3}|4000))))|8(?:1(?:0(?:000|[3-9]$_bf_$d$_bf_$d)|(?:1(?:0[236]|1$_bf_$d)|(?:23|[3-79]$_bf_$d)$_bf_$d)$_bf_$d)|2(?:0(?:000|(?:19|[24-7]$_bf_$d)$_bf_$d)|(?:(?:[124-6]$_bf_$d|3[5-9])$_bf_$d|7(?:[679]$_bf_$d|8[13-9])|8(?:[2-6]$_bf_$d|7[01]))$_bf_$d)|[349]$_bf_$d{4})$_bf_$d$_bf_$d|5(?:(?:[02]$_bf_$d|5[0-478])$_bf_$d|1(?:[0-8]$_bf_$d|95)|6(?:4[0-4]|5[1-589]))$_bf_$d{3}"},{i:"EG",lbl:"Egypt",img:"eg.png",code:"+20",ex:"1001234567",ptrn:"1[0-25]$_bf_$d{8}"},{i:"EH",lbl:"Western Sahara",img:"eh.png",code:"+212",ex:"650123456",ptrn:"(?:6(?:[0-79]$_bf_$d|8[0-247-9])|7(?:0$_bf_$d|1[0-5]|6[1267]|7[0-57]))$_bf_$d{6}"},{i:"ER",lbl:"Eritrea",img:"er.png",code:"+291",ex:"7123456",ptrn:"(?:17[1-3]|7$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"ES",lbl:"Spain",img:"es.png",code:"+34",ex:"612345678",ptrn:"(?:590[16]00$_bf_$d|9(?:6906(?:09|10)|7390$_bf_$d$_bf_$d))$_bf_$d$_bf_$d|(?:6$_bf_$d|7[1-48])$_bf_$d{7}"},{i:"ET",lbl:"Ethiopia",img:"et.png",code:"+251",ex:"911234567",ptrn:"9$_bf_$d{8}"},{i:"FI",lbl:"Finland",img:"fi.png",code:"+358",ex:"412345678",ptrn:"4946$_bf_$d{2,6}|(?:4[0-8]|50)$_bf_$d{4,8}"},{i:"FJ",lbl:"Fiji",img:"fj.png",code:"+679",ex:"7012345",ptrn:"(?:[279]$_bf_$d|45|5[01568]|8[034679])$_bf_$d{5}"},{i:"FK",lbl:"Falkland Islands (the) [Malvinas]",img:"fk.png",code:"+500",ex:"51234",ptrn:"[56]$_bf_$d{4}"},{i:"FM",lbl:"Micronesia (Federated States of)",img:"fm.png",code:"+691",ex:"3501234",ptrn:"31(?:00[67]|208|309)$_bf_$d$_bf_$d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]$_bf_$d)$_bf_$d)$_bf_$d{3}"},{i:"FO",lbl:"Faroe Islands (the)",img:"fo.png",code:"+298",ex:"211234",ptrn:"(?:[27][1-9]|5$_bf_$d|91)$_bf_$d{4}"},{i:"FR",lbl:"France",img:"fr.png",code:"+33",ex:"612345678",ptrn:"(?:6(?:[0-24-8]$_bf_$d|3[0-8]|9[589])|7(?:00|[3-9]$_bf_$d))$_bf_$d{6}"},{i:"GA",lbl:"Gabon",img:"ga.png",code:"+241",ex:"06031234",ptrn:"(?:0[2-7]|6[256]|7[47])$_bf_$d{6}|[2-7]$_bf_$d{6}"},{i:"GB",lbl:"United Kingdom of Great Britain and Northern Ireland (the)",img:"gb.png",code:"+44",ex:"7400123456",ptrn:"7(?:457[0-57-9]|700[01]|911[028])$_bf_$d{5}|7(?:[1-3]$_bf_$d$_bf_$d|4(?:[0-46-9]$_bf_$d|5[0-689])|5(?:0[0-8]|[13-9]$_bf_$d|2[0-35-9])|7(?:0[1-9]|[1-7]$_bf_$d|8[02-9]|9[0-689])|8(?:[014-9]$_bf_$d|[23][0-8])|9(?:[024-9]$_bf_$d|1[02-9]|3[0-689]))$_bf_$d{6}"},{i:"GD",lbl:"Grenada",img:"gd.png",code:"+1",ex:"4734031234",ptrn:"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)$_bf_$d{4}"},{i:"GE",lbl:"Georgia",img:"ge.png",code:"+995",ex:"555123456",ptrn:"5(?:(?:0555|1177)[5-9]|757(?:7[7-9]|8[01]))$_bf_$d{3}|5(?:0070|(?:11|33)33|[25]222)[0-4]$_bf_$d{3}|5(?:00(?:0$_bf_$d|50)|11(?:00|1$_bf_$d|2[0-4])|5200|75(?:00|[57]5)|8(?:0(?:[01]$_bf_$d|2[0-4])|58[89]|8(?:55|88)))$_bf_$d{4}|(?:5(?:[14]4|5[0157-9]|68|7[0147-9]|9[1-35-9])|790)$_bf_$d{6}"},{i:"GF",lbl:"French Guiana",img:"gf.png",code:"+594",ex:"694201234",ptrn:"694(?:[0-249]$_bf_$d|3[0-48])$_bf_$d{4}"},{i:"GG",lbl:"Guernsey",img:"gg.png",code:"+44",ex:"7781123456",ptrn:"7(?:(?:781|839)$_bf_$d|911[17])$_bf_$d{5}"},{i:"GH",lbl:"Ghana",img:"gh.png",code:"+233",ex:"231234567",ptrn:"(?:2(?:[0346-8]$_bf_$d|5[67])|5(?:[0457]$_bf_$d|6[01]|9[1-9]))$_bf_$d{6}"},{i:"GI",lbl:"Gibraltar",img:"gi.png",code:"+350",ex:"57123456",ptrn:"(?:5[146-8]$_bf_$d|606)$_bf_$d{5}"},{i:"GL",lbl:"Greenland",img:"gl.png",code:"+299",ex:"221234",ptrn:"[245]$_bf_$d{5}"},{i:"GM",lbl:"Gambia (the)",img:"gm.png",code:"+220",ex:"3012345",ptrn:"(?:[23679]$_bf_$d|5[0-389])$_bf_$d{5}"},{i:"GN",lbl:"Guinea",img:"gn.png",code:"+224",ex:"601123456",ptrn:"6[0-356]$_bf_$d{7}"},{i:"GP",lbl:"Guadeloupe",img:"gp.png",code:"+590",ex:"690001234",ptrn:"69(?:0$_bf_$d$_bf_$d|1(?:2[2-9]|3[0-5]))$_bf_$d{4}"},{i:"GQ",lbl:"Equatorial Guinea",img:"gq.png",code:"+240",ex:"222123456",ptrn:"(?:222|55$_bf_$d)$_bf_$d{6}"},{i:"GR",lbl:"Greece",img:"gr.png",code:"+30",ex:"6912345678",ptrn:"68[57-9]$_bf_$d{7}|(?:69|94)$_bf_$d{8}"},{i:"GT",lbl:"Guatemala",img:"gt.png",code:"+502",ex:"51234567",ptrn:"[3-5]$_bf_$d{7}"},{i:"GU",lbl:"Guam",img:"gu.png",code:"+1",ex:"6713001234",ptrn:"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))$_bf_$d{4}"},{i:"GW",lbl:"Guinea-Bissau",img:"gw.png",code:"+245",ex:"955012345",ptrn:"9(?:5$_bf_$d|6[569]|77)$_bf_$d{6}"},{i:"GY",lbl:"Guyana",img:"gy.png",code:"+592",ex:"6091234",ptrn:"6$_bf_$d{6}"},{i:"HK",lbl:"Hong Kong",img:"hk.png",code:"+852",ex:"51234567",ptrn:"(?:46(?:[07][0-7]|1[0-6]|4[0-57-9]|5[0-8]|6[0-4])|5730|6(?:26[013-7]|66[0-3])|70(?:7[1-5]|8[0-4])|848[015-9]|929[03-9])$_bf_$d{4}|(?:46[238]|5(?:[1-59][0-46-9]|6[0-4689]|7[0-2469])|6(?:0[1-9]|[13-59]$_bf_$d|[268][0-57-9]|7[0-79])|84[09]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]$_bf_$d))$_bf_$d{5}"},{i:"HN",lbl:"Honduras",img:"hn.png",code:"+504",ex:"91234567",ptrn:"[37-9]$_bf_$d{7}"},{i:"HR",lbl:"Croatia",img:"hr.png",code:"+385",ex:"921234567",ptrn:"9(?:751$_bf_$d{5}|8$_bf_$d{6,7})|9(?:0[1-9]|[1259]$_bf_$d|7[0679])$_bf_$d{6}"},{i:"HT",lbl:"Haiti",img:"ht.png",code:"+509",ex:"34101234",ptrn:"[34]$_bf_$d{7}"},{i:"HU",lbl:"Hungary",img:"hu.png",code:"+36",ex:"201234567",ptrn:"(?:[257]0|3[01])$_bf_$d{7}"},{i:"ID",lbl:"Indonesia",img:"id.png",code:"+62",ex:"812345678",ptrn:"8[1-35-9]$_bf_$d{7,10}"},{i:"IE",lbl:"Ireland",img:"ie.png",code:"+353",ex:"850123456",ptrn:"8(?:22|[35-9]$_bf_$d)$_bf_$d{6}"},{i:"IL",lbl:"Israel",img:"il.png",code:"+972",ex:"502345678",ptrn:"5(?:(?:[02368]$_bf_$d|[19][2-9]|4[1-9])$_bf_$d|5(?:01|1[79]|2[2-9]|3[0-3]|4[34]|5[015689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))$_bf_$d{5}"},{i:"IM",lbl:"Isle of Man",img:"im.png",code:"+44",ex:"7924123456",ptrn:"76245[06]$_bf_$d{4}|7(?:4576|[59]24$_bf_$d|624[0-4689])$_bf_$d{5}"},{i:"IN",lbl:"India",img:"in.png",code:"+91",ex:"8123456789",ptrn:"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))$_bf_$d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))$_bf_$d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]$_bf_$d|7[02-8])$_bf_$d{5}|(?:6(?:[09]$_bf_$d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0$_bf_$d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]$_bf_$d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9$_bf_$d$_bf_$d)$_bf_$d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])$_bf_$d|7(?:[235689]$_bf_$d|4[0189]))|7(?:1(?:[013-8]$_bf_$d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]$_bf_$d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4$_bf_$d|5[0-367])|70[13-7]|881))[0189]$_bf_$d{5}"},{i:"IO",lbl:"British Indian Ocean Territory (the)",img:"io.png",code:"+246",ex:"3801234",ptrn:"38$_bf_$d{5}"},{i:"IQ",lbl:"Iraq",img:"iq.png",code:"+964",ex:"7912345678",ptrn:"7[3-9]$_bf_$d{8}"},{i:"IR",lbl:"Iran (Islamic Republic of)",img:"ir.png",code:"+98",ex:"9123456789",ptrn:"9(?:(?:0(?:[0-35]$_bf_$d|4[4-6])|(?:[13]$_bf_$d|2[0-3])$_bf_$d)$_bf_$d|9(?:(?:[0-3]$_bf_$d|4[0145])$_bf_$d|5[15]0|8(?:1$_bf_$d|88)|9(?:0[013]|[19]$_bf_$d|21|77|8[7-9])))$_bf_$d{5}"},{i:"IS",lbl:"Iceland",img:"is.png",code:"+354",ex:"6111234",ptrn:"(?:38[589]$_bf_$d$_bf_$d|6(?:1[1-8]|2[0-6]|3[027-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9$_bf_$d)|7(?:5[057]|[6-9]$_bf_$d)|8(?:2[0-59]|[3-69]$_bf_$d|8[28]))$_bf_$d{4}"},{i:"IT",lbl:"Italy",img:"it.png",code:"+39",ex:"3123456789",ptrn:"3[1-9]$_bf_$d{8}|3[2-9]$_bf_$d{7}"},{i:"JE",lbl:"Jersey",img:"je.png",code:"+44",ex:"7797712345",ptrn:"7(?:(?:(?:50|82)9|937)$_bf_$d|7(?:00[378]|97[7-9]))$_bf_$d{5}"},{i:"JM",lbl:"Jamaica",img:"jm.png",code:"+1",ex:"8762101234",ptrn:"(?:658295|876(?:2(?:0[6-9]|[14-9]$_bf_$d|2[013-9]|3[7-9])|[348]$_bf_$d$_bf_$d|5(?:0[1-9]|[1-9]$_bf_$d)|6(?:4[89]|6[67])|7(?:0[07]|7$_bf_$d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))$_bf_$d{4}"},{i:"JO",lbl:"Jordan",img:"jo.png",code:"+962",ex:"790123456",ptrn:"7(?:[78][0-25-9]|9$_bf_$d)$_bf_$d{6}"},{i:"JP",lbl:"Japan",img:"jp.png",code:"+81",ex:"9012345678",ptrn:"[7-9]0[1-9]$_bf_$d{7}"},{i:"KE",lbl:"Kenya",img:"ke.png",code:"+254",ex:"712123456",ptrn:"(?:1(?:0[0-6]|1[0-5]|2[014])|7$_bf_$d$_bf_$d)$_bf_$d{6}"},{i:"KG",lbl:"Kyrgyzstan",img:"kg.png",code:"+996",ex:"700123456",ptrn:"312(?:58$_bf_$d|973)$_bf_$d{3}|(?:2(?:0[0-35]|2$_bf_$d)|5[0-24-7]$_bf_$d|7(?:[07]$_bf_$d|55)|880|99[05-9])$_bf_$d{6}"},{i:"KH",lbl:"Cambodia",img:"kh.png",code:"+855",ex:"91234567",ptrn:"(?:(?:1[28]|3[18]|9[67])$_bf_$d|6[016-9]|7(?:[07-9]|[16]$_bf_$d)|8(?:[013-79]|8$_bf_$d))$_bf_$d{6}|(?:1$_bf_$d|9[0-57-9])$_bf_$d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48$_bf_$d{5}"},{i:"KI",lbl:"Kiribati",img:"ki.png",code:"+686",ex:"72001234",ptrn:"(?:63$_bf_$d{3}|73(?:0[0-5]$_bf_$d|140))$_bf_$d{3}|[67]200[01]$_bf_$d{3}"},{i:"KM",lbl:"Comoros (the)",img:"km.png",code:"+269",ex:"3212345",ptrn:"[34]$_bf_$d{6}"},{i:"KN",lbl:"Saint Kitts and Nevis",img:"kn.png",code:"+1",ex:"8697652917",ptrn:"869(?:48[89]|55[6-8]|66$_bf_$d|76[02-7])$_bf_$d{4}"},{i:"KP",lbl:"Korea (the Democratic People's Republic of)",img:"kp.png",code:"+850",ex:"1921234567",ptrn:"19[1-3]$_bf_$d{7}"},{i:"KR",lbl:"Korea (the Republic of)",img:"kr.png",code:"+82",ex:"1020000000",ptrn:"1(?:05(?:[0-8]$_bf_$d|9[0-6])|22[13]$_bf_$d)$_bf_$d{4,5}|1(?:0[1-46-9]|[16-9]$_bf_$d|2[013-9])$_bf_$d{6,7}"},{i:"KW",lbl:"Kuwait",img:"kw.png",code:"+965",ex:"50012345",ptrn:"(?:5(?:2(?:22|5[25])|7(?:55|77)|88[58])|6(?:222|333|444|70[013-9]|888|93[039])|9(?:11[01]|3(?:00|33)|500))$_bf_$d{4}|(?:5(?:[05]$_bf_$d|1[0-7]|6[56])|6(?:0[034679]|5[015-9]|6$_bf_$d|7[67]|9[069])|9(?:0[09]|22|[4679]$_bf_$d|55|8[057-9]))$_bf_$d{5}"},{i:"KY",lbl:"Cayman Islands (the)",img:"ky.png",code:"+1",ex:"3453231234",ptrn:"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|9(?:1[679]|2[2-9]|3[06-9]|90))$_bf_$d{4}"},{i:"KZ",lbl:"Kazakhstan",img:"kz.png",code:"+7",ex:"7710009998",ptrn:"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)$_bf_$d{7}"},{i:"LA",lbl:"Lao People's Democratic Republic (the)",img:"la.png",code:"+856",ex:"2023123456",ptrn:"(?:20(?:[239]$_bf_$d|5[24-9]|7[6-8])|302$_bf_$d)$_bf_$d{6}"},{i:"LB",lbl:"Lebanon",img:"lb.png",code:"+961",ex:"71123456",ptrn:"793(?:[01]$_bf_$d|2[0-4])$_bf_$d{3}|(?:(?:3|81)$_bf_$d|7(?:[01]$_bf_$d|6[013-9]|8[89]|9[12]))$_bf_$d{5}"},{i:"LC",lbl:"Saint Lucia",img:"lc.png",code:"+1",ex:"7582845678",ptrn:"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2$_bf_$d|3[0-3])|812)$_bf_$d{4}"},{i:"LI",lbl:"Liechtenstein",img:"li.png",code:"+423",ex:"660234567",ptrn:"(?:6(?:4(?:69|[7-9]$_bf_$d)|5[0-4]$_bf_$d|6(?:[024]$_bf_$d|[17]0|3[7-9]))$_bf_$d|7(?:[37-9]$_bf_$d|42|56))$_bf_$d{4}"},{i:"LK",lbl:"Sri Lanka",img:"lk.png",code:"+94",ex:"712345678",ptrn:"7(?:[0-25-8]$_bf_$d|4[01])$_bf_$d{6}"},{i:"LR",lbl:"Liberia",img:"lr.png",code:"+231",ex:"770123456",ptrn:"(?:(?:330|555|(?:77|88)$_bf_$d)$_bf_$d|4[67])$_bf_$d{5}|[56]$_bf_$d{6}"},{i:"LS",lbl:"Lesotho",img:"ls.png",code:"+266",ex:"50123456",ptrn:"[56]$_bf_$d{7}"},{i:"LT",lbl:"Lithuania",img:"lt.png",code:"+370",ex:"61234567",ptrn:"6$_bf_$d{7}"},{i:"LU",lbl:"Luxembourg",img:"lu.png",code:"+352",ex:"628123456",ptrn:"6(?:[269][18]|5[1568]|7[189]|81)$_bf_$d{6}"},{i:"LV",lbl:"Latvia",img:"lv.png",code:"+371",ex:"21234567",ptrn:"2$_bf_$d{7}"},{i:"LY",lbl:"Libya",img:"ly.png",code:"+218",ex:"912345678",ptrn:"9[1-6]$_bf_$d{7}"},{i:"MA",lbl:"Morocco",img:"ma.png",code:"+212",ex:"650123456",ptrn:"(?:6(?:[0-79]$_bf_$d|8[0-247-9])|7(?:0$_bf_$d|1[0-5]|6[1267]|7[0-57]))$_bf_$d{6}"},{i:"MC",lbl:"Monaco",img:"mc.png",code:"+377",ex:"612345678",ptrn:"4(?:[46]$_bf_$d|5[1-9])$_bf_$d{5}|(?:3|6$_bf_$d)$_bf_$d{7}"},{i:"MD",lbl:"Moldova (the Republic of)",img:"md.png",code:"+373",ex:"62112345",ptrn:"562$_bf_$d{5}|(?:6$_bf_$d|7[16-9])$_bf_$d{6}"},{i:"ME",lbl:"Montenegro",img:"me.png",code:"+382",ex:"67622901",ptrn:"6(?:[07-9]$_bf_$d|3[024]|6[0-25])$_bf_$d{5}"},{i:"MF",lbl:"Saint Martin (French part)",img:"mf.png",code:"+590",ex:"690001234",ptrn:"69(?:0$_bf_$d$_bf_$d|1(?:2[2-9]|3[0-5]))$_bf_$d{4}"},{i:"MG",lbl:"Madagascar",img:"mg.png",code:"+261",ex:"321234567",ptrn:"3[2-489]$_bf_$d{7}"},{i:"MH",lbl:"Marshall Islands (the)",img:"mh.png",code:"+692",ex:"2351234",ptrn:"(?:(?:23|54)5|329|45[56])$_bf_$d{4}"},{i:"MK",lbl:"Republic of North Macedonia",img:"mk.png",code:"+389",ex:"72345678",ptrn:"7(?:3555|4(?:60$_bf_$d|747)|94(?:[01]$_bf_$d|2[0-4]))$_bf_$d{3}|7(?:[0-25-8]$_bf_$d|3[2-4]|42|9[23])$_bf_$d{5}"},{i:"ML",lbl:"Mali",img:"ml.png",code:"+223",ex:"65012345",ptrn:"2(?:0(?:01|79)|17$_bf_$d)$_bf_$d{4}|(?:5[01]|[679]$_bf_$d|8[239])$_bf_$d{6}"},{i:"MM",lbl:"Myanmar",img:"mm.png",code:"+95",ex:"92123456",ptrn:"(?:17[01]|9(?:2(?:[0-4]|[56]$_bf_$d$_bf_$d)|(?:3(?:[0-36]|4$_bf_$d)|(?:6$_bf_$d|8[89]|9[4-8])$_bf_$d|7(?:3|40|[5-9]$_bf_$d))$_bf_$d|4(?:(?:[0245]$_bf_$d|[1379])$_bf_$d|88)|5[0-6])$_bf_$d)$_bf_$d{4}|9[69]1$_bf_$d{6}|9(?:[68]$_bf_$d|9[089])$_bf_$d{5}"},{i:"MN",lbl:"Mongolia",img:"mn.png",code:"+976",ex:"88123456",ptrn:"(?:83[01]|920)$_bf_$d{5}|(?:5[05]|8[05689]|9[013-9])$_bf_$d{6}"},{i:"MO",lbl:"Macao",img:"mo.png",code:"+853",ex:"66123456",ptrn:"6800[0-79]$_bf_$d{3}|6(?:[235]$_bf_$d$_bf_$d|6(?:0[0-5]|[1-9]$_bf_$d)|8(?:0[1-9]|[14-8]$_bf_$d|2[5-9]|[39][0-4]))$_bf_$d{4}"},{i:"MP",lbl:"Northern Mariana Islands (the)",img:"mp.png",code:"+1",ex:"6702345678",ptrn:"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)$_bf_$d{4}"},{i:"MQ",lbl:"Martinique",img:"mq.png",code:"+596",ex:"696201234",ptrn:"69(?:6(?:[0-46-9]$_bf_$d|5[0-6])|727)$_bf_$d{4}"},{i:"MR",lbl:"Mauritania",img:"mr.png",code:"+222",ex:"22123456",ptrn:"[2-4][0-46-9]$_bf_$d{6}"},{i:"MS",lbl:"Montserrat",img:"ms.png",code:"+1",ex:"6644923456",ptrn:"664(?:3(?:49|9[1-6])|49[2-6])$_bf_$d{4}"},{i:"MT",lbl:"Malta",img:"mt.png",code:"+356",ex:"96961234",ptrn:"(?:7(?:210|[79]$_bf_$d$_bf_$d)|9(?:[29]$_bf_$d$_bf_$d|69[67]|8(?:1[1-3]|89|97)))$_bf_$d{4}"},{i:"MU",lbl:"Mauritius",img:"mu.png",code:"+230",ex:"52512345",ptrn:"5(?:4(?:2[1-389]|7[1-9])|87[15-8])$_bf_$d{4}|5(?:2[5-9]|4[3-589]|[57]$_bf_$d|8[0-689]|9[0-8])$_bf_$d{5}"},{i:"MV",lbl:"Maldives",img:"mv.png",code:"+960",ex:"7712345",ptrn:"46[46]$_bf_$d{4}|(?:7$_bf_$d|9[13-9])$_bf_$d{5}"},{i:"MW",lbl:"Malawi",img:"mw.png",code:"+265",ex:"991234567",ptrn:"111$_bf_$d{6}|(?:31|77|88|9[89])$_bf_$d{7}"},{i:"MX",lbl:"Mexico",img:"mx.png",code:"+52",ex:"12221234567",ptrn:"6571$_bf_$d{6}|(?:1(?:2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3$_bf_$d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]$_bf_$d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1$_bf_$d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))|2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3$_bf_$d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4$_bf_$d|8[1-35-9]|9[2-689])|5(?:[56]$_bf_$d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1$_bf_$d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9$_bf_$d))$_bf_$d{7}"},{i:"MY",lbl:"Malaysia",img:"my.png",code:"+60",ex:"123456789",ptrn:"1(?:1888[69]|4400|8(?:47|8[27])[0-4])$_bf_$d{4}|1(?:0(?:[23568]$_bf_$d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]$_bf_$d$_bf_$d|6(?:0[5-9]|[1-9]$_bf_$d)|7(?:[0134]$_bf_$d|2[1-9]|5[0-6]))|(?:(?:[269]|59)$_bf_$d|[37][1-9]|4[235-9])$_bf_$d|8(?:1[23]|[236]$_bf_$d|4[06]|5[7-9]|7[016-9]|8[01]|9[0-8]))$_bf_$d{5}"},{i:"MZ",lbl:"Mozambique",img:"mz.png",code:"+258",ex:"821234567",ptrn:"8[2-79]$_bf_$d{7}"},{i:"NA",lbl:"Namibia",img:"na.png",code:"+264",ex:"811234567",ptrn:"(?:60|8[1245])$_bf_$d{7}"},{i:"NC",lbl:"New Caledonia",img:"nc.png",code:"+687",ex:"751234",ptrn:"(?:5[0-4]|[79]$_bf_$d|8[0-79])$_bf_$d{4}"},{i:"NE",lbl:"Niger (the)",img:"ne.png",code:"+227",ex:"93123456",ptrn:"(?:23|7[04]|[89]$_bf_$d)$_bf_$d{6}"},{i:"NF",lbl:"Norfolk Island",img:"nf.png",code:"+672",ex:"381234",ptrn:"(?:14|3[58])$_bf_$d{4}"},{i:"NG",lbl:"Nigeria",img:"ng.png",code:"+234",ex:"8021234567",ptrn:"(?:702[0-24-9]|8(?:01|19)[01])$_bf_$d{6}|(?:70[13-689]|8(?:0[2-9]|1[0-8])|9(?:0[1-9]|1[2356]))$_bf_$d{7}"},{i:"NI",lbl:"Nicaragua",img:"ni.png",code:"+505",ex:"81234567",ptrn:"(?:5(?:5[0-7]|[78]$_bf_$d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8$_bf_$d)$_bf_$d)$_bf_$d{5}"},{i:"NL",lbl:"Netherlands (the)",img:"nl.png",code:"+31",ex:"612345678",ptrn:"6[1-58]$_bf_$d{7}"},{i:"NO",lbl:"Norway",img:"no.png",code:"+47",ex:"40612345",ptrn:"(?:4[015-8]|59|9$_bf_$d)$_bf_$d{6}"},{i:"NP",lbl:"Nepal",img:"np.png",code:"+977",ex:"9841234567",ptrn:"9(?:6[0-3]|7[245]|8[0-24-68])$_bf_$d{7}"},{i:"NR",lbl:"Nauru",img:"nr.png",code:"+674",ex:"5551234",ptrn:"(?:55[3-9]|666|8$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"NU",lbl:"Niue",img:"nu.png",code:"+683",ex:"8884012",ptrn:"888[4-9]$_bf_$d{3}"},{i:"NZ",lbl:"New Zealand",img:"nz.png",code:"+64",ex:"211234567",ptrn:"2[0-27-9]$_bf_$d{7,8}|21$_bf_$d{6}"},{i:"OM",lbl:"Oman",img:"om.png",code:"+968",ex:"92123456",ptrn:"1505$_bf_$d{4}|(?:7(?:[1289]$_bf_$d|70)|9(?:0[1-9]|[1-9]$_bf_$d))$_bf_$d{5}"},{i:"PA",lbl:"Panama",img:"pa.png",code:"+507",ex:"61234567",ptrn:"(?:1[16]1|21[89]|6(?:[02-9]$_bf_$d|1[0-8])$_bf_$d|8(?:1[01]|7[23]))$_bf_$d{4}"},{i:"PE",lbl:"Peru",img:"pe.png",code:"+51",ex:"912345678",ptrn:"9$_bf_$d{8}"},{i:"PF",lbl:"French Polynesia",img:"pf.png",code:"+689",ex:"87123456",ptrn:"8[7-9]$_bf_$d{6}"},{i:"PG",lbl:"Papua New Guinea",img:"pg.png",code:"+675",ex:"70123456",ptrn:"(?:7$_bf_$d|8[18])$_bf_$d{6}"},{i:"PH",lbl:"Philippines (the)",img:"ph.png",code:"+63",ex:"9051234567",ptrn:"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[2357]$_bf_$d|4[2-9]|6[0-35-9]|8[135-9]|9[1-9]))$_bf_$d{7}"},{i:"PK",lbl:"Pakistan",img:"pk.png",code:"+92",ex:"3012345678",ptrn:"3(?:[014]$_bf_$d|2[0-5]|3[0-7]|55|64)$_bf_$d{7}"},{i:"PL",lbl:"Poland",img:"pl.png",code:"+48",ex:"512345678",ptrn:"211(?:1$_bf_$d|3[1-5])$_bf_$d{4}|(?:45|5[0137]|6[069]|7[2389]|88)$_bf_$d{7}"},{i:"PM",lbl:"Saint Pierre and Miquelon",img:"pm.png",code:"+508",ex:"551234",ptrn:"(?:4[02-4]|5[05])$_bf_$d{4}"},{i:"PR",lbl:"Puerto Rico",img:"pr.png",code:"+1",ex:"7872345678",ptrn:"(?:787|939)[2-9]$_bf_$d{6}"},{i:"PS",lbl:"Palestine, State of",img:"ps.png",code:"+970",ex:"599123456",ptrn:"5[69]$_bf_$d{7}"},{i:"PT",lbl:"Portugal",img:"pt.png",code:"+351",ex:"912345678",ptrn:"6[0356]92(?:30|9$_bf_$d)$_bf_$d{3}|(?:(?:16|6[0356])93|9(?:[1-36]$_bf_$d$_bf_$d|480))$_bf_$d{5}"},{i:"PW",lbl:"Palau",img:"pw.png",code:"+680",ex:"6201234",ptrn:"(?:46[0-5]|6[2-4689]0)$_bf_$d{4}|(?:45|77|88)$_bf_$d{5}"},{i:"PY",lbl:"Paraguay",img:"py.png",code:"+595",ex:"961456789",ptrn:"9(?:51|6[129]|[78][1-6]|9[1-5])$_bf_$d{6}"},{i:"QA",lbl:"Qatar",img:"qa.png",code:"+974",ex:"33123456",ptrn:"(?:28|[35-7]$_bf_$d)$_bf_$d{6}"},{i:"RE",lbl:"Réunion",img:"re.png",code:"+262",ex:"692123456",ptrn:"(?:69(?:2$_bf_$d$_bf_$d|3(?:[06][0-46]|1[013]|2[0-2]|3[0-39]|4$_bf_$d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))|9769$_bf_$d)$_bf_$d{4}"},{i:"RO",lbl:"Romania",img:"ro.png",code:"+40",ex:"712034567",ptrn:"7020$_bf_$d{5}|7(?:0[013-9]|1[0-2]|[2-7]$_bf_$d|8[03-8]|9[019])$_bf_$d{6}"},{i:"RS",lbl:"Serbia",img:"rs.png",code:"+381",ex:"601234567",ptrn:"6(?:[0-689]|7$_bf_$d)$_bf_$d{6,7}"},{i:"RU",lbl:"Russian Federation (the)",img:"ru.png",code:"+7",ex:"9123456789",ptrn:"9$_bf_$d{9}"},{i:"RW",lbl:"Rwanda",img:"rw.png",code:"+250",ex:"720123456",ptrn:"7[2389]$_bf_$d{7}"},{i:"SA",lbl:"Saudi Arabia",img:"sa.png",code:"+966",ex:"512345678",ptrn:"579[01]$_bf_$d{5}|5(?:[013-689]$_bf_$d|7[0-36-8])$_bf_$d{6}"},{i:"SB",lbl:"Solomon Islands",img:"sb.png",code:"+677",ex:"7421234",ptrn:"48$_bf_$d{3}|(?:(?:7[1-9]|8[4-9])$_bf_$d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]$_bf_$d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))$_bf_$d{4}"},{i:"SC",lbl:"Seychelles",img:"sc.png",code:"+248",ex:"2510123",ptrn:"2[5-8]$_bf_$d{5}"},{i:"SD",lbl:"Sudan (the)",img:"sd.png",code:"+249",ex:"911231234",ptrn:"(?:1[0-2]|9[0-3569])$_bf_$d{7}"},{i:"SE",lbl:"Sweden",img:"se.png",code:"+46",ex:"701234567",ptrn:"7[02369]$_bf_$d{7}"},{i:"SG",lbl:"Singapore",img:"sg.png",code:"+65",ex:"81234567",ptrn:"(?:8(?:0(?:[13]$_bf_$d|2[013-9]|4[0-35-7])|[1-8]$_bf_$d$_bf_$d|9(?:[0-4]$_bf_$d|5[0-2]))|9[0-8]$_bf_$d$_bf_$d)$_bf_$d{4}"},{i:"SH",lbl:"Saint Helena, Ascension and Tristan da Cunha",img:"sh.png",code:"+290",ex:"51234",ptrn:"[56]$_bf_$d{4}"},{i:"SI",lbl:"Slovenia",img:"si.png",code:"+386",ex:"31234567",ptrn:"65(?:1$_bf_$d|55|[67]0)$_bf_$d{4}|(?:[37][01]|4[0139]|51|6[489])$_bf_$d{6}"},{i:"SJ",lbl:"Svalbard and Jan Mayen",img:"sj.png",code:"+47",ex:"41234567",ptrn:"(?:4[015-8]|59|9$_bf_$d)$_bf_$d{6}"},{i:"SK",lbl:"Slovakia",img:"sk.png",code:"+421",ex:"912123456",ptrn:"909[1-9]$_bf_$d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5$_bf_$d)$_bf_$d{6}"},{i:"SL",lbl:"Sierra Leone",img:"sl.png",code:"+232",ex:"25123456",ptrn:"(?:25|3[0-5]|66|7[3-9]|8[08]|9[09])$_bf_$d{6}"},{i:"SM",lbl:"San Marino",img:"sm.png",code:"+378",ex:"66661212",ptrn:"6[16]$_bf_$d{6}"},{i:"SN",lbl:"Senegal",img:"sn.png",code:"+221",ex:"701234567",ptrn:"75(?:01|[38]3)$_bf_$d{5}|7(?:[06-8]$_bf_$d|21|5[4-7]|90)$_bf_$d{6}"},{i:"SO",lbl:"Somalia",img:"so.png",code:"+252",ex:"71123456",ptrn:"(?:(?:15|(?:3[59]|4[89]|79|8[08])$_bf_$d|6(?:0[5-7]|[1-9]$_bf_$d)|9(?:0$_bf_$d|[2-9]))$_bf_$d|2(?:4$_bf_$d|8))$_bf_$d{5}|(?:6$_bf_$d|7[1-9])$_bf_$d{6}"},{i:"SR",lbl:"Suriname",img:"sr.png",code:"+597",ex:"7412345",ptrn:"(?:7[124-7]|8[124-9])$_bf_$d{5}"},{i:"SS",lbl:"South Sudan",img:"ss.png",code:"+211",ex:"977123456",ptrn:"(?:12|9[1257-9])$_bf_$d{7}"},{i:"ST",lbl:"Sao Tome and Principe",img:"st.png",code:"+239",ex:"9812345",ptrn:"900[5-9]$_bf_$d{3}|9(?:0[1-9]|[89]$_bf_$d)$_bf_$d{4}"},{i:"SV",lbl:"El Salvador",img:"sv.png",code:"+503",ex:"70123456",ptrn:"66(?:[02-9]$_bf_$d$_bf_$d|1(?:[02-9]$_bf_$d|16))$_bf_$d{3}|(?:6[0-57-9]|7$_bf_$d)$_bf_$d{6}"},{i:"SX",lbl:"Sint Maarten (Dutch part)",img:"sx.png",code:"+1",ex:"7215205678",ptrn:"7215(?:1[02]|2$_bf_$d|5[034679]|8[014-8])$_bf_$d{4}"},{i:"SY",lbl:"Syrian Arab Republic",img:"sy.png",code:"+963",ex:"944567890",ptrn:"9(?:22|[3-689]$_bf_$d)$_bf_$d{6}"},{i:"SZ",lbl:"Eswatini",img:"sz.png",code:"+268",ex:"76123456",ptrn:"7[6-9]$_bf_$d{6}"},{i:"TC",lbl:"Turks and Caicos Islands (the)",img:"tc.png",code:"+1",ex:"6492311234",ptrn:"649(?:2(?:3[129]|4[1-79])|3$_bf_$d$_bf_$d|4[34][1-3])$_bf_$d{4}"},{i:"TD",lbl:"Chad",img:"td.png",code:"+235",ex:"63012345",ptrn:"(?:6[023568]|77|9$_bf_$d)$_bf_$d{6}"},{i:"TG",lbl:"Togo",img:"tg.png",code:"+228",ex:"90112345",ptrn:"(?:7[09]|9[0-36-9])$_bf_$d{6}"},{i:"TH",lbl:"Thailand",img:"th.png",code:"+66",ex:"812345678",ptrn:"671[0-3]$_bf_$d{5}|(?:14|6[1-6]|[89]$_bf_$d)$_bf_$d{7}"},{i:"TJ",lbl:"Tajikistan",img:"tj.png",code:"+992",ex:"917123456",ptrn:"41[18]$_bf_$d{6}|(?:[034]0|11|2[02]|5[05]|7[07]|8[08]|9$_bf_$d)$_bf_$d{7}"},{i:"TK",lbl:"Tokelau",img:"tk.png",code:"+690",ex:"7290",ptrn:"7[2-4]$_bf_$d{2,5}"},{i:"TL",lbl:"Timor-Leste",img:"tl.png",code:"+670",ex:"77212345",ptrn:"7[2-8]$_bf_$d{6}"},{i:"TM",lbl:"Turkmenistan",img:"tm.png",code:"+993",ex:"66123456",ptrn:"6$_bf_$d{7}"},{i:"TN",lbl:"Tunisia",img:"tn.png",code:"+216",ex:"20123456",ptrn:"3(?:001|[12]40)$_bf_$d{4}|(?:(?:[259]$_bf_$d|4[0-7])$_bf_$d|3(?:1[1-35]|6[0-4]|91))$_bf_$d{5}"},{i:"TO",lbl:"Tonga",img:"to.png",code:"+676",ex:"7715123",ptrn:"(?:55[4-6]|6(?:[09]$_bf_$d|3[02]|8[15-9])|(?:7$_bf_$d|8[46-9])$_bf_$d|999)$_bf_$d{4}"},{i:"TR",lbl:"Turkey",img:"tr.png",code:"+90",ex:"5012345678",ptrn:"56161$_bf_$d{5}|5(?:0[15-7]|1[06]|24|[34]$_bf_$d|5[1-59]|9[46])$_bf_$d{7}"},{i:"TT",lbl:"Trinidad and Tobago",img:"tt.png",code:"+1",ex:"8682911234",ptrn:"868(?:(?:2[5-9]|3$_bf_$d)$_bf_$d|4(?:3[0-6]|[6-9]$_bf_$d)|6(?:20|78|8$_bf_$d)|7(?:0[1-9]|1[02-9]|[2-9]$_bf_$d))$_bf_$d{4}"},{i:"TV",lbl:"Tuvalu",img:"tv.png",code:"+688",ex:"901234",ptrn:"(?:7[01]$_bf_$d|90)$_bf_$d{4}"},{i:"TW",lbl:"Taiwan (Province of China)",img:"tw.png",code:"+886",ex:"912345678",ptrn:"(?:40001[0-2]|9[0-8]$_bf_$d{4})$_bf_$d{3}"},{i:"TZ",lbl:"Tanzania, United Republic of",img:"tz.png",code:"+255",ex:"621234567",ptrn:"77[2-9]$_bf_$d{6}|(?:6[1-9]|7[1-689])$_bf_$d{7}"},{i:"UA",lbl:"Ukraine",img:"ua.png",code:"+380",ex:"501234567",ptrn:"(?:50|6[36-8]|7[1-3]|9[1-9])$_bf_$d{7}"},{i:"UG",lbl:"Uganda",img:"ug.png",code:"+256",ex:"712345678",ptrn:"726[01]$_bf_$d{5}|7(?:[0157-9]$_bf_$d|20|36|[46][0-4])$_bf_$d{6}"},{i:"US",lbl:"United States of America (the)",img:"us.png",code:"+1",ex:"2015550123",ptrn:"5056(?:[0-35-9]$_bf_$d|4[46])$_bf_$d{4}|(?:4722|505[2-57-9])$_bf_$d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|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-47-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]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|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-389]|8[04-69]))[2-9]$_bf_$d{6}"},{i:"UY",lbl:"Uruguay",img:"uy.png",code:"+598",ex:"94231234",ptrn:"9[1-9]$_bf_$d{6}"},{i:"UZ",lbl:"Uzbekistan",img:"uz.png",code:"+998",ex:"912345678",ptrn:"(?:(?:33|88|9[0-57-9])$_bf_$d{3}|55(?:50[013]|90$_bf_$d)|6(?:1(?:2(?:2[01]|98)|35[0-4]|50$_bf_$d|61[23]|7(?:[01][017]|4$_bf_$d|55|9[5-9]))|2(?:(?:11|7$_bf_$d)$_bf_$d|2(?:[12]1|9[01379])|5(?:[126]$_bf_$d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7$_bf_$d)$_bf_$d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])$_bf_$d|4(?:56|83)|7(?:[07]$_bf_$d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0$_bf_$d|[39][07])|9(?:0$_bf_$d|7[079]))|9(?:2(?:1[1267]|3[01]|5$_bf_$d|7[0-4])|(?:5[67]|7$_bf_$d)$_bf_$d|6(?:2[0-26]|8$_bf_$d)))|7(?:[07]$_bf_$d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98$_bf_$d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57$_bf_$d|7(?:0$_bf_$d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])$_bf_$d|5(?:0[0-4]|5[579]|9$_bf_$d)|7(?:[0-3579]$_bf_$d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8$_bf_$d|9[5-9])|7(?:0$_bf_$d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]$_bf_$d))|5(?:112|2(?:0$_bf_$d|2[29]|[49]4)|3[1568]$_bf_$d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]$_bf_$d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39$_bf_$d|41[179]|5(?:[349]$_bf_$d|5[0-2])|7(?:0[017]|[13]$_bf_$d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7$_bf_$d)|57[02569]|7(?:2[05-9]|3[37]|4$_bf_$d|60|7[2579]|87|9[07]))))$_bf_$d{4}"},{i:"VA",lbl:"Holy See (the)",img:"va.png",code:"+39",ex:"3123456789",ptrn:"3[1-9]$_bf_$d{8}|3[2-9]$_bf_$d{7}"},{i:"VC",lbl:"Saint Vincent and the Grenadines",img:"vc.png",code:"+1",ex:"7844301234",ptrn:"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)$_bf_$d{4}"},{i:"VE",lbl:"Venezuela (Bolivarian Republic of)",img:"ve.png",code:"+58",ex:"4121234567",ptrn:"4(?:1[24-8]|2[46])$_bf_$d{7}"},{i:"VG",lbl:"Virgin Islands (British)",img:"vg.png",code:"+1",ex:"2843001234",ptrn:"284496[6-9]$_bf_$d{3}|284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|99)|5(?:4[0-7]|68|9[69]))$_bf_$d{4}"},{i:"VI",lbl:"Virgin Islands (U.S.)",img:"vi.png",code:"+1",ex:"3406421234",ptrn:"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7$_bf_$d)|884|998)$_bf_$d{4}"},{i:"VN",lbl:"Viet Nam",img:"vn.png",code:"+84",ex:"912345678",ptrn:"(?:5(?:2[238]|59)|89[689]|99[013-9])$_bf_$d{6}|(?:3$_bf_$d|5[689]|7[06-9]|8[1-8]|9[0-8])$_bf_$d{7}"},{i:"VU",lbl:"Vanuatu",img:"vu.png",code:"+678",ex:"5912345",ptrn:"(?:[58]$_bf_$d|7[013-7])$_bf_$d{5}"},{i:"WF",lbl:"Wallis and Futuna",img:"wf.png",code:"+681",ex:"821234",ptrn:"(?:72|8[23])$_bf_$d{4}"},{i:"WS",lbl:"Samoa",img:"ws.png",code:"+685",ex:"7212345",ptrn:"(?:7[1-35-7]|8(?:[3-7]|9$_bf_$d{3}))$_bf_$d{5}"},{i:"YE",lbl:"Yemen",img:"ye.png",code:"+967",ex:"712345678",ptrn:"7[0137]$_bf_$d{7}"},{i:"YT",lbl:"Mayotte",img:"yt.png",code:"+262",ex:"639012345",ptrn:"639(?:0[0-79]|1[019]|[267]$_bf_$d|3[09]|40|5[05-9]|9[04-79])$_bf_$d{4}"},{i:"ZA",lbl:"South Africa",img:"za.png",code:"+27",ex:"711234567",ptrn:"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])$_bf_$d{3}|8[1-4]$_bf_$d{3,7}|(?:2[27]|47|54)4950$_bf_$d{3}|(?:1(?:049[2-4]|9[12]$_bf_$d$_bf_$d)|(?:6$_bf_$d|7[0-46-9])$_bf_$d{3}|8(?:5$_bf_$d{3}|7(?:08[67]|158|28[5-9]|310)))$_bf_$d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920$_bf_$d{3}|(?:12|[2-5]1)492$_bf_$d{4}"},{i:"ZM",lbl:"Zambia",img:"zm.png",code:"+260",ex:"955123456",ptrn:"(?:7[679]|9[5-8])$_bf_$d{7}"},{i:"ZW",lbl:"Zimbabwe",img:"zw.png",code:"+263",ex:"712345678",ptrn:"7(?:[178]$_bf_$d|3[1-9])$_bf_$d{6}"}],valid:{},err:{invalid:{dflt:'<p style="margin:0">Please enter a valid phone number</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-4"},"fld_key-5":{typ:"select",lbl:"Choose Your Area of Support",phHide:!0,ph:"Select an Option",optionsList:[{"List-1":[{lbl:"Emergency Relief"},{lbl:"Food Aid"},{lbl:"Medical Supplies"},{lbl:"Shelter"},{lbl:"Long-term Recovery"}]}],config:{selectedOptImage:!1,selectedOptClearable:!0,searchClearable:!1,optionIcon:!1,placeholder:"Select an option",showSearchPh:!0,searchPlaceholder:"Search Options...",maxHeight:400,multipleSelect:!0,showChip:!0,selectedOptImgSrc:"test.png",closeOnSelect:!0,activeList:0,allowCustomOption:!1,defaultValue:""},valid:{},err:{mn:{dflt:'<p style="margin:0">You must select the minimum required options.</p>',show:!0},mx:{dflt:'<p style="margin:0">You can select up to the maximum allowed options.</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-5"},"fld_key-6":{typ:"decision-box",adminLbl:"I prefer to remain anonymous.",adminLblHide:!0,lbl:'<p style="margin: 0;"><span style="font-size: 12pt;">I prefer to remain anonymous.</span></p>',msg:{checked:"Accepted",unchecked:"Rejected"},valid:{},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-6"},"fld_key-7":{typ:"radio",lbl:"How Much Would You Like to Donate?",round:!0,opt:[{lbl:"50 USD"},{lbl:"100 USD"},{lbl:"200 USD"},{lbl:"500 USD",val:""},{lbl:"1000 USD",val:""}],valid:{otherOptReq:!0},err:{otherOptReq:{dflt:'<p style="margin:0">Custom Option Required</p>',show:!0,custom:!0,msg:'<p style="margin: 0;">Custom Amount Required</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-7",otherPhShow:!0,addOtherOpt:!0,otherInpPh:"Write Custom Amount...",optionCol:"3"},"fld_key-8":{typ:"stripe",adminLbl:"Stripe",err:{},txt:"Pay with Stripe",layout:{autoHeight:1},config:{payBtnTxt:"Pay now",layout:{type:"tabs",defaultCollapsed:!1},options:{mode:"payment",currency:"usd",locale:"en",payment_method_types:["card"]},theme:{name:"stripe",style:{theme:"stripe"}},amountType:"dynamic",amountFld:"b12-7"},payIntegID:"26",fieldName:"fld_key-8"},"fld_key-9":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"Disaster Relief Donation",titleHide:!1,subtitleHide:!0,titleTag:"h1",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-9"},"fld_key-10":{typ:"select",lbl:"How often would you like to donate?",phHide:!0,ph:"Select an Option",optionsList:[{"List-1":[{lbl:"One-time"},{lbl:"Monthly"},{lbl:"Yearly"}]}],config:{selectedOptImage:!1,selectedOptClearable:!0,searchClearable:!0,optionIcon:!1,placeholder:"Select an option",showSearchPh:!0,searchPlaceholder:"Search options..",maxHeight:400,multipleSelect:!1,showChip:!1,selectedOptImgSrc:"test.png",closeOnSelect:!0,activeList:0,allowCustomOption:!1,defaultValue:""},valid:{},err:{mn:{dflt:'<p style="margin:0">You must select the minimum required options.</p>',show:!0},mx:{dflt:'<p style="margin:0">You can select up to the maximum allowed options.</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-10"}},styles:{lgDarkStyles:{},lgLightStyles:{confirmations:[{confMsgId:"12",style:{".close-12":{background:"transparent",border:"none","border-radius":"50%",color:"var(--bg-40)",cursor:"pointer",display:"grid",height:"25px",padding:0,"place-content":"center",position:"absolute",right:"7px",top:"50%",transform:"translateY(-50%)",width:"25px"},".close-12:focus":{color:"var(--bg-50)"},".close-12:hover":{background:"var(--bg-10)",color:"var(--bg-50)"},".close-icn-12":{height:"15px","pointer-events":"none","stroke-width":2,width:"15px"},".msg-background-12":{"align-items":"center",background:"rgba(0, 0, 0, 0.0)",display:"flex",height:"100%","justify-content":"center",width:"100%"},".msg-container-12":{"align-items":"center",display:"flex",height:"0","justify-content":"center",opacity:0,transition:"opacity 0.4s",visibility:"hidden",width:"inherit","z-index":999},".msg-container-12.active":{height:"auto","margin-top":"10px",opacity:1,visibility:"visible"},".msg-container-12.deactive":{height:"0","margin-top":"0",opacity:0,transition:"opacity 0.4s, visibility 0s ease-out 0.4s",visibility:"hidden"},".msg-content-12":{background:"#bdffd4e8","border-color":"#a9ffa3","border-radius":"var(--g-bdr-rad)","border-style":"solid","border-width":"1px","box-shadow":"0px 0px 0px 0px rgb(0 0 0 / 6%) ",color:"var(--global-font-color)",margin:"auto",padding:"5px 35px 5px 20px",position:"relative",width:"100%","word-break":"break-all"}}}],fields:{"b12-1":{classes:{".b12-1-btn":{"align-items":"center",background:"var(--btn-bg)","border-color":"var(--btn-bdr-clr)","border-radius":"var(--btn-bdr-rad) !important","border-style":"var(--btn-bdr)","border-width":"var(--btn-bdr-width)","box-shadow":"var(--btn-sh)",color:"var(--btn-c)",cursor:"pointer",display:"flex","font-family":"inherit","font-size":"var(--btn-fs)!important","font-style":"var(--btn-f-style)","font-weight":"var(--btn-fw)","justify-content":"center","line-height":"1",margin:"var(--btn-m)",outline:"none",padding:"var(--btn-p)!important",transition:"",width:"100%"},".b12-1-btn-suf-i":{"color(filter)":"",filter:"invert(99%) sepia(1%) saturate(2%) hue-rotate(213deg) brightness(115%) contrast(100%);",height:"20px","icon-color":"hsla(0, 0%, 100%, 100%)",margin:"0px 0px 0px 5px",width:"20px"},".b12-1-btn:active":{transform:""},".b12-1-btn:active:focus-visible":{"outline-offset":0},".b12-1-btn:disabled":{cursor:"not-allowed",opacity:"0.5","pointer-events":"none"},".b12-1-btn:focus-visible":{outline:"2px solid var(--global-accent-color)","outline-offset":"2px",transition:"outline-offset 0.2s ease"},".b12-1-btn:hover":{"background-color":"hsl(var(--gah), var(--gas), calc(var(--gal) - 5%)) !important"},".b12-1-err-inner":{overflow:"hidden"},".b12-1-err-txt":{display:"block"},".b12-1-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-1-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-1-inp-fld-wrp":{display:"flex"},".b12-1-inp-wrp":{width:"var(--inp-wrp-width, auto)"}},fieldSize:"medium",fieldType:"button",overrideGlobalTheme:["btn-suf-i"],theme:"atlassian"},"b12-10":{classes:{".b12-10-custom-opt-btn":{background:"transparent",border:"0.5px solid hsla(var(--gfbg-h), var(--gfbg-s), 70%, var(--gfbg-a)) ","border-radius":"5px",color:"var(--global-font-color)",cursor:"pointer",display:"none",height:"25px",margin:"0",outline:"0",padding:"5px","place-content":"center",right:"30px"},".b12-10-dpd-btn-wrp":{"align-items":"center",display:"flex"},".b12-10-dpd-down-btn":{display:"grid","place-content":"center",transition:"transform 0.2s",width:"15px"},".b12-10-dpd-fld-container":{display:"inline-block",height:"40px",position:"relative",width:"100%"},".b12-10-dpd-fld-wrp":{"background-color":"","border-color":"","border-radius":"","border-style":"","border-width":"",color:"var(--fld-inp-c) !important",display:"flex","flex-direction":"column","font-size":"var(--fld-fs) !important",overflow:"",position:"absolute",transition:"box-shadow 200ms",width:"100%"},".b12-10-dpd-fld-wrp .placeholder-img":{"background-color":"var(--bg-15)",outline:"1px solid var(--bg-10)"},".b12-10-dpd-fld-wrp.disabled .b12-5-dpd-wrp":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))",cursor:"not-allowed","pointer-events":"none"},".b12-10-dpd-fld-wrp.menu-open":{"background-color":"","border-color":"","box-shadow":"","z-index":"999"},".b12-10-dpd-fld-wrp.menu-open .b12-5-dpd-down-btn":{transform:"rotate(180deg)"},".b12-10-dpd-fld-wrp.menu-open .b12-5-dpd-wrp":{"background-color":"var(--global-bg-color)","border-color":"var(--global-accent-color)!important"},".b12-10-dpd-fld-wrp.menu-open .b12-5-option-wrp":{"box-shadow":"0px 8px 12px hsla(var(--gah), var(--gas), 10%, .15), 0px 0px 1px #091e424f, 0 4px 11px var(--bg-5)",margin:"5px 0"},".b12-10-dpd-fld-wrp.readonly .b12-5-dpd-wrp":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))","pointer-events":"none"},".b12-10-dpd-fld-wrp:focus-within:not(.menu-open):not(.disabled)":{"border-color":"var(--global-accent-color)!important","box-shadow":""},".b12-10-dpd-fld-wrp:focus-within:not(.menu-open):not(.disabled) .b12-5-dpd-wrp":{"border-color":"var(--global-accent-color)!important"},".b12-10-dpd-fld-wrp:hover:not(.menu-open):not(.disabled)":{"border-color":"var(--global-accent-color)!important"},".b12-10-dpd-wrp":{"align-items":"center","background-color":"var(--global-fld-bg-color)","border-color":"var(--global-fld-bdr-clr) !important","border-radius":"var(--g-bdr-rad) !important","border-style":"var(--global-fld-bdr) !important","border-width":"var(--g-bdr-width) !important","box-sizing":"border-box",cursor:"pointer",display:"flex","font-weight":"500","justify-content":"space-between","min-height":"40px",outline:"none",overflow:"hidden",padding:"4px 10px",position:"relative"},".b12-10-err-inner":{overflow:"hidden"},".b12-10-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-10-err-txt":{display:"block"},".b12-10-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-10-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"7px 30px 7px 0px",position:"relative",width:"var(--fld-wrp-width)"},".b12-10-icn":{position:"absolute",top:"50%",transform:"translateY(-50%)"},".b12-10-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-10-lbl":{"align-items":"center","background-color":"var(--fld-lbl-bg, none)","border-color":"var(--fld-lbl-bdr-clr, none)","border-radius":"var(--fld-lbl-bdr-rad, 0)","border-style":"var(--fld-lbl-bdr, medium)","border-width":"var(--fld-lbl-bdr-width, 0)","box-shadow":"var(--fld-lbl-sh, none)",color:"var(--fld-lbl-c, inherit)",display:"flex","font-size":"var(--fld-lbl-fs)","font-style":"var(--lbl-font-style)","font-weight":"var(--lbl-font-w)","justify-content":"var(--lbl-al, initial)",margin:"var(--fld-lbl-m, 0)",padding:"var(--fld-lbl-p, 0)",position:"var(--fld-lbl-pn,unset)",width:"100%"},".b12-10-lbl-wrp":{"align-self":"var(--lbl-wrp-sa, auto)","background-color":"var(--lbl-wrp-bg, none)","border-color":"var(--lbl-wrp-bdr-clr, none)","border-radius":"var(--lbl-wrp-bdr-rad, 0)","border-style":"var(--lbl-wrp-bdr, medium)","border-width":"var(--lbl-wrp-bdr-width, 0)","box-shadow":"var(--lbl-wrp-sh, none)",margin:"var(--lbl-wrp-m, 0)",padding:"var(--lbl-wrp-p, 0)",width:"var(--lbl-wrp-width, auto)"},".b12-10-opt-search-icn":{"border-left":"1px solid var(--bg-20)",height:"22px",left:"auto",padding:"2px",right:"5px",width:"30px"},".b12-10-opt-search-input":{"background-color":"var(--bg-5)",border:"none !important","border-radius":"var(--g-bdr-rad) !important","box-shadow":"none",color:"var(--global-font-color) !important","font-family":"inherit","font-size":"var(--fld-fs)",height:"35px",outline:"none",padding:"0px 58px 0 10px !important","padding-left":"","padding-right":"",width:"100%"},".b12-10-opt-search-input::-webkit-search-cancel-button":{display:"none"},".b12-10-opt-search-input::-webkit-search-decoration":{display:"none"},".b12-10-opt-search-input::-webkit-search-results-button":{display:"none"},".b12-10-opt-search-input::-webkit-search-results-decoration":{display:"none"},".b12-10-opt-search-input::placeholder":{color:"hsla(var(--gfh), var(--gfs), var(--gfl), 0.5)"},".b12-10-opt-search-input:focus":{"background-color":"var(--bg-0)","box-shadow":"0 0 0 2px var(--global-accent-color) inset"},".b12-10-opt-search-input:focus~svg":{color:"var(--global-accent-color)"},".b12-10-option-inner-wrp":{display:"flex","flex-direction":"column",overflow:"hidden"},".b12-10-option-list":{height:"100%",margin:"0 0 2px 0 !important","overflow-y":"auto",padding:"0","scrollbar-color":"var(--bg-15) transparent !important","scrollbar-width":"thin !important"},".b12-10-option-list .disable-on-max":{color:"var(--bg-10) !important",cursor:"not-allowed",opacity:"0.8","pointer-events":"none"},".b12-10-option-list .disabled-opt":{color:"var(--bg-10) !important",cursor:"not-allowed",opacity:"0.5","pointer-events":"none"},".b12-10-option-list .opt-group-child":{"padding-left":"15px !important"},".b12-10-option-list .opt-group-title":{cursor:"default","font-size":"calc(var(--fld-fs) - 2px)","font-weight":600,opacity:".7"},".b12-10-option-list .opt-icn":{"-webkit-user-select":"none","border-radius":"3px",height:"17px","margin-right":"5px","user-select":"none",width:"25px"},".b12-10-option-list .opt-lbl":{},".b12-10-option-list .opt-lbl-wrp":{"align-items":"center",display:"flex",gap:"5px"},".b12-10-option-list .opt-not-found":{"list-style":"none",margin:"5px","text-align":"center"},".b12-10-option-list .option":{"align-items":"center","border-color":"transparent","border-radius":"","border-style":"solid","border-width":"0 0 0 3px",cursor:"pointer",display:"flex","font-size":"calc(var(--fld-fs) - 2px)","justify-content":"space-between",margin:"0 !important",padding:"8px 7px","text-align":"left",transition:""},".b12-10-option-list .option:focus-visible":{"background-color":"var(--bg-10)",outline:"2px solid var(--global-accent-color)"},".b12-10-option-list .option:hover:not(.selected-opt):not(.opt-group-title)":{"background-color":"var(--bg-10)","border-color":"var(--global-accent-color)"},".b12-10-option-list .selected-opt":{"background-color":"hsla(var(--gah), var(--gas), var(--gal), 0.2)","border-color":"var(--global-accent-color)",color:"var(--global-accent-color)","font-weight":500},".b12-10-option-list .selected-opt:focus-visible":{"background-color":"var(--global-accent-color)"},".b12-10-option-list::-webkit-scrollbar":{width:"8px"},".b12-10-option-list::-webkit-scrollbar-thumb":{"background-color":"var(--bg-15)","border-radius":"var(--g-bdr-rad)"},".b12-10-option-list:not(.active-list)":{display:"none !important"},".b12-10-option-search-wrp":{margin:"5px",position:"relative"},".b12-10-option-wrp":{background:"var(--global-bg-color)","border-color":"","border-radius":"var(--g-bdr-rad)","border-style":"","border-width":"",display:"flex","flex-direction":"column",margin:"auto","max-height":"0px","min-height":"auto",overflow:"hidden",transition:"",width:"100%"},".b12-10-search-clear-btn":{background:"hsla(var(--gah), var(--gas), 20%, 100%) !important",border:"0","border-radius":"50% !important",color:"var(--bg-0)",cursor:"pointer",display:"none",height:"16px",margin:"0",outline:"0",padding:"0px !important","place-content":"center",right:"40px",width:"16px"},".b12-10-search-clear-btn:focus-visible":{"box-shadow":"0 0 0 2px var(--global-accent-color)",outline:"none"},".b12-10-search-clear-btn:hover":{background:"hsla(var(--gah), var(--gas), 30%, 100%) !important"},".b12-10-selected-opt-clear-btn":{background:"transparent !important",border:"0","border-radius":"50% !important",color:"var(--fld-inp-c) !important",cursor:"pointer",display:"none",height:"16px",margin:"0","margin-right":"5px",outline:"0",padding:"0px !important","place-content":"center",right:"6px",width:"16px"},".b12-10-selected-opt-clear-btn:focus-visible":{outline:"1.5px solid var(--global-accent-color)"},".b12-10-selected-opt-clear-btn:hover":{"background-color":"var(--bg-15) !important"},".b12-10-selected-opt-img":{"-webkit-user-select":"none","border-radius":"3px",height:"17px","user-select":"none",width:"25px"},".b12-10-selected-opt-lbl":{},".b12-10-selected-opt-lbl .chip-clear-btn":{"background-color":"transparent !important",border:"none","border-radius":"50%","box-shadow":"none",color:"var(--fld-inp-c) !important",cursor:"pointer",display:"grid",height:"17px",outline:"none",padding:"0px","place-content":"center",width:"17px"},".b12-10-selected-opt-lbl .chip-clear-btn:focus-visible":{outline:"1.5px solid var(--global-accent-color)"},".b12-10-selected-opt-lbl .chip-clear-btn:hover":{"background-color":"var(--bg-20) !important"},".b12-10-selected-opt-lbl .chip-icn":{height:"13px",width:"13px"},".b12-10-selected-opt-lbl .chip-lbl":{color:"var(--fld-inp-c)","font-size":"var(--fld-fs) !important","font-style":"var(--fld-f-style) !important","font-weight":"var(--fld-f-w) !important"},".b12-10-selected-opt-lbl .chip-wrp":{"align-items":"center","background-color":"var(--bg-10)","border-radius":"var(--g-bdr-rad)",display:"flex",gap:"5px",padding:"5px 8px"},".b12-10-selected-opt-lbl.multi-chip":{display:"flex","flex-wrap":"wrap",gap:"5px"},".b12-10-selected-opt-wrp":{"align-items":"center",display:"flex",gap:"10px",height:"100%"}},fieldSize:"medium",fieldType:"select",overrideGlobalTheme:["fld-wrp"],theme:"atlassian"},"b12-2":{classes:{".b12-2-err-inner":{overflow:"hidden"},".b12-2-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-2-err-txt":{display:"block"},".b12-2-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-2-fld":{"background-color":"var(--global-fld-bg-color) !important","border-color":"var(--global-fld-bdr-clr) !important","border-radius":"var(--g-bdr-rad) !important","border-style":"var(--global-fld-bdr) !important","border-width":"var(--g-bdr-width) !important",color:"var(--fld-inp-c) !important",direction:"inherit !important",display:"inline-block!important","font-family":"inherit","font-size":"var(--fld-fs) !important","font-style":"var(--fld-f-style) !important","font-weight":"var(--fld-f-w) !important",height:"40px","line-height":"1.4 !important",margin:"var(--fld-m)!important",outline:"none !important",padding:"var(--fld-p)!important",transition:"background 0.2s ease",width:"100% !important"},".b12-2-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-2-fld::placeholder":{color:"hsla(var(--gfh), var(--gfs), var(--gfl), 40%) !important","font-family":"inherit"},".b12-2-fld:disabled":{"background-color":"var(--bg-5)!important","border-color":"var(--bg-5) !important",color:"hsla(var(--gfh), var(--gfs), var(--gfl), .5) !important",cursor:"default"},".b12-2-fld:focus":{background:"var(--global-bg-color)!important","border-color":"var(--global-accent-color) !important","box-shadow":"none !important"},".b12-2-fld:hover":{background:"hsla(var(--gfbc-h), var(--gfbc-s), var(--gfbc-l), 0.6)","border-color":"none !important"},".b12-2-fld:hover:not(:focus)":{background:"hsla(var(--gfbc-h), var(--gfbc-s), var(--gfbc-l), 0.6) !important"},".b12-2-fld:read-only":{cursor:"default"},".b12-2-inp-fld-wrp":{margin:"0px",position:"relative"},".b12-2-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-2-lbl":{"align-items":"center","background-color":"var(--fld-lbl-bg, none)","border-color":"var(--fld-lbl-bdr-clr, none)","border-radius":"var(--fld-lbl-bdr-rad, 0)","border-style":"var(--fld-lbl-bdr, medium)","border-width":"var(--fld-lbl-bdr-width, 0)","box-shadow":"var(--fld-lbl-sh, none)",color:"var(--fld-lbl-c, inherit)",display:"flex","font-size":"var(--fld-lbl-fs)","font-style":"var(--lbl-font-style)","font-weight":"var(--lbl-font-w)","justify-content":"var(--lbl-al, initial)",margin:"var(--fld-lbl-m, 0)",padding:"var(--fld-lbl-p, 0)",position:"var(--fld-lbl-pn,unset)",width:"100%"},".b12-2-lbl-wrp":{"align-self":"var(--lbl-wrp-sa, auto)","background-color":"var(--lbl-wrp-bg, none)","border-color":"var(--lbl-wrp-bdr-clr, none)","border-radius":"var(--lbl-wrp-bdr-rad, 0)","border-style":"var(--lbl-wrp-bdr, medium)","border-width":"var(--lbl-wrp-bdr-width, 0)","box-shadow":"var(--lbl-wrp-sh, none)",margin:"var(--lbl-wrp-m, 0)",padding:"var(--lbl-wrp-p, 0)",width:"var(--lbl-wrp-width, auto)"}},fieldSize:"medium",fieldType:"text",overrideGlobalTheme:[],theme:"atlassian"},"b12-3":{classes:{".b12-3-err-inner":{overflow:"hidden"},".b12-3-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-3-err-txt":{display:"block"},".b12-3-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-3-fld":{"background-color":"var(--global-fld-bg-color) !important","border-color":"var(--global-fld-bdr-clr) !important","border-radius":"var(--g-bdr-rad) !important","border-style":"var(--global-fld-bdr) !important","border-width":"var(--g-bdr-width) !important",color:"var(--fld-inp-c) !important",direction:"inherit !important",display:"inline-block!important","font-family":"inherit","font-size":"var(--fld-fs) !important","font-style":"var(--fld-f-style) !important","font-weight":"var(--fld-f-w) !important",height:"40px","line-height":"1.4 !important",margin:"var(--fld-m)!important",outline:"none !important",padding:"var(--fld-p)!important",transition:"background 0.2s ease",width:"100% !important"},".b12-3-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-3-fld::placeholder":{color:"hsla(var(--gfh), var(--gfs), var(--gfl), 40%) !important","font-family":"inherit"},".b12-3-fld:disabled":{"background-color":"var(--bg-5)!important","border-color":"var(--bg-5) !important",color:"hsla(var(--gfh), var(--gfs), var(--gfl), .5) !important",cursor:"default"},".b12-3-fld:focus":{background:"var(--global-bg-color)!important","border-color":"var(--global-accent-color) !important","box-shadow":"none !important"},".b12-3-fld:hover":{background:"hsla(var(--gfbc-h), var(--gfbc-s), var(--gfbc-l), 0.6)","border-color":"none !important"},".b12-3-fld:hover:not(:focus)":{background:"hsla(var(--gfbc-h), var(--gfbc-s), var(--gfbc-l), 0.6) !important"},".b12-3-fld:read-only":{cursor:"default"},".b12-3-inp-fld-wrp":{margin:"0px",position:"relative"},".b12-3-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-3-lbl":{"align-items":"center","background-color":"var(--fld-lbl-bg, none)","border-color":"var(--fld-lbl-bdr-clr, none)","border-radius":"var(--fld-lbl-bdr-rad, 0)","border-style":"var(--fld-lbl-bdr, medium)","border-width":"var(--fld-lbl-bdr-width, 0)","box-shadow":"var(--fld-lbl-sh, none)",color:"var(--fld-lbl-c, inherit)",display:"flex","font-size":"var(--fld-lbl-fs)","font-style":"var(--lbl-font-style)","font-weight":"var(--lbl-font-w)","justify-content":"var(--lbl-al, initial)",margin:"var(--fld-lbl-m, 0)",padding:"var(--fld-lbl-p, 0)",position:"var(--fld-lbl-pn,unset)",width:"100%"},".b12-3-lbl-wrp":{"align-self":"var(--lbl-wrp-sa, auto)","background-color":"var(--lbl-wrp-bg, none)","border-color":"var(--lbl-wrp-bdr-clr, none)","border-radius":"var(--lbl-wrp-bdr-rad, 0)","border-style":"var(--lbl-wrp-bdr, medium)","border-width":"var(--lbl-wrp-bdr-width, 0)","box-shadow":"var(--lbl-wrp-sh, none)",margin:"var(--lbl-wrp-m, 0)",padding:"var(--lbl-wrp-p, 0)",width:"var(--lbl-wrp-width, auto)"},".b12-3-req-smbl":{color:"var(--req-smbl-c, inherit)","font-size":"var(--req-smbl-fs)","font-weight":"var(--req-smbl-fw)",left:"var(--req-smbl-lt,unset)","line-height":"var(--req-smbl-lh, 12px)",margin:"var(--req-smbl-m, 0)",padding:"var(--req-smbl-p, 0)",position:"var(--req-smbl-pn,unset)",right:"var(--req-smbl-rt,unset)"}},fieldSize:"medium",fieldType:"email",overrideGlobalTheme:[],theme:"atlassian"},"b12-4":{classes:{".b12-4-dpd-down-btn":{display:"grid","place-content":"center",transition:"transform 0.2s",width:"15px"},".b12-4-dpd-wrp":{"align-items":"center","background-color":"transparent","border-radius":"var(--g-bdr-rad)",cursor:"pointer",display:"flex","font-size":"12px","font-weight":"500",height:"30px","justify-content":"space-between",margin:"3px",outline:"none",overflow:"hidden",padding:"10px",position:"relative"},".b12-4-dpd-wrp:focus-visible":{outline:"2px solid var(--global-accent-color)"},".b12-4-dpd-wrp:hover":{"background-color":"var(--bg-5)"},".b12-4-err-inner":{overflow:"hidden"},".b12-4-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-4-err-txt":{display:"block"},".b12-4-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-4-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-4-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-4-input-clear-btn":{background:"hsla(var(--gah), var(--gas), 20%, 100%) !important",border:"none","border-radius":"50% !important",color:"var(--bg-5) !important",cursor:"pointer",display:"none",height:"16px",margin:"0px 5px 0px 0px",outline:0,padding:"0px !important","place-content":"center",position:"absolute",right:"6px",top:"50%",transform:"translateY(-50%)",width:"16px"},".b12-4-input-clear-btn:focus-visible":{"box-shadow":"0 0 0 1.5px var(--global-accent-color)",outline:"none"},".b12-4-input-clear-btn:hover":{background:"hsla(var(--gah), var(--gas), 30%, 100%) !important"},".b12-4-lbl":{"align-items":"center","background-color":"var(--fld-lbl-bg, none)","border-color":"var(--fld-lbl-bdr-clr, none)","border-radius":"var(--fld-lbl-bdr-rad, 0)","border-style":"var(--fld-lbl-bdr, medium)","border-width":"var(--fld-lbl-bdr-width, 0)","box-shadow":"var(--fld-lbl-sh, none)",color:"var(--fld-lbl-c, inherit)",display:"flex","font-size":"var(--fld-lbl-fs)","font-style":"var(--lbl-font-style)","font-weight":"var(--lbl-font-w)","justify-content":"var(--lbl-al, initial)",margin:"var(--fld-lbl-m, 0)",padding:"var(--fld-lbl-p, 0)",position:"var(--fld-lbl-pn,unset)",width:"100%"},".b12-4-lbl-wrp":{"align-self":"var(--lbl-wrp-sa, auto)","background-color":"var(--lbl-wrp-bg, none)","border-color":"var(--lbl-wrp-bdr-clr, none)","border-radius":"var(--lbl-wrp-bdr-rad, 0)","border-style":"var(--lbl-wrp-bdr, medium)","border-width":"var(--lbl-wrp-bdr-width, 0)","box-shadow":"var(--lbl-wrp-sh, none)",margin:"var(--lbl-wrp-m, 0)",padding:"var(--lbl-wrp-p, 0)",width:"var(--lbl-wrp-width, auto)"},".b12-4-opt-lbl":{},".b12-4-opt-search-icn":{"border-left":"1px solid var(--bg-20)",color:"var(--fld-inp-c)",height:"22px",left:"",padding:"2px",position:"absolute",right:"5px",top:"50%",transform:"translateY(-50%)",width:"30px"},".b12-4-opt-search-input":{"background-color":"var(--bg-5)",border:"none !important","border-radius":"var(--g-bdr-rad) !important","box-shadow":"none",color:"var(--fld-inp-c) !important","font-family":"inherit","font-size":"1rem",height:"35px",outline:"none",padding:"0px 58px 0 10px !important",width:"100%"},".b12-4-opt-search-input::-webkit-search-cancel-button":{display:"none"},".b12-4-opt-search-input::-webkit-search-decoration":{display:"none"},".b12-4-opt-search-input::-webkit-search-results-button":{display:"none"},".b12-4-opt-search-input::-webkit-search-results-decoration":{display:"none"},".b12-4-opt-search-input::placeholder":{color:"hsla(var(--gfh), var(--gfs), var(--gfl), 0.5)"},".b12-4-opt-search-input:focus":{"background-color":"var(--bg-0)","box-shadow":"0 0 0 2px var(--global-accent-color) inset"},".b12-4-opt-search-input:focus~svg":{color:"var(--global-accent-color)"},".b12-4-option-inner-wrp":{display:"flex","flex-direction":"column",overflow:"hidden",position:"relative"},".b12-4-option-list":{height:"100%",margin:"0px !important","overflow-y":"auto",padding:0,"scrollbar-color":"var(--bg-15) transparent !important","scrollbar-width":"thin !important"},".b12-4-option-list .disabled-opt":{color:"var(--bg-10) !important",cursor:"not-allowed",opacity:"0.5","pointer-events":"none"},".b12-4-option-list .opt-icn":{"-webkit-user-select":"none","border-radius":"3px","box-shadow":" 0 0 0 1px var(--bg-5)",height:"17px",margin:"0 10px 0 0","user-select":"none",width:"25px"},".b12-4-option-list .opt-lbl-wrp":{"align-items":"center",display:"flex","margin-right":"5px"},".b12-4-option-list .opt-not-found":{"font-size":"calc(var(--fld-fs) - 2px)","list-style":"none",margin:"5px","text-align":"center"},".b12-4-option-list .opt-suffix":{background:"var(--bg-10)","border-radius":"5px","font-size":"calc(var(--fld-fs) - 3px)",padding:"3px"},".b12-4-option-list .option":{"align-items":"center",border:"none","border-color":"transparent","border-radius":"","border-style":"solid","border-width":"0 0 0 3px",cursor:"pointer",display:"flex","font-size":"calc(var(--fld-fs) - 2px)",margin:"0 !important",padding:"8px 7px","text-align":"left",transition:""},".b12-4-option-list .option.selected-opt:focus-visible":{"background-color":"var(--global-accent-color)"},".b12-4-option-list .option:focus-visible":{"background-color":"var(--bg-10)",outline:"2px solid var(--global-accent-color)"},".b12-4-option-list .option:hover:not(.selected-opt)":{"background-color":"var(--bg-10)","border-color":"var(--global-accent-color)"},".b12-4-option-list .selected-opt":{"background-color":"hsla(var(--gah), var(--gas), var(--gal), 0.2)","border-color":"var(--global-accent-color)",color:"var(--global-accent-color)","font-weight":500},".b12-4-option-list .selected-opt .opt-suffix":{background:"hsla(var(--gah), var(--gas), var(--gal), .2)"},".b12-4-option-list::-webkit-scrollbar":{width:"8px"},".b12-4-option-list::-webkit-scrollbar-thumb":{"background-color":"var(--bg-15)","border-radius":"var(--g-bdr-rad)"},".b12-4-option-search-wrp":{margin:"5px",position:"relative"},".b12-4-option-wrp":{background:"var(--global-bg-color)","border-color":"","border-radius":"var(--g-bdr-rad)","border-style":"","border-width":"",display:"flex","flex-direction":"column",margin:"auto","max-height":"0px","min-height":"auto",overflow:"hidden",transition:"",width:"100%"},".b12-4-phone-fld-container":{display:"inline-block",height:"40px",position:"relative",width:"100%"},".b12-4-phone-fld-wrp":{"background-color":"","border-color":"","border-radius":"","border-style":"","border-width":"",color:"var(--global-font-color) !important",display:"flex","flex-direction":"column","font-size":"var(--fld-fs) !important",overflow:"",position:"absolute",transition:"box-shadow .2s",width:"100%","z-index":"1"},".b12-4-phone-fld-wrp.disabled .b12-4-phone-inner-wrp":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))",cursor:"not-allowed","pointer-events":"none"},".b12-4-phone-fld-wrp.disabled .b12-4-phone-number-input":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa)) !important",cursor:"not-allowed","pointer-events":"none"},".b12-4-phone-fld-wrp.menu-open":{"background-color":"","border-color":"","border-style":"","border-width":"","box-shadow":"","z-index":"999"},".b12-4-phone-fld-wrp.menu-open .b12-4-dpd-down-btn":{transform:"rotate(180deg)"},".b12-4-phone-fld-wrp.menu-open .b12-4-option-wrp":{"box-shadow":"0px 8px 12px hsla(var(--gah), var(--gas), 10%, .15), 0px 0px 1px #091e424f, 0 4px 11px var(--bg-5)",margin:"5px 0"},".b12-4-phone-fld-wrp.menu-open .b12-4-phone-inner-wrp":{"background-color":"var(--global-bg-color)","border-color":"var(--global-accent-color)!important"},".b12-4-phone-fld-wrp.readonly .b12-4-phone-inner-wrp":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))","pointer-events":"none"},".b12-4-phone-fld-wrp.readonly .b12-4-phone-number-input":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa)) !important",cursor:"not-allowed","pointer-events":"none"},".b12-4-phone-fld-wrp:focus-within:not(.menu-open):not(.disabled)":{"border-color":"var(--global-accent-color) !important","box-shadow":""},".b12-4-phone-fld-wrp:focus-within:not(.menu-open):not(.disabled) .b12-4-phone-inner-wrp":{"background-color":"var(--global-bg-color)","border-color":"var(--global-accent-color)!important"},".b12-4-phone-fld-wrp:hover:not(.menu-open):not(.disabled)":{"border-color":"var(--global-accent-color) !important"},".b12-4-phone-inner-wrp":{"background-color":"var(--global-fld-bg-color)","border-color":"var(--global-fld-bdr-clr) !important","border-radius":"var(--g-bdr-rad) !important","border-style":"var(--global-fld-bdr) !important","border-width":"var(--g-bdr-width) !important",display:"flex",height:"100%","min-height":"40px",position:"relative"},".b12-4-phone-number-input":{"background-color":"transparent","border-width":"0 !important",color:"var(--fld-inp-c) !important","font-family":"inherit","font-size":"var(--fld-fs) !important","font-style":"var(--fld-f-style) !important","font-weight":"var(--fld-f-w) !important","line-height":"1.4 !important",outline:"0",padding:"8px 26px 8px 8px !important",width:"calc(100% - 50px)"},".b12-4-phone-number-input::placeholder":{color:"hsla(var(--gfh), var(--gfs), var(--gfl), 40%) !important"},".b12-4-search-clear-btn":{background:"hsla(var(--gah), var(--gas), 20%, 100%) !important",border:"none","border-radius":"50% !important",color:"var(--bg-5)",cursor:"pointer",display:"none",height:"16px",margin:"0px","margin-right":"5px !important",outline:0,padding:"0px !important","place-content":"center",position:"absolute",right:"40px",top:"50%",transform:"translateY(-50%)",width:"16px"},".b12-4-search-clear-btn:focus-visible":{"box-shadow":"0 0 0 1.5px var(--global-accent-color)",outline:"none"},".b12-4-search-clear-btn:hover":{background:"hsla(var(--gah), var(--gas), 30%, 100%) !important","background-color":"var(--bg-60)!important"},".b12-4-selected-country-img":{"-webkit-user-select":"none","background-color":"var(--bg-10)","border-radius":"3px !important","box-shadow":"0 0 0 1px var(--bg-5)",height:"17px !important",margin:"0 10px 0 0","user-select":"none",width:"25px"},".b12-4-selected-country-lbl":{},".b12-4-selected-country-wrp":{"align-items":"center",display:"flex",height:"100%"}},fieldSize:"medium",fieldType:"phone-number",overrideGlobalTheme:[],theme:"atlassian"},"b12-5":{classes:{".b12-5-custom-opt-btn":{background:"transparent",border:"0.5px solid hsla(var(--gfbg-h), var(--gfbg-s), 70%, var(--gfbg-a)) ","border-radius":"5px",color:"var(--global-font-color)",cursor:"pointer",display:"none",height:"25px",margin:"0",outline:"0",padding:"5px","place-content":"center",right:"30px"},".b12-5-dpd-btn-wrp":{"align-items":"center",display:"flex"},".b12-5-dpd-down-btn":{display:"grid","place-content":"center",transition:"transform 0.2s",width:"15px"},".b12-5-dpd-fld-container":{display:"inline-block",height:"40px",position:"relative",width:"100%"},".b12-5-dpd-fld-wrp":{"background-color":"","border-color":"","border-radius":"","border-style":"","border-width":"",color:"var(--fld-inp-c) !important",display:"flex","flex-direction":"column","font-size":"var(--fld-fs) !important",overflow:"",position:"absolute",transition:"box-shadow 200ms",width:"100%"},".b12-5-dpd-fld-wrp .placeholder-img":{"background-color":"var(--bg-15)",outline:"1px solid var(--bg-10)"},".b12-5-dpd-fld-wrp.disabled .b12-5-dpd-wrp":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))",cursor:"not-allowed","pointer-events":"none"},".b12-5-dpd-fld-wrp.menu-open":{"background-color":"","border-color":"","box-shadow":"","z-index":"999"},".b12-5-dpd-fld-wrp.menu-open .b12-5-dpd-down-btn":{transform:"rotate(180deg)"},".b12-5-dpd-fld-wrp.menu-open .b12-5-dpd-wrp":{"background-color":"var(--global-bg-color)","border-color":"var(--global-accent-color)!important"},".b12-5-dpd-fld-wrp.menu-open .b12-5-option-wrp":{"box-shadow":"0px 8px 12px hsla(var(--gah), var(--gas), 10%, .15), 0px 0px 1px #091e424f, 0 4px 11px var(--bg-5)",margin:"5px 0"},".b12-5-dpd-fld-wrp.readonly .b12-5-dpd-wrp":{"background-color":"hsla(var(--gfbg-h), var(--gfbg-s), calc(var(--gfbg-l) + 20%), var(--gfbg-a))","border-color":"hsla(var(--gfbc-h), var(--gfbc-s), calc(var(--gfbc-l) + 20%), var(--gfbc-a))",color:"hsla(var(--gfh), var(--gfs), calc(var(--gfl) + 40%), var(--gfa))","pointer-events":"none"},".b12-5-dpd-fld-wrp:focus-within:not(.menu-open):not(.disabled)":{"border-color":"var(--global-accent-color)!important","box-shadow":""},".b12-5-dpd-fld-wrp:focus-within:not(.menu-open):not(.disabled) .b12-5-dpd-wrp":{"border-color":"var(--global-accent-color)!important"},".b12-5-dpd-fld-wrp:hover:not(.menu-open):not(.disabled)":{"border-color":"var(--global-accent-color)!important"},".b12-5-dpd-wrp":{"align-items":"center","background-color":"var(--global-fld-bg-color)","border-color":"var(--global-fld-bdr-clr) !important","border-radius":"var(--g-bdr-rad) !important","border-style":"var(--global-fld-bdr) !important","border-width":"var(--g-bdr-width) !important","box-sizing":"border-box",cursor:"pointer",display:"flex","font-weight":"500","justify-content":"space-between","min-height":"40px",outline:"none",overflow:"hidden",padding:"4px 10px",position:"relative"},".b12-5-err-inner":{overflow:"hidden"},".b12-5-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-5-err-txt":{display:"block"},".b12-5-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-5-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-5-icn":{position:"absolute",top:"50%",transform:"translateY(-50%)"},".b12-5-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-5-lbl":{"align-items":"center","background-color":"var(--fld-lbl-bg, none)","border-color":"var(--fld-lbl-bdr-clr, none)","border-radius":"var(--fld-lbl-bdr-rad, 0)","border-style":"var(--fld-lbl-bdr, medium)","border-width":"var(--fld-lbl-bdr-width, 0)","box-shadow":"var(--fld-lbl-sh, none)",color:"var(--fld-lbl-c, inherit)",display:"flex","font-size":"var(--fld-lbl-fs)","font-style":"var(--lbl-font-style)","font-weight":"var(--lbl-font-w)","justify-content":"var(--lbl-al, initial)",margin:"var(--fld-lbl-m, 0)",padding:"var(--fld-lbl-p, 0)",position:"var(--fld-lbl-pn,unset)",width:"100%"},".b12-5-lbl-wrp":{"align-self":"var(--lbl-wrp-sa, auto)","background-color":"var(--lbl-wrp-bg, none)","border-color":"var(--lbl-wrp-bdr-clr, none)","border-radius":"var(--lbl-wrp-bdr-rad, 0)","border-style":"var(--lbl-wrp-bdr, medium)","border-width":"var(--lbl-wrp-bdr-width, 0)","box-shadow":"var(--lbl-wrp-sh, none)",margin:"var(--lbl-wrp-m, 0)",padding:"var(--lbl-wrp-p, 0)",width:"var(--lbl-wrp-width, auto)"},".b12-5-opt-search-icn":{"border-left":"1px solid var(--bg-20)",height:"22px",left:"auto",padding:"2px",right:"5px",width:"30px"},".b12-5-opt-search-input":{"background-color":"var(--bg-5)",border:"none !important","border-radius":"var(--g-bdr-rad) !important","box-shadow":"none",color:"var(--global-font-color) !important","font-family":"inherit","font-size":"var(--fld-fs)",height:"35px",outline:"none",padding:"0px 58px 0 10px !important","padding-left":"","padding-right":"",width:"100%"},".b12-5-opt-search-input::-webkit-search-cancel-button":{display:"none"},".b12-5-opt-search-input::-webkit-search-decoration":{display:"none"},".b12-5-opt-search-input::-webkit-search-results-button":{display:"none"},".b12-5-opt-search-input::-webkit-search-results-decoration":{display:"none"},".b12-5-opt-search-input::placeholder":{color:"hsla(var(--gfh), var(--gfs), var(--gfl), 0.5)"},".b12-5-opt-search-input:focus":{"background-color":"var(--bg-0)","box-shadow":"0 0 0 2px var(--global-accent-color) inset"},".b12-5-opt-search-input:focus~svg":{color:"var(--global-accent-color)"},".b12-5-option-inner-wrp":{display:"flex","flex-direction":"column",overflow:"hidden"},".b12-5-option-list":{height:"100%",margin:"0 0 2px 0 !important","overflow-y":"auto",padding:"0","scrollbar-color":"var(--bg-15) transparent !important","scrollbar-width":"thin !important"},".b12-5-option-list .disable-on-max":{color:"var(--bg-10) !important",cursor:"not-allowed",opacity:"0.8","pointer-events":"none"},".b12-5-option-list .disabled-opt":{color:"var(--bg-10) !important",cursor:"not-allowed",opacity:"0.5","pointer-events":"none"},".b12-5-option-list .opt-group-child":{"padding-left":"15px !important"},".b12-5-option-list .opt-group-title":{cursor:"default","font-size":"calc(var(--fld-fs) - 2px)","font-weight":600,opacity:".7"},".b12-5-option-list .opt-icn":{"-webkit-user-select":"none","border-radius":"3px",height:"17px","margin-right":"5px","user-select":"none",width:"25px"},".b12-5-option-list .opt-lbl":{},".b12-5-option-list .opt-lbl-wrp":{"align-items":"center",display:"flex",gap:"5px"},".b12-5-option-list .opt-not-found":{"list-style":"none",margin:"5px","text-align":"center"},".b12-5-option-list .option":{"align-items":"center","border-color":"transparent","border-radius":"","border-style":"solid","border-width":"0 0 0 3px",cursor:"pointer",display:"flex","font-size":"calc(var(--fld-fs) - 2px)","justify-content":"space-between",margin:"0 !important",padding:"8px 7px","text-align":"left",transition:""},".b12-5-option-list .option:focus-visible":{"background-color":"var(--bg-10)",outline:"2px solid var(--global-accent-color)"},".b12-5-option-list .option:hover:not(.selected-opt):not(.opt-group-title)":{"background-color":"var(--bg-10)","border-color":"var(--global-accent-color)"},".b12-5-option-list .selected-opt":{"background-color":"hsla(var(--gah), var(--gas), var(--gal), 0.2)","border-color":"var(--global-accent-color)",color:"var(--global-accent-color)","font-weight":500},".b12-5-option-list .selected-opt:focus-visible":{"background-color":"var(--global-accent-color)"},".b12-5-option-list::-webkit-scrollbar":{width:"8px"},".b12-5-option-list::-webkit-scrollbar-thumb":{"background-color":"var(--bg-15)","border-radius":"var(--g-bdr-rad)"},".b12-5-option-list:not(.active-list)":{display:"none !important"},".b12-5-option-search-wrp":{margin:"5px",position:"relative"},".b12-5-option-wrp":{background:"var(--global-bg-color)","border-color":"","border-radius":"var(--g-bdr-rad)","border-style":"","border-width":"",display:"flex","flex-direction":"column",margin:"auto","max-height":"0px","min-height":"auto",overflow:"hidden",transition:"",width:"100%"},".b12-5-search-clear-btn":{background:"hsla(var(--gah), var(--gas), 20%, 100%) !important",border:"0","border-radius":"50% !important",color:"var(--bg-0)",cursor:"pointer",display:"none",height:"16px",margin:"0",outline:"0",padding:"0px !important","place-content":"center",right:"40px",width:"16px"},".b12-5-search-clear-btn:focus-visible":{"box-shadow":"0 0 0 2px var(--global-accent-color)",outline:"none"},".b12-5-search-clear-btn:hover":{background:"hsla(var(--gah), var(--gas), 30%, 100%) !important"},".b12-5-selected-opt-clear-btn":{background:"transparent !important",border:"0","border-radius":"50% !important",color:"var(--fld-inp-c) !important",cursor:"pointer",display:"none",height:"16px",margin:"0","margin-right":"5px",outline:"0",padding:"0px !important","place-content":"center",right:"6px",width:"16px"},".b12-5-selected-opt-clear-btn:focus-visible":{outline:"1.5px solid var(--global-accent-color)"},".b12-5-selected-opt-clear-btn:hover":{"background-color":"var(--bg-15) !important"},".b12-5-selected-opt-img":{"-webkit-user-select":"none","border-radius":"3px",height:"17px","user-select":"none",width:"25px"},".b12-5-selected-opt-lbl":{},".b12-5-selected-opt-lbl .chip-clear-btn":{"background-color":"transparent !important",border:"none","border-radius":"50%","box-shadow":"none",color:"var(--fld-inp-c) !important",cursor:"pointer",display:"grid",height:"17px",outline:"none",padding:"0px","place-content":"center",width:"17px"},".b12-5-selected-opt-lbl .chip-clear-btn:focus-visible":{outline:"1.5px solid var(--global-accent-color)"},".b12-5-selected-opt-lbl .chip-clear-btn:hover":{"background-color":"var(--bg-20) !important"},".b12-5-selected-opt-lbl .chip-icn":{height:"13px",width:"13px"},".b12-5-selected-opt-lbl .chip-lbl":{color:"var(--fld-inp-c)","font-size":"var(--fld-fs) !important","font-style":"var(--fld-f-style) !important","font-weight":"var(--fld-f-w) !important"},".b12-5-selected-opt-lbl .chip-wrp":{"align-items":"center","background-color":"var(--bg-10)","border-radius":"var(--g-bdr-rad)",display:"flex",gap:"5px",padding:"5px 8px"},".b12-5-selected-opt-lbl.multi-chip":{display:"flex","flex-wrap":"wrap",gap:"5px"},".b12-5-selected-opt-wrp":{"align-items":"center",display:"flex",gap:"10px",height:"100%"}},fieldSize:"medium",fieldType:"select",overrideGlobalTheme:[],theme:"atlassian"},"b12-6":{classes:{".b12-6-bx":{"align-items":"center","border-color":"hsla(var(--gfh), var(--gfs), var(--gfl), 0.3)","border-radius":"4px","border-style":"solid","border-width":"3px",display:"inline-flex","flex-shrink":0,height:"16px","justify-content":"center",margin:"0 10px 0 0",position:"relative",transition:"all 0.2s",width:"16px"},".b12-6-cc":{display:"flex","flex-wrap":"wrap"},".b12-6-ci":{opacity:"0 !important",position:"absolute"},".b12-6-ci:active ~ [data-cl] [data-bx]":{transform:"scale(0.9)"},".b12-6-ci:checked ~ [data-cl] [data-bx]":{background:"var(--global-accent-color) !important","border-color":"var(--global-accent-color) !important"},".b12-6-ci:checked ~ [data-cl] [data-ck-icn]":{"stroke-dashoffset":0},".b12-6-ci:disabled ~ [data-cl]":{cursor:"not-allowed",opacity:.6,"pointer-events":"none"},".b12-6-ci:focus ~ [data-cl] [data-bx]":{"box-shadow":""},".b12-6-ci:focus-visible ~ [data-cl] [data-bx]":{"box-shadow":"0 0 0 2px var(--global-fld-bg-color),0 0 0 4px var(--global-accent-color)"},".b12-6-ci:hover ~ [data-cl] [data-bx]":{"background-color":"var(--bg-5)","border-color":"hsla(var(--gfh), var(--gfs), var(--gfl), 0.4)"},".b12-6-ck-icn":{"stroke-dashoffset":"16px"},".b12-6-ck-svgline":{fill:"none",stroke:"white","stroke-dasharray":"16px","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2px"},".b12-6-cks":{height:0,"pointer-events":"none",position:"absolute","user-select":"none",width:0},".b12-6-cl":{"align-items":"center",color:"var(--global-font-color)",cursor:"pointer",display:"flex",padding:"3px"},".b12-6-ct":{"font-size":"23px","font-weight":"400","line-height":"initial"},".b12-6-cw":{},".b12-6-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-6-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-6-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-6-svgwrp":{filter:"drop-shadow(0px 1px 1px hsl(var(--gah), var(--gas), 13%))",height:"12px",width:"10px"}},fieldSize:"medium",fieldType:"decision-box",overrideGlobalTheme:["bx","ct"],theme:"atlassian"},"b12-7":{classes:{".b12-7-bx":{"align-items":"center","border-color":"hsla(var(--gfh), var(--gfs), var(--gfl), 0.3)","border-radius":"50%","border-style":"solid","border-width":"3px",display:"inline-flex","flex-shrink":0,height:"13px","justify-content":"center",margin:"0 10px 0 0",position:"relative",transition:"all 0.2s",width:"13px"},".b12-7-bx::before":{background:"white","border-radius":"50%","box-shadow":"0 1px 3px 0px grey",content:'""',height:0,left:"50%",position:"absolute",top:"50%",transform:"translate(-50%, -50%)",transition:"all 0.2s cubic-bezier(0.25, 0.1, 0.59, 1.82)",width:0},".b12-7-cc":{"column-gap":"10px",display:"grid","grid-row-gap":"10px","grid-template-columns":"repeat(3, 1fr)",width:"100%"},".b12-7-ci":{opacity:"0!important",position:"absolute"},".b12-7-ci:active ~ [data-cl] [data-bx]":{transform:"scale(0.9)"},".b12-7-ci:active:focus-visible ~ [data-cl] [data-bx]":{"outline-offset":0},".b12-7-ci:checked ~ [data-cl] [data-bx]":{background:"var(--global-accent-color) !important","border-color":"var(--global-accent-color) !important"},".b12-7-ci:checked ~ [data-cl] [data-bx]::before":{height:"50%",width:"50%"},".b12-7-ci:checked ~ [data-oinp-wrp]":{display:"block !important"},".b12-7-ci:disabled ~ [data-cl]":{cursor:"not-allowed",opacity:.6,"pointer-events":"none"},".b12-7-ci:focus ~ [data-cl] [data-bx]":{"box-shadow":""},".b12-7-ci:focus-visible ~ [data-cl] [data-bx]":{outline:"2px solid var(--global-accent-color)","outline-offset":"2px",transition:"outline-offset 0.2s ease"},".b12-7-ci:hover ~ [data-cl] [data-bx]":{"background-color":"var(--bg-5)","border-color":"hsla(var(--gfh), var(--gfs), var(--gfl), 0.4)"},".b12-7-cks":{height:0,"pointer-events":"none",position:"absolute","user-select":"none",width:0},".b12-7-cl":{"align-items":"center",color:"var(--fld-inp-c)",cursor:"pointer",display:"flex",padding:"5px"},".b12-7-ct":{"font-size":"var(--fld-fs)","font-style":"var(--fld-f-style)","font-weight":"var(--fld-f-w)"},".b12-7-cw":{},".b12-7-err-inner":{overflow:"hidden"},".b12-7-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-7-err-txt":{display:"block"},".b12-7-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-7-fld-wrp":{background:"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative",width:"var(--fld-wrp-width)"},".b12-7-inp-wrp":{width:"var(--inp-wrp-width, auto)"},".b12-7-lbl":{"align-items":"center","background-color":"var(--fld-lbl-bg, none)","border-color":"var(--fld-lbl-bdr-clr, none)","border-radius":"var(--fld-lbl-bdr-rad, 0)","border-style":"var(--fld-lbl-bdr, medium)","border-width":"var(--fld-lbl-bdr-width, 0)","box-shadow":"var(--fld-lbl-sh, none)",color:"var(--fld-lbl-c, inherit)",display:"flex","font-size":"var(--fld-lbl-fs)","font-style":"var(--lbl-font-style)","font-weight":"var(--lbl-font-w)","justify-content":"var(--lbl-al, initial)",margin:"var(--fld-lbl-m, 0)",padding:"var(--fld-lbl-p, 0)",position:"var(--fld-lbl-pn,unset)",width:"100%"},".b12-7-lbl-wrp":{"align-self":"var(--lbl-wrp-sa, auto)","background-color":"var(--lbl-wrp-bg, none)","border-color":"var(--lbl-wrp-bdr-clr, none)","border-radius":"var(--lbl-wrp-bdr-rad, 0)","border-style":"var(--lbl-wrp-bdr, medium)","border-width":"var(--lbl-wrp-bdr-width, 0)","box-shadow":"var(--lbl-wrp-sh, none)",margin:"var(--lbl-wrp-m, 0)",padding:"var(--lbl-wrp-p, 0)",width:"var(--lbl-wrp-width, auto)"},".b12-7-other-inp":{"background-color":"var(--global-fld-bg-color) !important","border-color":"var(--global-fld-bdr-clr) !important","border-radius":"var(--g-bdr-rad) !important","border-style":"var(--global-fld-bdr) !important","border-width":"var(--g-bdr-width) !important",color:"var(--fld-inp-c) !important",direction:"inherit !important",display:"inline-block !important","font-size":"var(--fld-fs) !important","font-style":"var(--fld-f-style) !important","font-weight":"var(--fld-f-w) !important",height:"40px","line-height":"1.4 !important",margin:"0px 0px 0px 33px",outline:"none !important",padding:"10px 8px !important",width:"calc(100% - 33px) !important"},".b12-7-other-inp-wrp":{display:"none"},".b12-7-other-inp:focus":{"border-color":"var(--global-accent-color) !important","box-shadow":"0 0 0 3px hsla(var(--gah), var(--gas), var(--gal), 0.30) !important"},".b12-7-other-inp:hover":{"border-color":"var(--global-accent-color) !important"}},fieldSize:"medium",fieldType:"radio",overrideGlobalTheme:[],theme:"atlassian"},"b12-8":{classes:{".b12-8-err-inner":{overflow:"hidden"},".b12-8-err-msg":{"align-items":"center","background-color":"var(--err-bg, none)","border-color":"var(--err-bdr-clr, none)","border-radius":"var(--err-bdr-rad, 0)","border-style":"var(--err-bdr, medium)","border-width":"var(--err-bdr-width, 0)","box-shadow":"var(--err-sh, none)",color:"var(--err-c, inherit)",display:"flex","font-size":"var(--err-txt-fs)","font-style":"var(--err-txt-font-style)","font-weight":"var(--err-txt-font-w)",height:"var(--err-h)",margin:"var(--err-m, 0)",padding:"var(--err-p, 0)","text-align":"var(--err-txt-al, init)"},".b12-8-err-txt":{display:"block"},".b12-8-err-wrp":{display:"grid","grid-template-rows":"0fr",transition:"all .3s"},".b12-8-fld-wrp":{"background-color":"var(--fld-wrp-bg, transparent)","border-color":"var(--fld-wrp-bdr-clr, none)","border-radius":"var(--fld-wrp-bdr-rad, 0)","border-style":"var(--fld-wrp-bdr, medium)","border-width":"var(--fld-wrp-bdr-width, 0)","box-shadow":"var(--fld-wrp-sh, none)",display:"var(--fld-wrp-dis, block)","flex-direction":"var(--fld-wrp-fdir, row)",margin:"var(--fld-wrp-m, 0)",padding:"var(--fld-wrp-p, 0)",position:"relative"},".b12-8-inp-wrp":{margin:"0px",position:"relative"},".b12-8-stripe-btn":{"align-items":"center",background:"var(--btn-bg)","border-color":"var(--btn-bdr-clr)","border-radius":"var(--btn-bdr-rad) !important","border-style":"var(--btn-bdr)","border-width":"var(--btn-bdr-width)","box-shadow":"var(--btn-sh)",color:"var(--btn-c)",cursor:"pointer",display:"flex","font-family":"inherit","font-size":"var(--btn-fs)!important","font-style":"var(--btn-f-style)","font-weight":"var(--btn-fw)","justify-content":"center","line-height":"1",margin:"var(--btn-m)",outline:"none",padding:"var(--btn-p)!important",transition:"",width:"100%"},".b12-8-stripe-btn:active":{transform:""},".b12-8-stripe-btn:active:focus-visible":{"outline-offset":0},".b12-8-stripe-btn:disabled":{background:"#7ca5e7",transform:"none"},".b12-8-stripe-btn:focus-visible":{outline:"2px solid var(--global-accent-color)","outline-offset":"2px",transition:"outline-offset 0.2s ease"},".b12-8-stripe-btn:hover":{"background-color":"hsl(var(--gah), var(--gas), calc(var(--gal) - 5%)) !important"},".b12-8-stripe-icn":{height:"18px",width:"18px"},".b12-8-stripe-wrp":{width:"100%"},".b12-8-stripe-wrp .StripeElement":{margin:"10px 0px"},".b12-8-stripe-wrp .stripe-pay-btn":{"align-items":"center",background:"var(--btn-bg)","border-color":"var(--btn-bdr-clr)","border-radius":"20px !important","border-style":"var(--btn-bdr)","border-width":"var(--btn-bdr-width)","box-shadow":"var(--btn-sh)",color:"var(--btn-c)",cursor:"pointer",display:"flex","font-family":"inherit","font-size":"var(--btn-fs)!important","font-style":"var(--btn-f-style)","font-weight":"var(--btn-fw)","justify-content":"center","line-height":"1","margin-top":"15px",outline:"none",padding:"var(--btn-p)!important",transition:"background-color 0.2s, transform 0.2s",width:"100%"},".b12-8-stripe-wrp .stripe-pay-btn:active":{transform:"scale(0.95)"},".b12-8-stripe-wrp .stripe-pay-btn:active:focus-visible":{"outline-offset":0},".b12-8-stripe-wrp .stripe-pay-btn:disabled":{background:"#7ca5e7",transform:"none"},".b12-8-stripe-wrp .stripe-pay-btn:focus-visible":{outline:"2px solid var(--global-accent-color)","outline-offset":"2px",transition:"outline-offset 0.2s ease"},".b12-8-stripe-wrp .stripe-pay-btn:hover":{"background-color":"hsl(var(--gah), var(--gas), calc(var(--gal) - 5%)) !important"}},fieldSize:"medium",fieldType:"stripe",overrideGlobalTheme:[],theme:"atlassian"},"b12-9":{classes:{".b12-9-fld-wrp":{"align-items":"center",background:"hsla(0, 100%, 98%, 100%)","background-image":"","background-position":"","background-repeat":"","background-size":"",display:"flex","flex-direction":"row","justify-content":"center",padding:"8px"},".b12-9-logo":{height:"50px",margin:"5px",width:"50px"},".b12-9-titl-wrp":{padding:"0px 5px"},".b12-9-title":{"align-items":"center",color:"var(--global-font-color) !important",display:"flex",margin:"5px","text-align":"center","word-break":"break-word"}},fieldSize:"medium",fieldType:"title",overrideGlobalTheme:["fld-wrp"],theme:"atlassian"}},fieldsSize:"medium",font:{fontStyle:[],fontType:"",fontURL:"",fontWeightVariants:[]},form:{"._frm-b12":{direction:"var(--dir)",padding:"0px"},"._frm-b12 p":{margin:"0"},"._frm-bg-b12":{background:"hsla(0, 0%, 100%, 100%)","background-image":"",border:"","border-color":"hsla(0, 100%, 97%, 100%)","border-style":"solid","border-width":"5px",padding:"0px"},"._frm-bg-b12 *":{"box-sizing":"border-box !important","font-family":"var(--g-font-family)"}},theme:"atlassian"},mdDarkStyles:{},mdLightStyles:{},smDarkStyles:{},smLightStyles:{}}},$o={name:"Constant Contact GDPR Form Template",theme:"bitformDefault",formInfo:{formName:"Constant Contact GDPR Form Template"},layouts:{lg:[{w:30,h:77,x:0,y:0,i:"fld_key-2",moved:!1,static:!1},{w:30,h:77,x:30,y:0,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:77,i:"fld_key-4",moved:!1,static:!1},{w:60,h:98,x:0,y:154,i:"fld_key-5",minW:9,moved:!1,static:!1,resizeHandles:["se","e"]},{w:60,h:28,x:0,y:252,i:"fld_key-6",moved:!1,static:!1},{w:60,h:38,x:0,y:280,i:"fld_key-7",moved:!1,static:!1},{w:60,h:28,x:0,y:318,i:"fld_key-8",moved:!1,static:!1},{w:60,h:38,x:0,y:346,i:"fld_key-9",moved:!1,static:!1},{w:60,h:54,x:0,y:384,i:"fld_key-1",moved:!1,static:!1}]},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1"},"fld_key-2":{typ:"text",lbl:"First Name",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-2"},"fld_key-3":{typ:"text",lbl:"Last Name",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-3"},"fld_key-4":{typ:"email",lbl:"Email",phHide:!1,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-4"},"fld_key-5":{typ:"textarea",lbl:"Message",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-5"},"fld_key-6":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"GDPR Agreement",titleHide:!1,subtitleHide:!0,titleTag:"h4",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-6"},"fld_key-7":{typ:"decision-box",adminLblHide:!0,lbl:'<p style="margin: 0;"><span style="font-size: 12pt;">I consent to having this website store my submitted information so they can respond to my inquiry.</span></p>',msg:{checked:"Accepted",unchecked:"Rejected"},valid:{req:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-7",adminLbl:"Decision box"},"fld_key-8":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"Newsletter",titleHide:!1,subtitleHide:!0,titleTag:"h4",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-8"},"fld_key-9":{typ:"decision-box",adminLbl:"Decision Box",adminLblHide:!0,lbl:`<p style="margin: 0;"><span style="color: rgba(0, 0, 0, 0.85); font-family: GeneralSans-Variable, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;">Yes, sign me up to the newsletter</span></p>`,msg:{checked:"Accepted",unchecked:"Rejected"},valid:{req:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-9"}}},xo={name:"Grade Book Form Template",theme:"bitformDefault",formInfo:{formName:"Grade Book Form Template"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1"},"fld_key-2":{typ:"text",phHide:!1,valid:{hideLbl:!1,req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-2",hlpTxtHide:!1,lbl:"Firstname"},"fld_key-3":{typ:"text",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-3",lbl:"Lastname"},"fld_key-4":{typ:"text",lbl:"Student ID",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-4"},"fld_key-5":{typ:"text",lbl:"Assignment name",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-5"},"fld_key-6":{typ:"html-select",lbl:"Status",opt:[{lbl:"--Select Option--",disabled:!0,check:!0},{lbl:"Late"},{lbl:"Complete"}],ph:"Select an option...",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-6"},"fld_key-7":{typ:"html-select",lbl:"Grade",opt:[{lbl:"A"},{lbl:"B"},{lbl:"C"},{lbl:"D"},{lbl:"F"}],ph:"Select an option...",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-7"},"fld_key-8":{typ:"textarea",lbl:"Comments",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-8"},"fld_key-9":{typ:"divider",adminLbl:"Divider",adminLblHide:!0,valid:{},divider:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-9"},"fld_key-10":{typ:"text",phHide:!1,valid:{req:!0,reqShow:!0,reqPos:"after",hideLbl:!1},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-10",hlpTxtHide:!1,lbl:"Firstname"},"fld_key-11":{typ:"text",phHide:!1,valid:{hideLbl:!1},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-11",hlpTxtHide:!1,lbl:"Lastname"},"fld_key-12":{typ:"email",lbl:"Email",phHide:!1,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-12"},"fld_key-13":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"Student Information",titleHide:!1,subtitleHide:!0,titleTag:"h4",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-13"},"fld_key-14":{typ:"title",adminLbl:"Title",adminLblHide:!0,titleImg:"",logoHide:!0,title:"Teacher Information",titleHide:!1,subtitleHide:!0,titleTag:"h4",subTitleTag:"h5",valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-14"}},layouts:{lg:[{w:60,h:28,x:0,y:0,i:"fld_key-13",moved:!1,static:!1},{w:30,h:77,x:0,y:28,i:"fld_key-2",moved:!1,static:!1},{w:30,h:77,x:30,y:28,i:"fld_key-3",moved:!1,static:!1},{w:60,h:77,x:0,y:105,i:"fld_key-4",moved:!1,static:!1},{w:60,h:77,x:0,y:182,i:"fld_key-5",moved:!1,static:!1},{w:60,h:77,x:0,y:259,i:"fld_key-6",moved:!1,static:!1},{w:60,h:77,x:0,y:336,i:"fld_key-7",moved:!1,static:!1},{w:60,h:98,x:0,y:413,i:"fld_key-8",minW:9,moved:!1,static:!1,resizeHandles:["se","e"]},{w:60,h:31,x:0,y:511,i:"fld_key-9",moved:!1,static:!1},{w:60,h:28,x:0,y:542,i:"fld_key-14",moved:!1,static:!1},{w:30,h:77,x:0,y:570,i:"fld_key-10",moved:!1,static:!1},{w:30,h:77,x:30,y:570,i:"fld_key-11",moved:!1,static:!1},{w:60,h:77,x:0,y:647,i:"fld_key-12",moved:!1,static:!1},{w:60,h:54,x:0,y:724,i:"fld_key-1",moved:!1,static:!1}]}},wo={name:"Login Form",theme:"bitformDefault",formInfo:{formName:"Login Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1",fulW:!0},"fld_key-2":{typ:"email",lbl:"Email",ph:"Enter your email",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-2",acHide:!0,ac:"email"},"fld_key-3":{typ:"password",lbl:"Password",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-3",ph:"Enter your password"},"fld_key-4":{typ:"decision-box",adminLbl:"Decision Box",adminLblHide:!0,lbl:'<p style="margin: 0;"><span style="font-size: 12pt;">Remember me</span></p>',msg:{checked:"Accepted",unchecked:"Rejected"},valid:{req:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-4"}},layouts:{lg:[{w:60,h:77,x:0,y:0,i:"fld_key-2"},{w:60,h:77,x:0,y:77,i:"fld_key-3"},{w:60,h:38,x:0,y:154,i:"fld_key-4"},{w:60,h:54,x:0,y:192,i:"fld_key-1"}],md:[],sm:[]}},ko={name:"Meeting Room Registration Form",theme:"bitformDefault",formInfo:{formName:"Meeting Room Registration Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1"},"fld_key-2":{typ:"section",lbl:"Name",layout:{autoHeight:1},valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-2"},"fld_key-3":{typ:"text",phHide:!1,valid:{hideLbl:!0},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-3",helperTxt:"Last",hlpTxtHide:!0},"fld_key-4":{typ:"text",phHide:!1,valid:{hideLbl:!0},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-4",helperTxt:"First",hlpTxtHide:!0},"fld_key-5":{typ:"email",lbl:"Email",phHide:!1,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-5"},"fld_key-6":{typ:"text",phHide:!1,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-6",lbl:"Department"},"fld_key-7":{typ:"radio",lbl:"Which room would you like to reserve?",round:!0,opt:[{lbl:"Option 1"},{lbl:"Option 2"},{lbl:"Option 3"}],valid:{req:!0,reqShow:!0,reqPos:"after"},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},optionCol:1,customClasses:{},customAttributes:{},fieldName:"fld_key-7"},"fld_key-8":{typ:"check",lbl:"Checkbox",opt:[{lbl:"8:00-9:00 am"},{lbl:"9:00-10:00 am"},{lbl:"10:00-11:00 am"},{lbl:"11:00-12:00 pm"},{lbl:"12:00-01:00 pm"},{lbl:"01:00-02:00 pm"},{lbl:"02:00-03:00 pm"},{lbl:"03:00-04:00 pm"},{lbl:"04:00-05:00 pm"}],valid:{},err:{},optionCol:1,customClasses:{},customAttributes:{},fieldName:"fld_key-8"},"fld_key-9":{typ:"textarea",lbl:"Questions or Comments",ph:"Placeholder...",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-9"}},layouts:{lg:[{w:60,h:121,x:0,y:0,i:"fld_key-2",moved:!1,static:!1},{w:60,h:77,x:0,y:121,i:"fld_key-5",moved:!1,static:!1},{w:60,h:77,x:0,y:198,i:"fld_key-6",moved:!1,static:!1},{w:60,h:131,x:0,y:275,i:"fld_key-7",moved:!1,static:!1},{w:60,h:329,x:0,y:406,i:"fld_key-8",moved:!1,static:!1},{w:60,h:98,x:0,y:735,i:"fld_key-9",minW:9,moved:!1,static:!1,resizeHandles:["se","e"]},{w:60,h:54,x:0,y:833,i:"fld_key-1",moved:!1,static:!1}],md:[],sm:[]},nestedLayouts:{"fld_key-2":{lg:[{w:30,h:76,x:0,y:0,i:"fld_key-4",moved:!1,static:!1},{w:30,h:76,x:30,y:0,i:"fld_key-3",moved:!1,static:!1}],md:[],sm:[]}}},So={name:"News Letter Form",theme:"bitformDefault",formInfo:{formName:"News Letter Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Subscribe",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1",fulW:!0},"fld_key-2":{typ:"email",ph:"Enter your email here",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{hideLbl:!0,req:!0,reqShow:!0,reqPos:"after"},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-2",acHide:!0,ac:"email"}},layouts:{lg:[{w:45,h:54,x:0,y:0,i:"fld_key-2"},{w:13,h:54,x:45,y:0,i:"fld_key-1"}],md:[],sm:[]}},Do={name:"Newsletter Signup Form",theme:"bitformDefault",formInfo:{formName:"Newsletter Signup Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fulW:!0},"fld_key-2":{typ:"text",lbl:"First Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"name",acHide:!0,ac:"name",ph:"John Doe"},"fld_key-3":{typ:"text",lbl:"Last Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"name",acHide:!0,ac:"name",ph:"John Doe"},"fld_key-4":{typ:"email",lbl:"Email",ph:"[email protected]",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqPos:"after",reqShow:!0},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"email",acHide:!0,ac:"email"}},layouts:{lg:[{w:30,h:77,x:0,y:0,i:"fld_key-2"},{w:30,h:77,x:30,y:0,i:"fld_key-3"},{w:60,h:77,x:0,y:77,i:"fld_key-4",minW:9},{w:6,h:54,x:0,y:154,i:"fld_key-1"}],md:[],sm:[]}},Co={name:"Repeater Field Test Form",theme:"bitformDefault",formInfo:{formName:"Repeater Field Test Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fieldName:"fld_key-1"},"fld_key-2":{typ:"repeater",lbl:"Repeater",layout:{autoHeight:1},valid:{},err:{},customClasses:{},customAttributes:{},addBtn:{show:!0,btnTyp:"button",btnSiz:"md",txt:"",icn:{pos:"",url:""}},addBtnPreIcn:"http://bitform.xyz/wp-content/plugins/bitform/static/repeater/plusicon.svg",removeBtn:{show:!0,btnTyp:"button",btnSiz:"md",txt:"",icn:{pos:"",url:""}},removeBtnPreIcn:"http://bitform.xyz/wp-content/plugins/bitform/static/repeater/minusicon.svg",addToEndBtn:{btnAlignment:"start",show:!1,btnTyp:"button",btnSiz:"md",txt:"Add New",icn:{pos:"",url:""}},addToEndBtnPreIcn:"http://bitform.xyz/wp-content/plugins/bitform/static/repeater/plusicon.svg",btnPosition:"row",btnAlignment:"center",btnView:"row",repeatDirecton:"column",fieldName:"fld_key-2"},"fld_key-3":{typ:"text",ph:"Placeholder...",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-3",lbl:"Name"},"fld_key-4":{typ:"number",lbl:"ID",ph:"e.g. 123",phHide:!0,valid:{},err:{invalid:{dflt:'<p style="margin:0">Number is invalid</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"fld_key-4"},"fld_key-5":{typ:"email",lbl:"Email",ph:"[email protected]",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"fld_key-5"}},layouts:{lg:[{w:60,h:77,x:0,y:0,i:"fld_key-5",moved:!1,static:!1},{w:60,h:122,x:0,y:77,i:"fld_key-2",moved:!1,static:!1},{w:60,h:54,x:0,y:199,i:"fld_key-1",moved:!1,static:!1}],md:[],sm:[]},nestedLayouts:{"fld_key-2":{lg:[{w:25,h:77,x:0,y:0,i:"fld_key-3",moved:!1,static:!1},{w:25,h:77,x:30,y:0,i:"fld_key-4",moved:!1,static:!1}],md:[],sm:[]}}},Oo={name:"SignUp Form",theme:"bitformDefault",formInfo:{formName:"SignUp Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fulW:!0},"fld_key-2":{typ:"text",ph:"Enter your firstname",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-2",lbl:"Firstname",acHide:!0,ac:"name"},"fld_key-3":{typ:"text",lbl:"Lastname",ph:"Enter your lastname",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-3",acHide:!0,ac:"name"},"fld_key-4":{typ:"email",lbl:"Email",ph:"[email protected]",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqPos:"after",reqShow:!0},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"email",acHide:!0,ac:"email"},"fld_key-5":{typ:"password",lbl:"Password",ph:"Placeholder...",phHide:!0,valid:{},err:{},customClasses:{},customAttributes:{},fieldName:"fld_key-5"}},layouts:{lg:[{w:30,h:77,x:0,y:0,i:"fld_key-2"},{w:30,h:77,x:30,y:0,i:"fld_key-3"},{w:60,h:77,x:0,y:77,i:"fld_key-4",minW:9},{w:60,h:77,x:0,y:154,i:"fld_key-5",minW:9},{w:60,h:54,x:0,y:231,i:"fld_key-1"}],md:[],sm:[]}},To={name:"Simple Contact Form",theme:"bitformDefault",formInfo:{formName:"Simple Contact Form"},fields:{"fld_key-1":{typ:"button",btnSiz:"md",btnTyp:"submit",txt:"Submit",icn:{pos:"",url:""},valid:{},customClasses:{},customAttributes:{},fulW:!0},"fld_key-2":{typ:"text",lbl:"First Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"name",acHide:!0,ac:"name",ph:"John Doe"},"fld_key-3":{typ:"text",lbl:"Last Name",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0}},customClasses:{},customAttributes:{},fieldName:"name",acHide:!0,ac:"name",ph:"John Doe"},"fld_key-4":{typ:"email",lbl:"Email",ph:"[email protected]",phHide:!0,pattern:"^[^$_bf_$s@]+@[^$_bf_$s@]+$_bf_$.[^$_bf_$s@]+$",valid:{req:!0,reqPos:"after",reqShow:!0},err:{invalid:{dflt:'<p style="margin:0">Please, Enter a valid email address.</p>',show:!0},req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Please enter your email.</p>'}},customClasses:{},customAttributes:{},fieldName:"email",acHide:!0,ac:"email"},"fld_key-5":{typ:"textarea",lbl:"Message",phHide:!0,valid:{req:!0,reqPos:"after",reqShow:!0},err:{req:{dflt:'<p style="margin:0">This field is required</p>',show:!0,custom:!0,msg:'<p style="margin:0">Message can not be empty.</p>'}},customClasses:{},customAttributes:{fld:[{key:"rows",value:"4"}]},fieldName:"textarea-44-3",ph:"Write your message..."}},layouts:{lg:[{w:30,h:77,x:0,y:0,i:"fld_key-2"},{w:30,h:77,x:30,y:0,i:"fld_key-3"},{w:60,h:98,x:0,y:154,i:"fld_key-4",minW:9},{w:60,h:145,x:0,y:154,i:"fld_key-5",minW:9},{w:60,h:50,x:0,y:252,i:"fld_key-1"}],md:[],sm:[]}},Po=r=>{switch(r){case"contact_form":case"contact_form_atlassian":return _o;case"newsletter_sing_up_form":case"newsletter_sing_up_form_atlassian":return Do;case"simple_contact_form":case"simple_contact_form_atlassian":return To;case"signup_form":case"signup_form_atlassian":return Oo;case"newsletter_form":case"newsletter_form_atlassian":return So;case"login_form":case"login_form_atlassian":return wo;case"meeting_room_reg":case"meeting_room_reg_atlassian":return ko;case"conference_reg_form":case"conference_reg_form_atlassian":return go;case"repeater_field_test_form":case"repeater_field_test_form_atlassian":return Co;case"grade_book_form":case"grade_book_form_atlassian":return xo;case"gdpf_form":case"gdpf_form_atlassian":return $o;case"academic_advisor_meeting_form":case"academic_advisor_meeting_form_atlassian":return ho;case"customer_complain_form":case"customer_complain_form_atlassian":return vo;case"disaster_relief_donation_form_atlassian":return yo;default:return Xi}};function jo(r,a,e){return new Promise((n,t)=>{let l={};const i=window.location.href.split("#")[0],d=Zi.find(m=>m.slug===r);if(!d){window.open(i,"_self");return}if(d!=null&&d.isPro&&!(e!=null&&e.isPro)){window.open(i,"_self");return}d!=null&&d.isPro&&(e!=null&&e.isPro)?Ze({templateSlug:r},"bitforms_get_form_template").then(m=>{if(m.success){if(l=JSON.parse(m.data),l.theme=(d==null?void 0:d.theme)||"bitformDefault",d!=null&&d.paymentType){const{fields:T}=l,g=d.paymentType.map(j=>j.toLowerCase());No(g,T)}l=hn(l,a,!1),n(l)}}).catch(m=>t(m)):(l=Po(r),l.theme=(d==null?void 0:d.theme)||"bitformDefault",l=hn(l,a),n(l))})}const No=(r,a)=>{const n=el(Hn).reduce((l,i)=>(l[i.type.toLowerCase()]=i.id,l),{});Object.keys(a).forEach(l=>{const i=a[l].typ.toLowerCase();r.includes(i)&&n[i]&&(a[l].payIntegID=n[i])})},vu={cond_type:"if",logics:[{field:"",logic:"",val:""},"or",{field:"",logic:"",val:""}],actions:{fields:[{field:"",action:"value"}],success:[{type:"successMsg",details:{id:'{"index":0}'}}]}},yu=()=>[{cond_type:"if",logics:[{field:"",logic:"",val:""}],actions:{success:[]}}],$u=r=>[{cond_type:"if",logics:[{field:"",logic:"",val:""}],actions:{fields:[{field:r,action:"show",val:""}],success:[]}},{cond_type:"else",actions:{fields:[{field:r,action:"hide",val:""}]}}];function hn(r,a,e=!0){const n={},{name:t,fields:l,layouts:i,conditions:d,confirmations:m,theme:T,additionalSettings:g,formInfo:j}=r,C=tl(l),k=Object.keys(C),$={};let q={},R,E;e?(R=gt(rl(),m||{}),E=[...d||[]]):(R=m,E=al(d,a)),k.forEach(_=>{const c=_.replace("fld_key",`b${a}`),v=de({},C[_]);v.fieldName=`${v.typ}-${c}`,$[c]=v});const L=`b${a}`,M=nl(i,/fld_key/,L);if(r!=null&&r.nestedLayouts){const _=r.nestedLayouts;il(_,/fld_key/,L),Object.keys(_).forEach(c=>{const v=_[c].lg;n[c]={lg:v,md:v,sm:v}})}const w=Object.entries($);let{themeColors:s,themeVars:y,styles:P}=ll(T,w,a);if(r!=null&&r.themeColors&&(s=gt(s,r.themeColors)),r!=null&&r.themeVars&&(y=gt(y,r.themeVars)),r!=null&&r.styles){const _=ol(r==null?void 0:r.styles,a);P=gt(P,_)}Array.isArray(i)&&(P.lgLightStyles.form=gt(P.lgLightStyles.form,sl({formID:a,themeSlug:P.lgLightStyles.theme})),q=dl(a));const O=Qe(de({},j||{formName:t}),{submissionSettings:de({discardHiddenFieldValues:!0},(j==null?void 0:j.submissionSettings)||{})});return{name:t,fields:$,layouts:M,confirmations:R,conditions:E,allThemeColors:s,allThemeVars:y,allStyles:P,additionalSettings:g,nestedLayouts:n,formInfo:O,staticStyles:q}}function Mo({size:r,stroke:a=2,className:e=""}){return o.jsxs("svg",{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:a,className:e,children:[o.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),o.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function Ro(){const{css:r}=lt(),{formID:a}=Dt(),e=xe(ct),[n,t]=Ye(Bn),l=()=>{const i=`${e.siteURL}/?bitform-form-view=${a}`;if(!n||n.closed){const d=window.open(i,"_blank");d&&t(d);return}try{n.location.href.includes(`bitform-form-view=${a}`)||(n.location.href=i),n.focus(),n.location.reload(!0)}catch(d){const m=window.open(i,"_blank");t(m)}};return o.jsxs(St,{type:"button",title:D("Preview Form"),"aria-label":"Preview Form",onClick:l,variant:"secondary-outline",className:r({h:42}),children:[o.jsx(Mo,{size:18,className:r(kt.mr1)}),o.jsx("span",{children:D("Preview")})]})}function Eo({size:r,stroke:a=2,classNames:e}){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,className:e,viewBox:"0 0 20 20",children:o.jsx("path",{strokeWidth:a,fill:"currentColor",d:"M6 14H4V6h2V4H2v12h4zm1.1 3h2.1l3.7-14h-2.1zM14 4v2h2v8h-2v2h4V4z"})})}function xa({id:r,className:a,cls:e,value:n,inpWidth:t=100,readOnly:l=!0,copyOnInputClick:i=!1,title:d=""}){const{css:m}=lt(),T=B.useRef(null),g=()=>navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(n):(T.current.focus(),T.current.select(),new Promise((C,k)=>{document.execCommand("copy")?C():k()})),j=()=>{g().then(()=>_t.success(D("Copied on clipboard."))).catch(()=>_t.error(D("Failed to Copy, Try Again.")))};return o.jsxs("div",{className:`${m(wa.wrapper)} ${a}`,title:d,children:[o.jsx("input",{"aria-label":"Copy field key",ref:T,style:{width:parseInt(t,10)},className:`${m(wa.input)} ${e}`,id:"text-copy",type:"text",value:n,readOnly:l,onClick:i?j:void 0}),o.jsx(ar,{msg:"Copy",children:o.jsx("button",{"data-testid":`${r}-col-cpy-btn`,onClick:j,className:`${m(wa.btn)}`,type:"button","aria-label":"Copy field key",children:o.jsx(Un,{w:"20"})})})]})}const wa={wrapper:{pn:"relative",b:"1px solid var(--bf-stroke-clr) !important",brs:"var(--bf-bdr-radius-sm) !important"},input:{oe:"none",b:"none !important",bd:"var(--bf-bg-white) !important",p:"2px 40px 2px 10px !important",lh:"1 !important",fw:"500 !important",bs:"none !important",":focus-visible":{bs:"0 0 0 2px var(--bf-tertiary) !important"},h:"inherit"},btn:{pn:"absolute !important",b:"none",bl:"1px solid var(--bf-stroke-clr) !important",oe:"none",bd:"var(--bf-bg-offwhite)",tp:"50%",tm:"translateY(-50%)",rt:0,cur:"pointer",tn:"color 0.2s",cr:"var(--white-0-61)",flx:"center-between",brs:"0 var(--bf-bdr-radius-sm) var(--bf-bdr-radius-sm) 0",h:"calc(100% - 2px)","&:hover":{cr:"var(--b-50)"}}};function Ba(j){var C=j,{children:r,instance:a=null,width:e="auto",place:n="bottom",onShow:t,onHide:l,arrow:i=!0,trigger:d="click",offset:m=[0,10],hideOnClick:T=!0}=C,g=on(C,["children","instance","width","place","onShow","onHide","arrow","trigger","offset","hideOnClick"]);return o.jsx(Xl,Qe(de(Qe(de(de({ref:a,inertia:!0,trigger:d,placement:n,duration:350,interactiveBorder:20},t&&{onShow:t}),l&&{onHide:l}),{theme:"light-border",animation:"shift-away-extreme",interactive:!0,maxWidth:e,offset:m,arrow:i&&Zl,content:r[1],hideOnClick:T}),g),{children:o.jsx("span",{children:r[0]})}))}function Io(){const{css:r}=lt(),{formID:a}=Dt(),e=xe(Ea),{conversationalSettings:n={}}=e;return n.enable?o.jsxs(Ba,{children:[o.jsxs(St,{type:"button",variant:"secondary-outline",className:r(Lt.publishBtn),children:[D("Embed"),o.jsx(Eo,{size:20,stroke:1,classNames:r({ml:5})})]}),o.jsxs("div",{className:r(Lt.downmenu),children:[o.jsxs("div",{children:[o.jsx("div",{className:r(Lt.title),children:"Shortcode"}),o.jsx(xa,{cls:r(Lt.downmenuinput),value:`[bitform id='${a}']`})]}),n.enable&&o.jsxs("div",{children:[o.jsx("div",{className:r(Lt.title),children:"Conversational Form Shortcode"}),o.jsx(xa,{cls:r(Lt.downmenuinput),value:`[bitform id='${a}' type='conversational']`})]})]})]}):o.jsx("div",{className:r(Lt.shorcodeWrapper),children:o.jsx(xa,{cls:r(Lt.shorcodeInput),inpWidth:150,value:`[bitform id='${a}']`,copyOnInputClick:!0,title:D("Copy Shortcode")})})}const Lt={title:{fs:14,mb:5,fw:600},publishBtn:{bd:"none",px:15,py:7,oe:"none",h:42,b:"var(--bf-bdr-width) solid var(--bf-stroke-clr) !important",cr:"var(--bf-text-clr-darkgray)",flx:"align-center",fw:"500 !important",tn:"background 0.2s",my:5,mr:10,brs:"var(--bf-bdr-radius-sm)",curp:1,":hover":{bd:"var(--b-35-33)",cr:"var(--white-100)"}},shorcodeWrapper:{mr:10},shorcodeInput:{w:"100%",mnh:"42px !important",h:42,fw:"var(--bf-font-normal) !important",bd:"var(--bf-bg-white) !important",cr:"var(--bf-text-clr-darkgray) !important"},downmenu:{w:260,px:5,py:8,dy:"flex",fd:"column",gp:10},downmenuinput:{w:"calc(100% - 2px) !important",fs:12}};function Qr(r){const a=Dt(),e=Object.keys(r);let n=!0;return e.forEach(t=>{r[t]!=="?"&&t!=="render"&&a[t]!==r[t]&&(r[t]===!0&&a[t]===void 0||r[t]!==!0)&&(n=!1)}),n&&r.render}const gn="bit-form-config",_n=0,Fo=8,vn=28,Ao=450,_i=225,Lo=400,yn={leftPanelCollapsed:!1,rightPanelCollapsed:!1,leftPanelWidth:Ao,leftPanelWidthOnStyleMode:_i,rightPanelWidth:Lo},qo=()=>{const[r,a]=B.useState(()=>{try{const C=localStorage.getItem(gn);if(C){const k=JSON.parse(C);return k.toolbarOff!==void 0&&(k.leftPanelCollapsed=k.toolbarOff),de(de({},yn),k)}}catch(C){}return yn},[]),e=B.useCallback(C=>{a(k=>{const $=de(de({},k),C);try{localStorage.setItem(gn,JSON.stringify($))}catch(q){}return $})},[]),n=B.useCallback(()=>{e({leftPanelCollapsed:!r.leftPanelCollapsed})},[r.leftPanelCollapsed,e]),t=B.useCallback(()=>{e({rightPanelCollapsed:!r.rightPanelCollapsed})},[r.rightPanelCollapsed,e]),l=B.useCallback((C,k=!1)=>{e(k?{leftPanelWidthOnStyleMode:C}:{leftPanelWidth:C})},[e]),i=B.useCallback(C=>{e({rightPanelWidth:C})},[e]),d=B.useCallback((C=!1,k=window.innerWidth)=>r.leftPanelCollapsed?_n:C&&r.leftPanelWidthOnStyleMode!==void 0?r.leftPanelWidthOnStyleMode:k<1200?r.leftPanelWidthOnStyleMode||_i:r.leftPanelWidth,[r.leftPanelCollapsed,r.leftPanelWidth]),m=B.useCallback((C=!1,k=window.innerWidth)=>C?r.rightPanelCollapsed?_n:r.rightPanelWidth:0,[r.rightPanelCollapsed,r.rightPanelWidth]),T=B.useCallback(({referenceWidth:C,leftWidth:k,rightWidth:$,splitBarWidth:q=Fo,gridPadding:R=vn,styleMode:E=!1})=>{const L=q*2,M=R*2;return C-k-$-L-M},[]),g=B.useCallback((C=window.innerWidth,k=!1)=>T({referenceWidth:C,leftWidth:d(k,C),rightWidth:m(k,C),styleMode:k}),[T,d,m]),j=B.useCallback((C=window.innerWidth,k=!1)=>{const $=d(k,C),q=m(k,C);return C-$-q},[g]);return{config:r,GRID_PADDING:vn,updateConfig:e,toggleLeftPanel:n,toggleRightPanel:t,setLeftPanelWidth:l,setRightPanelWidth:i,getLeftPanelWidth:d,getRightPanelWidth:m,calculateGridWidth:T,getCenterWidth:j,getCalculatedGridWidth:g,isLeftCollapsed:r.leftPanelCollapsed,isRightCollapsed:r.rightPanelCollapsed}};function zo({value:r,onChange:a,onSelect:e,optionList:n,currentSelectedValue:t,mainPlaceherText:l=D("Please write form name"),searchPlaceholder:i=D("Search forms here..."),onSearch:d,noSearchResultsText:m=D("No forms found"),classNames:T=""}){const{css:g}=lt(),[j,C]=B.useState(!1),[k,$]=B.useState(""),[q,R]=B.useState(-1),E=B.useRef(null),L=B.useRef(null),M=B.useRef(null),w=n.filter(S=>S.label.toLowerCase().includes(k.toLowerCase()));B.useEffect(()=>{const S=_=>{E.current&&!E.current.contains(_.target)&&C(!1)};if(j)return document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}},[j]),B.useEffect(()=>{j&&L.current&&L.current.focus()},[j]),B.useEffect(()=>(M.current&&clearTimeout(M.current),d&&k&&(M.current=setTimeout(()=>{d(k)},300)),()=>{M.current&&clearTimeout(M.current)}),[k,d]);const s=()=>{C(!j),R(-1)},y=S=>{e(S.value),C(!1),$(""),R(-1)},P=S=>{if(!j){(S.key==="ArrowDown"||S.key==="Enter")&&(S.preventDefault(),C(!0));return}switch(S.key){case"ArrowDown":S.preventDefault(),R(_=>_<w.length-1?_+1:_);break;case"ArrowUp":S.preventDefault(),R(_=>_>0?_-1:-1);break;case"Enter":S.preventDefault(),q>=0&&w[q]&&y(w[q]);break;case"Escape":S.preventDefault(),C(!1),$(""),R(-1);break}},O=S=>{switch(S.key){case"ArrowDown":S.preventDefault(),R(_=>_<w.length-1?_+1:0);break;case"ArrowUp":S.preventDefault(),R(_=>_>0?_-1:w.length-1);break;case"Enter":S.preventDefault(),q>=0&&w[q]&&y(w[q]);break;case"Tab":w.length>0&&(S.preventDefault(),S.shiftKey?R(_=>_>0?_-1:w.length-1):R(_=>_<w.length-1?_+1:0));break;case"Escape":S.preventDefault(),C(!1),$(""),R(-1);break}};return o.jsxs("div",{className:`${g(dt.container)} ${T} editable-select-container`,ref:E,children:[o.jsxs("div",{className:`${g(dt.inputWrapper)} input-wrapper`,children:[o.jsx("input",{type:"text",value:r,title:r,onChange:S=>a(S.target.value),onKeyDown:P,className:`${g(dt.mainInput)} main-input`,"aria-label":"Form name",placeholder:l,"aria-expanded":j,"aria-haspopup":"listbox","aria-controls":"form-switcher-listbox"}),o.jsx("div",{className:`${g(dt.toggleButtonWrapper)} toggle-button-wrapper`,children:o.jsx("button",{type:"button",onClick:s,className:`${g(dt.toggleButton)} toggle-button`,"aria-label":j?"Close form list":"Open form list","aria-expanded":j,children:o.jsx(eo,{size:16,className:g(dt.chevronIcon,...j?[dt.chevronIconOpen]:[])})})})]}),j&&o.jsxs("div",{className:`${g(dt.dropdown)} dropdown`,id:"form-switcher-listbox",role:"listbox",children:[o.jsxs("div",{className:`${g(dt.searchWrapper)} search-wrapper`,children:[o.jsx("input",{ref:L,type:"text",value:k,onChange:S=>$(S.target.value),onKeyDown:O,placeholder:i,className:`${g(dt.searchInput)} search-input`,"aria-label":"Search forms"}),o.jsx(cl,{size:16,className:g(dt.searchIcon)})]}),o.jsx("div",{className:`${g(dt.optionsList)} options-list`,children:w.length>0?w.map((S,_)=>{const c=S.value===t,v=q===_;return o.jsxs("div",{role:"option","aria-selected":v||c,className:`${g(dt.option,...v?[dt.optionHighlighted]:[],...c?[dt.optionSelected]:[])} option`,onClick:()=>y(S),onMouseEnter:()=>R(_),children:[o.jsx("span",{children:S.label}),c&&o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:g(dt.checkIcon),children:o.jsx("path",{d:"M13.3332 4L5.99984 11.3333L2.6665 8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]},S.value)}):o.jsxs("div",{className:g(dt.noResults),children:[" ",m]})})]})]})}const dt={container:{position:"relative",display:"inline-block",width:"100%",border:"1px solid var(--bf-stroke-clr) !important",brs:"var(--bf-bdr-radius-sm) !important",":focus-within":{bcr:"var(--bf-tertiary) !important"}},inputWrapper:{position:"relative",display:"flex",alignItems:"center"},mainInput:{width:"calc(100% - 32px)",padding:"5px 10px !important",fontSize:"16px",fontWeight:"400",color:"var(--bf-text-clr-dark) !important",backgroundColor:"transparent",b:"none !important",outline:"none",brs:"var(--bf-bdr-radius-sm) !important",transition:"background-color 0.2s ease",":hover":{backgroundColor:"var(--bf-bg-hover, rgba(0, 0, 0, 0.02))"},":focus":{bcr:"var(--bf-tertiary) !important"},"::placeholder":{color:"var(--bf-text-clr-secondary) !important",opacity:".7"},textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},toggleButtonWrapper:{display:"flex",alignItems:"center",justifyContent:"center",w:"32px",bl:"1px solid var(--bf-stroke-clr)"},toggleButton:{display:"flex",alignItems:"center",justifyContent:"center",width:"24px",height:"24px",p:"0",backgroundColor:"transparent",b:"none",brs:"var(--bf-bdr-radius-sm) !important",cursor:"pointer",transition:"background-color 0.2s ease",":hover":{backgroundColor:"var(--bf-bg-hover, rgba(0, 0, 0, 0.1))"},":focus":{outline:"2px solid var(--bf-tertiary, #0066ff)",outlineOffset:"2px"}},chevronIcon:{transition:"transform 0.2s ease",color:"var(--bf-font-secondary, #6b7280)"},chevronIconOpen:{transform:"rotate(180deg) !important"},dropdown:{position:"absolute",top:"calc(100% + 4px)",left:"0",zIndex:"1000",width:"100%",minWidth:"250px",maxWidth:"400px",backgroundColor:"#fff",border:"1px solid var(--bf-border, #e5e7eb)",borderRadius:"var(--bf-bdr-radius-md)",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",overflow:"hidden"},searchWrapper:{position:"relative",padding:"8px",borderBottom:"1px solid var(--bf-stroke-clr, #e5e7eb)"},searchInput:{width:"100%",padding:"8px 22px 8px 10px !important",fontSize:"14px",color:"var(--bf-font-primary)",backgroundColor:"var(--bf-bg-offwhite, #f9fafb)",border:"1px solid var(--bf-stroke-clr, #e5e7eb) !important",borderRadius:"6px",outline:"none",lineHeight:"1 !important",transition:"border-color 0.2s ease",":focus":{borderColor:"var(--bf-tertiary, #0066ff) !important"}},searchIcon:{position:"absolute",right:"12px",top:"50%",transform:"translateY(-50%)",color:"var(--bf-font-secondary, #6b7280)"},optionsList:{maxHeight:"300px",overflowY:"auto",overflowX:"hidden",padding:"4px"},option:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 12px",fontSize:"14px",color:"var(--bf-font-primary)",cursor:"pointer",borderRadius:"6px",transition:"background-color 0.15s ease",":hover":{backgroundColor:"var(--bf-bg-hover, #f3f4f6)"}},optionHighlighted:{backgroundColor:"var(--bf-bg-hover, #f3f4f6)"},optionSelected:{backgroundColor:"var(--bf-bg-selected, #e0f2fe)",fontWeight:"500",":hover":{backgroundColor:"var(--bf-bg-selected-hover, #bae6fd)"}},checkIcon:{color:"var(--bf-primary, #0066ff)",flexShrink:"0"},noResults:{padding:"12px",fontSize:"14px",color:"var(--bf-font-secondary, #6b7280)",textAlign:"center"}},qt=(n,...t)=>bt(null,[n,...t],function*(r,a={},e=null){try{const l=yield Ze(a,r,null,e);if(!l.success)throw new Error(l.data||"Request failed");return l.data}catch(l){throw l}}),Wo={getCustomThemes(){return bt(this,null,function*(){return qt("bitform_get_custom_themes")})},saveTheme(r){return bt(this,null,function*(){return qt("bitform_save_custom_theme",r)})},deleteTheme(r){return bt(this,null,function*(){return qt("bitform_delete_custom_theme",{theme_slug:r})})},duplicateTheme(r,a){return bt(this,null,function*(){return qt("bitform_duplicate_theme",{source_slug:r,new_name:a})})},setDefaultTheme(r){return bt(this,null,function*(){return qt("bitform_set_default_theme",{theme_slug:r})})},renameTheme(r,a){return bt(this,null,function*(){return qt("bitform_rename_theme",{theme_slug:r,new_name:a})})},exportTheme(r){return bt(this,null,function*(){const a=yield qt("bitform_export_theme",{theme_slug:r}),e=new Blob([a.json],{type:"application/json"}),n=URL.createObjectURL(e),t=document.createElement("a");return t.href=n,t.download=`${r}-theme.json`,document.body.appendChild(t),t.click(),document.body.removeChild(t),URL.revokeObjectURL(n),a})},importTheme(r,a=null){return bt(this,null,function*(){return qt("bitform_import_theme",{json_data:r,new_name:a})})}},mt={btct_bld_nav:{flx:"center-between",bd:"var(--bf-bg-white)",pn:"fixed",h:"var(--bf-nav-height)",w:"100%",zx:999,inset:0,bb:"1px solid var(--bf-stroke-clr)"},builder_routes:{mt:"var(--bf-nav-height)",pn:"relative"},btcd_bld_title:{flx:"align-center"},nav_back_icn:{se:42,flx:"center",ow:"hidden",py:4,cr:"var(--bf-secondary-500)",pr:15,pl:25,mx:5,brs:"var(--bf-bdr-radius-sm)",":hover":{cr:"var(--bf-white-100)",bd:"var(--bf-bg-tertiary)"}},nav_menu_wrapper:{"& .tabs":{grayBorder:"1px",h:42}},bit_icn:{flx:"center",se:"2.625rem",b:"var(--bf-bdr-width-xs) solid var(--bf-bdr-clr-light)",brs:"var(--bf-bdr-radius-lg)",ow:"hidden",curp:1,"& img":{w:"100%"}},btcd_form_title_inp:{tn:"background 0.3s !important",w:"250px !important",ml:8,"& .main-input":{h:42,"&:focus":{bs:"none"}},"& .toggle-button-wrapper":{h:42}},btcd_bld_lnk:{w:"auto"},btcd_bld_btn:{flx:"align-center",jc:"end"},cls_btn:{cr:"var(--bf-secondary-500)",se:30,mr:15,flx:"center",p:0,ta:"center",tn:"color 0.5s !important","&:hover":{cr:"var(--red-100-61) !important"}},btn:{fw:500,oe:"none",cr:"var(--b-63-18-67)",brs:"var(--bf-bdr-radius-sm) !important",b:"1px solid var(--g-89-7)",td:"none",my:5,mx:10,py:7,px:15,pn:"relative",fs:14,curp:1,flx:"align-center",w:"auto","&:disabled":{bd:"var(--b-100-50-5) !important"}},visDisable:{bd:"var(--bf-primary) !important",cr:"var(--bf-white-100) !important",b:"none",fw:600}},Ho=r=>{const a={},e=Object.entries(r||{});for(let n=0;n<e.length;n+=1){const[t,l]=e[n],i=l==null?void 0:l.fieldName;if(i&&!(l!=null&&l.parentFieldKey)){if(a[i])return{name:i,keys:[a[i],t]};a[i]=t}}return null};function Bo({componentMounted:r,modal:a,setModal:e}){const n=Ia(),{page:t,formType:l,formID:i,"*":d}=Dt(),m=xe(oa),{css:T}=lt(),[g,j]=B.useState(l==="edit"?`${D("Update Form")}`:`${D("Save Form")}`),[C,k]=B.useState(l==="edit"?i:0),[$,q]=B.useState(!1),R=Me(fl),[E,L]=Ye(ni),[M,w]=Ye(sr),s=xe(Ea),{formName:y,multiStepSettings:P}=s,O=xe(Yn),S=Me(Fa),_=Me(ul),c=Me(lr),v=Vn(Nr),p=Me(Er),A=xe(Ir),[F,G]=Ye(sa),[H,K]=Ye(ii),[ne,f]=Ye(La),[x]=Ye(Nr),[b,u]=Ye(li),[N,h]=Ye(da),[I,W]=Ye(oi),[Y,U]=Ye(si),[Z]=Ye(di),fe=xe(pl),[be,_e]=Ye(Tl),[ee,ve]=Ye(qa),ge=xe(Gn),Oe=Me(Kn),Ve=Me(Qn),it=Me(Jn),J=Me(bl),te=xe(Xn),le=xe(Zn),me=xe(ei),ce=xe(ti),V=xe(ri),oe=xe(ml),se=xe(Bn),{staticStyles:Pe}=le,Le=Object.values(M).some(ae=>{var ie,Q;return ae.typ==="address"&&(((ie=ae.config)==null?void 0:ie.autocomplete)==="google"||((Q=ae.config)==null?void 0:Q.autocomplete)==="mapbox")}),{keys:Be}=to(Le);B.useEffect(()=>{var ae,ie;if((ae=N[N.length-1])!=null&&ae.newItegration||(ie=N[N.length-1])!=null&&ie.editItegration){const Q=rr(N,ke=>{ke.pop()});h(Q),De("integrations",Q)}},[N]),B.useEffect(()=>{var ae;if((ae=H[H.length-1])!=null&&ae.updateTem){const ie=rr(H,Q=>{Q.pop()});K(ie),De("email-template",ie)}},[H]),B.useEffect(()=>{var ae;if((ae=ne[ne.length-1])!=null&&ae.updateTem){const ie=rr(ne,Q=>{Q.pop()});f(ie),De("pdf-template",ie)}},[ne]);const We=ae=>{if((ae.key==="s"||ae.key==="S")&&ae.ctrlKey)return ae.preventDefault(),!x.disabled&&!$&&ye(),!1},Ue=ae=>{if(x.unsaved){const ie=ae;return ie.preventDefault(),ie.returnValue="Are you sure you want to exit?",ie.returnValue}};B.useEffect(()=>{var ie;document.addEventListener("keydown",We);const ae=(ie=document.getElementById("bit-grid-layout"))==null?void 0:ie.contentDocument;return ae==null||ae.addEventListener("keydown",We),window.addEventListener("beforeunload",Ue),()=>{document.removeEventListener("keydown",We),ae==null||ae.removeEventListener("keydown",We),window.removeEventListener("beforeunload",Ue)}},[]),B.useEffect(()=>{l==="edit"&&i&&(k(i),j(D("Update Form")))},[i,l]);const z=()=>{if(x.errors){const ae=x.errors[x.errors.length-1];if(ae.errorMsg?_t.error(ae.errorMsg):_t.error(D("Please fix the errors")),ae.errorUrl){const ie=Cl();n(`${ie}/${ae.errorUrl}`)}return ae.fieldKey&&(J(ae.fieldKey),setTimeout(()=>{var ie;(ie=Ol(`[data-key="${ae.fieldKey}"]`))==null||ie.focus()},500)),!0}return!1},ye=ae=>{const ie=Ta("#secondary-update-btn");if(V.styleMode&&Dl(),ie)ie.click();else if(ae==="update-btn"){if(z())return;De()}else Ta("#update-btn").click()};B.useEffect(()=>{x.unsaved&&$&&q(!1)},[x]);const we=()=>{const ae=Object.values(M).filter(Q=>Q.typ==="button"&&Q.btnTyp==="submit");return(M?Object.values(M).filter(Q=>Aa.includes(Q.typ)):[]).length>0||ae.length>0},De=(ae,ie)=>bt(null,null,function*(){C&&q(!0),setTimeout(()=>{let Q=H,ke=ne,je=I,Ne=N;if(ae==="email-template"?Q=ie:ae==="pdf-template"?ke=ie:ae==="additional"?je=ie:ae==="integrations"&&(Ne=ie),!we()){const Se=de({},a);Se.show=!0,Se.title=D("Sorry"),Se.btnTxt=D("Close"),Se.msg=D("Please add a submit button"),Se.cancelBtn=!1,e(Se),q(!1);return}const $e=Ho(M);if($e){const Se=de({},a);Se.show=!0,Se.title=D("Duplicate field name"),Se.btnTxt=D("Close"),Se.msg=`${D("These fields share the name attribute")} "${$e.name}": ${$e.keys.join(", ")}. ${D("Give each one its own name in Field Settings → Advanced → Name Attribute.")}`,Se.cancelBtn=!1,e(Se),q(!1);return}if(Object.values(M).some(Se=>Se.typ==="address"&&ro(Se.config,Be))){R({show:!0,fieldType:"address",onConfigured:null}),q(!1);return}const Ke=sn(fe)||fe===void 0;let Xe=!1;if(ge.respectLGLayoutOrder)try{const Se=m||"lg",$t=be[Se]||be.lg,Ut=dn(Se,$t,be,!0,cn);_e(Ut);const Yt=rr(ee,Tt=>{Object.keys(Tt).forEach(It=>{const ft=Tt[It],Ft=(ft==null?void 0:ft[Se])||(ft==null?void 0:ft.lg)||[];if(ft&&Ft.length>0)try{const hr=dn(Se,Ft,ft,!0,cn);Tt[It]=hr}catch(hr){Xe=!0}})});ve(Yt)}catch(Se){Xe=!0,_t.error(D("Could not sync layouts before save. Form will be saved with current layout state"))}const{layouts:yt,nestedLayouts:Ct,lightThemeColors:Ot,darkThemeColors:st,lgLightThemeVars:pt,lgDarkThemeVars:Et,mdLightThemeVars:cr,mdDarkThemeVars:Lr,smLightThemeVars:qr,smDarkThemeVars:zr,lgLightStyles:Wr,lgDarkStyles:Hr,mdLightStyles:Br,mdDarkStyles:Ur,smLightStyles:Yr,smDarkStyles:Vr}=fn(C),fr={lightThemeColors:Ot,darkThemeColors:st},ur={lgLightThemeVars:pt,lgDarkThemeVars:Et,mdLightThemeVars:cr,mdDarkThemeVars:Lr,smLightThemeVars:qr,smDarkThemeVars:zr};let Xt={lgLightStyles:Wr,lgDarkStyles:Hr,mdLightStyles:Br,mdDarkStyles:Ur,smLightStyles:Yr,smDarkStyles:Vr};Xt=hl(Xt);let Bt=sessionStorage.getItem("btcd-fs");Bt=Bt&&gl(Bt);const pr=Qe(de(Qe(de(de(de(de(Qe(de(Qe(de(de(de({},C&&{id:C}),!C&&{form_id:O}),C&&{currentReport:A}),{layout:yt,nestedLayouts:Ct,formInfo:s,fields:M}),Xe&&{skipOrphanPrune:!0}),{form_name:y,report_id:F.id,additional:je,workFlows:b,formStyle:Bt}),!Ke&&{style:gr.stringify(Xt)}),!Ke&&{staticStyles:gr.stringify(le)}),!Ke&&{themeColors:gr.stringify(fr)}),!Ke&&{themeVars:gr.stringify(ur)}),{breakpointSize:me}),ce.isFetched&&{customCodes:ce}),{layoutChanged:sessionStorage.getItem("btcd-lc"),rowHeight:sessionStorage.getItem("btcd-rh"),formSettings:de({formName:y,confirmation:Y,formPermissions:Z,mailTem:Q,pdfTem:ke,integrations:Ne},!sn(oe)&&{formAbandonment:oe}),builderSettings:te});C&&E.length!==0&&(pr.deletedFldKey=[...new Set(E)]);const Zt=C?"bitforms_update_form":"bitforms_create_new_form",er=[],Gr=Ze(pr,Zt).then(Se=>{var $t,Ut,Yt,Tt,It,ft,Ft,hr;if(Se!=null&&Se.success&&r){let{data:ue}=Se;typeof ue!="object"&&(ue=JSON.parse(ue)),_(At=>Qe(de({},At),{reRenderGridLayoutByRootLay:At.reRenderGridLayoutByRootLay+1})),($t=ue==null?void 0:ue.form_content)!=null&&$t.fields&&w(ue.form_content.fields),(Ut=ue==null?void 0:ue.formSettings)!=null&&Ut.confirmation&&U(ue.formSettings.confirmation),ue!=null&&ue.workFlows&&u(ue.workFlows),(Yt=ue==null?void 0:ue.formSettings)!=null&&Yt.integrations&&h(ue.formSettings.integrations),(Tt=ue==null?void 0:ue.formSettings)!=null&&Tt.mailTem&&K(ue.formSettings.mailTem),(It=ue==null?void 0:ue.formSettings)!=null&&It.pdfTem&&f(ue.formSettings.pdfTem),ue!=null&&ue.additional&&W(ue.additional),ue!=null&&ue.Labels&&c(ue.Labels),ue!=null&&ue.reports&&p((ue==null?void 0:ue.reports)||[]),!(F!=null&&F.id)&&((ft=ue==null?void 0:ue.form_content)!=null&&ft.report_id)&&G({id:(Ft=ue==null?void 0:ue.form_content)==null?void 0:Ft.report_id,isDefault:((hr=ue==null?void 0:ue.form_content)==null?void 0:hr.is_default)||0}),Ke||(Oe(fr),Ve(ur),it(gr.parse(ue==null?void 0:ue.style)),_l()),S(At=>ai(At,{type:Zt==="bitforms_create_new_form"?"add":"update",data:{formID:ue.id,status:ue.status!=="0",formName:ue.form_name,shortcode:`bitform id='${ue.id}'`,entries:ue.entries,views:ue.views,conversion:ue.entries===0?0:(ue.entries/(ue.views==="0"?1:ue.views)*100).toPrecision(3),created_at:ue.created_at}})),v(),window.dispatchEvent(new CustomEvent("bitforms:form-saved")),L([]),Zt==="bitforms_create_new_form"&&C===0&&g===D("Save Form")&&(k(ue.id),j(D("Update Form")),n(`/form/${t}/edit/${ue.id}/${d}`,{replace:!0}),ea()&&un({success:!0,form:{id:ue.id,name:ue.form_name,status:ue.status,shortcode:`[bitform id="${ue.id}"]`}})),setTimeout(()=>{const At=fn(ue.id),rn=ea();if(rn){const Gi=[At&&At.saveCssPromise,...er].filter(Boolean);Promise.allSettled(Gi).finally(()=>vl(rn))}},100),sessionStorage.removeItem("btcd-lc"),sessionStorage.removeItem("btcd-fs"),sessionStorage.removeItem("btcd-rh")}else!(Se!=null&&Se.success)&&(Se==null?void 0:Se.data)==="Token expired"?window.location.reload():Se!=null&&Se.success||(ea()?(un({success:!1,message:typeof(Se==null?void 0:Se.data)=="string"?Se.data:D("Form creation failed")}),yl()):setTimeout(()=>{window.location.reload()},2e3));return Se}).catch(Se=>{}).finally(()=>{se&&!se.closed&&setTimeout(()=>{se.postMessage("REFRESH_PREVIEW",window.location.origin),se.location.reload()},100)});C&&_t.promise(Gr,{loading:D("Updating..."),success:Se=>{var $t;return q(!1),(($t=Se==null?void 0:Se.data)==null?void 0:$t.message)||(Se==null?void 0:Se.data)},error:()=>(q(!1),D("Error occurred, Please try again."))});const br=X(),mr=re();br&&er.push(br),mr&&er.push(mr)},0)}),X=()=>{var ie;if(!((ie=s.standaloneSettings)!=null&&ie.styles))return null;const ae=$l(s.standaloneSettings.styles);return Ze({css:ae,formID:i},"bitforms_save_standalone_css")},re=()=>{var Q;if(!((Q=s.conversationalSettings)!=null&&Q.enable))return null;let ae=xl(de(de({},Pe),wl(C)));const{nestedLayoutStyleText:ie}=kl();return ie.lg&&(ae+=ie.lg),ie.md&&(ae+=ie.md),ie.sm&&(ae+=ie.sm),ae+=Sl(),Ze({css:ae,formID:i},"bitforms_save_conversational_css")};return o.jsxs(St,{id:"update-btn",className:`${T([mt.btn,{h:42}])} tooltip ${x.unsaved?T(mt.visDisable):""}`,type:"button",onClick:()=>ye("update-btn"),disabled:x.disabled||$,style:{"--tooltip-txt":`'${D("ctrl + s")}'`},variant:"primary-outline",children:[g,(x.loading||$)&&o.jsx(or,{size:20,clr:"white",className:"ml-1"})]})}function Uo({defaultActive:r,options:a,size:e=100,component:n="a",onChange:t,variant:l="white",show:i,activeShow:d,square:m,classNames:T=""}){const{css:g}=lt(),j=Number(e),C=P=>Math.floor(j/P),k={};l==="white"&&(k.tabBg="var(--white-0-95)",k.selectorBg="var(--white-100)",k.active="var(--b-50) !important"),l==="tertiary"&&(k.tabBg="var(--white-100)",k.selectorBg="var(--bf-tertiary)",k.active="var(--bf-white-100) !important",k.tabClr="var(--bf-text-clr-gray)"),l==="blue"&&(k.selectorBg="var(--b-50)",k.tabBg="#454A65",k.tabClr="var(--b-44-87)",k.active="var(--white-100) !important"),l==="lightgray"&&(k.selectorBg="var(--white-100)",k.tabBg="var(--white-0-95)",k.tabClr="var(--b-44-87)",k.active="var(--b-50) !important");const $={wrapper:{ta:"center"},tabs:{fs:C(6.67),py:C(33.34),px:C(20),bd:k.tabBg,ls:"none",dy:"inline-block",brs:"var(--bf-bdr-radius-sm)",pn:"relative","& .active":{cr:k.active},"& button":{bd:"none",oe:"none",b:"none"}},selector:{w:0,h:"80%",dy:"inline-block",pn:"absolute",lt:C(20),tp:"50%",tm:"translatey(-50%)",zx:1,brs:"var(--bf-bdr-radius-sm)",tdn:"0.3s",ttf:"cubic-bezier(0.42, 0.44, 0.57, 1.35)",bd:k.selectorBg,willChange:"transform",bs:l==="blue"&&"0 2px 7px -2px rgb(0 11 49 / 79%)"},tab_link:Qe(de({curp:1,td:"none",fw:500,flxi:"align-center",pn:"relative",py:m?0:C(10),px:m?0:C(5),textShadow:l==="blue"&&"0 1px 1px #6e6e6e70",zx:1},m&&{aspectRatio:"1/1",w:30,h:30,flxi:"center"}),{tdy:l==="tertiary"?"0s":"0.3s",tdn:"0.6s",cr:k.tabClr,"transition-property":"color",":hover:not(.active)":{cr:l==="tertiary"?"var(--bf-text-clr-tertiary)":"var(--white-0-100-90)",fw:l==="tertiary"?600:500,tdy:"0s",tdn:"300ms"},":focus-visible":{oe:"2px solid var(--b-50)"},"& .icn":{mr:i!=null&&i.includes("label")?C(20):0,lh:"75%",dy:"block"}})},q=B.useRef(null),R=B.useRef(null),E=B.useRef(null),[L,M]=B.useState(r||a[0].label),w=n;B.useEffect(()=>{L!==r&&M(r)},[r]),B.useLayoutEffect(()=>{var O;const P=(O=E==null?void 0:E.current)==null?void 0:O.querySelector(`[data-label="${L}"]`);if(P){const{width:S}=P.getBoundingClientRect()||{width:0};if(!q.current)return;q.current.style.width===""?(R.transition=q.current.style.transition,q.current.style.transition="all 0s"):q.current.style.transition=R.transition,q.current.style.width=`${S}px`,q.current.style.transform=`translate(${P.offsetLeft-5}px, -50%)`}});const s=(P,O)=>{var c;if(P.preventDefault(),P.type==="keypress"&&P.code!=="Space"||P.type==="keypress"&&P.code!=="Enter")return;const S=P.currentTarget;if(!P.type==="keypress"||!P.type==="click")return;const _=(c=E==null?void 0:E.current)==null?void 0:c.querySelector(`.tabs ${n}.active`);S!==_&&(_==null||_.classList.remove("active"),M(a[O].label),t(a[O].label))},y=(P,O)=>!!(P[O]&&(d&&L===P.label&&d.includes(O)||i&&i.includes(O)||!i&&!d));return o.jsx("div",{className:`${g($.wrapper)} ${T}`,children:o.jsxs("div",{ref:E,className:`${g($.tabs)} tabs`,children:[o.jsx("div",{ref:q,className:`selector ${g($.selector)}`}),a==null?void 0:a.map((P,O)=>o.jsxs(w,Qe(de(de({className:`${g($.tab_link)} tab-link ${L===P.label?" active":""}`,onClick:S=>s(S,O),onKeyDown:S=>s(S,O),"data-label":P.label,"data-testid":`${P.label}-tab`},n==="button"&&{type:"button"}),n==="a"&&{href:`#${P.label}`}),{href:`#${P.label}`,type:"button",children:[y(P,"icn")&&o.jsx("span",{className:`icn ${L===P.label?g($.segment_img):""}`,children:P.icn}),y(P,"label")&&D(P.label)]}),`segment-option-${O*10}`))]})})}function Yo(){const{css:r}=lt();return o.jsxs("div",{className:r(Jr.wrp),children:[o.jsx("div",{className:`${r(Jr.titl)} loader`}),Array(7).fill(0).map((a,e)=>o.jsx("div",{className:`${r(Jr.t_wrp)} flx`,children:o.jsx("div",{className:`${r(Jr.mnu)} loader`})},`tb-${e+3}`))]})}const Jr={wrp:{mx:10,my:10},titl:{w:170,h:28,brs:6},t_wrp:{my:10},mnu:{h:50,w:"70%",brs:8}};function Vo({size:r=20,stroke:a=2,className:e}){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:a,strokeLinecap:"round",strokeLinejoin:"round",className:`lucide lucide-chart-column-big-icon lucide-chart-column-big ${e}`,children:[o.jsx("path",{d:"M3 3v16a2 2 0 0 0 2 2h16"}),o.jsx("rect",{x:"15",y:"5",width:"4",height:"12",rx:"1"}),o.jsx("rect",{x:"7",y:"8",width:"4",height:"9",rx:"1"})]})}function Go({size:r=32,stroke:a=2,className:e=""}){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",className:e,children:o.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:a,d:"M12 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v7M3 10h18M10 3v18m7.001-2a2 2 0 1 0 4 0a2 2 0 1 0-4 0m2-3.5V17m0 4v1.5m3.031-5.25l-1.299.75m-3.463 2l-1.3.75m0-3.5l1.3.75m3.463 2l1.3.75"})})}function Ko(r){const{formID:a,entryID:e,setAllResp:n,setSnackbar:t}=r,l=xe(ct),[i,d]=B.useState(!1),[m,T]=B.useState(!1),[g,j]=B.useState(!0),[C,k]=B.useState(null),$=B.useRef(null),{css:q}=lt();B.useEffect(()=>{d(!0)},[e,a]);const R=w=>{if(typeof w=="string"&&w)return w;if(w&&typeof w=="object"){const s=w.message||w.data||w.error;if(typeof s=="string"&&s)return s}return D("Failed to update entry. please try again")},E=w=>{w.preventDefault(),k(null),T(!0);const s=$.current.contentWindow,y=s.document,P=y==null?void 0:y.querySelector("form"),O=P.id.slice(P.id.indexOf("-")+1);let S=new FormData(P);const _={formID:a,entryID:r.entryID},c=[],v=s.bf_globals[O];typeof s.advancedFileHandle!="undefined"&&(S=s.advancedFileHandle(v,S)),typeof s.decisionFldHandle!="undefined"&&(S=s.decisionFldHandle(v,S)),Object.entries((v==null?void 0:v.fields)||{}).forEach(p=>{var A,F;(F=(A=p[1])==null?void 0:A.valid)!=null&&F.hide&&c.push(p[0])}),c.length&&S.append("hidden_fields",c),Ze(S,"bitforms_update_form_entry",void 0,_).then(p=>{if(p!==void 0&&p.success){if(p.data.cron||p.data.cronNotOk){const A=p.data.cron||p.data.cronNotOk;if(typeof A=="string"){const F=new URL(A);F.protocol!==window.location.protocol&&(F.protocol=window.location.protocol),fetch(F)}else{const F=new URL(l.ajaxURL);F.searchParams.append("action","bitforms_trigger_workflow");const G={cronNotOk:A,id:`bitforms_${a}`};fetch(F,{method:"POST",body:JSON.stringify(G),headers:{"Content-Type":"application/json"}}).then(H=>H.json())}}t({show:!0,msg:p.data.message||D("Entry updated successfully")}),n(A=>rr(A,F=>{const G=F.findIndex(H=>H.entry_id===r.entryID);F[G]=de(de({},F[G]),p.data.updatedData)})),r.close(!1)}else{const A=R(p==null?void 0:p.data);k(A),t({show:!0,msg:A})}}).catch(p=>{const A=p!=null&&p.message?`${D("Failed to update entry")}: ${p.message}`:D("Failed to update entry. please try again");k(A),t({show:!0,msg:A})}).finally(()=>T(!1))},L=document.querySelector(".btcd-modal-wrp"),M=L!=null&&L.offsetHeight?L.offsetHeight-150:0;return o.jsxs(nr,{hdrActn:o.jsxs("button",{onClick:E,disabled:m,type:"button",className:`${q(jt.btn,jt.blueGrd)} btn-md blue btcd-mdl-hdr-btn`,children:["Update",m&&o.jsx(or,{size:20,clr:"#fff",className:"ml-2"})]}),lg:!0,show:i,setModal:r.close,title:D("Edit"),children:[C&&o.jsxs("div",{className:q(Xr.errBox),role:"alert",children:[o.jsx("span",{children:C}),o.jsx("button",{type:"button",onClick:()=>k(null),className:q(Xr.errCls),"aria-label":D("Dismiss error"),children:"×"})]}),g&&o.jsx(Nt,{className:q({ta:"center"})}),o.jsx(ci,{autoHide:!0,autoHeight:!0,autoHeightMin:M,autoHeightMax:M,children:o.jsx("iframe",{ref:$,title:"Form Entry Edit",src:`${window.location.origin}?bitform-form-entry-edit=1&formId=${a}&entryId=${e}`,className:q(Xr.iframe,Xr.body),onLoad:()=>j(!1)})})]})}const Xr={errBox:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"10px",color:"var(--red)",border:"1px solid var(--red)",borderRadius:"var(--bf-bdr-radius-sm)",padding:"8px 12px",marginBottom:"10px",fontSize:"13px"},errCls:{background:"none",border:"none",color:"var(--red)",cursor:"pointer",fontSize:"18px",lineHeight:1,padding:0},iframe:{width:"100%",height:"80vh"},body:{"> body":{height:"80vh"},"> html":{height:"80vh"}}};var dr="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20baseProfile='tiny'%20version='1.2'%20viewBox='0%200%20392.9%20402.3'%3e%3cdefs/%3e%3cpath%20fill='%23F1F4FA'%20d='M45%20128s65-38%2078-68S262-2%20347%2099s29%20130%2018%20134c-11%205-81%207-119%20129S79%20291%2053%20283s-71-109-8-155z'/%3e%3cpath%20fill='%23F7EEF5'%20d='M139%20384C96%20374%2010%20227%200%20158s198-42%20215-21%2097%2025%20131%2079-17%2090-16%2098c1%2011-148%2081-191%2070z'/%3e%3cpath%20fill='%23DDF1F8'%20d='M222%20325H72c-8%200-14-7-14-14V101c0-8%206-14%2014-14h150c8%200%2014%206%2014%2014v210c0%208-6%2014-14%2014z'/%3e%3cpath%20fill='%231C2955'%20d='M222%20327H72c-9%200-16-7-16-16V101c0-9%207-17%2016-17h150c9%200%2016%208%2016%2017v210c1%209-7%2016-16%2016zM72%2089c-6%200-11%206-11%2012v210c0%206%205%2011%2011%2011h150c6%200%2011-5%2011-11V101c1-7-5-12-11-12H72z'/%3e%3cpath%20fill='%239DCBED'%20d='M119%20322V171c0-10%208-19%2019-19h95v169l-114%201z'/%3e%3cpath%20fill='%23FEFBE3'%20d='M293%20392H143c-8%200-14-6-14-14V176c0-8%206-14%2014-14h150c7%200%2013%206%2013%2013v203c1%208-6%2014-13%2014z'/%3e%3cpath%20fill='%231C2955'%20d='M293%20394H143c-9%200-17-7-17-16V176c0-9%208-17%2017-17h150c9%200%2016%207%2016%2016v203c0%209-7%2016-16%2016zM143%20164c-7%200-12%205-12%2012v202c0%206%205%2011%2012%2011h150c6%200%2011-5%2011-11V176c0-7-5-12-11-12H143z'/%3e%3cpath%20fill='%231C2955'%20d='M195%20120H83c-3%200-4-2-4-5v1c0-3%202-5%204-5h112c2%200%204%202%204%205%200%202-2%204-4%204zm-66%2024c0-2-2-4-4-4H83c-3%200-4%202-4%204s2%204%204%204h42c2%200%204-2%204-4zm141%2044c0-3-2-5-4-5H153c-2%201-4%202-4%205%200%202%202%204%204%204h113c2%200%204-2%204-4zM268%20358H153c-2%200-4-2-4-5%200-2%202-4%204-4h115c3%200%204%202%204%204%200%203-2%205-4%205z'/%3e%3cpath%20d='M225%20258l-37%2038h-3v-3l38-38h2v3z'/%3e%3cpath%20d='M223%20296l-38-38v-3h3l37%2038v3h-2z'/%3e%3cpath%20fill='%23E8F4FC'%20d='M261%20309a63%2063%200%2011-97-81v1c22-27%2062-31%2089-9%2027%2023%2030%2062%208%2089z'/%3e%3cpath%20fill='%231C2955'%20d='M212%20334a65%2065%200%2001-50-106%2065%2065%200%2011101%2083%2065%2065%200%2001-51%2023zm1-126h-6a61%2061%200%201053%20100h-1a61%2061%200%2000-46-100z'/%3e%3cpath%20fill='%239DCBED'%20d='M256%20316l11-13%2024%2019-12%2014z'/%3e%3cpath%20fill='%231C2955'%20d='M280%20339l-27-22%2014-17%2027%2022-14%2017zm-21-23l20%2017%209-10-21-17-8%2010z'/%3e%3cpath%20fill='%23FFE9C5'%20d='M365%20382l-13%2016c-3%202-7%203-10%200l-63-52c-2-2-3-6-1-9l14-16c2-3%206-3%209-1l63%2052c3%203%203%207%201%2010z'/%3e%3cpath%20fill='%231C2955'%20d='M347%20402l-6-2-63-52-3-6%202-6%2013-16c3-4%209-4%2012-1l63%2052c2%201%203%203%203%206%201%202%200%204-2%206l-13%2016c-1%202-3%203-5%203h-1zm-50-81l-4%201-13%2016-1%204%202%203%2063%2052%203%201%203-2%2013-16c1-1%202-2%201-3l-1-3-63-52-3-1zM245%20241a50%2050%200%2000-59-11l-2-3c0-1%2033-19%2063%2011l-2%203zM232%20270l-33%2032h-1v-1l32-33h2v2zm-2%2031v-2l-33-32h-2v1l33%2033h2z'/%3e%3cpath%20fill='%23A4ADD8'%20d='M80%2051H65V36h15v15zm-13-2h11V38H67v11z'/%3e%3cpath%20fill='%23BAD2EE'%20d='M279%20129a7%207%200%20110-14%207%207%200%20110%2014zm0-12c-3%200-6%202-6%205s3%205%206%205%205-2%205-5-2-5-5-5z'/%3e%3cpath%20fill='%239E9D9E'%20d='M354%20263l-3-5-5-3%205-3%203-5%203%205%205%203-5%203-3%205zm-3-8l2%201%201%203%202-3%202-1-2-1-2-3-1%203-2%201z'/%3e%3cpath%20fill='%23CED8EE'%20d='M270%2016l-3-5-5-3%205-3%203-5%203%205%205%203-5%203-3%205zm-4-8l2%201%202%202%201-2%202-1-2-1-1-3-2%203-2%201z'/%3e%3cpath%20fill='%23FCDCE5'%20d='M25%20252H8l9-15%208%2015zm-13-2h10l-5-9-5%209zM177%2069h-2V57h2v12zm5-7h-12v2h12v-2z'/%3e%3c/svg%3e";function Qo({formID:r,entryID:a,allLabels:e,showForm:n,setShowForm:t,setFetchData:l,data:i,setData:d}){const m=!!i.noteID,{css:T}=lt(),[g,j]=B.useState(!1),[C,k]=B.useState(i.title),[$,q]=B.useState(i.content),R=xe(za),E=s=>{k(s)},L=s=>{q(s)},M=s=>{if(s.preventDefault(),!!$)if(j(!0),m){const y={noteID:i.noteID,formID:r,entryID:a,title:C,content:$};Ze({},"bitforms_form_entry_update_note","multipart/form-data",y).then(P=>{P!==void 0&&P.success&&(_t.success(D("Note Updated Successfully")),w(),l(!0)),j(!1)})}else Ze({},"bitforms_form_entry_create_note","multipart/form-data",{formID:r,entryID:a,title:C,content:$}).then(P=>{P!==void 0&&P.success&&(_t.success(D("Note Added Successfully")),w(),l(!0)),j(!1)})},w=()=>{t(!1),d({title:"",content:""})};return o.jsxs("div",{className:"mt-2 w-7",children:[o.jsxs("b",{children:[m?D("Edit Note "):D("Create New Note "),o.jsx("button",{type:"button",className:T(jt.btn),onClick:()=>m?w():t(!1),style:{fontSize:16},children:"x"})]}),o.jsx("br",{}),o.jsxs("form",{method:"POST",onSubmit:M,onKeyDown:s=>{s.key==="Enter"&&s.target.tagName!=="TEXTAREA"&&s.preventDefault()},children:[o.jsx("input",{type:"text",name:"title",className:"btcd-paper-inp mt-2",placeholder:"Note Title",value:C,onChange:s=>E(s.target.value)}),o.jsx(ao,{id:"body-content",value:$,onChangeHandler:L,formFields:R}),m&&o.jsx("button",{type:"button",className:`${T(jt.btn)} btn-md mr-2`,onClick:w,children:D("Cancel")}),o.jsxs("button",{type:"submit",className:`${T(jt.btn)} btn-md blue`,disabled:g,children:[m?D("Edit"):D("Add")," ",D("Note"),g&&o.jsx(or,{size:20,clr:"#fff",className:"ml-2"})]})]})]})}function Jo({formID:r,entryID:a,allLabels:e,rowDtl:n}){const t=xe(ct),{isPro:l}=t,{css:i}=lt(),d=`${t.dateFormat} ${t.timeFormat}`,[m,T]=B.useState(!1),[g,j]=B.useState({show:!1}),[C,k]=B.useState(!1),[$,q]=B.useState([]),[R,E]=B.useState(!1),[L,M]=B.useState(!1),[w,s]=B.useState({title:"",content:""});B.useEffect(()=>{l&&T("allNotes"),E(!0)},[]),B.useEffect(()=>{if(l&&T("allNotes"),L){M(!1);return}l&&Ze({formID:r,entryID:a},"bitforms_form_entry_get_notes").then(p=>{p!==void 0&&p.success&&q(p.data),T(!1)})},[L,a]),B.useEffect(()=>{w.content&&k(!0)},[w]);const y=p=>{k(!1);const A=$.find(H=>H.id===p),{title:F,content:G}=JSON.parse(A.info_details);s({noteID:p,title:F,content:G}),k(!0)},P=p=>{g.noteID=p,g.show=!0,j(de({},g))},O=()=>{g.show=!1,j(de({},g))},S=()=>{T("delete"),O(),Ze({noteID:g.noteID,formID:r,entryID:a},"bitforms_form_entry_delete_note").then(p=>{p!==void 0&&p.success&&(_t.success(D("Note Deleted Successfully")),M(!0)),T(!1)})},_=p=>{var K,ne;const A=/\${\w[^ ${}]*}/g,F=((K=p==null?void 0:p.match)==null?void 0:K.call(p,A))||"",G=((ne=F==null?void 0:F.filter)==null?void 0:ne.call(F,(f,x)=>F.indexOf(f)===x))||[];let H=p;for(let f=0;f<G.length;f+=1){const x=G[f].slice(2,-1);H=H.replace(new RegExp(`\\${G[f]}`,"gi"),x in n?n[x]:"[Field Deleted]")}return H},c=p=>{const A=JSON.parse(p.info_details),F=m==="delete"&&g.noteID===p.id;return o.jsxs("div",{children:[o.jsxs("div",{children:[p.updated_at?o.jsxs("small",{children:[D("updated on:"),` ${ut(p.updated_at,d)}`]}):o.jsxs("small",{children:[D("created at:"),` ${ut(p.created_at,d)}`]}),o.jsx("button",{type:"button",className:"icn-btn ml-1 tooltip pos-rel",style:{"--tooltip-txt":`'${D("Edit")}'`,fontSize:16},onClick:()=>y(p.id),children:o.jsx(Fr,{size:"15"})}),o.jsxs("button",{type:"button",onClick:()=>P(p.id),className:`${F?i(jt.btn):"icn-btn"} ml-1 tooltip pos-rel`,style:{"--tooltip-txt":`'${D("Delete")}'`,fontSize:16},disabled:F,children:[o.jsx(Ar,{size:"15"}),F&&o.jsx(or,{size:20,clr:"#000",className:"ml-2"})]})]}),o.jsxs("div",{children:[A.title&&o.jsx("h3",{children:A.title}),o.jsx("div",{children:o.jsx(fi,{html:_(A.content)})})]}),o.jsx("hr",{className:"btcd-hr"})]},p.id)},v=()=>$.length?$.map(p=>c(p)):R&&o.jsx("img",{src:dr,alt:"no data found",style:{height:150,width:"100%"}});return o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"pos-rel",children:[!l&&o.jsx(no,{className:"mt-4",style:{marginTop:0}}),C?o.jsx(Qo,{formID:r,entryID:a,allLabels:e,showForm:C,setShowForm:k,setFetchData:M,data:w,setData:s}):o.jsx("button",{type:"button",className:i(jt.btn),onClick:()=>k(!0),children:D("create new note")}),m==="allNotes"?o.jsx(Nt,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}):v()]}),o.jsxs(ca,{className:"custom-conf-mdl",mainMdlCls:"o-v",btnClass:"red",btnTxt:"Ok",show:g.show,close:O,action:S,title:D("Confirmation"),children:[o.jsx("div",{className:"txt-center mt-5 mb-4",children:D("Are you sure to delete this note")}),m&&o.jsx(Nt,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:45,transform:"scale(0.5)"}})]})]})}const Xo=r=>r!=null&&r.payment_response?JSON.parse(r.payment_response):r!=null&&r.create_time?r:{};function Zo({paymentInfo:r,payInfoFound:a}){var T,g,j,C,k,$,q,R,E,L;const e=xe(ct),n=`${e.dateFormat} ${e.timeFormat}`,t=Xo(r),l="subscriber"in t,i=l?t.subscriber:t.payer,d=l?(g=(T=t==null?void 0:t.billing_info)==null?void 0:T.last_payment)==null?void 0:g.amount:(C=(j=t==null?void 0:t.purchase_units)==null?void 0:j[0])==null?void 0:C.amount,m=(R=(q=($=(k=t==null?void 0:t.purchase_units)==null?void 0:k[0])==null?void 0:$.payments)==null?void 0:q.captures[0])==null?void 0:R.id;return o.jsx("div",{children:a.current===1?o.jsxs(o.Fragment,{children:[o.jsx("h1",{children:D("PayPal")}),o.jsxs("div",{children:[o.jsx("small",{children:ut(t.create_time,n)}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${D("Type")}: ${l?D("Subscription"):D("Order")}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:o.jsx("b",{children:`${D("Transaction ID")}: ${m}`})}),o.jsx("h3",{children:`${(E=i==null?void 0:i.name)==null?void 0:E.given_name} ${(L=i==null?void 0:i.name)==null?void 0:L.surname}`}),o.jsx("small",{children:i==null?void 0:i.email_address}),l&&o.jsx("h4",{children:`${D("Plan ID")}: ${t.plan_id}`}),l&&o.jsxs("small",{children:[D("Next Billing Time"),":"," ",ut(t.billing_info.next_billing_time,n)]}),o.jsxs("p",{children:[D("Total Paid"),":"," ",d==null?void 0:d.value," ",d==null?void 0:d.currency_code]})]},t.id)]}):o.jsx("img",{src:dr,alt:D("no data found"),style:{height:150,width:"100%"}})})}const es=r=>r!=null&&r.payment_response?JSON.parse(r.payment_response):r!=null&&r.created_at?r:{};function ts({paymentInfo:r,payInfoFound:a,fldKey:e,transactionID:n}){const t=xe(ct),{formID:l}=Dt(),i=xe(Hn),m=xe(sr)[e],{payIntegID:T}=m.options,g=i.find(L=>L.id===T),j=`${t.dateFormat} ${t.timeFormat}`,[C,k]=B.useState(r),[$,q]=B.useState(!1),R=es(C),E=R.created_at*1e3;return B.useEffect(()=>{a.current===2&&(q(!0),Ze({formID:l,transactionID:n,razorpaySettings:g},"bitforms_payment_details").then(L=>{L.success&&(k(L.data),a.current=1)}).finally(()=>{q(!1)}))},[]),o.jsxs("div",{children:[$&&o.jsx(Nt,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}),a.current===1?o.jsxs(o.Fragment,{children:[o.jsx("h1",{children:D("Razorpay")}),o.jsxs("div",{children:[o.jsx("small",{children:ut(E,j)}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${D("Status")}: ${R.status}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:o.jsx("b",{children:`${D("Transaction ID")}: ${R.id}`})}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${D("Email")}: ${R.email}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${D("Contact")}: ${R.contact}`}),o.jsx("br",{}),o.jsxs("p",{children:[D("Total Paid"),":"," ",R.amount/100," ",R.currency]})]})]}):!$&&o.jsx("img",{src:dr,alt:D("no data found"),style:{height:150,width:"100%"}})]})}const rs=r=>r!=null&&r.payment_response?JSON.parse(r.payment_response):{};function as({paymentInfo:r,payInfoFound:a}){const e=xe(ct),n=`${e.dateFormat} ${e.timeFormat}`,t=rs(r);return o.jsx("div",{children:a.current===1?o.jsxs(o.Fragment,{children:[o.jsx("h1",{children:D("Stripe")}),o.jsxs("div",{children:[o.jsx("small",{children:ut(t.created*1e3,n)}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:o.jsx("b",{children:`${D("Transaction ID")}: ${t.id}`})}),o.jsxs("p",{children:[D("Total Paid"),":"," ",t.amount/100," ",t.currency]})]},t.id)]}):o.jsx("img",{src:dr,alt:D("no data found"),style:{height:150,width:"100%"}})})}const ns=r=>r!=null&&r.payment_response?JSON.parse(r.payment_response):{};function is({paymentInfo:r,payInfoFound:a}){const e=xe(ct),n=`${e.dateFormat} ${e.timeFormat}`,t=ns(r);return o.jsx("div",{children:a.current===1?o.jsxs(o.Fragment,{children:[o.jsx("h1",{children:D("Mollie")}),o.jsxs("div",{children:[o.jsx("small",{children:ut(t.createdAt,n)}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${D("Status")}: ${t.status}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${D("Payment Method")}: ${t.method}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:o.jsx("b",{children:`${D("Transaction ID")}: ${t.id}`})}),o.jsxs("p",{children:[D("Total Paid"),":"," ",t.amount.value," ",t.amount.currency]})]},t.id)]}):o.jsx("img",{src:dr,alt:D("no data found"),style:{height:150,width:"100%"}})})}function ls({formID:r,rowDtl:a}){const e=xe(lr),n=xe(ct),{isPro:t}=n,[l,i]=B.useState({}),[d,m]=B.useState(!1),g=e.filter($=>Aa.includes($.type)).find($=>a[$.key])||{},j=B.useRef(0),{css:C}=lt();B.useEffect(()=>{var $;if(t){m(!0);const q=a==null?void 0:a[g==null?void 0:g.key],R=($=q==null?void 0:q.split(","))==null?void 0:$[0];Ze({formID:r,transactionID:R},"bitforms_payment_details").then(E=>{E.success&&E.data.length?(i(E.data[0]),j.current=1):j.current=2}).finally(()=>{m(!1)})}return()=>i({})},[a]);const k=()=>{switch(g==null?void 0:g.type){case"paypal":return o.jsx(Zo,{paymentInfo:l,payInfoFound:j});case"razorpay":return o.jsx(ts,{paymentInfo:l,payInfoFound:j,fldKey:g==null?void 0:g.key,transactionID:a==null?void 0:a[g==null?void 0:g.key]});case"stripe":return o.jsx(as,{paymentInfo:l,payInfoFound:j,fldKey:g==null?void 0:g.key,transactionID:a==null?void 0:a[g==null?void 0:g.key]});case"mollie":return o.jsx(is,{paymentInfo:l,payInfoFound:j});default:return o.jsx("h2",{className:C({fs:14,cr:"red",mt:20,ml:10,fw:"normal"}),children:D("No Payment Info Found!")})}};return o.jsxs("div",{className:"pos-rel",children:[!t&&o.jsx("div",{className:"pro-blur mt-4 flx",children:o.jsxs("div",{className:"pro",children:[D("Available On"),o.jsx("a",{href:"https://www.bitapps.pro/bit-form",target:"_blank",rel:"noreferrer",children:o.jsxs("span",{className:"txt-pro",children:[" ",D("Premium")]})})]})}),d?o.jsx(Nt,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}):k()]})}function os({formID:r,entryID:a,integrations:e}){const n=xe(ct),t=xe(lr),l=`${n.dateFormat} ${n.timeFormat}`,[i,d]=B.useState([]),[m,T]=B.useState([]),[g,j]=B.useState([]),[C,k]=B.useState(!1);B.useEffect(()=>(k(!0),Ze({formID:r,entryID:a},"bitforms_form_log_history").then(s=>{s!==void 0&&s.success&&(d(s.data),T(s.integrations)),k(!1)}),()=>d([])),[a]);const $=s=>{var v;const y=/\${\w[^ ${}]*}/g,P=/[\]["]/g,O=((v=s.match(y))==null?void 0:v[0])||s,S=O?t.find(p=>`\${${p.key}}`===O||p.key===O):"",_=S?S.adminLbl:"",c=_?s.replace(y,_):"";return c?c.replace(P,""):"Field Deleted"},q=(s,y)=>(s==null?void 0:s.length)>y?`${s.substr(0,y-1)}…`:s,R=s=>{g.push(s),j([...g])},E=s=>{const y=[...g];y.splice(y.indexOf(s),1),j([...y])},L=s=>{var S;const y=g.find(_=>_===s.id),P={};m.map(_=>{var v;let c=(v=e.find(p=>p.id===_.integration_id))==null?void 0:v.name;if(c)P[c]||(P[c]=[]),s.id===_.log_id&&P[c].push(_);else if(Number(_.integration_id)&&s.id===_.log_id){const p=JSON.parse(_.api_type);c=`${p.type_name} ${p.type}`,c==="ReCaptcha v3"&&(P[c]=[_])}});const O=()=>s.content===null&&s.action_type==="update"?o.jsx("p",{children:D("No field data change")}):s.content===null&&s.action_type==="create"?o.jsx("p",{children:D("Form Submitted")}):s.content.split("b::f").map(_=>o.jsxs("p",{children:[" ",o.jsx(Fr,{size:"15"}),$(_)]},_));return o.jsxs("div",{children:[O(),!!((S=Object.keys(P))!=null&&S.length)&&o.jsxs(o.Fragment,{children:[!y&&s.integration&&o.jsx("small",{role:"button",tabIndex:"0",className:"btcd-link",onClick:()=>R(s.id),onKeyDown:()=>R(s.id),children:D("Show Integration Logs")}),y&&s.integration&&o.jsx("small",{role:"button",tabIndex:"0",className:"btcd-link",onClick:()=>E(s.id),onKeyDown:()=>E(s.id),children:D("Hide Integration Logs")}),y&&s.integration&&M(P)]})]})},M=s=>Object.keys(s).map(y=>o.jsxs("div",{children:[o.jsx("h5",{children:`${y} - `}),o.jsx("div",{className:"m-0 ml-6",children:s[y].map(P=>{const O=JSON.parse(P.api_type);return o.jsxs("div",{className:"flx",children:[o.jsx("p",{className:"mr-2",children:`${O.type_name} ${O.type} ${P.response_type}`}),o.jsx(Pl,{value:P.response_obj,className:"field-key-cpy w-0 ml-0",readOnly:!0})]})})})]})),w=s=>{const y=g.find(O=>O===s.id),P=JSON.parse(s.content);if(s.content!==null)return o.jsxs(o.Fragment,{children:[o.jsxs("p",{children:[D("Note")," ",s.action_type==="create"&&D("Added"),s.action_type==="update"&&D("Updated"),s.action_type==="delete"&&D("Deleted"),":"]}),P.title&&o.jsx("h4",{children:P.title}),o.jsx("div",{children:o.jsx(fi,{html:y?P.content||"":q(P.content||"",20)})}),!y&&(P.content||"").length>20&&o.jsx("small",{role:"button",tabIndex:"0",className:"btcd-link",onClick:()=>R(s.id),onKeyDown:()=>R(s.id),children:D("Read More")}),y&&o.jsx("small",{role:"button",tabIndex:"0",className:"btcd-link",onClick:()=>E(s.id),onKeyDown:()=>E(s.id),children:D("Show Less")})]});if(s.content===null&&s.action_type==="update")return o.jsx("p",{children:D("Note no change")})};return o.jsx(o.Fragment,{children:C?o.jsx(Nt,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}):i.map(s=>o.jsxs("div",{children:[o.jsx("br",{}),o.jsx("span",{children:ut(s.created_at,l)}),o.jsx("div",{children:s.log_type==="entry"?L(s):w(s)})]},s.id))})}var ss=B.memo(os);function ds({rowDtl:r}){var l,i,d,m,T,g,j,C,k,$,q,R,E,L,M,w;const[a,e]=B.useState([]),[n,t]=B.useState(!1);return B.useEffect(()=>{t(!0),Ze({gclid:r==null?void 0:r.GCLID},"bitforms_get_gclid_info").then(s=>{s!==void 0&&s.success&&s.data[0]&&e(JSON.parse(s.data[0].gclid_response)),t(!1)})},[]),o.jsx(o.Fragment,{children:n?o.jsx(Nt,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}):o.jsx("div",{children:o.jsx("table",{className:"btcd-row-detail-tbl",children:o.jsxs("tbody",{children:[o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Account"}),o.jsx("td",{className:"td",children:(l=a["@attributes"])==null?void 0:l.account})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Campaign ID"}),o.jsx("td",{className:"td",children:(i=a["@attributes"])==null?void 0:i.campaignID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"AdGroup Id"}),o.jsx("td",{className:"td",children:(d=a["@attributes"])==null?void 0:d.adGroupID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad Id"}),o.jsx("td",{className:"td",children:(m=a["@attributes"])==null?void 0:m.adID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Keyword Id"}),o.jsx("td",{className:"td",children:(T=a["@attributes"])==null?void 0:T.keywordID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Keyword"}),o.jsx("td",{className:"td",children:(g=a["@attributes"])==null?void 0:g.CriteriaParameters})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Match type"}),o.jsx("td",{className:"td",children:(j=a["@attributes"])==null?void 0:j.KeywordMatchType})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Click type"}),o.jsx("td",{className:"td",children:(C=a["@attributes"])==null?void 0:C.clickType})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Device Type"}),o.jsx("td",{className:"td",children:(k=a["@attributes"])==null?void 0:k.device})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Search Partner Network"}),o.jsx("td",{className:"td",children:($=a["@attributes"])==null?void 0:$.networkWithSearchPartners})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad Campaign Name"}),o.jsx("td",{className:"td",children:(q=a["@attributes"])==null?void 0:q.campaign})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad group Name"}),o.jsx("td",{className:"td",children:(R=a["@attributes"])==null?void 0:R.adGroup})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad Network"}),o.jsx("td",{className:"td",children:(E=a["@attributes"])==null?void 0:E.network})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad Click Date"}),o.jsx("td",{className:"td",children:(L=a["@attributes"])==null?void 0:L.day})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Customer ID"}),o.jsx("td",{className:"td",children:(M=a["@attributes"])==null?void 0:M.customerID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"GCLID"}),o.jsx("td",{className:"td",children:(w=a["@attributes"])==null?void 0:w.googleClickID})]})]})})})})}function cs({entryID:r,rowDtl:a,setSnackbar:e,close:n}){const t=xe(ui),{formType:l}=Dt(),i=xe(lr),d=xe(da),m=i.filter(k=>Aa.includes(k.type)),{css:T}=lt(),g=xe(ct),j=xe(La),C=`/form/settings/${l}/${t}/pdf-templates`;return o.jsxs(io,{selectedTabClassName:"s-t-l-active",children:[o.jsxs(lo,{className:"flx m-0",children:[!!(m!=null&&m.length)&&o.jsx(_r,{className:"btcd-s-tab-link",children:D("Payment")}),o.jsx(_r,{className:"btcd-s-tab-link",children:D("Timeline")}),o.jsx(_r,{className:"btcd-s-tab-link",children:D("Notes")}),(g==null?void 0:g.isPro)&&o.jsx(_r,{className:"btcd-s-tab-link",children:D("PDF Downloads")}),!!(a!=null&&a.GCLID)&&o.jsx(_r,{className:"btcd-s-tab-link",children:D("Google Ads Information")})]}),!!(m!=null&&m.length)&&o.jsx(vr,{children:o.jsx(ls,{formID:t,rowDtl:a})}),o.jsx(vr,{children:o.jsx(ss,{formID:t,entryID:r,integrations:d})}),o.jsx(vr,{children:o.jsx(Jo,{formID:t,entryID:r,allLabels:i,setSnackbar:e,rowDtl:a})}),o.jsx(vr,{children:o.jsxs("div",{className:T({ml:10,fs:14,mt:10}),children:[o.jsx(pn,{to:C,children:o.jsx("button",{type:"button",className:T(jt.btn),children:"Create new template"})}),j.length===0?o.jsx("div",{className:T({mt:20,cr:"red"}),children:D("No PDF templates available")}):j.map((k,$)=>o.jsxs("div",{className:T($n.pdfTemplateContainer),children:[o.jsxs("a",{target:"_blank",href:`${window.origin}?bitform-download-pdf=1&formID=${t}&pdftemp=${k.id}&entryId=${r}`,rel:"noreferrer",children:[o.jsx(pi,{size:14}),o.jsx("span",{className:T({ml:5}),children:k==null?void 0:k.title})]}),o.jsx(pn,{to:`${C}/${$}`,className:`pdf-edit-btn icn-btn ml-1 tooltip pos-rel ${T($n.editPdfButton)}`,style:{"--tooltip-txt":`'${D("Edit")}'`,fontSize:16},children:o.jsx(Fr,{size:"15"})})]},k.id))]})}),!!(a!=null&&a.GCLID)&&o.jsx(vr,{children:o.jsx(ds,{rowDtl:a})})]})}var vi=B.memo(cs);const $n={pdfTemplateContainer:{mt:20,display:"flex",alignItems:"center",gap:"5rem",width:"fit-content","&:hover .pdf-edit-btn":{opacity:1,visibility:"visible"}},editPdfButton:{opacity:0,visibility:"hidden",transition:"0.3s ease",display:"flex",alignItems:"center",justifyContent:"center"}};function fs({entryID:r,rowDtl:a,setSnackbar:e,close:n}){return o.jsx(nr,{lg:!0,show:!0,setModal:n,title:D("Related Info"),children:o.jsx(vi,{entryID:r,rowDtl:a,setSnackbar:e,close:n})})}function us({size:r}){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",children:o.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"m9 6l3-3m0 0l3 3m-3-3v10m-5-3c-.932 0-1.398 0-1.765.152a2 2 0 0 0-1.083 1.083C4 11.602 4 12.068 4 13v4.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874c.427.218.987.218 2.105.218h9.607c1.118 0 1.677 0 2.104-.218c.376-.192.682-.498.874-.874c.218-.428.218-.987.218-2.105V13c0-.932 0-1.398-.152-1.765a2 2 0 0 0-1.083-1.083C18.398 10 17.932 10 17 10"})})}function yi({options:r,placeholder:a,action:e,className:n,isMultiple:t,allowCustomOpt:l,value:i,addable:d,titleClassName:m,title:T,jsonValue:g,disabled:j=!1,tip:C}){const{css:k}=lt(),[$,q]=B.useState(i);return B.useEffect(()=>{q(""),setTimeout(()=>{q(i)},1)},[i,r,g]),o.jsxs("div",{className:m,children:[o.jsx("span",{children:T}),C?o.jsx(oo,{icnSize:14,children:C}):"",o.jsx(hi,{width:"100%",defaultValue:$,className:`${k(ps.multiselectInput)} ${n}`,onChange:e,singleSelect:!t,customValue:l||d,placeholder:a,jsonValue:g,options:r||[],disabled:j})]})}const ps={multiselectInput:{fs:14,fw:500,mt:10,"& .msl":{bd:"var(--bf-bg-white)",b:0,"&.msl-active-up":{"border-bottom-left-radius":0,"border-bottom-right-radius":0,"border-top-left-radius":"8px","border-top-right-radius":"8px",background:"#fff !important"},"& .msl-input":{p:3,cr:"#2c3338"}},"& .msl-active-up~.msl-options":{"max-height":"300px","-webkit-clip-path":"inset(0px -10px 0 -10px)","clip-path":"inset(0px -10px 0 -10px)"},"&.msl-vars":{w:"99% !important","--font-size":"12px","--border-radius":"var(--bf-bdr-radius-sm)"},"&.msl-wrp > .msl-options":{pn:"absolute !important","border-top-left-radius":0,"border-top-right-radius":0,"& div > .msl-option":{p:"4px 4px",brs:"var(--bf-bdr-radius-sm)"}},"& > .msl-wrp > .msl-active-up":{brs:"var(--bf-bdr-radius-sm)",bblr:"0 !important",bbrr:"0 !important"},b:"1px solid #e6e6e6 !important","::placeholder":{cr:"hsl(215deg 16% 57%)",fs:12},":focus":{bs:"0 0 0 1px var(--b-50) !important",bcr:"var(--b-50)!important"}}};function bs({showExportMdl:r,close:a,cols:e,formID:n,report:t}){const[l,i]=B.useState({show:!1}),[d,m]=B.useState(!1),{css:T}=lt(),[g,j]=B.useState({fileFormate:"csv",sort:"ASC",sortField:"bitforms_form_entry_id",limit:null,custom:"all",formId:n,filter:"All Entries",selectedField:""}),[C,k]=B.useState([]),$=B.useRef(),{order:q,hidden:R}=B.useMemo(()=>{var y,P,O,S;return{order:t?(P=(y=t[t.length-1])==null?void 0:y.details)==null?void 0:P.order:["bf3-1-"],hidden:t?(S=(O=t[t.length-1])==null?void 0:O.details)==null?void 0:S.hiddenColumns:[]}},[t]),E=B.useMemo(()=>e.filter(y=>y.Header!=="#"&&typeof y.Header!="object"),[e]),L=B.useMemo(()=>{const y=[];let P=0;return E.map(O=>{R!=null&&R.includes(O.accessor)||(y[P]={key:O.accessor,val:O.Header},P+=1)}),y},[E,R]);B.useEffect(()=>{var O;const y=((O=t.find(S=>S.details.report_name===g.filter))==null?void 0:O.details.hiddenColumns)||[],P=E.filter(S=>!(y!=null&&y.includes(S.accessor))).map(S=>({label:S.Header,value:S.accessor}));k(P),$.current=JSON.stringify(P.map(S=>S.value))},[t,e,g.filter]);const M=y=>{$.current=y.split(",");const P=E.filter(O=>y.split(",").includes(O.accessor)).map(O=>({label:O.Header,value:O.accessor}));k(P)},w=y=>bt(null,null,function*(){var S,_;y.preventDefault();const P=de({},g),O=t.find(c=>c.details.report_name===g.filter);if(P.filter=O?O.details.conditions||[]:[],P.selectedField=JSON.stringify(C.map(c=>c.value)),C.length<1)return i({show:!0,msg:D("Please select at least one column")});m(!0);try{const c=yield Ze({data:P},"bitforms_filter_export_data");if(c!==void 0&&c.success&&((S=c.data)==null?void 0:S.count)!==0){const v=yield fa(()=>import("./bf-923-56.js"),[],import.meta.url),p=["Entry ID",...C.map(G=>G.label)],A=v.utils.json_to_sheet(c.data),F=v.utils.book_new();v.utils.sheet_add_aoa(A,[p]),v.utils.book_append_sheet(F,A),v.writeFile(F,`bitform ${n}.${P==null?void 0:P.fileFormate}`)}else c!==void 0&&c.success&&((_=c.data)==null?void 0:_.count)===0&&i({show:!0,msg:D("no response found")})}finally{m(!1)}}),s=(y,P)=>{j(O=>Qe(de({},O),{[y]:typeof P=="number"?Number(P):P}))};return o.jsxs("div",{children:[o.jsx(Wa,{snack:l,setSnackbar:i}),o.jsx(nr,{md:!0,show:r,setModal:a,title:"Export Data",style:{overflow:"auto"},children:o.jsxs("div",{children:[o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:D("How many rows to export")}),o.jsxs("select",{className:"btcd-paper-inp ml-2",name:"custom",style:{width:250},onChange:y=>s(y.target.name,y.target.value),value:g.custom||"",children:[o.jsx("option",{disabled:!0,value:"0",children:"Choose option"}),o.jsx("option",{value:"all",children:"All"}),o.jsx("option",{value:"custom",children:"Custom"})]})]}),g.custom==="custom"&&o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:D("Enter row number")}),o.jsx("input",{"aria-label":"Export Row Number",type:"text",style:{width:250},name:"limit",onChange:y=>s(y.target.name,y.target.value),className:"btcd-paper-inp mt-2",placeholder:"Export Row Number",value:g.limit||""})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:D("Select filter")}),o.jsx("select",{className:"btcd-paper-inp ml-2",name:"filter",style:{width:250},onChange:y=>s(y.target.name,y.target.value),value:g.filter,children:t==null?void 0:t.map(y=>o.jsx("option",{value:y.details.report_name,children:y.details.report_name},y.id))})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:D("Select columns")}),o.jsx("div",{className:"w-4 ",style:{paddingRight:"14px"},children:o.jsx(yi,{placeholder:"Select column",className:T({"&.msl-wrp":{margin:"0 0 0 10px!important",transition:"all 0.2s ease!important","&:hover":{borderColor:"black!important"}},"&.msl-wrp > .msl":{"background-color":"#fff!important"}}),isMultiple:!0,action:M,options:E.map(y=>({label:y.Header,value:y.accessor})),value:C})})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:D("Sort Order")}),o.jsxs("select",{className:"btcd-paper-inp ml-2",name:"sort",style:{width:250},value:g.sort||"ASC",onChange:y=>s(y.target.name,y.target.value),children:[o.jsx("option",{value:"ASC",children:"Ascending"}),o.jsx("option",{value:"DESC",children:"Descending"})]})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:D("Sort by")}),o.jsxs("select",{className:"btcd-paper-inp ml-2",name:"sortField",value:g.sortField||"bitforms_form_entry_id",onChange:y=>s(y.target.name,y.target.value),style:{width:250},children:[o.jsx("option",{value:"bitforms_form_entry_id",children:"ID"}),L.map(y=>o.jsx("option",{value:y.key,children:y.val},y.key))]})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:D("Export File Format")}),o.jsxs("select",{className:"btcd-paper-inp ml-2",name:"fileFormate",value:g.fileFormate||"csv",style:{width:250},onChange:y=>s(y.target.name,y.target.value),children:[o.jsx("option",{value:"csv",children:"CSV"}),o.jsx("option",{value:"xlsx",children:"Xlsx"}),o.jsx("option",{value:"xls",children:"Xls"}),o.jsx("option",{value:"fods",children:"Fods"}),o.jsx("option",{value:"ods",children:"Ods"}),o.jsx("option",{value:"prn",children:"Prn"}),o.jsx("option",{value:"txt",children:"Text"}),o.jsx("option",{value:"html",children:"Html"}),o.jsx("option",{value:"eth",children:"Eth"})]})]}),o.jsxs(St,{onClick:y=>w(y),disabled:d,className:T(kt.mt1),size:"sm",children:[D("Export"),d&&o.jsx(or,{size:20,clr:"#fff",className:"ml-2"})]})]})})]})}function ms({formID:r,cols:a,report:e}){const[n,t]=B.useState(!1),{css:l}=lt(),i=()=>{t(!0)};return o.jsxs("div",{children:[o.jsx(bs,{showExportMdl:n,close:t,formID:r,cols:a,report:e}),o.jsx(ar,{msg:D("Export Form Data"),children:o.jsx("button",{onClick:i,className:l(Mr.tableActionBtn),type:"button",children:o.jsx(us,{size:"18"})})})]})}function ta(r){return o.jsxs("div",{className:"btcd-t-link flx mr-2 prevent-drawer",children:[o.jsx("div",{className:"tooltip",style:{"--tooltip-txt":`"${r.fname}"`,width:`${r.width?r.width:"80"}px`},children:o.jsxs("a",{href:`${r.link}`,rel:"noopener noreferrer",target:"_blank",className:"prevent-drawer",children:[o.jsx(jl,{size:"30"})," ",r.fname]})}),o.jsx("a",{title:"Download",target:"_blank",href:`${r.link}&download`,download:!0,rel:"noopener noreferrer","aria-label":"Download",className:"icn-btn icn-btn-sm flx prevent-drawer",children:o.jsx(pi,{size:"15"})})]})}function hs(r){const{formID:a}=Dt(),e=xe(ct),n=xe(sr),{title:t,rptData:l,entryId:i}=r,d=bi(l)?JSON.parse(l):[],g=[...d.reduce((k,$)=>(Object.keys($||{}).forEach(q=>k.add(q)),k),new Set)].filter(k=>{var $,q;return!["divider","spacer","image","title"].includes(($=n[k])==null?void 0:$.typ)&&!((q=n[k])!=null&&q.parentFieldKey)}).map(k=>{var q;const $=n[k]||{};return de({Header:$.adminLbl||$.lbl||$.fieldName||k,accessor:k,fieldType:$.typ,minWidth:50},((q=$.typ)==null?void 0:q.match(/^(file-up|check|select|image-select|signature|name|address)$/))&&{Cell:R=>{if(R.cell.value!==null&&R.cell.value!==void 0&&R.cell.value!==""){if($.typ==="file-up")return o.jsx(o.Fragment,{children:Pa(R.cell.value).map((E,L)=>o.jsx(ta,{fname:E,link:`${e.baseDLURL}formID=${a}&entryID=${i}&fileID=${E}`},`file-n-${R.cell.row.index+L}`))});if($.typ==="signature")return o.jsx(ta,{fname:R.cell.value,link:`${e.baseDLURL}formID=${a}&entryID=${i}&fileID=${R.cell.value}`});if($.typ==="check"||$.typ==="select"||$.typ==="image-select")try{if(Array.isArray(R.cell.value))return R.cell.value.join(", ");const E=typeof R.cell.value=="string"&&R.cell.value.length>0&&R.cell.value[0]==="["?JSON.parse(R.cell.value):R.cell.value!==void 0&&R.cell.value.split(",");return E.map((L,M)=>M<E.length-1?`${L},`:L)}catch(E){return R.cell.value}return $.typ==="name"||$.typ==="address"?ja(R.cell.value,$.typ==="address"?", ":" "):R.cell.value}return null}})})||[],j=!1,C=d.length;return o.jsx(nr,{lg:!0,show:!0,setModal:r.close,title:D(`${t} Data List`),children:o.jsx(mi,{className:"f-table btcd-entries-f",height:"76vh",columns:g,data:d,loading:j,countEntries:C,resizable:!0})})}var ka={},yr={},$r={},Vt={},Sa={exports:{}};var xn;function Jt(){return xn||(xn=1,(function(r){(function(){var a={}.hasOwnProperty;function e(){for(var l="",i=0;i<arguments.length;i++){var d=arguments[i];d&&(l=t(l,n(d)))}return l}function n(l){if(typeof l=="string"||typeof l=="number")return l;if(typeof l!="object")return"";if(Array.isArray(l))return e.apply(null,l);if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]"))return l.toString();var i="";for(var d in l)a.call(l,d)&&l[d]&&(i=t(i,d));return i}function t(l,i){return i?l?l+" "+i:l+i:l}r.exports?(e.default=e,r.exports=e):window.classNames=e})()})(Sa)),Sa.exports}function vt(r){"@babel/helpers - typeof";return vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},vt(r)}function Te(r,a){if(a.length<r)throw new TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+a.length+" present")}function Ce(r){Te(1,arguments);var a=Object.prototype.toString.call(r);return r instanceof Date||vt(r)==="object"&&a==="[object Date]"?new Date(r.getTime()):typeof r=="number"||a==="[object Number]"?new Date(r):new Date(NaN)}function gs(r){Te(1,arguments);var a=Ce(r);return a.setHours(23,59,59,999),a}var _s=Object.freeze({__proto__:null,default:gs}),Ua=ze(_s);function vs(r,a){Te(2,arguments);var e=Ce(r),n=Ce(a);return e.getTime()<n.getTime()}var ys=Object.freeze({__proto__:null,default:vs}),Ya=ze(ys);function $s(r,a){Te(2,arguments);var e=Ce(r),n=Ce(a);return e.getTime()>n.getTime()}var xs=Object.freeze({__proto__:null,default:$s}),$i=ze(xs);function Rr(r){Te(1,arguments);var a=Ce(r);return a.setHours(0,0,0,0),a}var ws=Object.freeze({__proto__:null,default:Rr});function ks(r,a){Te(2,arguments);var e=Rr(r),n=Rr(a);return e.getTime()===n.getTime()}var Ss=Object.freeze({__proto__:null,default:ks}),pa=ze(Ss);function Ds(r){return Te(1,arguments),r instanceof Date||vt(r)==="object"&&Object.prototype.toString.call(r)==="[object Date]"}function xi(r){if(Te(1,arguments),!Ds(r)&&typeof r!="number")return!1;var a=Ce(r);return!isNaN(Number(a))}var Cs=Object.freeze({__proto__:null,default:xi});function et(r){if(r===null||r===!0||r===!1)return NaN;var a=Number(r);return isNaN(a)?a:a<0?Math.ceil(a):Math.floor(a)}function Os(r,a){Te(2,arguments);var e=Ce(r).getTime(),n=et(a);return new Date(e+n)}function wi(r,a){Te(2,arguments);var e=et(a);return Os(r,-e)}var Ts=864e5;function Ps(r){Te(1,arguments);var a=Ce(r),e=a.getTime();a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0);var n=a.getTime(),t=e-n;return Math.floor(t/Ts)+1}function ir(r){Te(1,arguments);var a=1,e=Ce(r),n=e.getUTCDay(),t=(n<a?7:0)+n-a;return e.setUTCDate(e.getUTCDate()-t),e.setUTCHours(0,0,0,0),e}function ki(r){Te(1,arguments);var a=Ce(r),e=a.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(e+1,0,4),n.setUTCHours(0,0,0,0);var t=ir(n),l=new Date(0);l.setUTCFullYear(e,0,4),l.setUTCHours(0,0,0,0);var i=ir(l);return a.getTime()>=t.getTime()?e+1:a.getTime()>=i.getTime()?e:e-1}function js(r){Te(1,arguments);var a=ki(r),e=new Date(0);e.setUTCFullYear(a,0,4),e.setUTCHours(0,0,0,0);var n=ir(e);return n}var Ns=6048e5;function Si(r){Te(1,arguments);var a=Ce(r),e=ir(a).getTime()-js(a).getTime();return Math.round(e/Ns)+1}var Ms={};function Ht(){return Ms}function Qt(r,a){var e,n,t,l,i,d,m,T;Te(1,arguments);var g=Ht(),j=et((e=(n=(t=(l=a==null?void 0:a.weekStartsOn)!==null&&l!==void 0?l:a==null||(i=a.locale)===null||i===void 0||(d=i.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&t!==void 0?t:g.weekStartsOn)!==null&&n!==void 0?n:(m=g.locale)===null||m===void 0||(T=m.options)===null||T===void 0?void 0:T.weekStartsOn)!==null&&e!==void 0?e:0);if(!(j>=0&&j<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var C=Ce(r),k=C.getUTCDay(),$=(k<j?7:0)+k-j;return C.setUTCDate(C.getUTCDate()-$),C.setUTCHours(0,0,0,0),C}function Va(r,a){var e,n,t,l,i,d,m,T;Te(1,arguments);var g=Ce(r),j=g.getUTCFullYear(),C=Ht(),k=et((e=(n=(t=(l=a==null?void 0:a.firstWeekContainsDate)!==null&&l!==void 0?l:a==null||(i=a.locale)===null||i===void 0||(d=i.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:C.firstWeekContainsDate)!==null&&n!==void 0?n:(m=C.locale)===null||m===void 0||(T=m.options)===null||T===void 0?void 0:T.firstWeekContainsDate)!==null&&e!==void 0?e:1);if(!(k>=1&&k<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var $=new Date(0);$.setUTCFullYear(j+1,0,k),$.setUTCHours(0,0,0,0);var q=Qt($,a),R=new Date(0);R.setUTCFullYear(j,0,k),R.setUTCHours(0,0,0,0);var E=Qt(R,a);return g.getTime()>=q.getTime()?j+1:g.getTime()>=E.getTime()?j:j-1}function Rs(r,a){var e,n,t,l,i,d,m,T;Te(1,arguments);var g=Ht(),j=et((e=(n=(t=(l=a==null?void 0:a.firstWeekContainsDate)!==null&&l!==void 0?l:a==null||(i=a.locale)===null||i===void 0||(d=i.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:g.firstWeekContainsDate)!==null&&n!==void 0?n:(m=g.locale)===null||m===void 0||(T=m.options)===null||T===void 0?void 0:T.firstWeekContainsDate)!==null&&e!==void 0?e:1),C=Va(r,a),k=new Date(0);k.setUTCFullYear(C,0,j),k.setUTCHours(0,0,0,0);var $=Qt(k,a);return $}var Es=6048e5;function Di(r,a){Te(1,arguments);var e=Ce(r),n=Qt(e,a).getTime()-Rs(e,a).getTime();return Math.round(n/Es)+1}function He(r,a){for(var e=r<0?"-":"",n=Math.abs(r).toString();n.length<a;)n="0"+n;return e+n}var zt={y:function(a,e){var n=a.getUTCFullYear(),t=n>0?n:1-n;return He(e==="yy"?t%100:t,e.length)},M:function(a,e){var n=a.getUTCMonth();return e==="M"?String(n+1):He(n+1,2)},d:function(a,e){return He(a.getUTCDate(),e.length)},a:function(a,e){var n=a.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h:function(a,e){return He(a.getUTCHours()%12||12,e.length)},H:function(a,e){return He(a.getUTCHours(),e.length)},m:function(a,e){return He(a.getUTCMinutes(),e.length)},s:function(a,e){return He(a.getUTCSeconds(),e.length)},S:function(a,e){var n=e.length,t=a.getUTCMilliseconds(),l=Math.floor(t*Math.pow(10,n-3));return He(l,e.length)}},tr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Is={G:function(a,e,n){var t=a.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"});case"GGGGG":return n.era(t,{width:"narrow"});default:return n.era(t,{width:"wide"})}},y:function(a,e,n){if(e==="yo"){var t=a.getUTCFullYear(),l=t>0?t:1-t;return n.ordinalNumber(l,{unit:"year"})}return zt.y(a,e)},Y:function(a,e,n,t){var l=Va(a,t),i=l>0?l:1-l;if(e==="YY"){var d=i%100;return He(d,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):He(i,e.length)},R:function(a,e){var n=ki(a);return He(n,e.length)},u:function(a,e){var n=a.getUTCFullYear();return He(n,e.length)},Q:function(a,e,n){var t=Math.ceil((a.getUTCMonth()+1)/3);switch(e){case"Q":return String(t);case"QQ":return He(t,2);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});default:return n.quarter(t,{width:"wide",context:"formatting"})}},q:function(a,e,n){var t=Math.ceil((a.getUTCMonth()+1)/3);switch(e){case"q":return String(t);case"qq":return He(t,2);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});default:return n.quarter(t,{width:"wide",context:"standalone"})}},M:function(a,e,n){var t=a.getUTCMonth();switch(e){case"M":case"MM":return zt.M(a,e);case"Mo":return n.ordinalNumber(t+1,{unit:"month"});case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});default:return n.month(t,{width:"wide",context:"formatting"})}},L:function(a,e,n){var t=a.getUTCMonth();switch(e){case"L":return String(t+1);case"LL":return He(t+1,2);case"Lo":return n.ordinalNumber(t+1,{unit:"month"});case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});default:return n.month(t,{width:"wide",context:"standalone"})}},w:function(a,e,n,t){var l=Di(a,t);return e==="wo"?n.ordinalNumber(l,{unit:"week"}):He(l,e.length)},I:function(a,e,n){var t=Si(a);return e==="Io"?n.ordinalNumber(t,{unit:"week"}):He(t,e.length)},d:function(a,e,n){return e==="do"?n.ordinalNumber(a.getUTCDate(),{unit:"date"}):zt.d(a,e)},D:function(a,e,n){var t=Ps(a);return e==="Do"?n.ordinalNumber(t,{unit:"dayOfYear"}):He(t,e.length)},E:function(a,e,n){var t=a.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})}},e:function(a,e,n,t){var l=a.getUTCDay(),i=(l-t.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return He(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(l,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(l,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(l,{width:"short",context:"formatting"});default:return n.day(l,{width:"wide",context:"formatting"})}},c:function(a,e,n,t){var l=a.getUTCDay(),i=(l-t.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return He(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(l,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(l,{width:"narrow",context:"standalone"});case"cccccc":return n.day(l,{width:"short",context:"standalone"});default:return n.day(l,{width:"wide",context:"standalone"})}},i:function(a,e,n){var t=a.getUTCDay(),l=t===0?7:t;switch(e){case"i":return String(l);case"ii":return He(l,e.length);case"io":return n.ordinalNumber(l,{unit:"day"});case"iii":return n.day(t,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(t,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(t,{width:"short",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})}},a:function(a,e,n){var t=a.getUTCHours(),l=t/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(l,{width:"narrow",context:"formatting"});default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},b:function(a,e,n){var t=a.getUTCHours(),l;switch(t===12?l=tr.noon:t===0?l=tr.midnight:l=t/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(l,{width:"narrow",context:"formatting"});default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},B:function(a,e,n){var t=a.getUTCHours(),l;switch(t>=17?l=tr.evening:t>=12?l=tr.afternoon:t>=4?l=tr.morning:l=tr.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(l,{width:"narrow",context:"formatting"});default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},h:function(a,e,n){if(e==="ho"){var t=a.getUTCHours()%12;return t===0&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return zt.h(a,e)},H:function(a,e,n){return e==="Ho"?n.ordinalNumber(a.getUTCHours(),{unit:"hour"}):zt.H(a,e)},K:function(a,e,n){var t=a.getUTCHours()%12;return e==="Ko"?n.ordinalNumber(t,{unit:"hour"}):He(t,e.length)},k:function(a,e,n){var t=a.getUTCHours();return t===0&&(t=24),e==="ko"?n.ordinalNumber(t,{unit:"hour"}):He(t,e.length)},m:function(a,e,n){return e==="mo"?n.ordinalNumber(a.getUTCMinutes(),{unit:"minute"}):zt.m(a,e)},s:function(a,e,n){return e==="so"?n.ordinalNumber(a.getUTCSeconds(),{unit:"second"}):zt.s(a,e)},S:function(a,e){return zt.S(a,e)},X:function(a,e,n,t){var l=t._originalDate||a,i=l.getTimezoneOffset();if(i===0)return"Z";switch(e){case"X":return kn(i);case"XXXX":case"XX":return Kt(i);default:return Kt(i,":")}},x:function(a,e,n,t){var l=t._originalDate||a,i=l.getTimezoneOffset();switch(e){case"x":return kn(i);case"xxxx":case"xx":return Kt(i);default:return Kt(i,":")}},O:function(a,e,n,t){var l=t._originalDate||a,i=l.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+wn(i,":");default:return"GMT"+Kt(i,":")}},z:function(a,e,n,t){var l=t._originalDate||a,i=l.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+wn(i,":");default:return"GMT"+Kt(i,":")}},t:function(a,e,n,t){var l=t._originalDate||a,i=Math.floor(l.getTime()/1e3);return He(i,e.length)},T:function(a,e,n,t){var l=t._originalDate||a,i=l.getTime();return He(i,e.length)}};function wn(r,a){var e=r>0?"-":"+",n=Math.abs(r),t=Math.floor(n/60),l=n%60;if(l===0)return e+String(t);var i=a;return e+String(t)+i+He(l,2)}function kn(r,a){if(r%60===0){var e=r>0?"-":"+";return e+He(Math.abs(r)/60,2)}return Kt(r,a)}function Kt(r,a){var e=a||"",n=r>0?"-":"+",t=Math.abs(r),l=He(Math.floor(t/60),2),i=He(t%60,2);return n+l+e+i}var Sn=function(a,e){switch(a){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},Ci=function(a,e){switch(a){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},Fs=function(a,e){var n=a.match(/(P+)(p+)?/)||[],t=n[1],l=n[2];if(!l)return Sn(a,e);var i;switch(t){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",Sn(t,e)).replace("{{time}}",Ci(l,e))},Na={p:Ci,P:Fs};function ra(r){var a=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return a.setUTCFullYear(r.getFullYear()),r.getTime()-a.getTime()}var As=["D","DD"],Ls=["YY","YYYY"];function Oi(r){return As.indexOf(r)!==-1}function Ti(r){return Ls.indexOf(r)!==-1}function aa(r,a,e){if(r==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(a,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(a,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(a,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(a,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var qs={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},zs=function(a,e,n){var t,l=qs[a];return typeof l=="string"?t=l:e===1?t=l.one:t=l.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+t:t+" ago":t};function Da(r){return function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=a.width?String(a.width):r.defaultWidth,n=r.formats[e]||r.formats[r.defaultWidth];return n}}var Ws={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Hs={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Bs={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Us={date:Da({formats:Ws,defaultWidth:"full"}),time:Da({formats:Hs,defaultWidth:"full"}),dateTime:Da({formats:Bs,defaultWidth:"full"})},Ys={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Vs=function(a,e,n,t){return Ys[a]};function xr(r){return function(a,e){var n=e!=null&&e.context?String(e.context):"standalone",t;if(n==="formatting"&&r.formattingValues){var l=r.defaultFormattingWidth||r.defaultWidth,i=e!=null&&e.width?String(e.width):l;t=r.formattingValues[i]||r.formattingValues[l]}else{var d=r.defaultWidth,m=e!=null&&e.width?String(e.width):r.defaultWidth;t=r.values[m]||r.values[d]}var T=r.argumentCallback?r.argumentCallback(a):a;return t[T]}}var Gs={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ks={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Qs={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Js={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Xs={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Zs={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ed=function(a,e){var n=Number(a),t=n%100;if(t>20||t<10)switch(t%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},td={ordinalNumber:ed,era:xr({values:Gs,defaultWidth:"wide"}),quarter:xr({values:Ks,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:xr({values:Qs,defaultWidth:"wide"}),day:xr({values:Js,defaultWidth:"wide"}),dayPeriod:xr({values:Xs,defaultWidth:"wide",formattingValues:Zs,defaultFormattingWidth:"wide"})};function wr(r){return function(a){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.width,t=n&&r.matchPatterns[n]||r.matchPatterns[r.defaultMatchWidth],l=a.match(t);if(!l)return null;var i=l[0],d=n&&r.parsePatterns[n]||r.parsePatterns[r.defaultParseWidth],m=Array.isArray(d)?ad(d,function(j){return j.test(i)}):rd(d,function(j){return j.test(i)}),T;T=r.valueCallback?r.valueCallback(m):m,T=e.valueCallback?e.valueCallback(T):T;var g=a.slice(i.length);return{value:T,rest:g}}}function rd(r,a){for(var e in r)if(r.hasOwnProperty(e)&&a(r[e]))return e}function ad(r,a){for(var e=0;e<r.length;e++)if(a(r[e]))return e}function nd(r){return function(a){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.match(r.matchPattern);if(!n)return null;var t=n[0],l=a.match(r.parsePattern);if(!l)return null;var i=r.valueCallback?r.valueCallback(l[0]):l[0];i=e.valueCallback?e.valueCallback(i):i;var d=a.slice(t.length);return{value:i,rest:d}}}var id=/^(\d+)(th|st|nd|rd)?/i,ld=/\d+/i,od={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},sd={any:[/^b/i,/^(a|c)/i]},dd={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},cd={any:[/1/i,/2/i,/3/i,/4/i]},fd={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},ud={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},pd={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},bd={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},md={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},hd={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},gd={ordinalNumber:nd({matchPattern:id,parsePattern:ld,valueCallback:function(a){return parseInt(a,10)}}),era:wr({matchPatterns:od,defaultMatchWidth:"wide",parsePatterns:sd,defaultParseWidth:"any"}),quarter:wr({matchPatterns:dd,defaultMatchWidth:"wide",parsePatterns:cd,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:wr({matchPatterns:fd,defaultMatchWidth:"wide",parsePatterns:ud,defaultParseWidth:"any"}),day:wr({matchPatterns:pd,defaultMatchWidth:"wide",parsePatterns:bd,defaultParseWidth:"any"}),dayPeriod:wr({matchPatterns:md,defaultMatchWidth:"any",parsePatterns:hd,defaultParseWidth:"any"})},Ga={code:"en-US",formatDistance:zs,formatLong:Us,formatRelative:Vs,localize:td,match:gd,options:{weekStartsOn:0,firstWeekContainsDate:1}},_d=Object.freeze({__proto__:null,default:Ga}),vd=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,yd=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$d=/^'([^]*?)'?$/,xd=/''/g,wd=/[a-zA-Z]/;function kd(r,a,e){var n,t,l,i,d,m,T,g,j,C,k,$,q,R,E,L,M,w;Te(2,arguments);var s=String(a),y=Ht(),P=(n=(t=e==null?void 0:e.locale)!==null&&t!==void 0?t:y.locale)!==null&&n!==void 0?n:Ga,O=et((l=(i=(d=(m=e==null?void 0:e.firstWeekContainsDate)!==null&&m!==void 0?m:e==null||(T=e.locale)===null||T===void 0||(g=T.options)===null||g===void 0?void 0:g.firstWeekContainsDate)!==null&&d!==void 0?d:y.firstWeekContainsDate)!==null&&i!==void 0?i:(j=y.locale)===null||j===void 0||(C=j.options)===null||C===void 0?void 0:C.firstWeekContainsDate)!==null&&l!==void 0?l:1);if(!(O>=1&&O<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=et((k=($=(q=(R=e==null?void 0:e.weekStartsOn)!==null&&R!==void 0?R:e==null||(E=e.locale)===null||E===void 0||(L=E.options)===null||L===void 0?void 0:L.weekStartsOn)!==null&&q!==void 0?q:y.weekStartsOn)!==null&&$!==void 0?$:(M=y.locale)===null||M===void 0||(w=M.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&k!==void 0?k:0);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!P.localize)throw new RangeError("locale must contain localize property");if(!P.formatLong)throw new RangeError("locale must contain formatLong property");var _=Ce(r);if(!xi(_))throw new RangeError("Invalid time value");var c=ra(_),v=wi(_,c),p={firstWeekContainsDate:O,weekStartsOn:S,locale:P,_originalDate:_},A=s.match(yd).map(function(F){var G=F[0];if(G==="p"||G==="P"){var H=Na[G];return H(F,P.formatLong)}return F}).join("").match(vd).map(function(F){if(F==="''")return"'";var G=F[0];if(G==="'")return Sd(F);var H=Is[G];if(H)return!(e!=null&&e.useAdditionalWeekYearTokens)&&Ti(F)&&aa(F,a,String(r)),!(e!=null&&e.useAdditionalDayOfYearTokens)&&Oi(F)&&aa(F,a,String(r)),H(v,F,P.localize,p);if(G.match(wd))throw new RangeError("Format string contains an unescaped latin alphabet character `"+G+"`");return F}).join("");return A}function Sd(r){var a=r.match($d);return a?a[1].replace(xd,"'"):r}var Dd=Object.freeze({__proto__:null,default:kd}),ba=ze(Dd),Ka=ze(ws),Dn;function ma(){if(Dn)return Vt;Dn=1;function r(f){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(b){return typeof b}:r=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},r(f)}Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.default=Vt.rangeShape=void 0;var a=C(Mt()),e=g(Rt()),n=g(Jt()),t=g(Ua),l=g(Ya),i=g($i),d=g(pa),m=g(ba),T=g(Ka);function g(f){return f&&f.__esModule?f:{default:f}}function j(f){if(typeof WeakMap!="function")return null;var x=new WeakMap,b=new WeakMap;return(j=function(N){return N?b:x})(f)}function C(f,x){if(f&&f.__esModule)return f;if(f===null||r(f)!=="object"&&typeof f!="function")return{default:f};var b=j(x);if(b&&b.has(f))return b.get(f);var u={},N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in f)if(h!=="default"&&Object.prototype.hasOwnProperty.call(f,h)){var I=N?Object.getOwnPropertyDescriptor(f,h):null;I&&(I.get||I.set)?Object.defineProperty(u,h,I):u[h]=f[h]}return u.default=f,b&&b.set(f,u),u}function k(){return k=Object.assign||function(f){for(var x=1;x<arguments.length;x++){var b=arguments[x];for(var u in b)Object.prototype.hasOwnProperty.call(b,u)&&(f[u]=b[u])}return f},k.apply(this,arguments)}function $(f,x){var b=Object.keys(f);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(f);x&&(u=u.filter(function(N){return Object.getOwnPropertyDescriptor(f,N).enumerable})),b.push.apply(b,u)}return b}function q(f){for(var x=1;x<arguments.length;x++){var b=arguments[x]!=null?arguments[x]:{};x%2?$(Object(b),!0).forEach(function(u){G(f,u,b[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(b)):$(Object(b)).forEach(function(u){Object.defineProperty(f,u,Object.getOwnPropertyDescriptor(b,u))})}return f}function R(f){return w(f)||M(f)||L(f)||E()}function E(){throw new TypeError(`Invalid attempt to spread non-iterable instance. |
| 4 |
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var l,i=!0,d=!1;return{s:function(){e=e.call(r)},n:function(){var T=e.next();return i=T.done,T},e:function(T){d=!0,l=T},f:function(){try{i||e.return==null||e.return()}finally{if(d)throw l}}}}function ec(r,a){if(r==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(r[e]=a[e]);return r}function Ie(r,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(a&&a.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),a&&Nl(r,a)}function na(r){return na=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},na(r)}function Ri(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(a){}return(Ri=function(){return!!r})()}function tc(r,a){if(a&&(vt(a)=="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return he(r)}function Fe(r){var a=Ri();return function(){var e,n=na(r);if(a){var t=na(this).constructor;e=Reflect.construct(n,arguments,t)}else e=n.apply(this,arguments);return tc(this,e)}}function Re(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function rc(r,a){if(vt(r)!="object"||!r)return r;var e=r[Symbol.toPrimitive];if(e!==void 0){var n=e.call(r,a);if(vt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(r)}function Ei(r){var a=rc(r,"string");return vt(a)=="symbol"?a:a+""}function ac(r,a){for(var e=0;e<a.length;e++){var n=a[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,Ei(n.key),n)}}function Ee(r,a,e){return a&&ac(r.prototype,a),Object.defineProperty(r,"prototype",{writable:!1}),r}function pe(r,a,e){return(a=Ei(a))in r?Object.defineProperty(r,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[a]=e,r}var nc=10,Ii=(function(){function r(){Re(this,r),pe(this,"priority",void 0),pe(this,"subPriority",0)}return Ee(r,[{key:"validate",value:function(e,n){return!0}}]),r})(),ic=(function(r){Ie(e,r);var a=Fe(e);function e(n,t,l,i,d){var m;return Re(this,e),m=a.call(this),m.value=n,m.validateValue=t,m.setValue=l,m.priority=i,d&&(m.subPriority=d),m}return Ee(e,[{key:"validate",value:function(t,l){return this.validateValue(t,this.value,l)}},{key:"set",value:function(t,l,i){return this.setValue(t,l,this.value,i)}}]),e})(Ii),lc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",nc),pe(he(n),"subPriority",-1),n}return Ee(e,[{key:"set",value:function(t,l){if(l.timestampIsSet)return t;var i=new Date(0);return i.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),i.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),i}}]),e})(Ii),Ae=(function(){function r(){Re(this,r),pe(this,"incompatibleTokens",void 0),pe(this,"priority",void 0),pe(this,"subPriority",void 0)}return Ee(r,[{key:"run",value:function(e,n,t,l){var i=this.parse(e,n,t,l);return i?{setter:new ic(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(e,n,t){return!0}}]),r})(),oc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",140),pe(he(n),"incompatibleTokens",["R","u","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}},{key:"set",value:function(t,l,i){return l.era=i,t.setUTCFullYear(i,0,1),t.setUTCHours(0,0,0,0),t}}]),e})(Ae),sc=6e4,dc=36e5,cc=1e3,at={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},xt={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function nt(r,a){return r&&{value:a(r.value),rest:r.rest}}function Je(r,a){var e=a.match(r);return e?{value:parseInt(e[0],10),rest:a.slice(e[0].length)}:null}function wt(r,a){var e=a.match(r);if(!e)return null;if(e[0]==="Z")return{value:0,rest:a.slice(1)};var n=e[1]==="+"?1:-1,t=e[2]?parseInt(e[2],10):0,l=e[3]?parseInt(e[3],10):0,i=e[5]?parseInt(e[5],10):0;return{value:n*(t*dc+l*sc+i*cc),rest:a.slice(e[0].length)}}function Fi(r){return Je(at.anyDigitsSigned,r)}function tt(r,a){switch(r){case 1:return Je(at.singleDigit,a);case 2:return Je(at.twoDigits,a);case 3:return Je(at.threeDigits,a);case 4:return Je(at.fourDigits,a);default:return Je(new RegExp("^\\d{1,"+r+"}"),a)}}function ia(r,a){switch(r){case 1:return Je(at.singleDigitSigned,a);case 2:return Je(at.twoDigitsSigned,a);case 3:return Je(at.threeDigitsSigned,a);case 4:return Je(at.fourDigitsSigned,a);default:return Je(new RegExp("^-?\\d{1,"+r+"}"),a)}}function Za(r){switch(r){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Ai(r,a){var e=a>0,n=e?a:1-a,t;if(n<=50)t=r||100;else{var l=n+50,i=Math.floor(l/100)*100,d=r>=l%100;t=r+i-(d?100:0)}return e?t:1-t}function Li(r){return r%400===0||r%4===0&&r%100!==0}var fc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",130),pe(he(n),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){var d=function(T){return{year:T,isTwoDigitYear:l==="yy"}};switch(l){case"y":return nt(tt(4,t),d);case"yo":return nt(i.ordinalNumber(t,{unit:"year"}),d);default:return nt(tt(l.length,t),d)}}},{key:"validate",value:function(t,l){return l.isTwoDigitYear||l.year>0}},{key:"set",value:function(t,l,i){var d=t.getUTCFullYear();if(i.isTwoDigitYear){var m=Ai(i.year,d);return t.setUTCFullYear(m,0,1),t.setUTCHours(0,0,0,0),t}var T=!("era"in l)||l.era===1?i.year:1-i.year;return t.setUTCFullYear(T,0,1),t.setUTCHours(0,0,0,0),t}}]),e})(Ae),uc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",130),pe(he(n),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){var d=function(T){return{year:T,isTwoDigitYear:l==="YY"}};switch(l){case"Y":return nt(tt(4,t),d);case"Yo":return nt(i.ordinalNumber(t,{unit:"year"}),d);default:return nt(tt(l.length,t),d)}}},{key:"validate",value:function(t,l){return l.isTwoDigitYear||l.year>0}},{key:"set",value:function(t,l,i,d){var m=Va(t,d);if(i.isTwoDigitYear){var T=Ai(i.year,m);return t.setUTCFullYear(T,0,d.firstWeekContainsDate),t.setUTCHours(0,0,0,0),Qt(t,d)}var g=!("era"in l)||l.era===1?i.year:1-i.year;return t.setUTCFullYear(g,0,d.firstWeekContainsDate),t.setUTCHours(0,0,0,0),Qt(t,d)}}]),e})(Ae),pc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",130),pe(he(n),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l){return ia(l==="R"?4:l.length,t)}},{key:"set",value:function(t,l,i){var d=new Date(0);return d.setUTCFullYear(i,0,4),d.setUTCHours(0,0,0,0),ir(d)}}]),e})(Ae),bc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",130),pe(he(n),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l){return ia(l==="u"?4:l.length,t)}},{key:"set",value:function(t,l,i){return t.setUTCFullYear(i,0,1),t.setUTCHours(0,0,0,0),t}}]),e})(Ae),mc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",120),pe(he(n),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"Q":case"QQ":return tt(l.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,l){return l>=1&&l<=4}},{key:"set",value:function(t,l,i){return t.setUTCMonth((i-1)*3,1),t.setUTCHours(0,0,0,0),t}}]),e})(Ae),hc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",120),pe(he(n),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"q":case"qq":return tt(l.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,l){return l>=1&&l<=4}},{key:"set",value:function(t,l,i){return t.setUTCMonth((i-1)*3,1),t.setUTCHours(0,0,0,0),t}}]),e})(Ae),gc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),pe(he(n),"priority",110),n}return Ee(e,[{key:"parse",value:function(t,l,i){var d=function(T){return T-1};switch(l){case"M":return nt(Je(at.month,t),d);case"MM":return nt(tt(2,t),d);case"Mo":return nt(i.ordinalNumber(t,{unit:"month"}),d);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,l){return l>=0&&l<=11}},{key:"set",value:function(t,l,i){return t.setUTCMonth(i,1),t.setUTCHours(0,0,0,0),t}}]),e})(Ae),_c=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",110),pe(he(n),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){var d=function(T){return T-1};switch(l){case"L":return nt(Je(at.month,t),d);case"LL":return nt(tt(2,t),d);case"Lo":return nt(i.ordinalNumber(t,{unit:"month"}),d);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,l){return l>=0&&l<=11}},{key:"set",value:function(t,l,i){return t.setUTCMonth(i,1),t.setUTCHours(0,0,0,0),t}}]),e})(Ae);function vc(r,a,e){Te(2,arguments);var n=Ce(r),t=et(a),l=Di(n,e)-t;return n.setUTCDate(n.getUTCDate()-l*7),n}var yc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",100),pe(he(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"w":return Je(at.week,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return tt(l.length,t)}}},{key:"validate",value:function(t,l){return l>=1&&l<=53}},{key:"set",value:function(t,l,i,d){return Qt(vc(t,i,d),d)}}]),e})(Ae);function $c(r,a){Te(2,arguments);var e=Ce(r),n=et(a),t=Si(e)-n;return e.setUTCDate(e.getUTCDate()-t*7),e}var xc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",100),pe(he(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"I":return Je(at.week,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return tt(l.length,t)}}},{key:"validate",value:function(t,l){return l>=1&&l<=53}},{key:"set",value:function(t,l,i){return ir($c(t,i))}}]),e})(Ae),wc=[31,28,31,30,31,30,31,31,30,31,30,31],kc=[31,29,31,30,31,30,31,31,30,31,30,31],Sc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",90),pe(he(n),"subPriority",1),pe(he(n),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"d":return Je(at.date,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return tt(l.length,t)}}},{key:"validate",value:function(t,l){var i=t.getUTCFullYear(),d=Li(i),m=t.getUTCMonth();return d?l>=1&&l<=kc[m]:l>=1&&l<=wc[m]}},{key:"set",value:function(t,l,i){return t.setUTCDate(i),t.setUTCHours(0,0,0,0),t}}]),e})(Ae),Dc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",90),pe(he(n),"subpriority",1),pe(he(n),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"D":case"DD":return Je(at.dayOfYear,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return tt(l.length,t)}}},{key:"validate",value:function(t,l){var i=t.getUTCFullYear(),d=Li(i);return d?l>=1&&l<=366:l>=1&&l<=365}},{key:"set",value:function(t,l,i){return t.setUTCMonth(0,i),t.setUTCHours(0,0,0,0),t}}]),e})(Ae);function en(r,a,e){var n,t,l,i,d,m,T,g;Te(2,arguments);var j=Ht(),C=et((n=(t=(l=(i=e==null?void 0:e.weekStartsOn)!==null&&i!==void 0?i:e==null||(d=e.locale)===null||d===void 0||(m=d.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&l!==void 0?l:j.weekStartsOn)!==null&&t!==void 0?t:(T=j.locale)===null||T===void 0||(g=T.options)===null||g===void 0?void 0:g.weekStartsOn)!==null&&n!==void 0?n:0);if(!(C>=0&&C<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var k=Ce(r),$=et(a),q=k.getUTCDay(),R=$%7,E=(R+7)%7,L=(E<C?7:0)+$-q;return k.setUTCDate(k.getUTCDate()+L),k}var Cc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",90),pe(he(n),"incompatibleTokens",["D","i","e","c","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,l){return l>=0&&l<=6}},{key:"set",value:function(t,l,i,d){return t=en(t,i,d),t.setUTCHours(0,0,0,0),t}}]),e})(Ae),Oc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",90),pe(he(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i,d){var m=function(g){var j=Math.floor((g-1)/7)*7;return(g+d.weekStartsOn+6)%7+j};switch(l){case"e":case"ee":return nt(tt(l.length,t),m);case"eo":return nt(i.ordinalNumber(t,{unit:"day"}),m);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,l){return l>=0&&l<=6}},{key:"set",value:function(t,l,i,d){return t=en(t,i,d),t.setUTCHours(0,0,0,0),t}}]),e})(Ae),Tc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",90),pe(he(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i,d){var m=function(g){var j=Math.floor((g-1)/7)*7;return(g+d.weekStartsOn+6)%7+j};switch(l){case"c":case"cc":return nt(tt(l.length,t),m);case"co":return nt(i.ordinalNumber(t,{unit:"day"}),m);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,l){return l>=0&&l<=6}},{key:"set",value:function(t,l,i,d){return t=en(t,i,d),t.setUTCHours(0,0,0,0),t}}]),e})(Ae);function Pc(r,a){Te(2,arguments);var e=et(a);e%7===0&&(e=e-7);var n=1,t=Ce(r),l=t.getUTCDay(),i=e%7,d=(i+7)%7,m=(d<n?7:0)+e-l;return t.setUTCDate(t.getUTCDate()+m),t}var jc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",90),pe(he(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){var d=function(T){return T===0?7:T};switch(l){case"i":case"ii":return tt(l.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return nt(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),d);case"iiiii":return nt(i.day(t,{width:"narrow",context:"formatting"}),d);case"iiiiii":return nt(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),d);default:return nt(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),d)}}},{key:"validate",value:function(t,l){return l>=1&&l<=7}},{key:"set",value:function(t,l,i){return t=Pc(t,i),t.setUTCHours(0,0,0,0),t}}]),e})(Ae),Nc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",80),pe(he(n),"incompatibleTokens",["b","B","H","k","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,l,i){return t.setUTCHours(Za(i),0,0,0),t}}]),e})(Ae),Mc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",80),pe(he(n),"incompatibleTokens",["a","B","H","k","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,l,i){return t.setUTCHours(Za(i),0,0,0),t}}]),e})(Ae),Rc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",80),pe(he(n),"incompatibleTokens",["a","b","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,l,i){return t.setUTCHours(Za(i),0,0,0),t}}]),e})(Ae),Ec=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",70),pe(he(n),"incompatibleTokens",["H","K","k","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"h":return Je(at.hour12h,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return tt(l.length,t)}}},{key:"validate",value:function(t,l){return l>=1&&l<=12}},{key:"set",value:function(t,l,i){var d=t.getUTCHours()>=12;return d&&i<12?t.setUTCHours(i+12,0,0,0):!d&&i===12?t.setUTCHours(0,0,0,0):t.setUTCHours(i,0,0,0),t}}]),e})(Ae),Ic=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",70),pe(he(n),"incompatibleTokens",["a","b","h","K","k","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"H":return Je(at.hour23h,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return tt(l.length,t)}}},{key:"validate",value:function(t,l){return l>=0&&l<=23}},{key:"set",value:function(t,l,i){return t.setUTCHours(i,0,0,0),t}}]),e})(Ae),Fc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",70),pe(he(n),"incompatibleTokens",["h","H","k","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"K":return Je(at.hour11h,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return tt(l.length,t)}}},{key:"validate",value:function(t,l){return l>=0&&l<=11}},{key:"set",value:function(t,l,i){var d=t.getUTCHours()>=12;return d&&i<12?t.setUTCHours(i+12,0,0,0):t.setUTCHours(i,0,0,0),t}}]),e})(Ae),Ac=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",70),pe(he(n),"incompatibleTokens",["a","b","h","H","K","t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"k":return Je(at.hour24h,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return tt(l.length,t)}}},{key:"validate",value:function(t,l){return l>=1&&l<=24}},{key:"set",value:function(t,l,i){var d=i<=24?i%24:i;return t.setUTCHours(d,0,0,0),t}}]),e})(Ae),Lc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",60),pe(he(n),"incompatibleTokens",["t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"m":return Je(at.minute,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return tt(l.length,t)}}},{key:"validate",value:function(t,l){return l>=0&&l<=59}},{key:"set",value:function(t,l,i){return t.setUTCMinutes(i,0,0),t}}]),e})(Ae),qc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",50),pe(he(n),"incompatibleTokens",["t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l,i){switch(l){case"s":return Je(at.second,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return tt(l.length,t)}}},{key:"validate",value:function(t,l){return l>=0&&l<=59}},{key:"set",value:function(t,l,i){return t.setUTCSeconds(i,0),t}}]),e})(Ae),zc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",30),pe(he(n),"incompatibleTokens",["t","T"]),n}return Ee(e,[{key:"parse",value:function(t,l){var i=function(m){return Math.floor(m*Math.pow(10,-l.length+3))};return nt(tt(l.length,t),i)}},{key:"set",value:function(t,l,i){return t.setUTCMilliseconds(i),t}}]),e})(Ae),Wc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",10),pe(he(n),"incompatibleTokens",["t","T","x"]),n}return Ee(e,[{key:"parse",value:function(t,l){switch(l){case"X":return wt(xt.basicOptionalMinutes,t);case"XX":return wt(xt.basic,t);case"XXXX":return wt(xt.basicOptionalSeconds,t);case"XXXXX":return wt(xt.extendedOptionalSeconds,t);default:return wt(xt.extended,t)}}},{key:"set",value:function(t,l,i){return l.timestampIsSet?t:new Date(t.getTime()-i)}}]),e})(Ae),Hc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",10),pe(he(n),"incompatibleTokens",["t","T","X"]),n}return Ee(e,[{key:"parse",value:function(t,l){switch(l){case"x":return wt(xt.basicOptionalMinutes,t);case"xx":return wt(xt.basic,t);case"xxxx":return wt(xt.basicOptionalSeconds,t);case"xxxxx":return wt(xt.extendedOptionalSeconds,t);default:return wt(xt.extended,t)}}},{key:"set",value:function(t,l,i){return l.timestampIsSet?t:new Date(t.getTime()-i)}}]),e})(Ae),Bc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",40),pe(he(n),"incompatibleTokens","*"),n}return Ee(e,[{key:"parse",value:function(t){return Fi(t)}},{key:"set",value:function(t,l,i){return[new Date(i*1e3),{timestampIsSet:!0}]}}]),e})(Ae),Uc=(function(r){Ie(e,r);var a=Fe(e);function e(){var n;Re(this,e);for(var t=arguments.length,l=new Array(t),i=0;i<t;i++)l[i]=arguments[i];return n=a.call.apply(a,[this].concat(l)),pe(he(n),"priority",20),pe(he(n),"incompatibleTokens","*"),n}return Ee(e,[{key:"parse",value:function(t){return Fi(t)}},{key:"set",value:function(t,l,i){return[new Date(i),{timestampIsSet:!0}]}}]),e})(Ae),Yc={G:new oc,y:new fc,Y:new uc,R:new pc,u:new bc,Q:new mc,q:new hc,M:new gc,L:new _c,w:new yc,I:new xc,d:new Sc,D:new Dc,E:new Cc,e:new Oc,c:new Tc,i:new jc,a:new Nc,b:new Mc,B:new Rc,h:new Ec,H:new Ic,K:new Fc,k:new Ac,m:new Lc,s:new qc,S:new zc,X:new Wc,x:new Hc,t:new Bc,T:new Uc},Vc=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Gc=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Kc=/^'([^]*?)'?$/,Qc=/''/g,Jc=/\S/,Xc=/[a-zA-Z]/;function Zc(r,a,e,n){var t,l,i,d,m,T,g,j,C,k,$,q,R,E,L,M,w,s;Te(3,arguments);var y=String(r),P=String(a),O=Ht(),S=(t=(l=n==null?void 0:n.locale)!==null&&l!==void 0?l:O.locale)!==null&&t!==void 0?t:Ga;if(!S.match)throw new RangeError("locale must contain match property");var _=et((i=(d=(m=(T=n==null?void 0:n.firstWeekContainsDate)!==null&&T!==void 0?T:n==null||(g=n.locale)===null||g===void 0||(j=g.options)===null||j===void 0?void 0:j.firstWeekContainsDate)!==null&&m!==void 0?m:O.firstWeekContainsDate)!==null&&d!==void 0?d:(C=O.locale)===null||C===void 0||(k=C.options)===null||k===void 0?void 0:k.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(_>=1&&_<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=et(($=(q=(R=(E=n==null?void 0:n.weekStartsOn)!==null&&E!==void 0?E:n==null||(L=n.locale)===null||L===void 0||(M=L.options)===null||M===void 0?void 0:M.weekStartsOn)!==null&&R!==void 0?R:O.weekStartsOn)!==null&&q!==void 0?q:(w=O.locale)===null||w===void 0||(s=w.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&$!==void 0?$:0);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(P==="")return y===""?Ce(e):new Date(NaN);var v={firstWeekContainsDate:_,weekStartsOn:c,locale:S},p=[new lc],A=P.match(Gc).map(function(Y){var U=Y[0];if(U in Na){var Z=Na[U];return Z(Y,S.formatLong)}return Y}).join("").match(Vc),F=[],G=Pn(A),H;try{var K=function(){var U=H.value;!(n!=null&&n.useAdditionalWeekYearTokens)&&Ti(U)&&aa(U,P,r),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Oi(U)&&aa(U,P,r);var Z=U[0],fe=Yc[Z];if(fe){var be=fe.incompatibleTokens;if(Array.isArray(be)){var _e=F.find(function(ve){return be.includes(ve.token)||ve.token===Z});if(_e)throw new RangeError("The format string mustn't contain `".concat(_e.fullToken,"` and `").concat(U,"` at the same time"))}else if(fe.incompatibleTokens==="*"&&F.length>0)throw new RangeError("The format string mustn't contain `".concat(U,"` and any other token at the same time"));F.push({token:Z,fullToken:U});var ee=fe.run(y,U,S.match,v);if(!ee)return{v:new Date(NaN)};p.push(ee.setter),y=ee.rest}else{if(Z.match(Xc))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Z+"`");if(U==="''"?U="'":Z==="'"&&(U=ef(U)),y.indexOf(U)===0)y=y.slice(U.length);else return{v:new Date(NaN)}}};for(G.s();!(H=G.n()).done;){var ne=K();if(vt(ne)==="object")return ne.v}}catch(Y){G.e(Y)}finally{G.f()}if(y.length>0&&Jc.test(y))return new Date(NaN);var f=p.map(function(Y){return Y.priority}).sort(function(Y,U){return U-Y}).filter(function(Y,U,Z){return Z.indexOf(Y)===U}).map(function(Y){return p.filter(function(U){return U.priority===Y}).sort(function(U,Z){return Z.subPriority-U.subPriority})}).map(function(Y){return Y[0]}),x=Ce(e);if(isNaN(x.getTime()))return new Date(NaN);var b=wi(x,ra(x)),u={},N=Pn(f),h;try{for(N.s();!(h=N.n()).done;){var I=h.value;if(!I.validate(b,v))return new Date(NaN);var W=I.set(b,u,v);Array.isArray(W)?(b=W[0],ec(u,W[1])):b=W}}catch(Y){N.e(Y)}finally{N.f()}return b}function ef(r){return r.match(Kc)[1].replace(Qc,"'")}var tf=Object.freeze({__proto__:null,default:Zc}),rf=ze(tf),jn;function af(){if(jn)return Sr;jn=1;function r(O){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(_){return typeof _}:r=function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},r(O)}Object.defineProperty(Sr,"__esModule",{value:!0}),Sr.default=void 0;var a=g(Mt()),e=m(Rt()),n=m(Jt()),t=m(Jd),l=m(Xd),i=m(rf),d=m(ba);function m(O){return O&&O.__esModule?O:{default:O}}function T(O){if(typeof WeakMap!="function")return null;var S=new WeakMap,_=new WeakMap;return(T=function(v){return v?_:S})(O)}function g(O,S){if(O&&O.__esModule)return O;if(O===null||r(O)!=="object"&&typeof O!="function")return{default:O};var _=T(S);if(_&&_.has(O))return _.get(O);var c={},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in O)if(p!=="default"&&Object.prototype.hasOwnProperty.call(O,p)){var A=v?Object.getOwnPropertyDescriptor(O,p):null;A&&(A.get||A.set)?Object.defineProperty(c,p,A):c[p]=O[p]}return c.default=O,_&&_.set(O,c),c}function j(O,S){if(!(O instanceof S))throw new TypeError("Cannot call a class as a function")}function C(O,S){for(var _=0;_<S.length;_++){var c=S[_];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(O,c.key,c)}}function k(O,S,_){return S&&C(O.prototype,S),O}function $(O,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(S&&S.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),S&&q(O,S)}function q(O,S){return q=Object.setPrototypeOf||function(c,v){return c.__proto__=v,c},q(O,S)}function R(O){var S=M();return function(){var c=w(O),v;if(S){var p=w(this).constructor;v=Reflect.construct(c,arguments,p)}else v=c.apply(this,arguments);return E(this,v)}}function E(O,S){return S&&(r(S)==="object"||typeof S=="function")?S:L(O)}function L(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function M(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(O){return!1}}function w(O){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(_){return _.__proto__||Object.getPrototypeOf(_)},w(O)}function s(O,S,_){return S in O?Object.defineProperty(O,S,{value:_,enumerable:!0,configurable:!0,writable:!0}):O[S]=_,O}var y=(function(O){$(_,O);var S=R(_);function _(c,v){var p;return j(this,_),p=S.call(this,c,v),s(L(p),"onKeyDown",function(A){var F=p.state.value;A.key==="Enter"&&p.update(F)}),s(L(p),"onChange",function(A){p.setState({value:A.target.value,changed:!0,invalid:!1})}),s(L(p),"onBlur",function(){var A=p.state.value;p.update(A)}),p.state={invalid:!1,changed:!1,value:p.formatDate(c)},p}return k(_,[{key:"componentDidUpdate",value:function(v){var p=v.value;(0,t.default)(p,this.props.value)||this.setState({value:this.formatDate(this.props)})}},{key:"formatDate",value:function(v){var p=v.value,A=v.dateDisplayFormat,F=v.dateOptions;return p&&(0,l.default)(p)?(0,d.default)(p,A,F):""}},{key:"update",value:function(v){var p=this.state,A=p.invalid,F=p.changed;if(!(A||!F||!v)){var G=this.props,H=G.onChange,K=G.dateDisplayFormat,ne=G.dateOptions,f=(0,i.default)(v,K,new Date,ne);(0,l.default)(f)?this.setState({changed:!1},function(){return H(f)}):this.setState({invalid:!0})}}},{key:"render",value:function(){var v=this.props,p=v.className,A=v.readOnly,F=v.placeholder,G=v.ariaLabel,H=v.disabled,K=v.onFocus,ne=this.state,f=ne.value,x=ne.invalid;return a.default.createElement("span",{className:(0,n.default)("rdrDateInput",p)},a.default.createElement("input",{readOnly:A,disabled:H,value:f,placeholder:F,"aria-label":G,onKeyDown:this.onKeyDown,onChange:this.onChange,onBlur:this.onBlur,onFocus:K}),x&&a.default.createElement("span",{className:"rdrWarning"},"⚠"))}}]),_})(a.PureComponent);y.propTypes={value:e.default.object,placeholder:e.default.string,disabled:e.default.bool,readOnly:e.default.bool,dateOptions:e.default.object,dateDisplayFormat:e.default.string,ariaLabel:e.default.string,className:e.default.string,onFocus:e.default.func.isRequired,onChange:e.default.func.isRequired},y.defaultProps={readOnly:!0,disabled:!1,dateDisplayFormat:"MMM D, YYYY"};var P=y;return Sr.default=P,Sr}var Zr={},Nn;function nf(){return Nn||(Nn=1,(function(r){(function(a,e){e(r,Mt(),Ml())})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:Zr,function(a,e,n){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;function t(b){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},t(b)}function l(b,u){if(!(b instanceof u))throw new TypeError("Cannot call a class as a function")}function i(b,u){for(var N=0;N<u.length;N++){var h=u[N];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(b,L(h.key),h)}}function d(b,u,N){return u&&i(b.prototype,u),N&&i(b,N),Object.defineProperty(b,"prototype",{writable:!1}),b}function m(b,u,N){return u=C(u),T(b,j()?Reflect.construct(u,N||[],C(b).constructor):u.apply(b,N))}function T(b,u){if(u&&(t(u)=="object"||typeof u=="function"))return u;if(u!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return g(b)}function g(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function j(){try{var b=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(u){}return(j=function(){return!!b})()}function C(b){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(u){return u.__proto__||Object.getPrototypeOf(u)},C(b)}function k(b,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(u&&u.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),Object.defineProperty(b,"prototype",{writable:!1}),u&&$(b,u)}function $(b,u){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(N,h){return N.__proto__=h,N},$(b,u)}function q(b,u){var N=Object.keys(b);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(b);u&&(h=h.filter(function(I){return Object.getOwnPropertyDescriptor(b,I).enumerable})),N.push.apply(N,h)}return N}function R(b){for(var u=1;u<arguments.length;u++){var N=arguments[u]!=null?arguments[u]:{};u%2?q(Object(N),!0).forEach(function(h){E(b,h,N[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(N)):q(Object(N)).forEach(function(h){Object.defineProperty(b,h,Object.getOwnPropertyDescriptor(N,h))})}return b}function E(b,u,N){return(u=L(u))in b?Object.defineProperty(b,u,{value:N,enumerable:!0,configurable:!0,writable:!0}):b[u]=N,b}function L(b){var u=M(b,"string");return t(u)=="symbol"?u:u+""}function M(b,u){if(t(b)!="object"||!b)return b;var N=b[Symbol.toPrimitive];if(N!==void 0){var h=N.call(b,u);if(t(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(b)}var w={x:"clientWidth",y:"clientHeight"},s={x:"clientTop",y:"clientLeft"},y={x:"innerWidth",y:"innerHeight"},P={x:"offsetWidth",y:"offsetHeight"},O={x:"offsetLeft",y:"offsetTop"},S={x:"overflowX",y:"overflowY"},_={x:"scrollWidth",y:"scrollHeight"},c={x:"scrollLeft",y:"scrollTop"},v={x:"width",y:"height"},p=function(){},A=(function(){if(typeof window=="undefined")return!1;var b=!1;try{document.createElement("div").addEventListener("test",p,{get passive(){return b=!0,!1}})}catch(u){}return b})()?{passive:!0}:!1,F="ReactList failed to reach a stable state.",G=40,H=function(u,N){for(var h in N)if(u[h]!==N[h])return!1;return!0},K=function(u){for(var N=u.props.axis,h=u.getEl(),I=S[N];h=h.parentElement;)switch(window.getComputedStyle(h)[I]){case"auto":case"scroll":case"overlay":return h}return window},ne=function(u){var N=u.props.axis,h=u.scrollParent;return h===window?window[y[N]]:h[w[N]]},f=function(u,N){var h=u.length,I=u.minSize,W=u.type,Y=N.from,U=N.size,Z=N.itemsPerRow;U=Math.max(U,I);var fe=U%Z;return fe&&(U+=Z-fe),U>h&&(U=h),Y=W==="simple"||!Y?0:Math.max(Math.min(Y,h-U),0),(fe=Y%Z)&&(Y-=fe,U+=fe),Y===N.from&&U===N.size?N:R(R({},N),{},{from:Y,size:U})},x=a.default=(function(b){function u(N){var h;return l(this,u),h=m(this,u,[N]),h.state=f(N,{itemsPerRow:1,from:N.initialIndex,size:0}),h.cache={},h.cachedScrollPosition=null,h.prevPrevState={},h.unstable=!1,h.updateCounter=0,h}return k(u,b),d(u,[{key:"componentDidMount",value:function(){this.updateFrameAndClearCache=this.updateFrameAndClearCache.bind(this),window.addEventListener("resize",this.updateFrameAndClearCache),this.updateFrame(this.scrollTo.bind(this,this.props.initialIndex))}},{key:"componentDidUpdate",value:function(h){var I=this;if(this.props.axis!==h.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>G){this.unstable=!0;return}this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){I.updateCounter=0,delete I.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(h,I){if(H(this.state,h))return I();this.setState(h,I)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,A),this.scrollParent.removeEventListener("mousewheel",p,A)}},{key:"getOffset",value:function(h){var I=this.props.axis,W=h[s[I]]||0,Y=O[I];do W+=h[Y]||0;while(h=h.offsetParent);return W}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var h=this.scrollParent,I=this.props.axis,W=c[I],Y=h===window?document.body[W]||document.documentElement[W]:h[W],U=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),Z=Math.max(0,Math.min(Y,U)),fe=this.getEl();return this.cachedScrollPosition=this.getOffset(h)+Z-this.getOffset(fe),this.cachedScrollPosition}},{key:"setScroll",value:function(h){var I=this.scrollParent,W=this.props.axis;if(h+=this.getOffset(this.getEl()),I===window)return window.scrollTo(0,h);h-=this.getOffset(this.scrollParent),I[c[W]]=h}},{key:"getScrollSize",value:function(){var h=this.scrollParent,I=document,W=I.body,Y=I.documentElement,U=_[this.props.axis];return h===window?Math.max(W[U],Y[U]):h[U]}},{key:"hasDeterminateSize",value:function(){var h=this.props,I=h.itemSizeGetter,W=h.type;return W==="uniform"||I}},{key:"getStartAndEnd",value:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,I=this.getScrollPosition(),W=Math.max(0,I-h),Y=I+this.props.scrollParentViewportSizeGetter(this)+h;return this.hasDeterminateSize()&&(Y=Math.min(Y,this.getSpaceBefore(this.props.length))),{start:W,end:Y}}},{key:"getItemSizeAndItemsPerRow",value:function(){var h=this.props,I=h.axis,W=h.useStaticSize,Y=this.state,U=Y.itemSize,Z=Y.itemsPerRow;if(W&&U&&Z)return{itemSize:U,itemsPerRow:Z};var fe=this.items.children;if(!fe.length)return{};var be=fe[0],_e=be[P[I]],ee=Math.abs(_e-U);if((isNaN(ee)||ee>=1)&&(U=_e),!U)return{};var ve=O[I],ge=be[ve];Z=1;for(var Oe=fe[Z];Oe&&Oe[ve]===ge;Oe=fe[Z])++Z;return{itemSize:U,itemsPerRow:Z}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(h){return this.clearSizeCache(),this.updateFrame(h)}},{key:"updateFrame",value:function(h){switch(this.updateScrollParent(),typeof h!="function"&&(h=p),this.props.type){case"simple":return this.updateSimpleFrame(h);case"variable":return this.updateVariableFrame(h);case"uniform":return this.updateUniformFrame(h)}}},{key:"updateScrollParent",value:function(){var h=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),h!==this.scrollParent&&(h&&(h.removeEventListener("scroll",this.updateFrameAndClearCache),h.removeEventListener("mousewheel",p)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,A),this.scrollParent.addEventListener("mousewheel",p,A))}},{key:"updateSimpleFrame",value:function(h){var I=this.getStartAndEnd(),W=I.end,Y=this.items.children,U=0;if(Y.length){var Z=this.props.axis,fe=Y[0],be=Y[Y.length-1];U=this.getOffset(be)+be[P[Z]]-this.getOffset(fe)}if(U>W)return h();var _e=this.props,ee=_e.pageSize,ve=_e.length,ge=Math.min(this.state.size+ee,ve);this.maybeSetState({size:ge},h)}},{key:"updateVariableFrame",value:function(h){this.props.itemSizeGetter||this.cacheSizes();for(var I=this.getStartAndEnd(),W=I.start,Y=I.end,U=this.props,Z=U.length,fe=U.pageSize,be=0,_e=0,ee=0,ve=Z-1;_e<ve;){var ge=this.getSizeOfItem(_e);if(ge==null||be+ge>W)break;be+=ge,++_e}for(var Oe=Z-_e;ee<Oe&&be<Y;){var Ve=this.getSizeOfItem(_e+ee);if(Ve==null){ee=Math.min(ee+fe,Oe);break}be+=Ve,++ee}this.maybeSetState(f(this.props,{from:_e,itemsPerRow:1,size:ee}),h)}},{key:"updateUniformFrame",value:function(h){var I=this.getItemSizeAndItemsPerRow(),W=I.itemSize,Y=I.itemsPerRow;if(!W||!Y)return h();var U=this.getStartAndEnd(),Z=U.start,fe=U.end,be=f(this.props,{from:Math.floor(Z/W)*Y,size:(Math.ceil((fe-Z)/W)+1)*Y,itemsPerRow:Y}),_e=be.from,ee=be.size;return this.maybeSetState({itemsPerRow:Y,from:_e,itemSize:W,size:ee},h)}},{key:"getSpaceBefore",value:function(h){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(I[h]!=null)return I[h];var W=this.state,Y=W.itemSize,U=W.itemsPerRow;if(Y)return I[h]=Math.floor(h/U)*Y;for(var Z=h;Z>0&&I[--Z]==null;);for(var fe=I[Z]||0,be=Z;be<h;++be){I[be]=fe;var _e=this.getSizeOfItem(be);if(_e==null)break;fe+=_e}return I[h]=fe}},{key:"cacheSizes",value:function(){for(var h=this.cache,I=this.state.from,W=this.items.children,Y=P[this.props.axis],U=0,Z=W.length;U<Z;++U)h[I+U]=W[U][Y]}},{key:"getSizeOfItem",value:function(h){var I=this.cache,W=this.items,Y=this.props,U=Y.axis,Z=Y.itemSizeGetter,fe=Y.itemSizeEstimator,be=Y.type,_e=this.state,ee=_e.from,ve=_e.itemSize,ge=_e.size;if(ve)return ve;if(Z)return Z(h);if(h in I)return I[h];if(be==="simple"&&h>=ee&&h<ee+ge&&W){var Oe=W.children[h-ee];if(Oe)return Oe[P[U]]}if(fe)return fe(h,I)}},{key:"scrollTo",value:function(h){h!=null&&this.setScroll(this.getSpaceBefore(h))}},{key:"scrollAround",value:function(h){var I=this.getScrollPosition(),W=this.getSpaceBefore(h),Y=W-this.props.scrollParentViewportSizeGetter(this)+this.getSizeOfItem(h),U=Math.min(Y,W),Z=Math.max(Y,W);if(I<=U)return this.setScroll(U);if(I>Z)return this.setScroll(Z)}},{key:"getVisibleRange",value:function(){for(var h=this.state,I=h.from,W=h.size,Y=this.getStartAndEnd(0),U=Y.start,Z=Y.end,fe={},be,_e,ee=I;ee<I+W;++ee){var ve=this.getSpaceBefore(ee,fe),ge=ve+this.getSizeOfItem(ee);be==null&&ge>U&&(be=ee),be!=null&&ve<Z&&(_e=ee)}return[be,_e]}},{key:"renderItems",value:function(){for(var h=this,I=this.props,W=I.itemRenderer,Y=I.itemsRenderer,U=this.state,Z=U.from,fe=U.size,be=[],_e=0;_e<fe;++_e)be.push(W(Z+_e,_e));return Y(be,function(ee){return h.items=ee})}},{key:"render",value:function(){var h=this,I=this.props,W=I.axis,Y=I.getListStyle,U=I.length,Z=I.type,fe=I.useTranslate3d,be=this.state,_e=be.from,ee=be.itemsPerRow,ve=this.renderItems();if(Z==="simple")return ve;var ge={position:"relative"},Oe={},Ve=Math.ceil(U/ee)*ee,it=this.getSpaceBefore(Ve,Oe);it&&(ge[v[W]]=it,W==="x"&&(ge.overflowX="hidden"));var J=this.getSpaceBefore(_e,Oe),te=W==="x"?J:0,le=W==="y"?J:0,me=fe?"translate3d(".concat(te,"px, ").concat(le,"px, 0)"):"translate(".concat(te,"px, ").concat(le,"px)"),ce=Y?Y({x:te,y:le}):{msTransform:me,WebkitTransform:me,transform:me};return(0,n.jsx)("div",{style:ge,ref:function(oe){return h.el=oe},children:(0,n.jsx)("div",{style:ce,children:ve})})}}],[{key:"getDerivedStateFromProps",value:function(h,I){var W=f(h,I);return W===I?null:W}}])})(e.Component);E(x,"displayName","ReactList"),E(x,"defaultProps",{axis:"y",itemRenderer:function(u,N){return(0,n.jsx)("div",{children:u},N)},itemsRenderer:function(u,N){return(0,n.jsx)("div",{ref:N,children:u})},length:0,minSize:1,pageSize:10,scrollParentGetter:K,scrollParentViewportSizeGetter:ne,threshold:100,type:"simple",useStaticSize:!1,useTranslate3d:!1})})})(Zr)),Zr}function lf(r,a){if(r===a)return!0;if(!r||!a)return!1;var e=Object.keys(r),n=Object.keys(a),t=e.length;if(n.length!==t)return!1;for(var l=0;l<t;l++){var i=e[l];if(r[i]!==a[i]||!Object.prototype.hasOwnProperty.call(a,i))return!1}return!0}function of(r,a){if(r===a)return!0;if(!r||!a)return!1;var e=r.length;if(a.length!==e)return!1;for(var n=0;n<e;n++)if(r[n]!==a[n])return!1;return!0}var sf=Object.freeze({__proto__:null,shallowEqualArrays:of,shallowEqualObjects:lf}),df=ze(sf);function cf(r){Te(1,arguments);var a;if(r&&typeof r.forEach=="function")a=r;else if(vt(r)==="object"&&r!==null)a=Array.prototype.slice.call(r);else return new Date(NaN);var e;return a.forEach(function(n){var t=Ce(n);(e===void 0||e<t||isNaN(Number(t)))&&(e=t)}),e||new Date(NaN)}var ff=Object.freeze({__proto__:null,default:cf}),qi=ze(ff);function uf(r){Te(1,arguments);var a;if(r&&typeof r.forEach=="function")a=r;else if(vt(r)==="object"&&r!==null)a=Array.prototype.slice.call(r);else return new Date(NaN);var e;return a.forEach(function(n){var t=Ce(n);(e===void 0||e>t||isNaN(t.getDate()))&&(e=t)}),e||new Date(NaN)}var pf=Object.freeze({__proto__:null,default:uf}),zi=ze(pf);function Mn(r,a){var e=r.getFullYear()-a.getFullYear()||r.getMonth()-a.getMonth()||r.getDate()-a.getDate()||r.getHours()-a.getHours()||r.getMinutes()-a.getMinutes()||r.getSeconds()-a.getSeconds()||r.getMilliseconds()-a.getMilliseconds();return e<0?-1:e>0?1:e}function bf(r,a){Te(2,arguments);var e=Ce(r),n=Ce(a),t=Mn(e,n),l=Math.abs(Mi(e,n));e.setDate(e.getDate()-t*l);var i=+(Mn(e,n)===-t),d=t*(l-i);return d===0?0:d}var mf=Object.freeze({__proto__:null,default:bf}),hf=ze(mf);function gf(r,a){Te(2,arguments);var e=Ce(r),n=Ce(a);return e.getFullYear()===n.getFullYear()&&e.getMonth()===n.getMonth()}var _f=Object.freeze({__proto__:null,default:gf}),vf=ze(_f);function yf(r){Te(1,arguments);var a=Ce(r),e=a.getFullYear(),n=a.getMonth(),t=new Date(0);return t.setFullYear(e,n+1,0),t.setHours(0,0,0,0),t.getDate()}function $f(r,a){Te(2,arguments);var e=Ce(r),n=et(a),t=e.getFullYear(),l=e.getDate(),i=new Date(0);i.setFullYear(t,n,15),i.setHours(0,0,0,0);var d=yf(i);return e.setMonth(n,Math.min(l,d)),e}var xf=Object.freeze({__proto__:null,default:$f}),wf=ze(xf);function kf(r,a){Te(2,arguments);var e=Ce(r),n=et(a);return isNaN(e.getTime())?new Date(NaN):(e.setFullYear(n),e)}var Sf=Object.freeze({__proto__:null,default:kf}),Df=ze(Sf);function tn(r,a){Te(2,arguments);var e=Ce(r),n=et(a);if(isNaN(n))return new Date(NaN);if(!n)return e;var t=e.getDate(),l=new Date(e.getTime());l.setMonth(e.getMonth()+n+1,0);var i=l.getDate();return t>=i?l:(e.setFullYear(l.getFullYear(),l.getMonth(),t),e)}var Cf=Object.freeze({__proto__:null,default:tn});function Of(r,a){Te(2,arguments);var e=et(a);return tn(r,e*12)}var Tf=Object.freeze({__proto__:null,default:Of}),Pf=ze(Tf);function jf(r,a){Te(2,arguments);var e=et(a);return tn(r,-e)}var Nf=Object.freeze({__proto__:null,default:jf}),Mf=ze(Nf),Wi=ze(Cf),Rf=ze(_d),Dr={},Rn;function ya(){if(Rn)return Dr;Rn=1,Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.default=void 0;var r={dateRangeWrapper:"rdrDateRangeWrapper",calendarWrapper:"rdrCalendarWrapper",dateDisplay:"rdrDateDisplay",dateDisplayItem:"rdrDateDisplayItem",dateDisplayItemActive:"rdrDateDisplayItemActive",monthAndYearWrapper:"rdrMonthAndYearWrapper",monthAndYearPickers:"rdrMonthAndYearPickers",nextPrevButton:"rdrNextPrevButton",month:"rdrMonth",weekDays:"rdrWeekDays",weekDay:"rdrWeekDay",days:"rdrDays",day:"rdrDay",dayNumber:"rdrDayNumber",dayPassive:"rdrDayPassive",dayToday:"rdrDayToday",dayStartOfWeek:"rdrDayStartOfWeek",dayEndOfWeek:"rdrDayEndOfWeek",daySelected:"rdrDaySelected",dayDisabled:"rdrDayDisabled",dayStartOfMonth:"rdrDayStartOfMonth",dayEndOfMonth:"rdrDayEndOfMonth",dayWeekend:"rdrDayWeekend",dayStartPreview:"rdrDayStartPreview",dayInPreview:"rdrDayInPreview",dayEndPreview:"rdrDayEndPreview",dayHovered:"rdrDayHovered",dayActive:"rdrDayActive",inRange:"rdrInRange",endEdge:"rdrEndEdge",startEdge:"rdrStartEdge",prevButton:"rdrPprevButton",nextButton:"rdrNextButton",selected:"rdrSelected",months:"rdrMonths",monthPicker:"rdrMonthPicker",yearPicker:"rdrYearPicker",dateDisplayWrapper:"rdrDateDisplayWrapper",definedRangesWrapper:"rdrDefinedRangesWrapper",staticRanges:"rdrStaticRanges",staticRange:"rdrStaticRange",inputRanges:"rdrInputRanges",inputRange:"rdrInputRange",inputRangeInput:"rdrInputRangeInput",dateRangePickerWrapper:"rdrDateRangePickerWrapper",staticRangeLabel:"rdrStaticRangeLabel",staticRangeSelected:"rdrStaticRangeSelected",monthName:"rdrMonthName",infiniteMonths:"rdrInfiniteMonths",monthsVertical:"rdrMonthsVertical",monthsHorizontal:"rdrMonthsHorizontal"};return Dr.default=r,Dr}var Cr={},En;function Ef(){if(En)return Cr;En=1,Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.ariaLabelsShape=void 0;var r=a(Rt());function a(n){return n&&n.__esModule?n:{default:n}}var e=r.default.shape({dateInput:r.default.objectOf(r.default.shape({startDate:r.default.string,endDate:r.default.string})),monthPicker:r.default.string,yearPicker:r.default.string,prevButton:r.default.string,nextButton:r.default.string});return Cr.ariaLabelsShape=e,Cr}var In;function Hi(){if(In)return $r;In=1;function r(J){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(le){return typeof le}:r=function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},r(J)}Object.defineProperty($r,"__esModule",{value:!0}),$r.default=void 0;var a=H(Mt()),e=F(Rt()),n=ma(),t=F(Gd()),l=F(af()),i=va(),d=F(Jt()),m=F(nf()),T=df,g=F(qi),j=F(zi),C=F(hf),k=F(vf),$=F(_a),q=F(Ja),R=F(Xa),E=F(Ni),L=F(wf),M=F(Df),w=F(Pf),s=F(pa),y=F(ha),P=F(ga),O=F(Pi),S=F(ba),_=F(Mf),c=F(Wi),v=F(Rf),p=F(ya()),A=Ef();function F(J){return J&&J.__esModule?J:{default:J}}function G(J){if(typeof WeakMap!="function")return null;var te=new WeakMap,le=new WeakMap;return(G=function(ce){return ce?le:te})(J)}function H(J,te){if(J&&J.__esModule)return J;if(J===null||r(J)!=="object"&&typeof J!="function")return{default:J};var le=G(te);if(le&&le.has(J))return le.get(J);var me={},ce=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var V in J)if(V!=="default"&&Object.prototype.hasOwnProperty.call(J,V)){var oe=ce?Object.getOwnPropertyDescriptor(J,V):null;oe&&(oe.get||oe.set)?Object.defineProperty(me,V,oe):me[V]=J[V]}return me.default=J,le&&le.set(J,me),me}function K(){return K=Object.assign||function(J){for(var te=1;te<arguments.length;te++){var le=arguments[te];for(var me in le)Object.prototype.hasOwnProperty.call(le,me)&&(J[me]=le[me])}return J},K.apply(this,arguments)}function ne(J){return u(J)||b(J)||x(J)||f()}function f(){throw new TypeError(`Invalid attempt to spread non-iterable instance. |
| 5 |
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x(J,te){if(J){if(typeof J=="string")return N(J,te);var le=Object.prototype.toString.call(J).slice(8,-1);if(le==="Object"&&J.constructor&&(le=J.constructor.name),le==="Map"||le==="Set")return Array.from(J);if(le==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(le))return N(J,te)}}function b(J){if(typeof Symbol!="undefined"&&J[Symbol.iterator]!=null||J["@@iterator"]!=null)return Array.from(J)}function u(J){if(Array.isArray(J))return N(J)}function N(J,te){(te==null||te>J.length)&&(te=J.length);for(var le=0,me=new Array(te);le<te;le++)me[le]=J[le];return me}function h(J,te){var le=Object.keys(J);if(Object.getOwnPropertySymbols){var me=Object.getOwnPropertySymbols(J);te&&(me=me.filter(function(ce){return Object.getOwnPropertyDescriptor(J,ce).enumerable})),le.push.apply(le,me)}return le}function I(J){for(var te=1;te<arguments.length;te++){var le=arguments[te]!=null?arguments[te]:{};te%2?h(Object(le),!0).forEach(function(me){Oe(J,me,le[me])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(le)):h(Object(le)).forEach(function(me){Object.defineProperty(J,me,Object.getOwnPropertyDescriptor(le,me))})}return J}function W(J,te){if(!(J instanceof te))throw new TypeError("Cannot call a class as a function")}function Y(J,te){for(var le=0;le<te.length;le++){var me=te[le];me.enumerable=me.enumerable||!1,me.configurable=!0,"value"in me&&(me.writable=!0),Object.defineProperty(J,me.key,me)}}function U(J,te,le){return te&&Y(J.prototype,te),J}function Z(J,te){if(typeof te!="function"&&te!==null)throw new TypeError("Super expression must either be null or a function");J.prototype=Object.create(te&&te.prototype,{constructor:{value:J,writable:!0,configurable:!0}}),te&&fe(J,te)}function fe(J,te){return fe=Object.setPrototypeOf||function(me,ce){return me.__proto__=ce,me},fe(J,te)}function be(J){var te=ve();return function(){var me=ge(J),ce;if(te){var V=ge(this).constructor;ce=Reflect.construct(me,arguments,V)}else ce=me.apply(this,arguments);return _e(this,ce)}}function _e(J,te){return te&&(r(te)==="object"||typeof te=="function")?te:ee(J)}function ee(J){if(J===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return J}function ve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(J){return!1}}function ge(J){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(le){return le.__proto__||Object.getPrototypeOf(le)},ge(J)}function Oe(J,te,le){return te in J?Object.defineProperty(J,te,{value:le,enumerable:!0,configurable:!0,writable:!0}):J[te]=le,J}var Ve=(function(J){Z(le,J);var te=be(le);function le(me,ce){var V;return W(this,le),V=te.call(this,me,ce),Oe(ee(V),"focusToDate",function(oe){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V.props,Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!se.scroll.enabled){if(Pe&&se.preventSnapRefocus){var Le=(0,E.default)(oe,V.state.focusedDate),Be=se.calendarFocus==="forwards"&&Le>=0,We=se.calendarFocus==="backwards"&&Le<=0;if((Be||We)&&Math.abs(Le)<se.months)return}V.setState({focusedDate:oe});return}var Ue=(0,E.default)(oe,se.minDate,V.dateOptions),z=V.list.getVisibleRange();Pe&&z.includes(Ue)||(V.isFirstRender=!0,V.list.scrollTo(Ue),V.setState({focusedDate:oe}))}),Oe(ee(V),"updateShownDate",function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:V.props,se=oe.scroll.enabled?I(I({},oe),{},{months:V.list.getVisibleRange().length}):oe,Pe=(0,i.calcFocusDate)(V.state.focusedDate,se);V.focusToDate(Pe,se)}),Oe(ee(V),"updatePreview",function(oe){if(!oe){V.setState({preview:null});return}var se={startDate:oe,endDate:oe,color:V.props.color};V.setState({preview:se})}),Oe(ee(V),"changeShownDate",function(oe){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"set",Pe=V.state.focusedDate,Le=V.props,Be=Le.onShownDateChange,We=Le.minDate,Ue=Le.maxDate,z={monthOffset:function(){return(0,c.default)(Pe,oe)},setMonth:(function(we){function De(){return we.apply(this,arguments)}return De.toString=function(){return we.toString()},De})(function(){return(0,L.default)(Pe,oe)}),setYear:(function(we){function De(){return we.apply(this,arguments)}return De.toString=function(){return we.toString()},De})(function(){return(0,M.default)(Pe,oe)}),set:function(){return oe}},ye=(0,j.default)([(0,g.default)([z[se](),We]),Ue]);V.focusToDate(ye,V.props,!1),Be&&Be(ye)}),Oe(ee(V),"handleRangeFocusChange",function(oe,se){V.props.onRangeFocusChange&&V.props.onRangeFocusChange([oe,se])}),Oe(ee(V),"handleScroll",function(){var oe=V.props,se=oe.onShownDateChange,Pe=oe.minDate,Le=V.state.focusedDate,Be=ee(V),We=Be.isFirstRender,Ue=V.list.getVisibleRange();if(Ue[0]!==void 0){var z=(0,c.default)(Pe,Ue[0]||0),ye=!(0,k.default)(z,Le);ye&&!We&&(V.setState({focusedDate:z}),se&&se(z)),V.isFirstRender=!1}}),Oe(ee(V),"renderMonthAndYear",function(oe,se,Pe){var Le=Pe.showMonthArrow,Be=Pe.minDate,We=Pe.maxDate,Ue=Pe.showMonthAndYearPickers,z=Pe.ariaLabels,ye=(We||le.defaultProps.maxDate).getFullYear(),we=(Be||le.defaultProps.minDate).getFullYear(),De=V.styles;return a.default.createElement("div",{onMouseUp:function(re){return re.stopPropagation()},className:De.monthAndYearWrapper},Le?a.default.createElement("button",{type:"button",className:(0,d.default)(De.nextPrevButton,De.prevButton),onClick:function(){return se(-1,"monthOffset")},"aria-label":z.prevButton},a.default.createElement("i",null)):null,Ue?a.default.createElement("span",{className:De.monthAndYearPickers},a.default.createElement("span",{className:De.monthPicker},a.default.createElement("select",{value:oe.getMonth(),onChange:function(re){return se(re.target.value,"setMonth")},"aria-label":z.monthPicker},V.state.monthNames.map(function(X,re){return a.default.createElement("option",{key:re,value:re},X)}))),a.default.createElement("span",{className:De.monthAndYearDivider}),a.default.createElement("span",{className:De.yearPicker},a.default.createElement("select",{value:oe.getFullYear(),onChange:function(re){return se(re.target.value,"setYear")},"aria-label":z.yearPicker},new Array(ye-we+1).fill(ye).map(function(X,re){var ae=X-re;return a.default.createElement("option",{key:ae,value:ae},ae)})))):a.default.createElement("span",{className:De.monthAndYearPickers},V.state.monthNames[oe.getMonth()]," ",oe.getFullYear()),Le?a.default.createElement("button",{type:"button",className:(0,d.default)(De.nextPrevButton,De.nextButton),onClick:function(){return se(1,"monthOffset")},"aria-label":z.nextButton},a.default.createElement("i",null)):null)}),Oe(ee(V),"renderDateDisplay",function(){var oe=V.props,se=oe.focusedRange,Pe=oe.color,Le=oe.ranges,Be=oe.rangeColors,We=oe.dateDisplayFormat,Ue=oe.editableDateInputs,z=oe.startDatePlaceholder,ye=oe.endDatePlaceholder,we=oe.ariaLabels,De=Be[se[0]]||Pe,X=V.styles;return a.default.createElement("div",{className:X.dateDisplayWrapper},Le.map(function(re,ae){return re.showDateDisplay===!1||re.disabled&&!re.showDateDisplay?null:a.default.createElement("div",{className:X.dateDisplay,key:ae,style:{color:re.color||De}},a.default.createElement(l.default,{className:(0,d.default)(X.dateDisplayItem,Oe({},X.dateDisplayItemActive,se[0]===ae&&se[1]===0)),readOnly:!Ue,disabled:re.disabled,value:re.startDate,placeholder:z,dateOptions:V.dateOptions,dateDisplayFormat:We,ariaLabel:we.dateInput&&we.dateInput[re.key]&&we.dateInput[re.key].startDate,onChange:V.onDragSelectionEnd,onFocus:function(){return V.handleRangeFocusChange(ae,0)}}),a.default.createElement(l.default,{className:(0,d.default)(X.dateDisplayItem,Oe({},X.dateDisplayItemActive,se[0]===ae&&se[1]===1)),readOnly:!Ue,disabled:re.disabled,value:re.endDate,placeholder:ye,dateOptions:V.dateOptions,dateDisplayFormat:We,ariaLabel:we.dateInput&&we.dateInput[re.key]&&we.dateInput[re.key].endDate,onChange:V.onDragSelectionEnd,onFocus:function(){return V.handleRangeFocusChange(ae,1)}}))}))}),Oe(ee(V),"onDragSelectionStart",function(oe){var se=V.props,Pe=se.onChange,Le=se.dragSelectionEnabled;Le?V.setState({drag:{status:!0,range:{startDate:oe,endDate:oe},disablePreview:!0}}):Pe&&Pe(oe)}),Oe(ee(V),"onDragSelectionEnd",function(oe){var se=V.props,Pe=se.updateRange,Le=se.displayMode,Be=se.onChange,We=se.dragSelectionEnabled;if(We){if(Le==="date"||!V.state.drag.status){Be&&Be(oe);return}var Ue={startDate:V.state.drag.range.startDate,endDate:oe};Le!=="dateRange"||(0,s.default)(Ue.startDate,oe)?V.setState({drag:{status:!1,range:{}}},function(){return Be&&Be(oe)}):V.setState({drag:{status:!1,range:{}}},function(){Pe&&Pe(Ue)})}}),Oe(ee(V),"onDragSelectionMove",function(oe){var se=V.state.drag;!se.status||!V.props.dragSelectionEnabled||V.setState({drag:{status:se.status,range:{startDate:se.range.startDate,endDate:oe},disablePreview:!0}})}),Oe(ee(V),"estimateMonthSize",function(oe,se){var Pe=V.props,Le=Pe.direction,Be=Pe.minDate,We=V.state.scrollArea;if(se&&(V.listSizeCache=se,se[oe]))return se[oe];if(Le==="horizontal")return We.monthWidth;var Ue=(0,c.default)(Be,oe),z=(0,i.getMonthDisplayRange)(Ue,V.dateOptions),ye=z.start,we=z.end,De=(0,C.default)(we,ye,V.dateOptions)+1>35;return De?We.longMonthHeight:We.monthHeight}),V.dateOptions={locale:me.locale},me.weekStartsOn!==void 0&&(V.dateOptions.weekStartsOn=me.weekStartsOn),V.styles=(0,i.generateStyles)([p.default,me.classNames]),V.listSizeCache={},V.isFirstRender=!0,V.state={monthNames:V.getMonthNames(),focusedDate:(0,i.calcFocusDate)(null,me),drag:{status:!1,range:{startDate:null,endDate:null},disablePreview:!1},scrollArea:V.calcScrollArea(me)},V}return U(le,[{key:"getMonthNames",value:function(){var ce=this;return ne(Array(12).keys()).map(function(V){return ce.props.locale.localize.month(V)})}},{key:"calcScrollArea",value:function(ce){var V=ce.direction,oe=ce.months,se=ce.scroll;if(!se.enabled)return{enabled:!1};var Pe=se.longMonthHeight||se.monthHeight;return V==="vertical"?{enabled:!0,monthHeight:se.monthHeight||220,longMonthHeight:Pe||260,calendarWidth:"auto",calendarHeight:(se.calendarHeight||Pe||240)*oe}:{enabled:!0,monthWidth:se.monthWidth||332,calendarWidth:(se.calendarWidth||se.monthWidth||332)*oe,monthHeight:Pe||300,calendarHeight:Pe||300}}},{key:"componentDidMount",value:function(){var ce=this;this.props.scroll.enabled&&setTimeout(function(){return ce.focusToDate(ce.state.focusedDate)})}},{key:"componentDidUpdate",value:function(ce){var V={dateRange:"ranges",date:"date"},oe=V[this.props.displayMode];this.props[oe]!==ce[oe]&&this.updateShownDate(this.props),(ce.locale!==this.props.locale||ce.weekStartsOn!==this.props.weekStartsOn)&&(this.dateOptions={locale:this.props.locale},this.props.weekStartsOn!==void 0&&(this.dateOptions.weekStartsOn=this.props.weekStartsOn),this.setState({monthNames:this.getMonthNames()})),(0,T.shallowEqualObjects)(ce.scroll,this.props.scroll)||this.setState({scrollArea:this.calcScrollArea(this.props)})}},{key:"renderWeekdays",value:function(){var ce=this,V=new Date;return a.default.createElement("div",{className:this.styles.weekDays},(0,O.default)({start:(0,P.default)(V,this.dateOptions),end:(0,y.default)(V,this.dateOptions)}).map(function(oe,se){return a.default.createElement("span",{className:ce.styles.weekDay,key:se},(0,S.default)(oe,ce.props.weekdayDisplayFormat,ce.dateOptions))}))}},{key:"render",value:function(){var ce=this,V=this.props,oe=V.showDateDisplay,se=V.onPreviewChange,Pe=V.scroll,Le=V.direction,Be=V.disabledDates,We=V.disabledDay,Ue=V.maxDate,z=V.minDate,ye=V.rangeColors,we=V.color,De=V.navigatorRenderer,X=V.className,re=V.preview,ae=this.state,ie=ae.scrollArea,Q=ae.focusedDate,ke=Le==="vertical",je=De||this.renderMonthAndYear,Ne=this.props.ranges.map(function($e,qe){return I(I({},$e),{},{color:$e.color||ye[qe]||we})});return a.default.createElement("div",{className:(0,d.default)(this.styles.calendarWrapper,X),onMouseUp:function(){return ce.setState({drag:{status:!1,range:{}}})},onMouseLeave:function(){ce.setState({drag:{status:!1,range:{}}})}},oe&&this.renderDateDisplay(),je(Q,this.changeShownDate,this.props),Pe.enabled?a.default.createElement("div",null,ke&&this.renderWeekdays(this.dateOptions),a.default.createElement("div",{className:(0,d.default)(this.styles.infiniteMonths,ke?this.styles.monthsVertical:this.styles.monthsHorizontal),onMouseLeave:function(){return se&&se()},style:{width:ie.calendarWidth+11,height:ie.calendarHeight+11},onScroll:this.handleScroll},a.default.createElement(m.default,{length:(0,E.default)((0,q.default)(Ue),(0,$.default)((0,R.default)(z),-1),this.dateOptions),treshold:500,type:"variable",ref:function(qe){return ce.list=qe},itemSizeEstimator:this.estimateMonthSize,axis:ke?"y":"x",itemRenderer:function(qe,Ke){var Xe=(0,c.default)(z,qe);return a.default.createElement(t.default,K({},ce.props,{onPreviewChange:se||ce.updatePreview,preview:re||ce.state.preview,ranges:Ne,key:Ke,drag:ce.state.drag,dateOptions:ce.dateOptions,disabledDates:Be,disabledDay:We,month:Xe,onDragSelectionStart:ce.onDragSelectionStart,onDragSelectionEnd:ce.onDragSelectionEnd,onDragSelectionMove:ce.onDragSelectionMove,onMouseLeave:function(){return se&&se()},styles:ce.styles,style:ke?{height:ce.estimateMonthSize(qe)}:{height:ie.monthHeight,width:ce.estimateMonthSize(qe)},showMonthName:!0,showWeekDays:!ke}))}}))):a.default.createElement("div",{className:(0,d.default)(this.styles.months,ke?this.styles.monthsVertical:this.styles.monthsHorizontal)},new Array(this.props.months).fill(null).map(function($e,qe){var Ke=(0,c.default)(ce.state.focusedDate,qe);return ce.props.calendarFocus==="backwards"&&(Ke=(0,_.default)(ce.state.focusedDate,ce.props.months-1-qe)),a.default.createElement(t.default,K({},ce.props,{onPreviewChange:se||ce.updatePreview,preview:re||ce.state.preview,ranges:Ne,key:qe,drag:ce.state.drag,dateOptions:ce.dateOptions,disabledDates:Be,disabledDay:We,month:Ke,onDragSelectionStart:ce.onDragSelectionStart,onDragSelectionEnd:ce.onDragSelectionEnd,onDragSelectionMove:ce.onDragSelectionMove,onMouseLeave:function(){return se&&se()},styles:ce.styles,showWeekDays:!ke||qe===0,showMonthName:!ke||qe>0}))})))}}]),le})(a.PureComponent);Ve.defaultProps={showMonthArrow:!0,showMonthAndYearPickers:!0,disabledDates:[],disabledDay:function(){},classNames:{},locale:v.default,ranges:[],focusedRange:[0,0],dateDisplayFormat:"MMM d, yyyy",monthDisplayFormat:"MMM yyyy",weekdayDisplayFormat:"E",dayDisplayFormat:"d",showDateDisplay:!0,showPreview:!0,displayMode:"date",months:1,color:"#3d91ff",scroll:{enabled:!1},direction:"vertical",maxDate:(0,w.default)(new Date,20),minDate:(0,w.default)(new Date,-100),rangeColors:["#3d91ff","#3ecf8e","#fed14c"],startDatePlaceholder:"Early",endDatePlaceholder:"Continuous",editableDateInputs:!1,dragSelectionEnabled:!0,fixedHeight:!1,calendarFocus:"forwards",preventSnapRefocus:!1,ariaLabels:{}},Ve.propTypes={showMonthArrow:e.default.bool,showMonthAndYearPickers:e.default.bool,disabledDates:e.default.array,disabledDay:e.default.func,minDate:e.default.object,maxDate:e.default.object,date:e.default.object,onChange:e.default.func,onPreviewChange:e.default.func,onRangeFocusChange:e.default.func,classNames:e.default.object,locale:e.default.object,shownDate:e.default.object,onShownDateChange:e.default.func,ranges:e.default.arrayOf(n.rangeShape),preview:e.default.shape({startDate:e.default.object,endDate:e.default.object,color:e.default.string}),dateDisplayFormat:e.default.string,monthDisplayFormat:e.default.string,weekdayDisplayFormat:e.default.string,weekStartsOn:e.default.number,dayDisplayFormat:e.default.string,focusedRange:e.default.arrayOf(e.default.number),initialFocusedRange:e.default.arrayOf(e.default.number),months:e.default.number,className:e.default.string,showDateDisplay:e.default.bool,showPreview:e.default.bool,displayMode:e.default.oneOf(["dateRange","date"]),color:e.default.string,updateRange:e.default.func,scroll:e.default.shape({enabled:e.default.bool,monthHeight:e.default.number,longMonthHeight:e.default.number,monthWidth:e.default.number,calendarWidth:e.default.number,calendarHeight:e.default.number}),direction:e.default.oneOf(["vertical","horizontal"]),startDatePlaceholder:e.default.string,endDatePlaceholder:e.default.string,navigatorRenderer:e.default.func,rangeColors:e.default.arrayOf(e.default.string),editableDateInputs:e.default.bool,dragSelectionEnabled:e.default.bool,fixedHeight:e.default.bool,calendarFocus:e.default.string,preventSnapRefocus:e.default.bool,ariaLabels:A.ariaLabelsShape};var it=Ve;return $r.default=it,$r}var Fn;function Bi(){if(Fn)return yr;Fn=1;function r(H){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(ne){return typeof ne}:r=function(ne){return ne&&typeof Symbol=="function"&&ne.constructor===Symbol&&ne!==Symbol.prototype?"symbol":typeof ne},r(H)}Object.defineProperty(yr,"__esModule",{value:!0}),yr.default=void 0;var a=R(Mt()),e=$(Rt()),n=$(Hi()),t=ma(),l=va(),i=$(qi),d=$(ji),m=$(zi),T=$(_a),g=$(Qa),j=$(Ya),C=$(Jt()),k=$(ya());function $(H){return H&&H.__esModule?H:{default:H}}function q(H){if(typeof WeakMap!="function")return null;var K=new WeakMap,ne=new WeakMap;return(q=function(x){return x?ne:K})(H)}function R(H,K){if(H&&H.__esModule)return H;if(H===null||r(H)!=="object"&&typeof H!="function")return{default:H};var ne=q(K);if(ne&&ne.has(H))return ne.get(H);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in H)if(b!=="default"&&Object.prototype.hasOwnProperty.call(H,b)){var u=x?Object.getOwnPropertyDescriptor(H,b):null;u&&(u.get||u.set)?Object.defineProperty(f,b,u):f[b]=H[b]}return f.default=H,ne&&ne.set(H,f),f}function E(){return E=Object.assign||function(H){for(var K=1;K<arguments.length;K++){var ne=arguments[K];for(var f in ne)Object.prototype.hasOwnProperty.call(ne,f)&&(H[f]=ne[f])}return H},E.apply(this,arguments)}function L(H,K){var ne=Object.keys(H);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(H);K&&(f=f.filter(function(x){return Object.getOwnPropertyDescriptor(H,x).enumerable})),ne.push.apply(ne,f)}return ne}function M(H){for(var K=1;K<arguments.length;K++){var ne=arguments[K]!=null?arguments[K]:{};K%2?L(Object(ne),!0).forEach(function(f){A(H,f,ne[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(ne)):L(Object(ne)).forEach(function(f){Object.defineProperty(H,f,Object.getOwnPropertyDescriptor(ne,f))})}return H}function w(H,K){if(!(H instanceof K))throw new TypeError("Cannot call a class as a function")}function s(H,K){for(var ne=0;ne<K.length;ne++){var f=K[ne];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(H,f.key,f)}}function y(H,K,ne){return K&&s(H.prototype,K),H}function P(H,K){if(typeof K!="function"&&K!==null)throw new TypeError("Super expression must either be null or a function");H.prototype=Object.create(K&&K.prototype,{constructor:{value:H,writable:!0,configurable:!0}}),K&&O(H,K)}function O(H,K){return O=Object.setPrototypeOf||function(f,x){return f.__proto__=x,f},O(H,K)}function S(H){var K=v();return function(){var f=p(H),x;if(K){var b=p(this).constructor;x=Reflect.construct(f,arguments,b)}else x=f.apply(this,arguments);return _(this,x)}}function _(H,K){return K&&(r(K)==="object"||typeof K=="function")?K:c(H)}function c(H){if(H===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return H}function v(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(H){return!1}}function p(H){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(ne){return ne.__proto__||Object.getPrototypeOf(ne)},p(H)}function A(H,K,ne){return K in H?Object.defineProperty(H,K,{value:ne,enumerable:!0,configurable:!0,writable:!0}):H[K]=ne,H}var F=(function(H){P(ne,H);var K=S(ne);function ne(f,x){var b;return w(this,ne),b=K.call(this,f,x),A(c(b),"calcNewSelection",function(u){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,h=b.props.focusedRange||b.state.focusedRange,I=b.props,W=I.ranges,Y=I.onChange,U=I.maxDate,Z=I.moveRangeOnFirstSelection,fe=I.retainEndDateOnFirstSelection,be=I.disabledDates,_e=h[0],ee=W[_e];if(!ee||!Y)return{};var ve=ee.startDate,ge=ee.endDate,Oe=new Date,Ve;if(!N)ve=u.startDate,ge=u.endDate;else if(h[1]===0){var it=(0,g.default)(ge||Oe,ve),J=function(){return Z?(0,T.default)(u,it):fe?!ge||(0,j.default)(u,ge)?ge:u:u||Oe};ve=u,ge=J(),U&&(ge=(0,m.default)([ge,U])),Ve=[h[0],1]}else ge=u;var te=h[1]===0;if((0,j.default)(ge,ve)){te=!te;var le=[ge,ve];ve=le[0],ge=le[1]}var me=be.filter(function(V){return(0,d.default)(V,{start:ve,end:ge})});if(me.length>0&&(te?ve=(0,T.default)((0,i.default)(me),1):ge=(0,T.default)((0,m.default)(me),-1)),!Ve){var ce=(0,l.findNextRangeIndex)(b.props.ranges,h[0]);Ve=[ce,0]}return{wasValid:!(me.length>0),range:{startDate:ve,endDate:ge},nextFocusRange:Ve}}),A(c(b),"setSelection",function(u,N){var h=b.props,I=h.onChange,W=h.ranges,Y=h.onRangeFocusChange,U=b.props.focusedRange||b.state.focusedRange,Z=U[0],fe=W[Z];if(fe){var be=b.calcNewSelection(u,N);I(A({},fe.key||"range".concat(Z+1),M(M({},fe),be.range))),b.setState({focusedRange:be.nextFocusRange,preview:null}),Y&&Y(be.nextFocusRange)}}),A(c(b),"handleRangeFocusChange",function(u){b.setState({focusedRange:u}),b.props.onRangeFocusChange&&b.props.onRangeFocusChange(u)}),A(c(b),"updatePreview",function(u){var N;if(!u){b.setState({preview:null});return}var h=b.props,I=h.rangeColors,W=h.ranges,Y=b.props.focusedRange||b.state.focusedRange,U=((N=W[Y[0]])===null||N===void 0?void 0:N.color)||I[Y[0]]||U;b.setState({preview:M(M({},u.range),{},{color:U})})}),b.state={focusedRange:f.initialFocusedRange||[(0,l.findNextRangeIndex)(f.ranges),0],preview:null},b.styles=(0,l.generateStyles)([k.default,f.classNames]),b}return y(ne,[{key:"render",value:function(){var x=this;return a.default.createElement(n.default,E({focusedRange:this.state.focusedRange,onRangeFocusChange:this.handleRangeFocusChange,preview:this.state.preview,onPreviewChange:function(u){x.updatePreview(u?x.calcNewSelection(u):null)}},this.props,{displayMode:"dateRange",className:(0,C.default)(this.styles.dateRangeWrapper,this.props.className),onChange:this.setSelection,updateRange:function(u){return x.setSelection(u,!1)},ref:function(u){x.calendar=u}}))}}]),ne})(a.Component);F.defaultProps={classNames:{},ranges:[],moveRangeOnFirstSelection:!1,retainEndDateOnFirstSelection:!1,rangeColors:["#3d91ff","#3ecf8e","#fed14c"],disabledDates:[]},F.propTypes=M(M({},n.default.propTypes),{},{onChange:e.default.func,onRangeFocusChange:e.default.func,className:e.default.string,ranges:e.default.arrayOf(t.rangeShape),moveRangeOnFirstSelection:e.default.bool,retainEndDateOnFirstSelection:e.default.bool});var G=F;return yr.default=G,yr}var Or={},Tr={},Wt={},An;function Ui(){if(An)return Wt;An=1,Object.defineProperty(Wt,"__esModule",{value:!0}),Wt.createStaticRanges=R,Wt.defaultInputRanges=Wt.defaultStaticRanges=void 0;var r=g(Qa),a=g(pa),e=g(ha),n=g(ga),t=g(Wi),l=g(Ja),i=g(Xa),d=g(Ka),m=g(Ua),T=g(_a);function g(M){return M&&M.__esModule?M:{default:M}}function j(M,w){var s=Object.keys(M);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(M);w&&(y=y.filter(function(P){return Object.getOwnPropertyDescriptor(M,P).enumerable})),s.push.apply(s,y)}return s}function C(M){for(var w=1;w<arguments.length;w++){var s=arguments[w]!=null?arguments[w]:{};w%2?j(Object(s),!0).forEach(function(y){k(M,y,s[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(s)):j(Object(s)).forEach(function(y){Object.defineProperty(M,y,Object.getOwnPropertyDescriptor(s,y))})}return M}function k(M,w,s){return w in M?Object.defineProperty(M,w,{value:s,enumerable:!0,configurable:!0,writable:!0}):M[w]=s,M}var $={startOfWeek:(0,n.default)(new Date),endOfWeek:(0,e.default)(new Date),startOfLastWeek:(0,n.default)((0,T.default)(new Date,-7)),endOfLastWeek:(0,e.default)((0,T.default)(new Date,-7)),startOfToday:(0,d.default)(new Date),endOfToday:(0,m.default)(new Date),startOfYesterday:(0,d.default)((0,T.default)(new Date,-1)),endOfYesterday:(0,m.default)((0,T.default)(new Date,-1)),startOfMonth:(0,i.default)(new Date),endOfMonth:(0,l.default)(new Date),startOfLastMonth:(0,i.default)((0,t.default)(new Date,-1)),endOfLastMonth:(0,l.default)((0,t.default)(new Date,-1))},q={range:{},isSelected:function(w){var s=this.range();return(0,a.default)(w.startDate,s.startDate)&&(0,a.default)(w.endDate,s.endDate)}};function R(M){return M.map(function(w){return C(C({},q),w)})}var E=R([{label:"Today",range:function(){return{startDate:$.startOfToday,endDate:$.endOfToday}}},{label:"Yesterday",range:function(){return{startDate:$.startOfYesterday,endDate:$.endOfYesterday}}},{label:"This Week",range:function(){return{startDate:$.startOfWeek,endDate:$.endOfWeek}}},{label:"Last Week",range:function(){return{startDate:$.startOfLastWeek,endDate:$.endOfLastWeek}}},{label:"This Month",range:function(){return{startDate:$.startOfMonth,endDate:$.endOfMonth}}},{label:"Last Month",range:function(){return{startDate:$.startOfLastMonth,endDate:$.endOfLastMonth}}}]);Wt.defaultStaticRanges=E;var L=[{label:"days up to today",range:function(w){return{startDate:(0,T.default)($.startOfToday,(Math.max(Number(w),1)-1)*-1),endDate:$.endOfToday}},getCurrentValue:function(w){return(0,a.default)(w.endDate,$.endOfToday)?w.startDate?(0,r.default)($.endOfToday,w.startDate)+1:"∞":"-"}},{label:"days starting today",range:function(w){var s=new Date;return{startDate:s,endDate:(0,T.default)(s,Math.max(Number(w),1)-1)}},getCurrentValue:function(w){return(0,a.default)(w.startDate,$.startOfToday)?w.endDate?(0,r.default)(w.endDate,$.startOfToday)+1:"∞":"-"}}];return Wt.defaultInputRanges=L,Wt}var Pr={},Ln;function If(){if(Ln)return Pr;Ln=1;function r(s){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(P){return typeof P}:r=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},r(s)}Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.default=void 0;var a=l(Mt()),e=n(Rt());function n(s){return s&&s.__esModule?s:{default:s}}function t(s){if(typeof WeakMap!="function")return null;var y=new WeakMap,P=new WeakMap;return(t=function(S){return S?P:y})(s)}function l(s,y){if(s&&s.__esModule)return s;if(s===null||r(s)!=="object"&&typeof s!="function")return{default:s};var P=t(y);if(P&&P.has(s))return P.get(s);var O={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in s)if(_!=="default"&&Object.prototype.hasOwnProperty.call(s,_)){var c=S?Object.getOwnPropertyDescriptor(s,_):null;c&&(c.get||c.set)?Object.defineProperty(O,_,c):O[_]=s[_]}return O.default=s,P&&P.set(s,O),O}function i(s,y){if(!(s instanceof y))throw new TypeError("Cannot call a class as a function")}function d(s,y){for(var P=0;P<y.length;P++){var O=y[P];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(s,O.key,O)}}function m(s,y,P){return y&&d(s.prototype,y),s}function T(s,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(y&&y.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),y&&g(s,y)}function g(s,y){return g=Object.setPrototypeOf||function(O,S){return O.__proto__=S,O},g(s,y)}function j(s){var y=$();return function(){var O=q(s),S;if(y){var _=q(this).constructor;S=Reflect.construct(O,arguments,_)}else S=O.apply(this,arguments);return C(this,S)}}function C(s,y){return y&&(r(y)==="object"||typeof y=="function")?y:k(s)}function k(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function $(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(s){return!1}}function q(s){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},q(s)}function R(s,y,P){return y in s?Object.defineProperty(s,y,{value:P,enumerable:!0,configurable:!0,writable:!0}):s[y]=P,s}var E=0,L=99999,M=(function(s){T(P,s);var y=j(P);function P(O,S){var _;return i(this,P),_=y.call(this,O,S),R(k(_),"onChange",function(c){var v=_.props.onChange,p=parseInt(c.target.value,10);p=isNaN(p)?0:Math.max(Math.min(L,p),E),v(p)}),_}return m(P,[{key:"shouldComponentUpdate",value:function(S){var _=this.props,c=_.value,v=_.label,p=_.placeholder;return c!==S.value||v!==S.label||p!==S.placeholder}},{key:"render",value:function(){var S=this.props,_=S.label,c=S.placeholder,v=S.value,p=S.styles,A=S.onBlur,F=S.onFocus;return a.default.createElement("div",{className:p.inputRange},a.default.createElement("input",{className:p.inputRangeInput,placeholder:c,value:v,min:E,max:L,onChange:this.onChange,onFocus:F,onBlur:A}),a.default.createElement("span",{className:p.inputRangeLabel},_))}}]),P})(a.Component);M.propTypes={value:e.default.oneOfType([e.default.string,e.default.number]),label:e.default.oneOfType([e.default.element,e.default.node]).isRequired,placeholder:e.default.string,styles:e.default.shape({inputRange:e.default.string,inputRangeInput:e.default.string,inputRangeLabel:e.default.string}).isRequired,onBlur:e.default.func.isRequired,onFocus:e.default.func.isRequired,onChange:e.default.func.isRequired},M.defaultProps={value:"",placeholder:"-"};var w=M;return Pr.default=w,Pr}var qn;function Yi(){if(qn)return Tr;qn=1;function r(_){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(v){return typeof v}:r=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},r(_)}Object.defineProperty(Tr,"__esModule",{value:!0}),Tr.default=void 0;var a=g(Mt()),e=m(Rt()),n=m(ya()),t=Ui(),l=ma(),i=m(If()),d=m(Jt());function m(_){return _&&_.__esModule?_:{default:_}}function T(_){if(typeof WeakMap!="function")return null;var c=new WeakMap,v=new WeakMap;return(T=function(A){return A?v:c})(_)}function g(_,c){if(_&&_.__esModule)return _;if(_===null||r(_)!=="object"&&typeof _!="function")return{default:_};var v=T(c);if(v&&v.has(_))return v.get(_);var p={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in _)if(F!=="default"&&Object.prototype.hasOwnProperty.call(_,F)){var G=A?Object.getOwnPropertyDescriptor(_,F):null;G&&(G.get||G.set)?Object.defineProperty(p,F,G):p[F]=_[F]}return p.default=_,v&&v.set(_,p),p}function j(_,c){var v=Object.keys(_);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(_);c&&(p=p.filter(function(A){return Object.getOwnPropertyDescriptor(_,A).enumerable})),v.push.apply(v,p)}return v}function C(_){for(var c=1;c<arguments.length;c++){var v=arguments[c]!=null?arguments[c]:{};c%2?j(Object(v),!0).forEach(function(p){P(_,p,v[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(v)):j(Object(v)).forEach(function(p){Object.defineProperty(_,p,Object.getOwnPropertyDescriptor(v,p))})}return _}function k(_,c){if(!(_ instanceof c))throw new TypeError("Cannot call a class as a function")}function $(_,c){for(var v=0;v<c.length;v++){var p=c[v];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(_,p.key,p)}}function q(_,c,v){return c&&$(_.prototype,c),_}function R(_,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(c&&c.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),c&&E(_,c)}function E(_,c){return E=Object.setPrototypeOf||function(p,A){return p.__proto__=A,p},E(_,c)}function L(_){var c=s();return function(){var p=y(_),A;if(c){var F=y(this).constructor;A=Reflect.construct(p,arguments,F)}else A=p.apply(this,arguments);return M(this,A)}}function M(_,c){return c&&(r(c)==="object"||typeof c=="function")?c:w(_)}function w(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function s(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(_){return!1}}function y(_){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(v){return v.__proto__||Object.getPrototypeOf(v)},y(_)}function P(_,c,v){return c in _?Object.defineProperty(_,c,{value:v,enumerable:!0,configurable:!0,writable:!0}):_[c]=v,_}var O=(function(_){R(v,_);var c=L(v);function v(p){var A;return k(this,v),A=c.call(this,p),P(w(A),"handleRangeChange",function(F){var G=A.props,H=G.onChange,K=G.ranges,ne=G.focusedRange,f=K[ne[0]];!H||!f||H(P({},f.key||"range".concat(ne[0]+1),C(C({},f),F)))}),A.state={rangeOffset:0,focusedInput:-1},A}return q(v,[{key:"getRangeOptionValue",value:function(A){var F=this.props,G=F.ranges,H=G===void 0?[]:G,K=F.focusedRange,ne=K===void 0?[]:K;if(typeof A.getCurrentValue!="function")return"";var f=H[ne[0]]||{};return A.getCurrentValue(f)||""}},{key:"getSelectedRange",value:function(A,F){var G=A.findIndex(function(K){return!K.startDate||!K.endDate||K.disabled?!1:F.isSelected(K)}),H=A[G];return{selectedRange:H,focusedRangeIndex:G}}},{key:"render",value:function(){var A=this,F=this.props,G=F.headerContent,H=F.footerContent,K=F.onPreviewChange,ne=F.inputRanges,f=F.staticRanges,x=F.ranges,b=F.renderStaticRangeLabel,u=F.rangeColors,N=F.className;return a.default.createElement("div",{className:(0,d.default)(n.default.definedRangesWrapper,N)},G,a.default.createElement("div",{className:n.default.staticRanges},f.map(function(h,I){var W=A.getSelectedRange(x,h),Y=W.selectedRange,U=W.focusedRangeIndex,Z;return h.hasCustomRendering?Z=b(h):Z=h.label,a.default.createElement("button",{type:"button",className:(0,d.default)(n.default.staticRange,P({},n.default.staticRangeSelected,!!Y)),style:{color:Y?Y.color||u[U]:null},key:I,onClick:function(){return A.handleRangeChange(h.range(A.props))},onFocus:function(){return K&&K(h.range(A.props))},onMouseOver:function(){return K&&K(h.range(A.props))},onMouseLeave:function(){K&&K()}},a.default.createElement("span",{tabIndex:-1,className:n.default.staticRangeLabel},Z))})),a.default.createElement("div",{className:n.default.inputRanges},ne.map(function(h,I){return a.default.createElement(i.default,{key:I,styles:n.default,label:h.label,onFocus:function(){return A.setState({focusedInput:I,rangeOffset:0})},onBlur:function(){return A.setState({rangeOffset:0})},onChange:function(Y){return A.handleRangeChange(h.range(Y,A.props))},value:A.getRangeOptionValue(h)})})),H)}}]),v})(a.Component);O.propTypes={inputRanges:e.default.array,staticRanges:e.default.array,ranges:e.default.arrayOf(l.rangeShape),focusedRange:e.default.arrayOf(e.default.number),onPreviewChange:e.default.func,onChange:e.default.func,footerContent:e.default.any,headerContent:e.default.any,rangeColors:e.default.arrayOf(e.default.string),className:e.default.string,renderStaticRangeLabel:e.default.func},O.defaultProps={inputRanges:t.defaultInputRanges,staticRanges:t.defaultStaticRanges,ranges:[],rangeColors:["#3d91ff","#3ecf8e","#fed14c"],focusedRange:[0,0]};var S=O;return Tr.default=S,Tr}var zn;function Ff(){if(zn)return Or;zn=1;function r(c){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(p){return typeof p}:r=function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},r(c)}Object.defineProperty(Or,"__esModule",{value:!0}),Or.default=void 0;var a=g(Mt()),e=m(Rt()),n=m(Bi()),t=m(Yi()),l=va(),i=m(Jt()),d=m(ya());function m(c){return c&&c.__esModule?c:{default:c}}function T(c){if(typeof WeakMap!="function")return null;var v=new WeakMap,p=new WeakMap;return(T=function(F){return F?p:v})(c)}function g(c,v){if(c&&c.__esModule)return c;if(c===null||r(c)!=="object"&&typeof c!="function")return{default:c};var p=T(v);if(p&&p.has(c))return p.get(c);var A={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var G in c)if(G!=="default"&&Object.prototype.hasOwnProperty.call(c,G)){var H=F?Object.getOwnPropertyDescriptor(c,G):null;H&&(H.get||H.set)?Object.defineProperty(A,G,H):A[G]=c[G]}return A.default=c,p&&p.set(c,A),A}function j(c,v){var p=Object.keys(c);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(c);v&&(A=A.filter(function(F){return Object.getOwnPropertyDescriptor(c,F).enumerable})),p.push.apply(p,A)}return p}function C(c){for(var v=1;v<arguments.length;v++){var p=arguments[v]!=null?arguments[v]:{};v%2?j(Object(p),!0).forEach(function(A){k(c,A,p[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(p)):j(Object(p)).forEach(function(A){Object.defineProperty(c,A,Object.getOwnPropertyDescriptor(p,A))})}return c}function k(c,v,p){return v in c?Object.defineProperty(c,v,{value:p,enumerable:!0,configurable:!0,writable:!0}):c[v]=p,c}function $(){return $=Object.assign||function(c){for(var v=1;v<arguments.length;v++){var p=arguments[v];for(var A in p)Object.prototype.hasOwnProperty.call(p,A)&&(c[A]=p[A])}return c},$.apply(this,arguments)}function q(c,v){if(!(c instanceof v))throw new TypeError("Cannot call a class as a function")}function R(c,v){for(var p=0;p<v.length;p++){var A=v[p];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(c,A.key,A)}}function E(c,v,p){return v&&R(c.prototype,v),c}function L(c,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(v&&v.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),v&&M(c,v)}function M(c,v){return M=Object.setPrototypeOf||function(A,F){return A.__proto__=F,A},M(c,v)}function w(c){var v=P();return function(){var A=O(c),F;if(v){var G=O(this).constructor;F=Reflect.construct(A,arguments,G)}else F=A.apply(this,arguments);return s(this,F)}}function s(c,v){return v&&(r(v)==="object"||typeof v=="function")?v:y(c)}function y(c){if(c===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c}function P(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(c){return!1}}function O(c){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(p){return p.__proto__||Object.getPrototypeOf(p)},O(c)}var S=(function(c){L(p,c);var v=w(p);function p(A){var F;return q(this,p),F=v.call(this,A),F.state={focusedRange:[(0,l.findNextRangeIndex)(A.ranges),0]},F.styles=(0,l.generateStyles)([d.default,A.classNames]),F}return E(p,[{key:"render",value:function(){var F=this,G=this.state.focusedRange;return a.default.createElement("div",{className:(0,i.default)(this.styles.dateRangePickerWrapper,this.props.className)},a.default.createElement(t.default,$({focusedRange:G,onPreviewChange:function(K){return F.dateRange.updatePreview(K?F.dateRange.calcNewSelection(K,typeof K=="string"):null)}},this.props,{range:this.props.ranges[G[0]],className:void 0})),a.default.createElement(n.default,$({onRangeFocusChange:function(K){return F.setState({focusedRange:K})},focusedRange:G},this.props,{ref:function(K){return F.dateRange=K},className:void 0})))}}]),p})(a.Component);S.defaultProps={},S.propTypes=C(C(C({},n.default.propTypes),t.default.propTypes),{},{className:e.default.string});var _=S;return Or.default=_,Or}var Wn;function Af(){return Wn||(Wn=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"DateRange",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"Calendar",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(r,"DateRangePicker",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"DefinedRange",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(r,"defaultInputRanges",{enumerable:!0,get:function(){return l.defaultInputRanges}}),Object.defineProperty(r,"defaultStaticRanges",{enumerable:!0,get:function(){return l.defaultStaticRanges}}),Object.defineProperty(r,"createStaticRanges",{enumerable:!0,get:function(){return l.createStaticRanges}});var a=i(Bi()),e=i(Hi()),n=i(Ff()),t=i(Yi()),l=Ui();function i(d){return d&&d.__esModule?d:{default:d}}})(ka)),ka}var Lf=Af();function qf({size:r=32}){return o.jsx("svg",{width:r,height:r,viewBox:"0 0 24 24",children:o.jsx("path",{fill:"currentColor",d:"M5 22q-.825 0-1.413-.587Q3 20.825 3 20V6q0-.825.587-1.412Q4.175 4 5 4h1V2h2v2h8V2h2v2h1q.825 0 1.413.588Q21 5.175 21 6v14q0 .825-.587 1.413Q19.825 22 19 22Zm0-2h14V10H5v10ZM5 8h14V6H5Zm0 0V6v2Zm7 6q-.425 0-.712-.288Q11 13.425 11 13t.288-.713Q11.575 12 12 12t.713.287Q13 12.575 13 13t-.287.712Q12.425 14 12 14Zm-4 0q-.425 0-.713-.288Q7 13.425 7 13t.287-.713Q7.575 12 8 12t.713.287Q9 12.575 9 13t-.287.712Q8.425 14 8 14Zm8 0q-.425 0-.712-.288Q15 13.425 15 13t.288-.713Q15.575 12 16 12t.712.287Q17 12.575 17 13t-.288.712Q16.425 14 16 14Zm-4 4q-.425 0-.712-.288Q11 17.425 11 17t.288-.712Q11.575 16 12 16t.713.288Q13 16.575 13 17t-.287.712Q12.425 18 12 18Zm-4 0q-.425 0-.713-.288Q7 17.425 7 17t.287-.712Q7.575 16 8 16t.713.288Q9 16.575 9 17t-.287.712Q8.425 18 8 18Zm8 0q-.425 0-.712-.288Q15 17.425 15 17t.288-.712Q15.575 16 16 16t.712.288Q17 16.575 17 17t-.288.712Q16.425 18 16 18Z"})})}function zf({fetchData:r}){const a=xe(Ir),e={startDate:null,endDate:null,key:"date"},[n,t]=B.useState(e),{css:l}=lt(),i=B.useRef(!1),d=C=>C instanceof Date&&!Number.isNaN(C.getTime()),m=()=>{i.current=!0,T(n),jr()},T=C=>{const{startDate:k,endDate:$}=C,q=k?ut(k,"Y-m-d"):"",R=$?ut($,"Y-m-d"):"",E={start_date:q,end_date:R},{pageIndex:L,pageSize:M,sortBy:w,filters:s,globalFilter:y,conditions:P}=a.details;r({pageIndex:L,pageSize:M,sortBy:w,filters:s,globalFilter:y,conditions:P,entriesFilterByDate:E})},g=()=>{t(e),T(e),i.current=!1,jr()},j=Qe(de({},n),{startDate:d(n.startDate)?n.startDate:new Date,endDate:d(n.endDate)?n.endDate:new Date});return o.jsx("div",{className:"mr-2",children:o.jsxs(Ba,{children:[o.jsxs("div",{className:"flx",children:[i.current&&d(n.startDate)&&d(n.endDate)&&o.jsxs("div",{className:"btcd-custom-date-range white ml-2",children:[o.jsxs("span",{className:"m-a",children:[" ",`${ut(n.startDate,"Y-m-d")} - ${ut(n.endDate,"Y-m-d")}`]}),o.jsx("button",{"aria-label":"Close",type:"button",className:"icn-btn",onClick:g,children:o.jsx(ht,{size:"12"})})]}),o.jsx(ar,{msg:D("Filter Entries between Dates"),children:o.jsx("button",{"aria-label":"Fitler",className:l(Mr.tableActionBtn,kt.ml2),style:{"--tooltip-txt":`'${D("Filter")}'`},type:"button",children:o.jsx(qf,{size:"16"})})})]}),o.jsxs("div",{style:{minHeight:"200px !important"},className:l(Mr.dataRange),children:[o.jsx(Lf.DateRange,{onChange:C=>t(C.date),moveRangeOnFirstSelection:!1,retainEndDateOnFirstSelection:!0,editableDateInputs:!0,ranges:[j],maxDate:new Date,showSelectionPreview:!1,showDateDisplay:!0,startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",direction:"horizontal"}),o.jsxs("div",{className:l({flx:"",jc:"end",pt:8,pb:6}),children:[o.jsx(St,{className:l(kt.mr1),size:"sm",onClick:m,children:D("Search")}),o.jsx(St,{variant:"primary-outline",size:"sm",onClick:g,children:D("Clear")})]})]})]})})}function Wf({size:r=30,stroke:a=2,cls:e=""}){return o.jsxs("svg",{className:e,width:r,height:r,viewBox:"0 0 30 30",children:[o.jsx("ellipse",{className:"svg-icn",strokeWidth:a,cx:"15",cy:"15",rx:"11.95",ry:"11.87"}),o.jsx("polyline",{className:"svg-icn",strokeWidth:a,points:"11.07 14.88 14.39 18.26 20.93 11.74"})]})}function Hf({size:r=24,stroke:a="2"}){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:a,strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-list-filter-icon lucide-list-filter",children:[o.jsx("path",{d:"M2 5h20"}),o.jsx("path",{d:"M6 12h12"}),o.jsx("path",{d:"M9 19h6"})]})}function Bf({size:r=24,stroke:a="2"}){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:a,strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-list-filter-plus-icon lucide-list-filter-plus",children:[o.jsx("path",{d:"M12 5H2"}),o.jsx("path",{d:"M6 12h12"}),o.jsx("path",{d:"M9 19h6"}),o.jsx("path",{d:"M16 5h6"}),o.jsx("path",{d:"M19 8V2"})]})}function Uf({className:r,onChange:a,value:e,label:n,children:t,style:l}){return o.jsxs("div",{className:`btcd-mt-sel ${r}`,style:l,children:[o.jsx("select",{onChange:a,value:e||"",children:t}),o.jsx("small",{children:n})]})}const Vi=["empty","not_empty","today","till_today","tomorrow","yesterday","till_yesterday","till_yesterday","last_7_days","last_30_days","last_60_days","last_90_days","last_120_days","next_7_days","next_30_days","next_60_days","next_90_days","next_120_days","current_week","next_week","last_week","current_month","next_month","last_month","current_year","next_year","last_year"],Yf=[{key:"user_id",lbl:"User",type:"user",typ:"user",name:"User"},{key:"user_ip",lbl:"IP address",type:"text",typ:"text",name:"IP address"},{key:"referer",lbl:"Refer URL",type:"text",typ:"text",name:"Refer URL"},{key:"user_device",lbl:"Device",type:"text",typ:"text",name:"Device"},{key:"status",lbl:"Entry Status",type:"boolean",typ:"boolean",name:"Entry Status"},{key:"created_at",lbl:"IP address",type:"date",typ:"date",name:"Created Time"}],Vf=(r,a,e)=>{var t;const n=[{title:"",type:"group",childs:[{label:D("Equal"),value:"equal"},{label:D("Not equal"),value:"not_equal"}]}];return r.match(/^(boolean)$/)||n[0].childs.push({label:D("Empty"),value:"empty"},{label:D("Not empty"),value:"not_empty"}),r.match(/^(number|color|url|password|date|time|datetime|month|week|boolean)$/)||n[0].childs.push({label:D("Start With"),value:"start_with"},{label:D("End With"),value:"end_with"},{label:D("Not Start With"),value:"not_start_with"},{label:D("Not End With"),value:"not_end_with"}),!r.match(/^(number|date|time|datetime|month|week|boolean)$/)&&!r.match(/^(check|radio)$/)&&(n[0].childs.push({label:D("Not contains"),value:"not_contain"}),n[0].childs.push({label:D("Contains"),value:"contain"})),(r==="select"&&((t=a==null?void 0:a[e])!=null&&t.mul)||r==="check")&&n[0].childs.push({label:D("Contain All"),value:"contain_all"}),r.match(/^(number|date|time|datetime|month|week)$/)&&(n[0].childs.push({label:D("Greater Than"),value:"greater_than"}),n[0].childs.push({label:D("Less Than"),value:"less_than"}),n[0].childs.push({label:D("Greater Than or Equal"),value:"greater_than_equal"}),n[0].childs.push({label:D("Less Than or Equal"),value:"less_than_equal"})),r.match(/^(date|datetime)$/)&&(n.push({title:"Day",type:"group",childs:[{label:D("Today"),value:"today"},{label:D("Till Today"),value:"till_today"},{label:D("Tomorrow"),value:"tomorrow"},{label:D("Yesterday"),value:"yesterday"},{label:D("Till Yesterday"),value:"till_yesterday"},{label:D("Last 7 Days"),value:"last_7_days"},{label:D("Last 30 Days"),value:"last_30_days"},{label:D("Last 60 Days"),value:"last_60_days"},{label:D("Last 90 Days"),value:"last_90_days"},{label:D("Last 120 Days"),value:"last_120_days"},{label:D("Next 7 Days"),value:"next_7_days"},{label:D("Next 30 Days"),value:"next_30_days"},{label:D("Next 60 Days"),value:"next_60_days"},{label:D("Next 90 Days"),value:"next_90_days"},{label:D("Next 120 Days"),value:"next_120_days"}]}),n.push({title:"Week",type:"group",childs:[{label:D("Current Week"),value:"current_week"},{label:D("Next Week"),value:"next_week"},{label:D("Last Week"),value:"last_week"}]}),n.push({title:"Month",type:"group",childs:[{label:D("Current Month"),value:"current_month"},{label:D("Next Month"),value:"next_month"},{label:D("Last Month"),value:"last_month"}]}),n.push({title:"Year",type:"group",childs:[{label:D("Current Year"),value:"current_year"},{label:D("Next Year"),value:"next_year"},{label:D("Last Year"),value:"last_year"}]})),n},Gf=(r,a)=>["user","select","check"].includes(r)?a===""?[]:a.split(","):a;function Ca({fieldVal:r,delLogic:a,lgcInd:e,subLgcInd:n,subSubLgcInd:t,value:l,changeLogic:i,logicValue:d,changeValue:m,changeFormField:T}){var M,w;const g=xe(sr),C=xe(za).concat(Yf),{userMail:k}=gi(),$=Vi;let q="",R="",E="";(M=C==null?void 0:C.find)==null||M.call(C,s=>{if(s.key===r)return s.type.match(/^(check|radio|select|html-select|image-select)$/)?q="text":q=s.type,R=s.type,E=s.key,!0});const L=()=>{var y,P,O,S,_,c;let s=[];if(R==="select"){const{optionsList:v}=(g==null?void 0:g[E])||{};return v.reduce((p,A)=>{const F=Object.keys(A)[0],G=Object.values(A)[0];return p.push({type:"group",title:F,childs:G.map(H=>({label:H.lbl,value:H.val||H.lbl}))}),p},[])}if(["decision-box","gdpr"].includes(R)){const v=g==null?void 0:g[E];return[{label:(y=v==null?void 0:v.msg)==null?void 0:y.checked,value:(P=v==null?void 0:v.msg)==null?void 0:P.checked},{label:(O=v==null?void 0:v.msg)==null?void 0:O.unchecked,value:(S=v==null?void 0:v.msg)==null?void 0:S.unchecked}]}return s=(c=(_=g==null?void 0:g[E])==null?void 0:_.opt)==null?void 0:c.map(v=>({label:v.lbl,value:v.val||v.lbl})),R==="user"&&(s=k==null?void 0:k.map(v=>({label:v.label,value:v.id}))),R==="boolean"&&(s=[{label:D("Read entries"),value:"0"},{label:D("Unread entries"),value:"1"},{label:D("Confirmed entries"),value:"3"},{label:D("Unconfirmed entries"),value:"2"},{label:D("Draft entries"),value:"9"}]),s};return o.jsxs("div",{className:"flx pos-rel btcd-logic-blk",children:[o.jsx("span",{className:"btcd-logic-chip logic-chip-custom mr-2",children:"IF"}),o.jsxs(Uf,{label:"Form Fields",value:r||"",style:{width:720},onChange:s=>T(s.target.value,e,n,t),className:"mt-0",children:[o.jsx("option",{value:"",children:D("Select Form Field")}),C.map(s=>!s.type.match(/^(file-up|recaptcha)$/)&&o.jsx("option",{value:s.key,children:s.name},`ff-lb-${s.key}`))]}),o.jsx("svg",{height:"35",width:"100",children:o.jsx("line",{x1:"0",y1:"20",x2:"40",y2:"20",style:{stroke:"#b9c5ff",strokeWidth:1}})}),o.jsx(yi,{action:s=>i(s,e,n,t),placeholder:D("Logic"),value:d||"",titleClassName:"w-7",className:"mr-2 report-drpdwn w-10 mt-0",options:Vf(q,g,E)}),!$.includes(d)&&o.jsx("svg",{height:"35",width:"100",children:o.jsx("line",{x1:"0",y1:"20",x2:"40",y2:"20",style:{stroke:"#b9c5ff",strokeWidth:1}})}),!$.includes(d)&&(R.match(/select|check|radio|user|boolean/g)?o.jsx(hi,{className:"msl-wrp-options btcd-paper-drpdwn w-10",defaultValue:l.toString()||"",onChange:s=>m(s,e,R),options:L(),customValue:!0,singleSelect:R==="select"?!((w=g==null?void 0:g[E])!=null&&w.mul):R==="check"?!1:R.match(/radio|boolean/g)&&!0,fldType:R}):o.jsx(uo,{label:"Value",type:q,onChange:s=>m(s.target.value,e),value:l||""})),o.jsx("div",{className:"w-1",children:o.jsx(Pt,{onClick:()=>a(e),icn:!0,className:"ml-2 white mr-2 sh-sm abc",children:o.jsx(Ar,{size:"16"})})})]})}function Oa({logic:r,nested:a,onChange:e,className:n=null}){return o.jsxs(o.Fragment,{children:[o.jsx("div",{style:{height:a?5:10},children:o.jsx("svg",{height:"60",width:"50",children:o.jsx("line",{x1:"20",y1:a?6:10,x2:"20",y2:"0",style:{stroke:"#b9c5ff",strokeWidth:1}})})}),o.jsx("div",{children:o.jsxs("select",{value:r,onChange:e,className:`btcd-logic-chip ${n} ${a&&"scl-7 op-8"}`,children:[o.jsx("option",{value:"or",children:D("OR")}),o.jsx("option",{value:"and",children:D("AND")})]})}),o.jsx("div",{style:{height:a?5:10},children:o.jsx("svg",{height:"60",width:"50",children:o.jsx("line",{x1:"20",y1:a?6:10,x2:"20",y2:"0",style:{stroke:"#b9c5ff",strokeWidth:1}})})})]})}function Kf({formFields:r,dataConf:a,setDataConf:e,reportInd:n}){var $,q,R;const t=Vi,l=(E,L)=>{e(M=>{const w=ot(M);return w[n].details.conditions[L]=E,w})},i=(E,L)=>{e(M=>{const w=ot(M);return w[n].details.conditions[L].field=E,w[n].details.conditions[L].val="",w})},d=(E,L,M=null)=>{e(w=>{const s=ot(w);return s[n].details.conditions[L].val=Gf(M,E),s})},m=(E,L)=>{e(M=>{const w=ot(M);return w[n].details.conditions[L].val="",t.includes(E)&&(w[n].details.conditions[L].val=E),w[n].details.conditions[L].logic=E,w})},T=E=>{var L,M,w;((w=(M=(L=a[n])==null?void 0:L.details)==null?void 0:M.conditions)==null?void 0:w.length)>1&&e(s=>{const y=ot(s);return E!==0?y[n].details.conditions.splice(E-1,2):y[n].details.conditions.splice(E,2),y})},g=E=>{E==="and"?e(L=>{const M=ot(L);return M[n].details.conditions.push("and"),M[n].details.conditions.push({field:"",logic:"",val:""}),M}):E==="or"&&e(L=>{const M=ot(L);return M[n].details.conditions.push("or"),M[n].details.conditions.push({field:"",logic:"",val:""}),M})},j=(E,L)=>{E==="and"?e(M=>{const w=ot(M);return w[n].details.conditions[L].push("and"),w[n].details.conditions[L].push({field:"",logic:"",val:""}),w}):E==="or"&&e(M=>{const w=ot(M);return w[n].details.conditions[L].push("or"),w[n].details.conditions[L].push({field:"",logic:"",val:""}),w})},C=(E,L,M)=>{E==="and"?e(w=>{const s=ot(w);return s[n].details.conditions[L][M].push("and"),s[n].details.conditions[L][M].push({field:"",logic:"",val:""}),s}):E==="or"&&e(w=>{const s=ot(w);return s[n].details.conditions[L][M].push("or"),s[n].details.conditions[L][M].push({field:"",logic:"",val:""}),s})},k=(E,L)=>{e(M=>{const w=ot(M);return w[n].details.conditions[L].val=E,w})};return o.jsxs("div",{style:{width:800},children:[o.jsx("div",{children:(R=(q=($=a[n])==null?void 0:$.details)==null?void 0:q.conditions)==null?void 0:R.map((E,L)=>o.jsxs("span",{children:[typeof E=="object"&&!Array.isArray(E)&&o.jsx(Ca,{fieldVal:E.field,changeFormField:i,changeValue:d,logicValue:E.logic,changeLogic:m,delLogic:T,lgcInd:L,value:E.val,formFields:r,setValue:k}),typeof E=="string"&&o.jsx(Oa,{logic:E,onChange:M=>l(M.target.value,L),className:"logic-chip-custom"}),Array.isArray(E)&&o.jsxs("div",{className:"p-2 pl-6 br-10 btcd-logic-grp",children:[E.map((M,w)=>o.jsxs("span",{children:[typeof M=="object"&&!Array.isArray(M)&&o.jsx(Ca,{fieldVal:M.field,changeFormField:i,changeValue:d,logicValue:M.logic,changeLogic:m,delLogic:T,lgcInd:L,subLgcInd:w,value:M.val,formFields:r,setValue:k}),typeof M=="string"&&o.jsx(Oa,{logic:M,nested:!0,onChange:s=>l(s.target.value,L),className:"logic-chip-custom"}),Array.isArray(M)&&o.jsxs("div",{className:"p-2 pl-6 br-10 btcd-logic-grp",children:[M.map((s,y)=>o.jsxs("span",{children:[typeof s=="object"&&!Array.isArray(s)&&o.jsx(Ca,{fieldVal:s.field,changeFormField:i,changeValue:d,logicValue:s.logic,changeLogic:m,delLogic:T,lgcInd:L,subLgcInd:w,subSubLgcInd:y,value:s.val,formFields:r,setValue:k}),typeof s=="string"&&o.jsx(Oa,{logic:s,nested:!0,onChange:P=>l(P.target.value,L),className:"logic-chip-custom"})]},`subsubLogic-${y+90}`)),o.jsx("div",{className:"btcd-workFlows-btns",children:o.jsxs("div",{className:"flx",children:[o.jsx(Pt,{icn:!0,className:"blue",children:o.jsx(ht,{size:"14",className:"icn-rotate-45"})}),o.jsxs(Pt,{onClick:()=>C("and",L,w),className:"blue ml-2",children:[o.jsx(ht,{size:"10",className:"icn-rotate-45 mr-1"}),"AND"," "]}),o.jsxs(Pt,{onClick:()=>C("or",L,w),className:"blue ml-2",children:[o.jsx(ht,{size:"10",className:"icn-rotate-45 mr-1"}),"OR"," "]})]})})]})]},`subLogic-${w*7}`)),o.jsx("div",{className:" btcd-workFlows-btns",children:o.jsxs("div",{className:"flx",children:[o.jsx(Pt,{icn:!0,className:"blue sh-sm",children:o.jsx(ht,{size:"14",className:"icn-rotate-45"})}),o.jsxs(Pt,{onClick:()=>j("and",L),className:"gray ml-2",children:[o.jsx(ht,{size:"10",className:"icn-rotate-45 mr-1"}),"AND"]}),o.jsxs(Pt,{onClick:()=>j("or",L),className:"gray ml-2",children:[o.jsx(ht,{size:"10",className:"icn-rotate-45 mr-1"}),"OR"]})]})})]})]},`logic-${L+44}`))}),o.jsx("div",{className:"btcd-workFlows-btns",children:o.jsxs("div",{className:"flx",children:[o.jsxs(Pt,{onClick:()=>g("and"),className:"blue ml-2",children:[o.jsx(ht,{size:"10",className:"icn-rotate-45 mr-1"}),"AND"]}),o.jsxs(Pt,{onClick:()=>g("or"),className:"blue ml-2",children:[o.jsx(ht,{size:"10",className:"icn-rotate-45 mr-1"}),"OR"]})]})})]})}function Qf({fetchData:r,setRefreshResp:a}){var f,x,b;const e=xe(Ir),[n,t]=Ye(sa),[l,i]=Ye(Er),d=l.findIndex(u=>{var N;return(u==null?void 0:u.id)&&u.id.toString()===((N=n==null?void 0:n.id)==null?void 0:N.toString())}),m=xe(za),[T,g]=B.useState(!1),[j,C]=B.useState(d||0),{formID:k}=Dt(),[$,q]=B.useState({show:!1}),[R,E]=B.useState([]),[L,M]=B.useState(!1),[w,s]=B.useState({show:!1,msg:""}),y=xe(ct),{isPro:P}=y,[O,S]=B.useState(!1),[_,c]=B.useState({show:!1}),{css:v}=lt();B.useEffect(()=>{C(d)},[n]),B.useEffect(()=>{p()},[l]),B.useEffect(()=>{var u,N,h;if(l[j]&&((u=l[j])!=null&&u.details)&&!((h=(N=l[j])==null?void 0:N.details)!=null&&h.conditions)){const I=ot([...l]);I[j]&&(I[j].details.conditions=[{field:"",logic:"",val:""},"or",{field:"",logic:"",val:""}],i(I))}},[]);const p=()=>{const u=[];return l.forEach(N=>{var h;return N.id&&u.push({label:((h=N==null?void 0:N.details)==null?void 0:h.report_name)||"",value:N.id.toString(),isDefault:N.isDefault})}),E([...u]),u},A=u=>{const N=l.find(h=>{var I;return((I=h==null?void 0:h.id)==null?void 0:I.toString())===u.toString()});t({id:u,isDefault:(N==null?void 0:N.isDefault)==="1"}),a(1)},F=()=>{var h,I;let{id:u}=l[j];if(L||(u=0),((I=(h=l[j])==null?void 0:h.details)==null?void 0:I.report_name)===""){c({show:!0,msg:D("report name cann't be empty")});return}S(!0);const N=Ze({report:l[j].details,formId:k,reportId:u},"bitforms_save_report").then(W=>{var Y;if(W!=null&&W.success){const{data:U}=W;L&&n.id===u&&A(U.report_id);const Z=ot(l);Z[j].id=(Y=U==null?void 0:U.report_id)==null?void 0:Y.toString(),i(Z)}else if(!(W!=null&&W.success))return"Error occured";return S(!1),g(!1),W});_t.promise(N,{loading:D("Saving..."),success:W=>{var Y;return((Y=W==null?void 0:W.data)==null?void 0:Y.message)||(W==null?void 0:W.data)},error:D("Error occurred, Please try again.")})},G=u=>{const{value:N,name:h}=u.target,I=ot([...l]);I[j].details[h]=N,i(I)},H=()=>{var N;g(!1);const u=ot([...l]);(N=u[j])!=null&&N.id||(u.splice(j,1),i(u))},K=()=>{if(!P){s({show:!0,msg:"Only the default report is available in the free version!"});return}M(!1);const u=ot([...l]),h=u.push({isDefault:"0",type:"table",details:{report_name:"Untitled filter ",hiddenColumns:[],pageSize:10,sortBy:[],filters:[],globalFilter:"",order:[],conditions:[{field:"",logic:"",val:""},"or",{field:"",logic:"",val:""}]}})-1;i(u),setTimeout(()=>{C(h),g(!0)},1)},ne=()=>{$.show=!1,q(de({},$))};return o.jsxs(o.Fragment,{children:[o.jsx(Wa,{snack:_,setSnackbar:c}),o.jsxs("div",{className:"flx",children:[o.jsxs(Ba,{children:[o.jsxs("div",{className:`flx ${v(rt.filterDropdownTrigger)}`,children:[o.jsx("div",{className:v(rt.filterName),children:(f=e==null?void 0:e.details)==null?void 0:f.report_name}),o.jsx("span",{className:v(rt.filterIconRight),children:o.jsx(Hf,{size:"16",stroke:"2"})})]}),o.jsx(Jf,{availableReports:R,setAvailableReports:E,setAvailableReport:p,reportFetchById:A,setReportIndex:C,setReportUpdate:M,setProModal:s,confMdl:$,setconfMdl:q,setshowMdl:g,createNewReport:K})]}),o.jsx("button",{className:v(rt.refreshButton),onClick:()=>{a(1)},type:"button",title:D("Refresh"),children:o.jsx(so,{size:"18"})}),o.jsxs("div",{children:[o.jsx(ca,{show:$.show,close:ne,btnTxt:$.btnTxt,btnClass:$.btnClass,body:$.body,action:$.action}),o.jsx(nr,{md:!0,show:T,setModal:g,title:"Create Filter",style:{overflow:"auto"},onCloseMdl:H,children:o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"flx mt-4",children:[o.jsx("label",{htmlFor:"name",children:"Name"}),o.jsx("input",{id:"name","aria-label":"Report name",type:"text",name:"report_name",value:((b=(x=l[j])==null?void 0:x.details)==null?void 0:b.report_name)||"",onChange:G,placeholder:"Please enter report name",className:"ml-2 btcd-paper-inp w-6"})]}),o.jsxs("div",{className:"mt-4",children:[o.jsx(Kf,{formFields:m,dataConf:l,setDataConf:i,reportInd:j||0}),o.jsxs(St,{className:v(kt.ftRight,kt.mb3),onClick:F,children:[D("Save"),O&&o.jsx(or,{size:20,clr:"#fff",className:"ml-2"})]})]})]})})]}),o.jsx("div",{children:o.jsxs(nr,{sm:!0,show:w.show,setModal:()=>s({show:!1}),title:D("Premium Feature"),className:"pro-modal",children:[o.jsx("h4",{className:"txt-center mt-5",children:w.msg}),o.jsx("div",{className:"txt-center",children:o.jsx("a",{href:"https://www.bitapps.pro/bit-form",target:"_blank",rel:"noreferrer",children:o.jsx("button",{className:"btn btn-lg blue",type:"button",children:D("Buy Premium")})})})]})})]})]})}const rt={filterDropdownTrigger:{bd:"#fff",cr:"var(--bf-text-clr-darkgray)",b:"1px solid var(--bf-stroke-clr)",mnw:180,brs:"var(--bf-bdr-radius-sm)",px:"12px",ff:"var(--bf-font-family-base) !important",fts:"normal",fw:500,fs:14,lh:"17px",w:200,jc:"space-between",ai:"center",cur:"pointer",h:"var(--bf-thead-inp-height)","&:hover":{cr:"var(--bf-text-clr-dark)",bd:"var(--b-79-96)"}},filterName:{ws:"nowrap",ow:"hidden",toe:"ellipsis",flx:1},filterIconRight:{flx:"center",pl:8,h:"100%",bl:"1px solid var(--bf-stroke-clr)"},refreshButton:{flx:"center",b:"1px solid #e2e2e2",p:8,ml:8,brs:"var(--bf-bdr-radius-sm)",cur:"pointer",bd:"#fff",cr:"var(--bf-text-clr-darkgray)",":hover":{bd:"var(--b-79-96)",cr:"var(--blue)"},":focus-visible":{focusOutline:1},h:"var(--bf-thead-inp-height)"},filterListContainer:{p:"10px 5px",w:270},filterListHeader:{dy:"flex",ai:"center",jc:"space-between",mb:8},filterListTitle:{cr:"rgb(63, 63, 63)",fw:700,fs:15},newFilterBtn:{h:"var(--bf-thead-inp-height) !important",gp:5,w:"50% !important"},searchAndNewFilterRow:{dy:"flex",ai:"center",gp:8,pb:10,mb:10,bb:"1px solid var(--bf-stroke-clr)"},searchBoxWrapper:{pn:"relative",flx:1,tn:"all 0.2s ease",w:"50%","&:focus-within":{w:"60%"},"&:focus-within ~ button":{w:"40% !important"}},searchIcon:{pn:"absolute !important",tp:"50%",lt:10,transform:"translateY(-50%)",cr:"hsla(0, 0%, 50%, 100%)",pointerEvents:"none",lh:0},searchInput:{bxs:"border-box",b:"1px solid #E6E6E6!important",brs:"var(--bf-bdr-radius-sm) !important",p:"8px 10px 8px 32px!important",ff:"var(--bf-font-family-base) !important",fts:"normal",fw:500,fs:13,lh:15,w:"100%",h:"var(--bf-thead-inp-height)",mnh:"auto!important",oe:"none!important",tn:"0.2s all ease",":focus":{focusShadow:1},"::placeholder":{cr:"#999"}},filterItem:{dy:"flex",ai:"center",jc:"space-between",p:"8px 10px",brs:"var(--bf-bdr-radius-sm)",mb:4,h:42,tn:"all 0.3s ease",cur:"pointer",":hover":{bd:"var(--b-79-96)"},":hover .actions":{oy:1,dy:"inline-flex"},"&.active":{b:"1px solid var(--bf-stroke-clr)"}},filterItemContent:{dy:"flex",ai:"center",gp:8,flx:1,ow:"hidden"},filterItemLabel:{fs:14,fw:500,ff:"var(--bf-font-family-base) !important",ws:"nowrap",ow:"hidden",toe:"ellipsis"},tickIcon:{cr:"var(--bf-text-clr-darkgray)",flxs:0,mr:4},filterActions:{dy:"none",ai:"center",gp:4,oy:0,tn:"opacity 1s ease"},actionBtn:{flx:"center",b:"none",bd:"transparent",p:4,brs:4,cur:"pointer",cr:"hsl(0deg 1% 29%)",":hover":{bd:"var(--b-79-96)",cr:"var(--blue)"}},deleteBtn:{":hover":{cr:"var(--red-100-61)"}},noResults:{cr:"#666",fs:13,ta:"center",p:"20px 0"}},Jf=({availableReports:r,setAvailableReports:a,setAvailableReport:e,reportFetchById:n,setProModal:t,confMdl:l,setconfMdl:i,setReportUpdate:d,setReportIndex:m,setshowMdl:T,createNewReport:g})=>{const{css:j}=lt(),C=xe(ct),{isPro:k}=C,$=xe(Ir),[q,R]=Ye(Er),E=Me(Nr),L=S=>{const{value:_}=S.target,c=e().filter(v=>{var p;return(p=v.label)==null?void 0:p.toLowerCase().includes(_.toLowerCase())});a(c)},M=S=>{S!==($==null?void 0:$.id)&&(n(S),E(_=>Qe(de({},_),{unsaved:!0})),jr())},w=(S,_)=>{if(_.stopPropagation(),!k){t({show:!0,msg:"Edit option available in the pro version!"});return}d(!0);const c=r.findIndex(v=>v.value===S);setTimeout(()=>{m(c),T(!0)},1),jr()},s=()=>{l.show=!1,i(de({},l))},y=(S,_)=>{_.stopPropagation(),l.btnTxt=D("Delete"),l.body=D("Are you sure to delete this report"),l.btnClass="",l.action=()=>{P(S),s()},l.show=!0,i(de({},l))},P=S=>{const _=Ze({report_id:S},"bitforms_delete_report").then(c=>{if(c!=null&&c.success){const v=q.findIndex(A=>A.id===S),p=ot([...q]);p.splice(v,1),R(p)}else if(!(c!=null&&c.success))return"Error occured";return c});_t.promise(_,{loading:D("Deleting ..."),success:c=>{var v;return((v=c==null?void 0:c.data)==null?void 0:v.message)||(c==null?void 0:c.data)},error:D("Error occurred, Please try again.")})},O=()=>{g(),jr()};return o.jsxs("div",{className:j(rt.filterListContainer),children:[o.jsx("div",{className:j(rt.filterListHeader),children:o.jsx("span",{className:j(rt.filterListTitle),children:D("Filter List")})}),o.jsxs("div",{className:j(rt.searchAndNewFilterRow),children:[o.jsxs("div",{className:j(rt.searchBoxWrapper),children:[o.jsx("span",{className:j(rt.searchIcon),children:o.jsx(Rl,{size:"14"})}),o.jsx("input",{"aria-label":"Search filters",type:"text",placeholder:D("Search filters..."),onChange:L,className:j(rt.searchInput)})]}),o.jsxs(St,{className:j(rt.newFilterBtn),onClick:O,size:"sm",children:[o.jsx(Bf,{size:15,stroke:"2"}),D("New Filter")]})]}),r.length===0&&o.jsx("div",{className:j(rt.noResults),children:D("No matching filter found")}),o.jsx(ci,{style:{height:200},autoHide:!0,children:o.jsx("div",{children:r==null?void 0:r.map(S=>{const _=S.value===($==null?void 0:$.id),c=S.isDefault.toString()==="0";return o.jsxs("div",{className:`${j(rt.filterItem)} ${_&&"active"}`,onClick:()=>M(S.value),role:"button",tabIndex:0,onKeyDown:v=>v.key==="Enter"&&M(S.value),children:[o.jsx("div",{className:j(rt.filterItemContent),children:o.jsx("span",{className:j(rt.filterItemLabel),title:S==null?void 0:S.label,children:S==null?void 0:S.label})}),o.jsxs("div",{children:[_&&o.jsx("span",{className:`${j(rt.tickIcon)} check-icon`,children:o.jsx(Wf,{size:18,stroke:2})}),c&&o.jsxs("div",{className:`${j(rt.filterActions)} actions`,children:[o.jsx("button",{className:j(rt.actionBtn),title:D("Edit"),onClick:v=>w(S.value,v),type:"button",children:o.jsx(El,{size:"18"})}),o.jsx("button",{className:j(rt.actionBtn,rt.deleteBtn),title:D("Delete"),onClick:v=>y(S.value,v),type:"button",children:o.jsx(Ar,{size:"18"})})]})]})]},`filter-item-${S.value}`)})})})]})};function Xf(r){return o.jsxs("div",{className:"btcd-drawer",style:{right:r.show?0:-620,width:600},children:[o.jsxs("div",{className:"flx flx-between",children:[o.jsx("div",{className:"btcd-drawer-title",children:r.title}),o.jsxs("div",{className:"flx",children:[o.jsx("button",{onClick:r.relatedinfo,className:"icn-btn btcd-icn-lg tooltip",style:{"--tooltip-txt":'"Related Info"'},"aria-label":"icon-btn",type:"button",children:o.jsx(Il,{size:"15"})}),o.jsx("button",{onClick:r.editData,className:"icn-btn btcd-icn-lg tooltip",style:{"--tooltip-txt":'"Edit"'},"aria-label":"icon-btn",type:"button",children:o.jsx(Fr,{size:"15"})}),o.jsx("button",{onClick:r.delConfMdl,className:"icn-btn btcd-icn-lg tooltip",style:{"--tooltip-txt":'"Delete"'},"aria-label":"icon-btn",type:"button",children:o.jsx(Ar,{size:"15"})}),o.jsx("button",{onClick:()=>r.close(!1),className:"icn-btn btcd-icn-lg tooltip",style:{"--tooltip-txt":'"Close"'},"aria-label":"modal-close",type:"button",children:o.jsx(ht,{size:"14",stroke:"3"})})]})]}),o.jsx("small",{className:"btcd-mdl-subtitle",children:r.subTitle}),o.jsx("div",{className:"btcd-mdl-div"}),r.children]})}function Zf({size:r,rotateDeg:a=0}){return o.jsx("svg",{width:r,height:r,className:"btc-line-icn",viewBox:"-10 0 200 45",style:{transform:`rotate(${a}deg)`},fill:"currentColor",children:o.jsx("path",{className:"fill-icn",d:`M22.2,45.5L22.2,45.5C10,45.5,0,35.5,0,23.2l0-1C0,10,10,0,22.2,0h0c12.3,0,22.2,10,22.2,22.2v1 |