| 1 |
var us=Object.defineProperty,ps=Object.defineProperties;var bs=Object.getOwnPropertyDescriptors;var Ca=Object.getOwnPropertySymbols;var Ci=Object.prototype.hasOwnProperty,Oi=Object.prototype.propertyIsEnumerable;var Di=(e,r,t)=>r in e?us(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,U=(e,r)=>{for(var t in r||(r={}))Ci.call(r,t)&&Di(e,t,r[t]);if(Ca)for(var t of Ca(r))Oi.call(r,t)&&Di(e,t,r[t]);return e},He=(e,r)=>ps(e,bs(r));var Ti=(e,r)=>{var t={};for(var n in e)Ci.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&Ca)for(var n of Ca(e))r.indexOf(n)<0&&Oi.call(e,n)&&(t[n]=e[n]);return t};var ct=(e,r,t)=>new Promise((n,a)=>{var i=d=>{try{s(t.next(d))}catch(f){a(f)}},l=d=>{try{s(t.throw(d))}catch(f){a(f)}},s=d=>d.done?n(d.value):Promise.resolve(d.value).then(i,l);s((t=t.apply(e,r)).next())});import{a4 as Kn,a5 as Qn,a6 as Xa,a7 as en,a8 as mt,a9 as ms,aa as hs,c as Fe,ab as gs,U as Al,ac as _s,ad as vs,ae as $s,af as ys,ag as xs,ah as ws,ai as ks,aj as Ss,ak as Ds,j as o,a as Ge,g as Ct,u as Z,i as je,W as Dt,_ as g,h as St,$ as tt,al as Fl,r as D,am as ql,V as ht,an as Jn,ao as Cs,D as Zn,ap as be,aq as Wl,f as Or,ar as Pi,as as ji,at as Ni,au as Mi,av as Os,aw as Ts,ax as Hr,ay as Ps,az as zl,aA as js,aB as Ns,aC as Ms,aD as Rs,aE as Es,L as Rr,aF as Is,aG as Hl,aH as Er,aI as Bl,aJ as Xn,aK as Ls,aL as Ir,aM as la,aN as da,aO as ca,aP as tn,aQ as Ul,aR as ei,aS as Yl,aT as rn,aU as Gl,aV as Vl,aW as Kl,aX as As,aY as Fs,aZ as ti,a_ as Ql,a$ as Jl,b0 as Zl,b1 as Xl,b2 as qs,b3 as eo,b4 as to,b5 as ro,b6 as ao,b7 as no,b8 as Ws,b9 as Nn,ba as zs,bb as ri,bc as Hs,bd as Bs,M as Nr,b as Lt,e as At,be as io,J as ai,d as an,bf as ot,bg as fa,Q as ua,R as lo,C as Us,N as oo,s as Ri,bh as so,S as ni,F as nn,bi as oa,a3 as Ys,bj as co,bk as Mn,bl as Rn,bm as fo,bn as ke,bo as qt,bp as Gs,bq as K,br as Vs,bs as bt,H as Ve,bt as Ks,E as Qs,o as Js,bu as Zs,bv as Ei,z as Xs,A as ed,B as td,bw as rd,bx as ii,by as ad,q as Ii,bz as nd,a1 as id,bA as ld,bB as od,bC as sd,bD as dd,bE as cd,bF as fd,bG as vn,bH as Ne}from"./main-221.js";import{e as jr,f as ud,R as pd,g as bd,h as md,i as hd,d as gd,P as _d,T as vd,a as $d,b as Br,c as Ur,C as yd,j as uo,k as Jr,l as po,B as It,S as xd,m as wd}from"./bf-685-81.js";import{M as kd}from"./bf-566-114.js";var Sd=""+new URL("logo-black.svg",import.meta.url).href;const Dd=Kn({}),Cd=Kn("bitformDefault"),ln=Kn({allThemeVars:{},allThemeColors:{},allStyles:{}}),o0=Qn(e=>{const r=e(Xa),{lightThemeColors:t,darkThemeColors:n}=e(ln).allThemeColors;return r==="dark"?U(U({},t),n):t}),s0=Qn(e=>{const r=e(Xa)==="dark",t=e(en),{lgLightThemeVars:n,lgDarkThemeVars:a,mdLightThemeVars:i,mdDarkThemeVars:l,smLightThemeVars:s,smDarkThemeVars:d}=e(ln).allThemeVars;if(t==="lg")return r?U(U({},n),a):n;if(t==="md")return U(U(U(U({},n),r&&a),i),r&&l);if(t==="sm")return U(U(U(U(U(U({},n),r&&a),i),r&&l),s),r&&d)}),d0=Qn(e=>{const r=e(Xa)==="dark",t=e(en),{lgLightStyles:n,lgDarkStyles:a,mdLightStyles:i,mdDarkStyles:l,smLightStyles:s,smDarkStyles:d}=e(ln).allStyles;if(t==="lg")return r?mt(n,a):n;if(t==="md")return r?mt(n,a,i,l):mt(n,i);if(t==="sm")return r?mt(n,a,i,l,s,d):mt(n,i,s)});var Od={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"}}},Td={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:[]}},Pd={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:"example@mail.com",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:[]}},jd={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:"example@mail.com",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/assets/../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 allready exist",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."}}}},Nd={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:"example@mail.com",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:{}}},Md={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"}}},Rd={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}]}},Ed={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:[]}},Id={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:"Check Boxs",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:[]}}},Ld={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:[]}},Ad={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:"example@mail.com",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:[]}},Fd={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/assets/../static/repeater/plusicon.svg",removeBtn:{show:!0,btnTyp:"button",btnSiz:"md",txt:"",icn:{pos:"",url:""}},removeBtnPreIcn:"http://bitform.xyz/wp-content/plugins/bitform/assets/../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/assets/../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:"example@mail.com",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:[]}}},qd={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:"example@mail.com",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:[]}},Wd={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:"example@mail.com",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:[]}},zd=e=>{switch(e){case"contact_form":case"contact_form_atlassian":return Pd;case"newsletter_sing_up_form":case"newsletter_sing_up_form_atlassian":return Ad;case"simple_contact_form":case"simple_contact_form_atlassian":return Wd;case"signup_form":case"signup_form_atlassian":return qd;case"newsletter_form":case"newsletter_form_atlassian":return Ld;case"login_form":case"login_form_atlassian":return Ed;case"meeting_room_reg":case"meeting_room_reg_atlassian":return Id;case"conference_reg_form":case"conference_reg_form_atlassian":return Td;case"repeater_field_test_form":case"repeater_field_test_form_atlassian":return Fd;case"grade_book_form":case"grade_book_form_atlassian":return Rd;case"gdpf_form":case"gdpf_form_atlassian":return Md;case"academic_advisor_meeting_form":case"academic_advisor_meeting_form_atlassian":return Od;case"customer_complain_form":case"customer_complain_form_atlassian":return jd;case"disaster_relief_donation_form_atlassian":return Nd;default:return ms}};function Hd(e,r,t){return new Promise((n,a)=>{let i={};const l=window.location.href.split("#")[0],s=hs.find(d=>d.slug===e);if(!s){window.open(l,"_self");return}if(s!=null&&s.isPro&&!(t!=null&&t.isPro)){window.open(l,"_self");return}s!=null&&s.isPro&&(t!=null&&t.isPro)?Fe({templateSlug:e},"bitforms_get_form_template").then(d=>{if(d.success){if(i=JSON.parse(d.data),i.theme=(s==null?void 0:s.theme)||"bitformDefault",s!=null&&s.paymentType){const{fields:f}=i,c=s.paymentType.map(m=>m.toLowerCase());Bd(c,f)}i=Li(i,r,!1),n(i)}}).catch(d=>a(d)):(i=zd(e),i.theme=(s==null?void 0:s.theme)||"bitformDefault",i=Li(i,r),n(i))})}const Bd=(e,r)=>{const n=gs(Al).reduce((i,l)=>(i[l.type.toLowerCase()]=l.id,i),{});Object.keys(r).forEach(i=>{const l=r[i].typ.toLowerCase();e.includes(l)&&n[l]&&(r[i].payIntegID=n[l])})},Ud={cond_type:"if",logics:[{field:"",logic:"",val:""},"or",{field:"",logic:"",val:""}],actions:{fields:[{field:"",action:"value"}],success:[{type:"successMsg",details:{id:'{"index":0}'}}]}},c0=e=>[{cond_type:"if",logics:[{field:"",logic:"",val:""}],actions:{fields:[{field:e,action:"show",val:""}],success:[]}},{cond_type:"else",actions:{fields:[{field:e,action:"hide",val:""}]}}];function Yd(){return[{title:"Show Success Message",action_type:"onsubmit",action_run:"create_edit",action_behaviour:"always",conditions:[Ud],info:{type:"advanced"}}]}function Li(e,r,t=!0){const n={},{name:a,fields:i,layouts:l,conditions:s,confirmations:d,theme:f,additionalSettings:c,formInfo:m}=e,u=_s(i),p=Object.keys(u),h={};let x={},v,y;t?(v=mt(vs(),d||{}),y=[...Yd(),...s||[]]):(v=d,y=$s(s,r)),p.forEach(N=>{const L=N.replace("fld_key",`b${r}`),R=U({},u[N]);R.fieldName=`${R.typ}-${L}`,h[L]=R});const _=`b${r}`,S=ys(l,/fld_key/,_);if(e!=null&&e.nestedLayouts){const N=e.nestedLayouts;xs(N,/fld_key/,_),Object.keys(N).forEach(L=>{const R=N[L].lg;n[L]={lg:R,md:R,sm:R}})}const k=Object.entries(h);let{themeColors:b,themeVars:$,styles:T}=ws(f,k,r);if(e!=null&&e.themeColors&&(b=mt(b,e.themeColors)),e!=null&&e.themeVars&&($=mt($,e.themeVars)),e!=null&&e.styles){const N=ks(e==null?void 0:e.styles,r);T=mt(T,N)}return Array.isArray(l)&&(T.lgLightStyles.form=mt(T.lgLightStyles.form,Ss({formID:r,themeSlug:T.lgLightStyles.theme})),x=Ds(r)),{name:a,fields:h,layouts:S,confirmations:v,conditions:y,allThemeColors:b,allThemeVars:$,allStyles:T,additionalSettings:c,nestedLayouts:n,formInfo:m||{formName:a},staticStyles:x}}function Gd({size:e,stroke:r=2,className:t=""}){return o.jsxs("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:r,className:t,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 Vd(){const{css:e}=Ge(),{formID:r}=Ct(),t=Z(tt),[n,a]=je(Fl),i=()=>{const l=`${t.siteURL}/?bitform-form-view=${r}`;if(!n||n.closed){const s=window.open(l,"_blank");s&&a(s);return}try{n.location.href.includes(`bitform-form-view=${r}`)||(n.location.href=l),n.focus(),n.location.reload(!0)}catch(s){const d=window.open(l,"_blank");a(d)}};return o.jsxs(Dt,{type:"button",title:g("Preview Form"),"aria-label":"Preview Form",onClick:i,variant:"secondary-outline",className:e({h:42}),children:[o.jsx(Gd,{size:18,className:e(St.mr1)}),o.jsx("span",{children:g("Preview")})]})}function Kd({size:e,stroke:r=2,classNames:t}){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,className:t,viewBox:"0 0 20 20",children:o.jsx("path",{strokeWidth:r,fill:"currentColor",d:"M6 14H4V6h2V4H2v12h4zm1.1 3h2.1l3.7-14h-2.1zM14 4v2h2v8h-2v2h4V4z"})})}function $n({id:e,className:r,cls:t,value:n,inpWidth:a=100,readOnly:i=!0,copyOnInputClick:l=!1,title:s=""}){const{css:d}=Ge(),f=D.useRef(null),c=()=>navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(n):(f.current.focus(),f.current.select(),new Promise((u,p)=>{document.execCommand("copy")?u():p()})),m=()=>{c().then(()=>ht.success(g("Copied on clipboard."))).catch(()=>ht.error(g("Failed to Copy, Try Again.")))};return o.jsxs("div",{className:`${d(yn.wrapper)} ${r}`,title:s,children:[o.jsx("input",{"aria-label":"Copy field key",ref:f,style:{width:parseInt(a,10)},className:`${d(yn.input)} ${t}`,id:"text-copy",type:"text",value:n,readOnly:i,onClick:l?m:void 0}),o.jsx(jr,{msg:"Copy",children:o.jsx("button",{"data-testid":`${e}-col-cpy-btn`,onClick:m,className:`${d(yn.btn)}`,type:"button","aria-label":"Copy field key",children:o.jsx(ql,{w:"20"})})})]})}const yn={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 li(m){var u=m,{children:e,instance:r=null,width:t="auto",place:n="bottom",onShow:a,onHide:i,arrow:l=!0,trigger:s="click",offset:d=[0,10],hideOnClick:f=!0}=u,c=Ti(u,["children","instance","width","place","onShow","onHide","arrow","trigger","offset","hideOnClick"]);return o.jsx(ud,He(U(He(U(U({ref:r,inertia:!0,trigger:s,placement:n,duration:350,interactiveBorder:20},a&&{onShow:a}),i&&{onHide:i}),{theme:"light-border",animation:"shift-away-extreme",interactive:!0,maxWidth:t,offset:d,arrow:l&&pd,content:e[1],hideOnClick:f}),c),{children:o.jsx("span",{children:e[0]})}))}function Qd(){const{css:e}=Ge(),{formID:r}=Ct(),t=Z(Jn),{conversationalSettings:n={}}=t;return n.enable?o.jsxs(li,{children:[o.jsxs(Dt,{type:"button",variant:"secondary-outline",className:e(Gt.publishBtn),children:[g("Embed"),o.jsx(Kd,{size:20,stroke:1,classNames:e({ml:5})})]}),o.jsxs("div",{className:e(Gt.downmenu),children:[o.jsxs("div",{children:[o.jsx("div",{className:e(Gt.title),children:"Shortcode"}),o.jsx($n,{cls:e(Gt.downmenuinput),value:`[bitform id='${r}']`})]}),n.enable&&o.jsxs("div",{children:[o.jsx("div",{className:e(Gt.title),children:"Conversational Form Shortcode"}),o.jsx($n,{cls:e(Gt.downmenuinput),value:`[bitform id='${r}' type='conversational']`})]})]})]}):o.jsx("div",{className:e(Gt.shorcodeWrapper),children:o.jsx($n,{cls:e(Gt.shorcodeInput),inpWidth:150,value:`[bitform id='${r}']`,copyOnInputClick:!0,title:g("Copy Shortcode")})})}const Gt={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:"100% !important",fs:12}};function Oa(e){const r=Ct(),t=Object.keys(e);let n=!0;return t.forEach(a=>{e[a]!=="?"&&a!=="render"&&r[a]!==e[a]&&(e[a]===!0&&r[a]===void 0||e[a]!==!0)&&(n=!1)}),n&&e.render}const Ai="bit-form-config",Fi=0,Jd=8,qi=28,Zd=450,bo=225,Xd=400,Wi={leftPanelCollapsed:!1,rightPanelCollapsed:!1,leftPanelWidth:Zd,leftPanelWidthOnStyleMode:bo,rightPanelWidth:Xd},ec=()=>{const[e,r]=D.useState(()=>{try{const u=localStorage.getItem(Ai);if(u){const p=JSON.parse(u);return p.toolbarOff!==void 0&&(p.leftPanelCollapsed=p.toolbarOff),U(U({},Wi),p)}}catch(u){}return Wi},[]),t=D.useCallback(u=>{r(p=>{const h=U(U({},p),u);try{localStorage.setItem(Ai,JSON.stringify(h))}catch(x){}return h})},[]),n=D.useCallback(()=>{t({leftPanelCollapsed:!e.leftPanelCollapsed})},[e.leftPanelCollapsed,t]),a=D.useCallback(()=>{t({rightPanelCollapsed:!e.rightPanelCollapsed})},[e.rightPanelCollapsed,t]),i=D.useCallback((u,p=!1)=>{t(p?{leftPanelWidthOnStyleMode:u}:{leftPanelWidth:u})},[t]),l=D.useCallback(u=>{t({rightPanelWidth:u})},[t]),s=D.useCallback((u=!1,p=window.innerWidth)=>e.leftPanelCollapsed?Fi:u&&e.leftPanelWidthOnStyleMode!==void 0?e.leftPanelWidthOnStyleMode:p<1200?e.leftPanelWidthOnStyleMode||bo:e.leftPanelWidth,[e.leftPanelCollapsed,e.leftPanelWidth]),d=D.useCallback((u=!1,p=window.innerWidth)=>u?e.rightPanelCollapsed?Fi:e.rightPanelWidth:0,[e.rightPanelCollapsed,e.rightPanelWidth]),f=D.useCallback(({referenceWidth:u,leftWidth:p,rightWidth:h,splitBarWidth:x=Jd,gridPadding:v=qi,styleMode:y=!1})=>{const _=x*2,S=v*2;return u-p-h-_-S},[]),c=D.useCallback((u=window.innerWidth,p=!1)=>f({referenceWidth:u,leftWidth:s(p,u),rightWidth:d(p,u),styleMode:p}),[f,s,d]),m=D.useCallback((u=window.innerWidth,p=!1)=>{const h=s(p,u),x=d(p,u);return u-h-x},[c]);return{config:e,GRID_PADDING:qi,updateConfig:t,toggleLeftPanel:n,toggleRightPanel:a,setLeftPanelWidth:i,setRightPanelWidth:l,getLeftPanelWidth:s,getRightPanelWidth:d,calculateGridWidth:f,getCenterWidth:m,getCalculatedGridWidth:c,isLeftCollapsed:e.leftPanelCollapsed,isRightCollapsed:e.rightPanelCollapsed}};function tc({value:e,onChange:r,onSelect:t,optionList:n,currentSelectedValue:a,mainPlaceherText:i=g("Please write form name"),searchPlaceholder:l=g("Search forms here..."),onSearch:s,noSearchResultsText:d=g("No forms found"),classNames:f=""}){const{css:c}=Ge(),[m,u]=D.useState(!1),[p,h]=D.useState(""),[x,v]=D.useState(-1),y=D.useRef(null),_=D.useRef(null),S=D.useRef(null),k=n.filter(O=>O.label.toLowerCase().includes(p.toLowerCase()));D.useEffect(()=>{const O=N=>{y.current&&!y.current.contains(N.target)&&u(!1)};if(m)return document.addEventListener("mousedown",O),()=>{document.removeEventListener("mousedown",O)}},[m]),D.useEffect(()=>{m&&_.current&&_.current.focus()},[m]),D.useEffect(()=>(S.current&&clearTimeout(S.current),s&&p&&(S.current=setTimeout(()=>{s(p)},300)),()=>{S.current&&clearTimeout(S.current)}),[p,s]);const b=()=>{u(!m),v(-1)},$=O=>{t(O.value),u(!1),h(""),v(-1)},T=O=>{if(!m){(O.key==="ArrowDown"||O.key==="Enter")&&(O.preventDefault(),u(!0));return}switch(O.key){case"ArrowDown":O.preventDefault(),v(N=>N<k.length-1?N+1:N);break;case"ArrowUp":O.preventDefault(),v(N=>N>0?N-1:-1);break;case"Enter":O.preventDefault(),x>=0&&k[x]&&$(k[x]);break;case"Escape":O.preventDefault(),u(!1),h(""),v(-1);break}},E=O=>{switch(O.key){case"ArrowDown":O.preventDefault(),v(N=>N<k.length-1?N+1:0);break;case"ArrowUp":O.preventDefault(),v(N=>N>0?N-1:k.length-1);break;case"Enter":O.preventDefault(),x>=0&&k[x]&&$(k[x]);break;case"Tab":k.length>0&&(O.preventDefault(),O.shiftKey?v(N=>N>0?N-1:k.length-1):v(N=>N<k.length-1?N+1:0));break;case"Escape":O.preventDefault(),u(!1),h(""),v(-1);break}};return o.jsxs("div",{className:`${c(et.container)} ${f} editable-select-container`,ref:y,children:[o.jsxs("div",{className:`${c(et.inputWrapper)} input-wrapper`,children:[o.jsx("input",{type:"text",value:e,title:e,onChange:O=>r(O.target.value),onKeyDown:T,className:`${c(et.mainInput)} main-input`,"aria-label":"Form name",placeholder:i,"aria-expanded":m,"aria-haspopup":"listbox","aria-controls":"form-switcher-listbox"}),o.jsx("div",{className:`${c(et.toggleButtonWrapper)} toggle-button-wrapper`,children:o.jsx("button",{type:"button",onClick:b,className:`${c(et.toggleButton)} toggle-button`,"aria-label":m?"Close form list":"Open form list","aria-expanded":m,children:o.jsx(bd,{size:16,className:c(et.chevronIcon,...m?[et.chevronIconOpen]:[])})})})]}),m&&o.jsxs("div",{className:`${c(et.dropdown)} dropdown`,id:"form-switcher-listbox",role:"listbox",children:[o.jsxs("div",{className:`${c(et.searchWrapper)} search-wrapper`,children:[o.jsx("input",{ref:_,type:"text",value:p,onChange:O=>h(O.target.value),onKeyDown:E,placeholder:l,className:`${c(et.searchInput)} search-input`,"aria-label":"Search forms"}),o.jsx(Cs,{size:16,className:c(et.searchIcon)})]}),o.jsx("div",{className:`${c(et.optionsList)} options-list`,children:k.length>0?k.map((O,N)=>{const L=O.value===a,R=x===N;return o.jsxs("div",{role:"option","aria-selected":R||L,className:`${c(et.option,...R?[et.optionHighlighted]:[],...L?[et.optionSelected]:[])} option`,onClick:()=>$(O),onMouseEnter:()=>v(N),children:[o.jsx("span",{children:O.label}),L&&o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:c(et.checkIcon),children:o.jsx("path",{d:"M13.3332 4L5.99984 11.3333L2.6665 8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]},O.value)}):o.jsxs("div",{className:c(et.noResults),children:[" ",d]})})]})]})}const et={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"}},Vt=(n,...a)=>ct(void 0,[n,...a],function*(e,r={},t=null){try{const i=yield Fe(r,e,null,t);if(!i.success)throw new Error(i.data||"Request failed");return i.data}catch(i){throw i}}),rc={getCustomThemes(){return ct(this,null,function*(){return Vt("bitform_get_custom_themes")})},saveTheme(e){return ct(this,null,function*(){return Vt("bitform_save_custom_theme",e)})},deleteTheme(e){return ct(this,null,function*(){return Vt("bitform_delete_custom_theme",{theme_slug:e})})},duplicateTheme(e,r){return ct(this,null,function*(){return Vt("bitform_duplicate_theme",{source_slug:e,new_name:r})})},setDefaultTheme(e){return ct(this,null,function*(){return Vt("bitform_set_default_theme",{theme_slug:e})})},renameTheme(e,r){return ct(this,null,function*(){return Vt("bitform_rename_theme",{theme_slug:e,new_name:r})})},exportTheme(e){return ct(this,null,function*(){const r=yield Vt("bitform_export_theme",{theme_slug:e}),t=new Blob([r.json],{type:"application/json"}),n=URL.createObjectURL(t),a=document.createElement("a");return a.href=n,a.download=`${e}-theme.json`,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(n),r})},importTheme(e,r=null){return ct(this,null,function*(){return Vt("bitform_import_theme",{json_data:e,new_name:r})})}},ft={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}};function ac({componentMounted:e,modal:r,setModal:t}){const n=Zn(),{page:a,formType:i,formID:l,"*":s}=Ct(),d=Z(en),{css:f}=Ge(),[c,m]=D.useState(i==="edit"?`${g("Update Form")}`:`${g("Save Form")}`),[u,p]=D.useState(i==="edit"?l:0),[h,x]=D.useState(!1),v=be(Is),[y,_]=je(Hl),[S,k]=je(Er),b=Z(Jn),{formName:$,multiStepSettings:T}=b,E=Z(Bl),O=be(Xn),N=be(Ls),L=be(Ir),R=Wl(la),z=be(da),re=Z(ca),[X,pe]=je(tn),[_e,Ke]=je(Ul),[Ee,Se]=je(ei),[V,H]=je(la),[j,M]=je(Yl),[w,A]=je(rn),[q,F]=je(Gl),[I,J]=je(Vl),[ie,fe]=je(Kl),de=Z(As),[se,Oe]=je(Fs),[Le,Qe]=je(ti),st=Z(Ql),pt=be(Jl),zt=be(Zl),_t=be(Xl),Pt=be(qs),er=Z(eo),vt=Z(to),tr=Z(ro),hr=Z(ao),gr=Z(no),rr=Z(Ws),jt=Z(Fl),{staticStyles:_r}=vt,vr=Object.values(S).some(C=>{var W,ee;return C.typ==="address"&&(((W=C.config)==null?void 0:W.autocomplete)==="google"||((ee=C.config)==null?void 0:ee.autocomplete)==="mapbox")}),{keys:$r}=md(vr);D.useEffect(()=>{var C,W;if((C=w[w.length-1])!=null&&C.newItegration||(W=w[w.length-1])!=null&&W.editItegration){const ee=Or(w,me=>{me.pop()});A(ee),Q("integrations",ee)}},[w]),D.useEffect(()=>{var C;if((C=_e[_e.length-1])!=null&&C.updateTem){const W=Or(_e,ee=>{ee.pop()});Ke(W),Q("email-template",W)}},[_e]),D.useEffect(()=>{var C;if((C=Ee[Ee.length-1])!=null&&C.updateTem){const W=Or(Ee,ee=>{ee.pop()});Se(W),Q("pdf-template",W)}},[Ee]);const P=C=>{if((C.key==="s"||C.key==="S")&&C.ctrlKey)return C.preventDefault(),!V.disabled&&!h&&Me(),!1},le=C=>{if(V.unsaved){const W=C;return W.preventDefault(),W.returnValue="Are you sure you want to exit?",W.returnValue}};D.useEffect(()=>{var W;document.addEventListener("keydown",P);const C=(W=document.getElementById("bit-grid-layout"))==null?void 0:W.contentDocument;return C==null||C.addEventListener("keydown",P),window.addEventListener("beforeunload",le),()=>{document.removeEventListener("keydown",P),C==null||C.removeEventListener("keydown",P),window.removeEventListener("beforeunload",le)}},[]),D.useEffect(()=>{i==="edit"&&l&&(p(l),m(g("Update Form")))},[l,i]);const xe=()=>{if(V.errors){const C=V.errors[V.errors.length-1];if(C.errorMsg?ht.error(C.errorMsg):ht.error(g("Please fix the errors")),C.errorUrl){const W=Hs();n(`${W}/${C.errorUrl}`)}return C.fieldKey&&(Pt(C.fieldKey),setTimeout(()=>{var W;(W=Bs(`[data-key="${C.fieldKey}"]`))==null||W.focus()},500)),!0}return!1},Me=C=>{const W=Nn("#secondary-update-btn");if(gr.styleMode&&zs(),W)W.click();else if(C==="update-btn"){if(xe())return;Q()}else Nn("#update-btn").click()};D.useEffect(()=>{V.unsaved&&h&&x(!1)},[V]);const B=()=>{const C=Object.values(S).filter(ee=>ee.typ==="button"&&ee.btnTyp==="submit");return(S?Object.values(S).filter(ee=>ri.includes(ee.typ)):[]).length>0||C.length>0},Q=(C,W)=>ct(this,null,function*(){u&&x(!0),setTimeout(()=>{let ee=_e,me=Ee,ae=q,Je=w;if(C==="email-template"?ee=W:C==="pdf-template"?me=W:C==="additional"?ae=W:C==="integrations"&&(Je=W),!B()){const ce=U({},r);ce.show=!0,ce.title=g("Sorry"),ce.btnTxt=g("Close"),ce.msg=g("Please add a submit button"),ce.cancelBtn=!1,t(ce),x(!1);return}if(Object.values(S).some(ce=>ce.typ==="address"&&hd(ce.config,$r))){v({show:!0,fieldType:"address",onConfigured:null}),x(!1);return}const ze=Pi(de)||de===void 0;if(st.respectLGLayoutOrder)try{const ce=d||"lg",yt=se[ce]||se.lg,nr=ji(ce,yt,se,!0,Ni);Oe(nr);const ir=Or(Le,Rt=>{Object.keys(Rt).forEach(Bt=>{const nt=Rt[Bt],Ut=(nt==null?void 0:nt[ce])||(nt==null?void 0:nt.lg)||[];if(nt&&Ut.length>0)try{const Yt=ji(ce,Ut,nt,!0,Ni);Rt[Bt]=Yt}catch(Yt){}})});Qe(ir)}catch(ce){ht.error(g("Could not sync layouts before save. Form will be saved with current layout state"))}const{layouts:Nt,nestedLayouts:Mt,lightThemeColors:Ht,darkThemeColors:Xe,lgLightThemeVars:$t,lgDarkThemeVars:Fr,mdLightThemeVars:_n,mdDarkThemeVars:ga,smLightThemeVars:_a,smDarkThemeVars:va,lgLightStyles:$a,lgDarkStyles:ya,mdLightStyles:xa,mdDarkStyles:wa,smLightStyles:ka,smDarkStyles:Sa}=Mi(u),qr={lightThemeColors:Ht,darkThemeColors:Xe},Wr={lgLightThemeVars:$t,lgDarkThemeVars:Fr,mdLightThemeVars:_n,mdDarkThemeVars:ga,smLightThemeVars:_a,smDarkThemeVars:va};let yr={lgLightStyles:$a,lgDarkStyles:ya,mdLightStyles:xa,mdDarkStyles:wa,smLightStyles:ka,smDarkStyles:Sa};yr=Os(yr);let ar=sessionStorage.getItem("btcd-fs");ar=ar&&Ts(ar);const zr=He(U(He(U(U(U(U(He(U(U(U({},u&&{id:u}),!u&&{form_id:E}),u&&{currentReport:re}),{layout:Nt,nestedLayouts:Mt,formInfo:b,fields:S,form_name:$,report_id:X.id,additional:ae,workFlows:j,formStyle:ar}),!ze&&{style:Hr.stringify(yr)}),!ze&&{staticStyles:Hr.stringify(vt)}),!ze&&{themeColors:Hr.stringify(qr)}),!ze&&{themeVars:Hr.stringify(Wr)}),{breakpointSize:tr}),hr.isFetched&&{customCodes:hr}),{layoutChanged:sessionStorage.getItem("btcd-lc"),rowHeight:sessionStorage.getItem("btcd-rh"),formSettings:U({formName:$,confirmation:I,formPermissions:ie,mailTem:ee,pdfTem:me,integrations:Je},!Pi(rr)&&{formAbandonment:rr}),builderSettings:er});u&&y.length!==0&&(zr.deletedFldKey=y);const xr=u?"bitforms_update_form":"bitforms_create_new_form",Da=Fe(zr,xr).then(ce=>{var yt,nr,ir,Rt,Bt,nt,Ut,Yt;if(ce!=null&&ce.success&&e){let{data:G}=ce;typeof G!="object"&&(G=JSON.parse(G)),N(lr=>He(U({},lr),{reRenderGridLayoutByRootLay:lr.reRenderGridLayoutByRootLay+1})),(yt=G==null?void 0:G.form_content)!=null&&yt.fields&&k(G.form_content.fields),(nr=G==null?void 0:G.formSettings)!=null&&nr.confirmation&&J(G.formSettings.confirmation),G!=null&&G.workFlows&&M(G.workFlows),(ir=G==null?void 0:G.formSettings)!=null&&ir.integrations&&A(G.formSettings.integrations),(Rt=G==null?void 0:G.formSettings)!=null&&Rt.mailTem&&Ke(G.formSettings.mailTem),(Bt=G==null?void 0:G.formSettings)!=null&&Bt.pdfTem&&Se(G.formSettings.pdfTem),G!=null&&G.additional&&F(G.additional),G!=null&&G.Labels&&L(G.Labels),G!=null&&G.reports&&z((G==null?void 0:G.reports)||[]),!(X!=null&&X.id)&&((nt=G==null?void 0:G.form_content)!=null&&nt.report_id)&&pe({id:(Ut=G==null?void 0:G.form_content)==null?void 0:Ut.report_id,isDefault:((Yt=G==null?void 0:G.form_content)==null?void 0:Yt.is_default)||0}),ze||(pt(qr),zt(Wr),_t(Hr.parse(G==null?void 0:G.style)),Ps()),O(lr=>zl(lr,{type:xr==="bitforms_create_new_form"?"add":"update",data:{formID:G.id,status:G.status!=="0",formName:G.form_name,shortcode:`bitform id='${G.id}'`,entries:G.entries,views:G.views,conversion:G.entries===0?0:(G.entries/(G.views==="0"?1:G.views)*100).toPrecision(3),created_at:G.created_at}})),R(),_([]),xr==="bitforms_create_new_form"&&u===0&&c===g("Save Form")&&(p(G.id),m(g("Update Form")),n(`/form/${a}/edit/${G.id}/${s}`,{replace:!0})),setTimeout(()=>Mi(G.id),100),sessionStorage.removeItem("btcd-lc"),sessionStorage.removeItem("btcd-fs"),sessionStorage.removeItem("btcd-rh")}else!(ce!=null&&ce.success)&&(ce==null?void 0:ce.data)==="Token expired"?window.location.reload():ce!=null&&ce.success||setTimeout(()=>{window.location.reload()},2e3);return ce}).catch(ce=>{}).finally(()=>{jt&&!jt.closed&&setTimeout(()=>{jt.postMessage("REFRESH_PREVIEW",window.location.origin),jt.location.reload()},100)});u&&ht.promise(Da,{loading:g("Updating..."),success:ce=>{var yt;return x(!1),((yt=ce==null?void 0:ce.data)==null?void 0:yt.message)||(ce==null?void 0:ce.data)},error:()=>(x(!1),g("Error occurred, Please try again."))}),Te(),ue()},0)}),Te=()=>{var W;if(!((W=b.standaloneSettings)!=null&&W.styles))return;const C=js(b.standaloneSettings.styles);Fe({css:C,formID:l},"bitforms_save_standalone_css")},ue=()=>{var ee;if(!((ee=b.conversationalSettings)!=null&&ee.enable))return;let C=Ns(U(U({},_r),Ms(u)));const{nestedLayoutStyleText:W}=Rs();W.lg&&(C+=W.lg),W.md&&(C+=W.md),W.sm&&(C+=W.sm),C+=Es(),Fe({css:C,formID:l},"bitforms_save_conversational_css")};return o.jsxs(Dt,{id:"update-btn",className:`${f([ft.btn,{h:42}])} tooltip ${V.unsaved?f(ft.visDisable):""}`,type:"button",onClick:()=>Me("update-btn"),disabled:V.disabled||h,style:{"--tooltip-txt":`'${g("ctrl + s")}'`},variant:"primary-outline",children:[c,(V.loading||h)&&o.jsx(Rr,{size:20,clr:"white",className:"ml-1"})]})}function nc({defaultActive:e,options:r,size:t=100,component:n="a",onChange:a,variant:i="white",show:l,activeShow:s,square:d,classNames:f=""}){const{css:c}=Ge(),m=Number(t),u=T=>Math.floor(m/T),p={};i==="white"&&(p.tabBg="var(--white-0-95)",p.selectorBg="var(--white-100)",p.active="var(--b-50) !important"),i==="tertiary"&&(p.tabBg="var(--white-100)",p.selectorBg="var(--bf-tertiary)",p.active="var(--bf-white-100) !important",p.tabClr="var(--bf-text-clr-gray)"),i==="blue"&&(p.selectorBg="var(--b-50)",p.tabBg="#454A65",p.tabClr="var(--b-44-87)",p.active="var(--white-100) !important"),i==="lightgray"&&(p.selectorBg="var(--white-100)",p.tabBg="var(--white-0-95)",p.tabClr="var(--b-44-87)",p.active="var(--b-50) !important");const h={wrapper:{ta:"center"},tabs:{fs:u(6.67),py:u(33.34),px:u(20),bd:p.tabBg,ls:"none",dy:"inline-block",brs:"var(--bf-bdr-radius-sm)",pn:"relative","& .active":{cr:p.active},"& button":{bd:"none",oe:"none",b:"none"}},selector:{w:0,h:"80%",dy:"inline-block",pn:"absolute",lt:u(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:p.selectorBg,willChange:"transform",bs:i==="blue"&&"0 2px 7px -2px rgb(0 11 49 / 79%)"},tab_link:He(U({curp:1,td:"none",fw:500,flxi:"align-center",pn:"relative",py:d?0:u(10),px:d?0:u(5),textShadow:i==="blue"&&"0 1px 1px #6e6e6e70",zx:1},d&&{aspectRatio:"1/1",w:30,h:30,flxi:"center"}),{tdy:i==="tertiary"?"0s":"0.3s",tdn:"0.6s",cr:p.tabClr,"transition-property":"color",":hover:not(.active)":{cr:i==="tertiary"?"var(--bf-text-clr-tertiary)":"var(--white-0-100-90)",fw:i==="tertiary"?600:500,tdy:"0s",tdn:"300ms"},":focus-visible":{oe:"2px solid var(--b-50)"},"& .icn":{mr:l!=null&&l.includes("label")?u(20):0,lh:"75%",dy:"block"}})},x=D.useRef(null),v=D.useRef(null),y=D.useRef(null),[_,S]=D.useState(e||r[0].label),k=n;D.useEffect(()=>{_!==e&&S(e)},[e]),D.useLayoutEffect(()=>{var E;const T=(E=y==null?void 0:y.current)==null?void 0:E.querySelector(`[data-label="${_}"]`);if(T){const{width:O}=T.getBoundingClientRect()||{width:0};if(!x.current)return;x.current.style.width===""?(v.transition=x.current.style.transition,x.current.style.transition="all 0s"):x.current.style.transition=v.transition,x.current.style.width=`${O}px`,x.current.style.transform=`translate(${T.offsetLeft-5}px, -50%)`}});const b=(T,E)=>{var L;if(T.preventDefault(),T.type==="keypress"&&T.code!=="Space"||T.type==="keypress"&&T.code!=="Enter")return;const O=T.currentTarget;if(!T.type==="keypress"||!T.type==="click")return;const N=(L=y==null?void 0:y.current)==null?void 0:L.querySelector(`.tabs ${n}.active`);O!==N&&(N==null||N.classList.remove("active"),S(r[E].label),a(r[E].label))},$=(T,E)=>!!(T[E]&&(s&&_===T.label&&s.includes(E)||l&&l.includes(E)||!l&&!s));return o.jsx("div",{className:`${c(h.wrapper)} ${f}`,children:o.jsxs("div",{ref:y,className:`${c(h.tabs)} tabs`,children:[o.jsx("div",{ref:x,className:`selector ${c(h.selector)}`}),r==null?void 0:r.map((T,E)=>o.jsxs(k,He(U(U({className:`${c(h.tab_link)} tab-link ${_===T.label?" active":""}`,onClick:O=>b(O,E),onKeyDown:O=>b(O,E),"data-label":T.label,"data-testid":`${T.label}-tab`},n==="button"&&{type:"button"}),n==="a"&&{href:`#${T.label}`}),{href:`#${T.label}`,type:"button",children:[$(T,"icn")&&o.jsx("span",{className:`icn ${_===T.label?c(h.segment_img):""}`,children:T.icn}),$(T,"label")&&g(T.label)]}),`segment-option-${E*10}`))]})})}function ic(){const{css:e}=Ge();return o.jsxs("div",{className:e(Ta.wrp),children:[o.jsx("div",{className:`${e(Ta.titl)} loader`}),Array(7).fill(0).map((r,t)=>o.jsx("div",{className:`${e(Ta.t_wrp)} flx`,children:o.jsx("div",{className:`${e(Ta.mnu)} loader`})},`tb-${t+3}`))]})}const Ta={wrp:{mx:10,my:10},titl:{w:170,h:28,brs:6},t_wrp:{my:10},mnu:{h:50,w:"70%",brs:8}};function lc({size:e=20,stroke:r=2,className:t}){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round",className:`lucide lucide-chart-column-big-icon lucide-chart-column-big ${t}`,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 oc({size:e=32,stroke:r=2,className:t=""}){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",className:t,children:o.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:r,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 sc(e){const{formID:r,entryID:t,setAllResp:n,setSnackbar:a}=e,i=Z(tt),[l,s]=D.useState(!1),[d,f]=D.useState(!1),[c,m]=D.useState(!0),[u,p]=D.useState(null),h=D.useRef(null),{css:x}=Ge();D.useEffect(()=>{s(!0)},[t,r]);const v=S=>{S.preventDefault(),f(!0);const k=h.current.contentWindow,b=k.document,$=b==null?void 0:b.querySelector("form"),T=$.id.slice($.id.indexOf("-")+1);let E=new FormData($);const O={formID:r,entryID:e.entryID},N=[],L=k.bf_globals[T];typeof k.advancedFileHandle!="undefined"&&(E=k.advancedFileHandle(L,E)),typeof k.decisionFldHandle!="undefined"&&(E=k.decisionFldHandle(L,E)),Object.entries((L==null?void 0:L.fields)||{}).forEach(R=>{var z,re;(re=(z=R[1])==null?void 0:z.valid)!=null&&re.hide&&N.push(R[0])}),N.length&&E.append("hidden_fields",N),Fe(E,"bitforms_update_form_entry",void 0,O).then(R=>{if(R!==void 0&&R.success){if(R.data.cron||R.data.cronNotOk){const z=R.data.cron||R.data.cronNotOk;if(typeof z=="string"){const re=new URL(z);re.protocol!==window.location.protocol&&(re.protocol=window.location.protocol),fetch(re)}else{const re=new URL(i.ajaxURL);re.searchParams.append("action","bitforms_trigger_workflow");const X={cronNotOk:z,id:`bitforms_${r}`};fetch(re,{method:"POST",body:JSON.stringify(X),headers:{"Content-Type":"application/json"}}).then(pe=>pe.json())}}a({show:!0,msg:R.data.message}),n(z=>Or(z,re=>{const X=re.findIndex(pe=>pe.entry_id===e.entryID);re[X]=U(U({},re[X]),R.data.updatedData)})),e.close(!1)}else R.data&&p(R.data)}).finally(()=>f(!1))},y=document.querySelector(".btcd-modal-wrp"),_=y!=null&&y.offsetHeight?y.offsetHeight-150:0;return o.jsxs(Nr,{hdrActn:o.jsxs("button",{onClick:v,disabled:d,type:"button",className:`${x(Lt.btn,Lt.blueGrd)} btn-md blue btcd-mdl-hdr-btn`,children:["Update",d&&o.jsx(Rr,{size:20,clr:"#fff",className:"ml-2"})]}),lg:!0,show:l,setModal:e.close,title:g("Edit"),children:[c&&o.jsx(At,{className:x({ta:"center"})}),o.jsx(io,{autoHide:!0,autoHeight:!0,autoHeightMin:_,autoHeightMax:_,children:o.jsx("iframe",{ref:h,title:"Form Entry Edit",src:`${window.location.origin}?bitform-form-entry-edit=1&formId=${r}&entryId=${t}`,className:x(zi.iframe,zi.body),onLoad:()=>m(!1)})})]})}const zi={iframe:{width:"100%",height:"80vh"},body:{"> body":{height:"80vh"},"> html":{height:"80vh"}}};var Lr=""+new URL("bf-92-3.svg",import.meta.url).href;function dc({formID:e,entryID:r,allLabels:t,showForm:n,setShowForm:a,setFetchData:i,data:l,setData:s}){const d=!!l.noteID,{css:f}=Ge(),[c,m]=D.useState(!1),[u,p]=D.useState(l.title),[h,x]=D.useState(l.content),v=Z(ai),y=b=>{p(b)},_=b=>{x(b)},S=b=>{if(b.preventDefault(),!!h)if(m(!0),d){const $={noteID:l.noteID,formID:e,entryID:r,title:u,content:h};Fe({},"bitforms_form_entry_update_note","multipart/form-data",$).then(T=>{T!==void 0&&T.success&&(ht.success(g("Note Updated Successfully")),k(),i(!0)),m(!1)})}else Fe({},"bitforms_form_entry_create_note","multipart/form-data",{formID:e,entryID:r,title:u,content:h}).then(T=>{T!==void 0&&T.success&&(ht.success(g("Note Added Successfully")),k(),i(!0)),m(!1)})},k=()=>{a(!1),s({title:"",content:""})};return o.jsxs("div",{className:"mt-2 w-7",children:[o.jsxs("b",{children:[d?g("Edit Note "):g("Create New Note "),o.jsx("button",{type:"button",className:f(Lt.btn),onClick:()=>d?k():a(!1),style:{fontSize:16},children:"x"})]}),o.jsx("br",{}),o.jsxs("form",{method:"POST",onSubmit:S,onKeyDown:b=>{b.key==="Enter"&&b.target.tagName!=="TEXTAREA"&&b.preventDefault()},children:[o.jsx("input",{type:"text",name:"title",className:"btcd-paper-inp mt-2",placeholder:"Note Title",value:u,onChange:b=>y(b.target.value)}),o.jsx(gd,{id:"body-content",value:h,onChangeHandler:_,formFields:v}),d&&o.jsx("button",{type:"button",className:`${f(Lt.btn)} btn-md mr-2`,onClick:k,children:g("Cancel")}),o.jsxs("button",{type:"submit",className:`${f(Lt.btn)} btn-md blue`,disabled:c,children:[d?g("Edit"):g("Add")," ",g("Note"),c&&o.jsx(Rr,{size:20,clr:"#fff",className:"ml-2"})]})]})]})}function cc({formID:e,entryID:r,allLabels:t,rowDtl:n}){const a=Z(tt),{isPro:i}=a,{css:l}=Ge(),s=`${a.dateFormat} ${a.timeFormat}`,[d,f]=D.useState(!1),[c,m]=D.useState({show:!1}),[u,p]=D.useState(!1),[h,x]=D.useState([]),[v,y]=D.useState(!1),[_,S]=D.useState(!1),[k,b]=D.useState({title:"",content:""});D.useEffect(()=>{i&&f("allNotes"),y(!0)},[]),D.useEffect(()=>{if(i&&f("allNotes"),_){S(!1);return}i&&Fe({formID:e,entryID:r},"bitforms_form_entry_get_notes").then(z=>{z!==void 0&&z.success&&x(z.data),f(!1)})},[_,r]),D.useEffect(()=>{k.content&&p(!0)},[k]);const $=z=>{p(!1);const re=h.find(_e=>_e.id===z),{title:X,content:pe}=JSON.parse(re.info_details);b({noteID:z,title:X,content:pe}),p(!0)},T=z=>{c.noteID=z,c.show=!0,m(U({},c))},E=()=>{c.show=!1,m(U({},c))},O=()=>{f("delete"),E(),Fe({noteID:c.noteID,formID:e,entryID:r},"bitforms_form_entry_delete_note").then(z=>{z!==void 0&&z.success&&(ht.success(g("Note Deleted Successfully")),S(!0)),f(!1)})},N=z=>{var Ke,Ee;const re=/\${\w[^ ${}]*}/g,X=((Ke=z==null?void 0:z.match)==null?void 0:Ke.call(z,re))||"",pe=((Ee=X==null?void 0:X.filter)==null?void 0:Ee.call(X,(Se,V)=>X.indexOf(Se)===V))||[];let _e=z;for(let Se=0;Se<pe.length;Se+=1){const V=pe[Se].slice(2,-1);_e=_e.replace(new RegExp(`\\${pe[Se]}`,"gi"),V in n?n[V]:"[Field Deleted]")}return _e},L=z=>{const re=JSON.parse(z.info_details),X=d==="delete"&&c.noteID===z.id;return o.jsxs("div",{children:[o.jsxs("div",{children:[z.updated_at?o.jsxs("small",{children:[g("updated on:"),` ${ot(z.updated_at,s)}`]}):o.jsxs("small",{children:[g("created at:"),` ${ot(z.created_at,s)}`]}),o.jsx("button",{type:"button",className:"icn-btn ml-1 tooltip pos-rel",style:{"--tooltip-txt":`'${g("Edit")}'`,fontSize:16},onClick:()=>$(z.id),children:o.jsx(fa,{size:"15"})}),o.jsxs("button",{type:"button",onClick:()=>T(z.id),className:`${X?l(Lt.btn):"icn-btn"} ml-1 tooltip pos-rel`,style:{"--tooltip-txt":`'${g("Delete")}'`,fontSize:16},disabled:X,children:[o.jsx(ua,{size:"15"}),X&&o.jsx(Rr,{size:20,clr:"#000",className:"ml-2"})]})]}),o.jsxs("div",{children:[re.title&&o.jsx("h3",{children:re.title}),o.jsx("div",{children:o.jsx(lo,{html:N(re.content)})})]}),o.jsx("hr",{className:"btcd-hr"})]},z.id)},R=()=>h.length?h.map(z=>L(z)):v&&o.jsx("img",{src:Lr,alt:"no data found",style:{height:150,width:"100%"}});return o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"pos-rel",children:[!i&&o.jsx(_d,{className:"mt-4",style:{marginTop:0}}),u?o.jsx(dc,{formID:e,entryID:r,allLabels:t,showForm:u,setShowForm:p,setFetchData:S,data:k,setData:b}):o.jsx("button",{type:"button",className:l(Lt.btn),onClick:()=>p(!0),children:g("create new note")}),d==="allNotes"?o.jsx(At,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}):R()]}),o.jsxs(an,{className:"custom-conf-mdl",mainMdlCls:"o-v",btnClass:"red",btnTxt:"Ok",show:c.show,close:E,action:O,title:g("Confirmation"),children:[o.jsx("div",{className:"txt-center mt-5 mb-4",children:g("Are you sure to delete this note")}),d&&o.jsx(At,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:45,transform:"scale(0.5)"}})]})]})}const fc=e=>e!=null&&e.payment_response?JSON.parse(e.payment_response):e!=null&&e.create_time?e:{};function uc({paymentInfo:e,payInfoFound:r}){var f,c,m,u,p,h,x,v,y,_;const t=Z(tt),n=`${t.dateFormat} ${t.timeFormat}`,a=fc(e),i="subscriber"in a,l=i?a.subscriber:a.payer,s=i?(c=(f=a==null?void 0:a.billing_info)==null?void 0:f.last_payment)==null?void 0:c.amount:(u=(m=a==null?void 0:a.purchase_units)==null?void 0:m[0])==null?void 0:u.amount,d=(v=(x=(h=(p=a==null?void 0:a.purchase_units)==null?void 0:p[0])==null?void 0:h.payments)==null?void 0:x.captures[0])==null?void 0:v.id;return o.jsx("div",{children:r.current===1?o.jsxs(o.Fragment,{children:[o.jsx("h1",{children:g("PayPal")}),o.jsxs("div",{children:[o.jsx("small",{children:ot(a.create_time,n)}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${g("Type")}: ${i?g("Subscription"):g("Order")}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:o.jsx("b",{children:`${g("Transaction ID")}: ${d}`})}),o.jsx("h3",{children:`${(y=l==null?void 0:l.name)==null?void 0:y.given_name} ${(_=l==null?void 0:l.name)==null?void 0:_.surname}`}),o.jsx("small",{children:l==null?void 0:l.email_address}),i&&o.jsx("h4",{children:`${g("Plan ID")}: ${a.plan_id}`}),i&&o.jsxs("small",{children:[g("Next Billing Time"),":"," ",ot(a.billing_info.next_billing_time,n)]}),o.jsxs("p",{children:[g("Total Paid"),":"," ",s==null?void 0:s.value," ",s==null?void 0:s.currency_code]})]},a.id)]}):o.jsx("img",{src:Lr,alt:g("no data found"),style:{height:150,width:"100%"}})})}const pc=e=>e!=null&&e.payment_response?JSON.parse(e.payment_response):e!=null&&e.created_at?e:{};function bc({paymentInfo:e,payInfoFound:r,fldKey:t,transactionID:n}){const a=Z(tt),{formID:i}=Ct(),l=Z(Al),d=Z(Er)[t],{payIntegID:f}=d.options,c=l.find(_=>_.id===f),m=`${a.dateFormat} ${a.timeFormat}`,[u,p]=D.useState(e),[h,x]=D.useState(!1),v=pc(u),y=v.created_at*1e3;return D.useEffect(()=>{r.current===2&&(x(!0),Fe({formID:i,transactionID:n,razorpaySettings:c},"bitforms_payment_details").then(_=>{_.success&&(p(_.data),r.current=1)}).finally(()=>{x(!1)}))},[]),o.jsxs("div",{children:[h&&o.jsx(At,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}),r.current===1?o.jsxs(o.Fragment,{children:[o.jsx("h1",{children:g("Razorpay")}),o.jsxs("div",{children:[o.jsx("small",{children:ot(y,m)}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${g("Status")}: ${v.status}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:o.jsx("b",{children:`${g("Transaction ID")}: ${v.id}`})}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${g("Email")}: ${v.email}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${g("Contact")}: ${v.contact}`}),o.jsx("br",{}),o.jsxs("p",{children:[g("Total Paid"),":"," ",v.amount/100," ",v.currency]})]})]}):!h&&o.jsx("img",{src:Lr,alt:g("no data found"),style:{height:150,width:"100%"}})]})}const mc=e=>e!=null&&e.payment_response?JSON.parse(e.payment_response):{};function hc({paymentInfo:e,payInfoFound:r}){const t=Z(tt),n=`${t.dateFormat} ${t.timeFormat}`,a=mc(e);return o.jsx("div",{children:r.current===1?o.jsxs(o.Fragment,{children:[o.jsx("h1",{children:g("Stripe")}),o.jsxs("div",{children:[o.jsx("small",{children:ot(a.created*1e3,n)}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:o.jsx("b",{children:`${g("Transaction ID")}: ${a.id}`})}),o.jsxs("p",{children:[g("Total Paid"),":"," ",a.amount/100," ",a.currency]})]},a.id)]}):o.jsx("img",{src:Lr,alt:g("no data found"),style:{height:150,width:"100%"}})})}const gc=e=>e!=null&&e.payment_response?JSON.parse(e.payment_response):{};function _c({paymentInfo:e,payInfoFound:r}){const t=Z(tt),n=`${t.dateFormat} ${t.timeFormat}`,a=gc(e);return o.jsx("div",{children:r.current===1?o.jsxs(o.Fragment,{children:[o.jsx("h1",{children:g("Mollie")}),o.jsxs("div",{children:[o.jsx("small",{children:ot(a.createdAt,n)}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${g("Status")}: ${a.status}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:`${g("Payment Method")}: ${a.method}`}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("small",{children:o.jsx("b",{children:`${g("Transaction ID")}: ${a.id}`})}),o.jsxs("p",{children:[g("Total Paid"),":"," ",a.amount.value," ",a.amount.currency]})]},a.id)]}):o.jsx("img",{src:Lr,alt:g("no data found"),style:{height:150,width:"100%"}})})}function vc({formID:e,rowDtl:r}){const t=Z(Ir),n=Z(tt),{isPro:a}=n,[i,l]=D.useState({}),[s,d]=D.useState(!1),c=t.filter(h=>ri.includes(h.type)).find(h=>r[h.key])||{},m=D.useRef(0),{css:u}=Ge();D.useEffect(()=>{var h;if(a){d(!0);const x=r==null?void 0:r[c==null?void 0:c.key],v=(h=x==null?void 0:x.split(","))==null?void 0:h[0];Fe({formID:e,transactionID:v},"bitforms_payment_details").then(y=>{y.success&&y.data.length?(l(y.data[0]),m.current=1):m.current=2}).finally(()=>{d(!1)})}return()=>l({})},[r]);const p=()=>{switch(c==null?void 0:c.type){case"paypal":return o.jsx(uc,{paymentInfo:i,payInfoFound:m});case"razorpay":return o.jsx(bc,{paymentInfo:i,payInfoFound:m,fldKey:c==null?void 0:c.key,transactionID:r==null?void 0:r[c==null?void 0:c.key]});case"stripe":return o.jsx(hc,{paymentInfo:i,payInfoFound:m,fldKey:c==null?void 0:c.key,transactionID:r==null?void 0:r[c==null?void 0:c.key]});case"mollie":return o.jsx(_c,{paymentInfo:i,payInfoFound:m});default:return o.jsx("h2",{className:u({fs:14,cr:"red",mt:20,ml:10,fw:"normal"}),children:g("No Payment Info Found!")})}};return o.jsxs("div",{className:"pos-rel",children:[!a&&o.jsx("div",{className:"pro-blur mt-4 flx",children:o.jsxs("div",{className:"pro",children:[g("Available On"),o.jsx("a",{href:"https://www.bitapps.pro/bit-form",target:"_blank",rel:"noreferrer",children:o.jsxs("span",{className:"txt-pro",children:[" ",g("Premium")]})})]})}),s?o.jsx(At,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}):p()]})}function $c({formID:e,entryID:r,integrations:t}){const n=Z(tt),a=Z(Ir),i=`${n.dateFormat} ${n.timeFormat}`,[l,s]=D.useState([]),[d,f]=D.useState([]),[c,m]=D.useState([]),[u,p]=D.useState(!1);D.useEffect(()=>(p(!0),Fe({formID:e,entryID:r},"bitforms_form_log_history").then(b=>{b!==void 0&&b.success&&(s(b.data),f(b.integrations)),p(!1)}),()=>s([])),[r]);const h=b=>{var R;const $=/\${\w[^ ${}]*}/g,T=/[\]["]/g,E=((R=b.match($))==null?void 0:R[0])||b,O=E?a.find(z=>`\${${z.key}}`===E||z.key===E):"",N=O?O.adminLbl:"",L=N?b.replace($,N):"";return L?L.replace(T,""):"Field Deleted"},x=(b,$)=>(b==null?void 0:b.length)>$?`${b.substr(0,$-1)}…`:b,v=b=>{c.push(b),m([...c])},y=b=>{const $=[...c];$.splice($.indexOf(b),1),m([...$])},_=b=>{var O;const $=c.find(N=>N===b.id),T={};d.map(N=>{var R;let L=(R=t.find(z=>z.id===N.integration_id))==null?void 0:R.name;if(L)T[L]||(T[L]=[]),b.id===N.log_id&&T[L].push(N);else if(Number(N.integration_id)&&b.id===N.log_id){const z=JSON.parse(N.api_type);L=`${z.type_name} ${z.type}`,L==="ReCaptcha v3"&&(T[L]=[N])}});const E=()=>b.content===null&&b.action_type==="update"?o.jsx("p",{children:g("No field data change")}):b.content===null&&b.action_type==="create"?o.jsx("p",{children:g("Form Submitted")}):b.content.split("b::f").map(N=>o.jsxs("p",{children:[" ",o.jsx(fa,{size:"15"}),h(N)]},N));return o.jsxs("div",{children:[E(),!!((O=Object.keys(T))!=null&&O.length)&&o.jsxs(o.Fragment,{children:[!$&&b.integration&&o.jsx("small",{role:"button",tabIndex:"0",className:"btcd-link",onClick:()=>v(b.id),onKeyDown:()=>v(b.id),children:g("Show Integration Logs")}),$&&b.integration&&o.jsx("small",{role:"button",tabIndex:"0",className:"btcd-link",onClick:()=>y(b.id),onKeyDown:()=>y(b.id),children:g("Hide Integration Logs")}),$&&b.integration&&S(T)]})]})},S=b=>Object.keys(b).map($=>o.jsxs("div",{children:[o.jsx("h5",{children:`${$} - `}),o.jsx("div",{className:"m-0 ml-6",children:b[$].map(T=>{const E=JSON.parse(T.api_type);return o.jsxs("div",{className:"flx",children:[o.jsx("p",{className:"mr-2",children:`${E.type_name} ${E.type} ${T.response_type}`}),o.jsx(Us,{value:T.response_obj,className:"field-key-cpy w-0 ml-0",readOnly:!0})]})})})]})),k=b=>{const $=c.find(E=>E===b.id),T=JSON.parse(b.content);if(b.content!==null)return o.jsxs(o.Fragment,{children:[o.jsxs("p",{children:[g("Note")," ",b.action_type==="create"&&g("Added"),b.action_type==="update"&&g("Updated"),b.action_type==="delete"&&g("Deleted"),":"]}),T.title&&o.jsx("h4",{children:T.title}),o.jsx("div",{children:o.jsx(lo,{html:$?T.content||"":x(T.content||"",20)})}),!$&&(T.content||"").length>20&&o.jsx("small",{role:"button",tabIndex:"0",className:"btcd-link",onClick:()=>v(b.id),onKeyDown:()=>v(b.id),children:g("Read More")}),$&&o.jsx("small",{role:"button",tabIndex:"0",className:"btcd-link",onClick:()=>y(b.id),onKeyDown:()=>y(b.id),children:g("Show Less")})]});if(b.content===null&&b.action_type==="update")return o.jsx("p",{children:g("Note no change")})};return o.jsx(o.Fragment,{children:u?o.jsx(At,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:70,transform:"scale(0.7)"}}):l.map(b=>o.jsxs("div",{children:[o.jsx("br",{}),o.jsx("span",{children:ot(b.created_at,i)}),o.jsx("div",{children:b.log_type==="entry"?_(b):k(b)})]},b.id))})}var yc=D.memo($c);function xc({rowDtl:e}){var i,l,s,d,f,c,m,u,p,h,x,v,y,_,S,k;const[r,t]=D.useState([]),[n,a]=D.useState(!1);return D.useEffect(()=>{a(!0),Fe({gclid:e==null?void 0:e.GCLID},"bitforms_get_gclid_info").then(b=>{b!==void 0&&b.success&&b.data[0]&&t(JSON.parse(b.data[0].gclid_response)),a(!1)})},[]),o.jsx(o.Fragment,{children:n?o.jsx(At,{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:(i=r["@attributes"])==null?void 0:i.account})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Campaign ID"}),o.jsx("td",{className:"td",children:(l=r["@attributes"])==null?void 0:l.campaignID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"AdGroup Id"}),o.jsx("td",{className:"td",children:(s=r["@attributes"])==null?void 0:s.adGroupID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad Id"}),o.jsx("td",{className:"td",children:(d=r["@attributes"])==null?void 0:d.adID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Keyword Id"}),o.jsx("td",{className:"td",children:(f=r["@attributes"])==null?void 0:f.keywordID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Keyword"}),o.jsx("td",{className:"td",children:(c=r["@attributes"])==null?void 0:c.CriteriaParameters})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Match type"}),o.jsx("td",{className:"td",children:(m=r["@attributes"])==null?void 0:m.KeywordMatchType})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Click type"}),o.jsx("td",{className:"td",children:(u=r["@attributes"])==null?void 0:u.clickType})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Device Type"}),o.jsx("td",{className:"td",children:(p=r["@attributes"])==null?void 0:p.device})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Search Partner Network"}),o.jsx("td",{className:"td",children:(h=r["@attributes"])==null?void 0:h.networkWithSearchPartners})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad Campaign Name"}),o.jsx("td",{className:"td",children:(x=r["@attributes"])==null?void 0:x.campaign})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad group Name"}),o.jsx("td",{className:"td",children:(v=r["@attributes"])==null?void 0:v.adGroup})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad Network"}),o.jsx("td",{className:"td",children:(y=r["@attributes"])==null?void 0:y.network})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Ad Click Date"}),o.jsx("td",{className:"td",children:(_=r["@attributes"])==null?void 0:_.day})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"Customer ID"}),o.jsx("td",{className:"td",children:(S=r["@attributes"])==null?void 0:S.customerID})]}),o.jsxs("tr",{className:"txt-dp",children:[o.jsx("td",{className:"td",children:"GCLID"}),o.jsx("td",{className:"td",children:(k=r["@attributes"])==null?void 0:k.googleClickID})]})]})})})})}function wc({entryID:e,rowDtl:r,setSnackbar:t,close:n}){const a=Z(oo),{formType:i}=Ct(),l=Z(Ir),s=Z(rn),d=l.filter(p=>ri.includes(p.type)),{css:f}=Ge(),c=Z(tt),m=Z(ei),u=`/form/settings/${i}/${a}/pdf-templates`;return o.jsxs(vd,{selectedTabClassName:"s-t-l-active",children:[o.jsxs($d,{className:"flx m-0",children:[!!(d!=null&&d.length)&&o.jsx(Br,{className:"btcd-s-tab-link",children:g("Payment")}),o.jsx(Br,{className:"btcd-s-tab-link",children:g("Timeline")}),o.jsx(Br,{className:"btcd-s-tab-link",children:g("Notes")}),(c==null?void 0:c.isPro)&&o.jsx(Br,{className:"btcd-s-tab-link",children:g("PDF Downloads")}),!!(r!=null&&r.GCLID)&&o.jsx(Br,{className:"btcd-s-tab-link",children:g("Google Ads Information")})]}),!!(d!=null&&d.length)&&o.jsx(Ur,{children:o.jsx(vc,{formID:a,rowDtl:r})}),o.jsx(Ur,{children:o.jsx(yc,{formID:a,entryID:e,integrations:s})}),o.jsx(Ur,{children:o.jsx(cc,{formID:a,entryID:e,allLabels:l,setSnackbar:t,rowDtl:r})}),o.jsx(Ur,{children:o.jsxs("div",{className:f({ml:10,fs:14,mt:10}),children:[o.jsx(Ri,{to:u,children:o.jsx("button",{type:"button",className:f(Lt.btn),children:"Create new template"})}),m.length===0?o.jsx("div",{className:f({mt:20,cr:"red"}),children:g("No PDF templates available")}):m.map((p,h)=>o.jsxs("div",{className:f(Hi.pdfTemplateContainer),children:[o.jsxs("a",{target:"_blank",href:`${window.origin}?bitform-download-pdf=1&formID=${a}&pdftemp=${p.id}&entryId=${e}`,rel:"noreferrer",children:[o.jsx(so,{size:14}),o.jsx("span",{className:f({ml:5}),children:p==null?void 0:p.title})]}),o.jsx(Ri,{to:`${u}/${h}`,className:`pdf-edit-btn icn-btn ml-1 tooltip pos-rel ${f(Hi.editPdfButton)}`,style:{"--tooltip-txt":`'${g("Edit")}'`,fontSize:16},children:o.jsx(fa,{size:"15"})})]},p.id))]})}),!!(r!=null&&r.GCLID)&&o.jsx(Ur,{children:o.jsx(xc,{rowDtl:r})})]})}var mo=D.memo(wc);const Hi={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 kc({entryID:e,rowDtl:r,setSnackbar:t,close:n}){return o.jsx(Nr,{lg:!0,show:!0,setModal:n,title:g("Related Info"),children:o.jsx(mo,{entryID:e,rowDtl:r,setSnackbar:t,close:n})})}function Sc({size:e}){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,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 ho({options:e,placeholder:r,action:t,className:n,isMultiple:a,allowCustomOpt:i,value:l,addable:s,titleClassName:d,title:f,jsonValue:c,disabled:m=!1,tip:u}){const{css:p}=Ge(),[h,x]=D.useState(l);return D.useEffect(()=>{x(""),setTimeout(()=>{x(l)},1)},[l,e,c]),o.jsxs("div",{className:d,children:[o.jsx("span",{children:f}),u?o.jsx(yd,{icnSize:14,children:u}):"",o.jsx(uo,{width:"100%",defaultValue:h,className:`${p(Dc.multiselectInput)} ${n}`,onChange:t,singleSelect:!a,customValue:i||s,placeholder:r,jsonValue:c,options:e||[],disabled:m})]})}const Dc={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 Cc({showExportMdl:e,close:r,cols:t,formID:n,report:a}){const[i,l]=D.useState({show:!1}),[s,d]=D.useState(!1),{css:f}=Ge(),[c,m]=D.useState({fileFormate:"csv",sort:"ASC",sortField:"bitforms_form_entry_id",limit:null,custom:"all",formId:n,filter:"All Entries",selectedField:""}),[u,p]=D.useState([]),h=D.useRef(),{order:x,hidden:v}=D.useMemo(()=>{var $,T,E,O;return{order:a?(T=($=a[a.length-1])==null?void 0:$.details)==null?void 0:T.order:["bf3-1-"],hidden:a?(O=(E=a[a.length-1])==null?void 0:E.details)==null?void 0:O.hiddenColumns:[]}},[a]),y=D.useMemo(()=>t.filter($=>$.Header!=="#"&&typeof $.Header!="object"),[t]),_=D.useMemo(()=>{const $=[];let T=0;return y.map(E=>{v!=null&&v.includes(E.accessor)||($[T]={key:E.accessor,val:E.Header},T+=1)}),$},[y,v]);D.useEffect(()=>{var E;const $=((E=a.find(O=>O.details.report_name===c.filter))==null?void 0:E.details.hiddenColumns)||[],T=y.filter(O=>!($!=null&&$.includes(O.accessor))).map(O=>({label:O.Header,value:O.accessor}));p(T),h.current=JSON.stringify(T.map(O=>O.value))},[a,t,c.filter]);const S=$=>{h.current=$.split(",");const T=y.filter(E=>$.split(",").includes(E.accessor)).map(E=>({label:E.Header,value:E.accessor}));p(T)},k=$=>ct(this,null,function*(){var O,N;$.preventDefault();const T=U({},c),E=a.find(L=>L.details.report_name===c.filter);if(T.filter=E?E.details.conditions||[]:[],T.selectedField=JSON.stringify(u.map(L=>L.value)),u.length<1)return l({show:!0,msg:g("Please select at least one column")});d(!0);try{const L=yield Fe({data:T},"bitforms_filter_export_data");if(L!==void 0&&L.success&&((O=L.data)==null?void 0:O.count)!==0){const R=yield nn(()=>import("./bf-855-110.js"),[],import.meta.url),z=["Entry ID",...u.map(pe=>pe.label)],re=R.utils.json_to_sheet(L.data),X=R.utils.book_new();R.utils.sheet_add_aoa(re,[z]),R.utils.book_append_sheet(X,re),R.writeFile(X,`bitform ${n}.${T==null?void 0:T.fileFormate}`)}else L!==void 0&&L.success&&((N=L.data)==null?void 0:N.count)===0&&l({show:!0,msg:g("no response found")})}finally{d(!1)}}),b=($,T)=>{m(E=>He(U({},E),{[$]:typeof T=="number"?Number(T):T}))};return o.jsxs("div",{children:[o.jsx(ni,{snack:i,setSnackbar:l}),o.jsx(Nr,{md:!0,show:e,setModal:r,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:g("How many rows to export")}),o.jsxs("select",{className:"btcd-paper-inp ml-2",name:"custom",style:{width:250},onChange:$=>b($.target.name,$.target.value),value:c.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"})]})]}),c.custom==="custom"&&o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:g("Enter row number")}),o.jsx("input",{"aria-label":"Export Row Number",type:"text",style:{width:250},name:"limit",onChange:$=>b($.target.name,$.target.value),className:"btcd-paper-inp mt-2",placeholder:"Export Row Number",value:c.limit||""})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:g("Select filter")}),o.jsx("select",{className:"btcd-paper-inp ml-2",name:"filter",style:{width:250},onChange:$=>b($.target.name,$.target.value),value:c.filter,children:a==null?void 0:a.map($=>o.jsx("option",{value:$.details.report_name,children:$.details.report_name},$.id))})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:g("Select columns")}),o.jsx("div",{className:"w-4 ",style:{paddingRight:"14px"},children:o.jsx(ho,{placeholder:"Select column",className:f({"&.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:S,options:y.map($=>({label:$.Header,value:$.accessor})),value:u})})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:g("Sort Order")}),o.jsxs("select",{className:"btcd-paper-inp ml-2",name:"sort",style:{width:250},value:c.sort||"ASC",onChange:$=>b($.target.name,$.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:g("Sort by")}),o.jsxs("select",{className:"btcd-paper-inp ml-2",name:"sortField",value:c.sortField||"bitforms_form_entry_id",onChange:$=>b($.target.name,$.target.value),style:{width:250},children:[o.jsx("option",{value:"bitforms_form_entry_id",children:"ID"}),_.map($=>o.jsx("option",{value:$.key,children:$.val},$.key))]})]}),o.jsxs("div",{className:"mt-3 flx",children:[o.jsx("b",{style:{width:200},children:g("Export File Format")}),o.jsxs("select",{className:"btcd-paper-inp ml-2",name:"fileFormate",value:c.fileFormate||"csv",style:{width:250},onChange:$=>b($.target.name,$.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(Dt,{onClick:$=>k($),disabled:s,className:f(St.mt1),size:"sm",children:[g("Export"),s&&o.jsx(Rr,{size:20,clr:"#fff",className:"ml-2"})]})]})})]})}function Oc({formID:e,cols:r,report:t}){const[n,a]=D.useState(!1),{css:i}=Ge(),l=()=>{a(!0)};return o.jsxs("div",{children:[o.jsx(Cc,{showExportMdl:n,close:a,formID:e,cols:r,report:t}),o.jsx(jr,{msg:g("Export Form Data"),children:o.jsx("button",{onClick:l,className:i(oa.tableActionBtn),type:"button",children:o.jsx(Sc,{size:"18"})})})]})}function La(e){return o.jsxs("div",{className:"btcd-t-link flx mr-2 prevent-drawer",children:[o.jsx("div",{className:"tooltip",style:{"--tooltip-txt":`"${e.fname}"`,width:`${e.width?e.width:"80"}px`},children:o.jsxs("a",{href:`${e.link}`,rel:"noopener noreferrer",target:"_blank",className:"prevent-drawer",children:[o.jsx(Ys,{size:"30"})," ",e.fname]})}),o.jsx("a",{title:"Download",target:"_blank",href:`${e.link}&download`,download:!0,rel:"noopener noreferrer","aria-label":"Download",className:"icn-btn icn-btn-sm flx prevent-drawer",children:o.jsx(so,{size:"15"})})]})}function Tc(e){const{formID:r}=Ct(),t=Z(tt),n=Z(Er),{title:a,rptData:i,entryId:l}=e,s=co(i)?JSON.parse(i):[],c=[...s.reduce((p,h)=>(Object.keys(h||{}).forEach(x=>p.add(x)),p),new Set)].filter(p=>{var h,x;return!["divider","spacer","image","title"].includes((h=n[p])==null?void 0:h.typ)&&!((x=n[p])!=null&&x.parentFieldKey)}).map(p=>{var x;const h=n[p]||{};return U({Header:h.adminLbl||h.lbl||h.fieldName||p,accessor:p,fieldType:h.typ,minWidth:50},((x=h.typ)==null?void 0:x.match(/^(file-up|check|select|image-select|signature|name|address)$/))&&{Cell:v=>{if(v.cell.value!==null&&v.cell.value!==void 0&&v.cell.value!==""){if(h.typ==="file-up")return o.jsx(o.Fragment,{children:Mn(v.cell.value).map((y,_)=>o.jsx(La,{fname:y,link:`${t.baseDLURL}formID=${r}&entryID=${l}&fileID=${y}`},`file-n-${v.cell.row.index+_}`))});if(h.typ==="signature")return o.jsx(La,{fname:v.cell.value,link:`${t.baseDLURL}formID=${r}&entryID=${l}&fileID=${v.cell.value}`});if(h.typ==="check"||h.typ==="select"||h.typ==="image-select")try{if(Array.isArray(v.cell.value))return v.cell.value.join(", ");const y=typeof v.cell.value=="string"&&v.cell.value.length>0&&v.cell.value[0]==="["?JSON.parse(v.cell.value):v.cell.value!==void 0&&v.cell.value.split(",");return y.map((_,S)=>S<y.length-1?`${_},`:_)}catch(y){return v.cell.value}return h.typ==="name"||h.typ==="address"?Rn(v.cell.value,h.typ==="address"?", ":" "):v.cell.value}return null}})})||[],m=!1,u=s.length;return o.jsx(Nr,{lg:!0,show:!0,setModal:e.close,title:g(`${a} Data List`),children:o.jsx(fo,{className:"f-table btcd-entries-f",height:"76vh",columns:c,data:s,loading:m,countEntries:u,resizable:!0})})}var go={},pa={},ba={},Ft={},_o={exports:{}};/*! |
| 7 |
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,l=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var f=t.next();return l=f.done,f},e:function(f){s=!0,i=f},f:function(){try{l||t.return==null||t.return()}finally{if(s)throw i}}}}function cp(e,r){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t]);return e}function $e(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),r&&Gs(e,r)}function za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},za(e)}function Ho(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(Ho=function(){return!!e})()}function fp(e,r){if(r&&(gt(r)=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return K(e)}function ye(e){var r=Ho();return function(){var t,n=za(e);if(r){var a=za(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return fp(this,t)}}function he(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function up(e,r){if(gt(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r||"default");if(gt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function Bo(e){var r=up(e,"string");return gt(r)=="symbol"?r:r+""}function al(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Bo(n.key),n)}}function ge(e,r,t){return r&&al(e.prototype,r),t&&al(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Y(e,r,t){return(r=Bo(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var pp=10,Uo=function(){function e(){he(this,e),Y(this,"priority",void 0),Y(this,"subPriority",0)}return ge(e,[{key:"validate",value:function(t,n){return!0}}]),e}(),bp=function(e){$e(t,e);var r=ye(t);function t(n,a,i,l,s){var d;return he(this,t),d=r.call(this),d.value=n,d.validateValue=a,d.setValue=i,d.priority=l,s&&(d.subPriority=s),d}return ge(t,[{key:"validate",value:function(a,i){return this.validateValue(a,this.value,i)}},{key:"set",value:function(a,i,l){return this.setValue(a,i,this.value,l)}}]),t}(Uo),mp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",pp),Y(K(n),"subPriority",-1),n}return ge(t,[{key:"set",value:function(a,i){if(i.timestampIsSet)return a;var l=new Date(0);return l.setFullYear(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),l.setHours(a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()),l}}]),t}(Uo),we=function(){function e(){he(this,e),Y(this,"incompatibleTokens",void 0),Y(this,"priority",void 0),Y(this,"subPriority",void 0)}return ge(e,[{key:"run",value:function(t,n,a,i){var l=this.parse(t,n,a,i);return l?{setter:new bp(l.value,this.validate,this.set,this.priority,this.subPriority),rest:l.rest}:null}},{key:"validate",value:function(t,n,a){return!0}}]),e}(),hp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",140),Y(K(n),"incompatibleTokens",["R","u","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"G":case"GG":case"GGG":return l.era(a,{width:"abbreviated"})||l.era(a,{width:"narrow"});case"GGGGG":return l.era(a,{width:"narrow"});case"GGGG":default:return l.era(a,{width:"wide"})||l.era(a,{width:"abbreviated"})||l.era(a,{width:"narrow"})}}},{key:"set",value:function(a,i,l){return i.era=l,a.setUTCFullYear(l,0,1),a.setUTCHours(0,0,0,0),a}}]),t}(we),gp=6e4,_p=36e5,vp=1e3,Ue={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}/},wt={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 Ye(e,r){return e&&{value:r(e.value),rest:e.rest}}function Ie(e,r){var t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function kt(e,r){var t=r.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:r.slice(1)};var n=t[1]==="+"?1:-1,a=t[2]?parseInt(t[2],10):0,i=t[3]?parseInt(t[3],10):0,l=t[5]?parseInt(t[5],10):0;return{value:n*(a*_p+i*gp+l*vp),rest:r.slice(t[0].length)}}function Yo(e){return Ie(Ue.anyDigitsSigned,e)}function We(e,r){switch(e){case 1:return Ie(Ue.singleDigit,r);case 2:return Ie(Ue.twoDigits,r);case 3:return Ie(Ue.threeDigits,r);case 4:return Ie(Ue.fourDigits,r);default:return Ie(new RegExp("^\\d{1,"+e+"}"),r)}}function Ha(e,r){switch(e){case 1:return Ie(Ue.singleDigitSigned,r);case 2:return Ie(Ue.twoDigitsSigned,r);case 3:return Ie(Ue.threeDigitsSigned,r);case 4:return Ie(Ue.fourDigitsSigned,r);default:return Ie(new RegExp("^-?\\d{1,"+e+"}"),r)}}function gi(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Go(e,r){var t=r>0,n=t?r:1-r,a;if(n<=50)a=e||100;else{var i=n+50,l=Math.floor(i/100)*100,s=e>=i%100;a=e+l-(s?100:0)}return t?a:1-a}function Vo(e){return e%400===0||e%4===0&&e%100!==0}var $p=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",130),Y(K(n),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){var s=function(f){return{year:f,isTwoDigitYear:i==="yy"}};switch(i){case"y":return Ye(We(4,a),s);case"yo":return Ye(l.ordinalNumber(a,{unit:"year"}),s);default:return Ye(We(i.length,a),s)}}},{key:"validate",value:function(a,i){return i.isTwoDigitYear||i.year>0}},{key:"set",value:function(a,i,l){var s=a.getUTCFullYear();if(l.isTwoDigitYear){var d=Go(l.year,s);return a.setUTCFullYear(d,0,1),a.setUTCHours(0,0,0,0),a}var f=!("era"in i)||i.era===1?l.year:1-l.year;return a.setUTCFullYear(f,0,1),a.setUTCHours(0,0,0,0),a}}]),t}(we),yp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",130),Y(K(n),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){var s=function(f){return{year:f,isTwoDigitYear:i==="YY"}};switch(i){case"Y":return Ye(We(4,a),s);case"Yo":return Ye(l.ordinalNumber(a,{unit:"year"}),s);default:return Ye(We(i.length,a),s)}}},{key:"validate",value:function(a,i){return i.isTwoDigitYear||i.year>0}},{key:"set",value:function(a,i,l,s){var d=di(a,s);if(l.isTwoDigitYear){var f=Go(l.year,d);return a.setUTCFullYear(f,0,s.firstWeekContainsDate),a.setUTCHours(0,0,0,0),pr(a,s)}var c=!("era"in i)||i.era===1?l.year:1-l.year;return a.setUTCFullYear(c,0,s.firstWeekContainsDate),a.setUTCHours(0,0,0,0),pr(a,s)}}]),t}(we),xp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",130),Y(K(n),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i){return Ha(i==="R"?4:i.length,a)}},{key:"set",value:function(a,i,l){var s=new Date(0);return s.setUTCFullYear(l,0,4),s.setUTCHours(0,0,0,0),Mr(s)}}]),t}(we),wp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",130),Y(K(n),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i){return Ha(i==="u"?4:i.length,a)}},{key:"set",value:function(a,i,l){return a.setUTCFullYear(l,0,1),a.setUTCHours(0,0,0,0),a}}]),t}(we),kp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",120),Y(K(n),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"Q":case"QQ":return We(i.length,a);case"Qo":return l.ordinalNumber(a,{unit:"quarter"});case"QQQ":return l.quarter(a,{width:"abbreviated",context:"formatting"})||l.quarter(a,{width:"narrow",context:"formatting"});case"QQQQQ":return l.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return l.quarter(a,{width:"wide",context:"formatting"})||l.quarter(a,{width:"abbreviated",context:"formatting"})||l.quarter(a,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(a,i){return i>=1&&i<=4}},{key:"set",value:function(a,i,l){return a.setUTCMonth((l-1)*3,1),a.setUTCHours(0,0,0,0),a}}]),t}(we),Sp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",120),Y(K(n),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"q":case"qq":return We(i.length,a);case"qo":return l.ordinalNumber(a,{unit:"quarter"});case"qqq":return l.quarter(a,{width:"abbreviated",context:"standalone"})||l.quarter(a,{width:"narrow",context:"standalone"});case"qqqqq":return l.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return l.quarter(a,{width:"wide",context:"standalone"})||l.quarter(a,{width:"abbreviated",context:"standalone"})||l.quarter(a,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(a,i){return i>=1&&i<=4}},{key:"set",value:function(a,i,l){return a.setUTCMonth((l-1)*3,1),a.setUTCHours(0,0,0,0),a}}]),t}(we),Dp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),Y(K(n),"priority",110),n}return ge(t,[{key:"parse",value:function(a,i,l){var s=function(f){return f-1};switch(i){case"M":return Ye(Ie(Ue.month,a),s);case"MM":return Ye(We(2,a),s);case"Mo":return Ye(l.ordinalNumber(a,{unit:"month"}),s);case"MMM":return l.month(a,{width:"abbreviated",context:"formatting"})||l.month(a,{width:"narrow",context:"formatting"});case"MMMMM":return l.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return l.month(a,{width:"wide",context:"formatting"})||l.month(a,{width:"abbreviated",context:"formatting"})||l.month(a,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(a,i){return i>=0&&i<=11}},{key:"set",value:function(a,i,l){return a.setUTCMonth(l,1),a.setUTCHours(0,0,0,0),a}}]),t}(we),Cp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",110),Y(K(n),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){var s=function(f){return f-1};switch(i){case"L":return Ye(Ie(Ue.month,a),s);case"LL":return Ye(We(2,a),s);case"Lo":return Ye(l.ordinalNumber(a,{unit:"month"}),s);case"LLL":return l.month(a,{width:"abbreviated",context:"standalone"})||l.month(a,{width:"narrow",context:"standalone"});case"LLLLL":return l.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return l.month(a,{width:"wide",context:"standalone"})||l.month(a,{width:"abbreviated",context:"standalone"})||l.month(a,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(a,i){return i>=0&&i<=11}},{key:"set",value:function(a,i,l){return a.setUTCMonth(l,1),a.setUTCHours(0,0,0,0),a}}]),t}(we);function Op(e,r,t){oe(2,arguments);var n=ne(e),a=qe(r),i=ko(n,t)-a;return n.setUTCDate(n.getUTCDate()-i*7),n}var Tp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",100),Y(K(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"w":return Ie(Ue.week,a);case"wo":return l.ordinalNumber(a,{unit:"week"});default:return We(i.length,a)}}},{key:"validate",value:function(a,i){return i>=1&&i<=53}},{key:"set",value:function(a,i,l,s){return pr(Op(a,l,s),s)}}]),t}(we);function Pp(e,r){oe(2,arguments);var t=ne(e),n=qe(r),a=wo(t)-n;return t.setUTCDate(t.getUTCDate()-a*7),t}var jp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",100),Y(K(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"I":return Ie(Ue.week,a);case"Io":return l.ordinalNumber(a,{unit:"week"});default:return We(i.length,a)}}},{key:"validate",value:function(a,i){return i>=1&&i<=53}},{key:"set",value:function(a,i,l){return Mr(Pp(a,l))}}]),t}(we),Np=[31,28,31,30,31,30,31,31,30,31,30,31],Mp=[31,29,31,30,31,30,31,31,30,31,30,31],Rp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",90),Y(K(n),"subPriority",1),Y(K(n),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"d":return Ie(Ue.date,a);case"do":return l.ordinalNumber(a,{unit:"date"});default:return We(i.length,a)}}},{key:"validate",value:function(a,i){var l=a.getUTCFullYear(),s=Vo(l),d=a.getUTCMonth();return s?i>=1&&i<=Mp[d]:i>=1&&i<=Np[d]}},{key:"set",value:function(a,i,l){return a.setUTCDate(l),a.setUTCHours(0,0,0,0),a}}]),t}(we),Ep=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",90),Y(K(n),"subpriority",1),Y(K(n),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"D":case"DD":return Ie(Ue.dayOfYear,a);case"Do":return l.ordinalNumber(a,{unit:"date"});default:return We(i.length,a)}}},{key:"validate",value:function(a,i){var l=a.getUTCFullYear(),s=Vo(l);return s?i>=1&&i<=366:i>=1&&i<=365}},{key:"set",value:function(a,i,l){return a.setUTCMonth(0,l),a.setUTCHours(0,0,0,0),a}}]),t}(we);function _i(e,r,t){var n,a,i,l,s,d,f,c;oe(2,arguments);var m=Jt(),u=qe((n=(a=(i=(l=t==null?void 0:t.weekStartsOn)!==null&&l!==void 0?l:t==null||(s=t.locale)===null||s===void 0||(d=s.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&i!==void 0?i:m.weekStartsOn)!==null&&a!==void 0?a:(f=m.locale)===null||f===void 0||(c=f.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=ne(e),h=qe(r),x=p.getUTCDay(),v=h%7,y=(v+7)%7,_=(y<u?7:0)+h-x;return p.setUTCDate(p.getUTCDate()+_),p}var Ip=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",90),Y(K(n),"incompatibleTokens",["D","i","e","c","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"E":case"EE":case"EEE":return l.day(a,{width:"abbreviated",context:"formatting"})||l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"});case"EEEEE":return l.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"});case"EEEE":default:return l.day(a,{width:"wide",context:"formatting"})||l.day(a,{width:"abbreviated",context:"formatting"})||l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(a,i){return i>=0&&i<=6}},{key:"set",value:function(a,i,l,s){return a=_i(a,l,s),a.setUTCHours(0,0,0,0),a}}]),t}(we),Lp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",90),Y(K(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l,s){var d=function(c){var m=Math.floor((c-1)/7)*7;return(c+s.weekStartsOn+6)%7+m};switch(i){case"e":case"ee":return Ye(We(i.length,a),d);case"eo":return Ye(l.ordinalNumber(a,{unit:"day"}),d);case"eee":return l.day(a,{width:"abbreviated",context:"formatting"})||l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"});case"eeeee":return l.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"});case"eeee":default:return l.day(a,{width:"wide",context:"formatting"})||l.day(a,{width:"abbreviated",context:"formatting"})||l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(a,i){return i>=0&&i<=6}},{key:"set",value:function(a,i,l,s){return a=_i(a,l,s),a.setUTCHours(0,0,0,0),a}}]),t}(we),Ap=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",90),Y(K(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l,s){var d=function(c){var m=Math.floor((c-1)/7)*7;return(c+s.weekStartsOn+6)%7+m};switch(i){case"c":case"cc":return Ye(We(i.length,a),d);case"co":return Ye(l.ordinalNumber(a,{unit:"day"}),d);case"ccc":return l.day(a,{width:"abbreviated",context:"standalone"})||l.day(a,{width:"short",context:"standalone"})||l.day(a,{width:"narrow",context:"standalone"});case"ccccc":return l.day(a,{width:"narrow",context:"standalone"});case"cccccc":return l.day(a,{width:"short",context:"standalone"})||l.day(a,{width:"narrow",context:"standalone"});case"cccc":default:return l.day(a,{width:"wide",context:"standalone"})||l.day(a,{width:"abbreviated",context:"standalone"})||l.day(a,{width:"short",context:"standalone"})||l.day(a,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(a,i){return i>=0&&i<=6}},{key:"set",value:function(a,i,l,s){return a=_i(a,l,s),a.setUTCHours(0,0,0,0),a}}]),t}(we);function Fp(e,r){oe(2,arguments);var t=qe(r);t%7===0&&(t=t-7);var n=1,a=ne(e),i=a.getUTCDay(),l=t%7,s=(l+7)%7,d=(s<n?7:0)+t-i;return a.setUTCDate(a.getUTCDate()+d),a}var qp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",90),Y(K(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){var s=function(f){return f===0?7:f};switch(i){case"i":case"ii":return We(i.length,a);case"io":return l.ordinalNumber(a,{unit:"day"});case"iii":return Ye(l.day(a,{width:"abbreviated",context:"formatting"})||l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"}),s);case"iiiii":return Ye(l.day(a,{width:"narrow",context:"formatting"}),s);case"iiiiii":return Ye(l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"}),s);case"iiii":default:return Ye(l.day(a,{width:"wide",context:"formatting"})||l.day(a,{width:"abbreviated",context:"formatting"})||l.day(a,{width:"short",context:"formatting"})||l.day(a,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(a,i){return i>=1&&i<=7}},{key:"set",value:function(a,i,l){return a=Fp(a,l),a.setUTCHours(0,0,0,0),a}}]),t}(we),Wp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",80),Y(K(n),"incompatibleTokens",["b","B","H","k","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"a":case"aa":case"aaa":return l.dayPeriod(a,{width:"abbreviated",context:"formatting"})||l.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaaa":return l.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return l.dayPeriod(a,{width:"wide",context:"formatting"})||l.dayPeriod(a,{width:"abbreviated",context:"formatting"})||l.dayPeriod(a,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(a,i,l){return a.setUTCHours(gi(l),0,0,0),a}}]),t}(we),zp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",80),Y(K(n),"incompatibleTokens",["a","B","H","k","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"b":case"bb":case"bbb":return l.dayPeriod(a,{width:"abbreviated",context:"formatting"})||l.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbbb":return l.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return l.dayPeriod(a,{width:"wide",context:"formatting"})||l.dayPeriod(a,{width:"abbreviated",context:"formatting"})||l.dayPeriod(a,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(a,i,l){return a.setUTCHours(gi(l),0,0,0),a}}]),t}(we),Hp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",80),Y(K(n),"incompatibleTokens",["a","b","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"B":case"BB":case"BBB":return l.dayPeriod(a,{width:"abbreviated",context:"formatting"})||l.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBBB":return l.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return l.dayPeriod(a,{width:"wide",context:"formatting"})||l.dayPeriod(a,{width:"abbreviated",context:"formatting"})||l.dayPeriod(a,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(a,i,l){return a.setUTCHours(gi(l),0,0,0),a}}]),t}(we),Bp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",70),Y(K(n),"incompatibleTokens",["H","K","k","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"h":return Ie(Ue.hour12h,a);case"ho":return l.ordinalNumber(a,{unit:"hour"});default:return We(i.length,a)}}},{key:"validate",value:function(a,i){return i>=1&&i<=12}},{key:"set",value:function(a,i,l){var s=a.getUTCHours()>=12;return s&&l<12?a.setUTCHours(l+12,0,0,0):!s&&l===12?a.setUTCHours(0,0,0,0):a.setUTCHours(l,0,0,0),a}}]),t}(we),Up=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",70),Y(K(n),"incompatibleTokens",["a","b","h","K","k","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"H":return Ie(Ue.hour23h,a);case"Ho":return l.ordinalNumber(a,{unit:"hour"});default:return We(i.length,a)}}},{key:"validate",value:function(a,i){return i>=0&&i<=23}},{key:"set",value:function(a,i,l){return a.setUTCHours(l,0,0,0),a}}]),t}(we),Yp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",70),Y(K(n),"incompatibleTokens",["h","H","k","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"K":return Ie(Ue.hour11h,a);case"Ko":return l.ordinalNumber(a,{unit:"hour"});default:return We(i.length,a)}}},{key:"validate",value:function(a,i){return i>=0&&i<=11}},{key:"set",value:function(a,i,l){var s=a.getUTCHours()>=12;return s&&l<12?a.setUTCHours(l+12,0,0,0):a.setUTCHours(l,0,0,0),a}}]),t}(we),Gp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",70),Y(K(n),"incompatibleTokens",["a","b","h","H","K","t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"k":return Ie(Ue.hour24h,a);case"ko":return l.ordinalNumber(a,{unit:"hour"});default:return We(i.length,a)}}},{key:"validate",value:function(a,i){return i>=1&&i<=24}},{key:"set",value:function(a,i,l){var s=l<=24?l%24:l;return a.setUTCHours(s,0,0,0),a}}]),t}(we),Vp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",60),Y(K(n),"incompatibleTokens",["t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"m":return Ie(Ue.minute,a);case"mo":return l.ordinalNumber(a,{unit:"minute"});default:return We(i.length,a)}}},{key:"validate",value:function(a,i){return i>=0&&i<=59}},{key:"set",value:function(a,i,l){return a.setUTCMinutes(l,0,0),a}}]),t}(we),Kp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",50),Y(K(n),"incompatibleTokens",["t","T"]),n}return ge(t,[{key:"parse",value:function(a,i,l){switch(i){case"s":return Ie(Ue.second,a);case"so":return l.ordinalNumber(a,{unit:"second"});default:return We(i.length,a)}}},{key:"validate",value:function(a,i){return i>=0&&i<=59}},{key:"set",value:function(a,i,l){return a.setUTCSeconds(l,0),a}}]),t}(we),Qp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",30),Y(K(n),"incompatibleTokens",["t","T"]),n}return ge(t,[{key:"parse",value:function(a,i){var l=function(d){return Math.floor(d*Math.pow(10,-i.length+3))};return Ye(We(i.length,a),l)}},{key:"set",value:function(a,i,l){return a.setUTCMilliseconds(l),a}}]),t}(we),Jp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",10),Y(K(n),"incompatibleTokens",["t","T","x"]),n}return ge(t,[{key:"parse",value:function(a,i){switch(i){case"X":return kt(wt.basicOptionalMinutes,a);case"XX":return kt(wt.basic,a);case"XXXX":return kt(wt.basicOptionalSeconds,a);case"XXXXX":return kt(wt.extendedOptionalSeconds,a);case"XXX":default:return kt(wt.extended,a)}}},{key:"set",value:function(a,i,l){return i.timestampIsSet?a:new Date(a.getTime()-l)}}]),t}(we),Zp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",10),Y(K(n),"incompatibleTokens",["t","T","X"]),n}return ge(t,[{key:"parse",value:function(a,i){switch(i){case"x":return kt(wt.basicOptionalMinutes,a);case"xx":return kt(wt.basic,a);case"xxxx":return kt(wt.basicOptionalSeconds,a);case"xxxxx":return kt(wt.extendedOptionalSeconds,a);case"xxx":default:return kt(wt.extended,a)}}},{key:"set",value:function(a,i,l){return i.timestampIsSet?a:new Date(a.getTime()-l)}}]),t}(we),Xp=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",40),Y(K(n),"incompatibleTokens","*"),n}return ge(t,[{key:"parse",value:function(a){return Yo(a)}},{key:"set",value:function(a,i,l){return[new Date(l*1e3),{timestampIsSet:!0}]}}]),t}(we),eb=function(e){$e(t,e);var r=ye(t);function t(){var n;he(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r.call.apply(r,[this].concat(i)),Y(K(n),"priority",20),Y(K(n),"incompatibleTokens","*"),n}return ge(t,[{key:"parse",value:function(a){return Yo(a)}},{key:"set",value:function(a,i,l){return[new Date(l),{timestampIsSet:!0}]}}]),t}(we),tb={G:new hp,y:new $p,Y:new yp,R:new xp,u:new wp,Q:new kp,q:new Sp,M:new Dp,L:new Cp,w:new Tp,I:new jp,d:new Rp,D:new Ep,E:new Ip,e:new Lp,c:new Ap,i:new qp,a:new Wp,b:new zp,B:new Hp,h:new Bp,H:new Up,K:new Yp,k:new Gp,m:new Vp,s:new Kp,S:new Qp,X:new Jp,x:new Zp,t:new Xp,T:new eb},rb=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ab=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,nb=/^'([^]*?)'?$/,ib=/''/g,lb=/\S/,ob=/[a-zA-Z]/;function sb(e,r,t,n){var a,i,l,s,d,f,c,m,u,p,h,x,v,y,_,S,k,b;oe(3,arguments);var $=String(e),T=String(r),E=Jt(),O=(a=(i=n==null?void 0:n.locale)!==null&&i!==void 0?i:E.locale)!==null&&a!==void 0?a:ci;if(!O.match)throw new RangeError("locale must contain match property");var N=qe((l=(s=(d=(f=n==null?void 0:n.firstWeekContainsDate)!==null&&f!==void 0?f:n==null||(c=n.locale)===null||c===void 0||(m=c.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&d!==void 0?d:E.firstWeekContainsDate)!==null&&s!==void 0?s:(u=E.locale)===null||u===void 0||(p=u.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&l!==void 0?l:1);if(!(N>=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=qe((h=(x=(v=(y=n==null?void 0:n.weekStartsOn)!==null&&y!==void 0?y:n==null||(_=n.locale)===null||_===void 0||(S=_.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&v!==void 0?v:E.weekStartsOn)!==null&&x!==void 0?x:(k=E.locale)===null||k===void 0||(b=k.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&h!==void 0?h:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(T==="")return $===""?ne(t):new Date(NaN);var R={firstWeekContainsDate:N,weekStartsOn:L,locale:O},z=[new mp],re=T.match(ab).map(function(F){var I=F[0];if(I in En){var J=En[I];return J(F,O.formatLong)}return F}).join("").match(rb),X=[],pe=rl(re),_e;try{var Ke=function(){var I=_e.value;!(n!=null&&n.useAdditionalWeekYearTokens)&&Co(I)&&Fa(I,T,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Do(I)&&Fa(I,T,e);var J=I[0],ie=tb[J];if(ie){var fe=ie.incompatibleTokens;if(Array.isArray(fe)){var de=X.find(function(Oe){return fe.includes(Oe.token)||Oe.token===J});if(de)throw new RangeError("The format string mustn't contain `".concat(de.fullToken,"` and `").concat(I,"` at the same time"))}else if(ie.incompatibleTokens==="*"&&X.length>0)throw new RangeError("The format string mustn't contain `".concat(I,"` and any other token at the same time"));X.push({token:J,fullToken:I});var se=ie.run($,I,O.match,R);if(!se)return{v:new Date(NaN)};z.push(se.setter),$=se.rest}else{if(J.match(ob))throw new RangeError("Format string contains an unescaped latin alphabet character `"+J+"`");if(I==="''"?I="'":J==="'"&&(I=db(I)),$.indexOf(I)===0)$=$.slice(I.length);else return{v:new Date(NaN)}}};for(pe.s();!(_e=pe.n()).done;){var Ee=Ke();if(gt(Ee)==="object")return Ee.v}}catch(F){pe.e(F)}finally{pe.f()}if($.length>0&&lb.test($))return new Date(NaN);var Se=z.map(function(F){return F.priority}).sort(function(F,I){return I-F}).filter(function(F,I,J){return J.indexOf(F)===I}).map(function(F){return z.filter(function(I){return I.priority===F}).sort(function(I,J){return J.subPriority-I.subPriority})}).map(function(F){return F[0]}),V=ne(t);if(isNaN(V.getTime()))return new Date(NaN);var H=yo(V,Aa(V)),j={},M=rl(Se),w;try{for(M.s();!(w=M.n()).done;){var A=w.value;if(!A.validate(H,R))return new Date(NaN);var q=A.set(H,j,R);Array.isArray(q)?(H=q[0],cp(j,q[1])):H=q}}catch(F){M.e(F)}finally{M.f()}return H}function db(e){return e.match(nb)[1].replace(ib,"'")}var cb=Object.freeze({__proto__:null,default:sb}),fb=ke(cb);function ea(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ea=function(t){return typeof t}:ea=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ea(e)}Object.defineProperty(pn,"__esModule",{value:!0});pn.default=void 0;var Pa=hb(D),xt=Ar(qt),ub=Ar(br),pb=Ar(op),nl=Ar(sp),bb=Ar(fb),mb=Ar(sn);function Ar(e){return e&&e.__esModule?e:{default:e}}function Ko(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(Ko=function(a){return a?t:r})(e)}function hb(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||ea(e)!=="object"&&typeof e!="function")return{default:e};var t=Ko(r);if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function gb(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function il(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _b(e,r,t){return r&&il(e.prototype,r),t&&il(e,t),e}function vb(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&Wn(e,r)}function Wn(e,r){return Wn=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Wn(e,r)}function $b(e){var r=xb();return function(){var n=Ba(e),a;if(r){var i=Ba(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return yb(this,a)}}function yb(e,r){return r&&(ea(r)==="object"||typeof r=="function")?r:Ea(e)}function Ea(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xb(){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(e){return!1}}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ba(e)}function Sn(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var vi=function(e){vb(t,e);var r=$b(t);function t(n,a){var i;return gb(this,t),i=r.call(this,n,a),Sn(Ea(i),"onKeyDown",function(l){var s=i.state.value;l.key==="Enter"&&i.update(s)}),Sn(Ea(i),"onChange",function(l){i.setState({value:l.target.value,changed:!0,invalid:!1})}),Sn(Ea(i),"onBlur",function(){var l=i.state.value;i.update(l)}),i.state={invalid:!1,changed:!1,value:i.formatDate(n)},i}return _b(t,[{key:"componentDidUpdate",value:function(a){var i=a.value;(0,pb.default)(i,this.props.value)||this.setState({value:this.formatDate(this.props)})}},{key:"formatDate",value:function(a){var i=a.value,l=a.dateDisplayFormat,s=a.dateOptions;return i&&(0,nl.default)(i)?(0,mb.default)(i,l,s):""}},{key:"update",value:function(a){var i=this.state,l=i.invalid,s=i.changed;if(!(l||!s||!a)){var d=this.props,f=d.onChange,c=d.dateDisplayFormat,m=d.dateOptions,u=(0,bb.default)(a,c,new Date,m);(0,nl.default)(u)?this.setState({changed:!1},function(){return f(u)}):this.setState({invalid:!0})}}},{key:"render",value:function(){var a=this.props,i=a.className,l=a.readOnly,s=a.placeholder,d=a.ariaLabel,f=a.disabled,c=a.onFocus,m=this.state,u=m.value,p=m.invalid;return Pa.default.createElement("span",{className:(0,ub.default)("rdrDateInput",i)},Pa.default.createElement("input",{readOnly:l,disabled:f,value:u,placeholder:s,"aria-label":d,onKeyDown:this.onKeyDown,onChange:this.onChange,onBlur:this.onBlur,onFocus:c}),p&&Pa.default.createElement("span",{className:"rdrWarning"},"⚠"))}}]),t}(Pa.PureComponent);vi.propTypes={value:xt.default.object,placeholder:xt.default.string,disabled:xt.default.bool,readOnly:xt.default.bool,dateOptions:xt.default.object,dateDisplayFormat:xt.default.string,ariaLabel:xt.default.string,className:xt.default.string,onFocus:xt.default.func.isRequired,onChange:xt.default.func.isRequired};vi.defaultProps={readOnly:!0,disabled:!1,dateDisplayFormat:"MMM D, YYYY"};var wb=vi;pn.default=wb;var Qo={};(function(e){(function(r,t){t(e,D,o)})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:Vs,function(r,t,n){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;function a(H){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},a(H)}function i(H,j){if(!(H instanceof j))throw new TypeError("Cannot call a class as a function")}function l(H,j){for(var M=0;M<j.length;M++){var w=j[M];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(H,_(w.key),w)}}function s(H,j,M){return j&&l(H.prototype,j),M&&l(H,M),Object.defineProperty(H,"prototype",{writable:!1}),H}function d(H,j,M){return j=u(j),f(H,m()?Reflect.construct(j,M||[],u(H).constructor):j.apply(H,M))}function f(H,j){if(j&&(a(j)=="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return 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 m(){try{var H=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(j){}return(m=function(){return!!H})()}function u(H){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},u(H)}function p(H,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");H.prototype=Object.create(j&&j.prototype,{constructor:{value:H,writable:!0,configurable:!0}}),Object.defineProperty(H,"prototype",{writable:!1}),j&&h(H,j)}function h(H,j){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,w){return M.__proto__=w,M},h(H,j)}function x(H,j){var M=Object.keys(H);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(H);j&&(w=w.filter(function(A){return Object.getOwnPropertyDescriptor(H,A).enumerable})),M.push.apply(M,w)}return M}function v(H){for(var j=1;j<arguments.length;j++){var M=arguments[j]!=null?arguments[j]:{};j%2?x(Object(M),!0).forEach(function(w){y(H,w,M[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(M)):x(Object(M)).forEach(function(w){Object.defineProperty(H,w,Object.getOwnPropertyDescriptor(M,w))})}return H}function y(H,j,M){return(j=_(j))in H?Object.defineProperty(H,j,{value:M,enumerable:!0,configurable:!0,writable:!0}):H[j]=M,H}function _(H){var j=S(H,"string");return a(j)=="symbol"?j:j+""}function S(H,j){if(a(H)!="object"||!H)return H;var M=H[Symbol.toPrimitive];if(M!==void 0){var w=M.call(H,j||"default");if(a(w)!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(H)}var k={x:"clientWidth",y:"clientHeight"},b={x:"clientTop",y:"clientLeft"},$={x:"innerWidth",y:"innerHeight"},T={x:"offsetWidth",y:"offsetHeight"},E={x:"offsetLeft",y:"offsetTop"},O={x:"overflowX",y:"overflowY"},N={x:"scrollWidth",y:"scrollHeight"},L={x:"scrollLeft",y:"scrollTop"},R={x:"width",y:"height"},z=function(){},re=function(){if(typeof window=="undefined")return!1;var H=!1;try{document.createElement("div").addEventListener("test",z,{get passive(){return H=!0,!1}})}catch(j){}return H}()?{passive:!0}:!1,X="ReactList failed to reach a stable state.",pe=40,_e=function(j,M){for(var w in M)if(j[w]!==M[w])return!1;return!0},Ke=function(j){for(var M=j.props.axis,w=j.getEl(),A=O[M];w=w.parentElement;)switch(window.getComputedStyle(w)[A]){case"auto":case"scroll":case"overlay":return w}return window},Ee=function(j){var M=j.props.axis,w=j.scrollParent;return w===window?window[$[M]]:w[k[M]]},Se=function(j,M){var w=j.length,A=j.minSize,q=j.type,F=M.from,I=M.size,J=M.itemsPerRow;I=Math.max(I,A);var ie=I%J;return ie&&(I+=J-ie),I>w&&(I=w),F=q==="simple"||!F?0:Math.max(Math.min(F,w-I),0),(ie=F%J)&&(F-=ie,I+=ie),F===M.from&&I===M.size?M:v(v({},M),{},{from:F,size:I})},V=r.default=function(H){function j(M){var w;return i(this,j),w=d(this,j,[M]),w.state=Se(M,{itemsPerRow:1,from:M.initialIndex,size:0}),w.cache={},w.cachedScrollPosition=null,w.prevPrevState={},w.unstable=!1,w.updateCounter=0,w}return p(j,H),s(j,[{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(w){var A=this;if(this.props.axis!==w.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>pe){this.unstable=!0;return}this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){A.updateCounter=0,delete A.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(w,A){if(_e(this.state,w))return A();this.setState(w,A)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,re),this.scrollParent.removeEventListener("mousewheel",z,re)}},{key:"getOffset",value:function(w){var A=this.props.axis,q=w[b[A]]||0,F=E[A];do q+=w[F]||0;while(w=w.offsetParent);return q}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var w=this.scrollParent,A=this.props.axis,q=L[A],F=w===window?document.body[q]||document.documentElement[q]:w[q],I=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),J=Math.max(0,Math.min(F,I)),ie=this.getEl();return this.cachedScrollPosition=this.getOffset(w)+J-this.getOffset(ie),this.cachedScrollPosition}},{key:"setScroll",value:function(w){var A=this.scrollParent,q=this.props.axis;if(w+=this.getOffset(this.getEl()),A===window)return window.scrollTo(0,w);w-=this.getOffset(this.scrollParent),A[L[q]]=w}},{key:"getScrollSize",value:function(){var w=this.scrollParent,A=document,q=A.body,F=A.documentElement,I=N[this.props.axis];return w===window?Math.max(q[I],F[I]):w[I]}},{key:"hasDeterminateSize",value:function(){var w=this.props,A=w.itemSizeGetter,q=w.type;return q==="uniform"||A}},{key:"getStartAndEnd",value:function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,A=this.getScrollPosition(),q=Math.max(0,A-w),F=A+this.props.scrollParentViewportSizeGetter(this)+w;return this.hasDeterminateSize()&&(F=Math.min(F,this.getSpaceBefore(this.props.length))),{start:q,end:F}}},{key:"getItemSizeAndItemsPerRow",value:function(){var w=this.props,A=w.axis,q=w.useStaticSize,F=this.state,I=F.itemSize,J=F.itemsPerRow;if(q&&I&&J)return{itemSize:I,itemsPerRow:J};var ie=this.items.children;if(!ie.length)return{};var fe=ie[0],de=fe[T[A]],se=Math.abs(de-I);if((isNaN(se)||se>=1)&&(I=de),!I)return{};var Oe=E[A],Le=fe[Oe];J=1;for(var Qe=ie[J];Qe&&Qe[Oe]===Le;Qe=ie[J])++J;return{itemSize:I,itemsPerRow:J}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(w){return this.clearSizeCache(),this.updateFrame(w)}},{key:"updateFrame",value:function(w){switch(this.updateScrollParent(),typeof w!="function"&&(w=z),this.props.type){case"simple":return this.updateSimpleFrame(w);case"variable":return this.updateVariableFrame(w);case"uniform":return this.updateUniformFrame(w)}}},{key:"updateScrollParent",value:function(){var w=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),w!==this.scrollParent&&(w&&(w.removeEventListener("scroll",this.updateFrameAndClearCache),w.removeEventListener("mousewheel",z)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,re),this.scrollParent.addEventListener("mousewheel",z,re))}},{key:"updateSimpleFrame",value:function(w){var A=this.getStartAndEnd(),q=A.end,F=this.items.children,I=0;if(F.length){var J=this.props.axis,ie=F[0],fe=F[F.length-1];I=this.getOffset(fe)+fe[T[J]]-this.getOffset(ie)}if(I>q)return w();var de=this.props,se=de.pageSize,Oe=de.length,Le=Math.min(this.state.size+se,Oe);this.maybeSetState({size:Le},w)}},{key:"updateVariableFrame",value:function(w){this.props.itemSizeGetter||this.cacheSizes();for(var A=this.getStartAndEnd(),q=A.start,F=A.end,I=this.props,J=I.length,ie=I.pageSize,fe=0,de=0,se=0,Oe=J-1;de<Oe;){var Le=this.getSizeOfItem(de);if(Le==null||fe+Le>q)break;fe+=Le,++de}for(var Qe=J-de;se<Qe&&fe<F;){var st=this.getSizeOfItem(de+se);if(st==null){se=Math.min(se+ie,Qe);break}fe+=st,++se}this.maybeSetState(Se(this.props,{from:de,itemsPerRow:1,size:se}),w)}},{key:"updateUniformFrame",value:function(w){var A=this.getItemSizeAndItemsPerRow(),q=A.itemSize,F=A.itemsPerRow;if(!q||!F)return w();var I=this.getStartAndEnd(),J=I.start,ie=I.end,fe=Se(this.props,{from:Math.floor(J/q)*F,size:(Math.ceil((ie-J)/q)+1)*F,itemsPerRow:F}),de=fe.from,se=fe.size;return this.maybeSetState({itemsPerRow:F,from:de,itemSize:q,size:se},w)}},{key:"getSpaceBefore",value:function(w){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(A[w]!=null)return A[w];var q=this.state,F=q.itemSize,I=q.itemsPerRow;if(F)return A[w]=Math.floor(w/I)*F;for(var J=w;J>0&&A[--J]==null;);for(var ie=A[J]||0,fe=J;fe<w;++fe){A[fe]=ie;var de=this.getSizeOfItem(fe);if(de==null)break;ie+=de}return A[w]=ie}},{key:"cacheSizes",value:function(){for(var w=this.cache,A=this.state.from,q=this.items.children,F=T[this.props.axis],I=0,J=q.length;I<J;++I)w[A+I]=q[I][F]}},{key:"getSizeOfItem",value:function(w){var A=this.cache,q=this.items,F=this.props,I=F.axis,J=F.itemSizeGetter,ie=F.itemSizeEstimator,fe=F.type,de=this.state,se=de.from,Oe=de.itemSize,Le=de.size;if(Oe)return Oe;if(J)return J(w);if(w in A)return A[w];if(fe==="simple"&&w>=se&&w<se+Le&&q){var Qe=q.children[w-se];if(Qe)return Qe[T[I]]}if(ie)return ie(w,A)}},{key:"scrollTo",value:function(w){w!=null&&this.setScroll(this.getSpaceBefore(w))}},{key:"scrollAround",value:function(w){var A=this.getScrollPosition(),q=this.getSpaceBefore(w),F=q-this.props.scrollParentViewportSizeGetter(this)+this.getSizeOfItem(w),I=Math.min(F,q),J=Math.max(F,q);if(A<=I)return this.setScroll(I);if(A>J)return this.setScroll(J)}},{key:"getVisibleRange",value:function(){for(var w=this.state,A=w.from,q=w.size,F=this.getStartAndEnd(0),I=F.start,J=F.end,ie={},fe,de,se=A;se<A+q;++se){var Oe=this.getSpaceBefore(se,ie),Le=Oe+this.getSizeOfItem(se);fe==null&&Le>I&&(fe=se),fe!=null&&Oe<J&&(de=se)}return[fe,de]}},{key:"renderItems",value:function(){for(var w=this,A=this.props,q=A.itemRenderer,F=A.itemsRenderer,I=this.state,J=I.from,ie=I.size,fe=[],de=0;de<ie;++de)fe.push(q(J+de,de));return F(fe,function(se){return w.items=se})}},{key:"render",value:function(){var w=this,A=this.props,q=A.axis,F=A.length,I=A.type,J=A.useTranslate3d,ie=this.state,fe=ie.from,de=ie.itemsPerRow,se=this.renderItems();if(I==="simple")return se;var Oe={position:"relative"},Le={},Qe=Math.ceil(F/de)*de,st=this.getSpaceBefore(Qe,Le);st&&(Oe[R[q]]=st,q==="x"&&(Oe.overflowX="hidden"));var pt=this.getSpaceBefore(fe,Le),zt=q==="x"?pt:0,_t=q==="y"?pt:0,Pt=J?"translate3d(".concat(zt,"px, ").concat(_t,"px, 0)"):"translate(".concat(zt,"px, ").concat(_t,"px)"),er={msTransform:Pt,WebkitTransform:Pt,transform:Pt};return(0,n.jsx)("div",{style:Oe,ref:function(tr){return w.el=tr},children:(0,n.jsx)("div",{style:er,children:se})})}}],[{key:"getDerivedStateFromProps",value:function(w,A){var q=Se(w,A);return q===A?null:q}}])}(t.Component);y(V,"displayName","ReactList"),y(V,"defaultProps",{axis:"y",itemRenderer:function(j,M){return(0,n.jsx)("div",{children:j},M)},itemsRenderer:function(j,M){return(0,n.jsx)("div",{ref:M,children:j})},length:0,minSize:1,pageSize:10,scrollParentGetter:Ke,scrollParentViewportSizeGetter:Ee,threshold:100,type:"simple",useStaticSize:!1,useTranslate3d:!1})})})(Qo);function kb(e,r){if(e===r)return!0;if(!e||!r)return!1;var t=Object.keys(e),n=Object.keys(r),a=t.length;if(n.length!==a)return!1;for(var i=0;i<a;i++){var l=t[i];if(e[l]!==r[l]||!Object.prototype.hasOwnProperty.call(r,l))return!1}return!0}function Sb(e,r){if(e===r)return!0;if(!e||!r)return!1;var t=e.length;if(r.length!==t)return!1;for(var n=0;n<t;n++)if(e[n]!==r[n])return!1;return!0}var Db=Object.freeze({__proto__:null,shallowEqualArrays:Sb,shallowEqualObjects:kb}),Cb=ke(Db);function Ob(e){oe(1,arguments);var r;if(e&&typeof e.forEach=="function")r=e;else if(gt(e)==="object"&&e!==null)r=Array.prototype.slice.call(e);else return new Date(NaN);var t;return r.forEach(function(n){var a=ne(n);(t===void 0||t<a||isNaN(Number(a)))&&(t=a)}),t||new Date(NaN)}var Tb=Object.freeze({__proto__:null,default:Ob}),Jo=ke(Tb);function Pb(e){oe(1,arguments);var r;if(e&&typeof e.forEach=="function")r=e;else if(gt(e)==="object"&&e!==null)r=Array.prototype.slice.call(e);else return new Date(NaN);var t;return r.forEach(function(n){var a=ne(n);(t===void 0||t>a||isNaN(a.getDate()))&&(t=a)}),t||new Date(NaN)}var jb=Object.freeze({__proto__:null,default:Pb}),Zo=ke(jb);function ll(e,r){var t=e.getFullYear()-r.getFullYear()||e.getMonth()-r.getMonth()||e.getDate()-r.getDate()||e.getHours()-r.getHours()||e.getMinutes()-r.getMinutes()||e.getSeconds()-r.getSeconds()||e.getMilliseconds()-r.getMilliseconds();return t<0?-1:t>0?1:t}function Nb(e,r){oe(2,arguments);var t=ne(e),n=ne(r),a=ll(t,n),i=Math.abs(Mo(t,n));t.setDate(t.getDate()-a*i);var l=+(ll(t,n)===-a),s=a*(i-l);return s===0?0:s}var Mb=Object.freeze({__proto__:null,default:Nb}),Rb=ke(Mb);function Eb(e,r){oe(2,arguments);var t=ne(e),n=ne(r);return t.getFullYear()===n.getFullYear()&&t.getMonth()===n.getMonth()}var Ib=Object.freeze({__proto__:null,default:Eb}),Lb=ke(Ib);function Ab(e){oe(1,arguments);var r=ne(e),t=r.getFullYear(),n=r.getMonth(),a=new Date(0);return a.setFullYear(t,n+1,0),a.setHours(0,0,0,0),a.getDate()}function Fb(e,r){oe(2,arguments);var t=ne(e),n=qe(r),a=t.getFullYear(),i=t.getDate(),l=new Date(0);l.setFullYear(a,n,15),l.setHours(0,0,0,0);var s=Ab(l);return t.setMonth(n,Math.min(i,s)),t}var qb=Object.freeze({__proto__:null,default:Fb}),Wb=ke(qb);function zb(e,r){oe(2,arguments);var t=ne(e),n=qe(r);return isNaN(t.getTime())?new Date(NaN):(t.setFullYear(n),t)}var Hb=Object.freeze({__proto__:null,default:zb}),Bb=ke(Hb);function $i(e,r){oe(2,arguments);var t=ne(e),n=qe(r);if(isNaN(n))return new Date(NaN);if(!n)return t;var a=t.getDate(),i=new Date(t.getTime());i.setMonth(t.getMonth()+n+1,0);var l=i.getDate();return a>=l?i:(t.setFullYear(i.getFullYear(),i.getMonth(),a),t)}var Ub=Object.freeze({__proto__:null,default:$i});function Yb(e,r){oe(2,arguments);var t=qe(r);return $i(e,t*12)}var Gb=Object.freeze({__proto__:null,default:Yb}),Vb=ke(Gb);function Kb(e,r){oe(2,arguments);var t=qe(r);return $i(e,-t)}var Qb=Object.freeze({__proto__:null,default:Kb}),Jb=ke(Qb),Xo=ke(Ub),Zb=ke(Wf),mr={};Object.defineProperty(mr,"__esModule",{value:!0});mr.default=void 0;var Xb={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"};mr.default=Xb;var bn={};Object.defineProperty(bn,"__esModule",{value:!0});bn.ariaLabelsShape=void 0;var Et=em(qt);function em(e){return e&&e.__esModule?e:{default:e}}var tm=Et.default.shape({dateInput:Et.default.objectOf(Et.default.shape({startDate:Et.default.string,endDate:Et.default.string})),monthPicker:Et.default.string,yearPicker:Et.default.string,prevButton:Et.default.string,nextButton:Et.default.string});bn.ariaLabelsShape=tm;function ta(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ta=function(t){return typeof t}:ta=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ta(e)}Object.defineProperty(ba,"__esModule",{value:!0});ba.default=void 0;var Ce=wm(D),te=Re(qt),rm=Ft,ol=Re(dn),sl=Re(pn),ja=Wt,sr=Re(br),am=Re(Qo),nm=Cb,im=Re(Jo),lm=Re(Zo),om=Re(Rb),sm=Re(Lb),dm=Re(un),cm=Re(bi),fm=Re(mi),Dn=Re(No),um=Re(Wb),pm=Re(Bb),dl=Re(Vb),bm=Re(on),mm=Re(cn),hm=Re(fn),gm=Re(Po),_m=Re(sn),vm=Re(Jb),Kr=Re(Xo),$m=Re(Zb),ym=Re(mr),xm=bn;function Re(e){return e&&e.__esModule?e:{default:e}}function es(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(es=function(a){return a?t:r})(e)}function wm(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||ta(e)!=="object"&&typeof e!="function")return{default:e};var t=es(r);if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function Ua(){return Ua=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Ua.apply(this,arguments)}function km(e){return Om(e)||Cm(e)||Dm(e)||Sm()}function Sm(){throw new TypeError(`Invalid attempt to spread non-iterable instance. |
| 8 |
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dm(e,r){if(e){if(typeof e=="string")return zn(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return zn(e,r)}}function Cm(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Om(e){if(Array.isArray(e))return zn(e)}function zn(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function cl(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function Na(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?cl(Object(t),!0).forEach(function(n){at(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cl(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Tm(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function fl(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pm(e,r,t){return r&&fl(e.prototype,r),t&&fl(e,t),e}function jm(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&Hn(e,r)}function Hn(e,r){return Hn=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Hn(e,r)}function Nm(e){var r=Rm();return function(){var n=Ya(e),a;if(r){var i=Ya(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Mm(this,a)}}function Mm(e,r){return r&&(ta(r)==="object"||typeof r=="function")?r:lt(e)}function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rm(){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(e){return!1}}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ya(e)}function at(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var yi=function(e){jm(t,e);var r=Nm(t);function t(n,a){var i;return Tm(this,t),i=r.call(this,n,a),at(lt(i),"focusToDate",function(l){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i.props,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!s.scroll.enabled){if(d&&s.preventSnapRefocus){var f=(0,Dn.default)(l,i.state.focusedDate),c=s.calendarFocus==="forwards"&&f>=0,m=s.calendarFocus==="backwards"&&f<=0;if((c||m)&&Math.abs(f)<s.months)return}i.setState({focusedDate:l});return}var u=(0,Dn.default)(l,s.minDate,i.dateOptions),p=i.list.getVisibleRange();d&&p.includes(u)||(i.isFirstRender=!0,i.list.scrollTo(u),i.setState({focusedDate:l}))}),at(lt(i),"updateShownDate",function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i.props,s=l.scroll.enabled?Na(Na({},l),{},{months:i.list.getVisibleRange().length}):l,d=(0,ja.calcFocusDate)(i.state.focusedDate,s);i.focusToDate(d,s)}),at(lt(i),"updatePreview",function(l){if(!l){i.setState({preview:null});return}var s={startDate:l,endDate:l,color:i.props.color};i.setState({preview:s})}),at(lt(i),"changeShownDate",function(l){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"set",d=i.state.focusedDate,f=i.props,c=f.onShownDateChange,m=f.minDate,u=f.maxDate,p={monthOffset:function(){return(0,Kr.default)(d,l)},setMonth:function(x){function v(){return x.apply(this,arguments)}return v.toString=function(){return x.toString()},v}(function(){return(0,um.default)(d,l)}),setYear:function(x){function v(){return x.apply(this,arguments)}return v.toString=function(){return x.toString()},v}(function(){return(0,pm.default)(d,l)}),set:function(){return l}},h=(0,lm.default)([(0,im.default)([p[s](),m]),u]);i.focusToDate(h,i.props,!1),c&&c(h)}),at(lt(i),"handleRangeFocusChange",function(l,s){i.props.onRangeFocusChange&&i.props.onRangeFocusChange([l,s])}),at(lt(i),"handleScroll",function(){var l=i.props,s=l.onShownDateChange,d=l.minDate,f=i.state.focusedDate,c=lt(i),m=c.isFirstRender,u=i.list.getVisibleRange();if(u[0]!==void 0){var p=(0,Kr.default)(d,u[0]||0),h=!(0,sm.default)(p,f);h&&!m&&(i.setState({focusedDate:p}),s&&s(p)),i.isFirstRender=!1}}),at(lt(i),"renderMonthAndYear",function(l,s,d){var f=d.showMonthArrow,c=d.minDate,m=d.maxDate,u=d.showMonthAndYearPickers,p=d.ariaLabels,h=(m||t.defaultProps.maxDate).getFullYear(),x=(c||t.defaultProps.minDate).getFullYear(),v=i.styles;return Ce.default.createElement("div",{onMouseUp:function(_){return _.stopPropagation()},className:v.monthAndYearWrapper},f?Ce.default.createElement("button",{type:"button",className:(0,sr.default)(v.nextPrevButton,v.prevButton),onClick:function(){return s(-1,"monthOffset")},"aria-label":p.prevButton},Ce.default.createElement("i",null)):null,u?Ce.default.createElement("span",{className:v.monthAndYearPickers},Ce.default.createElement("span",{className:v.monthPicker},Ce.default.createElement("select",{value:l.getMonth(),onChange:function(_){return s(_.target.value,"setMonth")},"aria-label":p.monthPicker},i.state.monthNames.map(function(y,_){return Ce.default.createElement("option",{key:_,value:_},y)}))),Ce.default.createElement("span",{className:v.monthAndYearDivider}),Ce.default.createElement("span",{className:v.yearPicker},Ce.default.createElement("select",{value:l.getFullYear(),onChange:function(_){return s(_.target.value,"setYear")},"aria-label":p.yearPicker},new Array(h-x+1).fill(h).map(function(y,_){var S=y-_;return Ce.default.createElement("option",{key:S,value:S},S)})))):Ce.default.createElement("span",{className:v.monthAndYearPickers},i.state.monthNames[l.getMonth()]," ",l.getFullYear()),f?Ce.default.createElement("button",{type:"button",className:(0,sr.default)(v.nextPrevButton,v.nextButton),onClick:function(){return s(1,"monthOffset")},"aria-label":p.nextButton},Ce.default.createElement("i",null)):null)}),at(lt(i),"renderDateDisplay",function(){var l=i.props,s=l.focusedRange,d=l.color,f=l.ranges,c=l.rangeColors,m=l.dateDisplayFormat,u=l.editableDateInputs,p=l.startDatePlaceholder,h=l.endDatePlaceholder,x=l.ariaLabels,v=c[s[0]]||d,y=i.styles;return Ce.default.createElement("div",{className:y.dateDisplayWrapper},f.map(function(_,S){return _.showDateDisplay===!1||_.disabled&&!_.showDateDisplay?null:Ce.default.createElement("div",{className:y.dateDisplay,key:S,style:{color:_.color||v}},Ce.default.createElement(sl.default,{className:(0,sr.default)(y.dateDisplayItem,at({},y.dateDisplayItemActive,s[0]===S&&s[1]===0)),readOnly:!u,disabled:_.disabled,value:_.startDate,placeholder:p,dateOptions:i.dateOptions,dateDisplayFormat:m,ariaLabel:x.dateInput&&x.dateInput[_.key]&&x.dateInput[_.key].startDate,onChange:i.onDragSelectionEnd,onFocus:function(){return i.handleRangeFocusChange(S,0)}}),Ce.default.createElement(sl.default,{className:(0,sr.default)(y.dateDisplayItem,at({},y.dateDisplayItemActive,s[0]===S&&s[1]===1)),readOnly:!u,disabled:_.disabled,value:_.endDate,placeholder:h,dateOptions:i.dateOptions,dateDisplayFormat:m,ariaLabel:x.dateInput&&x.dateInput[_.key]&&x.dateInput[_.key].endDate,onChange:i.onDragSelectionEnd,onFocus:function(){return i.handleRangeFocusChange(S,1)}}))}))}),at(lt(i),"onDragSelectionStart",function(l){var s=i.props,d=s.onChange,f=s.dragSelectionEnabled;f?i.setState({drag:{status:!0,range:{startDate:l,endDate:l},disablePreview:!0}}):d&&d(l)}),at(lt(i),"onDragSelectionEnd",function(l){var s=i.props,d=s.updateRange,f=s.displayMode,c=s.onChange,m=s.dragSelectionEnabled;if(m){if(f==="date"||!i.state.drag.status){c&&c(l);return}var u={startDate:i.state.drag.range.startDate,endDate:l};f!=="dateRange"||(0,bm.default)(u.startDate,l)?i.setState({drag:{status:!1,range:{}}},function(){return c&&c(l)}):i.setState({drag:{status:!1,range:{}}},function(){d&&d(u)})}}),at(lt(i),"onDragSelectionMove",function(l){var s=i.state.drag;!s.status||!i.props.dragSelectionEnabled||i.setState({drag:{status:s.status,range:{startDate:s.range.startDate,endDate:l},disablePreview:!0}})}),at(lt(i),"estimateMonthSize",function(l,s){var d=i.props,f=d.direction,c=d.minDate,m=i.state.scrollArea;if(s&&(i.listSizeCache=s,s[l]))return s[l];if(f==="horizontal")return m.monthWidth;var u=(0,Kr.default)(c,l),p=(0,ja.getMonthDisplayRange)(u,i.dateOptions),h=p.start,x=p.end,v=(0,om.default)(x,h,i.dateOptions)+1>7*5;return v?m.longMonthHeight:m.monthHeight}),i.dateOptions={locale:n.locale},n.weekStartsOn!==void 0&&(i.dateOptions.weekStartsOn=n.weekStartsOn),i.styles=(0,ja.generateStyles)([ym.default,n.classNames]),i.listSizeCache={},i.isFirstRender=!0,i.state={monthNames:i.getMonthNames(),focusedDate:(0,ja.calcFocusDate)(null,n),drag:{status:!1,range:{startDate:null,endDate:null},disablePreview:!1},scrollArea:i.calcScrollArea(n)},i}return Pm(t,[{key:"getMonthNames",value:function(){var a=this;return km(Array(12).keys()).map(function(i){return a.props.locale.localize.month(i)})}},{key:"calcScrollArea",value:function(a){var i=a.direction,l=a.months,s=a.scroll;if(!s.enabled)return{enabled:!1};var d=s.longMonthHeight||s.monthHeight;return i==="vertical"?{enabled:!0,monthHeight:s.monthHeight||220,longMonthHeight:d||260,calendarWidth:"auto",calendarHeight:(s.calendarHeight||d||240)*l}:{enabled:!0,monthWidth:s.monthWidth||332,calendarWidth:(s.calendarWidth||s.monthWidth||332)*l,monthHeight:d||300,calendarHeight:d||300}}},{key:"componentDidMount",value:function(){var a=this;this.props.scroll.enabled&&setTimeout(function(){return a.focusToDate(a.state.focusedDate)})}},{key:"componentDidUpdate",value:function(a){var i={dateRange:"ranges",date:"date"},l=i[this.props.displayMode];this.props[l]!==a[l]&&this.updateShownDate(this.props),(a.locale!==this.props.locale||a.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,nm.shallowEqualObjects)(a.scroll,this.props.scroll)||this.setState({scrollArea:this.calcScrollArea(this.props)})}},{key:"renderWeekdays",value:function(){var a=this,i=new Date;return Ce.default.createElement("div",{className:this.styles.weekDays},(0,gm.default)({start:(0,hm.default)(i,this.dateOptions),end:(0,mm.default)(i,this.dateOptions)}).map(function(l,s){return Ce.default.createElement("span",{className:a.styles.weekDay,key:s},(0,_m.default)(l,a.props.weekdayDisplayFormat,a.dateOptions))}))}},{key:"render",value:function(){var a=this,i=this.props,l=i.showDateDisplay,s=i.onPreviewChange,d=i.scroll,f=i.direction,c=i.disabledDates,m=i.disabledDay,u=i.maxDate,p=i.minDate,h=i.rangeColors,x=i.color,v=i.navigatorRenderer,y=i.className,_=i.preview,S=this.state,k=S.scrollArea,b=S.focusedDate,$=f==="vertical",T=v||this.renderMonthAndYear,E=this.props.ranges.map(function(O,N){return Na(Na({},O),{},{color:O.color||h[N]||x})});return Ce.default.createElement("div",{className:(0,sr.default)(this.styles.calendarWrapper,y),onMouseUp:function(){return a.setState({drag:{status:!1,range:{}}})},onMouseLeave:function(){a.setState({drag:{status:!1,range:{}}})}},l&&this.renderDateDisplay(),T(b,this.changeShownDate,this.props),d.enabled?Ce.default.createElement("div",null,$&&this.renderWeekdays(this.dateOptions),Ce.default.createElement("div",{className:(0,sr.default)(this.styles.infiniteMonths,$?this.styles.monthsVertical:this.styles.monthsHorizontal),onMouseLeave:function(){return s&&s()},style:{width:k.calendarWidth+11,height:k.calendarHeight+11},onScroll:this.handleScroll},Ce.default.createElement(am.default,{length:(0,Dn.default)((0,cm.default)(u),(0,dm.default)((0,fm.default)(p),-1),this.dateOptions),treshold:500,type:"variable",ref:function(N){return a.list=N},itemSizeEstimator:this.estimateMonthSize,axis:$?"y":"x",itemRenderer:function(N,L){var R=(0,Kr.default)(p,N);return Ce.default.createElement(ol.default,Ua({},a.props,{onPreviewChange:s||a.updatePreview,preview:_||a.state.preview,ranges:E,key:L,drag:a.state.drag,dateOptions:a.dateOptions,disabledDates:c,disabledDay:m,month:R,onDragSelectionStart:a.onDragSelectionStart,onDragSelectionEnd:a.onDragSelectionEnd,onDragSelectionMove:a.onDragSelectionMove,onMouseLeave:function(){return s&&s()},styles:a.styles,style:$?{height:a.estimateMonthSize(N)}:{height:k.monthHeight,width:a.estimateMonthSize(N)},showMonthName:!0,showWeekDays:!$}))}}))):Ce.default.createElement("div",{className:(0,sr.default)(this.styles.months,$?this.styles.monthsVertical:this.styles.monthsHorizontal)},new Array(this.props.months).fill(null).map(function(O,N){var L=(0,Kr.default)(a.state.focusedDate,N);return a.props.calendarFocus==="backwards"&&(L=(0,vm.default)(a.state.focusedDate,a.props.months-1-N)),Ce.default.createElement(ol.default,Ua({},a.props,{onPreviewChange:s||a.updatePreview,preview:_||a.state.preview,ranges:E,key:N,drag:a.state.drag,dateOptions:a.dateOptions,disabledDates:c,disabledDay:m,month:L,onDragSelectionStart:a.onDragSelectionStart,onDragSelectionEnd:a.onDragSelectionEnd,onDragSelectionMove:a.onDragSelectionMove,onMouseLeave:function(){return s&&s()},styles:a.styles,showWeekDays:!$||N===0,showMonthName:!$||N>0}))})))}}]),t}(Ce.PureComponent);yi.defaultProps={showMonthArrow:!0,showMonthAndYearPickers:!0,disabledDates:[],disabledDay:function(){},classNames:{},locale:$m.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,dl.default)(new Date,20),minDate:(0,dl.default)(new Date,-100),rangeColors:["#3d91ff","#3ecf8e","#fed14c"],startDatePlaceholder:"Early",endDatePlaceholder:"Continuous",editableDateInputs:!1,dragSelectionEnabled:!0,fixedHeight:!1,calendarFocus:"forwards",preventSnapRefocus:!1,ariaLabels:{}};yi.propTypes={showMonthArrow:te.default.bool,showMonthAndYearPickers:te.default.bool,disabledDates:te.default.array,disabledDay:te.default.func,minDate:te.default.object,maxDate:te.default.object,date:te.default.object,onChange:te.default.func,onPreviewChange:te.default.func,onRangeFocusChange:te.default.func,classNames:te.default.object,locale:te.default.object,shownDate:te.default.object,onShownDateChange:te.default.func,ranges:te.default.arrayOf(rm.rangeShape),preview:te.default.shape({startDate:te.default.object,endDate:te.default.object,color:te.default.string}),dateDisplayFormat:te.default.string,monthDisplayFormat:te.default.string,weekdayDisplayFormat:te.default.string,weekStartsOn:te.default.number,dayDisplayFormat:te.default.string,focusedRange:te.default.arrayOf(te.default.number),initialFocusedRange:te.default.arrayOf(te.default.number),months:te.default.number,className:te.default.string,showDateDisplay:te.default.bool,showPreview:te.default.bool,displayMode:te.default.oneOf(["dateRange","date"]),color:te.default.string,updateRange:te.default.func,scroll:te.default.shape({enabled:te.default.bool,monthHeight:te.default.number,longMonthHeight:te.default.number,monthWidth:te.default.number,calendarWidth:te.default.number,calendarHeight:te.default.number}),direction:te.default.oneOf(["vertical","horizontal"]),startDatePlaceholder:te.default.string,endDatePlaceholder:te.default.string,navigatorRenderer:te.default.func,rangeColors:te.default.arrayOf(te.default.string),editableDateInputs:te.default.bool,dragSelectionEnabled:te.default.bool,fixedHeight:te.default.bool,calendarFocus:te.default.string,preventSnapRefocus:te.default.bool,ariaLabels:xm.ariaLabelsShape};var Em=yi;ba.default=Em;function ra(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ra=function(t){return typeof t}:ra=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ra(e)}Object.defineProperty(pa,"__esModule",{value:!0});pa.default=void 0;var ul=zm(D),Sr=Ot(qt),ts=Ot(ba),Im=Ft,Cn=Wt,Lm=Ot(Jo),Am=Ot(jo),pl=Ot(Zo),On=Ot(un),Fm=Ot(pi),bl=Ot(si),qm=Ot(br),Wm=Ot(mr);function Ot(e){return e&&e.__esModule?e:{default:e}}function rs(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(rs=function(a){return a?t:r})(e)}function zm(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||ra(e)!=="object"&&typeof e!="function")return{default:e};var t=rs(r);if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function Bn(){return Bn=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Bn.apply(this,arguments)}function ml(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function Tr(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ml(Object(t),!0).forEach(function(n){Cr(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ml(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Hm(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function hl(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bm(e,r,t){return r&&hl(e.prototype,r),t&&hl(e,t),e}function Um(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&Un(e,r)}function Un(e,r){return Un=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Un(e,r)}function Ym(e){var r=Vm();return function(){var n=Ga(e),a;if(r){var i=Ga(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Gm(this,a)}}function Gm(e,r){return r&&(ra(r)==="object"||typeof r=="function")?r:Qr(e)}function Qr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vm(){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(e){return!1}}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ga(e)}function Cr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var xi=function(e){Um(t,e);var r=Ym(t);function t(n,a){var i;return Hm(this,t),i=r.call(this,n,a),Cr(Qr(i),"calcNewSelection",function(l){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,d=i.props.focusedRange||i.state.focusedRange,f=i.props,c=f.ranges,m=f.onChange,u=f.maxDate,p=f.moveRangeOnFirstSelection,h=f.retainEndDateOnFirstSelection,x=f.disabledDates,v=d[0],y=c[v];if(!y||!m)return{};var _=y.startDate,S=y.endDate,k=new Date,b;if(!s)_=l.startDate,S=l.endDate;else if(d[1]===0){var $=(0,Fm.default)(S||k,_),T=function(){return p?(0,On.default)(l,$):h?!S||(0,bl.default)(l,S)?S:l:l||k};_=l,S=T(),u&&(S=(0,pl.default)([S,u])),b=[d[0],1]}else S=l;var E=d[1]===0;if((0,bl.default)(S,_)){E=!E;var O=[S,_];_=O[0],S=O[1]}var N=x.filter(function(R){return(0,Am.default)(R,{start:_,end:S})});if(N.length>0&&(E?_=(0,On.default)((0,Lm.default)(N),1):S=(0,On.default)((0,pl.default)(N),-1)),!b){var L=(0,Cn.findNextRangeIndex)(i.props.ranges,d[0]);b=[L,0]}return{wasValid:!(N.length>0),range:{startDate:_,endDate:S},nextFocusRange:b}}),Cr(Qr(i),"setSelection",function(l,s){var d=i.props,f=d.onChange,c=d.ranges,m=d.onRangeFocusChange,u=i.props.focusedRange||i.state.focusedRange,p=u[0],h=c[p];if(h){var x=i.calcNewSelection(l,s);f(Cr({},h.key||"range".concat(p+1),Tr(Tr({},h),x.range))),i.setState({focusedRange:x.nextFocusRange,preview:null}),m&&m(x.nextFocusRange)}}),Cr(Qr(i),"handleRangeFocusChange",function(l){i.setState({focusedRange:l}),i.props.onRangeFocusChange&&i.props.onRangeFocusChange(l)}),Cr(Qr(i),"updatePreview",function(l){var s;if(!l){i.setState({preview:null});return}var d=i.props,f=d.rangeColors,c=d.ranges,m=i.props.focusedRange||i.state.focusedRange,u=((s=c[m[0]])===null||s===void 0?void 0:s.color)||f[m[0]]||u;i.setState({preview:Tr(Tr({},l.range),{},{color:u})})}),i.state={focusedRange:n.initialFocusedRange||[(0,Cn.findNextRangeIndex)(n.ranges),0],preview:null},i.styles=(0,Cn.generateStyles)([Wm.default,n.classNames]),i}return Bm(t,[{key:"render",value:function(){var a=this;return ul.default.createElement(ts.default,Bn({focusedRange:this.state.focusedRange,onRangeFocusChange:this.handleRangeFocusChange,preview:this.state.preview,onPreviewChange:function(l){a.updatePreview(l?a.calcNewSelection(l):null)}},this.props,{displayMode:"dateRange",className:(0,qm.default)(this.styles.dateRangeWrapper,this.props.className),onChange:this.setSelection,updateRange:function(l){return a.setSelection(l,!1)},ref:function(l){a.calendar=l}}))}}]),t}(ul.Component);xi.defaultProps={classNames:{},ranges:[],moveRangeOnFirstSelection:!1,retainEndDateOnFirstSelection:!1,rangeColors:["#3d91ff","#3ecf8e","#fed14c"],disabledDates:[]};xi.propTypes=Tr(Tr({},ts.default.propTypes),{},{onChange:Sr.default.func,onRangeFocusChange:Sr.default.func,className:Sr.default.string,ranges:Sr.default.arrayOf(Im.rangeShape),moveRangeOnFirstSelection:Sr.default.bool,retainEndDateOnFirstSelection:Sr.default.bool});var Km=xi;pa.default=Km;var mn={},ma={},Qt={};Object.defineProperty(Qt,"__esModule",{value:!0});Qt.createStaticRanges=as;Qt.defaultInputRanges=Qt.defaultStaticRanges=void 0;var gl=Tt(pi),Va=Tt(on),_l=Tt(cn),vl=Tt(fn),$l=Tt(Xo),yl=Tt(bi),xl=Tt(mi),wl=Tt(fi),kl=Tt(oi),Pr=Tt(un);function Tt(e){return e&&e.__esModule?e:{default:e}}function Sl(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function Dl(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Sl(Object(t),!0).forEach(function(n){Qm(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sl(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Qm(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var Ze={startOfWeek:(0,vl.default)(new Date),endOfWeek:(0,_l.default)(new Date),startOfLastWeek:(0,vl.default)((0,Pr.default)(new Date,-7)),endOfLastWeek:(0,_l.default)((0,Pr.default)(new Date,-7)),startOfToday:(0,wl.default)(new Date),endOfToday:(0,kl.default)(new Date),startOfYesterday:(0,wl.default)((0,Pr.default)(new Date,-1)),endOfYesterday:(0,kl.default)((0,Pr.default)(new Date,-1)),startOfMonth:(0,xl.default)(new Date),endOfMonth:(0,yl.default)(new Date),startOfLastMonth:(0,xl.default)((0,$l.default)(new Date,-1)),endOfLastMonth:(0,yl.default)((0,$l.default)(new Date,-1))},Jm={range:{},isSelected:function(r){var t=this.range();return(0,Va.default)(r.startDate,t.startDate)&&(0,Va.default)(r.endDate,t.endDate)}};function as(e){return e.map(function(r){return Dl(Dl({},Jm),r)})}var Zm=as([{label:"Today",range:function(){return{startDate:Ze.startOfToday,endDate:Ze.endOfToday}}},{label:"Yesterday",range:function(){return{startDate:Ze.startOfYesterday,endDate:Ze.endOfYesterday}}},{label:"This Week",range:function(){return{startDate:Ze.startOfWeek,endDate:Ze.endOfWeek}}},{label:"Last Week",range:function(){return{startDate:Ze.startOfLastWeek,endDate:Ze.endOfLastWeek}}},{label:"This Month",range:function(){return{startDate:Ze.startOfMonth,endDate:Ze.endOfMonth}}},{label:"Last Month",range:function(){return{startDate:Ze.startOfLastMonth,endDate:Ze.endOfLastMonth}}}]);Qt.defaultStaticRanges=Zm;var Xm=[{label:"days up to today",range:function(r){return{startDate:(0,Pr.default)(Ze.startOfToday,(Math.max(Number(r),1)-1)*-1),endDate:Ze.endOfToday}},getCurrentValue:function(r){return(0,Va.default)(r.endDate,Ze.endOfToday)?r.startDate?(0,gl.default)(Ze.endOfToday,r.startDate)+1:"∞":"-"}},{label:"days starting today",range:function(r){var t=new Date;return{startDate:t,endDate:(0,Pr.default)(t,Math.max(Number(r),1)-1)}},getCurrentValue:function(r){return(0,Va.default)(r.startDate,Ze.startOfToday)?r.endDate?(0,gl.default)(r.endDate,Ze.startOfToday)+1:"∞":"-"}}];Qt.defaultInputRanges=Xm;var hn={};function aa(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?aa=function(t){return typeof t}:aa=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},aa(e)}Object.defineProperty(hn,"__esModule",{value:!0});hn.default=void 0;var Ma=th(D),it=eh(qt);function eh(e){return e&&e.__esModule?e:{default:e}}function ns(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(ns=function(a){return a?t:r})(e)}function th(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||aa(e)!=="object"&&typeof e!="function")return{default:e};var t=ns(r);if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function rh(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Cl(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ah(e,r,t){return r&&Cl(e.prototype,r),t&&Cl(e,t),e}function nh(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&Yn(e,r)}function Yn(e,r){return Yn=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Yn(e,r)}function ih(e){var r=oh();return function(){var n=Ka(e),a;if(r){var i=Ka(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return lh(this,a)}}function lh(e,r){return r&&(aa(r)==="object"||typeof r=="function")?r:is(e)}function is(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oh(){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(e){return!1}}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ka(e)}function sh(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var Ol=0,Tl=99999,wi=function(e){nh(t,e);var r=ih(t);function t(n,a){var i;return rh(this,t),i=r.call(this,n,a),sh(is(i),"onChange",function(l){var s=i.props.onChange,d=parseInt(l.target.value,10);d=isNaN(d)?0:Math.max(Math.min(Tl,d),Ol),s(d)}),i}return ah(t,[{key:"shouldComponentUpdate",value:function(a){var i=this.props,l=i.value,s=i.label,d=i.placeholder;return l!==a.value||s!==a.label||d!==a.placeholder}},{key:"render",value:function(){var a=this.props,i=a.label,l=a.placeholder,s=a.value,d=a.styles,f=a.onBlur,c=a.onFocus;return Ma.default.createElement("div",{className:d.inputRange},Ma.default.createElement("input",{className:d.inputRangeInput,placeholder:l,value:s,min:Ol,max:Tl,onChange:this.onChange,onFocus:c,onBlur:f}),Ma.default.createElement("span",{className:d.inputRangeLabel},i))}}]),t}(Ma.Component);wi.propTypes={value:it.default.oneOfType([it.default.string,it.default.number]),label:it.default.oneOfType([it.default.element,it.default.node]).isRequired,placeholder:it.default.string,styles:it.default.shape({inputRange:it.default.string,inputRangeInput:it.default.string,inputRangeLabel:it.default.string}).isRequired,onBlur:it.default.func.isRequired,onFocus:it.default.func.isRequired,onChange:it.default.func.isRequired};wi.defaultProps={value:"",placeholder:"-"};var dh=wi;hn.default=dh;function na(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?na=function(t){return typeof t}:na=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},na(e)}Object.defineProperty(ma,"__esModule",{value:!0});ma.default=void 0;var dr=uh(D),dt=gn(qt),cr=gn(mr),Pl=Qt,ch=Ft,fh=gn(hn),jl=gn(br);function gn(e){return e&&e.__esModule?e:{default:e}}function ls(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(ls=function(a){return a?t:r})(e)}function uh(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||na(e)!=="object"&&typeof e!="function")return{default:e};var t=ls(r);if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function Nl(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function Ml(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Nl(Object(t),!0).forEach(function(n){Ia(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Nl(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function ph(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Rl(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bh(e,r,t){return r&&Rl(e.prototype,r),t&&Rl(e,t),e}function mh(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&Gn(e,r)}function Gn(e,r){return Gn=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Gn(e,r)}function hh(e){var r=_h();return function(){var n=Qa(e),a;if(r){var i=Qa(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return gh(this,a)}}function gh(e,r){return r&&(na(r)==="object"||typeof r=="function")?r:os(e)}function os(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _h(){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(e){return!1}}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Qa(e)}function Ia(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var ki=function(e){mh(t,e);var r=hh(t);function t(n){var a;return ph(this,t),a=r.call(this,n),Ia(os(a),"handleRangeChange",function(i){var l=a.props,s=l.onChange,d=l.ranges,f=l.focusedRange,c=d[f[0]];!s||!c||s(Ia({},c.key||"range".concat(f[0]+1),Ml(Ml({},c),i)))}),a.state={rangeOffset:0,focusedInput:-1},a}return bh(t,[{key:"getRangeOptionValue",value:function(a){var i=this.props,l=i.ranges,s=l===void 0?[]:l,d=i.focusedRange,f=d===void 0?[]:d;if(typeof a.getCurrentValue!="function")return"";var c=s[f[0]]||{};return a.getCurrentValue(c)||""}},{key:"getSelectedRange",value:function(a,i){var l=a.findIndex(function(d){return!d.startDate||!d.endDate||d.disabled?!1:i.isSelected(d)}),s=a[l];return{selectedRange:s,focusedRangeIndex:l}}},{key:"render",value:function(){var a=this,i=this.props,l=i.headerContent,s=i.footerContent,d=i.onPreviewChange,f=i.inputRanges,c=i.staticRanges,m=i.ranges,u=i.renderStaticRangeLabel,p=i.rangeColors,h=i.className;return dr.default.createElement("div",{className:(0,jl.default)(cr.default.definedRangesWrapper,h)},l,dr.default.createElement("div",{className:cr.default.staticRanges},c.map(function(x,v){var y=a.getSelectedRange(m,x),_=y.selectedRange,S=y.focusedRangeIndex,k;return x.hasCustomRendering?k=u(x):k=x.label,dr.default.createElement("button",{type:"button",className:(0,jl.default)(cr.default.staticRange,Ia({},cr.default.staticRangeSelected,!!_)),style:{color:_?_.color||p[S]:null},key:v,onClick:function(){return a.handleRangeChange(x.range(a.props))},onFocus:function(){return d&&d(x.range(a.props))},onMouseOver:function(){return d&&d(x.range(a.props))},onMouseLeave:function(){d&&d()}},dr.default.createElement("span",{tabIndex:-1,className:cr.default.staticRangeLabel},k))})),dr.default.createElement("div",{className:cr.default.inputRanges},f.map(function(x,v){return dr.default.createElement(fh.default,{key:v,styles:cr.default,label:x.label,onFocus:function(){return a.setState({focusedInput:v,rangeOffset:0})},onBlur:function(){return a.setState({rangeOffset:0})},onChange:function(_){return a.handleRangeChange(x.range(_,a.props))},value:a.getRangeOptionValue(x)})})),s)}}]),t}(dr.Component);ki.propTypes={inputRanges:dt.default.array,staticRanges:dt.default.array,ranges:dt.default.arrayOf(ch.rangeShape),focusedRange:dt.default.arrayOf(dt.default.number),onPreviewChange:dt.default.func,onChange:dt.default.func,footerContent:dt.default.any,headerContent:dt.default.any,rangeColors:dt.default.arrayOf(dt.default.string),className:dt.default.string,renderStaticRangeLabel:dt.default.func};ki.defaultProps={inputRanges:Pl.defaultInputRanges,staticRanges:Pl.defaultStaticRanges,ranges:[],rangeColors:["#3d91ff","#3ecf8e","#fed14c"],focusedRange:[0,0]};var vh=ki;ma.default=vh;function ia(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ia=function(t){return typeof t}:ia=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ia(e)}Object.defineProperty(mn,"__esModule",{value:!0});mn.default=void 0;var Ra=wh(D),$h=ha(qt),ss=ha(pa),ds=ha(ma),El=Wt,yh=ha(br),xh=ha(mr);function ha(e){return e&&e.__esModule?e:{default:e}}function cs(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(cs=function(a){return a?t:r})(e)}function wh(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||ia(e)!=="object"&&typeof e!="function")return{default:e};var t=cs(r);if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function Il(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function Tn(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Il(Object(t),!0).forEach(function(n){kh(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Il(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function kh(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ja(){return Ja=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Ja.apply(this,arguments)}function Sh(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Ll(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dh(e,r,t){return r&&Ll(e.prototype,r),t&&Ll(e,t),e}function Ch(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&Vn(e,r)}function Vn(e,r){return Vn=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Vn(e,r)}function Oh(e){var r=jh();return function(){var n=Za(e),a;if(r){var i=Za(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Th(this,a)}}function Th(e,r){return r&&(ia(r)==="object"||typeof r=="function")?r:Ph(e)}function Ph(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jh(){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(e){return!1}}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Za(e)}var Si=function(e){Ch(t,e);var r=Oh(t);function t(n){var a;return Sh(this,t),a=r.call(this,n),a.state={focusedRange:[(0,El.findNextRangeIndex)(n.ranges),0]},a.styles=(0,El.generateStyles)([xh.default,n.classNames]),a}return Dh(t,[{key:"render",value:function(){var a=this,i=this.state.focusedRange;return Ra.default.createElement("div",{className:(0,yh.default)(this.styles.dateRangePickerWrapper,this.props.className)},Ra.default.createElement(ds.default,Ja({focusedRange:i,onPreviewChange:function(s){return a.dateRange.updatePreview(s?a.dateRange.calcNewSelection(s,typeof s=="string"):null)}},this.props,{range:this.props.ranges[i[0]],className:void 0})),Ra.default.createElement(ss.default,Ja({onRangeFocusChange:function(s){return a.setState({focusedRange:s})},focusedRange:i},this.props,{ref:function(s){return a.dateRange=s},className:void 0})))}}]),t}(Ra.Component);Si.defaultProps={};Si.propTypes=Tn(Tn(Tn({},ss.default.propTypes),ds.default.propTypes),{},{className:$h.default.string});var Nh=Si;mn.default=Nh;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DateRange",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"Calendar",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"DateRangePicker",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"DefinedRange",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"defaultInputRanges",{enumerable:!0,get:function(){return i.defaultInputRanges}}),Object.defineProperty(e,"defaultStaticRanges",{enumerable:!0,get:function(){return i.defaultStaticRanges}}),Object.defineProperty(e,"createStaticRanges",{enumerable:!0,get:function(){return i.createStaticRanges}});var r=l(pa),t=l(ba),n=l(mn),a=l(ma),i=Qt;function l(s){return s&&s.__esModule?s:{default:s}}})(go);function Mh({size:e=32}){return o.jsx("svg",{width:e,height:e,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 Rh({fetchData:e}){const r=Z(ca),t={startDate:null,endDate:null,key:"date"},[n,a]=D.useState(t),{css:i}=Ge(),l=D.useRef(!1),s=u=>u instanceof Date&&!Number.isNaN(u.getTime()),d=()=>{l.current=!0,f(n),Jr()},f=u=>{const{startDate:p,endDate:h}=u,x=p?ot(p,"Y-m-d"):"",v=h?ot(h,"Y-m-d"):"",y={start_date:x,end_date:v},{pageIndex:_,pageSize:S,sortBy:k,filters:b,globalFilter:$,conditions:T}=r.details;e({pageIndex:_,pageSize:S,sortBy:k,filters:b,globalFilter:$,conditions:T,entriesFilterByDate:y})},c=()=>{a(t),f(t),l.current=!1,Jr()},m=He(U({},n),{startDate:s(n.startDate)?n.startDate:new Date,endDate:s(n.endDate)?n.endDate:new Date});return o.jsx("div",{className:"mr-2",children:o.jsxs(li,{children:[o.jsxs("div",{className:"flx",children:[l.current&&s(n.startDate)&&s(n.endDate)&&o.jsxs("div",{className:"btcd-custom-date-range white ml-2",children:[o.jsxs("span",{className:"m-a",children:[" ",`${ot(n.startDate,"Y-m-d")} - ${ot(n.endDate,"Y-m-d")}`]}),o.jsx("button",{"aria-label":"Close",type:"button",className:"icn-btn",onClick:c,children:o.jsx(bt,{size:"12"})})]}),o.jsx(jr,{msg:g("Filter Entries between Dates"),children:o.jsx("button",{"aria-label":"Fitler",className:i(oa.tableActionBtn,St.ml2),style:{"--tooltip-txt":`'${g("Filter")}'`},type:"button",children:o.jsx(Mh,{size:"16"})})})]}),o.jsxs("div",{style:{minHeight:"200px !important"},className:i(oa.dataRange),children:[o.jsx(go.DateRange,{onChange:u=>a(u.date),moveRangeOnFirstSelection:!1,retainEndDateOnFirstSelection:!0,editableDateInputs:!0,ranges:[m],maxDate:new Date,showSelectionPreview:!1,showDateDisplay:!0,startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",direction:"horizontal"}),o.jsxs("div",{className:i({flx:"",jc:"end",pt:8,pb:6}),children:[o.jsx(Dt,{className:i(St.mr1),size:"sm",onClick:d,children:g("Search")}),o.jsx(Dt,{variant:"primary-outline",size:"sm",onClick:c,children:g("Clear")})]})]})]})})}function Eh({size:e=30,stroke:r=2,cls:t=""}){return o.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 30 30",children:[o.jsx("ellipse",{className:"svg-icn",strokeWidth:r,cx:"15",cy:"15",rx:"11.95",ry:"11.87"}),o.jsx("polyline",{className:"svg-icn",strokeWidth:r,points:"11.07 14.88 14.39 18.26 20.93 11.74"})]})}function Ih({size:e=24,stroke:r="2"}){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:r,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 Lh({size:e=24,stroke:r="2"}){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:r,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 Ah({size:e=16}){return o.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:o.jsx("path",{fill:"currentColor",d:"M2 12a9 9 0 0 0 9 9c2.39 0 4.68-.94 6.4-2.6l-1.5-1.5A6.706 6.706 0 0 1 11 19c-6.24 0-9.36-7.54-4.95-11.95C10.46 2.64 18 5.77 18 12h-3l4 4h.1l3.9-4h-3a9 9 0 0 0-18 0Z"})})}function Fh({className:e,onChange:r,value:t,label:n,children:a,style:i}){return o.jsxs("div",{className:`btcd-mt-sel ${e}`,style:i,children:[o.jsx("select",{onChange:r,value:t||"",children:a}),o.jsx("small",{children:n})]})}const fs=["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"],qh=[{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"}],Wh=(e,r,t)=>{var a;const n=[{title:"",type:"group",childs:[{label:g("Equal"),value:"equal"},{label:g("Not equal"),value:"not_equal"}]}];return e.match(/^(boolean)$/)||n[0].childs.push({label:g("Empty"),value:"empty"},{label:g("Not empty"),value:"not_empty"}),e.match(/^(number|color|url|password|date|time|datetime|month|week|boolean)$/)||n[0].childs.push({label:g("Start With"),value:"start_with"},{label:g("End With"),value:"end_with"},{label:g("Not Start With"),value:"not_start_with"},{label:g("Not End With"),value:"not_end_with"}),!e.match(/^(number|date|time|datetime|month|week|boolean)$/)&&!e.match(/^(check|radio)$/)&&(n[0].childs.push({label:g("Not contains"),value:"not_contain"}),n[0].childs.push({label:g("Contains"),value:"contain"})),(e==="select"&&((a=r==null?void 0:r[t])!=null&&a.mul)||e==="check")&&n[0].childs.push({label:g("Contain All"),value:"contain_all"}),e.match(/^(number|date|time|datetime|month|week)$/)&&(n[0].childs.push({label:g("Greater Than"),value:"greater_than"}),n[0].childs.push({label:g("Less Than"),value:"less_than"}),n[0].childs.push({label:g("Greater Than or Equal"),value:"greater_than_equal"}),n[0].childs.push({label:g("Less Than or Equal"),value:"less_than_equal"})),e.match(/^(date|datetime)$/)&&(n.push({title:"Day",type:"group",childs:[{label:g("Today"),value:"today"},{label:g("Till Today"),value:"till_today"},{label:g("Tomorrow"),value:"tomorrow"},{label:g("Yesterday"),value:"yesterday"},{label:g("Till Yesterday"),value:"till_yesterday"},{label:g("Last 7 Days"),value:"last_7_days"},{label:g("Last 30 Days"),value:"last_30_days"},{label:g("Last 60 Days"),value:"last_60_days"},{label:g("Last 90 Days"),value:"last_90_days"},{label:g("Last 120 Days"),value:"last_120_days"},{label:g("Next 7 Days"),value:"next_7_days"},{label:g("Next 30 Days"),value:"next_30_days"},{label:g("Next 60 Days"),value:"next_60_days"},{label:g("Next 90 Days"),value:"next_90_days"},{label:g("Next 120 Days"),value:"next_120_days"}]}),n.push({title:"Week",type:"group",childs:[{label:g("Current Week"),value:"current_week"},{label:g("Next Week"),value:"next_week"},{label:g("Last Week"),value:"last_week"}]}),n.push({title:"Month",type:"group",childs:[{label:g("Current Month"),value:"current_month"},{label:g("Next Month"),value:"next_month"},{label:g("Last Month"),value:"last_month"}]}),n.push({title:"Year",type:"group",childs:[{label:g("Current Year"),value:"current_year"},{label:g("Next Year"),value:"next_year"},{label:g("Last Year"),value:"last_year"}]})),n},zh=(e,r)=>["user","select","check"].includes(e)?r===""?[]:r.split(","):r;function Pn({fieldVal:e,delLogic:r,lgcInd:t,subLgcInd:n,subSubLgcInd:a,value:i,changeLogic:l,logicValue:s,changeValue:d,changeFormField:f}){var S,k;const c=Z(Er),u=Z(ai).concat(qh),{userMail:p}=po(),h=fs;let x="",v="",y="";(S=u==null?void 0:u.find)==null||S.call(u,b=>{if(b.key===e)return b.type.match(/^(check|radio|select|html-select|image-select)$/)?x="text":x=b.type,v=b.type,y=b.key,!0});const _=()=>{var $,T,E,O,N,L;let b=[];if(v==="select"){const{optionsList:R}=(c==null?void 0:c[y])||{};return R.reduce((z,re)=>{const X=Object.keys(re)[0],pe=Object.values(re)[0];return z.push({type:"group",title:X,childs:pe.map(_e=>({label:_e.lbl,value:_e.val||_e.lbl}))}),z},[])}if(["decision-box","gdpr"].includes(v)){const R=c==null?void 0:c[y];return[{label:($=R==null?void 0:R.msg)==null?void 0:$.checked,value:(T=R==null?void 0:R.msg)==null?void 0:T.checked},{label:(E=R==null?void 0:R.msg)==null?void 0:E.unchecked,value:(O=R==null?void 0:R.msg)==null?void 0:O.unchecked}]}return b=(L=(N=c==null?void 0:c[y])==null?void 0:N.opt)==null?void 0:L.map(R=>({label:R.lbl,value:R.val||R.lbl})),v==="user"&&(b=p==null?void 0:p.map(R=>({label:R.label,value:R.id}))),v==="boolean"&&(b=[{label:g("Read entries"),value:"0"},{label:g("Unread entries"),value:"1"},{label:g("Confirmed entries"),value:"3"},{label:g("Unconfirmed entries"),value:"2"},{label:g("Draft entries"),value:"9"}]),b};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(Fh,{label:"Form Fields",value:e||"",style:{width:720},onChange:b=>f(b.target.value,t,n,a),className:"mt-0",children:[o.jsx("option",{value:"",children:g("Select Form Field")}),u.map(b=>!b.type.match(/^(file-up|recaptcha)$/)&&o.jsx("option",{value:b.key,children:b.name},`ff-lb-${b.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(ho,{action:b=>l(b,t,n,a),placeholder:g("Logic"),value:s||"",titleClassName:"w-7",className:"mr-2 report-drpdwn w-10 mt-0",options:Wh(x,c,y)}),!h.includes(s)&&o.jsx("svg",{height:"35",width:"100",children:o.jsx("line",{x1:"0",y1:"20",x2:"40",y2:"20",style:{stroke:"#b9c5ff",strokeWidth:1}})}),!h.includes(s)&&(v.match(/select|check|radio|user|boolean/g)?o.jsx(uo,{className:"msl-wrp-options btcd-paper-drpdwn w-10",defaultValue:i.toString()||"",onChange:b=>d(b,t,v),options:_(),customValue:!0,singleSelect:v==="select"?!((k=c==null?void 0:c[y])!=null&&k.mul):v==="check"?!1:v.match(/radio|boolean/g)&&!0,fldType:v}):o.jsx(kd,{label:"Value",type:x,onChange:b=>d(b.target.value,t),value:i||""})),o.jsx("div",{className:"w-1",children:o.jsx(It,{onClick:()=>r(t),icn:!0,className:"ml-2 white mr-2 sh-sm abc",children:o.jsx(ua,{size:"16"})})})]})}function jn({logic:e,nested:r,onChange:t,className:n=null}){return o.jsxs(o.Fragment,{children:[o.jsx("div",{style:{height:r?5:10},children:o.jsx("svg",{height:"60",width:"50",children:o.jsx("line",{x1:"20",y1:r?6:10,x2:"20",y2:"0",style:{stroke:"#b9c5ff",strokeWidth:1}})})}),o.jsx("div",{children:o.jsxs("select",{value:e,onChange:t,className:`btcd-logic-chip ${n} ${r&&"scl-7 op-8"}`,children:[o.jsx("option",{value:"or",children:g("OR")}),o.jsx("option",{value:"and",children:g("AND")})]})}),o.jsx("div",{style:{height:r?5:10},children:o.jsx("svg",{height:"60",width:"50",children:o.jsx("line",{x1:"20",y1:r?6:10,x2:"20",y2:"0",style:{stroke:"#b9c5ff",strokeWidth:1}})})})]})}function Hh({formFields:e,dataConf:r,setDataConf:t,reportInd:n}){var h,x,v;const a=fs,i=(y,_)=>{t(S=>{const k=Ve(S);return k[n].details.conditions[_]=y,k})},l=(y,_)=>{t(S=>{const k=Ve(S);return k[n].details.conditions[_].field=y,k[n].details.conditions[_].val="",k})},s=(y,_,S=null)=>{t(k=>{const b=Ve(k);return b[n].details.conditions[_].val=zh(S,y),b})},d=(y,_)=>{t(S=>{const k=Ve(S);return k[n].details.conditions[_].val="",a.includes(y)&&(k[n].details.conditions[_].val=y),k[n].details.conditions[_].logic=y,k})},f=y=>{var _,S,k;((k=(S=(_=r[n])==null?void 0:_.details)==null?void 0:S.conditions)==null?void 0:k.length)>1&&t(b=>{const $=Ve(b);return y!==0?$[n].details.conditions.splice(y-1,2):$[n].details.conditions.splice(y,2),$})},c=y=>{y==="and"?t(_=>{const S=Ve(_);return S[n].details.conditions.push("and"),S[n].details.conditions.push({field:"",logic:"",val:""}),S}):y==="or"&&t(_=>{const S=Ve(_);return S[n].details.conditions.push("or"),S[n].details.conditions.push({field:"",logic:"",val:""}),S})},m=(y,_)=>{y==="and"?t(S=>{const k=Ve(S);return k[n].details.conditions[_].push("and"),k[n].details.conditions[_].push({field:"",logic:"",val:""}),k}):y==="or"&&t(S=>{const k=Ve(S);return k[n].details.conditions[_].push("or"),k[n].details.conditions[_].push({field:"",logic:"",val:""}),k})},u=(y,_,S)=>{y==="and"?t(k=>{const b=Ve(k);return b[n].details.conditions[_][S].push("and"),b[n].details.conditions[_][S].push({field:"",logic:"",val:""}),b}):y==="or"&&t(k=>{const b=Ve(k);return b[n].details.conditions[_][S].push("or"),b[n].details.conditions[_][S].push({field:"",logic:"",val:""}),b})},p=(y,_)=>{t(S=>{const k=Ve(S);return k[n].details.conditions[_].val=y,k})};return o.jsxs("div",{style:{width:800},children:[o.jsx("div",{children:(v=(x=(h=r[n])==null?void 0:h.details)==null?void 0:x.conditions)==null?void 0:v.map((y,_)=>o.jsxs("span",{children:[typeof y=="object"&&!Array.isArray(y)&&o.jsx(Pn,{fieldVal:y.field,changeFormField:l,changeValue:s,logicValue:y.logic,changeLogic:d,delLogic:f,lgcInd:_,value:y.val,formFields:e,setValue:p}),typeof y=="string"&&o.jsx(jn,{logic:y,onChange:S=>i(S.target.value,_),className:"logic-chip-custom"}),Array.isArray(y)&&o.jsxs("div",{className:"p-2 pl-6 br-10 btcd-logic-grp",children:[y.map((S,k)=>o.jsxs("span",{children:[typeof S=="object"&&!Array.isArray(S)&&o.jsx(Pn,{fieldVal:S.field,changeFormField:l,changeValue:s,logicValue:S.logic,changeLogic:d,delLogic:f,lgcInd:_,subLgcInd:k,value:S.val,formFields:e,setValue:p}),typeof S=="string"&&o.jsx(jn,{logic:S,nested:!0,onChange:b=>i(b.target.value,_),className:"logic-chip-custom"}),Array.isArray(S)&&o.jsxs("div",{className:"p-2 pl-6 br-10 btcd-logic-grp",children:[S.map((b,$)=>o.jsxs("span",{children:[typeof b=="object"&&!Array.isArray(b)&&o.jsx(Pn,{fieldVal:b.field,changeFormField:l,changeValue:s,logicValue:b.logic,changeLogic:d,delLogic:f,lgcInd:_,subLgcInd:k,subSubLgcInd:$,value:b.val,formFields:e,setValue:p}),typeof b=="string"&&o.jsx(jn,{logic:b,nested:!0,onChange:T=>i(T.target.value,_),className:"logic-chip-custom"})]},`subsubLogic-${$+90}`)),o.jsx("div",{className:"btcd-workFlows-btns",children:o.jsxs("div",{className:"flx",children:[o.jsx(It,{icn:!0,className:"blue",children:o.jsx(bt,{size:"14",className:"icn-rotate-45"})}),o.jsxs(It,{onClick:()=>u("and",_,k),className:"blue ml-2",children:[o.jsx(bt,{size:"10",className:"icn-rotate-45 mr-1"}),"AND"," "]}),o.jsxs(It,{onClick:()=>u("or",_,k),className:"blue ml-2",children:[o.jsx(bt,{size:"10",className:"icn-rotate-45 mr-1"}),"OR"," "]})]})})]})]},`subLogic-${k*7}`)),o.jsx("div",{className:" btcd-workFlows-btns",children:o.jsxs("div",{className:"flx",children:[o.jsx(It,{icn:!0,className:"blue sh-sm",children:o.jsx(bt,{size:"14",className:"icn-rotate-45"})}),o.jsxs(It,{onClick:()=>m("and",_),className:"gray ml-2",children:[o.jsx(bt,{size:"10",className:"icn-rotate-45 mr-1"}),"AND"]}),o.jsxs(It,{onClick:()=>m("or",_),className:"gray ml-2",children:[o.jsx(bt,{size:"10",className:"icn-rotate-45 mr-1"}),"OR"]})]})})]})]},`logic-${_+44}`))}),o.jsx("div",{className:"btcd-workFlows-btns",children:o.jsxs("div",{className:"flx",children:[o.jsxs(It,{onClick:()=>c("and"),className:"blue ml-2",children:[o.jsx(bt,{size:"10",className:"icn-rotate-45 mr-1"}),"AND"]}),o.jsxs(It,{onClick:()=>c("or"),className:"blue ml-2",children:[o.jsx(bt,{size:"10",className:"icn-rotate-45 mr-1"}),"OR"]})]})})]})}function Bh({fetchData:e,setRefreshResp:r}){var Se,V,H;const t=Z(ca),[n,a]=je(tn),[i,l]=je(da),s=i.findIndex(j=>{var M;return(j==null?void 0:j.id)&&j.id.toString()===((M=n==null?void 0:n.id)==null?void 0:M.toString())}),d=Z(ai),[f,c]=D.useState(!1),[m,u]=D.useState(s||0),{formID:p}=Ct(),[h,x]=D.useState({show:!1}),[v,y]=D.useState([]),[_,S]=D.useState(!1),[k,b]=D.useState({show:!1,msg:""}),$=Z(tt),{isPro:T}=$,[E,O]=D.useState(!1),[N,L]=D.useState({show:!1}),{css:R}=Ge();D.useEffect(()=>{u(s)},[n]),D.useEffect(()=>{z()},[i]),D.useEffect(()=>{var j,M,w;if(i[m]&&((j=i[m])!=null&&j.details)&&!((w=(M=i[m])==null?void 0:M.details)!=null&&w.conditions)){const A=Ve([...i]);A[m]&&(A[m].details.conditions=[{field:"",logic:"",val:""},"or",{field:"",logic:"",val:""}],l(A))}},[]);const z=()=>{const j=[];return i.forEach(M=>{var w;return M.id&&j.push({label:((w=M==null?void 0:M.details)==null?void 0:w.report_name)||"",value:M.id.toString(),isDefault:M.isDefault})}),y([...j]),j},re=j=>{const M=i.find(w=>{var A;return((A=w==null?void 0:w.id)==null?void 0:A.toString())===j.toString()});a({id:j,isDefault:(M==null?void 0:M.isDefault)==="1"}),r(1)},X=()=>{var w,A;let{id:j}=i[m];if(_||(j=0),((A=(w=i[m])==null?void 0:w.details)==null?void 0:A.report_name)===""){L({show:!0,msg:g("report name cann't be empty")});return}O(!0);const M=Fe({report:i[m].details,formId:p,reportId:j},"bitforms_save_report").then(q=>{var F;if(q!=null&&q.success){const{data:I}=q;_&&n.id===j&&re(I.report_id);const J=Ve(i);J[m].id=(F=I==null?void 0:I.report_id)==null?void 0:F.toString(),l(J)}else if(!(q!=null&&q.success))return"Error occured";return O(!1),c(!1),q});ht.promise(M,{loading:g("Saving..."),success:q=>{var F;return((F=q==null?void 0:q.data)==null?void 0:F.message)||(q==null?void 0:q.data)},error:g("Error occurred, Please try again.")})},pe=j=>{const{value:M,name:w}=j.target,A=Ve([...i]);A[m].details[w]=M,l(A)},_e=()=>{var M;c(!1);const j=Ve([...i]);(M=j[m])!=null&&M.id||(j.splice(m,1),l(j))},Ke=()=>{if(!T){b({show:!0,msg:"Only the default report is available in the free version!"});return}S(!1);const j=Ve([...i]),w=j.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;l(j),setTimeout(()=>{u(w),c(!0)},1)},Ee=()=>{h.show=!1,x(U({},h))};return o.jsxs(o.Fragment,{children:[o.jsx(ni,{snack:N,setSnackbar:L}),o.jsxs("div",{className:"flx",children:[o.jsxs(li,{children:[o.jsxs("div",{className:`flx ${R(Be.filterDropdownTrigger)}`,children:[o.jsx("div",{className:R(Be.filterName),children:(Se=t==null?void 0:t.details)==null?void 0:Se.report_name}),o.jsx("span",{className:R(Be.filterIconRight),children:o.jsx(Ih,{size:"16",stroke:"2"})})]}),o.jsx(Uh,{availableReports:v,setAvailableReports:y,setAvailableReport:z,reportFetchById:re,setReportIndex:u,setReportUpdate:S,setProModal:b,confMdl:h,setconfMdl:x,setshowMdl:c,createNewReport:Ke})]}),o.jsx("button",{className:R(Be.refreshButton),onClick:()=>{r(1)},type:"button",title:g("Refresh"),children:o.jsx(Ah,{size:"18"})}),o.jsxs("div",{children:[o.jsx(an,{show:h.show,close:Ee,btnTxt:h.btnTxt,btnClass:h.btnClass,body:h.body,action:h.action}),o.jsx(Nr,{md:!0,show:f,setModal:c,title:"Create Filter",style:{overflow:"auto"},onCloseMdl:_e,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:((H=(V=i[m])==null?void 0:V.details)==null?void 0:H.report_name)||"",onChange:pe,placeholder:"Please enter report name",className:"ml-2 btcd-paper-inp w-6"})]}),o.jsxs("div",{className:"mt-4",children:[o.jsx(Hh,{formFields:d,dataConf:i,setDataConf:l,reportInd:m||0}),o.jsxs(Dt,{className:R(St.ftRight,St.mb3),onClick:X,children:[g("Save"),E&&o.jsx(Rr,{size:20,clr:"#fff",className:"ml-2"})]})]})]})})]}),o.jsx("div",{children:o.jsxs(Nr,{sm:!0,show:k.show,setModal:()=>b({show:!1}),title:g("Premium Feature"),className:"pro-modal",children:[o.jsx("h4",{className:"txt-center mt-5",children:k.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:g("Buy Premium")})})})]})})]})]})}const Be={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"},filterActionsVisible:{op:1,dy:"flex"},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"}},Uh=({availableReports:e,setAvailableReports:r,setAvailableReport:t,reportFetchById:n,setProModal:a,confMdl:i,setconfMdl:l,setReportUpdate:s,setReportIndex:d,setshowMdl:f,createNewReport:c})=>{const{css:m}=Ge(),u=Z(tt),{isPro:p}=u,h=Z(ca),[x,v]=je(da),y=be(la),_=O=>{const{value:N}=O.target,L=t().filter(R=>{var z;return(z=R.label)==null?void 0:z.toLowerCase().includes(N.toLowerCase())});r(L)},S=O=>{O!==(h==null?void 0:h.id)&&(n(O),y(N=>He(U({},N),{unsaved:!0})),Jr())},k=(O,N)=>{if(N.stopPropagation(),!p){a({show:!0,msg:"Edit option available in the pro version!"});return}s(!0);const L=e.findIndex(R=>R.value===O);setTimeout(()=>{d(L),f(!0)},1),Jr()},b=()=>{i.show=!1,l(U({},i))},$=(O,N)=>{N.stopPropagation(),i.btnTxt=g("Delete"),i.body=g("Are you sure to delete this report"),i.btnClass="",i.action=()=>{T(O),b()},i.show=!0,l(U({},i))},T=O=>{const N=Fe({report_id:O},"bitforms_delete_report").then(L=>{if(L!=null&&L.success){const R=x.findIndex(re=>re.id===O),z=Ve([...x]);z.splice(R,1),v(z)}else if(!(L!=null&&L.success))return"Error occured";return L});ht.promise(N,{loading:g("Deleting ..."),success:L=>{var R;return((R=L==null?void 0:L.data)==null?void 0:R.message)||(L==null?void 0:L.data)},error:g("Error occurred, Please try again.")})},E=()=>{c(),Jr()};return o.jsxs("div",{className:m(Be.filterListContainer),children:[o.jsx("div",{className:m(Be.filterListHeader),children:o.jsx("span",{className:m(Be.filterListTitle),children:g("Filter List")})}),o.jsxs("div",{className:m(Be.searchAndNewFilterRow),children:[o.jsxs("div",{className:m(Be.searchBoxWrapper),children:[o.jsx("span",{className:m(Be.searchIcon),children:o.jsx(Ks,{size:"14"})}),o.jsx("input",{"aria-label":"Search filters",type:"text",placeholder:g("Search filters..."),onChange:_,className:m(Be.searchInput)})]}),o.jsxs(Dt,{className:m(Be.newFilterBtn),onClick:E,size:"sm",children:[o.jsx(Lh,{size:15,stroke:"2"}),g("New Filter")]})]}),e.length===0&&o.jsx("div",{className:m(Be.noResults),children:g("No matching filter found")}),o.jsx(io,{style:{height:200},autoHide:!0,children:o.jsx("div",{children:e==null?void 0:e.map(O=>{const N=O.value===(h==null?void 0:h.id),L=O.isDefault.toString()==="0";return o.jsxs("div",{className:`${m(Be.filterItem)} ${N&&"active"}`,onClick:()=>S(O.value),role:"button",tabIndex:0,onKeyDown:R=>R.key==="Enter"&&S(O.value),children:[o.jsx("div",{className:m(Be.filterItemContent),children:o.jsx("span",{className:m(Be.filterItemLabel),title:O==null?void 0:O.label,children:O==null?void 0:O.label})}),o.jsxs("div",{children:[N&&o.jsx("span",{className:`${m(Be.tickIcon)} check-icon`,children:o.jsx(Eh,{size:18,stroke:2})}),L&&o.jsxs("div",{className:`${m(Be.filterActions)} actions`,children:[o.jsx("button",{className:m(Be.actionBtn),title:g("Edit"),onClick:R=>k(O.value,R),type:"button",children:o.jsx(Qs,{size:"18"})}),o.jsx("button",{className:m(Be.actionBtn,Be.deleteBtn),title:g("Delete"),onClick:R=>$(O.value,R),type:"button",children:o.jsx(ua,{size:"18"})})]})]})]},`filter-item-${O.value}`)})})})]})};function Yh(e){return o.jsxs("div",{className:"btcd-drawer",style:{right:e.show?0:-620,width:600},children:[o.jsxs("div",{className:"flx flx-between",children:[o.jsx("div",{className:"btcd-drawer-title",children:e.title}),o.jsxs("div",{className:"flx",children:[o.jsx("button",{onClick:e.relatedinfo,className:"icn-btn btcd-icn-lg tooltip",style:{"--tooltip-txt":'"Related Info"'},"aria-label":"icon-btn",type:"button",children:o.jsx(Js,{size:"15"})}),o.jsx("button",{onClick:e.editData,className:"icn-btn btcd-icn-lg tooltip",style:{"--tooltip-txt":'"Edit"'},"aria-label":"icon-btn",type:"button",children:o.jsx(fa,{size:"15"})}),o.jsx("button",{onClick:e.delConfMdl,className:"icn-btn btcd-icn-lg tooltip",style:{"--tooltip-txt":'"Delete"'},"aria-label":"icon-btn",type:"button",children:o.jsx(ua,{size:"15"})}),o.jsx("button",{onClick:()=>e.close(!1),className:"icn-btn btcd-icn-lg tooltip",style:{"--tooltip-txt":'"Close"'},"aria-label":"modal-close",type:"button",children:o.jsx(bt,{size:"14",stroke:"3"})})]})]}),o.jsx("small",{className:"btcd-mdl-subtitle",children:e.subTitle}),o.jsx("div",{className:"btcd-mdl-div"}),e.children]})}function Gh({size:e,rotateDeg:r=0}){return o.jsx("svg",{width:e,height:e,className:"btc-line-icn",viewBox:"-10 0 200 45",style:{transform:`rotate(${r}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 |